:root,[data-theme=dark]{color-scheme:dark;--bg: #0e0f12;--surface: #17191e;--surface-2: #20232a;--surface-3: #2a2e37;--line: #2a2e36;--text: #f2f3f5;--muted: #9aa0aa;--accent: #c6f432;--accent-ink: #141700;--accent-text: #c6f432;--accent-soft: rgba(198, 244, 50, .12);--chart: #c6f432;--danger: #ff6b6b;--danger-soft: rgba(255, 107, 107, .12);--live: #ff8a3d;--backdrop: rgba(0, 0, 0, .6);--bar: rgba(14, 15, 18, .86);--shadow: 0 10px 30px rgba(0, 0, 0, .35);--focus: 0 0 0 3px rgba(198, 244, 50, .45)}[data-theme=light]{color-scheme:light;--bg: #f4f4f1;--surface: #ffffff;--surface-2: #efefea;--surface-3: #e4e4de;--line: #e2e2dc;--text: #16181c;--muted: #5f656f;--accent: #c6f432;--accent-ink: #141700;--accent-text: #4d6b00;--accent-soft: #eef8cc;--chart: #5b7f00;--danger: #d23434;--danger-soft: #fde8e8;--live: #d9620f;--backdrop: rgba(20, 22, 26, .45);--bar: rgba(255, 255, 255, .9);--shadow: 0 8px 24px rgba(20, 22, 26, .08);--focus: 0 0 0 3px rgba(91, 127, 0, .35)}:root{--radius: 18px;--radius-sm: 12px;--tap: 44px;--gutter: 16px;--tabbar-h: 64px;--safe-b: env(safe-area-inset-bottom, 0px);--safe-t: env(safe-area-inset-top, 0px)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}body.no-scroll{overflow:hidden}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0;padding:0}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}:focus-visible{outline:none;box-shadow:var(--focus);border-radius:10px}h1,h2,h3{margin:0;letter-spacing:-.02em;line-height:1.15}h1{font-size:1.6rem;font-weight:800}h2{font-size:1.08rem;font-weight:700}p{margin:0}ul,ol{margin:0;padding:0;list-style:none}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center;padding:16px 0}.tabular{font-variant-numeric:tabular-nums}.danger-text{color:var(--danger)!important}.ok-text{color:var(--accent-text)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.app{width:min(520px,100%);min-height:100dvh;margin:0 auto}.page{padding:calc(12px + var(--safe-t)) var(--gutter) calc(var(--tabbar-h) + 32px + var(--safe-b));display:flex;flex-direction:column;gap:16px;animation:page-in .22s ease-out}.app.focused .page{padding-bottom:calc(40px + var(--safe-b))}@keyframes page-in{0%{opacity:0;transform:translateY(6px)}}.tabbar{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(520px,100%);height:calc(var(--tabbar-h) + var(--safe-b));padding:0 8px var(--safe-b);display:grid;grid-template-columns:repeat(4,1fr);background:var(--bar);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);z-index:20}.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:.72rem;font-weight:600;position:relative}.tabbar a.active{color:var(--text)}.tabbar a.active svg{color:var(--accent-text)}.tabbar a.active:before{content:"";position:absolute;top:0;width:28px;height:3px;border-radius:0 0 3px 3px;background:var(--accent)}.page-header{display:flex;align-items:center;gap:8px;min-height:48px}.page-header.large{align-items:flex-end;padding-top:8px}.page-header.large h1{font-size:2rem}.page-header-text{flex:1;min-width:0}.page-header-text h1{overflow-wrap:anywhere}.page-header:not(.large) .page-header-text h1{font-size:1.3rem}.page-header-text p{margin-top:4px;font-size:.92rem}.page-header-text .page-header-kicker{margin:0 0 4px}.page-header-actions{display:flex;gap:4px;align-items:center}.back-btn{margin-left:-10px}.page-header.large .avatar-link{align-self:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap);padding:0 18px;border-radius:999px;font-weight:700;font-size:.98rem;white-space:nowrap;transition:transform .08s ease,background-color .15s ease;-webkit-user-select:none;user-select:none}.btn:active:not(:disabled){transform:scale(.98)}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-secondary{background:var(--surface-2);color:var(--text)}.btn-secondary:hover:not(:disabled){background:var(--surface-3)}.btn-quiet{color:var(--muted);background:transparent}.btn-quiet:hover:not(:disabled){color:var(--text);background:var(--surface-2)}.btn-danger{background:var(--danger);color:#fff}.btn-lg{min-height:54px;font-size:1.05rem}.btn-sm{min-height:36px;padding:0 14px;font-size:.9rem}.btn-block{width:100%}.btn-row{display:flex;gap:10px;align-items:center}.btn-row .btn{flex:1}.btn-row .grow{flex:2}.icon-btn{width:var(--tap);height:var(--tap);display:inline-grid;place-items:center;border-radius:50%;color:var(--muted);flex:none}.icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.link-btn{display:inline-flex;align-items:center;gap:6px;color:var(--accent-text);font-weight:600;font-size:.92rem;min-height:32px;align-self:flex-start}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}[data-theme=light] .card{border-color:transparent;box-shadow:0 1px 2px #14161a0d,0 0 0 1px var(--line)}.hero{display:flex;flex-direction:column;gap:10px;padding:20px}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hero-title{font-size:1.65rem;font-weight:800;letter-spacing:-.03em;overflow-wrap:anywhere}.hero-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text)}.hero-clock{font-size:1.1rem;font-weight:700;font-variant-numeric:tabular-nums}.hero .facts{margin-bottom:6px}.hero .btn-quiet{margin-top:-4px}.hero.live{border-color:color-mix(in srgb,var(--live) 45%,var(--line))}.onboarding{align-items:flex-start}.onboarding .btn{margin-top:4px}.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:var(--accent-soft);color:var(--accent-text);font-size:.78rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.badge.sm{padding:2px 8px;font-size:.68rem}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:var(--surface-2);color:var(--text);font-size:.78rem;font-weight:600;line-height:1;white-space:nowrap}.tag.main{background:var(--accent-soft);color:var(--accent-text)}.tag.more{color:var(--muted)}.tags.lg .tag{height:30px;padding:0 12px;font-size:.86rem}.facts{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--muted);font-size:.9rem}.facts span{display:inline-flex;align-items:center;gap:6px}.facts svg{color:var(--accent-text)}.live-badge{background:color-mix(in srgb,var(--live) 16%,transparent);color:var(--live)}.pulse{width:8px;height:8px;border-radius:50%;background:currentColor;animation:pulse 1.4s ease-in-out infinite}@keyframes pulse{50%{opacity:.3}}.done-banner{display:flex;align-items:center;gap:10px;margin:-4px -4px 4px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--text);font-size:.92rem}.done-banner>svg:first-child{color:var(--accent-text);flex:none}.done-banner span{flex:1}.progress{height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden}.progress span{display:block;height:100%;background:var(--accent);border-radius:inherit;transition:width .3s ease}.progress.thin{height:3px;border-radius:0}.section{display:flex;flex-direction:column;gap:10px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat{display:flex;flex-direction:column;gap:2px;padding:14px 12px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);min-width:0}[data-theme=light] .stat{border-color:transparent;box-shadow:0 0 0 1px var(--line)}.stat svg{color:var(--accent-text);margin-bottom:6px}.stat strong{font-size:1.2rem;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat span{color:var(--muted);font-size:.78rem;line-height:1.25}.list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}[data-theme=light] .list{border-color:transparent;box-shadow:0 0 0 1px var(--line)}.list-item{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 14px 12px 16px}.list-item+.list-item{border-top:1px solid var(--line)}.list-item:hover{background:var(--surface-2)}.list-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.list-main strong{font-weight:650;overflow-wrap:anywhere}.list-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none;text-align:right;font-variant-numeric:tabular-nums}.list-meta strong{font-size:.9rem;font-weight:600}.stack{display:flex;flex-direction:column;gap:16px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field-label{font-size:.85rem;font-weight:600;color:var(--muted)}.input{width:100%;min-height:48px;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2);outline:none;transition:border-color .15s ease,box-shadow .15s ease}textarea.input{resize:vertical;min-height:88px}.input::placeholder{color:var(--muted);opacity:.8}.input:focus{border-color:var(--accent-text);box-shadow:var(--focus)}.input-lg{font-size:1.15rem;font-weight:650;min-height:54px}.input-wrap{position:relative}.input-wrap .input{padding-right:52px}.input-addon{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;color:var(--muted);border-radius:10px}.input-row{display:flex;gap:8px}.input-row .input{flex:1;min-width:0}.form-error{padding:10px 12px;border-radius:var(--radius-sm);background:var(--danger-soft);color:var(--danger);font-size:.92rem;font-weight:500}.stepper{display:grid;grid-template-columns:48px 1fr 48px;align-items:stretch;min-height:50px;border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);overflow:hidden}.stepper:focus-within{border-color:var(--accent-text)}.stepper>button{font-size:1.4rem;font-weight:500;color:var(--text)}.stepper>button:hover:not(:disabled){background:var(--surface-3)}.stepper-value{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0}.stepper-value input{width:100%;min-width:0;border:0;background:transparent;outline:none;text-align:center;font-size:1.12rem;font-weight:700;font-variant-numeric:tabular-nums}.stepper-value:has(span) input{text-align:right;width:5ch;flex:none}.stepper-value span{color:var(--muted);font-size:.85rem;flex:none;padding-right:6px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{min-height:36px;padding:0 14px;border-radius:999px;background:var(--surface-2);border:1px solid var(--line);font-size:.9rem;font-weight:600;font-variant-numeric:tabular-nums}.chip.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.segmented{display:flex;padding:4px;gap:4px;border-radius:999px;background:var(--surface-2)}.segmented button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border-radius:999px;font-weight:600;font-size:.9rem;color:var(--muted);white-space:nowrap;padding:0 8px}.segmented button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0000002e}[data-theme=dark] .segmented button.on{background:var(--surface-3)}.search{position:relative}.search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted)}.search .input{padding-left:44px}.sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:flex-end;justify-content:center;background:var(--backdrop);animation:fade-in .18s ease-out}.sheet{width:min(520px,100%);max-height:92dvh;display:flex;flex-direction:column;background:var(--surface);border-radius:24px 24px 0 0;padding:8px var(--gutter) calc(16px + var(--safe-b));box-shadow:var(--shadow);animation:sheet-in .24s cubic-bezier(.2,.9,.3,1);outline:none}.sheet-grip{width:40px;height:4px;border-radius:4px;background:var(--surface-3);margin:4px auto 12px;flex:none}.sheet-head{padding:0 2px 14px;display:flex;flex-direction:column;gap:4px}.sheet-head h2{font-size:1.2rem;overflow-wrap:anywhere}.sheet-body{overflow-y:auto;overscroll-behavior:contain;padding:2px}.sheet-footer{padding-top:16px}.sheet-text{color:var(--muted);font-size:.98rem;line-height:1.5}@keyframes fade-in{0%{opacity:0}}@keyframes sheet-in{0%{transform:translateY(40px);opacity:.4}}@media(min-width:640px){.sheet-backdrop{align-items:center}.sheet{border-radius:24px;max-height:86dvh}}.action-list{display:flex;flex-direction:column;border-radius:var(--radius);background:var(--surface-2);overflow:hidden}.action{display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 16px;text-align:left}.action+.action{border-top:1px solid var(--line)}.action:hover:not(:disabled){background:var(--surface-3)}.action>svg{color:var(--muted);flex:none}.action span{display:flex;flex-direction:column;min-width:0}.action strong{font-weight:600;overflow-wrap:anywhere}.action small{color:var(--muted);font-size:.82rem}.action.danger,.action.danger>svg{color:var(--danger)}.day-num{width:32px;height:32px;flex:none;border-radius:10px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent-text);font-weight:800;font-size:.9rem}.day-num.lg{width:42px;height:42px;border-radius:12px;font-size:1.05rem}.quick-start{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:var(--radius);background:var(--surface-2)}.quick-start .input{background:var(--surface)}.toasts{position:fixed;left:50%;bottom:calc(var(--tabbar-h) + 16px + var(--safe-b));transform:translate(-50%);width:min(488px,calc(100% - 32px));display:flex;flex-direction:column;gap:8px;z-index:60;pointer-events:none}.app.focused~.toasts{bottom:auto;top:calc(76px + var(--safe-t))}.toast{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:var(--text);color:var(--bg);font-weight:600;font-size:.92rem;box-shadow:var(--shadow);animation:toast-in .2s ease-out}.toast.error{background:var(--danger);color:#fff}.toast.success svg{color:var(--accent)}[data-theme=light] .toast.success svg{color:#c6f432}@keyframes toast-in{0%{transform:translateY(8px);opacity:0}}.skeleton{display:flex;flex-direction:column;gap:12px}.skeleton span{height:14px;border-radius:8px;background:linear-gradient(90deg,var(--surface-2),var(--surface-3),var(--surface-2));background-size:200% 100%;animation:shimmer 1.2s linear infinite}.skeleton span:first-child{height:20px}@keyframes shimmer{to{background-position:-200% 0}}.empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 20px;text-align:center;border:1.5px dashed var(--line);border-radius:var(--radius)}.empty-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted);margin-bottom:4px}.empty p{max-width:34ch}.empty .btn{margin-top:8px}.avatar{flex:none;display:inline-grid;place-items:center;border-radius:50%;object-fit:cover;background:var(--accent-soft);color:var(--accent-text);font-weight:800;letter-spacing:-.02em;overflow:hidden}.avatar-link{border-radius:50%;flex:none}.avatar-link:focus-visible{box-shadow:var(--focus);outline:none}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.week-day{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;border-radius:14px;background:var(--surface);border:1px solid var(--line)}[data-theme=light] .week-day{border-color:transparent;box-shadow:0 0 0 1px var(--line)}.week-label{font-size:.72rem;color:var(--muted);font-weight:600}.week-dot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:.88rem;font-weight:700;font-variant-numeric:tabular-nums}.week-day.future .week-dot{color:var(--muted);font-weight:500}.week-day.today{border-color:var(--accent-text);box-shadow:none}.week-day.trained .week-dot{background:var(--accent);color:var(--accent-ink)}.routine{display:flex;flex-direction:column;gap:10px}.routine-card{display:flex;align-items:center;gap:12px;padding:14px 8px 14px 14px}.routine-card.next{border-color:color-mix(in srgb,var(--accent-text) 60%,var(--line))}[data-theme=light] .routine-card.next{box-shadow:0 0 0 1.5px var(--accent-text)}.routine-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.routine-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.routine-title strong{font-size:1.05rem;overflow-wrap:anywhere}.routine-main .tags{margin:4px 0 2px}.move-btns{display:flex;flex-direction:column}.move-btns .icon-btn{width:40px;height:36px;border-radius:10px}.ex-list{display:flex;flex-direction:column;gap:8px}.ex-row{display:flex;align-items:center;padding:4px 4px 4px 0}.ex-row-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:10px 8px 10px 14px;text-align:left;border-radius:var(--radius-sm)}.ex-num{width:28px;height:28px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);font-size:.85rem;font-weight:700}.ex-text{display:flex;flex-direction:column;gap:2px;min-width:0}.ex-text strong{overflow-wrap:anywhere}.with-actionbar{display:flex;flex-direction:column;gap:16px;padding-bottom:96px}.actionbar{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(520px,100%);padding:12px var(--gutter) calc(12px + var(--safe-b));background:var(--bar);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;z-index:20}.picker{display:flex;flex-direction:column;gap:10px}.picker-head{position:sticky;top:-2px;z-index:1;display:flex;flex-direction:column;gap:10px;padding:2px 0 8px;background:var(--surface)}.filter-row{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -2px;padding:0 2px}.filter-row::-webkit-scrollbar{display:none}.filter-chip{flex:none;height:32px;padding:0 12px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:.85rem;font-weight:600;line-height:1}.filter-chip.on{background:var(--accent);color:var(--accent-ink)}.picker-selected{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.picker-selected strong{color:var(--accent-text)}.picker-empty{padding:16px 4px}.pick-list{display:flex;flex-direction:column}.pick-item{display:flex;align-items:center}.pick-item+.pick-item{border-top:1px solid var(--line)}.pick-row{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:11px 4px;text-align:left;border-radius:var(--radius-sm)}.pick-row.create{border:1px dashed var(--line);padding:11px 12px}.pick-check{width:26px;height:26px;flex:none;border-radius:50%;display:grid;place-items:center;border:2px solid var(--line);color:var(--accent-ink)}.pick-row.create .pick-check{border-style:dashed;color:var(--accent-text)}.pick-row.on .pick-check{background:var(--accent);border-color:var(--accent)}.pick-text{display:flex;flex-direction:column;gap:2px;min-width:0}.pick-text strong{overflow-wrap:anywhere}.picker-create{gap:12px}.pack-list{display:flex;flex-direction:column;gap:10px}.pack{display:flex;flex-direction:column;gap:6px;width:100%;text-align:left}.pack.on{border-color:var(--accent-text)}.pack-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.pack-days{display:flex;flex-direction:column;gap:10px;margin-top:4px}.pack-day{display:flex;align-items:flex-start;gap:8px;font-size:.9rem}.pack-day .day-num{width:24px;height:24px;font-size:.75rem}.pack-day-text{display:flex;flex-direction:column;gap:4px;min-width:0}.stack-sm{display:flex;flex-direction:column;gap:6px}.suggest{position:relative}.suggest-list{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5;display:flex;flex-direction:column;padding:4px;border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);max-height:300px;overflow-y:auto}.suggest-item{width:100%;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;text-align:left}.suggest-item:hover,.suggest-item:focus-visible{background:var(--surface-2)}.exercise-group{display:flex;align-items:center;gap:8px}.workout{display:flex;flex-direction:column;gap:14px}.workout.has-rest{padding-bottom:120px}.workout-head{position:sticky;top:0;z-index:15;margin:calc(-12px - var(--safe-t)) calc(-1 * var(--gutter)) 0;padding:calc(8px + var(--safe-t)) 8px 8px;display:flex;align-items:center;gap:4px;background:var(--bar);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--line);flex-wrap:wrap}.workout-head .btn{margin-left:4px;margin-right:6px}.workout-title{flex:1;min-width:0}.workout-title h1{font-size:1.1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workout-title p{color:var(--muted);font-size:.85rem}.workout-title p span{color:var(--text);font-weight:600}.workout-head .progress{flex-basis:100%;margin:8px -8px -8px}.exercise{display:flex;flex-direction:column;gap:10px;padding:14px 12px 8px}.exercise.complete{border-color:color-mix(in srgb,var(--accent-text) 40%,var(--line))}.exercise-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.exercise-head>div{min-width:0;padding-left:4px}.exercise-head h2{display:flex;align-items:center;gap:6px;font-size:1.1rem;overflow-wrap:anywhere}.exercise-head p{margin-top:3px}.exercise-head .icon-btn{margin:-8px -4px 0 0}.last-line{display:flex;align-items:flex-start;gap:6px;margin:0 4px;padding:8px 10px;border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:.84rem;font-variant-numeric:tabular-nums}.last-line svg{flex:none;margin-top:2px}.sets{display:flex;flex-direction:column;gap:6px}.set-row{display:grid;grid-template-columns:40px minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) 48px;align-items:center;gap:6px;padding:4px;border-radius:12px;transition:background-color .15s ease}.set-row.head{padding-top:0;padding-bottom:0;color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;text-align:center}.set-row.done{background:var(--accent-soft)}.set-num{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--surface-2);font-weight:700;font-size:.92rem;justify-self:center}.set-row.done .set-num{background:transparent;color:var(--accent-text)}.set-num.static{width:28px;height:28px;font-size:.82rem}.set-prev{min-height:40px;border-radius:10px;color:var(--muted);font-size:.85rem;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.set-prev:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.set-prev:disabled{opacity:1}.set-input{width:100%;min-width:0;height:44px;border-radius:10px;border:1px solid transparent;background:var(--surface-2);text-align:center;font-size:1.08rem;font-weight:700;font-variant-numeric:tabular-nums;outline:none}.set-input::placeholder{color:var(--muted);font-weight:500;opacity:.7}.set-input:focus{border-color:var(--accent-text);box-shadow:var(--focus)}.set-row.done .set-input{background:transparent}.set-check{width:44px;height:44px;justify-self:center;border-radius:12px;display:grid;place-items:center;background:var(--surface-2);color:var(--muted);transition:transform .1s ease,background-color .15s ease}.set-check:active{transform:scale(.92)}.set-check.on{background:var(--accent);color:var(--accent-ink)}.finish-cta{margin-top:4px}.restbar{position:fixed;left:50%;bottom:calc(12px + var(--safe-b));transform:translate(-50%);width:min(496px,calc(100% - 24px));border-radius:20px;background:var(--text);color:var(--bg);overflow:hidden;box-shadow:0 16px 40px #0006;z-index:30;animation:toast-in .2s ease-out}.restbar-progress{position:absolute;left:0;top:0;height:4px;width:100%;background:var(--accent);transform-origin:left;transition:transform 1s linear}[data-theme=light] .restbar-progress{background:#c6f432}.restbar-main{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 12px 12px 16px}.restbar-time{display:flex;flex-direction:column;min-width:0}.restbar-kicker{display:inline-flex;align-items:center;gap:4px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.7}.restbar-time strong{font-size:1.9rem;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.restbar-next{font-size:.8rem;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restbar-actions{display:flex;gap:6px;flex:none}.restbar-actions button{min-width:46px;height:44px;padding:0 10px;border-radius:12px;background:color-mix(in srgb,var(--bg) 12%,transparent);font-weight:700;font-size:.9rem;font-variant-numeric:tabular-nums;display:inline-flex;align-items:center;gap:4px}.restbar-actions .skip{background:var(--accent);color:var(--accent-ink)}.calendar{display:flex;flex-direction:column;gap:12px;touch-action:pan-y}.cal-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.cal-tools{display:flex;align-items:center;gap:2px}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.cal-weekday{text-align:center;font-size:.72rem;font-weight:700;color:var(--muted);padding-bottom:4px}.cal-day{position:relative;aspect-ratio:1;display:grid;place-items:center;border-radius:12px;font-size:.92rem;font-weight:600;font-variant-numeric:tabular-nums}.cal-day.future{color:var(--muted);font-weight:400}.cal-day.today{box-shadow:inset 0 0 0 2px var(--accent-text)}.cal-day.trained{background:var(--accent);color:var(--accent-ink);font-weight:800}.cal-count{position:absolute;top:2px;right:4px;font-size:.62rem;font-style:normal;font-weight:800}.celebrate{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:24px 18px;background:linear-gradient(160deg,var(--accent-soft),var(--surface) 70%);animation:pop .4s cubic-bezier(.2,1.4,.4,1)}.celebrate h2{font-size:1.4rem;font-weight:800}.highlights{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:6px;text-align:left}.highlights li{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:12px;background:var(--surface);font-size:.92rem;font-variant-numeric:tabular-nums}.highlights svg{color:var(--accent-text);flex:none;margin-top:3px}@keyframes pop{0%{transform:scale(.94);opacity:0}}.done-sets{display:flex;flex-direction:column;margin-top:10px}.done-sets li{display:flex;align-items:center;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-weight:600}.done-sets li.skipped{color:var(--muted);font-weight:400}.done-sets li .muted{margin-left:auto}.chart{margin:14px 0 6px}.chart-readout{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}.chart-readout strong{font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.chart svg{width:100%;height:auto;display:block;touch-action:pan-y;overflow:visible}.chart-grid line{stroke:var(--line);stroke-width:1}.chart-grid text,.chart-axis{fill:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.chart-crosshair{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}.chart-line{fill:none;stroke:var(--chart);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-dot{fill:var(--chart);stroke:var(--surface);stroke-width:2}.chart-dot.on{stroke-width:2.5}.login{width:min(420px,100%);min-height:100dvh;margin:0 auto;padding:32px var(--gutter);display:flex;flex-direction:column;justify-content:center;gap:24px}.login-brand{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.login-brand h1{font-size:2.2rem}.logo{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink)}.login-card{padding:20px}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.85rem}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.social{display:flex;flex-direction:column;align-items:stretch;gap:10px}.google-btn{display:flex;justify-content:center;min-height:44px;color-scheme:normal}.apple-btn{background:var(--text);color:var(--bg);border-radius:999px}.profile-hero{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:4px 0 8px}.profile-hero h2{font-size:1.4rem;margin-top:10px;overflow-wrap:anywhere}.profile-hero p{overflow-wrap:anywhere}.profile-photo{position:relative;border-radius:50%}.profile-photo:disabled{opacity:.6}.profile-photo-badge{position:absolute;right:0;bottom:0;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);border:3px solid var(--bg)}.profile-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px}.stat-wide{flex-direction:row;align-items:baseline;flex-wrap:wrap;column-gap:8px}.stat-wide svg{align-self:center;margin-bottom:0}
