:root{--bg:#f7f8f3;--paper:#fff;--ink:#20372d;--muted:#819087;--green:#214e3b;--deep:#173f32;--lime:#d4ed9f;--line:#e7ebe3;--soft:#eef2e9;--red:#a44a3c;--radius:19px;--sidebar:232px;--shadow:0 12px 40px #1e3b2610;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #9cbd6d;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #acc980;outline-offset:1px;border-color:#a4b990}h1,h2,h3,h4,p{margin:0}h2,h3,h4{font-weight:650}svg{display:block}button svg{pointer-events:none}[hidden]{display:none!important}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:34px 22px 22px;border-right:1px solid var(--line);background:#fbfcf8;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:24px;letter-spacing:1px;font-weight:750;padding-left:9px}.brand small{font-size:11px;letter-spacing:2px;display:block;font-weight:600;margin-top:1px}.brand-mark{display:block;width:42px;height:45px;background:var(--deep);border-radius:14px 14px 14px 5px;color:var(--lime);font:italic 700 42px Georgia,serif;line-height:44px;padding-left:10px;letter-spacing:-5px}.brand-mark span{color:white;font-size:27px}.sidebar-caption{font-size:10px;color:#929d8f;letter-spacing:1px;margin:24px 0 36px 10px}.navigation{display:flex;flex-direction:column;gap:9px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;background:none;border:0;border-radius:11px;font-size:13px;white-space:nowrap;color:#718074;text-align:left;position:relative}.nav-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.nav-item:hover{background:#f0f3ea}.nav-item.active{background:var(--deep);color:white;font-weight:600}.nav-active-dot{height:5px;width:5px;background:var(--lime);margin-left:auto;border-radius:50%}.nav-item:not(.active) .nav-active-dot{display:none}.nav-badge{font-size:9px;background:#e2ecd4;color:#41633f;line-height:18px;padding:0 5px;border-radius:4px;margin-left:auto;font-weight:700}.nav-divider{height:1px;background:var(--line);margin:20px 12px 12px}.sidebar-bottom{margin-top:auto;padding:18px 3px 0}.local-pill{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:#627758}.status-dot{width:6px;height:6px;border-radius:50%;background:#83a85f;display:inline-block;flex-shrink:0}.sidebar-bottom>p{font-size:10px;line-height:1.9;color:#99a28f;margin:11px 0 22px}.profile-mini{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px 10px;background:white;border-radius:13px;width:100%;text-align:left}.avatar,.header-avatar{background:#e9eddf;color:#546844;display:grid;place-items:center;border-radius:50%;font-family:Georgia,serif;font-weight:700}.avatar{height:33px;width:33px}.profile-mini strong{display:block;font-size:10px}.profile-mini small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}.profile-mini>span:last-child{margin-left:auto;color:#7f8c76}.workspace{margin-left:var(--sidebar);max-width:1920px}.topbar{padding:31px 42px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:#8a9682;text-transform:uppercase;line-height:1.6}.topbar h1{font-size:25px;font-weight:650;line-height:1.4;letter-spacing:1px;margin-top:3px}.heading-dot{color:#9dbb68;font-size:31px}.topbar-actions{display:flex;align-items:center;gap:19px}.today-date{font-size:11px;color:#8b9689}.header-avatar{height:36px;width:36px;font-size:18px}main{padding:31px 42px 20px}.page{display:none}.page.active{display:block;animation:page-in .22s ease-out}@keyframes page-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:13px 19px;border-radius:9px;line-height:1.4;font-size:12px;font-weight:600;transition:background .15s,transform .15s;white-space:nowrap}.button:hover:not(:disabled){transform:translateY(-1px)}.button-green{background:var(--green);color:#fff}.button-green:hover{background:#163c2c}.button-lime{background:var(--lime);color:#253d28}.button-lime:hover{background:#e0f6b4}.button-white{border-color:var(--line);background:white;color:#4c614d}.button-white:hover{background:#f5f8ee}.button-small{font-size:11px;padding:10px 14px}.button span{font-size:15px}.text-button{background:none;border:0;font-size:11px;color:#657b50;padding:7px 0;display:inline-flex;align-items:center;gap:12px;font-weight:600}.text-button:hover{color:#1d492f}.text-button span{font-size:15px}.hero-card{background:var(--deep);border-radius:var(--radius);padding:35px 39px;position:relative;overflow:hidden;display:flex;min-height:309px;color:#fff}.hero-content{position:relative;z-index:2}.hero-kicker{font-size:10px;letter-spacing:1.8px;display:flex;align-items:center;gap:8px;color:#c6dcb5}.hero-kicker>span{height:5px;width:5px;border-radius:50%;background:var(--lime)}.hero-card h2{font-size:35px;line-height:1.43;letter-spacing:2px;font-weight:600;margin-top:15px}.hero-card p{font-size:11px;line-height:1.9;color:#b2c8b4;margin-top:13px}.hero-actions{display:flex;align-items:center;gap:25px;margin-top:24px}.hero-actions .button{font-size:11px;padding:12px 16px}.hero-secondary{color:#e0ebd8;border:0;background:none;padding:8px 0;font-size:11px;display:flex;gap:10px;align-items:center}.hero-art{position:absolute;top:0;right:0;width:47%;height:100%;overflow:hidden}.orbit{position:absolute;width:315px;height:315px;border:1px solid #cce7a817;border-radius:50%;top:29px;left:30px}.orbit-two{width:395px;height:395px;top:-12px;left:-10px}.orbit-three{width:475px;height:475px;top:-52px;left:-50px}.art-figure{position:absolute;width:288px;height:288px;left:50px;top:24px;transform:rotate(-7deg)}.art-figure:before{content:"";position:absolute;inset:43px;background:#b4da6120;filter:blur(33px);border-radius:100%}.art-figure svg{position:relative;width:100%;height:100%;filter:drop-shadow(3px 5px 16px #091f3130)}.art-label{position:absolute;z-index:2;border:1px solid #daeac326;background:#37604780;backdrop-filter:blur(8px);border-radius:10px;color:#dfe9cf}.art-label-top{font-size:10px;right:25px;top:45px;padding:11px 13px;transform:rotate(6deg);display:flex;align-items:center;gap:7px}.tiny-spark{color:#d1e690;font-size:17px}.art-label-bottom{bottom:31px;left:8px;display:flex;align-items:center;gap:10px;padding:12px 16px;transform:rotate(-5deg);font-size:8px;letter-spacing:1.2px}.art-label-bottom small{display:block;color:#d6e6c3;font-size:11px;letter-spacing:1px;margin-top:4px}.pulse-icon{font-size:29px;color:#cde598}.art-cross{color:#a3c67c;font-size:19px;position:absolute;font-weight:300}.cross-one{left:26px;top:57px}.cross-two{right:28px;bottom:62px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:29px 0 14px}.section-heading h2{font-size:15px;letter-spacing:.3px;display:flex;align-items:center;gap:13px}.subtle-label{font-size:10px;color:#929d8e;font-weight:400}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:17px 20px 18px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#7b8b77}.stat-icon{color:#7b9468;font-size:15px;width:26px;height:26px;display:grid;place-items:center;background:#f2f5ec;border-radius:8px}.stat-number{margin:7px 0 9px;font-size:29px;font-family:Inter,"Segoe UI",sans-serif;font-weight:650;letter-spacing:-1px;line-height:1.3;white-space:nowrap}.stat-number small{font-size:10px;font-weight:400;color:#94a08e;margin-left:7px;letter-spacing:0}.stat-foot{font-size:9px;color:#96a18e}.accent-stat{background:#eaf0df;border-color:#e4ebd8}.accent-stat .stat-icon{background:#dae7c5;color:#657e49}.overview-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:19px;margin-top:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.panel-heading h2{font-size:16px;margin-top:4px}.panel-heading h3{font-size:14px}.tag{font-size:9px;line-height:1.5;background:#f0f4e8;color:#7e9168;border:1px solid #e7eddd;border-radius:6px;padding:4px 8px;white-space:nowrap}.soft-tag{background:#f7f8f4;color:#94a08b;border-color:#edf0e7}.next-workout-body{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:239px}.empty-orbit{height:54px;width:54px;display:grid;place-items:center;background:#eff4e6;border:8px solid #f8faf3;border-radius:50%;font-size:23px;color:#8ba56e;margin-bottom:14px}.next-workout-body h3{font-size:14px;font-weight:600}.next-workout-body p{font-size:10px;line-height:1.9;color:#9aa68f;margin-top:8px;margin-bottom:18px}.next-workout-body .button{font-size:10px;padding:10px 14px}.muted{font-size:12px;line-height:1.9;color:var(--muted)}.food-icon{background:#f3f6e8;border-radius:12px;font-size:36px;color:#9bae6c;width:44px;height:44px;display:grid;place-items:center}.fuel-panel>.text-button{margin-top:16px}.macro-placeholder{display:flex;gap:4px;height:8px;margin:24px 0 18px}.macro-placeholder span{border-radius:2px;flex:1;background:#c1d79b}.macro-placeholder span:nth-child(2){background:#dce8bc;flex:1.5}.macro-placeholder span:nth-child(3){background:#e6dac0}.fuel-panel .muted{font-size:10px;line-height:1.9}.nutrition-feature{display:flex;gap:12px;align-items:center;margin-top:19px}.nutrition-feature>span{width:29px;height:29px;font-size:10px;color:#84996e;display:grid;place-items:center;border:1px solid #e9eee0;border-radius:7px}.nutrition-feature strong{font-size:11px;font-weight:600}.nutrition-feature p{font-size:9px;color:#99a28f;margin-top:4px}.coach-banner{margin-top:22px;padding:23px 27px;background:#eef2e6;border:1px solid #e3e9d9;border-radius:14px;display:flex;align-items:center;gap:21px}.coach-banner-icon{width:54px;height:54px;background:#e0e9ce;border-radius:14px;display:grid;place-items:center;flex-shrink:0}.coach-banner-icon svg{width:38px;height:38px;stroke:#728b58;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.coach-banner h3{font-size:15px;margin:3px 0 7px}.coach-banner p{font-size:10px;line-height:1.7;color:#8b9780}.coach-banner>.button{margin-left:auto;font-size:10px;padding:11px 15px}.recent-panel{padding:17px 23px}.recent-panel>.muted{font-size:11px}.session-row{display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:16px;align-items:center;padding:12px 0;font-size:12px}.session-row+.session-row{border-top:1px solid var(--line)}.session-row time{font-size:10px;color:var(--muted)}.session-row span{font-size:11px;color:#6b8059}.app-footer{padding:24px 42px 25px;display:flex;align-items:center;gap:20px;color:#a4ad9c;font-size:8px;letter-spacing:.8px}.app-footer>span:first-child{font-weight:650;color:#8e9d82;letter-spacing:1px}.app-footer>span:last-child{margin-left:auto;font-size:7px;letter-spacing:1.7px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 26px}.page-intro h2{font-size:25px;margin-top:5px;letter-spacing:.5px}.page-intro p:not(.eyebrow){font-size:12px;color:#8a9881;margin-top:11px;line-height:1.8}.inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.page-intro .inline-actions .button{font-size:11px;padding:11px 14px}.empty-state{padding:54px 28px;text-align:center}.empty-state .empty-orbit{margin:0 auto 20px}.empty-state h3{font-size:20px}.empty-state p{margin:13px auto 25px;max-width:470px;font-size:12px;color:var(--muted);line-height:1.9}.plan-summary{background:#eaf0df;border:1px solid #dfe9d1;padding:24px 27px;border-radius:15px;margin-bottom:21px;display:flex;gap:20px;align-items:flex-start}.plan-summary h3{font-size:15px;margin-bottom:10px}.plan-summary p{font-size:12px;line-height:1.9;color:#6c7f5a}.plan-summary-icon{font-size:26px;color:#7d9657;padding-top:3px}.plan-section{margin:27px 0 17px;display:flex;align-items:center;gap:14px}.plan-section h3{font-size:17px}.plan-section>span{font-size:10px;color:#9aa58f}.nutrition-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.nutrition-metric{background:white;border:1px solid var(--line);border-radius:13px;padding:21px}.nutrition-metric:first-child{background:var(--deep);color:#fff;border-color:var(--deep)}.nutrition-metric>span{font-size:11px;opacity:.6}.nutrition-metric p{font-size:29px;font-weight:600;letter-spacing:-.5px;margin-top:8px}.nutrition-metric small{font-size:11px;font-weight:400;opacity:.65;margin-left:7px}.explanation{font-size:11px;line-height:1.9;color:#8b9683;margin:13px 0 20px}.meal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.meal-card{padding:23px}.meal-card h4{font-size:15px;margin-bottom:14px}.meal-card ul{margin:0;padding:0;list-style:none}.meal-card li{font-size:12px;line-height:1.8;border-top:1px solid #f0f3e9;padding:8px 0;color:#62775c}.meal-card p{font-size:10px;line-height:1.9;color:#95a088;margin-top:13px}.meal-number{font-size:9px;color:#a3b884;letter-spacing:1.4px;margin-bottom:9px;display:block}.tip-list,.caution-list{font-size:11px;line-height:1.9;color:#7d8e73;padding-left:19px;margin:15px 0}.tip-list li,.caution-list li{margin:6px 0}.training-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.training-day{padding:23px;overflow:hidden}.training-day.rest-day{background:#f0f3e9}.day-top{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:7px}.day-top h4{font-size:13px}.day-top span{font-size:10px;color:#8b9a7e}.exercise-row{padding:13px 0;border-bottom:1px solid #f0f2eb}.exercise-row:last-child{border:0}.exercise-row>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;font-size:11px}.exercise-row strong{font-weight:600}.exercise-row span{font-size:10px;color:#7e9667;white-space:nowrap}.exercise-row p{font-size:10px;line-height:1.8;color:#95a08e;margin-top:7px}.cautions-panel{margin-top:24px;background:#f7f4eb;border-color:#ebe7d9;padding:22px 25px}.cautions-panel h4{font-size:13px;color:#877d5f}.cautions-panel li{color:#9a8c6b}.sources-panel{margin-top:23px;padding:22px}.sources-panel h4{font-size:12px;margin-bottom:12px}.source-links{display:flex;gap:10px 20px;flex-wrap:wrap}.source-links a{font-size:10px;color:#82986c;text-decoration:underline;text-underline-offset:3px}.ai-note-panel{border-left:3px solid #a3bc75;background:white;border-radius:0 12px 12px 0;padding:23px;margin:20px 0}.ai-note-panel h3{font-size:14px;margin-bottom:10px}.ai-note-panel pre,.model-output{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.95;color:#64785c}.macro-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:19px}.macro-item>span{font-size:10px;color:#97a28e}.macro-item strong{display:block;font-size:18px;margin-top:7px;font-weight:600}.macro-item small{font-size:10px;color:#9eaa92;margin-left:4px;font-weight:400}.macro-item:before{content:"";height:5px;display:block;border-radius:2px;margin-bottom:11px;background:#bad193;width:72px}.macro-item:nth-child(2):before{background:#dbe5b6}.macro-item:nth-child(3):before{background:#e4d6b9}.nutrition-summary-note{font-size:11px;line-height:1.9;color:#91a07e;margin:24px 0 4px}.next-workout-body.has-workout{align-items:stretch;text-align:left;min-height:230px}.next-workout-body.has-workout .exercise-row{padding:10px 0}.next-workout-body.has-workout>p{margin:7px 0 15px}.next-workout-body.has-workout .button{align-self:flex-start;margin-top:16px}.privacy-badge{font-size:10px;display:flex;align-items:center;gap:7px;background:#edf3e5;padding:10px 13px;border-radius:8px;color:#7c9065;white-space:nowrap}.coach-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.segmented{display:flex;border:1px solid var(--line);background:#edf1e7;padding:4px;border-radius:10px;gap:3px}.segmented button{border:0;border-radius:7px;background:none;font-size:11px;padding:10px 24px;color:#8a9882}.segmented button.selected{background:#fff;box-shadow:0 2px 7px #223b1910;color:#3f6140;font-weight:600}.switch-label{display:flex;align-items:center;gap:9px;font-size:11px;color:#7e906f;cursor:pointer}.switch-label input{position:absolute;opacity:0;pointer-events:none}.switch-track{height:19px;width:33px;border-radius:12px;background:#c8d1c0;padding:3px;transition:background .2s}.switch-track:before{content:"";display:block;height:13px;width:13px;border-radius:50%;background:white;transition:transform .2s}.switch-label input:checked+.switch-track{background:#729151}.switch-label input:checked+.switch-track:before{transform:translateX(14px)}.switch-label input:focus-visible+.switch-track{outline:2px solid var(--green);outline-offset:3px}.coach-layout{display:grid;grid-template-columns:minmax(0,1fr) 302px;gap:20px}.camera-panel{aspect-ratio:16/10;background:#17382d;border-radius:17px;position:relative;overflow:hidden;display:grid;place-items:center}.camera-panel video,.camera-panel>canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.camera-panel>canvas{pointer-events:none}.camera-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#dce9d1;background:radial-gradient(ellipse at center,#2a4a39,#17382d)}.camera-empty-icon{width:65px;height:65px;display:grid;place-items:center;border:1px solid #b7cf9733;border-radius:19px;background:#b4d58310;font-size:43px;color:#b9ce94;margin-bottom:21px}.camera-empty h3{font-size:18px;font-weight:500}.camera-empty p{font-size:11px;color:#a3b99c;line-height:1.9;margin:14px 0 24px}.camera-empty .button{font-size:11px}.camera-empty small{font-size:9px;color:#8ca47e;margin-top:12px}.camera-status{position:absolute;top:16px;left:16px;background:#163426bb;backdrop-filter:blur(8px);padding:7px 10px;color:#c5d5ba;border:1px solid #b7cf9722;display:flex;align-items:center;gap:6px;border-radius:5px;font-size:8px;max-width:85%}.camera-status>span:first-child{height:5px;width:5px;background:#929b88;border-radius:50%;flex-shrink:0}.camera-status>span:first-child.running{background:#c0e191;box-shadow:0 0 0 3px #c0e19118}.camera-phase{position:absolute;right:16px;bottom:16px;color:#cad8bd;font-size:10px;background:#18382abb;border-radius:6px;padding:8px 12px}.camera-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:13px 0 21px}.camera-controls .text-button{font-size:10px}.coach-stats{border:1px solid var(--line);background:white;border-radius:13px;padding:19px 21px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.coach-stats>div+div{border-left:1px solid var(--line);padding-left:22px}.coach-stats>div>span{font-size:10px;color:#9ba68f}.coach-stats p{margin-top:7px}.coach-stats strong{font-size:27px;font-weight:600}.coach-stats small{font-size:9px;color:#92a081;margin-left:5px}.live-feedback{margin-top:19px;padding:21px}.live-feedback .muted{font-size:11px}.feedback-item{font-size:11px;line-height:1.8;padding:10px 13px;background:#f0f5e9;color:#79965b;border-radius:7px;margin-top:8px;display:flex;gap:9px}.feedback-item.warning{background:#f6f0e1;color:#a28a50}.feedback-item.error{background:#faeee8;color:#a26851}.coach-side .panel{padding:20px;border-radius:16px}.reference-panel>canvas{width:100%;height:auto;background:#f4f7ed;border-radius:12px;margin-bottom:15px}.reference-panel h4{font-size:14px;margin:6px 0}.reference-panel ul{padding-left:16px;font-size:10px;line-height:1.9;color:#8a9b7b;margin:10px 0}.reference-panel li{margin-bottom:5px}.text-link{font-size:10px;color:#819b61;text-decoration:underline;text-underline-offset:3px}.micro-copy{font-size:9px;line-height:1.9;color:#a0aa96;margin-top:13px}.vision-panel{margin-top:18px}.vision-panel .panel-heading{margin-bottom:12px}.small-copy{font-size:11px}.upload-area{display:block;border:1px dashed #c8d5b8;background:#fafcf6;border-radius:8px;text-align:center;font-size:10px;line-height:1.7;color:#839b68;padding:15px 9px;margin-top:17px;cursor:pointer}.upload-area:hover{background:#f0f6e7}.upload-area input{width:1px;height:1px;position:absolute;opacity:0}.upload-area:focus-within{outline:2px solid var(--green)}#upload-preview{width:100%;max-height:180px;object-fit:contain;border-radius:8px;margin-top:12px;background:#eef2e5}.consent-label{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.8;color:#8b9c7a;margin:15px 0;cursor:pointer}.consent-label input{margin-top:3px;accent-color:var(--green);flex-shrink:0;width:13px;height:13px}.full-width{width:100%;font-size:10px}#vision-result:not(:empty){margin-top:15px;border-top:1px solid var(--line);padding-top:14px}#vision-result h4{font-size:11px;margin-bottom:8px}#vision-result p{font-size:10px;line-height:1.9;color:#7f926d}#vision-result .feedback-item{font-size:10px}.vision-meta{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:22px;align-items:start}.chat-main{padding:0;overflow:hidden}.chat-heading{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:24px}.chat-assistant-mark{width:37px;height:37px;display:grid;place-items:center;background:var(--deep);color:var(--lime);border-radius:12px;font-size:24px;flex-shrink:0}.chat-heading h2{font-size:15px}.chat-heading p{font-size:10px;color:#93a186;margin-top:7px}.chat-heading .tag{margin-left:auto}.chat-messages{min-height:420px;max-height:62vh;overflow-y:auto;padding:24px;scroll-behavior:smooth}.chat-welcome{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:375px;justify-content:center}.welcome-star{font-size:36px;color:#9dbb75;background:#f3f7ea;border-radius:18px;width:66px;height:66px;display:grid;place-items:center;margin-bottom:21px}.chat-welcome h3{font-size:21px;font-weight:550}.chat-welcome>p{font-size:11px;color:#96a389;line-height:1.9;margin-top:13px}.chat-suggestions{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:min(100%,340px);margin-top:23px}.chat-suggestions button{font-size:11px;text-align:left;border:1px solid #e7edde;border-radius:8px;background:#fbfcf7;color:#7b9068;padding:12px 14px}.chat-suggestions button:hover{background:#eff5e5}.chat-compose{display:flex;gap:14px;align-items:flex-end;border-top:1px solid var(--line);margin:0 23px;padding:18px 0 0}.chat-compose textarea{min-height:56px;resize:vertical;max-height:160px;background:#f7f9f2;border:1px solid var(--line);border-radius:9px;padding:12px 14px;line-height:1.7;font-size:11px;flex:1;min-width:0}.chat-compose .button{font-size:11px;padding:11px 16px}.chat-footnote{font-size:8px;color:#a9b09e;line-height:1.9;padding:11px 24px 18px}.chat-context h3{font-size:16px;margin:6px 0 23px}.context-entry{border-bottom:1px solid var(--line);padding:11px 0}.context-entry span{display:block;font-size:9px;color:#a2ad94;margin-bottom:6px}.context-entry strong{font-size:11px;font-weight:500;line-height:1.8}.context-note{font-size:10px;line-height:1.9;color:#94a380;display:flex;gap:10px;background:#f4f7ee;border-radius:8px;padding:13px;margin:23px 0 10px}.context-note>span{font-size:18px;color:#9db479}.chat-message{display:flex;gap:11px;margin-bottom:22px;align-items:flex-start}.message-avatar{width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;border-radius:9px;background:#eaf1dd;color:#7d965e;font-size:16px}.chat-message.user{flex-direction:row-reverse}.chat-message.user .message-avatar{background:#e4eadb;color:#6e8157;font-size:12px}.message-body{max-width:90%}.message-content{font-size:12px;line-height:1.95;color:#65775c;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:0 12px 12px 12px;background:#f7f9f2;padding:13px 16px}.chat-message.user .message-content{background:var(--deep);color:#edf3e7;border-radius:12px 0 12px 12px}.message-trace{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.message-trace span{font-size:8px;background:#eef3e6;color:#8c9e78;border-radius:4px;padding:4px 7px}.thinking{color:#9eae88}.settings-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;align-items:start}.settings-panel{padding:27px}.settings-panel h3{font-size:17px;margin:5px 0 18px}.settings-panel .panel-heading h3{margin:0 0 8px}.settings-panel .panel-heading{align-items:flex-start}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#728467;margin:16px 0}.field input,.field select,.field textarea{width:100%;min-width:0;padding:11px 12px;color:#4e6846;border:1px solid #e1e8d7;border-radius:8px;background:#fcfdf9;font-size:12px;line-height:1.5;transition:border-color .15s}.field textarea{resize:vertical;min-height:66px}.field input::placeholder,.field textarea::placeholder,.chat-compose textarea::placeholder{color:#a8b49b;font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .field{margin:7px 0}.field-hint{font-size:9px;line-height:1.9;color:#9dab8e;margin:0 0 20px}.capability{display:flex;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.capability>span{font-size:10px;color:#97ae77;border-radius:7px;background:#f1f5e8;height:29px;width:29px;display:grid;place-items:center;flex-shrink:0}.capability h4{font-size:12px;margin-bottom:7px}.capability p{font-size:10px;line-height:1.9;color:#98a58b}.data-actions{margin-top:24px;display:flex;flex-direction:column;align-items:flex-start;gap:15px}.data-actions .button{font-size:11px}.danger-text{color:#a4806d}.danger-text:hover{color:#a4543c}.skill-item{padding:12px 0;border-bottom:1px solid var(--line)}.skill-item:last-child{border:0}.skill-item h4{font-size:12px;display:flex;align-items:center;gap:8px}.skill-item h4:before{content:"✦";color:#98b374;font-size:14px}.skill-item p{font-size:10px;line-height:1.8;color:#94a387;margin:6px 0 0 21px}.inline-result{font-size:11px;line-height:1.9;padding:12px 14px;margin-top:18px;border-radius:8px;background:#edf4e3;color:#78975a;overflow-wrap:anywhere}.inline-result.error{background:#fbefe6;color:#a78063}dialog{border:1px solid #e6ecdc;border-radius:22px;padding:0;max-width:700px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 30px 100px #11281533;background:#fdfefa;color:var(--ink)}dialog::backdrop{background:#152b205e;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:29px 33px 24px;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:25px;margin-top:5px}.dialog-heading p:not(.eyebrow){font-size:10px;line-height:1.8;color:#93a085;margin-top:9px}.icon-button{border:1px solid var(--line);background:white;width:30px;height:30px;border-radius:50%;font-size:23px;font-weight:300;line-height:1;color:#8e9f7c;display:grid;place-items:center}.dialog-body{padding:4px 33px 14px;overflow-y:auto;max-height:calc(90vh - 218px)}fieldset{border:0;padding:0;margin:25px 0}legend{font-size:13px;font-weight:600;margin:0 0 13px;padding:0;width:100%;display:flex;align-items:center;gap:10px}legend span{font-size:9px;color:#98af78;border-radius:6px;border:1px solid #e5ecd9;background:#f1f5e8;padding:6px 7px;line-height:1}.three-columns{grid-template-columns:repeat(3,1fr);gap:14px}.field-label{font-size:11px;color:#728467;display:block;margin:17px 0 10px}.check-options{display:flex;gap:10px;flex-wrap:wrap}.check-options label{font-size:10px;display:flex;align-items:center;gap:7px;border:1px solid #e5ebdb;border-radius:7px;padding:9px 12px;background:#f8faf3;cursor:pointer}.check-options input{accent-color:var(--green);width:12px;height:12px;margin:0}.special-population{background:#f3f6ec;border-radius:8px;padding:12px 13px;margin-top:18px}.form-note{font-size:9px;line-height:1.9;color:#9aa88b;border-top:1px solid var(--line);padding-top:15px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;padding:18px 33px;border-top:1px solid var(--line);gap:15px;background:#fafcf5}.dialog-footer>span{font-size:9px;color:#a0ad91}.dialog-footer .button{font-size:11px}.error-copy{font-size:11px;color:var(--red);margin-top:12px;line-height:1.8}.toast-container{position:fixed;bottom:25px;left:calc(var(--sidebar) + (100% - var(--sidebar))/2);transform:translateX(-50%);z-index:100;display:flex;flex-direction:column;gap:10px;pointer-events:none;width:min(90%,500px)}.toast{padding:13px 20px;color:#f1f6e9;background:#214c38f2;border:1px solid #53754b;border-radius:10px;box-shadow:var(--shadow);font-size:12px;line-height:1.8;text-align:center;animation:page-in .2s}.toast.error{background:#806046f5;border-color:#a88866}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){main{padding:36px 55px 24px}.topbar{padding-left:55px;padding-right:55px}.hero-card{min-height:335px;padding:39px 45px}.hero-card h2{font-size:41px}.hero-art{width:43%}.art-figure{width:315px;height:315px;left:80px;top:15px}.orbit{left:73px}.orbit-two{left:33px}.orbit-three{left:-7px}.art-label-top{right:43px}.art-label-bottom{left:27px}.stats-grid{gap:21px}.stat-card{padding:21px 24px}.stat-number{font-size:33px}.overview-columns{gap:24px}.next-workout-body{min-height:252px}.coach-layout{grid-template-columns:minmax(0,1fr) 340px}.coach-side .panel{padding:24px}}
@media(max-width:1150px){:root{--sidebar:198px}.sidebar{padding:29px 14px 20px}.brand{font-size:21px;gap:10px}.sidebar-caption{font-size:9px;margin-left:8px;letter-spacing:.5px}.nav-item{padding:13px 12px;font-size:12px;gap:10px}.topbar{padding:26px 28px 23px}main{padding:25px 28px}.hero-card{padding:30px;min-height:300px}.hero-card h2{font-size:31px}.hero-art{width:44%;opacity:.9}.hero-art .art-figure{left:12px;width:275px;height:275px;top:32px}.orbit{left:0}.orbit-two{left:-40px}.orbit-three{left:-80px}.art-label-top{right:18px;top:38px;font-size:8px;padding:9px}.art-label-bottom{bottom:29px;left:10px}.cross-one{left:7px;top:33px}.cross-two{right:15px;bottom:99px}.hero-kicker{font-size:9px;letter-spacing:1px}.hero-card p{font-size:10px}.hero-actions{gap:18px}.hero-secondary{font-size:10px}.hero-actions .button{font-size:10px;padding:11px 13px}.stats-grid{gap:10px}.stat-card{padding:14px 14px 16px}.stat-number{font-size:26px}.stat-top{font-size:10px}.stat-foot{font-size:8px}.stat-icon{width:22px;height:22px}.panel{padding:21px}.panel-heading h2{font-size:14px}.overview-columns{gap:16px;grid-template-columns:1.15fr 1fr}.coach-banner{padding:21px;gap:14px}.coach-banner p{font-size:9px}.coach-banner-icon{height:47px;width:47px}.coach-banner .button{padding:10px 11px;font-size:9px}.coach-banner h3{font-size:14px}.coach-layout{grid-template-columns:minmax(0,1fr) 264px;gap:16px}.coach-side .panel{padding:17px}.coach-stats{padding:16px 14px;gap:10px}.coach-stats>div+div{padding-left:14px}.coach-stats strong{font-size:23px}.coach-stats>div>span{font-size:9px}.camera-empty h3{font-size:16px}.camera-empty p{font-size:10px;margin:10px 0 17px}.camera-empty-icon{width:50px;height:50px;font-size:32px;margin-bottom:15px}.page-intro h2{font-size:22px}.page-intro .inline-actions{gap:8px;justify-content:flex-end}.page-intro .inline-actions .button{font-size:10px;padding:10px 11px}.privacy-badge{font-size:9px;padding:9px}.coach-toolbar .text-button{font-size:10px}.segmented button{padding:9px 19px}.switch-label{font-size:10px}.coach-toolbar .inline-actions{gap:12px}.camera-controls .button{font-size:10px;padding:9px 10px}.chat-layout{grid-template-columns:minmax(0,1fr) 230px;gap:17px}.chat-context{padding:20px}.settings-panel{padding:22px}.nutrition-metric{padding:18px}.nutrition-metric p{font-size:26px}.meal-grid{gap:12px}.meal-card{padding:19px}.meal-card h4{font-size:14px}.topbar-actions{gap:14px}.today-date{font-size:10px}.app-footer{padding:20px 28px}.subtle-label{font-size:9px}}
@media(max-width:930px){:root{--sidebar:176px}.sidebar{padding-left:11px;padding-right:11px}.brand{font-size:20px;gap:8px;padding-left:5px}.brand-mark{width:37px;height:40px;font-size:37px;line-height:39px;border-radius:12px 12px 12px 4px}.brand small{font-size:9px}.sidebar-caption{font-size:8px;margin-top:21px}.nav-item{font-size:11px;padding:12px 11px;gap:9px}.nav-item svg{width:16px;height:16px}.nav-badge{font-size:8px}.profile-mini{padding:10px 8px;gap:7px}.profile-mini strong{font-size:9px}.profile-mini small{font-size:8px}.avatar{width:27px;height:27px}.topbar{padding:23px 22px}main{padding:22px}.hero-card{padding:27px;min-height:287px}.hero-card h2{font-size:29px}.hero-art{width:39%;opacity:.75}.hero-art .art-figure{left:-18px;width:263px;top:40px}.hero-kicker{font-size:8px}.hero-actions{gap:16px}.art-label-top{top:45px;right:12px;font-size:7px}.art-label-bottom{left:0;bottom:25px;font-size:6px;padding:9px 10px}.art-label-bottom small{font-size:9px}.hero-secondary{font-size:9px}.hero-actions .button{font-size:9px}.today-date{display:none}.stat-card{padding:13px 11px}.stat-foot{font-size:7px;line-height:1.6}.stat-top{font-size:9px}.stat-number{font-size:24px}.stat-number small{font-size:8px}.stat-icon{font-size:12px;width:20px;height:20px}.section-heading h2{font-size:14px;gap:9px}.subtle-label{font-size:8px}.overview-columns{grid-template-columns:1fr 1fr;gap:13px}.panel{padding:19px}.panel-heading h2{font-size:13px}.panel-heading .eyebrow{font-size:8px;letter-spacing:1px}.panel-heading{gap:6px}.tag{font-size:8px;padding:4px 6px}.next-workout-body h3{font-size:12px}.next-workout-body p{font-size:9px}.coach-banner-icon{display:none}.coach-banner{padding:19px}.coach-banner p{max-width:360px}.coach-banner .eyebrow{font-size:8px}.coach-banner h3{font-size:13px}.coach-banner .button{font-size:8px;gap:6px}.coach-banner .button span{font-size:13px}.macro-item:before{width:50px}.macro-item strong{font-size:16px}.macro-item>span{font-size:9px}.coach-layout{grid-template-columns:1fr}.coach-side{display:grid;grid-template-columns:1fr 1fr;gap:17px;align-items:start}.coach-side .vision-panel{margin-top:0}.reference-panel>canvas{max-height:180px;object-fit:contain}.camera-panel{aspect-ratio:16/9}.camera-empty-icon{width:49px;height:49px;margin-bottom:13px}.camera-empty p{margin:8px 0 14px}.privacy-badge{font-size:8px}.page-intro{gap:15px}.page-intro h2{font-size:20px}.page-intro p:not(.eyebrow){font-size:10px;margin-top:9px}.page-intro .inline-actions{flex-direction:column;align-items:stretch;gap:7px}.page-intro .inline-actions .button{padding:9px 11px;font-size:9px}.nutrition-metrics{gap:10px}.nutrition-metric{padding:15px}.nutrition-metric p{font-size:23px}.nutrition-metric>span{font-size:10px}.nutrition-metric small{font-size:9px}.meal-grid{grid-template-columns:1fr}.meal-card ul{display:flex;flex-wrap:wrap;gap:8px 19px}.meal-card li{border:0;padding:0;font-size:11px}.meal-card h4{margin-bottom:9px}.meal-card p{margin-top:9px}.meal-number{margin-bottom:6px;font-size:8px}.training-grid{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.chat-context{display:none}.chat-messages{max-height:65vh}.settings-grid{grid-template-columns:1fr}.settings-panel:nth-child(2){grid-row:3}.settings-panel .form-grid{gap:13px}.app-footer{padding:17px 22px}.app-footer>span:last-child{font-size:6px}.camera-controls .button{font-size:11px}.coach-stats strong{font-size:29px}.coach-stats>div>span{font-size:10px}.coach-stats{padding:20px}.session-row{font-size:11px}.session-row span{font-size:10px}}
@media(max-width:680px){:root{--sidebar:0px}.sidebar{position:fixed;inset:auto 0 0 0;width:100%;height:69px;padding:5px 8px 7px;background:#fbfcf9f2;backdrop-filter:blur(15px);border-top:1px solid #dde6d3;border-right:0;z-index:40}.brand,.sidebar-caption,.sidebar-bottom,.nav-divider{display:none}.navigation{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;height:100%}.nav-item{flex-direction:column;gap:5px;justify-content:center;align-items:center;padding:7px 2px;border-radius:8px;font-size:8px}.nav-item.active{background:#e6efda;color:#335b30}.nav-item svg{width:18px;height:18px}.nav-active-dot,.nav-badge{display:none!important}.workspace{margin-left:0}.topbar{padding:21px 19px 18px;gap:10px}.topbar h1{font-size:22px}.topbar .eyebrow{font-size:8px}.topbar-actions{gap:10px}.topbar-actions .button{font-size:10px;padding:9px 11px;gap:7px}.header-avatar{height:31px;width:31px;font-size:15px}main{padding:19px 17px 15px}.hero-card{min-height:310px;padding:26px 24px}.hero-card h2{font-size:29px;line-height:1.45;margin-top:18px}.hero-card p{font-size:10px;max-width:235px;line-height:1.9}.hero-art{width:43%;opacity:.46}.hero-art .art-figure{width:230px;top:69px;left:-50px}.art-label-top{font-size:6px;top:31px;right:9px;padding:7px 8px;transform:rotate(8deg)}.tiny-spark{font-size:12px}.art-label-bottom{display:none}.cross-one{display:none}.cross-two{right:21px;bottom:41px}.orbit{width:255px;height:255px;top:56px;left:-38px}.orbit-two{width:335px;height:335px;top:16px;left:-78px}.orbit-three{width:415px;height:415px;top:-24px;left:-118px}.hero-actions{margin-top:23px;gap:15px;align-items:flex-start;flex-direction:column}.hero-actions .button{font-size:10px;padding:12px 14px}.hero-secondary{font-size:9px;padding:0}.hero-kicker{font-size:8px;letter-spacing:.8px}.section-heading{margin:25px 0 13px}.section-heading h2{font-size:14px}.section-heading .subtle-label{display:none}.text-button{font-size:10px}.stats-grid{grid-template-columns:repeat(2,1fr);gap:11px}.stat-card{padding:16px 17px}.stat-top{font-size:10px}.stat-number{font-size:30px;margin-top:6px}.stat-number small{font-size:9px}.stat-foot{font-size:8px}.stat-icon{font-size:15px;width:25px;height:25px}.overview-columns{grid-template-columns:1fr;margin-top:17px;gap:17px}.panel{padding:22px}.panel-heading h2{font-size:15px}.panel-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.next-workout-body{min-height:230px}.next-workout-body h3{font-size:14px}.next-workout-body p{font-size:10px}.next-workout-body .button{font-size:10px}.fuel-panel .muted{font-size:11px}.macro-placeholder{margin-top:21px}.nutrition-feature strong{font-size:12px}.nutrition-feature p{font-size:10px}.nutrition-feature{margin-top:18px}.fuel-panel>.text-button{margin-top:22px}.coach-banner{padding:22px;gap:15px;align-items:flex-start;flex-direction:column;margin-top:17px}.coach-banner .button{margin-left:0;font-size:10px;padding:10px 14px}.coach-banner h3{font-size:16px;margin-top:5px}.coach-banner p{font-size:10px;line-height:1.8}.coach-banner .eyebrow{font-size:8px}.recent-panel{padding:17px}.recent-panel>.muted{font-size:10px}.session-row{grid-template-columns:1.3fr 1fr auto;gap:10px}.session-row time{grid-column:1/-1;font-size:9px;grid-row:auto}.app-footer{padding:18px 20px 91px;font-size:8px;gap:13px}.app-footer>span:last-child{display:none}.page-intro{align-items:flex-start;flex-direction:column;margin:5px 0 24px;gap:17px}.page-intro h2{font-size:21px;margin-top:6px}.page-intro p:not(.eyebrow){font-size:11px}.page-intro .inline-actions{flex-direction:row;gap:10px}.page-intro .inline-actions .button{font-size:10px;padding:11px 13px}.nutrition-metrics{grid-template-columns:1fr 1fr;gap:11px}.nutrition-metric{padding:19px}.nutrition-metric p{font-size:27px}.plan-summary{padding:20px;gap:14px}.plan-summary h3{font-size:14px}.plan-summary p{font-size:11px}.plan-section h3{font-size:15px}.meal-card ul{flex-direction:column;gap:7px}.meal-card li{font-size:12px}.meal-card h4{font-size:15px;margin:9px 0 13px}.training-day{padding:21px}.day-top h4{font-size:12px}.day-top span{font-size:9px}.exercise-row>div{font-size:11px}.exercise-row span{font-size:10px}.coach-toolbar{flex-direction:column;align-items:stretch;gap:15px}.segmented{justify-content:space-between}.segmented button{flex:1;font-size:11px;padding:10px}.coach-toolbar>.inline-actions{justify-content:flex-end}.coach-side{grid-template-columns:1fr}.camera-panel{aspect-ratio:4/5}.camera-empty h3{font-size:17px}.camera-empty p{font-size:11px;margin:15px 0 21px}.camera-empty-icon{height:57px;width:57px;font-size:38px;margin-bottom:23px}.camera-empty .button{font-size:12px;padding:13px 20px}.camera-empty small{font-size:9px;margin-top:15px}.camera-status{font-size:8px}.camera-controls{gap:8px}.camera-controls .button{font-size:9px;padding:10px;gap:5px}.camera-controls .text-button{font-size:9px}.camera-controls .inline-actions{gap:8px}.coach-stats{padding:17px 13px;gap:10px}.coach-stats strong{font-size:26px}.coach-stats>div>span{font-size:9px}.coach-stats>div+div{padding-left:14px}.coach-stats small{font-size:8px}.coach-side .panel{padding:22px}.reference-panel>canvas{max-height:230px}.reference-panel ul{font-size:11px}.reference-panel h4{font-size:15px}.reference-panel .text-link{font-size:11px}.vision-panel .small-copy{font-size:11px}.upload-area{font-size:11px;padding:20px}.consent-label{font-size:11px}.full-width{font-size:11px}#vision-result p,#vision-result .feedback-item{font-size:11px}.chat-heading{padding:20px 18px;gap:10px}.chat-heading h2{font-size:14px}.chat-heading p{font-size:9px;line-height:1.6}.chat-heading .tag{font-size:7px}.chat-assistant-mark{height:34px;width:34px}.chat-messages{padding:20px 16px;min-height:390px;max-height:60vh}.chat-welcome h3{font-size:21px}.chat-welcome>p{font-size:11px}.chat-compose{margin:0 16px;gap:10px}.chat-compose .button{font-size:10px;padding:12px 13px}.chat-compose textarea{font-size:11px;padding:11px;min-height:60px}.chat-footnote{font-size:8px;padding:12px 17px 17px}.message-content{font-size:11px;padding:11px 13px}.chat-message{gap:8px}.message-avatar{height:24px;width:24px;font-size:14px;border-radius:7px}.message-body{max-width:86%}.settings-panel{padding:23px}.settings-panel h3{font-size:16px}.settings-panel .form-grid{grid-template-columns:1fr;gap:0}.settings-panel .form-grid .field{margin:10px 0}.settings-panel .inline-actions{gap:10px}.settings-panel .inline-actions .button{font-size:10px;padding:12px 14px}.skill-item h4{font-size:12px}.skill-item p{font-size:10px}.toast-container{left:50%;bottom:85px;width:calc(100% - 36px)}.toast{font-size:11px;padding:12px 16px}dialog{width:calc(100% - 20px);max-height:93vh;border-radius:17px}.dialog-heading{padding:25px 21px 20px}.dialog-heading h2{font-size:23px}.dialog-heading p:not(.eyebrow){font-size:9px}.dialog-body{padding:0 21px 15px;max-height:calc(93vh - 207px)}.dialog-footer{padding:16px 21px}.dialog-footer>span{font-size:8px;max-width:100px;line-height:1.8}.dialog-footer .button{font-size:10px;padding:12px 14px}.three-columns{gap:9px}.field{font-size:10px}.field input,.field select,.field textarea{font-size:12px;padding:10px}.field input::placeholder,.field textarea::placeholder{font-size:9px}.form-grid{gap:11px}.check-options{gap:7px}.check-options label{font-size:9px;padding:9px 8px;gap:5px}.special-population{font-size:10px}.macro-row{justify-content:space-around}.macro-item:before{width:75px}.macro-item strong{font-size:21px}.macro-item>span{font-size:10px}.nutrition-summary-note{font-size:11px}.next-workout-body.has-workout .exercise-row>div{font-size:12px}.privacy-badge{font-size:9px}.switch-label{font-size:11px}.coach-toolbar .text-button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.pwa-install-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pwa-install-trigger .install-label{font-size:11px}.app-status-banner{display:flex;align-items:center;gap:16px;margin:22px 42px 0;padding:17px 20px;border:1px solid #d8e2cc;border-radius:13px;background:#eef4e5}.app-status-banner>div{flex:1;min-width:0}.app-status-banner strong{font-size:13px}.app-status-banner p{font-size:11px;line-height:1.8;color:#697b58;margin-top:5px}.banner-symbol{font-size:25px;color:#65874a}.service-banner{background:#fff7e9;border-color:#eadbc0}.service-banner .banner-symbol{color:#a48248}.pwa-panel{grid-column:1/-1}.pwa-panel-intro{display:flex;align-items:center;gap:16px;margin-bottom:17px}.pwa-panel-intro h3{margin-top:3px}.pwa-panel-intro .tag{margin-left:auto}.pwa-app-icon{border-radius:17px;flex-shrink:0}.pwa-status-list{margin:18px 0 22px;display:grid;gap:10px}.pwa-status-list p{display:flex;align-items:center;gap:9px;font-size:12px;color:#687a5e}.pwa-status-list .unavailable{color:#a48248}.pwa-panel .inline-actions{flex-wrap:wrap}.pwa-install-dialog{max-width:540px}.pwa-install-body{padding:0 32px 32px;font-size:13px;line-height:1.9}.pwa-install-body>img{border-radius:20px;margin:0 0 19px}.pwa-install-body h3{font-size:16px}.pwa-install-body ol{padding-left:20px;margin:13px 0 18px;color:#64725b}.pwa-install-body li+li{margin-top:9px}.pwa-install-body>p{color:#64725b}.pwa-install-body .form-note{margin-top:20px}.pwa-install-body strong{overflow-wrap:anywhere}
@media(max-width:1150px){.app-status-banner{margin-left:28px;margin-right:28px}}
@media(max-width:930px){.app-status-banner{margin-left:22px;margin-right:22px}.topbar-actions{gap:10px}}
@media(max-width:680px){.pwa-install-trigger .install-label{display:none}.topbar .pwa-install-trigger{padding:9px}.topbar{padding-top:calc(21px + env(safe-area-inset-top,0px))}.app-status-banner{margin:17px 17px 0;padding:15px;gap:12px;flex-wrap:wrap}.app-status-banner>div{flex-basis:calc(100% - 40px)}.app-status-banner .button{margin-left:36px;font-size:10px}.app-status-banner p{font-size:10px}.pwa-panel-intro{gap:12px;flex-wrap:wrap}.pwa-panel-intro h3{font-size:15px}.pwa-panel-intro .tag{font-size:8px}.pwa-app-icon{width:48px;height:48px;border-radius:13px}.pwa-status-list p{font-size:11px;line-height:1.7}.pwa-install-body{padding:0 21px 25px;font-size:12px}.pwa-install-body h3{font-size:15px}.sidebar{height:calc(69px + env(safe-area-inset-bottom,0px));padding-bottom:calc(7px + env(safe-area-inset-bottom,0px))}.app-footer{padding-bottom:calc(91px + env(safe-area-inset-bottom,0px))}.toast-container{bottom:calc(85px + env(safe-area-inset-bottom,0px))}}
@media(display-mode:standalone){body{overscroll-behavior-y:contain}}
.account-button{max-width:145px;overflow:hidden;text-overflow:ellipsis;display:block}.account-panel{grid-column:1/-1}.account-panel .inline-actions{margin-top:18px}.account-panel h4{font-size:16px;overflow-wrap:anywhere}.account-panel #account-email{overflow-wrap:anywhere;margin-top:8px}.account-panel .micro-copy{margin-top:14px}.auth-banner{background:#edf3e5;border-color:#dce7ce}.auth-dialog{max-width:480px}.auth-dialog .dialog-heading h2{font-size:27px}.auth-dialog .dialog-heading p:not(.eyebrow){font-size:11px;line-height:1.8;max-width:310px}.auth-body{padding:0 32px 30px}.auth-tabs{display:flex;gap:5px;margin-bottom:19px}.auth-tabs button{flex:1}.auth-body .field{margin:16px 0;display:flex;flex-direction:column;gap:9px}.auth-body .field input{width:100%}.auth-body .full-width{margin-top:9px}.auth-body .error-copy{white-space:pre-wrap;overflow-wrap:anywhere}.auth-footnote{font-size:10px;line-height:1.9;color:var(--muted);margin-top:20px}.model-config{margin:17px 0 20px}.model-config>div{padding:13px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:115px minmax(0,1fr);gap:15px}.model-config dt{font-size:11px;color:var(--muted)}.model-config dd{margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.settings-grid>.pwa-panel{grid-row:auto}.settings-panel .form-note{line-height:1.9}.settings-panel .form-note .text-link{display:block;margin-top:8px}.auth-tabs button:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:680px){.topbar-actions [data-open-profile]{display:none}.account-button{max-width:112px}.auth-dialog .dialog-heading h2{font-size:23px}.auth-body{padding:0 21px 25px}.model-config>div{grid-template-columns:92px minmax(0,1fr);gap:10px}.model-config dt{font-size:10px}.model-config dd{font-size:11px}.auth-body .field input{font-size:16px}.account-panel h4{font-size:14px}.auth-tabs button{font-size:12px}}

/* Mobile app layout: keep controls readable and reachable on narrow screens. */
@media (max-width:680px) {
  html {scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
  body {min-width:320px}
  .workspace {min-width:0}
  .topbar {padding:calc(18px + env(safe-area-inset-top,0px)) 18px 16px;align-items:center}
  .topbar h1 {font-size:23px;letter-spacing:0}
  .topbar .eyebrow {font-size:9px;letter-spacing:1px}
  .topbar-actions {gap:8px;flex-shrink:0}
  .topbar-actions .button {min-height:44px;font-size:12px;padding:10px 12px}
  .topbar .pwa-install-trigger {width:44px;padding:12px}
  .sidebar {height:calc(76px + env(safe-area-inset-bottom,0px));padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));box-shadow:0 -4px 24px #173f3208}
  .navigation {gap:3px}
  .nav-item {min-width:0;min-height:58px;font-size:11px;gap:6px;letter-spacing:0}
  .nav-item svg {width:22px;height:22px}
  .nav-item.active {background:#e6efda;color:#214e3b}
  main {padding:18px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px))}
  .button,.text-button,.hero-secondary,.icon-button,.segmented button {min-height:44px}
  .button,.button-small,.full-width,.page-intro .inline-actions .button,.settings-panel .inline-actions .button {font-size:13px;white-space:normal}
  .text-button,.hero-secondary {font-size:13px}
  .hero-card {padding:26px 23px;min-height:330px;border-radius:23px}
  .hero-card h2 {font-size:30px;letter-spacing:1px}
  .hero-card p {font-size:13px;max-width:250px}
  .hero-kicker {font-size:10px}
  .hero-art {opacity:.28;pointer-events:none}
  .hero-actions {gap:10px;margin-top:20px}
  .hero-actions .button {font-size:13px;padding:13px 16px}
  .section-heading h2,.panel-heading h2,.panel-heading h3 {font-size:16px}
  .panel {padding:20px;border-radius:18px;min-width:0}
  .stat-card {padding:16px;min-width:0}
  .stat-top,.stat-number small,.stat-foot {font-size:12px}
  .stat-foot {line-height:1.7}
  .stat-number {font-size:30px}
  .muted,.fuel-panel .muted,.next-workout-body p,.nutrition-feature p,.coach-banner p,.recent-panel>.muted,.page-intro p:not(.eyebrow),.empty-state p,.plan-summary p,.explanation,.exercise-row p,.meal-card p,.reference-panel ul,.vision-panel .small-copy {font-size:13px;line-height:1.85}
  .micro-copy,.field-hint,.form-note,.auth-footnote,.chat-footnote {font-size:12px;line-height:1.8}
  .nutrition-feature strong,.next-workout-body h3 {font-size:15px}
  .next-workout-body .button,.coach-banner .button {font-size:13px}
  .tag,.privacy-badge {font-size:11px;white-space:normal}
  .page-intro h2 {font-size:23px;line-height:1.45}
  .page-intro .inline-actions {width:100%;flex-wrap:wrap}
  .page-intro .inline-actions .button {flex:1}
  .coach-toolbar .inline-actions {justify-content:space-between}
  .segmented button {font-size:13px;padding:10px 8px}
  .switch-label,.coach-toolbar .text-button {font-size:13px;min-height:44px}
  .camera-panel {aspect-ratio:3/4;max-height:70svh;min-height:340px}
  .camera-empty {padding:20px}
  .camera-empty p {font-size:13px}
  .camera-empty small,.camera-status {font-size:11px}
  .camera-controls {flex-wrap:wrap;gap:10px;margin-top:14px}
  .camera-controls .inline-actions {width:100%;justify-content:space-between}
  .camera-controls>.button {width:100%}
  .camera-controls .button,.camera-controls .text-button {font-size:13px}
  .coach-stats>div>span,.coach-stats small {font-size:11px}
  .coach-stats>div+div {padding-left:10px}
  .coach-stats strong {font-size:27px}
  .consent-label {font-size:13px;line-height:1.8;align-items:flex-start}
  .consent-label input {flex-shrink:0;width:19px;height:19px;margin-top:3px}
  .upload-area {font-size:13px;min-height:80px}
  .chat-main {overflow:hidden}
  .chat-heading {padding:18px 16px;flex-wrap:wrap}
  .chat-heading h2 {font-size:16px}
  .chat-heading p {font-size:12px}
  .chat-heading .tag {font-size:10px}
  .chat-messages {min-height:260px;max-height:48vh;max-height:48svh;padding:20px 14px;overscroll-behavior-y:contain}
  .chat-welcome {padding:18px 0}
  .chat-welcome>p,.chat-suggestions button,.message-content {font-size:14px;line-height:1.8}
  .chat-suggestions button {min-height:48px;text-align:left}
  .chat-compose {margin:0 12px;gap:8px;align-items:flex-end}
  .chat-compose textarea {font-size:16px;min-width:0;min-height:64px;max-height:160px}
  .chat-compose .button {font-size:13px;min-height:48px;padding:12px}
  .model-config dt,.model-config dd {font-size:12px}
  .model-config>div {grid-template-columns:85px minmax(0,1fr)}
  .app-footer {padding-bottom:calc(102px + env(safe-area-inset-bottom,0px));font-size:10px;flex-wrap:wrap}
  .toast-container {bottom:calc(92px + env(safe-area-inset-bottom,0px));left:16px;right:16px;width:auto}
  dialog {max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
  #profile-dialog {width:100%;max-width:100%;height:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  #profile-form {height:100%;display:flex;flex-direction:column}
  #profile-dialog .dialog-heading {flex-shrink:0;padding:calc(20px + env(safe-area-inset-top,0px)) 20px 18px}
  #profile-dialog .dialog-body {flex:1;min-height:0;overflow-y:auto;padding:0 20px 20px;overscroll-behavior-y:contain}
  #profile-dialog .dialog-footer {flex-shrink:0;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));background:white;gap:10px}
  #profile-dialog .dialog-footer>span {display:none}
  #profile-dialog .dialog-footer .button {width:100%;font-size:15px;min-height:50px}
  .form-grid,.form-grid.three-columns {grid-template-columns:1fr;gap:0}
  .field,.field-label {font-size:14px}
  .field input,.field select,.field textarea,.auth-body .field input {font-size:16px;min-height:48px;width:100%;max-width:100%}
  .check-options {gap:8px;flex-wrap:wrap}
  .check-options label {font-size:13px;min-height:44px;display:flex;align-items:center}
  .dialog-heading h2 {font-size:24px}
  .dialog-heading p:not(.eyebrow) {font-size:12px;line-height:1.8}
}
@media (prefers-reduced-motion:reduce) {
  .page.active {animation:none}
  .button {transition:none}
}
