:root{--bg:#eef1f6;--surface:#fff;--surface-2:#f5f7fb;--fg:#111725;--muted:#5a6377;--line:#dce1eb;--accent:#2547f5;--accent-ink:#fff;--accent-soft:#e3e8fe;--accent-faint:#b9c5fb;--good:#1c7f47;--danger:#b93434;--f-display:"Big Shoulders Display", "Arial Narrow", Impact, sans-serif;--f-body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;--f-mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root{--bg:#0a0d14;--surface:#131824;--surface-2:#1a2030;--fg:#edf0f7;--muted:#959eb2;--line:#283041;--accent:#7088ff;--accent-ink:#0a0d14;--accent-soft:#1e2648;--accent-faint:#3a4886;--good:#52cc8c;--danger:#ff8080;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--fg);font-family:var(--f-body);-webkit-tap-highlight-color:transparent;margin:0;font-size:15px;line-height:1.45}button,input,select{font:inherit;color:inherit}button,label[for]{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.app{background:var(--surface);flex-direction:column;max-width:520px;height:100%;margin:0 auto;display:flex;position:relative}@media (width>=560px){.app{border-left:1px solid var(--line);border-right:1px solid var(--line)}}.screen{padding-top:calc(20px + env(safe-area-inset-top,0px));padding-bottom:28px;padding-left:max(20px, env(safe-area-inset-left,0px));padding-right:max(20px, env(safe-area-inset-right,0px));flex-direction:column;flex:1;gap:24px;display:flex;overflow-y:auto}.topbar{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.topbar h1{font-family:var(--f-display);letter-spacing:.01em;text-transform:uppercase;margin:0;font-size:30px;font-weight:800;line-height:1}.sub{color:var(--muted);font-size:13px}.tz{font-family:var(--f-mono);color:var(--muted);background:var(--surface-2);border:1px solid var(--line);white-space:nowrap;text-overflow:ellipsis;border-radius:999px;max-width:50%;padding:3px 9px;font-size:11px;overflow:hidden}.install-card{background:var(--accent-soft);border-radius:16px;align-items:center;gap:12px;padding:12px 14px;font-size:14px;display:flex}.install-card p{flex:1;margin:0}.install-card .link{color:var(--accent);background:0 0;border:0;padding:4px;font-weight:700}.install-card .x{color:var(--muted);background:0 0;border:0;padding:4px;font-size:20px;line-height:1}.ring-wrap{aspect-ratio:1;width:236px;max-width:100%;margin:4px auto 0;position:relative}.ring-wrap svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-track{fill:none;stroke:var(--accent-soft);stroke-width:14px}.ring-fill{fill:none;stroke:var(--accent);stroke-width:14px;stroke-linecap:round;transition:stroke-dashoffset .5s cubic-bezier(.2,.8,.2,1)}.ring-center{text-align:center;place-content:center;display:grid;position:absolute;inset:0}.big{font-family:var(--f-display);font-variant-numeric:tabular-nums;font-size:88px;font-weight:800;line-height:.9}.of{color:var(--muted);margin-top:6px;font-size:14px}.status{text-align:center;margin-top:-8px;font-weight:600}.status.done{color:var(--good)}.entry{flex-direction:column;gap:10px;display:flex}.presets{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.preset{background:var(--accent);color:var(--accent-ink);font-family:var(--f-display);border:0;border-radius:16px;padding:16px 0;font-size:28px;font-weight:800;line-height:1;transition:transform 80ms}.preset:active{transform:scale(.96)}.custom{gap:10px;display:flex}.custom input{border:1.5px solid var(--line);background:var(--surface-2);font-variant-numeric:tabular-nums;border-radius:14px;flex:1;min-width:0;padding:12px 14px;font-size:18px}.custom input:focus{border-color:var(--accent);outline:none}.custom button{border:1.5px solid var(--accent);color:var(--accent);background:0 0;border-radius:14px;padding:0 22px;font-weight:700}.section-label{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);justify-content:space-between;margin:0 0 6px;font-size:12px;font-weight:600;display:flex}.log{margin:0;padding:0;list-style:none}.log li{border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:10px 0;display:flex}.log li:last-child{border-bottom:0}.log .time{font-family:var(--f-mono);color:var(--muted);min-width:48px;font-size:13px}.log .reps{font-variant-numeric:tabular-nums;flex:1;font-weight:600}.del{color:var(--muted);background:0 0;border:0;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.del svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round}.del:hover{background:var(--surface-2);color:var(--danger)}.log .empty{color:var(--muted);font-size:14px}.toast{left:16px;right:16px;bottom:calc(76px + env(safe-area-inset-bottom,0px));background:var(--fg);color:var(--surface);border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;font-size:14px;display:flex;position:absolute}.toast button{color:var(--accent-faint);background:0 0;border:0;font-weight:700}.seg{background:var(--surface-2);border:1px solid var(--line);border-radius:12px;align-self:flex-start;padding:3px;display:inline-flex}.seg button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:6px 14px;font-size:13px;font-weight:600}.seg button[aria-pressed=true]{background:var(--surface);color:var(--fg);box-shadow:0 1px 3px #0000001f}.summary{flex-wrap:wrap;gap:24px;display:flex}.summary div{flex-direction:column;display:flex}.summary b{font-family:var(--f-display);font-variant-numeric:tabular-nums;font-size:34px;font-weight:800;line-height:1}.summary span{color:var(--muted);font-size:12px}.chart-box{position:relative}.chart-box svg{touch-action:pan-y;width:100%;height:auto;display:block;overflow:visible}.grid{stroke:var(--line);stroke-width:1px}.axis-t{fill:var(--muted);font-family:var(--f-mono);font-size:9.5px}.bar{fill:var(--accent)}.bar.today{fill:var(--accent-faint)}.bar.hover{fill:var(--fg)}.target{fill:none;stroke:var(--fg);stroke-width:2px;stroke-dasharray:5 4;pointer-events:none}.legend{color:var(--muted);flex-wrap:wrap;gap:16px;margin-top:8px;font-size:12px;display:flex}.legend i{vertical-align:middle;margin-right:6px;display:inline-block}.lg-bar{background:var(--accent);border-radius:3px;width:10px;height:10px}.lg-today{background:var(--accent-faint);border-radius:3px;width:10px;height:10px}.lg-line{border-top:2px dashed var(--fg);width:18px}.tip{pointer-events:none;background:var(--fg);color:var(--surface);white-space:nowrap;border-radius:10px;padding:7px 10px;font-size:12px;position:absolute;transform:translate(-50%,-100%)}.tip b{font-variant-numeric:tabular-nums}.days{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.days th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);padding:6px 0;font-size:12px;font-weight:600}.days td{border-bottom:1px solid var(--line);padding:9px 0}.days th:not(:first-child),.days td:not(:first-child){text-align:right}.hit{color:var(--good);font-weight:600}.miss{color:var(--muted)}.field{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding-bottom:20px;display:flex}.field:last-child{border-bottom:0}.field>label{font-weight:600}.hint{color:var(--muted);margin:0;font-size:13px}.hint.strong{color:var(--fg);font-weight:600}.stepper{border:1.5px solid var(--line);border-radius:14px;align-items:center;width:fit-content;display:flex;overflow:hidden}.stepper button{background:var(--surface-2);border:0;width:52px;height:52px;font-size:22px;font-weight:600}.stepper input{text-align:center;width:90px;font-family:var(--f-display);font-variant-numeric:tabular-nums;-moz-appearance:textfield;background:0 0;border:0;font-size:30px;font-weight:800}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.stepper input:focus{outline:none}.preset-inputs{gap:10px;display:flex}.preset-inputs input{border:1.5px solid var(--line);background:var(--surface-2);text-align:center;font-variant-numeric:tabular-nums;border-radius:14px;flex:1;min-width:0;padding:12px 14px;font-size:18px}.preset-inputs input:focus{border-color:var(--accent);outline:none}select{border:1.5px solid var(--line);background:var(--surface-2);border-radius:14px;width:100%;padding:12px;font-size:15px}.saved{color:var(--good);min-height:1.2em;font-size:13px;font-weight:600}.error{color:var(--danger);margin:0;font-size:13px}.steps{color:var(--muted);flex-direction:column;gap:4px;margin:0;padding-left:20px;font-size:14px;display:flex}.steps b{color:var(--fg);font-weight:600}.btn-row{flex-wrap:wrap;gap:10px;display:flex}.btn{border:1.5px solid var(--line);background:var(--surface-2);border-radius:12px;padding:10px 16px;font-size:14px;font-weight:600}.btn.danger{color:var(--danger)}.btn.solid-danger{background:var(--danger);border-color:var(--danger);color:var(--surface)}.confirm{background:var(--surface-2);border:1px solid var(--line);border-radius:14px;flex-direction:column;gap:10px;padding:12px 14px;font-size:14px;display:flex}.tabbar{border-top:1px solid var(--line);background:var(--surface);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);grid-template-columns:repeat(3,1fr);display:grid}.tab{color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:10px 0 12px;font-size:11px;font-weight:600;display:flex}.tab svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.tab[aria-selected=true]{color:var(--accent)}@media (prefers-reduced-motion:reduce){.ring-fill,.preset{transition:none}}
