:root{--bg:#0b0b0d;--surface:#17171b;--surface-2:#222228;--text:#f4f4f6;--muted:#8e8e98;--accent:#4ade80;--gym:#60a5fa;--run:#f59e0b;--drills:#a78bfa;--meditation:#2dd4bf;--yoga:#f472b6;--mobility:#a3e635;--other:#94a3b8;--radius:14px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,system-ui,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0}h1,h2{margin:0}.app{max-width:560px;padding:calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 24px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.top{justify-content:space-between;align-items:baseline;margin-bottom:4px;display:flex}.top h1{font-size:34px;font-weight:700}.muted{color:var(--muted)}.card{background:var(--surface);border-radius:var(--radius);border-left:4px solid var(--kind-color,var(--accent));padding:16px}.card h2{margin-bottom:10px;font-size:20px}.kind-gym{--kind-color:var(--gym)}.kind-run{--kind-color:var(--run)}.kind-drills{--kind-color:var(--drills)}.kind-meditation{--kind-color:var(--meditation)}.kind-yoga{--kind-color:var(--yoga)}.kind-mobility{--kind-color:var(--mobility)}.kind-other{--kind-color:var(--other)}.items{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.items li{justify-content:space-between;gap:12px;font-size:15px;display:flex}.items li .muted{text-align:right}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:16px;font-size:15px}.week{background:var(--surface);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.week li{border-bottom:1px solid var(--surface-2)}.week li:last-child{border-bottom:none}.week button{text-align:left;gap:16px;width:100%;padding:12px 16px;font-size:15px;display:flex}.week button.is-selected{background:var(--surface-2)}.week .day{width:36px;color:var(--muted);flex-shrink:0}.week .is-today .day{color:var(--accent);font-weight:600}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:0}.btn-primary,.btn-secondary{border-radius:var(--radius);width:100%;min-height:56px;font-size:17px;font-weight:600}.btn-primary{background:var(--kind-color,var(--accent));color:#0b0b0d}.btn-secondary{background:var(--surface-2)}.btn-primary:active,.btn-secondary:active,.feedback button:active,.stepper button:active{opacity:.7}.btn-text{color:var(--kind-color,var(--accent));padding:8px 0;font-size:17px}.card .btn-primary,.card .btn-secondary{min-height:48px;margin-top:14px}.card-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.card-head h2{margin-bottom:0}.banner{background:var(--surface-2);border-radius:var(--radius);color:var(--accent);justify-content:space-between;align-items:center;padding:14px 16px;font-size:15px;display:flex}.banner strong{color:var(--text)}.chip{background:var(--surface-2);color:var(--fb,var(--text));border-radius:999px;padding:3px 10px;font-size:13px;font-weight:600;display:inline-block}.feedback-easy{--fb:#60a5fa}.feedback-good{--fb:#4ade80}.feedback-hard{--fb:#f59e0b}.feedback-failed{--fb:#f87171}.workout{max-width:560px;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 4px) 16px calc(env(safe-area-inset-bottom) + 16px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.workout-top{justify-content:space-between;align-items:center;min-height:44px;display:flex}.workout-title{font-weight:600}.workout-top-spacer{width:60px}.progress{background:var(--surface-2);border-radius:2px;height:4px;overflow:hidden}.progress>div{background:var(--kind-color,var(--accent));height:100%;transition:width .3s}.workout-body{text-align:center;flex-direction:column;flex:1;justify-content:center;gap:8px;display:flex}.set-count{color:var(--kind-color,var(--muted));text-transform:uppercase;letter-spacing:.08em;margin:0;font-size:14px;font-weight:600}.exercise-name{font-size:30px;font-weight:700}.target{font-variant-numeric:tabular-nums;margin:12px 0 0;font-size:64px;font-weight:800;line-height:1}.target-unit{color:var(--muted);font-size:24px;font-weight:600}.target-sub{color:var(--muted);margin:0 0 12px;font-size:22px}.clock{margin-bottom:12px;font-size:88px}.clock.is-done{color:var(--accent)}.item-notes{font-size:14px}.workout-actions{flex-direction:column;gap:12px;margin-top:auto;display:flex}.steppers{gap:10px;display:flex}.stepper{background:var(--surface);border-radius:var(--radius);flex-direction:column;flex:1;gap:6px;min-width:0;padding:10px;display:flex}.stepper-label{color:var(--muted);font-size:13px}.stepper-row{align-items:center;gap:6px;display:flex}.stepper button{background:var(--surface-2);border-radius:50%;flex-shrink:0;width:44px;height:44px;font-size:24px;line-height:1}.stepper input{width:0;min-width:0;color:var(--text);font:inherit;text-align:center;font-variant-numeric:tabular-nums;appearance:textfield;background:0 0;border:0;flex:1;font-size:24px;font-weight:700}.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.feedback{grid-template-columns:1fr 1fr;gap:10px;display:grid}.feedback button{border-radius:var(--radius);background:var(--surface);border:2px solid color-mix(in srgb, var(--fb) 45%, transparent);min-height:64px;color:var(--fb);font-size:17px;font-weight:600}.skip{color:var(--muted);align-self:center;font-size:15px}.rest-adjust{justify-content:center;gap:10px;display:flex}.rest-adjust .btn-secondary{width:96px;min-height:44px}.up-next{flex-direction:column;gap:4px;margin-top:32px;font-size:17px;display:flex}.summary{justify-content:flex-start;padding-top:24px}.summary-items{text-align:left;background:var(--surface);border-radius:var(--radius);margin:12px 0;padding:0;list-style:none}.summary-items li{border-bottom:1px solid var(--surface-2);flex-direction:column;gap:8px;padding:12px 16px;display:flex}.summary-items li:last-child{border-bottom:none}.summary-name{font-weight:600}.summary-sets{flex-wrap:wrap;gap:6px;display:flex}textarea{background:var(--surface);width:100%;color:var(--text);border-radius:var(--radius);font:inherit;resize:vertical;border:0;padding:12px;font-size:16px}.note{margin:-4px 0 0;font-size:14px}.day-progress p{margin:0 0 8px;font-size:17px}.day-progress .is-complete{color:var(--accent)}.checklist{border-left:none;padding:4px 16px}.checklist-group+.checklist-group{border-top:1px solid var(--surface-2)}.group-title{text-transform:uppercase;letter-spacing:.06em;color:var(--kind-color);margin:12px 0 0;font-size:13px}.rows{margin:0;padding:0;list-style:none}.row{flex-wrap:wrap;align-items:center;gap:4px 12px;padding:10px 0;display:flex}.row+.row{border-top:1px solid var(--surface-2)}.row-main{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;min-height:44px;display:flex}.row-text{flex-direction:column;gap:2px;min-width:0;display:flex}.row-name{font-size:17px}.row-sub{color:var(--muted);font-size:14px}.row.is-skipped .row-name{color:var(--muted)}.ring{background:radial-gradient(var(--surface) 58%, transparent 60%), conic-gradient(var(--kind-color) var(--pct), color-mix(in srgb, var(--kind-color) 25%, var(--surface-2)) 0);border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:16px;font-weight:700;display:grid}.row.is-done .ring{background:var(--kind-color);color:#0b0b0d}.row.is-skipped .ring{color:var(--muted)}.ring-button{place-items:center;width:44px;height:44px;margin:0 -7px;display:grid}.row-action{align-items:center;gap:10px;display:flex}.row-timer{font-variant-numeric:tabular-nums;color:var(--kind-color);font-size:17px;font-weight:700}.pill{background:var(--surface-2);min-height:36px;color:var(--kind-color);border-radius:999px;padding:0 14px;font-size:15px;font-weight:600}.pill.is-strong{background:var(--kind-color);color:#0b0b0d}.pill:active,.btn-small:active{opacity:.7}.row-details{flex-direction:column;flex-basis:100%;gap:10px;padding:4px 0 6px 42px;display:flex}.row-notes,.row-prompt{margin:0;font-size:14px}.row-form{flex-direction:column;gap:10px;margin-left:-42px;display:flex}.row-form .stepper{background:var(--surface-2)}.row-form .stepper button{background:var(--bg)}.row-form .feedback button{background:var(--surface-2);min-height:48px}.inline-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.btn-small{background:var(--surface-2);border-radius:10px;min-height:36px;padding:0 14px;font-size:15px}.btn-small.is-strong{background:var(--kind-color,var(--accent));color:#0b0b0d;font-weight:600}.btn-small:disabled{opacity:.4}.skip-form{flex-direction:column;gap:8px;display:flex}input:not([type=number]){background:var(--surface-2);width:100%;min-height:44px;color:var(--text);font:inherit;border:0;border-radius:10px;padding:0 12px;font-size:16px}.card .skip-form,.card-skip{margin-top:8px}.card-skip{color:var(--muted);margin-left:auto;margin-right:auto;font-size:15px;display:block}.skipped-note{justify-content:space-between;align-items:center;gap:12px;display:flex}.activity-note{font-size:14px;display:block}.activity-meta{flex-shrink:0;align-items:center;gap:10px;display:flex}.activity-form{flex-direction:column;gap:10px;display:flex}.activity-form h2{margin-bottom:0}.activity-form .stepper,.activity-form textarea{background:var(--surface-2)}.activity-form .stepper button{background:var(--bg)}.choices{flex-wrap:wrap;gap:8px;display:flex}.choice{background:var(--surface-2);border-radius:999px;min-height:36px;padding:0 14px;font-size:15px}.choice.is-selected{background:var(--text);color:#0b0b0d;font-weight:600}.segmented .choice{flex:1}.field{display:block}.field+.field{margin-top:12px}.field-label{color:var(--muted);margin-bottom:6px;font-size:13px;display:block}.hint{margin:-4px 0 0;font-size:13px;line-height:1.4}.edit-list{background:var(--surface);border-radius:var(--radius);margin:0;padding:0;list-style:none;overflow:hidden}.edit-list>li{border-bottom:1px solid var(--surface-2);align-items:center;gap:4px;padding-right:8px;display:flex}.edit-list>li:last-child{border-bottom:none}.edit-list>li.is-open{background:var(--surface-2);padding-right:0;display:block}.edit-row{text-align:left;flex:1;align-items:center;gap:10px;min-height:56px;padding:10px 4px 10px 14px;display:flex}.edit-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.edit-name{font-size:17px}.edit-sub{font-size:13px}.kind-dot{background:var(--kind-color,var(--muted));vertical-align:middle;border-radius:50%;width:9px;height:9px;display:inline-block}.edit-chevron{color:var(--muted);padding-right:6px;font-size:20px}.reorder{gap:2px;display:flex}.reorder button{background:var(--surface-2);border-radius:10px;width:36px;height:36px;font-size:15px}.reorder button:disabled{opacity:.25}.is-open .edit-row{padding-right:14px}.day-edit{flex-direction:column;gap:8px;padding:0 14px 14px;display:flex}.day-chosen{background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 6px 6px 12px;display:flex}.day-chosen-actions{align-items:center;gap:6px;display:flex}.day-edit .reorder button,.day-chosen .btn-small{background:var(--surface-2)}.form-actions{flex-direction:column;align-items:stretch;gap:8px;margin-top:8px;display:flex}.form-actions .btn-text{align-self:center}.is-danger{color:#f87171}button.btn-secondary.is-danger{background:var(--surface);box-shadow:inset 0 0 0 1px #f8717155}.issues{border-radius:var(--radius);background:#f8717122;padding:12px 14px;font-size:14px}.issues ul{color:var(--muted);margin:6px 0 0;padding-left:18px}.steppers .stepper,.steppers .field{flex:1;margin-top:0}.is-open .edit-row{width:100%}.edit-chevron{transition:transform .15s}.is-open .edit-chevron{transform:rotate(90deg)}.backup .hint{margin:0}.backup-last{margin:10px 0 4px;font-size:15px}.backup-status{margin:12px 0 0;font-size:14px;line-height:1.4}.backup-status.is-ok{color:var(--accent)}.backup-status.is-error{color:#f87171}.backup-confirm{border-radius:var(--radius);background:#f8717122;margin-top:14px;padding:12px 14px;font-size:14px}.backup-confirm dl{margin:8px 0 10px}.backup-confirm dt{color:var(--muted);margin-top:8px;font-size:13px}.backup-confirm dd{margin:2px 0 0;line-height:1.4}
