:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d1014;--bg-2:#141a21;--surface:#1a2129;--surface-2:#222b35;--line:#ffffff17;--text:#f3f6f9;--muted:#9aa7b5;--accent:#5fe3b4;--accent-ink:#04261a;--accent-2:#47b8ff;--warn:#ffc566;--danger:#ff6b6b;--glass:#181f289e;--glass-strong:#141a22d1;--glass-border:#ffffff1f;--shadow:0 10px 40px #00000073;--radius:18px;--tap:48px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px);--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--font-num:-apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Display", "Segoe UI", Roboto, sans-serif}@media (prefers-color-scheme:light){:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#eef1f5;--bg-2:#e5e9ef;--surface:#fff;--surface-2:#f2f4f7;--line:#0a141e1a;--text:#0e141a;--muted:#5b6875;--accent:#0f9d6e;--accent-ink:#fff;--accent-2:#0b74c4;--warn:#a86400;--danger:#c62828;--glass:#ffffffa8;--glass-strong:#ffffffdb;--glass-border:#0a141e1a;--shadow:0 10px 30px #141e2826}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;background:var(--bg)}body{min-height:100dvh;font-family:var(--font);color:var(--text);background:radial-gradient(1200px 600px at 10% -10%, #47b8ff1a, transparent 60%), radial-gradient(900px 500px at 110% 10%, #5fe3b414, transparent 60%), var(--bg);-webkit-tap-highlight-color:transparent;background-attachment:fixed;margin:0;font-size:17px;line-height:1.4}h1{letter-spacing:-.01em;margin:4px 0 8px;font-size:28px;line-height:1.15}h2{margin:8px 0;font-size:20px}h3{margin:8px 0;font-size:17px}a{color:var(--accent-2)}p{margin:8px 0}.muted{color:var(--muted)}.small{font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:13px;font-weight:600;display:block}:focus-visible{outline:3px solid var(--accent-2);outline-offset:2px;border-radius:8px}.boot{min-height:100dvh;color:var(--muted);place-items:center;font-size:22px;font-weight:700;display:grid}.glass{background:var(--glass);-webkit-backdrop-filter:blur(22px)saturate(160%);backdrop-filter:blur(22px)saturate(160%);border:1px solid var(--glass-border);box-shadow:var(--shadow), inset 0 1px 0 #ffffff14}@media (prefers-reduced-transparency:reduce){.glass{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.glass{background:var(--glass-strong)}}.shell{min-height:100dvh}.main{padding:calc(var(--safe-t) + 8px) 16px calc(96px + var(--safe-b));max-width:720px;margin:0 auto}.topbar{justify-content:flex-end;min-height:28px;display:flex}.page{padding-bottom:24px}.page-head{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.sidebar{display:none}.tabbar{left:12px;right:12px;bottom:calc(10px + var(--safe-b));z-index:20;border-radius:26px;grid-template-columns:repeat(3,1fr);padding:6px;display:grid;position:fixed}.tabbar .tab{min-height:48px;color:var(--muted);border-radius:20px;place-items:center;font-size:15px;font-weight:600;text-decoration:none;display:grid}.tabbar .tab.active{color:var(--text);background:#7f7f7f2e}.focus-mode .tabbar{display:none}.focus-mode .main{padding-bottom:calc(120px + var(--safe-b))}@media (width>=900px){.shell{grid-template-columns:232px 1fr;display:grid}.sidebar{height:100dvh;box-shadow:none;border-width:0 1px 0 0;border-radius:0;flex-direction:column;padding:20px 12px;display:flex;position:sticky;top:0}.sidebar nav{flex-direction:column;gap:2px;margin-top:16px;display:flex}.sidebar .tab{color:var(--muted);border-radius:12px;padding:10px 14px;font-weight:600;text-decoration:none}.sidebar .tab.active{color:var(--text);background:#7f7f7f29}.sidebar-foot{margin-top:auto}.brand{align-items:center;gap:10px;padding:0 8px;font-size:19px;font-weight:800;display:flex}.brand img{border-radius:8px}.tabbar,.topbar{display:none}.main{max-width:760px;padding:28px 32px 120px}.main:has(.wide){max-width:1100px}.focus-mode .main{max-width:640px}}.btn{appearance:none;border:1px solid var(--line);background:var(--surface-2);color:var(--text);font:inherit;min-height:var(--tap);cursor:pointer;touch-action:manipulation;border-radius:14px;justify-content:center;align-items:center;gap:6px;padding:10px 16px;font-weight:600;text-decoration:none;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:#0000}.btn.danger{background:var(--danger);color:#fff;border-color:#0000}.btn.ghost{background:0 0}.danger-text{color:var(--danger)!important}.btn.small{border-radius:12px;min-height:40px;padding:6px 12px;font-size:15px}.btn.big{border-radius:20px;width:100%;min-height:64px;font-size:21px}.btn.icon{min-width:var(--tap);padding:0;font-size:20px}.btn.link,button.link{color:var(--accent-2);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line);min-height:var(--tap);border-radius:12px;width:100%;padding:10px 12px;font-size:17px}textarea{min-height:72px}select{width:auto}.field{flex-direction:column;gap:6px;margin:10px 0;display:flex}.field>span{color:var(--muted);font-size:14px;font-weight:600}.check{align-items:center;gap:10px;min-height:44px;margin:10px 0;display:flex}.check input{width:22px;height:22px;min-height:0}fieldset{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin:16px 0;padding:8px 16px 16px}legend{padding:0 6px;font-weight:700}.row{align-items:center;gap:8px;display:flex}.row.wrap{flex-wrap:wrap}.row.tight{flex-wrap:wrap;gap:4px}.row.end{justify-content:flex-end}.row.between{justify-content:space-between}.stack{flex-direction:column;gap:4px;display:flex}.grid3{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-items:end;gap:0 12px;display:grid}.inline-form{margin:12px 0}.inline-form input{flex:1}.segmented{flex-wrap:wrap;gap:16px;margin:6px 0;display:flex}.segmented label{align-items:center;gap:8px;min-height:44px;display:flex}.segmented input{width:20px;height:20px;min-height:0}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:inherit;margin:10px 0;padding:16px;text-decoration:none;display:block}button.card{text-align:left;width:100%;font:inherit;cursor:pointer}.card-list{margin:0;padding:0;list-style:none}.card-title{margin:0 0 6px}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:22px 0 4px;font-size:15px}.workout-card,.slot-card,.option-card,.history-card,.equipment-card{gap:4px;min-height:72px;display:grid;position:relative}.workout-name,.slot-name{font-size:19px;font-weight:700}.start-label{color:var(--accent);font-weight:700;position:absolute;top:16px;right:16px}.slot-card .chip{justify-self:start}.archived{opacity:.6}.chip{color:var(--text);background:#7f7f7f29;border-radius:999px;margin-left:4px;padding:3px 10px;font-size:13px;font-weight:600;display:inline-block}.chip.warn{color:var(--warn);background:#ffc5662e}.chip.up{color:var(--accent);background:#5fe3b429}.chip.status-completed{color:var(--accent);background:#5fe3b42e;margin-left:0}.chip.status-in_progress{color:var(--accent-2);background:#47b8ff2e;margin-left:0}.chip.status-skipped,.chip.status-incomplete{color:var(--warn);background:#ffc56629;margin-left:0}.chip.status-pending{margin-left:0}.slot-card.status-completed{opacity:.75}.empty{text-align:center;color:var(--muted);padding:32px 16px}.empty h3{color:var(--text)}.notice{background:#47b8ff1f;border:1px solid #47b8ff4d;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;margin:8px 0;padding:10px 14px;display:flex}.notice.error{background:#ff6b6b24;border-color:#ff6b6b66}.error-text,.error-list{color:var(--danger);font-weight:600}.back-link{align-items:center;min-height:44px;font-weight:600;text-decoration:none;display:inline-flex}.sync-badge{color:var(--muted);align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.sync-badge .dot{background:var(--accent);border-radius:50%;width:8px;height:8px}.sync-badge.warn .dot{background:var(--warn)}.sync-badge.warn{color:var(--warn)}.sync-badge.error .dot{background:var(--danger)}.sync-badge.error{color:var(--danger)}.resume-card{color:var(--accent-ink);background:linear-gradient(135deg, var(--accent), var(--accent-2));box-shadow:var(--shadow);border-radius:22px;gap:4px;margin:12px 0 8px;padding:18px;text-decoration:none;display:grid}.resume-card .eyebrow,.resume-card .muted{color:inherit;opacity:.8}.resume-title{font-size:22px;font-weight:800}.rest-badge{background:#0000002e;border-radius:999px;justify-self:start;margin-top:4px;padding:4px 10px;font-weight:700}.first-run .steps{padding-left:22px}.first-run .steps li{margin:10px 0}.first-run .steps li.done{opacity:.6;text-decoration:line-through}.sticky-actions{padding:12px 16px calc(12px + var(--safe-b));background:linear-gradient(to top, var(--bg) 60%, transparent);z-index:15;position:fixed;bottom:0;left:0;right:0}.sticky-actions>*{max-width:640px;margin:0 auto}.shell:not(.focus-mode) .sticky-actions{bottom:calc(76px + var(--safe-b));background:0 0;padding-bottom:0}@media (width>=900px){.sticky-actions,.shell:not(.focus-mode) .sticky-actions{padding:16px 0;position:sticky;bottom:0;left:auto;right:auto}.sticky-actions>*{max-width:none}}.exercise-head h1{margin-bottom:6px}.setup-chips{flex-wrap:wrap;gap:8px;margin:6px 0;padding:0;list-style:none;display:flex}.setup-chips li{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;padding:6px 12px;font-size:17px}.setup-chips strong{font-size:19px}.setup-field{color:var(--muted)}.setup-notes{color:var(--muted);font-size:15px}.current-set{text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:26px;flex-direction:column;align-items:center;gap:4px;margin:12px 0;padding:18px 12px 22px;display:flex}.set-type{text-transform:uppercase;letter-spacing:.08em;border-radius:999px;padding:4px 12px;font-size:15px;font-weight:800}.set-type.warmup{color:var(--warn);background:#ffc56629}.set-type.working{color:var(--accent);background:#5fe3b429}.big-weight,.big-reps{font-family:var(--font-num);font-variant-numeric:tabular-nums;align-items:baseline;gap:8px;display:flex}.big-weight .num{letter-spacing:-.03em;font-size:clamp(72px,24vw,120px);font-weight:800;line-height:1}.big-weight .unit,.big-reps .unit{color:var(--muted);font-size:24px;font-weight:700}.big-reps .num{font-size:clamp(44px,14vw,64px);font-weight:800;line-height:1.05}.big-reps .times{color:var(--muted);font-size:32px}.load-label{color:var(--muted);font-weight:600}.complete-card h2{font-size:24px}.secondary-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.logged{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:12px 0;padding:4px 14px 10px}.logged summary{cursor:pointer;align-items:center;min-height:44px;font-weight:600;display:flex}.set-list{margin:4px 0 8px;padding:0;list-style:none}.set-list li{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:6px 0;display:flex}.rep-editor{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.stepper{align-items:center;gap:6px;display:inline-flex}.stepper-value{text-align:center;font-variant-numeric:tabular-nums;min-width:36px;font-size:20px;font-weight:800}.done-btn{letter-spacing:.02em;min-height:76px;font-size:26px;box-shadow:0 8px 30px #5fe3b44d}.rest-strip{top:calc(var(--safe-t) + 6px);z-index:10;border-radius:18px;align-items:center;gap:12px;margin:8px 0;padding:10px 10px 10px 16px;display:flex;position:sticky}.rest-strip-label{color:var(--muted);font-weight:700}.rest-strip-time{font-family:var(--font-num);font-variant-numeric:tabular-nums;flex:1;font-size:30px;font-weight:800}.rest-strip.ready{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent), var(--shadow)}.rest-strip.ready .rest-strip-time,.rest-strip.ready .rest-strip-label{color:var(--accent)}.sheet{left:8px;right:8px;bottom:calc(8px + var(--safe-b));z-index:30;background:var(--glass-strong);border-radius:30px;max-width:640px;margin:0 auto;padding:10px 18px 16px;animation:.28s cubic-bezier(.2,.8,.2,1) sheet-in;position:fixed}@keyframes sheet-in{0%{opacity:0;transform:translateY(40px)}}.sheet-grabber{background:#7f7f7f80;border-radius:3px;width:40px;height:5px;margin:0 auto 8px}.sheet-timer{flex-direction:column;align-items:center;gap:2px;display:flex}.sheet-timer .countdown{font-family:var(--font-num);font-variant-numeric:tabular-nums;font-size:52px;font-weight:800;line-height:1}.sheet-timer .ready-text{color:var(--accent);font-size:44px;font-weight:800;line-height:1.1}.sheet-timer.ready{animation:1.6s ease-in-out 3 pulse}@keyframes pulse{50%{transform:scale(1.04)}}.sheet-label{text-align:center;color:var(--muted);margin:10px 0 4px;font-size:14px}.sheet-status{text-align:center;min-height:24px}.save-state{font-size:14px;font-weight:600}.save-state.ok{color:var(--accent)}.save-state.warn{color:var(--warn)}.save-state.error{color:var(--danger)}.sheet-actions{justify-content:space-between;margin-top:8px}.sheet-actions .btn{flex:1}.rep-dial{justify-content:center;align-items:center;gap:10px;display:flex}.big-icon{border-radius:50%;min-height:60px;min-width:60px!important;font-size:30px!important}.rep-number{touch-action:none;-webkit-user-select:none;user-select:none;cursor:ew-resize;font-family:var(--font-num);font-variant-numeric:tabular-nums;border-radius:20px;flex:1;justify-content:center;align-items:center;gap:16px;padding:6px 0;display:flex}.rep-number .num{text-align:center;min-width:2ch;font-size:84px;font-weight:800;line-height:1}.rep-number .ghost-num{color:var(--muted);opacity:.5;text-align:center;min-width:2ch;font-size:32px}.rep-number.dragging{background:#7f7f7f1f}.exercise-page.with-sheet{padding-bottom:380px}.title-input{flex:1;min-width:180px;font-size:19px;font-weight:700}.plan-card{padding:14px}.workout-rows{margin:8px 0;padding:0;list-style:none}.workout-rows li{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}.workout-row-name{align-items:center;gap:6px;min-height:44px;font-weight:600;display:inline-flex}.workout-rows select{min-height:40px;padding:4px 8px;font-size:15px}.slot-editor{padding:0;list-style:none}.option-list{margin:8px 0;padding:0;list-style:none}.option-list li{justify-content:space-between;align-items:center;padding:4px 0;display:flex}.setup-row input:first-child{flex:1.2}.setup-row input{flex:1;min-width:0}.warmup-row{border-top:1px solid var(--line);flex-wrap:wrap;align-items:flex-end}.warmup-row .field{flex:1;min-width:80px}.warm-calc{min-width:90px;padding-bottom:20px;font-weight:700}.ladder-preview{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:4px;padding:10px 0 0;display:flex}.ladder-step{font-weight:600}.ladder-step.current{color:var(--accent);text-decoration:underline}.ladder-step .arrow{color:var(--muted);margin:0 4px}.attempt{margin:8px 0}.progress-layout{gap:16px;display:grid}@media (width>=900px){.progress-layout{grid-template-columns:240px 1fr}}.progress-nav ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}@media (width>=900px){.progress-nav ul{flex-direction:column}}.nav-item{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer;border-radius:12px;width:100%;min-height:44px;padding:10px 12px;font-weight:600}.nav-item.active{border-color:var(--accent)}.slot-filter{flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0;display:flex}.slot-filter-name{min-width:120px;font-weight:700}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip-btn{border:1px solid var(--line);background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer;border-radius:999px;min-height:40px;padding:8px 14px;font-size:15px}.chip-btn.active{background:var(--accent);color:var(--accent-ink);border-color:#0000}.chart{width:100%;height:auto;display:block}.chart .grid{stroke:var(--line)}.chart .axis{fill:var(--muted);font-size:12px}.chart .line{fill:none;stroke:var(--accent-2);stroke-width:2.5px}.chart .next-line{stroke:var(--accent);stroke-dasharray:5 5;stroke-width:2px}.chart .pt{fill:var(--accent-2);stroke:var(--surface);stroke-width:2px}.chart .pt.incomplete{fill:var(--surface);stroke:var(--accent-2)}.chart .pt.override{fill:var(--warn)}.chart .pt.next{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-dasharray:3 2}.chart .up-marker{fill:var(--accent);font-size:12px}.chart .next-text{fill:var(--accent);font-size:12px;font-weight:700}.next-label{font-size:16px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:15px}.data-table th,.data-table td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:8px}.data-table th{color:var(--muted);font-weight:600}.modal-backdrop{z-index:50;padding:12px 12px calc(12px + var(--safe-b));background:#00000080;place-items:end center;display:grid;position:fixed;inset:0}@media (width>=700px){.modal-backdrop{place-items:center}}.modal{background:var(--glass-strong);border-radius:26px;width:100%;max-width:480px;max-height:90dvh;padding:18px;overflow:auto}.modal h2{margin-top:0}.login{place-items:center;min-height:100dvh;padding:16px;display:grid}.login-card{text-align:center;border-radius:28px;width:100%;max-width:380px;padding:24px}.login-card form{text-align:left}.login-icon{border-radius:14px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (prefers-contrast:more){:root{--line:#ffffff59;--muted:#c8d0d8}}
