:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#101312;color:#f4f7f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,rgba(77,223,154,.08),transparent 26rem),#101312}html,body{max-width:100%;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{width:min(1420px,100%);margin:0 auto;padding:18px}.loading-shell,.login-shell{min-height:100vh;display:grid;place-items:center}.loading-shell{gap:12px;color:#aeb9b3}.spin{animation:spin 1.1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-panel{width:min(420px,calc(100vw - 32px));border:1px solid #2f3b36;border-radius:8px;padding:24px;background:#151a18;display:grid;gap:16px}.brand-mark{width:46px;height:46px;border-radius:8px;display:grid;place-items:center;background:#4ddf9a;color:#101312}.topbar,.hero-band,.section-heading,.exercise-topline,.history-toggle,.topbar-actions,.metric-pill,.set-entry,.segmented,.stat-row,.view-tabs{display:flex;align-items:center}.topbar,.hero-band,.section-heading,.exercise-topline,.history-toggle{justify-content:space-between;gap:16px}.topbar{margin-bottom:18px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2rem,7vw,4.1rem);line-height:1.05;letter-spacing:0}h2{font-size:1.08rem;letter-spacing:0}h3{font-size:.98rem;letter-spacing:0}.eyebrow{color:#4ddf9a;font-size:.78rem;text-transform:uppercase;font-weight:800;letter-spacing:0}.muted-line,.exercise-topline p,.planned-note,.history-toggle p,.status-text{color:#aeb9b3}.hero-band{min-height:148px;padding:26px;border:1px solid #2f3b36;border-radius:8px;background:linear-gradient(135deg,#4ddf9a2e,#ffc45714),#151a18;margin-bottom:18px}.hero-band>div:first-child{min-width:0}.hero-band h2{font-size:clamp(2.1rem,7vw,5.2rem);line-height:.92;max-width:11ch;overflow-wrap:break-word}.main-grid{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.45fr) minmax(300px,1fr);grid-template-areas:"start active progress" "coach active history" "preview active history";gap:18px;align-items:start}.main-grid.view-plan,.main-grid.view-progress,.main-grid.view-history,.main-grid.view-info{grid-template-columns:1fr;grid-template-areas:"plan"}.main-grid.view-progress{grid-template-areas:"progress"}.main-grid.view-history{grid-template-areas:"history"}.main-grid.view-info{grid-template-areas:"info"}.panel{border:1px solid #2f3b36;border-radius:8px;background:#151a18f0;padding:18px}.start-panel{grid-area:start}.coach-panel{grid-area:coach}.plan-preview-panel{grid-area:preview}.plan-panel{grid-area:plan}.active-panel{grid-area:active}.progress-panel{grid-area:progress}.history-panel{grid-area:history}.info-panel{grid-area:info}.coach-panel{display:grid;gap:12px}.hidden-section{display:none}.view-tabs{gap:8px;margin-bottom:18px;padding:6px;border:1px solid #2f3b36;border-radius:8px;background:#151a18}.view-tabs button{flex:1;min-height:40px;border:0;border-radius:8px;background:transparent;color:#aeb9b3;font-weight:900}.view-tabs button.selected{background:#f4f7f5;color:#101312}.section-heading{min-height:38px;margin-bottom:14px}.primary-button,.ghost-button,.icon-button,.segmented button{min-height:42px;border:0;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;letter-spacing:0}.primary-button{background:#4ddf9a;color:#101312;padding:0 16px}.ghost-button{color:#f4f7f5;background:#242c28;padding:0 14px}.ghost-button.compact{min-height:42px;padding:0 12px}.icon-button{width:42px;color:#f4f7f5;background:#242c28}.icon-button.strong{background:#ffc457;color:#101312}.icon-button.danger{color:#ffd8d3;background:#3a211f}.topbar-actions{gap:8px}.exercise-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.icon-button.small{width:34px;min-height:34px}button:disabled{cursor:not-allowed;opacity:.42}.metric-pill{min-width:110px;justify-content:center;gap:8px;border-radius:8px;padding:12px 16px;color:#101312;background:#ffc457;font-weight:900}.segmented{width:100%;gap:8px;margin-bottom:14px}.segmented button{flex:1;color:#aeb9b3;background:#202722}.segmented button.selected{color:#101312;background:#f4f7f5}.control-grid,.field-stack{display:grid;gap:12px}.control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:grid;gap:7px;color:#dce3df;font-size:.88rem;font-weight:750}input,select,textarea{width:100%;min-height:42px;border:1px solid #34423c;border-radius:8px;background:#101312;color:#f4f7f5;padding:9px 11px;outline:none}input:focus,select:focus,textarea:focus{border-color:#4ddf9a;box-shadow:0 0 0 3px #4ddf9a24}textarea{min-height:74px;resize:vertical}input[type=range]{padding:0;accent-color:#4ddf9a}.toggle-line{grid-template-columns:22px 1fr;align-items:center}.toggle-line input{min-height:auto;accent-color:#ffc457}.full-input{margin-top:12px}.full-button{width:100%}.exercise-list,.history-list{display:grid;gap:12px}.info-panel:not(.hidden-section){display:grid;gap:14px}.info-hero{border:1px solid #34423c;border-radius:8px;background:#18201d;padding:14px;display:grid;gap:6px}.info-hero strong{font-size:1rem}.info-hero p,.info-card p,.info-terms dd{color:#aeb9b3;font-size:.9rem;line-height:1.48}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.info-card{min-height:150px;border:1px solid #2f3b36;border-radius:8px;background:#111614;padding:14px;display:grid;align-content:start;gap:8px}.info-terms{border-top:1px solid #2f3b36;padding-top:14px;display:grid;gap:12px}.info-terms dl{margin:0;display:grid;gap:10px}.info-terms dl>div{border:1px solid #2f3b36;border-radius:8px;background:#111614;padding:12px;display:grid;gap:5px}.info-terms dt{font-weight:950}.info-terms dd{margin:0}.active-coach-note,.review-box{border:1px solid #34423c;border-radius:8px;background:#18201d;padding:12px;display:grid;gap:7px}.active-coach-note span,.review-box span,.exercise-reason{color:#aeb9b3;font-size:.84rem;line-height:1.4}.exercise-card,.history-card,.stat-tile{border:1px solid #2f3b36;border-radius:8px;background:#111614}.exercise-card{padding:14px}.exercise-topline span,.history-toggle>span{flex:0 0 auto;border-radius:8px;padding:7px 10px;background:#242c28;font-size:.78rem;font-weight:900}.planned-note{margin-top:9px;font-size:.86rem}.coach-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.coach-grid .stat-tile{min-height:92px}.coach-action{padding:12px;border-radius:8px;background:#202722;color:#f4f7f5;font-size:.9rem;font-weight:750;line-height:1.42}.plan-preview{display:grid;gap:8px}.plan-preview span,.phase-pill{width:fit-content;border-radius:8px;padding:6px 8px;background:#4ddf9a;color:#101312;font-size:.76rem;font-weight:950}.plan-preview strong{line-height:1.35}.plan-preview p{color:#aeb9b3;font-size:.86rem}.phase-strip,.roadmap-grid,.focus-row,.week-session-list,.main-lift-list,.review-lines,.review-actions{display:grid;gap:10px}.phase-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}.phase-strip span{min-height:42px;border-radius:8px;padding:9px;background:#202722;color:#aeb9b3;font-size:.78rem;font-weight:950;display:grid;place-items:center;text-align:center}.phase-strip span.selected{background:#ffc457;color:#101312}.roadmap-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.roadmap-week{min-height:260px;border:1px solid #2f3b36;border-radius:8px;padding:14px;background:#111614;display:grid;align-content:start;gap:11px}.roadmap-week.current{border-color:#4ddf9a;box-shadow:0 0 0 2px #4ddf9a1f}.roadmap-week.complete{background:#122019}.roadmap-week-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.roadmap-week-top div{display:grid;gap:4px}.roadmap-week-top span,.roadmap-week i{color:#aeb9b3;font-size:.76rem;font-style:normal;font-weight:900}.roadmap-week p{color:#dce3df;font-size:.86rem;line-height:1.4}.focus-row,.week-session-list,.main-lift-list{display:flex;flex-wrap:wrap;gap:6px}.focus-row span,.week-session-list span,.main-lift-list span,.review-lines span,.review-lines strong{border-radius:8px;padding:6px 8px;background:#202722;color:#aeb9b3;font-size:.75rem;font-weight:850;line-height:1.25}.focus-row span{color:#101312;background:#9fd8ff}.coach-volume-list,.coach-chip-row,.cue-row,.review-box div{display:flex;flex-wrap:wrap;gap:7px}.coach-volume-chip,.coach-chip-row span,.cue-row span{border-radius:8px;padding:6px 8px;background:#242c28;color:#dce3df;font-size:.74rem;font-weight:900;line-height:1.15}.coach-volume-chip.under{background:#ffc457;color:#101312}.coach-volume-chip.over{background:#ff7b6e;color:#101312}.coach-volume-chip.on_track{background:#4ddf9a;color:#101312}.coach-chip-row{margin-top:10px}.coach-chip-row .next-target{background:#9fd8ff;color:#101312}.exercise-reason{margin-top:8px}.cue-row{margin-top:9px}.cue-row span{background:#1f2925;color:#aeb9b3}.set-history{min-height:32px;display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.set-history span{border-radius:8px;padding:6px 8px;color:#101312;background:#9fd8ff;font-size:.78rem;font-weight:850;display:grid;gap:2px}.set-history strong{font-size:.7rem;text-transform:uppercase;letter-spacing:0}.set-history em{font-style:normal;color:#26322d;font-size:.72rem}.set-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 42px;gap:8px;align-items:end}.mini-field{gap:5px;color:#aeb9b3;font-size:.72rem;text-transform:uppercase;font-weight:900;letter-spacing:0}.mini-field input{min-height:42px;text-transform:none;font-weight:700}.empty-state{min-height:220px;display:grid;place-items:center;gap:10px;color:#aeb9b3;border:1px dashed #34423c;border-radius:8px}.stat-row{gap:10px;margin-bottom:14px}.stat-tile{flex:1;min-width:0;padding:12px;display:grid;gap:5px}.stat-tile span{color:#aeb9b3;font-size:.78rem}.stat-tile strong{font-size:1.15rem}.chart-frame{width:100%;height:230px}.progress-select{width:min(230px,100%);min-height:34px;margin-top:8px;padding:6px 9px;color:#dce3df;background:#101312}.volume-block{margin-top:12px;padding-top:14px;border-top:1px solid #2f3b36}.volume-heading,.volume-row{display:grid;align-items:center;gap:10px}.volume-heading{grid-template-columns:1fr auto;margin-bottom:10px;color:#dce3df;font-size:.84rem;font-weight:900}.volume-heading strong{color:#aeb9b3;font-size:.78rem}.volume-list{display:grid;gap:8px}.volume-row{grid-template-columns:78px minmax(0,1fr) 24px;font-size:.78rem;color:#aeb9b3}.volume-row div{height:8px;border-radius:999px;overflow:hidden;background:#202722}.volume-row i{display:block;height:100%;border-radius:inherit;background:#4ddf9a}.volume-row strong{color:#f4f7f5;text-align:right}.trend-badge{border-radius:8px;padding:7px 10px;font-size:.78rem;font-weight:900;color:#101312;background:#f4f7f5}.trend-badge.up{background:#4ddf9a}.trend-badge.down{background:#ff7b6e}.history-card{overflow:hidden}.history-toggle{width:100%;min-height:0;padding:12px;border:0;border-radius:0;color:inherit;background:transparent;text-align:left}.history-toggle svg{flex:0 0 auto;color:#aeb9b3;transition:transform .16s ease}.history-toggle svg.open{transform:rotate(180deg)}.history-toggle span.complete{background:#4ddf9a;color:#101312}.history-toggle span.active{background:#ffc457;color:#101312}.history-detail{display:grid;gap:10px;padding:0 12px 12px;border-top:1px solid #2f3b36}.review-box{margin-top:12px}.review-box span{border-radius:8px;padding:6px 8px;background:#202722}.history-summary{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}.history-summary span,.history-exercise>div:first-child span,.history-sets span{border-radius:8px;padding:5px 8px;background:#202722;color:#aeb9b3;font-size:.76rem;font-weight:850}.history-exercise{display:grid;gap:7px}.history-exercise>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-exercise strong{font-size:.86rem}.history-sets{display:grid;gap:6px}.history-sets span{background:#18201d;color:#dce3df;line-height:1.35}.toast{position:fixed;right:18px;bottom:18px;border:1px solid #34423c;border-radius:8px;padding:12px 14px;background:#151a18;color:#f4f7f5;box-shadow:0 12px 40px #00000059}.drawer-layer{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end;background:#05070694}.review-layer{justify-content:center;align-items:center;padding:18px}.finish-review{width:min(620px,100%);border:1px solid #34423c;border-radius:8px;background:#151a18;padding:22px;display:grid;gap:16px;box-shadow:0 18px 60px #0000007a}.finish-review h2{font-size:clamp(1.25rem,4vw,2rem);line-height:1.15}.review-actions{grid-template-columns:1fr 1fr}.setup-drawer{width:min(430px,100%);min-height:100vh;padding:20px;border-left:1px solid #34423c;background:#151a18;box-shadow:-18px 0 50px #00000061;display:grid;grid-template-rows:auto 1fr auto;gap:18px;overflow-y:auto}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.preference-manager{display:grid;gap:10px;padding-top:2px}.drawer-subheading{display:grid;gap:3px}.drawer-subheading h3{font-size:1rem}.drawer-subheading span{color:var(--muted);font-size:.84rem}.preference-controls{display:grid;gap:8px}.compact-segmented{width:max-content}.compact-segmented button{padding:8px 12px}.preference-list{display:grid;gap:6px}.preference-list>span{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:.88rem}.preference-list i{color:var(--accent);font-style:normal}.preference-list button{display:grid;width:26px;height:26px;place-items:center;padding:0;border:0;background:transparent;color:var(--muted)}@media(max-width:1120px){.main-grid{grid-template-columns:minmax(260px,.9fr) minmax(0,1.1fr);grid-template-areas:"start active" "coach active" "preview active" "progress history"}.main-grid.view-plan,.main-grid.view-progress,.main-grid.view-history,.main-grid.view-info{grid-template-columns:1fr}.roadmap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.active-panel{grid-column:auto}}@media(max-width:760px){.app-shell{padding:12px}.topbar{align-items:flex-end}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.hero-band{min-height:126px;padding:18px}.hero-band h2{max-width:min(10ch,100%)}.main-grid,.control-grid,.coach-grid{grid-template-columns:1fr}.main-grid{grid-template-areas:"start" "coach" "preview" "active" "progress" "history"}.view-tabs{position:sticky;top:0;z-index:10;overflow-x:auto}.view-tabs button{min-width:82px}.phase-strip,.roadmap-grid,.review-actions,.info-grid{grid-template-columns:1fr}.panel{padding:14px}.section-heading,.exercise-topline{align-items:flex-start}.exercise-actions{gap:6px}.set-entry{grid-template-columns:1fr 1fr 1fr 42px}.stat-row{display:grid;grid-template-columns:1fr}.setup-drawer{border-left:0}}:root{color-scheme:light;background:#f4f9ff;color:#102033}body{background:linear-gradient(180deg,#99d5ff6b,#fff0 25rem),#f4f9ff}.login-panel,.hero-band,.panel,.view-tabs,.setup-drawer,.finish-review,.toast{border-color:#c9dced;background:#fffffff5;color:#102033;box-shadow:0 16px 44px #2b679a14}.hero-band{background:linear-gradient(135deg,#cfebfff2,#fffffffa),#fff}.eyebrow{color:#2f8ee8}.muted-line,.exercise-topline p,.planned-note,.history-toggle p,.status-text,.active-coach-note span,.review-box span,.exercise-reason,.stat-tile span,.volume-heading strong,.volume-row,.roadmap-week-top span,.roadmap-week i,.plan-preview p{color:#5f7287}.brand-mark,.primary-button,.view-tabs button.selected,.coach-volume-chip.on_track,.history-toggle span.complete,.phase-pill,.plan-preview span{background:#2f8ee8;color:#fff}.primary-button{box-shadow:0 8px 20px #2f8ee833}.ghost-button,.icon-button,.segmented button,.coach-action,.exercise-topline span,.history-toggle>span,.coach-volume-chip,.coach-chip-row span,.cue-row span,.history-summary span,.history-exercise>div:first-child span,.history-sets span,.review-box span,.focus-row span,.week-session-list span,.main-lift-list span,.review-lines span,.review-lines strong{background:#eef6ff;color:#25445f}.segmented button.selected{background:#d7ebff;color:#102033}.icon-button.strong{background:#86c8ff;color:#102033}.icon-button.danger{background:#ffe9e6;color:#a5392f}input,select,textarea{border-color:#c9dced;background:#fff;color:#102033}input:focus,select:focus,textarea:focus{border-color:#2f8ee8;box-shadow:0 0 0 3px #2f8ee829}input[type=range]{accent-color:#2f8ee8}.metric-pill,.coach-volume-chip.under,.history-toggle span.active,.phase-strip span.selected{background:#bfe2ff;color:#102033}.coach-volume-chip.over,.trend-badge.down{background:#ffd6d0;color:#7d291f}.exercise-card,.history-card,.stat-tile,.roadmap-week{border-color:#d8e7f5;background:#fff}.roadmap-week.current{border-color:#2f8ee8;box-shadow:0 0 0 2px #2f8ee81f}.roadmap-week.complete{background:#f1f8ff}.active-coach-note,.review-box,.history-sets span{border-color:#d8e7f5;background:#f7fbff}.coach-chip-row .next-target,.set-history span,.focus-row span{background:#d7ebff;color:#102033}.set-history em{color:#426075}.empty-state{color:#5f7287;border-color:#c9dced}.volume-block,.history-detail{border-color:#d8e7f5}.volume-row div{background:#e7f2fc}.volume-row i,.trend-badge.up{background:#2f8ee8}.trend-badge{background:#eef6ff;color:#25445f}.chart-frame{background:#fff}.drawer-layer{background:#2f5e8738}body{background:#f7fbff}.app-shell{width:min(1240px,100%);padding:22px}.topbar{min-height:52px;padding-bottom:14px;border-bottom:1px solid #dceaf6}h1{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1;font-weight:950}.hero-band{min-height:88px;padding:16px 18px;border-color:#dceaf6;background:#fff;box-shadow:none}.hero-band h2{max-width:none;font-size:clamp(1.35rem,3vw,2.15rem);line-height:1.05}label,.mini-field,.toggle-line{color:#395a75}.control-grid label span{color:#6b8194}.panel,.view-tabs,.login-panel,.setup-drawer,.finish-review,.toast{border-color:#dceaf6;background:#fff;box-shadow:none}.exercise-card,.history-card,.stat-tile,.roadmap-week{border-color:#dceaf6;background:#fbfdff}.view-tabs{padding:4px;background:#edf6ff}.view-tabs button{border-radius:6px;color:#49677f}.view-tabs button.selected{background:#fff;color:#102033;box-shadow:0 1px 2px #2a5c8714}.primary-button{background:#1f7ed0;color:#fff;box-shadow:none}.ghost-button,.icon-button,.segmented button,.coach-action,.exercise-topline span,.history-toggle>span,.coach-volume-chip,.coach-chip-row span,.cue-row span,.history-summary span,.history-exercise>div:first-child span,.history-sets span,.review-box span,.focus-row span,.week-session-list span,.main-lift-list span,.review-lines span,.review-lines strong{background:#eef6fd;color:#24445f}.metric-pill,.segmented button.selected,.coach-chip-row .next-target,.set-history span,.focus-row span{background:#d9ecff;color:#102033}.brand-mark,.coach-volume-chip.on_track,.phase-pill,.plan-preview span,.trend-badge.up{background:#1f7ed0;color:#fff}.coach-volume-chip.under,.history-toggle span.active,.phase-strip span.selected{background:#d9ecff;color:#102033}.section-heading{margin-bottom:12px}.exercise-card{padding:13px}.active-coach-note,.review-box{background:#f6fbff;border-color:#dceaf6}.info-hero,.info-card,.info-terms dl>div{border-color:#dceaf6;background:#fbfdff}.info-terms{border-color:#dceaf6}.info-hero p,.info-card p,.info-terms dd{color:#5f7287}.empty-state{background:#fbfdff;border-color:#cfe2f2}@media(max-width:760px){.app-shell{padding:14px;max-width:100vw;overflow-x:hidden}.topbar{align-items:center;gap:10px}.topbar-actions{gap:6px;flex:0 0 auto}.hero-band{min-height:96px;align-items:flex-start;flex-direction:column;gap:12px}.hero-band h2{max-width:100%}.metric-pill{min-width:0;width:fit-content;max-width:100%}.view-tabs{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;overflow:visible}.view-tabs button{min-width:0;padding:0 5px;font-size:.78rem;white-space:nowrap}.section-heading{gap:10px}}@media(max-width:420px){.topbar .ghost-button.compact{width:42px;padding:0;font-size:0}.topbar .ghost-button.compact svg{width:18px;height:18px}.topbar-actions{gap:5px}.view-tabs button{font-size:.72rem;padding:0 3px}}
