:root{--bg:#0d0e11;--surface:#17191e;--surface-2:#20232a;--surface-3:#2a2e37;--border:#2a2d35;--text:#f3f4f6;--text-2:#a3a8b4;--text-3:#6f7480;--accent:#c8f53c;--accent-ink:#11140a;--accent-soft:#c8f53c1f;--danger:#ff6b6b;--danger-soft:#ff6b6b1f;--radius:18px;--radius-sm:12px;--tabbar-h:60px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--gutter:16px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.4}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{overscroll-behavior:none;background:var(--bg);height:100%;margin:0;overflow:hidden}#root{height:100%}button,input{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0}button:disabled{opacity:.4;cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,h3,p{margin:0}.app{flex-direction:column;max-width:640px;height:100dvh;margin:0 auto;display:flex;position:relative}.view{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.topbar{padding:calc(var(--safe-top) + 12px) var(--gutter) 12px;background:var(--bg);flex:none;align-items:center;gap:8px;display:flex}.title{letter-spacing:-.02em;font-size:30px;font-weight:800}.title-sm{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:20px;font-weight:700;overflow:hidden}.topbar-date{justify-content:space-between}.date-title{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex;position:relative}.date-title .title{font-size:26px}.eyebrow{color:var(--text-2);text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:600}.date-title input{opacity:0;cursor:pointer;border:0;width:100%;height:100%;position:absolute;inset:0}.date-title input::-webkit-calendar-picker-indicator{cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.icon-btn{width:44px;height:44px;color:var(--text);background:var(--surface);border-radius:50%;flex:none;place-items:center;transition:transform .1s,background .15s;display:grid}.icon-btn:active:not(:disabled){background:var(--surface-2);transform:scale(.92)}.icon-btn.danger{color:var(--danger)}.screen{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:4px var(--gutter) calc(var(--tabbar-h) + var(--safe-bottom) + 96px);flex:1;overflow-y:auto}.summary{color:var(--text-2);margin:4px 4px 12px;font-size:14px;font-weight:600}.section-label{color:var(--text-3);text-transform:uppercase;letter-spacing:.06em;margin:20px 4px 8px;font-size:13px;font-weight:700}.card{background:var(--surface);border-radius:var(--radius);margin-bottom:12px;overflow:hidden}.card-head{text-align:left;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:16px 16px 8px;display:flex}.card-head h2{font-size:19px;font-weight:700}.row-chevron{color:var(--text-3);flex:none;width:20px;height:20px}.set-list{margin:0;padding:0 8px;list-style:none}.set-row{border-radius:var(--radius-sm);text-align:left;font-variant-numeric:tabular-nums;grid-template-columns:32px 1fr 20px 1fr;align-items:baseline;gap:4px;width:100%;min-height:48px;padding:10px 8px;display:grid}.set-row:active{background:var(--surface-2)}.set-num{background:var(--surface-2);width:26px;height:26px;color:var(--text-2);border-radius:50%;align-self:center;place-items:center;font-size:13px;font-weight:700;display:grid}.set-weight,.set-reps{font-size:22px;font-weight:700}.set-weight small,.set-reps small{color:var(--text-2);margin-left:3px;font-size:13px;font-weight:600}.set-x{color:var(--text-3);text-align:center}.add-set{border-top:1px solid var(--border);width:100%;min-height:52px;color:var(--accent);justify-content:center;align-items:center;gap:6px;margin-top:6px;font-weight:700;display:flex}.add-set:active{background:var(--accent-soft)}.btn{border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:0 22px;font-size:17px;font-weight:700;transition:transform .1s,filter .15s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-block{flex:1}.btn-danger-ghost{background:var(--danger-soft);width:52px;color:var(--danger);padding:0}.link-btn{color:var(--accent);font-weight:700;text-decoration:underline}.fab{right:var(--gutter);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 16px);z-index:5;background:var(--accent);min-height:56px;color:var(--accent-ink);border-radius:999px;align-items:center;gap:6px;padding:0 22px 0 18px;font-size:17px;font-weight:800;transition:transform .1s;display:flex;position:absolute;box-shadow:0 10px 30px #00000073}.fab:active{transform:scale(.95)}.tabbar{z-index:10;height:calc(var(--tabbar-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--border);background:#0d0e11e0;grid-template-columns:repeat(4,1fr);display:grid;position:absolute;bottom:0;left:0;right:0}.tab{color:var(--text-3);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:600;display:flex}.tab svg{width:24px;height:24px}.tab.active{color:var(--accent)}.list{margin:0;padding:0;list-style:none}.list-card{background:var(--surface);border-radius:var(--radius);overflow:hidden}.list-card li+li .list-row{border-top:1px solid var(--border)}.list-row{text-align:left;align-items:center;gap:12px;width:100%;min-height:60px;padding:12px 16px;display:flex}.list>li+li .list-row{border-top:1px solid var(--border)}.list-row:active{background:var(--surface-2)}.row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.row-title{text-overflow:ellipsis;white-space:nowrap;font-size:17px;font-weight:650;overflow:hidden}.row-sub{color:var(--text-2);font-size:14px}.row-icon{border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.row-icon.accent{background:var(--accent-soft);color:var(--accent)}.create-row .row-title{color:var(--accent)}.date-badge{border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;flex:none;justify-content:center;align-items:center;width:46px;height:46px;line-height:1.05;display:flex}.date-badge span{text-transform:uppercase;color:var(--accent);font-size:11px;font-weight:700}.date-badge strong{font-size:19px}.search{border-radius:var(--radius-sm);background:var(--surface-2);height:50px;color:var(--text-3);align-items:center;gap:10px;margin-bottom:8px;padding:0 14px;display:flex}.search input{min-width:0;height:100%;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:17px}.search input::placeholder{color:var(--text-3)}.search input::-webkit-search-cancel-button{filter:invert(.6)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--surface-2);border-radius:999px;align-items:center;gap:4px;min-height:40px;padding:0 14px 0 10px;font-size:15px;font-weight:600;display:inline-flex}.chip svg{color:var(--accent)}.chip:active{background:var(--surface-3)}.sheet-root{z-index:50;flex-direction:column;justify-content:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop{background:#0009;animation:.2s ease-out fade-in;position:absolute;inset:0}.sheet{width:100%;max-width:640px;max-height:calc(100dvh - var(--safe-top) - 24px);background:var(--surface);padding-bottom:var(--safe-bottom);border-radius:24px 24px 0 0;flex-direction:column;margin:0 auto;transition:transform .2s ease-out;animation:.28s cubic-bezier(.2,.9,.25,1) slide-up;display:flex;position:relative}.sheet-head{touch-action:none;align-items:flex-start;gap:12px;padding:22px 16px 12px 20px;display:flex;position:relative}.sheet-grip{background:var(--surface-3);border-radius:3px;width:40px;height:5px;margin-left:-20px;position:absolute;top:8px;left:50%}.sheet-titles{flex:1;min-width:0}.sheet-titles h2{letter-spacing:-.01em;font-size:22px;font-weight:800}.sheet-titles p{color:var(--text-2);margin-top:2px;font-size:14px;font-weight:600}.sheet .icon-btn{background:var(--surface-2);width:36px;height:36px}.sheet .icon-btn svg{width:20px;height:20px}.sheet-body{overscroll-behavior:contain;min-height:0;padding:4px 16px 20px;overflow-y:auto}.picker{min-height:50dvh}.screen .picker{min-height:0}@keyframes slide-up{0%{transform:translateY(100%)}}@keyframes fade-in{0%{opacity:0}}.set-form{flex-direction:column;gap:14px;display:flex}.last-time{background:var(--surface-2);border-radius:var(--radius-sm);padding:10px 12px}.last-time-label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);margin-bottom:8px;font-size:12px;font-weight:700;display:block}.last-time-sets,.session-sets{flex-wrap:wrap;gap:6px;display:flex}.mini-chip{background:var(--surface-3);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;align-items:center;min-height:34px;padding:0 12px;font-size:15px;font-weight:700;display:inline-flex}.mini-chip small{color:var(--text-2);margin:0 4px 0 2px;font-size:11px}.mini-chip.static{background:var(--surface-2);min-height:28px;padding:0 10px;font-size:14px}.mini-chip:not(.static):active{background:var(--accent);color:var(--accent-ink)}.stepper{background:var(--surface-2);border-radius:var(--radius);padding:10px 10px 12px}.stepper-label{text-align:center;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);font-size:12px;font-weight:700}.stepper-row{align-items:center;gap:8px;display:flex}.step-btn{background:var(--surface-3);width:64px;height:64px;color:var(--text);border-radius:50%;flex:none;place-items:center;transition:transform 80ms,background .15s;display:grid}.step-btn svg{width:28px;height:28px}.step-btn:active{background:var(--accent);color:var(--accent-ink);transform:scale(.9)}.stepper-value{flex-direction:column;flex:1;align-items:center;gap:4px;min-width:0;display:flex}.stepper-value input{text-align:center;letter-spacing:-.02em;font-variant-numeric:tabular-nums;width:100%;caret-color:var(--accent);background:0 0;border:0;outline:0;padding:0;font-size:44px;font-weight:800}.stepper-unit{color:var(--text-2);font-size:14px;font-weight:600;line-height:30px}.unit-toggle{background:var(--surface);border-radius:999px;padding:3px;display:inline-flex}.unit-toggle button{min-width:44px;height:26px;color:var(--text-2);border-radius:999px;font-size:13px;font-weight:700}.unit-toggle button.active{background:var(--accent);color:var(--accent-ink)}.form-actions{gap:10px;margin-top:4px;display:flex}.form-actions .btn{min-height:58px}.page{z-index:30;background:var(--bg);flex-direction:column;animation:.25s cubic-bezier(.2,.9,.25,1) slide-in;display:flex;position:absolute;inset:0}.page .screen{padding-bottom:calc(var(--safe-bottom) + 32px)}@keyframes slide-in{0%{transform:translate(100%)}}.stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;display:grid}.stat{background:var(--surface);border-radius:var(--radius-sm);flex-direction:column;gap:2px;min-width:0;padding:12px;display:flex}.stat-value{white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:800;overflow:hidden}.stat-label{color:var(--text-2);font-size:12px;font-weight:600}.best{border-radius:var(--radius);background:var(--accent-soft);color:var(--accent);align-items:center;gap:12px;padding:14px 16px;display:flex}.best div{flex-direction:column;flex:1;display:flex}.best-label{text-transform:uppercase;letter-spacing:.05em;font-size:12px;font-weight:700}.best-value{color:var(--text);font-size:22px;font-weight:800}.best-date{color:var(--text-2);font-size:13px;font-weight:600}.session-row .row-main{gap:8px}.empty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;display:flex}.empty h2{font-size:22px;font-weight:800}.empty p{color:var(--text-2);max-width:280px;margin-bottom:12px}.empty-icon{background:var(--accent-soft);width:76px;height:76px;color:var(--accent);border-radius:50%;place-items:center;margin-bottom:8px;display:grid}.inline-error{background:var(--danger-soft);color:var(--danger);border-radius:var(--radius-sm);margin-bottom:12px;padding:12px 14px;font-weight:600}.skeleton-list{flex-direction:column;gap:8px;display:flex}.skeleton-row,.skeleton-card{border-radius:var(--radius-sm);background:linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);background-size:200% 100%;animation:1.2s linear infinite shimmer}.skeleton-row{height:60px}.skeleton-card{border-radius:var(--radius);height:170px}@keyframes shimmer{to{background-position:-200% 0}}.toast{left:var(--gutter);right:var(--gutter);top:calc(var(--safe-top) + 12px);z-index:100;border-radius:var(--radius-sm);max-width:600px;margin:0 auto;padding:14px 16px;font-weight:600;animation:.25s ease-out toast-in;position:fixed;box-shadow:0 10px 30px #00000080}.toast-error{color:#ffd2d2;background:#3a1d1f}.toast-info{background:var(--surface-3)}@keyframes toast-in{0%{opacity:0;transform:translateY(-20px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.card-head-main{flex-direction:column;gap:2px;min-width:0;display:flex}.card-sub{color:var(--text-2);font-size:13px;font-weight:600}.card-done .card-head h2{color:var(--text-2)}.row-check{color:var(--accent);flex:none;width:22px;height:22px}.plan-bar{border-radius:var(--radius);background:var(--accent-soft);text-align:left;align-items:center;gap:12px;width:100%;margin:4px 0 12px;padding:12px 14px;display:flex}.plan-bar:active{filter:brightness(1.2)}.plan-bar-icon{background:var(--accent);width:38px;height:38px;color:var(--accent-ink);border-radius:50%;flex:none;place-items:center;display:grid}.plan-bar-text{flex-direction:column;flex:1;min-width:0;line-height:1.2;display:flex}.plan-bar-label{text-transform:uppercase;letter-spacing:.06em;color:var(--accent);font-size:12px;font-weight:700}.plan-bar-name{text-overflow:ellipsis;white-space:nowrap;font-size:19px;font-weight:800;overflow:hidden}.plan-bar-progress{color:var(--text-2);font-variant-numeric:tabular-nums;flex:none;font-size:14px;font-weight:700}.start-head{padding:8px 4px 4px}.start-head h2{letter-spacing:-.01em;font-size:22px;font-weight:800}.start-head p{color:var(--text-2);margin-top:4px}.routine-picker .freestyle{margin-top:20px}.list-row:disabled{opacity:.5}.hint-card{border-radius:var(--radius);border:1px dashed var(--surface-3);width:100%;color:var(--accent);text-align:left;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;display:flex}.hint-card>span{flex-direction:column;flex:1;gap:2px;display:flex}.hint-card strong{color:var(--text);font-size:16px}.hint-card>span>span{color:var(--text-2);font-size:14px}.page-title{flex-direction:column;flex:1;align-items:center;min-width:0;display:flex}.page-title .title-sm{align-items:center;gap:6px;max-width:100%;display:inline-flex}.title-pencil{color:var(--text-3);flex:none}.icon-btn-spacer{flex:none;width:44px}.page .screen.editor-screen{padding-bottom:calc(var(--safe-bottom) + 170px)}.plan-list{margin:0;padding:0;list-style:none}.plan-item{padding:12px 12px 14px 14px}.plan-item-head{align-items:center;gap:10px;display:flex}.plan-item-head h2{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:18px;font-weight:700;overflow:hidden}.plan-item-actions{gap:2px;display:flex}.mini-icon{width:36px;height:36px;color:var(--text-2);border-radius:50%;place-items:center;display:grid}.mini-icon svg{width:20px;height:20px}.mini-icon:active:not(:disabled){background:var(--surface-3);color:var(--text)}.mini-icon.danger{color:var(--danger)}.targets{align-items:flex-end;gap:8px;margin-top:10px;display:flex}.targets-x{color:var(--text-3);padding-bottom:10px}.mini-stepper{background:var(--surface-2);border-radius:var(--radius-sm);flex:1;padding:6px 6px 4px}.mini-stepper-label{text-align:center;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);font-size:11px;font-weight:700;display:block}.mini-stepper-row{justify-content:space-between;align-items:center;display:flex}.mini-stepper-row .mini-icon{background:var(--surface-3);color:var(--text);width:34px;height:34px}.mini-stepper-value{font-variant-numeric:tabular-nums;font-size:22px;font-weight:800}.page-footer{padding:12px var(--gutter) calc(var(--safe-bottom) + 12px);background:linear-gradient(transparent, var(--bg) 30%);position:absolute;bottom:0;left:0;right:0}.btn-wide{width:100%}.btn-secondary{background:var(--surface);color:var(--accent);border:1px dashed var(--surface-3)}.btn-danger-text{color:var(--danger);background:0 0}.empty.compact{padding:24px 16px}.name-form{flex-direction:column;gap:14px;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);font-size:12px;font-weight:700}.text-input{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid #0000;outline:0;height:52px;padding:0 14px;font-size:18px}.text-input:focus{border-color:var(--accent)}.delete-day{border:1px solid var(--danger-soft);margin-top:4px}.delete-day-note{text-align:center;color:var(--text-3);margin-top:8px;font-size:13px}.auth{padding:calc(var(--safe-top) + 48px) 24px calc(var(--safe-bottom) + 24px);flex-direction:column;flex:1;gap:24px;display:flex;overflow-y:auto}.auth-brand{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.auth-brand p{color:var(--text-2)}.segmented{background:var(--surface);border-radius:999px;grid-auto-columns:1fr;grid-auto-flow:column;padding:4px;display:grid}.segmented button{height:40px;color:var(--text-2);border-radius:999px;font-weight:700}.segmented button.active{background:var(--surface-3);color:var(--text)}.password-row{display:flex;position:relative}.password-row .text-input{flex:1;min-width:0;padding-right:72px}.password-toggle{height:100%;padding:0 16px;font-size:15px;text-decoration:none;position:absolute;top:0;right:0}.field-hint{color:var(--text-3);font-size:13px}.topbar-end{margin-left:auto}.account-email{overflow-wrap:anywhere;font-size:18px;font-weight:600}.splash{text-align:center;color:var(--text-2);flex:1;align-content:center;place-items:center;gap:16px;padding:24px;display:grid}.footer-actions{gap:10px;display:flex}.footer-actions .btn{padding:0 18px}.footer-note{border-radius:var(--radius-sm);background:var(--surface);color:var(--text-2);text-align:center;margin-bottom:10px;padding:10px 14px;font-size:14px}.footer-actions .btn:only-child{flex:1}.btn-neutral{background:var(--surface-2);min-width:96px;color:var(--text)}
