html.web-ui{color-scheme:dark;--bg:#090d0c;--panel:#171e1b;--line:#2b3530;--text:#f4f7f4;--muted:#a1b0a6;--accent:#b9ed8b}
.web-ui body{background:radial-gradient(ellipse at 80% 0%,#13241b,transparent 45%),var(--bg);min-height:100vh;font:14px/1.55 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.web-ui body>header{max-width:1400px;margin:auto;padding:24px 32px;background:transparent;border:0;min-height:98px}.web-ui .brand h1{font-size:23px;letter-spacing:4px;font-weight:650}.web-ui .brand small{color:#d8b96d;letter-spacing:1px;font-size:9px}.web-ui .brand-emblem{width:48px;height:48px}.web-ui .session{gap:10px}.web-ui #welcome{font-size:12px;color:var(--muted)}.web-ui .version{display:none}
.web-ui button{border-radius:14px;min-height:46px;padding:11px 17px;background:var(--accent);border:1px solid transparent;color:#172510;font-size:13px;font-weight:650;transition:background .16s,transform .16s}.web-ui button:hover:not(:disabled){filter:brightness(1.08)}.web-ui button:active:not(:disabled){transform:translateY(1px)}.web-ui button.secondary{background:#17211b;border-color:var(--line);color:var(--text)}.web-ui button:disabled{cursor:default;opacity:.45}
.web-ui button:focus-visible,.web-ui input:focus-visible,.web-ui select:focus-visible,.web-ui textarea:focus-visible,.web-ui summary:focus-visible{outline:2px solid #b9ed8b;outline-offset:4px}
.web-ui .session button{min-height:40px;padding:9px 13px;font-size:12px}.web-ui #webProfileButton{display:inline-flex;align-items:center;gap:8px}.web-ui #webProfileButton svg{width:18px;height:18px}.web-ui body:not([data-web-view=exercise]) #shareButton{display:none!important}
.web-ui #moduleTabs{position:fixed;left:max(24px,calc((100vw - 1400px)/2 + 32px));top:136px;width:184px;margin:0;padding:10px;display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);border-radius:22px;background:#101813;z-index:20}
.web-ui #moduleTabs .web-nav-item{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;color:#a1b0a6;background:transparent;border:1px solid transparent;border-radius:14px;padding:14px 12px;font-weight:500;text-align:left}.web-ui #moduleTabs .web-nav-item svg{width:21px;height:21px;flex:none}.web-ui #moduleTabs .web-nav-item[aria-current=page]{background:#243727;color:#c5eda4;border-color:#344d35}
.web-ui body[data-web-session=true]>main:is(#webHome,#exercise,#nutritionPanel),.web-ui body[data-web-session=true]>footer{margin-left:max(240px,calc((100vw - 1400px)/2 + 240px));margin-right:max(32px,calc((100vw - 1400px)/2 + 32px));max-width:none}
.web-ui h2{font-weight:600;letter-spacing:-.5px}.web-ui .eyebrow{color:#a1b0a6;font-size:10px;letter-spacing:1.8px;font-weight:600}.web-ui .panel{background:var(--panel);border:1px solid var(--line);border-radius:24px}
.web-ui input,.web-ui select,.web-ui textarea{background:#101813;color:var(--text);border:1px solid #3c4c40;border-radius:12px;padding:11px 13px;min-height:46px;font-size:15px;max-width:100%}.web-ui input[type=checkbox]{width:18px;min-height:18px;padding:0;accent-color:#b9ed8b}.web-ui label{color:#a1b0a6;font-weight:500;font-size:12px}.web-ui a{color:#c5eda4;text-underline-offset:4px}
.web-ui .web-home{padding:30px 0 40px;min-width:0}.web-ui .web-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #34513c;border-radius:28px;background:linear-gradient(120deg,#213b28,#11251c);padding:36px 38px;min-height:250px}
.web-ui .web-hero>div{position:relative;z-index:1;max-width:690px}.web-ui .web-hero h2{font-size:clamp(28px,3.4vw,43px);line-height:1.16;letter-spacing:-1.4px;max-width:660px;margin:8px 0 16px}.web-ui .web-hero p:not(.eyebrow){color:#b2c5b4;font-size:14px;margin-bottom:25px}.web-ui .web-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.web-ui .web-hero-actions button:first-child{display:flex;gap:28px;align-items:center}.web-ui .web-hero-actions button.secondary{background:#ffffff08;border-color:#46664d}
.web-ui .web-chair{width:210px;min-width:150px;opacity:.3;stroke:#c5eda4;stroke-width:2}.web-ui .web-chair circle{opacity:.3;stroke-width:1}
.web-ui .web-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 14px}.web-ui .web-section-title h2{font-size:18px;letter-spacing:-.4px}.web-ui .web-text-button{background:transparent;color:#b9ed8b;font-size:12px;padding:5px 0;min-height:36px;white-space:nowrap}
.web-ui .web-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.web-ui .web-stat{text-align:left;background:#171e1b;border:1px solid #2b3530;border-radius:20px;color:var(--text);padding:20px 17px;min-width:0;font-weight:400}.web-ui .web-stat-label{display:block;color:#a1b0a6;font-size:11px}.web-ui .web-stat strong{display:block;letter-spacing:-.8px;font-size:27px;font-weight:600;margin:10px 0;line-height:1.2;overflow-wrap:anywhere}.web-ui .web-stat small{display:block;font-size:10px;line-height:1.6;color:#8fa195;font-weight:400}
.web-ui .web-home-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:20px;align-items:start}.web-ui .web-trends{min-width:0}.web-ui .web-quick{margin-top:28px;padding:24px}.web-ui .web-quick h2{font-size:21px;margin:0 0 22px}.web-ui .web-quick button{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;margin:9px 0;width:100%;font-size:12px}.web-ui .web-quick .subtle{font-size:12px;margin:23px 0 0;line-height:1.8}
.web-ui #webTrendPreview{width:100%;display:block;min-height:320px;border:0;border-radius:24px;background:transparent}.web-ui #webHomeStatus{font-size:12px;margin:8px 0 0}
.web-ui .auth{max-width:1060px;margin:28px auto 70px;padding:22px 30px;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.web-ui .auth .intro h2{font-size:52px;line-height:1.08;letter-spacing:-2px;font-weight:600}.web-ui .auth .brand-poster{width:160px;height:160px;margin-bottom:25px}.web-ui .auth .intro>p:not(.eyebrow){font-size:15px;line-height:1.9;color:#a1b0a6;margin-top:20px}.web-ui .auth .tag{display:flex;flex-wrap:wrap;gap:8px;background:transparent;padding:0;margin-top:25px}.web-ui .auth .tag span{font-size:11px;font-weight:500;border:1px solid #34483b;border-radius:30px;color:#b9cca9;padding:7px 11px;background:#142019}
.web-ui .auth-panel{padding:30px;border-color:#344339;box-shadow:0 24px 80px #0003}.web-ui .auth-panel h2{font-size:25px}.web-ui .tabs{background:#101813;border:1px solid #2b3530;padding:5px;border-radius:16px;gap:5px;margin-bottom:24px}.web-ui .tabs button{flex:1;border-radius:11px;min-height:40px;padding:8px 12px}.web-ui .tabs button.secondary{background:transparent;border-color:transparent;color:#a1b0a6}
.web-ui #authForm{gap:15px}.web-ui #authForm>button.secondary{min-height:32px;padding:5px 0;background:transparent;border-color:transparent;color:#a1b0a6;font-size:11px}.web-ui #authStatus,.web-ui #nutritionStatus,.web-ui #productStatus{color:#e4bfa4;font-size:12px}.web-ui #authForm small{font-size:11px}
.web-ui .exercise{grid-template-columns:310px minmax(0,1fr);gap:20px;padding:30px 0;align-items:start}.web-ui .exercise aside{padding:24px;min-width:0}.web-ui .exercise aside .exercise-link{margin:16px 0 22px;padding:17px;background:#213526;border-color:#b9ed8b;border-radius:0 15px 15px 0}.web-ui .exercise-link h2{font-size:19px}.web-ui .exercise aside p{font-size:12px;line-height:1.7}.web-ui .exercise aside>label{margin-top:20px}.web-ui #exerciseChoices{border-color:var(--line);border-radius:14px;padding:12px}.web-ui .exercise-choice{font-size:12px}
.web-ui .player-panel{overflow:hidden;min-width:0}.web-ui .player-panel .toolbar{padding:24px}.web-ui .player-panel .toolbar h2{font-size:23px}.web-ui .background-choice{font-size:10px;flex-wrap:wrap}.web-ui .background-choice button{min-height:32px;padding:5px 10px;font-size:11px}.web-ui .controls{padding:20px;gap:10px}.web-ui .controls button{font-size:12px}.web-ui .controls strong{font-size:31px}.web-ui .voice-caption{font-size:13px;padding-left:24px}.web-ui .rest-panel:not([hidden]){color:#18211d}
.web-ui .program-card,.web-ui .program-editor{background:#111a15;border-color:var(--line);border-radius:16px}.web-ui .program-actions{gap:6px}.web-ui .program-actions button{font-size:11px;padding:8px 10px;min-height:38px}.web-ui .program-heading{font-size:19px}.web-ui .program-card h3{font-size:15px}.web-ui .program-step button{min-height:36px;padding:5px}
.web-ui #nutritionPanel{padding:30px 0;min-width:0}.web-ui .nutrition-layout{grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr);gap:20px}.web-ui .nutrition-card{padding:24px;border-radius:24px}.web-ui #nutritionJournalContent>.toolbar{padding:0 0 24px}.web-ui #nutritionJournalContent>.toolbar h2{font-size:30px}.web-ui #nutritionJournalContent>.subtle{font-size:12px}.web-ui #nutritionHistory{float:right;background:transparent;border-color:#34483b;color:#c5eda4;margin-bottom:16px}
.web-ui .nutrition-total{background:#111a15;border:1px solid var(--line);border-radius:15px;padding:15px;min-width:0}.web-ui .nutrition-total strong{font-size:24px;margin:7px 0}.web-ui .nutrition-total span{font-size:11px;color:#a1b0a6}.web-ui .nutrition-total small{font-size:10px;line-height:1.6}.web-ui .nutrition-reference-note{font-size:11px}.web-ui .nutrition-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.web-ui .nutrition-entry{font-size:12px}.web-ui .nutrition-entry button{min-height:34px;padding:7px 10px;font-size:11px}.web-ui .nutrition-meal-summary{font-size:13px}.web-ui .nutrition-meal-calories{font-size:12px;color:#c5eda4}.web-ui #productPanel{margin-bottom:24px;background:#14221a}.web-ui #productPanel>summary{font-size:14px}.web-ui #productPanel>p{font-size:12px;color:#a1b0a6}.web-ui #productIngredients{background:#101813;color:var(--text);border-radius:12px}.web-ui #nutritionFood option{padding:8px}
.web-ui body[data-web-view=journal] #exercise{display:block;padding-top:30px}.web-ui body[data-web-view=journal] #exercise>aside,.web-ui body[data-web-view=journal] #playerPanel,.web-ui body[data-web-view=journal] #sharePanel{display:none!important}.web-ui #historyPanel{padding:0;background:transparent;border:0}.web-ui #historyPanel>.toolbar{padding:0 0 18px}.web-ui #historyPanel>.toolbar h2{font-size:30px}.web-ui #historyPanel>.toolbar .subtle{font-size:12px}.web-ui #historyCharts{display:block;width:100%;min-height:600px;border:0;background:transparent}
.web-ui #historyList{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.web-ui #historyList article{background:var(--panel);border-color:var(--line);border-radius:20px;font-size:12px}.web-ui #historyList h3{font-size:16px}.web-ui #historyPanel>h3{font-size:18px;margin-top:30px}.web-ui .share-details{grid-template-columns:200px minmax(0,1fr)}.web-ui .history-panel{border-radius:24px}
.web-ui #webProfile{color:var(--text);background:#171e1b;border:1px solid #3a4c3d;border-radius:26px;padding:28px;width:min(520px,calc(100vw - 30px));max-height:85vh;overflow:auto;box-shadow:0 30px 100px #0009}.web-ui #webProfile::backdrop{background:#000a;backdrop-filter:blur(5px)}.web-ui #webProfile .web-section-title{margin:0 0 18px;align-items:flex-start}.web-ui #webProfile .web-section-title h2{font-size:25px}.web-ui #webProfileIdentity{overflow-wrap:anywhere;font-size:12px}.web-ui #webCloseProfile{font-size:22px;min-width:40px;padding:5px}.web-ui #webProfile small,.web-ui #webProfile details p{font-size:11px;color:#a1b0a6}.web-ui #webProfile details{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.web-ui #webProfile details summary{color:#e8b8a4;cursor:pointer;min-height:44px}
.web-ui footer{padding:24px 0 36px;font-size:11px;color:#819489}.web-ui #accountLinkPanel{max-width:520px;margin:24px auto;padding:24px}
@media(max-width:1100px) and (min-width:901px){.web-ui .web-home-bottom{grid-template-columns:1fr}.web-ui .web-quick{margin-top:0}.web-ui .web-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.web-ui .exercise{grid-template-columns:270px minmax(0,1fr)}.web-ui .nutrition-layout{grid-template-columns:1fr}.web-ui .web-chair{position:absolute;right:-20px;width:180px;opacity:.15}}
@media(max-width:900px){.web-ui body>header{padding:18px 20px;min-height:85px}.web-ui body[data-web-session=true]>main:is(#webHome,#exercise,#nutritionPanel),.web-ui body[data-web-session=true]>footer{margin-left:20px;margin-right:20px}.web-ui .web-home,.web-ui .exercise,.web-ui #nutritionPanel{padding-top:20px}
.web-ui #moduleTabs{left:0;right:0;top:auto;bottom:0;width:100%;border:0;border-top:1px solid #2b3530;border-radius:0;background:#101813f5;backdrop-filter:blur(18px);padding:7px 10px calc(7px + env(safe-area-inset-bottom));flex-direction:row;gap:4px}.web-ui #moduleTabs .web-nav-item{flex:1;justify-content:center;flex-direction:column;gap:5px;padding:8px 3px;font-size:10px;min-height:58px}.web-ui #moduleTabs .web-nav-item[aria-current=page]{border-color:transparent;background:#243727}.web-ui body[data-web-session=true]{padding-bottom:90px}
.web-ui #welcome{display:none}.web-ui .session{gap:7px}.web-ui .session button{padding:8px 10px;min-height:38px}.web-ui #webProfileButton span{display:none}.web-ui #logout{font-size:11px}
.web-ui .web-hero{padding:26px;min-height:245px}.web-ui .web-hero h2{font-size:33px}.web-ui .web-chair{width:150px;min-width:110px}.web-ui .web-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.web-ui .web-home-bottom{grid-template-columns:1fr}.web-ui .web-quick{margin-top:0}
.web-ui .exercise{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)}.web-ui .nutrition-layout{grid-template-columns:1fr}.web-ui #nutritionHistory{float:none;margin-bottom:20px}.web-ui .auth{padding:12px 24px;gap:32px;margin-top:15px}.web-ui .auth .intro h2{font-size:42px}}
@media(max-width:600px){.web-ui body>header{padding:16px}.web-ui .brand-emblem{width:39px;height:39px}.web-ui .brand{gap:8px}.web-ui .brand h1{font-size:19px;letter-spacing:3px}.web-ui .brand small{font-size:8px;letter-spacing:.5px}.web-ui body[data-web-session=true]>main:is(#webHome,#exercise,#nutritionPanel),.web-ui body[data-web-session=true]>footer{margin-left:16px;margin-right:16px}
.web-ui .web-home{padding-top:12px}.web-ui .web-home>.eyebrow{font-size:9px;margin-bottom:14px}.web-ui .web-hero{padding:24px;min-height:285px;border-radius:24px}.web-ui .web-hero h2{font-size:32px;max-width:300px}.web-ui .web-hero p:not(.eyebrow){font-size:12px;max-width:240px}.web-ui .web-hero .eyebrow{font-size:9px;max-width:210px}.web-ui .web-chair{position:absolute;right:-30px;top:25px;width:180px;opacity:.12;transform:rotate(-8deg)}
.web-ui .web-hero-actions{gap:8px}.web-ui .web-hero-actions button{font-size:11px;padding:10px 12px;min-height:42px}.web-ui .web-hero-actions button:first-child{gap:12px}.web-ui .web-stat{padding:17px 14px;border-radius:19px}.web-ui .web-stat strong{font-size:26px}.web-ui .web-text-button{font-size:11px}
.web-ui .auth{display:block;max-width:480px;padding:10px 20px;margin:0 auto 25px}.web-ui .auth .intro{padding:0 4px 24px}.web-ui .auth .intro h2{font-size:38px}.web-ui .auth .brand-poster{display:none}.web-ui .auth .intro>p:not(.eyebrow){font-size:12px;margin-top:12px}.web-ui .auth .tag{margin-top:15px;gap:6px}.web-ui .auth .tag span{font-size:10px;padding:6px 9px}.web-ui .auth-panel{padding:23px;border-radius:23px}.web-ui .auth-panel h2{font-size:23px}.web-ui .two{gap:10px;min-width:0}.web-ui input,.web-ui select,.web-ui textarea{font-size:16px;min-width:0}
.web-ui .exercise{grid-template-columns:1fr;gap:16px}.web-ui .exercise>#playerPanel{order:-1}.web-ui .exercise aside{padding:20px}.web-ui .player-panel .toolbar{padding:20px}.web-ui .player-panel .toolbar h2{font-size:21px}.web-ui .nutrition-card{padding:19px}.web-ui #historyList{grid-template-columns:1fr}.web-ui #historyPanel>.toolbar{flex-direction:column;align-items:flex-start}.web-ui #historyPanel>.toolbar h2,.web-ui #nutritionJournalContent>.toolbar h2{font-size:27px}.web-ui #shareButton{font-size:10px;padding:7px 8px}.web-ui #webProfile{padding:23px}.web-ui .share-details{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.web-ui *{scroll-behavior:auto!important;transition:none!important}}
