:root{--bg:#f5f5f1;--surface:#ffffff;--surface-2:#f1f2ed;--text:#18211d;--muted:#6f7872;--line:#dde1da;--green:#185f49;--green-2:#22775d;--green-soft:#e4f0e9;--lime:#c9ed68;--coral:#e2694f;--coral-soft:#fff0ec;--violet:#675bc7;--violet-soft:#eeecff;--yellow:#f5c761;--danger:#bd3c3c;--shadow:0 12px 32px rgba(25,45,36,.07);--radius:22px;--sidebar:252px}html[data-theme=dark]{--bg:#101713;--surface:#18211d;--surface-2:#202b26;--text:#f2f5f1;--muted:#a7b0aa;--line:#314039;--green:#73c7a4;--green-2:#4fae88;--green-soft:#203b30;--coral-soft:#3a2925;--violet-soft:#2c2947;--shadow:0 16px 36px rgba(0,0,0,.18)}@media (prefers-color-scheme:dark){html[data-theme=auto]{--bg:#101713;--surface:#18211d;--surface-2:#202b26;--text:#f2f5f1;--muted:#a7b0aa;--line:#314039;--green:#73c7a4;--green-2:#4fae88;--green-soft:#203b30;--coral-soft:#3a2925;--violet-soft:#2c2947}}*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}body,html{background:var(--bg)}body{margin:0;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit}a,button{-webkit-tap-highlight-color:transparent}button{color:inherit}svg{width:20px;height:20px;stroke-width:2;flex:none}h1,h2,h3,p{margin-top:0}b,h1,h2,h3,strong{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}h1{font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.055em;line-height:1.08;margin-bottom:10px}h2{letter-spacing:-.035em}a{color:inherit;text-decoration:none}input,select,textarea{width:100%;min-height:48px;border:1px solid var(--line);border-radius:13px;padding:12px 14px;color:var(--text);background:var(--surface);outline:none}textarea{resize:vertical;min-height:78px}input:focus,select:focus,textarea:focus{border-color:var(--green-2);box-shadow:0 0 0 3px color-mix(in srgb,var(--green-2) 14%,transparent)}input[type=range]{padding:0;box-shadow:none;accent-color:var(--green-2);border:0}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--green-2)}label{display:grid;grid-gap:7px;gap:7px;color:var(--text);font-size:.87rem;font-weight:700}label small{color:var(--muted);font-weight:500}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:var(--sidebar);padding:28px 18px 22px;background:#123e32;color:#f7fff9;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px}.brand-logo{width:46px;height:46px;border-radius:15px;background:var(--lime);color:#123e32;display:grid;place-items:center;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.brand-logo svg:first-child{width:26px;height:26px;transform:rotate(-7deg)}.brand-logo svg:last-child{position:absolute;width:12px;height:12px;right:6px;top:5px;fill:#123e32}.brand>span:last-child{display:grid;grid-gap:1px;gap:1px}.brand b{font-size:1.25rem;line-height:1}.brand small{font-size:.52rem;letter-spacing:.12em;opacity:.7}.sidebar nav{display:grid;grid-gap:5px;gap:5px;margin-top:48px}.sidebar nav>small{padding:0 12px 10px;opacity:.58;font-size:.66rem;letter-spacing:.16em;font-weight:800}.sidebar nav button{border:0;background:transparent;color:rgba(255,255,255,.73);min-height:46px;padding:0 12px;border-radius:13px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font-size:.91rem;font-weight:600}.sidebar nav button svg{width:19px}.sidebar nav button.active,.sidebar nav button:hover{color:#fff;background:rgba(255,255,255,.11)}.sidebar nav button.active:before{content:"";width:4px;height:22px;background:var(--lime);border-radius:9px;margin-left:-12px}.sidebar-progress{margin-top:auto;display:grid;grid-template-columns:auto 1fr auto;grid-gap:10px;gap:10px;align-items:center;padding:13px;border-radius:16px;background:rgba(255,255,255,.08)}.sidebar-progress>svg{color:var(--lime)}.sidebar-progress span{display:grid}.sidebar-progress small{font-size:.57rem;letter-spacing:.12em;opacity:.65}.sidebar-progress strong{color:var(--lime)}.sidebar-user{display:flex;gap:9px;align-items:center;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;margin-top:18px}.sidebar-user>span{width:36px;height:36px;display:grid;place-items:center;background:var(--lime);color:#123e32;border-radius:50%;font-weight:800}.sidebar-user>div{display:grid;flex:1 1}.sidebar-user small{font-size:.7rem;opacity:.62}.sidebar-user .icon-button{color:#fff}.main-content{min-height:100vh;margin-left:var(--sidebar)}.topbar{height:76px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:-webkit-sticky;position:sticky;top:0;z-index:20}.topbar>div:first-of-type{display:grid}.topbar>div>span{text-transform:capitalize;color:var(--muted);font-size:.76rem}.topbar>div>b{font-size:1.08rem}.top-actions{display:flex;align-items:center;gap:9px}.menu-toggle,.mobile-nav,.mobile-sidebar-close{display:none!important}.page-content{max-width:1500px;margin:auto;padding:30px 32px 70px}.page-stack{display:grid;grid-gap:22px;gap:22px;min-width:0}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:10px 2px}.page-title p{color:var(--muted);margin:0;max-width:680px}.page-title h1{margin-top:7px}.kicker{display:inline-flex;align-items:center;gap:6px;color:var(--green-2);font-size:.67rem;letter-spacing:.14em;font-weight:800}.kicker svg{width:14px;height:14px}.kicker-light{color:var(--lime)}.button,.icon-button,.text-button{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:13px;font-weight:700;transition:.2s ease}.button{padding:0 16px}.button:hover,.icon-button:hover{transform:translateY(-1px)}.button.primary{background:var(--green);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--green) 22%,transparent)}.button.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--line)}.button.danger-outline{background:transparent;color:var(--danger);border:1px solid color-mix(in srgb,var(--danger) 35%,var(--line))}.button.wide{width:100%}.icon-button{width:44px;padding:0;background:transparent}.icon-button.danger{color:var(--danger)}.text-button{color:var(--green-2);background:transparent;padding:0;font-size:.82rem}.text-button svg{width:16px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.panel-heading h2{margin:5px 0 3px;font-size:1.18rem}.panel-heading p{color:var(--muted);margin:0;font-size:.84rem}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.stat-card{display:grid;grid-template-columns:auto 1fr;grid-gap:13px;gap:13px;min-width:0;padding:18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}.stat-card>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--green-soft);color:var(--green-2)}.stat-card.coral>span{background:var(--coral-soft);color:var(--coral)}.stat-card.violet>span{background:var(--violet-soft);color:var(--violet)}.stat-card.green>span{background:var(--green-soft);color:var(--green-2)}.stat-card>div{display:grid;min-width:0}.stat-card small{color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em}.stat-card strong{font-size:clamp(1.2rem,2.4vw,1.65rem);letter-spacing:-.045em}.stat-card p,.stat-card strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card p{margin:2px 0 0;font-size:.73rem;color:var(--muted)}.dashboard-hero{border-radius:28px;padding:34px;min-height:250px;color:#fff;display:flex;align-items:center;justify-content:space-between;background:radial-gradient(circle at 78% 30%,rgba(201,237,104,.22),transparent 24%),linear-gradient(130deg,#123e32,#19624d);box-shadow:0 18px 42px rgba(18,62,50,.22);position:relative;overflow:hidden}.dashboard-hero:after{content:"";position:absolute;width:320px;height:320px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-70px;top:-80px;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 72px rgba(255,255,255,.02)}.dashboard-hero h1{font-size:clamp(2rem,4vw,3.1rem);margin:16px 0 12px}.dashboard-hero p{max-width:520px;color:rgba(255,255,255,.7);margin:0}.hero-score{width:166px;height:166px;border-radius:50%;position:relative;z-index:1;display:grid;place-content:center;text-align:center;background:rgba(255,255,255,.08);border:9px solid rgba(201,237,104,.82);box-shadow:0 0 0 6px rgba(255,255,255,.08)}.hero-score small{font-size:.57rem;letter-spacing:.1em;opacity:.65}.hero-score strong{font-size:2.35rem;letter-spacing:-.06em}.hero-score span{font-size:.7rem;opacity:.7}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr .9fr;grid-gap:16px;gap:16px}.today-workout{grid-column:span 2}.today-meals{grid-row:span 2}.quick-panel{grid-column:span 2}.workout-brief{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0}.workout-brief span{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:.75rem;font-weight:700;text-transform:capitalize}.workout-brief svg{width:15px;height:15px}.status,.today-workout>p{color:var(--muted)}.status{display:inline-flex;align-items:center;white-space:nowrap;border-radius:99px;padding:7px 10px;background:var(--surface-2);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.status.completed{background:var(--green-soft);color:var(--green-2)}.status.active{background:#fff2c9;color:#855f00}.status.cancelled{background:var(--coral-soft);color:var(--danger)}.meal-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:11px;gap:11px;padding:12px 0;border-top:1px solid var(--line)}.meal-icon{width:38px;height:38px;display:grid;place-items:center;background:#fff0d9;color:#ad6418;border-radius:12px}.meal-icon svg{width:18px}.meal-row>div{display:grid;min-width:0}.meal-row small{font-size:.66rem;color:var(--muted);text-transform:uppercase}.meal-row b{font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meal-row>strong{font-size:.72rem;color:var(--muted)}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.quick-actions button{min-height:70px;border:1px solid var(--line);border-radius:15px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:9px;gap:9px;background:var(--surface-2);cursor:pointer;text-align:left}.quick-actions button>svg:first-child{color:var(--green-2)}.quick-actions button>svg:last-child{width:16px;color:var(--muted)}.quick-actions button span{display:grid}.quick-actions button small{color:var(--muted);font-size:.67rem}.quick-note{display:grid;grid-gap:8px;gap:8px;margin-top:10px}.quick-note>div{gap:8px;justify-content:space-between}.quick-note>div,.quick-note>div label{display:flex;align-items:center}.quick-note>div label input{width:82px;min-height:44px;margin-left:8px}.alerts-panel p{display:flex;gap:9px;color:var(--muted);font-size:.83rem}.alerts-panel p svg{color:var(--coral);width:17px}.alert-count{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--coral-soft);color:var(--coral);font-weight:800;font-size:.78rem}.next-football{display:flex;align-items:center;gap:10px;border-radius:14px;background:var(--green-soft);padding:12px;margin-top:14px}.next-football>span{font-size:1.8rem}.next-football div{display:grid}.next-football small{color:var(--green-2);font-size:.58rem;letter-spacing:.1em}.next-football b{font-size:.8rem;text-transform:capitalize}.weekly-progress{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden}.weekly-progress>span{display:grid;grid-template-columns:auto auto 1fr;align-items:center;grid-gap:8px;gap:8px;padding:18px;border-right:1px solid var(--line)}.weekly-progress>span:last-child{border-right:0}.weekly-progress svg{color:var(--green-2)}.weekly-progress b{font-size:1.25rem}.weekly-progress small{color:var(--muted);font-size:.7rem}.chart{width:100%;overflow:hidden}.chart svg{display:block;width:100%;height:auto;min-height:210px}.chart line{stroke:var(--line);stroke-dasharray:4 7}.chart text{fill:var(--muted);font:12px system-ui}.chart polyline{fill:none;stroke-linecap:round;stroke-linejoin:round}.chart .raw-line{stroke:color-mix(in srgb,var(--coral) 30%,transparent);stroke-width:2}.chart .average-line{stroke:var(--green-2);stroke-width:4}.chart .month-line{stroke:var(--coral);stroke-width:3;stroke-dasharray:8 6}.chart circle{fill:var(--surface);stroke:var(--green-2);stroke-width:3}.chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;color:var(--muted);font-size:.7rem}.chart-legend span:before{content:"";width:18px;height:3px;display:inline-block;margin:0 6px 2px 0;background:var(--green-2);border-radius:2px}.chart-legend .raw:before{background:color-mix(in srgb,var(--coral) 40%,transparent)}.chart-legend .month:before{background:var(--coral)}.segmented{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;padding:3px;background:var(--surface-2);overflow:auto;max-width:100%}.segmented button{min-height:34px;padding:0 11px;white-space:nowrap;border:0;background:transparent;color:var(--muted);font-size:.72rem;border-radius:9px;cursor:pointer;font-weight:700}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:0 3px 10px rgba(0,0,0,.07)}.two-columns{display:grid;grid-template-columns:1.35fr .85fr;grid-gap:16px;gap:16px;align-items:flex-start}.inline-actions{display:flex;gap:7px;align-items:center}.inline-actions select{min-height:42px;width:auto}.history-list,.sleep-list{display:grid}.history-list>div{display:grid;grid-template-columns:45px 1fr auto 42px 42px;grid-gap:10px;gap:10px;align-items:center;padding:13px 0;border-top:1px solid var(--line);min-width:0}.history-date{width:40px;height:48px;border-radius:11px;background:var(--surface-2);display:grid;place-content:center;text-align:center}.history-date b{font-size:1.05rem;line-height:1}.history-date small{color:var(--muted);font-size:.63rem}.history-list>div>div{min-width:0;display:grid}.history-list>div>div small{color:var(--muted);font-size:.72rem}.history-list p{margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-delta,.history-list p{color:var(--muted);font-size:.75rem}.measurement-list{display:grid}.measurement-list>div{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:7px;gap:7px;padding:13px 0;border-top:1px solid var(--line);font-size:.75rem}.measurement-list span{color:var(--muted)}.date-jump{min-width:190px}.phase-banner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:17px 20px;border-radius:18px;background:var(--green-soft);border:1px solid color-mix(in srgb,var(--green-2) 18%,var(--line))}.phase-banner>span{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:var(--green);color:#fff}.phase-banner>div{display:grid}.phase-banner small{color:var(--green-2);letter-spacing:.1em;font-size:.6rem;font-weight:800}.phase-banner p{margin:2px 0 0;color:var(--muted);font-size:.78rem}.phase-banner>strong{color:var(--green-2)}.date-strip{display:flex;gap:7px;width:100%;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}.date-strip button{flex:1 0 64px;max-width:82px;min-height:78px;border:1px solid var(--line);border-radius:15px;background:var(--surface);display:grid;place-content:center;text-align:center;cursor:pointer}.date-strip small{text-transform:capitalize;color:var(--muted);font-size:.65rem}.date-strip b{font-size:1.1rem}.date-strip i{height:14px;color:var(--green-2);font-size:.65rem;font-style:normal}.date-strip button.active{background:var(--green);color:#fff;border-color:var(--green)}.date-strip button.active i,.date-strip button.active small{color:rgba(255,255,255,.75)}.date-strip button.football{border-color:color-mix(in srgb,var(--green-2) 40%,var(--line))}.workout-header{display:grid;grid-template-columns:auto 1fr auto;grid-gap:18px;gap:18px;align-items:center}.workout-symbol{width:88px;height:88px;display:grid;place-items:center;border-radius:24px;background:var(--coral-soft);color:var(--coral);font-size:2.5rem}.workout-symbol svg{width:38px;height:38px}.workout-symbol.football{background:var(--green-soft)}.workout-header h2{font-size:1.55rem;margin:5px 0}.workout-header p{color:var(--muted);margin:0}.workout-buttons{display:grid;grid-gap:10px;gap:10px;justify-items:end}.deload{background:var(--violet-soft)!important;color:var(--violet)!important}.rest-timer{position:-webkit-sticky;position:sticky;top:88px;z-index:12;display:flex;gap:11px;align-items:center;margin-left:auto;width:-moz-fit-content;width:fit-content;padding:9px 11px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)}.rest-timer>svg{color:var(--green-2)}.rest-timer>span{display:grid}.rest-timer small{font-size:.53rem;letter-spacing:.1em;color:var(--muted)}.rest-timer b{font-size:1.2rem}.rest-timer button{min-height:34px;border:0;border-radius:10px;background:var(--green);color:#fff;padding:0 10px;cursor:pointer}.rest-timer button:last-child{width:34px;padding:0;background:var(--surface-2);color:var(--text)}.exercise-card header,.session-section header{display:flex;align-items:center;gap:12px}.session-section h2{margin:2px 0 0;font-size:1.1rem}.session-section header small{color:var(--muted);font-size:.62rem;letter-spacing:.12em}.step-number{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--green);color:#fff;font-weight:800}.simple-steps{list-style:none;padding:0;display:grid;grid-gap:10px;gap:10px;margin:18px 0 0}.simple-steps li{display:flex;align-items:center;gap:10px;color:var(--muted)}.simple-steps svg{width:18px;color:var(--green-2)}.exercise-list{display:grid;grid-gap:13px;gap:13px}.exercise-card{display:grid;grid-template-columns:170px 1fr;grid-gap:20px;gap:20px;transition:.2s}.exercise-card.done{border-color:var(--green-2)}.exercise-illustration{min-height:220px;border-radius:17px;background:linear-gradient(145deg,var(--green-soft),var(--surface-2));display:grid;place-content:center;text-align:center;grid-gap:13px;gap:13px}.exercise-illustration>span{font-size:3.7rem}.exercise-illustration small{color:var(--muted);padding:0 10px}.exercise-content header{justify-content:space-between}.exercise-content h2{margin:4px 0}.exercise-content>p{color:var(--muted)}.complete-toggle{width:46px;height:46px;border:2px solid var(--line);border-radius:50%;background:var(--surface);cursor:pointer}.complete-toggle.active{background:var(--green);color:#fff;border-color:var(--green)}.prescription{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.prescription span{display:grid;padding:11px;background:var(--surface-2);border-radius:12px}.prescription b{font-size:1.05rem}.prescription small{color:var(--muted);font-size:.65rem}.exercise-log{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:12px}.exercise-content details{margin-top:13px;border-top:1px solid var(--line);padding-top:12px}.exercise-content summary{cursor:pointer;color:var(--green-2);display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:.8rem}.exercise-content summary::marker{display:none}.exercise-content summary svg{width:16px}.exercise-content dl{display:grid;grid-template-columns:150px 1fr;grid-gap:7px 12px;gap:7px 12px;font-size:.78rem}.exercise-content dt{font-weight:800}.exercise-content dd{margin:0;color:var(--muted)}.safety-card{display:flex;align-items:flex-start;gap:13px;border-color:color-mix(in srgb,var(--yellow) 55%,var(--line));background:color-mix(in srgb,var(--yellow) 7%,var(--surface))}.safety-card>svg{color:#b47c00}.safety-card h3{margin-bottom:5px}.safety-card p{color:var(--muted)}.pain-picker{display:flex;flex-wrap:wrap;gap:7px}.filter-chips button,.pain-picker button{min-height:36px;border:1px solid var(--line);border-radius:99px;background:var(--surface);color:var(--muted);padding:0 12px;cursor:pointer;font-size:.72rem;font-weight:700}.filter-chips button.active,.pain-picker button.active{color:#fff;background:var(--green);border-color:var(--green)}.finish-session{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.finish-session>div:first-child{flex:1 1}.finish-session h2{margin:5px 0}.recovery-card{display:flex;align-items:center;gap:18px;min-height:190px}.recovery-card>span{font-size:4rem}.nutrition-banner{display:flex;align-items:center;gap:14px;padding:16px 20px;border-radius:18px;background:linear-gradient(110deg,#f7e9cd,#f4f2de);color:#332c20}.nutrition-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}html[data-theme=dark] .nutrition-banner{background:#342f25;color:#fff}.nutrition-banner>svg{width:40px;height:40px;color:#bd6f2e}.nutrition-banner div{display:grid}.nutrition-banner small{color:#a05826;font-weight:800;font-size:.6rem;letter-spacing:.12em}.nutrition-banner p{color:#746958;margin:2px 0 0;font-size:.78rem}.filter-chips{display:flex;gap:7px;overflow-x:auto;padding-bottom:3px}.filter-chips button{flex:none}.meal-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px}.meal-card{display:flex;flex-direction:column;gap:9px}.meal-card.consumed{border-color:var(--green-2)}.recipe-art{height:145px;display:grid;place-items:center;position:relative;border-radius:17px;background:linear-gradient(135deg,#f9dfb8,#f7c784);color:#a55b1e}.recipe-art.lunch{background:linear-gradient(135deg,#dcefd7,#acd9a2);color:#276448}.recipe-art.dinner{background:linear-gradient(135deg,#e5e1fa,#c5bdef);color:#564aa5}.recipe-art.snack{background:linear-gradient(135deg,#f7dfe4,#eeb3bf);color:#a14359}.recipe-art>svg{width:54px;height:54px;stroke-width:1.4}.recipe-art>span{position:absolute;right:10px;top:10px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff}.meal-card h2{font-size:1.02rem;margin:0;min-height:2.5em}.meal-card>p{color:var(--muted);font-size:.7rem;margin:0;min-height:2em}.macro-line{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px 0}.macro-line span{display:grid;font-size:.62rem;color:var(--muted)}.macro-line b{color:var(--text);font-size:.8rem}.filter-note{color:var(--coral)}.recipe-hero{display:grid;grid-template-columns:210px 1fr;grid-gap:16px;gap:16px}.recipe-hero .recipe-art{height:180px}.nutrition-badges{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:8px;gap:8px}.nutrition-badges span{display:grid;place-content:center;padding:12px;border-radius:13px;background:var(--surface-2);color:var(--muted);font-size:.7rem}.nutrition-badges b{color:var(--text);font-size:1.15rem}.recipe-meta{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0}.recipe-meta span{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:99px;padding:7px 10px;font-size:.7rem;color:var(--muted)}.recipe-meta svg{width:14px}.recipe-meta .positive{color:var(--green-2);background:var(--green-soft)}.recipe-columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.recipe-columns h3{font-size:1rem}.recipe-columns ol,.recipe-columns ul{list-style:none;padding:0;display:grid;grid-gap:8px;gap:8px}.recipe-columns li{display:flex;justify-content:space-between;gap:10px;padding:9px;border-radius:10px;background:var(--surface-2);font-size:.78rem}.recipe-columns li span{display:grid}.recipe-columns li small{color:var(--muted)}.recipe-columns ol li{justify-content:flex-start;align-items:flex-start}.recipe-columns ol li>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:var(--green);color:#fff;flex:none}.portion-control{display:flex;align-items:center;gap:8px;margin-bottom:10px}.portion-control button{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--surface);cursor:pointer}.meal-edit{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:13px 0}.shopping-panel{min-height:300px}.shopping-categories{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:16px;gap:16px}.shopping-categories section{display:grid;align-content:start;grid-gap:6px;gap:6px}.shopping-categories h3{text-transform:capitalize;font-size:.85rem;margin:0 0 4px}.shopping-categories button{display:grid;grid-template-columns:25px 1fr auto;align-items:center;grid-gap:8px;gap:8px;min-height:44px;border:0;border-radius:11px;background:var(--surface-2);padding:7px 9px;text-align:left;cursor:pointer}.shopping-categories button>span{width:21px;height:21px;border:1px solid var(--line);border-radius:6px;display:grid;place-items:center}.shopping-categories button svg{width:14px}.shopping-categories button small{color:var(--muted)}.shopping-categories button.checked{opacity:.58}.shopping-categories button.checked b{text-decoration:line-through}.prep-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.prep-grid>span{display:flex;align-items:flex-start;gap:10px;padding:14px;background:var(--surface-2);border-radius:14px}.prep-grid>span>b{width:28px;height:28px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:9px}.prep-grid h3{font-size:.9rem;margin-bottom:3px}.prep-grid p{color:var(--muted);font-size:.75rem;margin:0}.prep-recipes{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px;margin-top:10px}.prep-recipes span{display:grid;grid-template-columns:auto 1fr;grid-gap:2px 8px;gap:2px 8px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:13px}.prep-recipes svg{grid-row:span 2;color:var(--green-2)}.prep-recipes small{color:var(--muted);font-size:.67rem}.sleep-list>div{display:grid;grid-template-columns:auto 1fr auto auto;grid-gap:10px;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.sleep-list>div>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--violet-soft);color:var(--violet)}.sleep-list>div>div{display:grid}.sleep-list small{color:var(--muted);font-size:.7rem}.sleep-list strong{display:grid;text-align:center}.sleep-list strong small{font-family:inherit;font-weight:500}.correlation-card>svg,.insight-card>svg{width:44px;height:44px;padding:10px;border-radius:13px;background:var(--violet-soft);color:var(--violet);margin-bottom:16px}.correlation-card>p,.insight-card>p{color:var(--muted)}.insight-card>div{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.insight-card>div span{display:grid;padding:12px;background:var(--surface-2);border-radius:12px}.insight-card>div b{font-size:1.25rem}.insight-card>div small{color:var(--muted)}.calendar-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:17px}.calendar-toolbar h2{min-width:220px;text-align:center;text-transform:capitalize;margin:0}.calendar-toolbar input{width:160px;margin-left:auto}.month-grid,.weekdays{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays span{padding:8px;color:var(--muted);font-size:.68rem;text-align:center;font-weight:700}.month-grid{border-top:1px solid var(--line);border-left:1px solid var(--line)}.month-grid>button{min-width:0;min-height:118px;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);padding:8px;text-align:left;cursor:pointer}.month-grid>button>b{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;margin-bottom:5px}.month-grid>button.active>b{background:var(--green);color:#fff}.month-grid>button.muted{opacity:.35}.month-grid>button>div{display:grid;grid-gap:3px;gap:3px}.month-grid>button span{min-width:0;display:flex;align-items:center;gap:4px;padding:3px 5px;border-radius:6px;background:var(--surface-2);font-size:.6rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-grid>button span i{font-style:normal}.month-grid>button span.sport{background:var(--green-soft)}.month-grid>button span.weight{background:var(--coral-soft)}.month-grid>button span.sleep{background:var(--violet-soft)}.agenda-list{display:grid}.agenda-list>div{display:grid;grid-template-columns:80px 38px 1fr;align-items:center;grid-gap:10px;gap:10px;padding:11px 0;border-top:1px solid var(--line)}.agenda-list>div>span{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:var(--surface-2)}.calendar-legend{display:flex;flex-wrap:wrap;gap:8px}.calendar-legend span{background:var(--surface);border:1px solid var(--line);border-radius:99px;padding:7px 10px;font-size:.7rem}.stats-layout{display:grid;grid-template-columns:1.4fr .6fr;grid-gap:16px;gap:16px;align-items:flex-start}.correlation-bars{display:grid;grid-gap:13px;gap:13px}.correlation-bars span{position:relative;display:block;height:42px;background:var(--surface-2);border-radius:11px;overflow:hidden}.correlation-bars i{display:block;height:100%;background:var(--green-soft)}.correlation-bars b{position:absolute;inset:0;display:flex;align-items:center;padding-left:12px;font-size:.76rem}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:15px;gap:15px}.settings-card{display:grid;grid-gap:13px;gap:13px;box-shadow:none}.settings-card>header{display:flex;align-items:center;gap:11px}.settings-card>header>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--green-soft);color:var(--green-2)}.settings-card h2{font-size:1.05rem;margin:0}.settings-card header p{color:var(--muted);margin:2px 0 0;font-size:.72rem}.switch-row{display:flex;align-items:center;justify-content:space-between}.switch-row span{display:grid}.theme-picker{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:8px;gap:8px}.theme-picker button{min-height:90px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);display:grid;place-content:center;grid-gap:7px;gap:7px;cursor:pointer}.theme-picker button.active{color:#fff;background:var(--green);border-color:var(--green)}.theme-picker svg{margin:auto}.reminder{grid-template-columns:1fr 110px 30px;grid-gap:10px;gap:10px;align-items:center;padding-top:9px;border-top:1px solid var(--line)}.reminder,.reminder>span{display:grid}.reminder small{color:var(--muted)}.settings-save{grid-column:1/-1;position:-webkit-sticky;position:sticky;bottom:12px;z-index:10;display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:16px;background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow)}.settings-save span{color:var(--muted)}.modal-backdrop{position:fixed;z-index:100;inset:0;padding:20px;background:rgba(8,18,14,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;overflow-y:auto}.modal{width:min(620px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:22px;box-shadow:0 28px 80px rgba(0,0,0,.25)}.modal-wide{width:min(900px,100%)}.modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}.modal>header h2{margin:5px 0 0}.form-stack{display:grid;grid-gap:14px;gap:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:11px;gap:11px}.prominent-field input{font-size:1.25rem;font-weight:800;border-color:var(--green-2)}.file-field{display:grid;grid-template-columns:auto 1fr;grid-gap:2px 9px;gap:2px 9px;align-items:center;padding:13px;border:1px dashed var(--line);border-radius:13px;cursor:pointer}.file-field svg{grid-row:span 2;color:var(--green-2)}.file-field input{position:absolute;opacity:0;pointer-events:none}.form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.form-error{color:var(--danger);padding:10px;background:color-mix(in srgb,var(--danger) 7%,var(--surface));border-radius:10px;margin:0}.calculated-duration{display:grid;grid-template-columns:auto 1fr auto;grid-gap:9px;gap:9px;align-items:center;padding:13px;background:var(--violet-soft);border-radius:13px}.calculated-duration svg{grid-row:span 2;color:var(--violet)}.calculated-duration small{grid-column:2/-1;color:var(--muted)}.action-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px;gap:8px}.empty-state{min-height:165px;display:grid;place-content:center;justify-items:center;text-align:center;padding:20px}.empty-state>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--green-soft);color:var(--green-2);margin-bottom:10px}.empty-state h3{margin:0 0 5px}.empty-state p{color:var(--muted);max-width:380px;font-size:.8rem}.loading-block{min-height:240px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.error-screen,.loading-screen{min-height:100vh;display:grid;place-content:center;justify-items:center;grid-gap:13px;gap:13px;text-align:center;padding:20px}.loading-screen>svg{color:var(--green-2);width:30px;height:30px}.error-screen p,.loading-screen p{color:var(--muted)}.error-screen>svg{width:52px;height:52px;color:var(--coral)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr;background:var(--surface)}.login-visual{padding:42px clamp(35px,6vw,90px);display:flex;flex-direction:column;justify-content:space-between;color:#fff;background:radial-gradient(circle at 80% 25%,rgba(201,237,104,.2),transparent 28%),linear-gradient(145deg,#10382d,#1b6952)}.login-visual h1{font-size:clamp(2.8rem,5vw,5rem);margin:20px 0}.login-visual>div>p{color:rgba(255,255,255,.68);max-width:590px;font-size:1.05rem}.login-metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.login-metrics span{display:grid;padding:16px;border-radius:16px;background:rgba(255,255,255,.08)}.login-metrics svg{color:var(--lime);margin-bottom:12px}.login-metrics small{opacity:.6;margin-top:4px;font-size:.68rem}.login-panel{display:grid;place-items:center;padding:30px;background:var(--bg)}.login-card{width:min(430px,100%);display:grid;grid-gap:16px;gap:16px}.login-card h2{font-size:2rem;margin:0}.login-card>p,.secure-copy{color:var(--muted)}.secure-copy{text-align:center}.mobile-logo{display:none}@media (max-width:1180px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.quick-panel,.today-workout{grid-column:auto}.today-meals{grid-row:span 2}.meal-grid{grid-template-columns:repeat(2,1fr)}.stats-layout{grid-template-columns:1fr}}@media (max-width:860px){:root{--radius:18px}.sidebar{transform:translateX(-105%);transition:transform .25s ease;width:min(290px,86vw);box-shadow:20px 0 60px rgba(0,0,0,.25)}.sidebar.open{transform:translateX(0)}.mobile-sidebar-close{display:inline-flex!important;position:absolute;right:12px;top:28px;color:#fff}.sidebar-overlay{position:fixed;z-index:25;inset:0;border:0;background:rgba(0,0,0,.45)}.main-content{margin-left:0;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.topbar{height:66px;padding:0 15px}.menu-toggle{display:inline-flex!important}.topbar>div:first-of-type{margin-right:auto;margin-left:8px}.top-actions .button span,.topbar>div>span{display:none}.top-actions .button{width:44px;padding:0}.page-content{padding:18px 14px 35px}.page-title{align-items:flex-start}.page-title>.segmented{width:100%}.nutrition-actions{width:100%;justify-content:flex-start}.page-title{flex-direction:column;gap:13px}.dashboard-hero{min-height:220px;padding:24px}.hero-score{width:130px;height:130px;border-width:7px}.dashboard-grid{grid-template-columns:1fr}.today-meals{grid-row:auto}.quick-actions,.settings-grid,.two-columns{grid-template-columns:1fr}.settings-save{grid-column:auto}.workout-header{grid-template-columns:auto 1fr;align-items:flex-start}.workout-buttons{grid-column:1/-1;display:flex;justify-items:legacy;justify-content:space-between;width:100%}.exercise-card{grid-template-columns:130px 1fr}.exercise-illustration{min-height:180px}.meal-grid,.shopping-categories,.weekly-progress{grid-template-columns:repeat(2,1fr)}.weekly-progress>span:nth-child(2){border-right:0}.weekly-progress>span:nth-child(-n+2){border-bottom:1px solid var(--line)}.mobile-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;min-height:calc(66px + env(safe-area-inset-bottom));padding:5px 5px env(safe-area-inset-bottom);display:grid!important;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--line)}.mobile-nav button{border:0;background:transparent;color:var(--muted);display:grid;place-items:center;align-content:center;grid-gap:3px;gap:3px;min-width:0;border-radius:10px;font-size:.6rem;font-weight:700}.mobile-nav button svg{width:23px;height:23px}.mobile-nav button.active{color:var(--green-2);background:var(--green-soft)}.more-sheet-backdrop{position:fixed;z-index:90;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:flex-end}.more-sheet{width:100%;padding:18px 16px calc(22px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:var(--surface)}.more-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.more-sheet>button{width:100%;min-height:56px;border:0;border-top:1px solid var(--line);background:transparent;display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:12px;gap:12px;text-align:left}.more-sheet>button>svg:first-child{color:var(--green-2)}}@media (max-width:620px){h1{font-size:1.8rem}.panel{padding:17px}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{grid-template-columns:1fr;gap:8px;padding:14px}.stat-card>span{width:36px;height:36px}.stat-card strong{font-size:1.15rem}.dashboard-hero{display:block}.dashboard-hero h1{font-size:2rem}.hero-score{display:none}.nutrition-actions>.button,.nutrition-actions>.segmented,.page-title>.button{width:100%}.panel-heading{align-items:flex-start}.weekly-progress{grid-template-columns:1fr 1fr}.weekly-progress>span{grid-template-columns:auto 1fr;padding:13px}.weekly-progress small{grid-column:1/-1}.history-list>div{grid-template-columns:42px 1fr 40px 40px}.history-delta{display:none}.measurement-list>div{grid-template-columns:1fr 1fr}.phase-banner{grid-template-columns:auto 1fr}.phase-banner>strong{grid-column:2}.date-jump{width:100%}.workout-symbol{width:65px;height:65px;border-radius:18px}.workout-header h2{font-size:1.2rem}.rest-timer{top:75px;width:100%;justify-content:space-between}.exercise-card{grid-template-columns:1fr;padding:12px}.exercise-illustration{min-height:125px}.exercise-illustration>span{font-size:3rem}.exercise-content{padding:4px}.prescription{grid-template-columns:repeat(3,1fr)}.exercise-content dl,.exercise-log,.meal-edit,.recipe-columns{grid-template-columns:1fr}.exercise-content dd{margin-bottom:6px}.finish-session{display:grid}.finish-session .form-actions{justify-content:stretch}.finish-session .button{flex:1 1}.meal-grid{grid-template-columns:1fr}.recipe-art{height:125px}.recipe-hero{grid-template-columns:1fr}.recipe-hero .recipe-art{height:130px}.prep-grid,.prep-recipes,.shopping-categories{grid-template-columns:1fr}.sleep-list>div{grid-template-columns:auto 1fr auto}.sleep-list .icon-button{grid-column:3}.calendar-panel{padding:12px 6px}.calendar-toolbar h2{min-width:0;flex:1 1;font-size:1.1rem}.calendar-toolbar input{display:none}.month-grid>button{min-height:74px;padding:4px}.month-grid>button span{width:7px;height:7px;border-radius:50%;padding:0;font-size:0;display:inline-block;margin:1px}.month-grid>button span i{display:none}.month-grid>button>div{display:block}.weekdays span{font-size:.58rem;padding:5px 0}.theme-picker{grid-template-columns:repeat(3,1fr)}.reminder{grid-template-columns:1fr 95px 26px}.action-grid,.form-grid{grid-template-columns:1fr}.modal-backdrop{padding:0;align-items:flex-end}.modal{width:100%;max-height:94dvh;border-radius:24px 24px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom))}.login-layout{grid-template-columns:1fr}.login-visual{display:none}.login-panel{min-height:100vh;padding:24px}.mobile-logo{display:block;margin-bottom:25px}}@media (max-width:360px){.page-content{padding-left:10px;padding-right:10px}.stats-grid{grid-template-columns:1fr}.quick-note>div{align-items:stretch;flex-direction:column}.quick-note>div label input{flex:1 1;width:auto}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}