:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f8fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}.auth-page,.loading{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 0%,#eaf2ff,transparent 34%),#f6f8fc}.auth-page{grid-template-columns:minmax(0,460px);align-content:center;gap:20px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:12px;color:#1769aa;font-weight:900;letter-spacing:2px}.brand-mark,.mini-mark{display:grid;place-items:center;background:#1769aa;color:#fff;font-weight:900}.brand-mark{width:54px;height:54px;border-radius:17px;font-size:25px;letter-spacing:0}.auth-card{background:#fff;border:1px solid #e3e9f3;border-radius:24px;padding:clamp(24px,6vw,42px);box-shadow:0 20px 60px #172b4d12}.auth-card h1,.page-heading h1,.detail-heading h1{margin:0;font-size:clamp(30px,5vw,42px);letter-spacing:-1.6px}.muted,.page-heading p,.detail-heading p{color:#667085;line-height:1.55}.eyebrow{margin:0 0 12px;color:#1769aa;font-size:11px;font-weight:900;letter-spacing:1.6px}form{display:grid;gap:16px;margin-top:26px}label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:750}input{width:100%;border:1px solid #d8e0ec;border-radius:11px;padding:13px 14px;color:#172033;outline:none;background:#fff}input:focus{border-color:#1769aa;box-shadow:0 0 0 3px #1769aa1f}.button{border:0;border-radius:11px;padding:13px 17px;font-weight:850;transition:transform .15s,opacity .15s}.button:hover{transform:translateY(-1px)}.button:disabled{cursor:wait;opacity:.6}.primary{color:#fff;background:#1769aa}.outline{background:#fff;border:1px solid;padding:9px 12px;font-size:12px}.forgot,.back-link,.section-title button{border:0;background:none;color:#1769aa;font-weight:750;text-decoration:none}.forgot{display:block;margin-top:18px;text-align:center;font-size:13px}.error{border:1px solid #ffd4cf;border-radius:10px;padding:11px;color:#b42318;background:#fff2f0;font-size:13px}.app-shell{min-height:100vh}.topbar{display:flex;justify-content:space-between;align-items:center;max-width:1120px;margin:auto;padding:18px 24px}.wordmark{display:flex;gap:9px;align-items:center;border:0;background:none;color:#172b4d;font-weight:900;letter-spacing:1px}.mini-mark{width:28px;height:28px;border-radius:9px;font-size:13px;letter-spacing:0}.topbar nav{display:flex;gap:8px}.topbar nav button{border:0;border-radius:9px;padding:9px 12px;background:transparent;color:#667085;font-size:13px;font-weight:750}.topbar nav button:hover{color:#1769aa;background:#eaf2ff}.content{max-width:1120px;margin:auto;padding:28px 24px 52px}.narrow{max-width:850px}.welcome{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-radius:26px;padding:clamp(24px,5vw,42px);color:#fff;background:#172b4d}.welcome h1{margin:0;font-size:clamp(31px,5vw,52px);line-height:1.05;letter-spacing:-2px}.welcome p:not(.eyebrow){max-width:540px;margin:16px 0 0;color:#d7e4fb;line-height:1.55}.welcome .eyebrow{color:#afcbff}.session-badge{max-width:220px;border:1px solid #ffffff33;border-radius:12px;padding:10px 13px;color:#d7e4fb;font-size:12px;overflow:hidden;text-overflow:ellipsis}.section-title{display:flex;align-items:center;justify-content:space-between;margin:30px 0 12px}.section-title h2{margin:0;font-size:20px}.section-title button{font-size:13px}.profile-grid,.routine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-card,.routine-card,.empty-card,.location-card,.workout-card,.exercise-card{border:1px solid #e3e9f3;border-radius:18px;background:#fff}.profile-card{padding:18px}.profile-dot{display:block;width:10px;height:10px;border-radius:4px;margin-bottom:18px}.profile-card h2{margin:0}.profile-card p{margin:5px 0 17px;color:#667085;font-size:13px}.empty-card,.location-card{display:grid;gap:5px;padding:18px}.empty-card span,.location-card span,.workout-card small{color:#667085;font-size:13px;line-height:1.5}.workout-list{display:grid;gap:9px}.workout-card{display:flex;gap:12px;overflow:hidden}.workout-card>span{width:5px}.workout-card>div{display:grid;gap:4px;padding:14px 14px 14px 0}.page-heading{margin-bottom:20px}.page-heading p{max-width:600px}.tabs{display:flex;gap:8px;margin-bottom:18px}.tabs button{border:1px solid #d8e0ec;border-radius:999px;padding:9px 15px;color:#667085;background:#fff;font-weight:750}.tabs button.active{border-color:#1769aa;color:#1769aa;background:#eaf2ff}.routine-card{display:grid;gap:12px;padding:18px;text-align:left;color:inherit}.routine-card:hover{border-color:#8eb4df;box-shadow:0 12px 30px #1769aa12}.routine-card-top{display:flex;align-items:center;justify-content:space-between}.routine-code{display:inline-block;width:fit-content;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:850}.routine-card h2{margin:0;font-size:19px}.routine-card p{min-height:38px;margin:0;color:#667085;font-size:13px;line-height:1.45}.routine-card small{color:#98a2b3;font-weight:700}.back-link{padding:0}.detail-heading{margin:28px 0 22px}.exercise-list{margin-top:0}.exercise-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px}.exercise-copy{display:grid;gap:5px}.exercise-copy small{color:#667085;font-size:12px}.exercise-inputs{display:flex;gap:8px;min-width:180px}.exercise-inputs label{width:84px;font-size:11px}.exercise-inputs input{padding:9px 8px}.save-session{margin-top:5px}.loading{gap:16px;color:#667085}.spinner{width:42px;height:42px;border:5px solid #d8e0ec;border-top-color:#1769aa;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:680px){.topbar{padding:15px 16px}.topbar nav button{padding:8px 7px}.content{padding:18px 16px 42px}.welcome{align-items:stretch;flex-direction:column;padding:25px 21px}.session-badge{max-width:none}.profile-grid,.routine-grid{grid-template-columns:1fr}.exercise-card{align-items:stretch;flex-direction:column}.exercise-inputs{min-width:0}.exercise-inputs label{flex:1}.auth-card{padding:25px 20px}}
