:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#08080a;--surface:#111114;--surface-2:#1a1a1f;--surface-3:#24242a;--line:#ffffff14;--line-strong:#ffffff29;--text:#f5f5f4;--muted:#8b8b94;--inverse-bg:#f5f5f4;--inverse-text:#08080a;--accent:#3b6dff;--accent-strong:#6b91ff;--accent-soft:#3b6dff29;--on-accent:#fff;--danger:#ff5f57;--danger-soft:#ff5f5724;--font-display:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;--font-body:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--radius-sm:10px;--radius:16px;--radius-lg:24px;--gutter:16px;--nav-height:64px;--safe-bottom:env(safe-area-inset-bottom,0px);--ease:cubic-bezier(.2, .8, .2, 1);--fast:.16s}@media (prefers-color-scheme:light){:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f4f4f2;--surface:#fff;--surface-2:#ececea;--surface-3:#e0e0dd;--line:#00000014;--line-strong:#00000029;--text:#0a0a0b;--muted:#6b6b73;--inverse-bg:#0a0a0b;--inverse-text:#f5f5f4;--accent:#2453ff;--accent-strong:#2453ff;--accent-soft:#2453ff1f;--danger:#e5372e;--danger-soft:#e5372e1a}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{background:var(--bg);min-height:100dvh;color:var(--text);font-family:var(--font-body);-webkit-font-smoothing:antialiased;font-feature-settings:"cv11", "ss01";margin:0;font-size:15px;line-height:1.45}h1,h2,h3,p,ol,ul{margin:0}ol,ul{padding:0;list-style:none}a{color:inherit}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.3}img{max-width:100%;display:block}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}strong,.big-stat__value,.stat strong,.set-input{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-family:var(--font-display);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:600}.is-up{color:var(--accent-strong)}.is-down{color:var(--danger)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.boot,.boot-error{min-height:100dvh;padding:var(--gutter);text-align:center;color:var(--muted);font-family:var(--font-display);place-items:center;display:grid}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.page{width:100%;max-width:640px;padding:calc(env(safe-area-inset-top,0px) + 20px) var(--gutter) calc(var(--nav-height) + var(--safe-bottom) + 48px);animation:page-in .26s var(--ease);flex-direction:column;gap:16px;margin:0 auto;display:flex}.page[data-route=insights]{max-width:1080px}@keyframes page-in{0%{opacity:0;transform:translateY(6px)}}.page-header{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:8px;display:flex}.page-title{font-family:var(--font-display);letter-spacing:-.04em;margin-top:6px;font-size:clamp(40px,12vw,64px);font-weight:700;line-height:.9}.nav{left:50%;bottom:calc(12px + var(--safe-bottom));z-index:20;width:min(420px, calc(100% - 2 * var(--gutter)));height:var(--nav-height);background:color-mix(in srgb, var(--surface) 82%, transparent);border:1px solid var(--line);-webkit-backdrop-filter:blur(18px)saturate(1.4);border-radius:999px;gap:4px;padding:6px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 12px 40px #00000059}.nav__item{color:var(--muted);transition:background var(--fast) var(--ease), color var(--fast) var(--ease);border-radius:999px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;text-decoration:none;display:flex}.nav__item .icon{width:20px;height:20px}.nav__item.is-active{background:var(--inverse-bg);color:var(--inverse-text)}.btn{border:1px solid var(--line-strong);background:var(--surface-2);white-space:nowrap;min-height:44px;transition:transform var(--fast) var(--ease), background var(--fast) var(--ease);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:600;text-decoration:none;display:inline-flex}.btn:active{transform:scale(.97)}.btn--primary{background:var(--accent);color:var(--on-accent);border-color:#0000}.btn--danger{color:var(--danger)}.btn--danger.is-armed,.btn.is-armed{background:var(--danger);color:#fff;border-color:#0000}.btn--small{min-height:36px;padding:0 14px;font-size:14px}.btn--block{width:100%}.text-btn{min-height:36px;color:var(--muted);align-items:center;gap:6px;padding:0 4px;font-size:14px;font-weight:600;display:inline-flex}.text-btn:hover{color:var(--text)}.text-btn--danger.is-armed{color:var(--danger)}.ghost-btn{border:1px dashed var(--line-strong);border-radius:var(--radius);width:100%;min-height:48px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.ghost-btn:hover{color:var(--text);border-color:var(--muted)}.icon-btn{width:40px;height:40px;color:var(--muted);transition:background var(--fast) var(--ease);border-radius:50%;flex-shrink:0;place-items:center;display:inline-grid}.icon-btn:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.icon-btn--danger:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.link-btn{text-align:left;font-weight:600;line-height:1.25}.link-btn:hover{text-underline-offset:3px;text-decoration:underline}.field{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2);width:100%;min-height:46px;transition:border-color var(--fast) var(--ease);outline:none;padding:0 14px}.field:focus{border-color:var(--accent)}.field::placeholder{color:var(--muted)}.field--compact{min-height:40px}select.field{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 18px),calc(100% - 13px);background-repeat:no-repeat;background-size:5px 5px;padding-right:36px}.form{flex-direction:column;gap:14px;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-field{color:var(--muted);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.form-field .field{color:var(--text);font-size:15px;font-weight:400}.day-chips{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.day-chip{aspect-ratio:1;background:var(--surface);border:1px solid var(--line);max-height:48px;font-family:var(--font-display);color:var(--muted);transition:all var(--fast) var(--ease);border-radius:14px;font-size:15px;font-weight:700;position:relative}.day-chip.is-marked{color:var(--text)}.day-chip.is-marked:after{content:"";background:var(--accent);border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:6px;left:50%}.day-chip.is-today{border-color:var(--line-strong)}.day-chip.is-selected{background:var(--inverse-bg);color:var(--inverse-text);border-color:#0000}.chip-row{scrollbar-width:none;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter);align-items:center;gap:6px;display:flex;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip-row__label{letter-spacing:.06em;text-transform:uppercase;width:52px;color:var(--muted);flex-shrink:0;font-size:11px;font-weight:700}.chip{border:1px solid var(--line);background:var(--surface);white-space:nowrap;height:34px;color:var(--muted);border-radius:999px;flex-shrink:0;padding:0 14px;font-size:13px;font-weight:500}.chip.is-selected{background:var(--inverse-bg);color:var(--inverse-text);border-color:#0000}.stepper{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;align-items:center;height:34px;display:inline-flex}.stepper__btn{width:32px;height:100%;color:var(--muted);place-items:center;display:grid}.stepper__btn:hover{color:var(--text)}.stepper__value{text-align:center;font-variant-numeric:tabular-nums;min-width:52px;font-weight:700}.stepper__value small{color:var(--muted);margin-left:3px;font-size:11px;font-weight:500}.sheet{width:100%;max-width:640px;max-height:90dvh;color:var(--text);background:0 0;border:0;margin:auto auto 0;padding:0;overflow:visible}.sheet::backdrop{-webkit-backdrop-filter:blur(4px);animation:fade-in .2s var(--ease);background:#0009}.sheet__panel{border-radius:var(--radius-lg) var(--radius-lg) 0 0;background:var(--surface);border:1px solid var(--line);max-height:90dvh;padding-bottom:var(--safe-bottom);animation:sheet-up .26s var(--ease);border-bottom:0;flex-direction:column;display:flex}.sheet.is-closing .sheet__panel{animation:.18s ease-in forwards sheet-down}.sheet.is-closing::backdrop{opacity:0;transition:opacity .18s}.sheet__grip{background:var(--line-strong);border-radius:2px;width:40px;height:4px;margin:10px auto 0}.sheet__header{padding:8px 12px 4px var(--gutter);justify-content:space-between;align-items:center;gap:12px;display:flex}.sheet__title{font-family:var(--font-display);letter-spacing:-.02em;font-size:22px;font-weight:700;line-height:1.15}.sheet__body{padding:8px var(--gutter) 28px;overscroll-behavior:contain;flex-direction:column;gap:18px;display:flex;overflow-y:auto}.sheet__body>*{flex-shrink:0}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes sheet-down{to{transform:translateY(100%)}}@keyframes fade-in{0%{opacity:0}}.toast-region{left:50%;bottom:calc(var(--nav-height) + var(--safe-bottom) + 28px);z-index:50;pointer-events:none;width:calc(100% - 2 * var(--gutter));flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;transform:translate(-50%)}.toast{background:var(--inverse-bg);color:var(--inverse-text);animation:toast-in .22s var(--ease);border-radius:999px;padding:10px 16px;font-size:14px;font-weight:600;box-shadow:0 8px 30px #0000004d}.toast.is-leaving{opacity:0;transition:all .25s var(--ease);transform:translateY(8px)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)scale(.96)}}.rest-timer{left:50%;bottom:calc(var(--nav-height) + var(--safe-bottom) + 24px);z-index:30;background:var(--accent);color:var(--on-accent);animation:toast-in .22s var(--ease);border-radius:999px;align-items:center;gap:10px;padding:6px 6px 6px 16px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 10px 30px #3b6dff66}.rest-timer.is-done{background:var(--inverse-bg);color:var(--inverse-text);animation:1s ease-in-out infinite pulse}.rest-timer__label{opacity:.85;font-size:13px;font-weight:600}.rest-timer__time{min-width:44px;font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:20px;font-weight:700}.rest-timer__btn{background:#ffffff2e;border-radius:999px;place-items:center;min-width:36px;height:36px;padding:0 10px;font-size:13px;font-weight:700;display:grid}@keyframes pulse{50%{transform:translate(-50%)scale(1.05)}}.banner{border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);align-items:center;gap:14px;padding:14px 16px;display:flex}.banner>div{flex:1}.banner p{color:var(--muted);font-size:13px}.banner--success{background:var(--accent);color:var(--on-accent);border-color:#0000}.banner--success p{color:#fffc}.banner--picking{border-color:var(--accent);background:var(--accent-soft)}.notice{color:var(--muted);border-radius:var(--radius-sm);background:var(--surface);padding:10px 14px;font-size:13px}.empty{border-radius:var(--radius-lg);border:1px dashed var(--line-strong);flex-direction:column;align-items:flex-start;gap:8px;padding:28px 20px;display:flex}.empty__title{font-family:var(--font-display);letter-spacing:-.02em;font-size:24px;font-weight:700}.empty__text{color:var(--muted);max-width:40ch;margin-bottom:8px}.thumb{background:var(--surface-3);border-radius:12px;flex-shrink:0;place-items:center;display:grid;position:relative;overflow:hidden}.thumb--sm{width:44px;height:44px}.thumb--md{width:56px;height:56px}.thumb img{object-fit:cover;opacity:0;filter:grayscale()contrast(1.05);width:100%;height:100%;transition:opacity .24s var(--ease);position:absolute;inset:0}.thumb.has-image img{opacity:1}.thumb__initials{font-family:var(--font-display);color:var(--muted);font-size:15px;font-weight:700}.demo{aspect-ratio:4/3;border-radius:var(--radius);background:#fff;position:relative;overflow:hidden}.demo__frame{object-fit:contain;filter:grayscale()contrast(1.05);width:100%;height:100%;position:absolute;inset:0}.demo__frame--1{animation:2.4s step-end infinite demo-swap}@keyframes demo-swap{0%{opacity:0}50%{opacity:1}}.tags,.muscles{flex-wrap:wrap;gap:6px;display:flex}.tag{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}.muscle{border:1px solid var(--line-strong);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:500}.muscle--primary{background:var(--accent);color:var(--on-accent);border-color:#0000}.detail-section{flex-direction:column;gap:10px;display:flex}.instructions{counter-reset:step;flex-direction:column;gap:12px;list-style:none;display:flex}.instructions li{counter-increment:step;color:var(--muted);grid-template-columns:28px 1fr;gap:8px;display:grid}.instructions li:before{content:counter(step, decimal-leading-zero);font-family:var(--font-display);color:var(--text);font-weight:700}.ring{flex-shrink:0;position:relative}.ring__track{fill:none;stroke:var(--surface-3)}.ring__value{fill:none;stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset .6s var(--ease)}.ring__center{place-items:center;display:grid;position:absolute;inset:0}.ring__text{font-family:var(--font-display);color:var(--muted);font-size:13px}.ring__text strong{color:var(--text);font-size:22px}.ring__text--lg{color:var(--text);font-size:22px;font-weight:700}.progress{background:var(--surface-3);border-radius:999px;position:relative;overflow:hidden}.progress--slim{height:4px}.progress--bold{height:22px}.progress__fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .7s var(--ease)}.progress--bold .progress__fill{background-image:repeating-linear-gradient(-45deg,#ffffff24 0 8px,#0000 8px 16px);background-color:var(--accent);background-size:22px 22px;animation:1.2s linear infinite stripes}.progress__ticks{background-image:linear-gradient(to right, var(--bg) 2px, transparent 2px);opacity:.5;pointer-events:none;background-size:10% 100%;position:absolute;inset:0}@keyframes stripes{to{background-position:22px 0}}.progress-labels{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;font-size:12px;display:flex}.chart{width:100%;height:auto;overflow:visible}.chart__grid line{stroke:var(--line);stroke-dasharray:2 4}.chart__grid text,.chart__bar-label{fill:var(--muted);font-size:9px;font-family:var(--font-body)}.chart__line{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round;stroke-linecap:round}.chart__secondary{fill:none;stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:4 4}.chart__area-stop-top{stop-color:var(--accent);stop-opacity:.35}.chart__area-stop-bottom{stop-color:var(--accent);stop-opacity:0}.chart__target{stroke:var(--text);stroke-width:1px;stroke-dasharray:6 4;opacity:.6}.chart__dot{fill:var(--accent)}.chart__dot--last{fill:var(--text);stroke:var(--accent);stroke-width:3px}.chart__bar rect{fill:var(--surface-3)}.chart__bar.is-highlight rect{fill:var(--accent)}.chart__bar-value{fill:var(--text);font-size:10px;font-weight:700}.legend{flex-wrap:wrap;align-items:center;gap:14px;font-size:12px;display:flex}.legend__item:before{content:"";vertical-align:middle;border-top:2.5px solid var(--accent);width:16px;margin-right:6px;display:inline-block}.legend__item--dashed:before{border-top:2px dashed var(--muted)}.big-stat{flex-direction:column;gap:2px;display:flex}.big-stat__value{font-family:var(--font-display);letter-spacing:-.04em;font-size:clamp(44px,12vw,60px);font-weight:700;line-height:1}.big-stat__value small{letter-spacing:0;color:var(--muted);font-size:.4em}.big-stat.is-up .big-stat__value{color:var(--accent-strong)}.big-stat.is-down .big-stat__value{color:var(--danger)}.big-stat__caption{color:var(--muted);font-size:13px}.stat-row{grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:8px;display:grid}.stat{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;gap:2px;min-width:0;padding:10px 12px;display:flex}.stat strong{font-family:var(--font-display);white-space:nowrap;text-overflow:ellipsis;font-size:18px;overflow:hidden}.stat span{color:var(--muted);font-size:11px}.stat.is-up strong{color:var(--accent-strong)}.stat.is-down strong{color:var(--danger)}.simple-list li{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:4px 0;font-size:14px;display:flex}.simple-list li span{color:var(--muted);flex:1}.disclosure summary{cursor:pointer;color:var(--muted);padding:4px 0;font-size:13px;font-weight:600}.today-hero{flex-direction:column;gap:18px;display:flex}.today-hero__top{justify-content:space-between;align-items:center;margin-right:-8px;display:flex}.today-hero__title{font-family:var(--font-display);letter-spacing:-.055em;text-transform:uppercase;overflow-wrap:anywhere;font-size:clamp(56px,19vw,112px);font-weight:700;line-height:.82}.today-hero__stats{align-items:stretch;gap:10px;display:flex}.hero-chip{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);min-width:0;color:var(--muted);flex-direction:column;flex:1;justify-content:center;gap:2px;padding:12px 14px;font-size:12px;text-decoration:none;display:flex}.hero-chip strong{font-family:var(--font-display);color:var(--text);font-size:26px;line-height:1}.hero-chip .icon{color:var(--accent-strong)}.hero-chip--goal{gap:10px}.hero-chip__row{align-items:baseline;gap:6px;display:flex}.hero-chip__row strong{font-size:18px}.hero-chip__row .icon{align-self:center}.workout-list{flex-direction:column;gap:12px;display:flex}.workout-card{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);transition:border-color var(--fast) var(--ease);padding:14px}.workout-card.is-complete{border-color:var(--accent)}.workout-card__header{grid-template-columns:auto auto 1fr auto;align-items:center;gap:12px;margin-bottom:12px;display:grid}.workout-card__number{font-family:var(--font-display);letter-spacing:-.04em;color:#0000;-webkit-text-stroke:1.2px var(--muted);min-width:36px;font-size:30px;font-weight:700}.workout-card.is-complete .workout-card__number{color:var(--accent);-webkit-text-stroke-color:var(--accent)}.workout-card__title{min-width:0}.workout-card__title .link-btn{font-size:16px}.workout-card__hint{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;font-size:12px;display:flex}.hint-up{background:var(--accent-soft);color:var(--accent-strong);border-radius:999px;align-items:center;gap:3px;padding:1px 8px;font-weight:600;display:inline-flex}.workout-card__count{font-family:var(--font-display);color:var(--muted);font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.set-list{flex-direction:column;gap:6px;display:flex}.set-row{background:var(--surface-2);transition:background var(--fast) var(--ease), opacity var(--fast) var(--ease);border-radius:14px;grid-template-columns:22px 1fr 12px 1fr 48px;align-items:center;gap:8px;padding:4px 4px 4px 8px;display:grid}.set-row.is-done{background:var(--accent-soft)}.set-row__index{font-family:var(--font-display);color:var(--muted);text-align:center;font-weight:700}.set-row__times{text-align:center;color:var(--muted)}.set-field{background:var(--surface);cursor:text;border-radius:10px;align-items:baseline;gap:4px;min-width:0;height:42px;padding:0 10px;display:flex}.set-field:focus-within{box-shadow:inset 0 0 0 1.5px var(--accent)}.set-input{width:100%;min-width:0;height:100%;font-family:var(--font-display);background:0 0;border:0;outline:none;font-size:20px;font-weight:700}.set-field__unit{color:var(--muted);font-size:11px}.check-btn{border:1.5px solid var(--line-strong);width:44px;height:42px;color:var(--muted);transition:all var(--fast) var(--ease);border-radius:12px;place-items:center;display:grid}.check-btn:active{transform:scale(.92)}.check-btn[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--on-accent);animation:pop .26s var(--ease)}@keyframes pop{40%{transform:scale(1.12)}}.workout-card__footer{gap:12px;margin-top:8px;display:flex}.week-grid{scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter);grid-auto-columns:104px;grid-auto-flow:column;gap:8px;display:grid;overflow-x:auto}.week-grid::-webkit-scrollbar{display:none}@media (width>=640px){.week-grid{grid-template-columns:repeat(7,1fr);grid-auto-flow:row;margin:0;padding:0}}.week-tile{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);scroll-snap-align:start;min-height:96px;transition:all var(--fast) var(--ease);flex-direction:column;gap:4px;padding:12px;text-decoration:none;display:flex}.week-tile.is-today{border-color:var(--line-strong)}.week-tile.is-rest{background:0 0;border-style:dashed}.week-tile.is-selected{background:var(--inverse-bg);color:var(--inverse-text);border-color:#0000}.week-tile__day{font-family:var(--font-display);letter-spacing:-.03em;font-size:22px;font-weight:700;line-height:1}.week-tile__label{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.week-tile__meta{opacity:.6;margin-top:auto;font-size:11px}.day-editor{flex-direction:column;gap:14px;display:flex}.day-editor__head{justify-content:space-between;align-items:baseline;gap:12px;margin-top:8px;display:flex}.day-editor__title{font-family:var(--font-display);letter-spacing:-.03em;font-size:32px;font-weight:700}.day-editor__tools{justify-content:space-between;display:flex}.plan-list{flex-direction:column;gap:8px;display:flex}.plan-row{border-radius:var(--radius);background:var(--surface);border:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:start;gap:12px;padding:12px;display:grid}.plan-row__main{flex-direction:column;gap:2px;min-width:0;display:flex}.plan-row__targets{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.plan-row__actions{flex-direction:column;margin:-6px -6px -6px 0;display:flex}.plan-row__actions .icon-btn{width:34px;height:34px}.search{z-index:10;margin:0 calc(-1 * var(--gutter));padding:10px var(--gutter);background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);color:var(--muted);align-items:center;gap:10px;display:flex;position:sticky;top:0}.search>.icon{left:calc(var(--gutter) + 16px);pointer-events:none;position:absolute}.search__input{border:1px solid var(--line);background:var(--surface);width:100%;height:52px;color:var(--text);border-radius:999px;outline:none;padding:0 16px 0 46px;font-size:16px}.search__input:focus{border-color:var(--accent)}.filters{flex-direction:column;gap:8px;display:flex}.results-count{margin-top:4px}.lib-list{flex-direction:column;display:flex}.lib-row{border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex}.lib-row__main{text-align:left;flex:1;align-items:center;gap:14px;min-width:0;padding:10px 0;display:flex}.lib-row__text{flex-direction:column;gap:2px;min-width:0;display:flex}.lib-row__name{font-weight:600;line-height:1.25}.lib-row__meta{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.add-btn{border:1.5px solid var(--line-strong);min-width:42px;height:42px;transition:all var(--fast) var(--ease);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:2px;padding:0 8px;font-size:12px;font-weight:700;display:inline-flex}.add-btn:active{transform:scale(.9)}.add-btn.is-added{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.sentinel{height:1px}.bento{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}@media (width>=900px){.bento{grid-template-columns:repeat(4,minmax(0,1fr))}.card--goal{grid-row:span 2}}.card{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--line);flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.card--full{grid-column:span 2}.card--half{grid-column:span 1}.card__header{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.card__title{font-family:var(--font-display);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.card__title .icon{color:var(--accent-strong)}.card--goal,.card--streak{background:var(--inverse-bg);color:var(--inverse-text);border-color:#0000}.card--goal .muted,.card--goal .card__title,.card--goal .big-stat__caption,.card--goal .progress-labels,.card--goal .disclosure summary,.card--goal .simple-list li span,.card--streak .muted,.card--streak .card__title,.card--streak .big-stat__caption{color:color-mix(in srgb, var(--inverse-text) 55%, transparent)}.card--goal .stat{background:color-mix(in srgb, var(--inverse-text) 7%, transparent)}.card--goal .stat.is-up strong{color:var(--accent)}.card--goal .progress{background:color-mix(in srgb, var(--inverse-text) 10%, transparent)}.card--goal .progress__ticks{background-image:linear-gradient(to right, var(--inverse-bg) 2px, transparent 2px)}.card--goal .field{background:color-mix(in srgb, var(--inverse-text) 6%, transparent);border-color:color-mix(in srgb, var(--inverse-text) 12%, transparent);color:var(--inverse-text)}.card--goal .field::placeholder{color:color-mix(in srgb, var(--inverse-text) 45%, transparent)}.card--goal .text-btn,.card--goal .icon-btn{color:color-mix(in srgb, var(--inverse-text) 60%, transparent)}.card--goal .simple-list li{border-color:color-mix(in srgb, var(--inverse-text) 10%, transparent)}.card--goal .chart__grid line{stroke:color-mix(in srgb, var(--inverse-text) 12%, transparent)}.card--goal .chart__grid text{fill:color-mix(in srgb, var(--inverse-text) 50%, transparent)}.card--goal .chart__target{stroke:var(--inverse-text)}.card--goal .chart__dot--last{fill:var(--inverse-bg)}.card--streak .card__title .icon{color:var(--accent)}.goal-head{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.goal-percent{font-family:var(--font-display);color:var(--accent);font-size:28px;font-weight:700}.weigh-in{gap:8px;display:flex}.this-week{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.week-dots{gap:6px;display:flex}.week-dot{flex-direction:column;align-items:center;gap:6px;display:flex}.week-dot__mark{border:2px solid var(--line-strong);border-radius:50%;width:26px;height:26px}.week-dot__letter{color:var(--muted);font-size:11px;font-weight:700}.week-dot.is-done .week-dot__mark,.week-dot.is-extra .week-dot__mark{background:var(--accent);border-color:var(--accent)}.week-dot.is-missed .week-dot__mark{border-color:var(--danger);background:var(--danger-soft)}.week-dot.is-today .week-dot__mark{border-color:var(--text);border-style:dashed}.week-dot.is-rest .week-dot__mark{background:var(--surface-2);border-color:#0000;transform:scale(.5)}.heatmap{grid-template-rows:repeat(7,auto);grid-template-columns:repeat(var(--weeks), minmax(0, 1fr));grid-auto-flow:column;gap:3px;display:grid}.heatmap__cell{aspect-ratio:1;background:var(--surface-2);border-radius:3px;display:block}.heatmap__cell.level-1{background:color-mix(in srgb, var(--accent) 35%, var(--surface-2))}.heatmap__cell.level-2{background:color-mix(in srgb, var(--accent) 60%, var(--surface-2))}.heatmap__cell.level-3{background:color-mix(in srgb, var(--accent) 80%, var(--surface-2))}.heatmap__cell.level-4{background:var(--accent)}.heatmap__cell.is-missed{box-shadow:inset 0 0 0 1px var(--danger-soft)}.heatmap__cell.is-future{box-shadow:inset 0 0 0 1px var(--line);background:0 0}.heatmap__cell.is-today{box-shadow:inset 0 0 0 1.5px var(--text)}.heatmap__legend{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.heatmap__scale{color:var(--muted);align-items:center;gap:3px;font-size:11px;display:flex}.heatmap__scale .heatmap__cell{width:10px}.adherence{place-items:center;padding:4px 0;display:grid}.hbar-list{flex-direction:column;gap:8px;display:flex}.hbar{grid-template-columns:96px 1fr 28px;align-items:center;gap:10px;font-size:13px;display:grid}.hbar__track{background:var(--surface-2);border-radius:999px;height:10px;overflow:hidden}.hbar__fill{border-radius:inherit;background:var(--accent);height:100%;display:block}.hbar__value{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.rank-list{flex-direction:column;gap:2px;margin-top:8px;display:flex}.rank-list li{border-top:1px solid var(--line);grid-template-columns:24px 1fr auto;align-items:center;column-gap:8px;padding:8px 0;display:grid}.rank-list li>.muted{grid-column:2/-1}.rank-list__pos{font-family:var(--font-display);color:var(--muted);grid-row:span 2;font-size:22px;font-weight:700}.rank-list__value{font-family:var(--font-display);font-weight:700}.pr-list{flex-direction:column;display:flex}.pr{border-top:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:10px 0;display:grid}.pr__icon{background:var(--accent-soft);width:32px;height:32px;color:var(--accent-strong);border-radius:50%;place-items:center;display:grid}.pr__main,.pr__value{flex-direction:column;min-width:0;display:flex}.pr__value{text-align:right;align-items:flex-end}.lifetime-hero{flex-direction:column;display:flex}.lifetime-hero__value{font-family:var(--font-display);letter-spacing:-.05em;font-size:clamp(56px,16vw,88px);font-weight:700;line-height:.9}.lifetime-hero__caption{color:var(--muted);font-size:14px}.lifetime-hero__caption em{color:var(--accent-strong);font-style:normal;font-weight:600}.tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.tile{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;padding:10px;display:flex}.tile strong{font-family:var(--font-display);font-size:18px}.tile span{color:var(--muted);font-size:11px}@media (width<=380px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.settings{gap:0;padding:4px 18px}.setting{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.setting:last-child{border-bottom:0}.setting p{margin-top:2px}.about{gap:8px}.about a{color:var(--accent-strong)}
