:root{--bg: #10130e;--panel: #171c13;--panel-alt: #1f251a;--panel-hover: #262e20;--ink: #e9eedc;--muted: #94a187;--line: #262e20;--accent: #c6e26a;--accent-ink: #12180e;--accent-glow: rgba(198, 226, 106, .2);--success: #6ae28e;--danger: #ef7a6a;--warn: #e8b86a;--radius: 12px;--radius-sm: 8px;--shadow: 0 4px 16px rgba(0, 0, 0, .3);--profile-avatar-bg: #26351d;--profile-avatar-ink: #c6e26a;--advice-bg: #182116;--workout-bg: radial-gradient(circle at 90% -10%, #273619, transparent 31%), #090d08;--workout-overlay: radial-gradient(circle at 50% 38%, #273a1d, #090d08 55%);--workout-panel: #121a10;--workout-line: #2b3825;--workout-muted: #a6b19a;--workout-live: #57dc86;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--brand-navy: #201959;--brand-purple: #8a7ff3;--brand-purple-ink: #020617;--brand-cyan: #67e8f9}html,body{width:100%;max-width:100vw;overflow-x:hidden;margin:0;padding:0}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;min-width:0}body{font-family:var(--font-family);background:var(--bg);color:var(--ink);min-height:100vh;line-height:1.45;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(32px,calc(24px + env(safe-area-inset-bottom)))}.app-shell{width:100%;max-width:600px;margin:0 auto;padding:0 12px}@media(min-width:640px){.app-shell{padding:0 16px}}.nav-link{flex:1;text-align:center;padding:6px 8px;border-radius:var(--radius-sm);text-decoration:none;color:var(--muted);font-weight:600;font-size:.76rem;transition:all .15s;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:4px}.nav-link.active{background:var(--accent);color:var(--accent-ink);font-weight:700}.ui-button{min-height:44px;min-width:44px;padding:10px 16px;border:1px solid var(--line);border-radius:var(--radius,12px);background:var(--panel);color:var(--ink);cursor:pointer}.ui-button[data-variant=primary]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.ui-button[data-variant=danger]{color:var(--danger);border-color:var(--danger)}.ui-button[data-size=small]{padding:8px 12px}.ui-button:disabled{opacity:.5;cursor:not-allowed}.ui-button:focus-visible,.ui-input:focus-visible,.ui-textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.ui-input,.ui-textarea{min-height:44px;box-sizing:border-box}.ui-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:210;background:var(--workout-overlay,rgba(0,0,0,.7))}.ui-dialog{position:fixed;z-index:211;top:50%;left:50%;transform:translate(-50%,-50%);width:min(480px,calc(100vw - 32px));max-height:calc(100svh - 48px);overflow:auto;box-sizing:border-box;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:24px}.ui-dialog h2{margin-top:0}.ui-alert{border-color:var(--danger)}.ui-alert-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.ui-dialog-error{color:var(--danger)}@media(max-height:650px),(min-resolution:2dppx)and (max-height:760px){.exercise-card.svelte-mhyln8{overflow-y:auto;overscroll-behavior:contain}.eyebrow.svelte-mhyln8{margin-top:0}}.action-menu.svelte-mhyln8{position:absolute;right:22px;bottom:74px;z-index:4;width:210px;display:grid;padding:6px;border:1px solid var(--workout-line);border-radius:16px;background:var(--workout-panel);box-shadow:var(--shadow)}.action-menu.svelte-mhyln8 button:where(.svelte-mhyln8){min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink);text-align:left;padding:8px 10px}.action-menu.svelte-mhyln8 button:where(.svelte-mhyln8):disabled{opacity:.45}.card-controls.svelte-mhyln8{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:20px}.actions.svelte-mhyln8,.sheet-peek.svelte-mhyln8{width:56px;height:44px;border:1px solid var(--accent);border-radius:999px;background:var(--panel-hover);color:var(--accent)}.actions.svelte-mhyln8{font-weight:900}.exercise-card.svelte-mhyln8{position:relative;width:100%;height:100%;min-height:520px;padding:24px 22px 18px;border:1px solid var(--workout-line);border-radius:28px;background:linear-gradient(160deg,var(--workout-panel),var(--panel-alt));box-shadow:var(--shadow);display:flex;flex-direction:column;touch-action:pan-y;-webkit-user-select:none;user-select:none;transition:transform .18s ease,opacity .18s}.dragging.svelte-mhyln8{transition:none}.busy.svelte-mhyln8{opacity:.62}.eyebrow.svelte-mhyln8{margin-top:auto;color:var(--accent);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}.exercise-card.svelte-mhyln8 h2:where(.svelte-mhyln8){font-size:clamp(32px,10vw,42px);letter-spacing:-.045em;line-height:1.02;margin:12px 0 7px;color:var(--ink)}.meta.svelte-mhyln8{display:flex;flex-wrap:wrap;gap:8px;color:var(--workout-muted);margin:0}.meta.svelte-mhyln8 span:where(.svelte-mhyln8){padding:6px 10px;border-radius:999px;background:var(--panel-hover);font-size:12px}.set-progress.svelte-mhyln8{display:flex;gap:8px;margin:24px 0 13px}.set-progress.svelte-mhyln8 span:where(.svelte-mhyln8){height:7px;flex:1;border-radius:8px;background:var(--panel-hover)}.set-progress.svelte-mhyln8 span.done:where(.svelte-mhyln8){background:var(--accent)}.counter.svelte-mhyln8{display:flex;justify-content:space-between;gap:12px;color:var(--ink)}.counter.svelte-mhyln8 span:where(.svelte-mhyln8){color:var(--workout-muted);font-size:13px}.history.svelte-mhyln8{border:1px solid var(--workout-line);background:var(--panel-alt);border-radius:16px;padding:14px;margin:18px 0}.history.svelte-mhyln8 small:where(.svelte-mhyln8),.history.svelte-mhyln8 strong:where(.svelte-mhyln8){display:block}.history.svelte-mhyln8 small:where(.svelte-mhyln8){color:var(--workout-muted);margin-bottom:5px}.prescription.svelte-mhyln8{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--workout-line);padding:16px 0}.prescription.svelte-mhyln8 div:where(.svelte-mhyln8){text-align:center}.prescription.svelte-mhyln8 strong:where(.svelte-mhyln8),.prescription.svelte-mhyln8 small:where(.svelte-mhyln8){display:block}.prescription.svelte-mhyln8 small:where(.svelte-mhyln8){font-size:11px;color:var(--workout-muted);margin-top:3px}.ready.svelte-mhyln8{text-align:center;color:var(--accent);font-weight:800}.sheet-peek.svelte-mhyln8{align-self:center;width:56px;height:44px;border:1px solid var(--accent);border-radius:999px;background:var(--panel-hover);color:var(--accent);font-size:24px;margin-top:0}.gesture-copy.svelte-mhyln8{position:absolute;right:18px;top:50%;max-width:170px;color:var(--warn);font-weight:850;text-align:right}.gesture-copy.left.svelte-mhyln8{left:18px;right:auto;color:var(--success);text-align:left}.gesture-copy.danger.svelte-mhyln8{color:var(--danger)}@media(prefers-reduced-motion:reduce){.exercise-card.svelte-mhyln8{transition:none}}.set-row.svelte-1qb3p2b{position:relative;display:grid;grid-template-columns:64px 1fr 1fr;gap:9px;transition:transform .15s ease;background:var(--workout-panel);touch-action:pan-y}.set-row.ready.svelte-1qb3p2b{background:var(--panel-hover)}.set-row.saving.svelte-1qb3p2b{opacity:.6}.number.svelte-1qb3p2b,.field.svelte-1qb3p2b{background:var(--panel-alt);border:1px solid var(--workout-line);border-radius:16px;padding:8px 4px;text-align:center;min-width:0}.number.svelte-1qb3p2b small:where(.svelte-1qb3p2b),.field.svelte-1qb3p2b label:where(.svelte-1qb3p2b){display:block;color:var(--workout-muted);font-size:11px}.number.svelte-1qb3p2b strong:where(.svelte-1qb3p2b){font-size:22px}.stepper.svelte-1qb3p2b{display:flex;align-items:center;justify-content:center}.stepper.svelte-1qb3p2b button:where(.svelte-1qb3p2b){flex:0 0 44px;width:44px;height:44px;border:0;background:transparent;color:var(--accent);font-size:20px}.stepper.svelte-1qb3p2b input:where(.svelte-1qb3p2b){min-width:0;width:44px;height:44px;border:0;background:transparent;color:var(--ink);font-size:20px;font-weight:800;text-align:center}.set-row.ready.svelte-1qb3p2b .commit:where(.svelte-1qb3p2b){opacity:1}.commit.svelte-1qb3p2b{opacity:0;position:absolute;right:calc(100% + 12px);top:20px;color:var(--workout-live);font-weight:800}.rir.svelte-1qb3p2b{border:0;padding:0;margin:18px 0 10px;display:flex;gap:8px}.rir.svelte-1qb3p2b legend:where(.svelte-1qb3p2b){width:100%;font-size:13px;color:var(--workout-muted);margin-bottom:8px}.rir.svelte-1qb3p2b legend:where(.svelte-1qb3p2b) span:where(.svelte-1qb3p2b){font-size:11px}.rir.svelte-1qb3p2b button:where(.svelte-1qb3p2b){flex:1;min-height:44px;border:1px solid var(--workout-line);border-radius:12px;background:var(--panel-alt);color:var(--workout-muted)}.rir.svelte-1qb3p2b button.chosen:where(.svelte-1qb3p2b){border-color:var(--accent);background:var(--panel-hover);color:var(--accent)}.note-label.svelte-1qb3p2b{display:block;font-size:12px;color:var(--workout-muted);margin-top:12px}textarea.svelte-1qb3p2b{box-sizing:border-box;width:100%;border:1px solid var(--workout-line);border-radius:14px;background:var(--panel-alt);color:var(--ink);padding:12px;resize:vertical}.at-save.svelte-1qb3p2b{display:block;width:auto;min-height:44px;margin:12px 0 0 auto;padding:10px 18px;border:1px solid var(--accent);border-radius:13px;background:var(--panel-hover);color:var(--accent);font-weight:800}@media(prefers-reduced-motion:reduce){.set-row.svelte-1qb3p2b{transition:none}}.status.error.svelte-1xhvrmi{color:var(--danger)}.overlay.svelte-1xhvrmi{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#010201aa;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:flex-end;justify-content:center}.sheet.svelte-1xhvrmi{box-sizing:border-box;width:100%;max-width:600px;max-height:52svh;overflow:auto;background:var(--workout-panel);color:var(--ink);border:1px solid var(--workout-line);border-bottom:0;border-radius:28px 28px 0 0;padding:0 18px max(20px,env(safe-area-inset-bottom));transition:max-height .24s ease,transform .15s ease}.sheet.expanded.svelte-1xhvrmi{max-height:92svh}.sheet.dragging.svelte-1xhvrmi{transition:none}.handle.svelte-1xhvrmi{display:block;width:64px;height:44px;margin:auto;border:0;background:transparent}.handle.svelte-1xhvrmi span:where(.svelte-1xhvrmi){display:block;height:5px;border-radius:8px;background:var(--muted)}.sheet.svelte-1xhvrmi header:where(.svelte-1xhvrmi){position:static;background:transparent;border:0;padding:0;margin:0;display:flex;justify-content:space-between;gap:12px}.eyebrow.svelte-1xhvrmi{color:var(--accent);text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800}.sheet.svelte-1xhvrmi h2:where(.svelte-1xhvrmi){margin:3px 0;font-size:25px}.sheet.svelte-1xhvrmi p:where(.svelte-1xhvrmi){color:var(--workout-muted);margin:3px 0}.timer.svelte-1xhvrmi{height:40px;padding:0 10px;display:grid;place-items:center;border-radius:12px;background:var(--panel-hover);color:var(--accent);font-weight:800}.assist.svelte-1xhvrmi{font-size:12px!important;margin:16px 0 10px!important}.status.svelte-1xhvrmi{color:var(--workout-live);font-size:12px;margin-top:12px}@media(prefers-reduced-motion:reduce){.sheet.svelte-1xhvrmi{transition:none}}.progress-container{display:flex;align-items:center;gap:12px;padding:8px 0}.progress-bar.svelte-1qjgclg{flex:1;height:4px;background:var(--panel-hover);border-radius:2px;overflow:hidden}.progress-fill.svelte-1qjgclg{height:100%;background:linear-gradient(90deg,var(--success),var(--accent));border-radius:2px;transition:width .3s ease-out}.progress-text.svelte-1qjgclg{font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap}.gesture-onboarding.svelte-1iqhnzq{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;display:grid;place-items:start center;padding:calc(18px + env(safe-area-inset-top)) 18px 18px;pointer-events:none}.onboarding-card.svelte-1iqhnzq{width:min(100%,430px);padding:18px;border:1px solid var(--accent);border-radius:20px;background:var(--workout-panel);box-shadow:var(--shadow);color:var(--ink);pointer-events:none}.eyebrow.svelte-1iqhnzq{margin:0;color:var(--accent);text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800}h2.svelte-1iqhnzq{margin:5px 0 4px;font-size:23px}.intro.svelte-1iqhnzq{margin:0;color:var(--workout-muted);font-size:13px;line-height:1.4}.gesture-grid.svelte-1iqhnzq{display:grid;grid-template-columns:30px 1fr 30px 1fr;gap:9px 7px;align-items:center;margin:16px 0}.gesture-grid.svelte-1iqhnzq span:where(.svelte-1iqhnzq){color:var(--accent);font-size:24px;text-align:center}.gesture-grid.svelte-1iqhnzq p:where(.svelte-1iqhnzq){margin:0}.gesture-grid.svelte-1iqhnzq strong:where(.svelte-1iqhnzq),.gesture-grid.svelte-1iqhnzq small:where(.svelte-1iqhnzq){display:block}.gesture-grid.svelte-1iqhnzq small:where(.svelte-1iqhnzq){color:var(--workout-muted);font-size:11px;margin-top:2px}.dismiss.svelte-1iqhnzq{width:100%;min-height:44px;border:1px solid var(--accent);border-radius:12px;background:var(--accent);color:var(--accent-ink);font-weight:850;pointer-events:auto}@media(prefers-reduced-motion:reduce){.onboarding-card.svelte-1iqhnzq{animation:none}}.advice-card.svelte-1pg6f5e{width:min(100%,390px);display:grid;grid-template-columns:38px 1fr;gap:12px;padding:14px;margin:0 0 16px;border:1px solid var(--accent);border-radius:16px;background:var(--advice-bg, var(--panel-alt));color:var(--ink);text-align:left}.advice-card.compact.svelte-1pg6f5e{width:100%;margin-top:14px}.advice-card.neutral.svelte-1pg6f5e{border-color:var(--line)}.advice-icon.svelte-1pg6f5e{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--accent);color:var(--accent-ink, #152000);line-height:0}.neutral.svelte-1pg6f5e .advice-icon:where(.svelte-1pg6f5e){background:var(--panel-hover);color:var(--muted)}.advice-label.svelte-1pg6f5e{margin:0 0 2px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}h3.svelte-1pg6f5e{margin:0 0 4px;color:var(--ink);font-size:15px}p.svelte-1pg6f5e:last-child{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.undo.svelte-sa3vvp{position:fixed;z-index:180;top:calc(60px + env(safe-area-inset-top));left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;background:#26351d;border:1px solid #4b6536;border-radius:16px;padding:8px 10px 8px 14px;pointer-events:none}.undo.svelte-sa3vvp button:where(.svelte-sa3vvp){min-height:44px;border:0;background:transparent;color:#c6ed5c;font-weight:800;pointer-events:auto}.workout-view.svelte-sa3vvp{box-sizing:border-box;width:100%;height:100svh;max-width:480px;margin:auto;padding:calc(12px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;background:var(--workout-bg);color:var(--ink)}.focus-head.svelte-sa3vvp{position:static;background:transparent;border:0;padding:0;margin:0;display:grid;grid-template-columns:44px 1fr 56px;align-items:center;gap:9px}.focus-head.svelte-sa3vvp div:where(.svelte-sa3vvp){text-align:center}.focus-head.svelte-sa3vvp strong:where(.svelte-sa3vvp),.focus-head.svelte-sa3vvp span:where(.svelte-sa3vvp){display:block}.focus-head.svelte-sa3vvp span:where(.svelte-sa3vvp){font-size:12px;color:var(--workout-muted)}.focus-head.svelte-sa3vvp b:where(.svelte-sa3vvp){text-align:right;color:var(--accent)}.back.svelte-sa3vvp{width:44px;height:44px;border:1px solid var(--workout-line);border-radius:14px;background:var(--workout-panel);color:var(--ink);font-size:26px}.workout-view.svelte-sa3vvp .progress-text{display:none}.progress-meta.svelte-sa3vvp{display:flex;justify-content:space-between;color:var(--workout-muted);font-size:12px}.live.svelte-sa3vvp{height:18px;color:var(--workout-live);font-size:12px;margin-top:5px}.stack.svelte-sa3vvp{flex:1;min-height:0;padding-top:8px}.stack.svelte-sa3vvp .exercise-card{height:100%;min-height:0}.retry.svelte-sa3vvp{position:fixed;bottom:22px;left:50%;transform:translate(-50%);min-height:44px;border:1px solid var(--danger);border-radius:14px;background:var(--workout-panel);color:var(--danger)}.transition.svelte-sa3vvp,.summary.svelte-sa3vvp{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:var(--workout-overlay);color:var(--ink);display:grid;place-items:center;padding:24px}.primary.svelte-sa3vvp,.empty.svelte-sa3vvp button:where(.svelte-sa3vvp){min-height:44px;border:1px solid var(--workout-line);border-radius:13px;background:var(--workout-panel);color:var(--ink)}.transition.svelte-sa3vvp small:where(.svelte-sa3vvp),.summary.svelte-sa3vvp small:where(.svelte-sa3vvp){color:var(--accent);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}.transition.svelte-sa3vvp,.summary.svelte-sa3vvp{text-align:center;background:var(--workout-overlay)}.transition.svelte-sa3vvp>div:where(.svelte-sa3vvp),.summary.svelte-sa3vvp>div:where(.svelte-sa3vvp):first-child{font-size:68px}.transition.svelte-sa3vvp h2:where(.svelte-sa3vvp),.summary.svelte-sa3vvp h2:where(.svelte-sa3vvp){font-size:34px;margin:16px 0}.summary-routine.svelte-sa3vvp{color:var(--workout-muted);margin:0}.summary-guidance.svelte-sa3vvp{color:var(--accent);margin:20px 0 0}.summary.svelte-sa3vvp{display:flex;flex-direction:column;justify-content:center;overflow:auto}.grid.svelte-sa3vvp{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(100%,390px);margin:20px 0}.grid.svelte-sa3vvp p:where(.svelte-sa3vvp){border:1px solid var(--workout-line);border-radius:18px;background:var(--workout-panel);padding:16px;margin:0}.grid.svelte-sa3vvp strong:where(.svelte-sa3vvp){display:block;color:var(--accent);font-size:25px}.primary.svelte-sa3vvp{width:min(100%,390px);background:var(--accent);color:var(--accent-ink);font-weight:850}.recommendation-status.svelte-sa3vvp{width:min(100%,390px);color:var(--workout-muted);font-size:12px}.empty.svelte-sa3vvp{text-align:center;padding-top:30vh}.empty.svelte-sa3vvp button:where(.svelte-sa3vvp){padding:0 18px}@media(prefers-reduced-motion:reduce){.svelte-sa3vvp{animation:none!important;transition:none!important}}.svelte-shell.svelte-1oszhz{padding-bottom:calc(72px + env(safe-area-inset-bottom))}.shell-header.svelte-1oszhz{display:flex;align-items:center;justify-content:space-between;height:44px;padding:0 4px;margin-bottom:0;position:sticky;top:0;z-index:10;background:var(--bg, #10130e);border-bottom:1px solid var(--line, #262e20)}.brand.svelte-1oszhz{display:flex;align-items:center;gap:6px}.brand-icon{flex:none;color:var(--accent, #c6e26a)}.brand-name.svelte-1oszhz{font-size:.95rem;font-weight:700;letter-spacing:-.01em;color:var(--ink, #e9eedc)}.profile-btn.svelte-1oszhz{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;border-radius:50%;background:var(--profile-avatar-bg, var(--panel-hover, #262e20));color:var(--profile-avatar-ink, var(--accent, #c6e26a));font-weight:850;font-size:.82rem;cursor:pointer;transition:background .15s,color .15s}.profile-btn.svelte-1oszhz:hover,.profile-btn.svelte-1oszhz:focus-visible{background:var(--panel-hover, #262e20);color:var(--accent, #c6e26a)}.profile-btn.svelte-1oszhz:focus-visible{outline:2px solid var(--accent, #c6e26a);outline-offset:-2px}.bottom-nav.svelte-1oszhz{position:fixed;z-index:50;left:50%;transform:translate(-50%);bottom:0;width:min(100%,600px);display:flex;gap:4px;background:var(--panel, #171c13);border-top:1px solid var(--line, #262e20);padding:6px 8px max(8px,env(safe-area-inset-bottom))}.pwa-banner-text.svelte-1oszhz{display:flex;align-items:center;gap:6px}.bottom-nav.svelte-1oszhz .nav-link{flex:1;min-height:44px;min-width:44px;flex-direction:column;gap:2px;font-size:.68rem;padding:6px 4px}body.workout-focus-active .bottom-nav.svelte-1oszhz,body.workout-focus-active .shell-header.svelte-1oszhz,body.workout-focus-active #pwa-install-banner.svelte-1oszhz{display:none!important}body.workout-focus-active .svelte-shell.svelte-1oszhz{padding:0;max-width:none}.preview-banner.svelte-153cihh{position:relative;z-index:300;display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 14px;background:#c6ed5c;color:#152000;font-weight:800;font-size:13px}button.svelte-153cihh{min-height:44px;min-width:44px;border:0;border-radius:10px;background:#152000;color:#c6ed5c;font-weight:700;padding:0 12px}body{display:flex;flex-direction:column;min-height:100svh}.app-shell{flex:1;display:flex;flex-direction:column;min-height:0}#app{flex:1;min-height:0;display:flex;flex-direction:column}.workout-view{height:auto!important;min-height:0;flex:1}
