:root{--bg: #16110d;--surface: #221b15;--surface-2: #2e251d;--text: #f7efe6;--muted: #b3a595;--line: #3d3228;--accent: #ff5a1f;--accent-2: #ffb020;--accent-text: #1a0d05;--good: #49c172;--work-bg: #e2420f;--work-text: #fff7ef;--rest-bg: #0f4c5c;--rest-text: #e9fbff;--ready-bg: #3b2a6b;--ready-text: #f3eeff;--ill-near: #f7efe6;--ill-far: #8d7f72;--ill-prop: #4a3e33;--radius: 18px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);color-scheme:dark}@media(prefers-color-scheme:light){:root{--bg: #fbf6f0;--surface: #ffffff;--surface-2: #f3ebe2;--text: #22170f;--muted: #7a6a5b;--line: #e7dbcf;--ill-near: #22170f;--ill-far: #b5a596;--ill-prop: #d9cbbd;color-scheme:light}}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}#root{min-height:100dvh}h1,h2{margin:0;line-height:1.15}h1{font-size:1.9rem;letter-spacing:-.02em}h2{font-size:1.15rem}.muted{color:var(--muted)}.small{font-size:.875rem}.error{color:#ff7a6b}.row{display:flex;gap:10px;flex-wrap:wrap}.screen{max-width:560px;margin:0 auto;padding:calc(16px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));display:flex;flex-direction:column;gap:16px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:14px;font:inherit;font-weight:650;padding:14px 20px;min-height:52px;cursor:pointer;color:var(--text);background:var(--surface-2);touch-action:manipulation;-webkit-user-select:none;user-select:none}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.5}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:var(--accent-text)}.btn-secondary{background:var(--surface-2);border:2px solid var(--accent)}.btn-ghost{background:transparent;border:1px solid var(--line)}.btn-big{font-size:1.15rem;min-height:60px;width:100%}.btn-start{font-size:1.8rem;min-height:84px;width:100%;border-radius:22px;letter-spacing:.02em}.link{background:none;border:0;padding:6px 0;font:inherit;color:var(--accent-2);font-weight:600;cursor:pointer;text-align:left}.link.center{align-self:center}.logo{display:inline-flex;align-items:baseline;font-weight:850;font-size:3.2rem;letter-spacing:-.04em;position:relative}.logo-small{font-size:1.7rem}.logo-9{background:linear-gradient(135deg,var(--accent),var(--accent-2));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:1.2em}.logo-spark{color:var(--accent-2);font-size:.45em;margin-left:2px;align-self:flex-start}.splash{min-height:100dvh;display:grid;place-items:center}.signin{min-height:100dvh;justify-content:center;text-align:center;align-items:center}.tagline{font-size:1.15rem;font-weight:600;margin:0}.today-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.streak{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.streak-n{font-weight:650;font-size:.95rem}.dots{display:flex;gap:6px}.dot{width:12px;height:12px;border-radius:50%;background:var(--surface-2);border:1px solid var(--line)}.dot-done{background:var(--accent);border-color:var(--accent)}.dot-today{border:2px solid var(--accent-2)}.day-title p{margin:4px 0 0}.day-ex{font-size:1.1rem;font-weight:600}.ex-cards{display:grid;gap:12px}.ex-card{display:flex;flex-direction:column;gap:10px}.ex-card p{margin:0}.ex-card-head{display:flex;gap:12px;align-items:center}.slot{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-weight:800;background:var(--surface-2);color:var(--accent-2)}.ex-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ex-stats>div{display:flex;flex-direction:column;gap:2px}.stat-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700}.stat-value{font-size:1.5rem;font-weight:750}.stat-value.small{font-size:1rem;font-weight:600}.target .stat-value{color:var(--accent-2)}.done-banner,.resume{display:flex;flex-direction:column;gap:8px;border-color:var(--good)}.today-foot{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:center;margin-top:8px}.toggle{display:inline-flex;gap:8px;align-items:center;font-weight:600}.toggle input{width:20px;height:20px;accent-color:var(--accent)}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:flex-end;justify-content:center;z-index:10}.sheet{background:var(--bg);width:100%;max-width:560px;border-radius:22px 22px 0 0;padding:20px 16px calc(20px + var(--safe-bottom));display:flex;flex-direction:column;gap:8px;max-height:85dvh;overflow:auto}.pick-day{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:8px;text-align:left;background:var(--surface);border:1px solid var(--line);color:var(--text);border-radius:14px;padding:14px;font:inherit;min-height:56px;cursor:pointer}.pick-day.active{border-color:var(--accent)}.guide h2{margin-top:4px}.guide p{margin:0}.badge{align-self:flex-start;background:var(--accent-2);color:var(--accent-text);padding:4px 10px;border-radius:999px;font-weight:700;font-size:.85rem}.cues,.mistakes{margin:0;padding-left:1.3em;display:flex;flex-direction:column;gap:8px;line-height:1.4}.mistakes li::marker{content:"✕  ";color:#ff7a6b}.variants{display:grid;grid-template-columns:1fr 1fr;gap:10px}.variants p{margin-top:4px}.sticky-bottom{position:sticky;bottom:calc(12px + var(--safe-bottom))}.ill{display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:10px}.ill-panel{flex:1;margin:0;text-align:center}.ill-panel svg{width:100%;height:auto;display:block}.ill-panel figcaption{font-size:.75rem;color:var(--muted);font-weight:600}.ill-arrow{color:var(--accent-2);font-weight:800}.ill-near{stroke:var(--ill-near)}.ill-far{stroke:var(--ill-far)}.ill-head{fill:var(--ill-near)}.ill-prop{fill:var(--ill-prop)}.ill-floor{stroke:var(--ill-prop)}.ill-compact{background:#0000002e;border-color:transparent;padding:6px;--ill-near: currentColor;--ill-far: color-mix(in srgb, currentColor 45%, transparent);--ill-prop: color-mix(in srgb, currentColor 25%, transparent)}.ill-compact figcaption{color:inherit;opacity:.7}.workout{min-height:100dvh;max-width:none;text-align:center;gap:10px;transition:background-color .3s}.phase-work{background:var(--work-bg);color:var(--work-text)}.phase-rest{background:var(--rest-bg);color:var(--rest-text)}.phase-ready{background:var(--ready-bg);color:var(--ready-text)}.is-paused .wo-count{opacity:.45}.workout>*{width:100%;max-width:560px;margin-left:auto;margin-right:auto}.wo-top{display:flex;justify-content:space-between;align-items:center}.wo-round{font-size:1.5rem;font-weight:800}.wo-stop{background:#0003;color:inherit;border:0;border-radius:12px;padding:10px 16px;font:inherit;font-weight:700;min-height:44px}.wo-phase{font-size:1.3rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em;opacity:.85}.wo-count{font-size:min(48vw,15rem);line-height:.95;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.wo-count-small{font-size:min(26vw,7rem)}.wo-work{display:flex;flex-direction:column;gap:10px;align-items:center}.wo-name{font-size:2.3rem}.wo-target{font-size:1.4rem;font-weight:700;margin:0}.wo-side{margin:0;font-size:1.2rem;font-weight:700;background:#0000002e;padding:6px 14px;border-radius:999px}.wo-next{margin:8px 0 0;font-size:1.1rem;opacity:.85}.btn-hold{background:#00000040;color:inherit;font-size:1.2rem;min-height:64px;width:100%;max-width:360px}.wo-held{font-size:1.3rem;font-weight:700;margin:0}.wo-rest{display:flex;flex-direction:column;gap:12px}.wo-last{margin:0;font-weight:700;font-size:1.1rem}.log{background:#ffffff1f;border-radius:var(--radius);padding:14px}.log-q{margin:0 0 10px;font-weight:700;font-size:1.1rem}.log-row{display:grid;grid-template-columns:64px 1fr 64px 1.1fr;gap:10px;align-items:center}.log-value{font-size:2.6rem;font-weight:850;font-variant-numeric:tabular-nums}.btn-step{font-size:2rem;min-height:64px;padding:0;background:#00000040;color:inherit}.btn-ok{min-height:64px;font-size:1.3rem;background:#fff;color:#0f4c5c}.log-saved{display:flex;justify-content:space-between;align-items:center;font-size:1.1rem}.log-saved .link{color:inherit;text-decoration:underline}.next-up{text-align:left;display:flex;flex-direction:column;gap:8px}.next-up-head{display:flex;flex-direction:column}.next-up-head .stat-label{color:inherit;opacity:.75}.next-up-head strong{font-size:1.4rem}.next-cues{margin:0;padding-left:1.2em;line-height:1.35;display:flex;flex-direction:column;gap:4px}.wo-controls{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:8px}.btn-control{background:#00000038;color:inherit;min-height:60px;font-size:1.05rem}.summary h1{font-size:2.6rem}.outcome h2{margin-bottom:6px}.outcome p{margin:4px 0 0}.outcome-total{font-size:1.35rem;font-weight:750}.up{color:var(--good)}.offer{border:2px solid var(--accent-2);display:flex;flex-direction:column;gap:10px}.offer p{margin:0;line-height:1.4}.edit-rounds{display:flex;flex-direction:column;gap:8px}.edit-row{display:grid;grid-template-columns:1fr 44px 70px 44px;align-items:center;gap:8px;text-align:center}.edit-row span{text-align:left}.btn-step-sm{min-height:44px;padding:0;font-size:1.3rem}.workout{height:100dvh;overflow:hidden}.wo-rest{flex:1;min-height:0;overflow-y:auto}.ill-compact svg{max-height:84px}.next-cues li:nth-child(n+3){display:none}.guide{padding-bottom:calc(40px + var(--safe-bottom))}
