:root{--bg:#0f1115;--surface:#171a21;--surface-2:#1f232c;--border:#2a2f3a;--text:#e8eaf0;--muted:#9aa1b2;--faint:#6b7283;--accent:#7c5cff;--accent-soft:#7c5cff29;--accent-2:#22c3a6;--danger:#ff5c7a;--warn:#ffb84d;--ok:#3ddc97;--radius:14px;--radius-sm:10px;--shadow:0 8px 30px #00000059;--nav-h:64px;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:light){:root{--bg:#f5f6fa;--surface:#fff;--surface-2:#f0f1f6;--border:#e1e4ec;--text:#151821;--muted:#5d6475;--faint:#8a91a3;--accent-soft:#7c5cff1f;--shadow:0 8px 30px #14182814;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;line-height:1.45}h1,h2,h3{letter-spacing:-.01em;margin:0;line-height:1.2}h1{font-size:1.6rem}h2{font-size:1.1rem}h3{font-size:.95rem}a{color:var(--accent)}.muted{color:var(--muted)}.faint{color:var(--faint)}.small{font-size:.85rem}.num{font-variant-numeric:tabular-nums}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.card+.card{margin-top:12px}.card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:8px;display:flex}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}input,textarea,select,button{font:inherit;color:inherit}input[type=text],input[type=password],input[type=number],input[type=date],textarea,select{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);outline:none;width:100%;min-height:44px;padding:10px 12px;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:var(--accent)}textarea{resize:vertical;min-height:80px}input[type=date]{color-scheme:inherit}label.field{color:var(--muted);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 16px;font-weight:600;transition:background .15s,transform 50ms,opacity .15s;display:inline-flex}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.danger{color:var(--danger)}.btn.ghost{background:0 0;border-color:#0000}.btn.icon{width:44px;padding:0}.btn.sm{min-height:34px;padding:0 10px;font-size:.85rem}.seg{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);gap:2px;padding:3px;display:inline-flex}.seg button{cursor:pointer;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:6px 12px;font-size:.85rem;font-weight:600}.seg button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #0003}.chip{background:var(--surface-2);color:var(--muted);border-radius:999px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.chip.overdue{color:var(--danger);background:#ff5c7a26}.chip.today{color:var(--warn);background:#ffb84d26}.empty{text-align:center;color:var(--faint);padding:28px 8px}.error-text{color:var(--danger);font-size:.9rem}.check{appearance:none;border:2px solid var(--faint);cursor:pointer;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;margin:0;transition:background .15s,border-color .15s;display:grid}.check:after{content:"";border:2.5px solid #fff;border-width:0 2.5px 2.5px 0;width:6px;height:11px;transition:transform .15s;transform:rotate(45deg)translate(-1px,-1px)scale(0)}.check:checked{background:var(--accent-2);border-color:var(--accent-2)}.check:checked:after{transform:rotate(45deg)translate(-1px,-1px)scale(1)}.check.p3{border-color:var(--danger)}.check.p2{border-color:var(--warn)}.check.p1{border-color:var(--accent)}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.wrap.svelte-1o86yhy{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth.svelte-1o86yhy{width:100%;max-width:400px;box-shadow:var(--shadow);padding:28px 24px}.logo.svelte-1o86yhy{justify-content:center;margin-bottom:4px;display:flex}h1.svelte-1o86yhy{text-align:center}.meter.svelte-1o86yhy{grid-template-columns:repeat(4,1fr);gap:4px;margin-top:-4px;display:grid}.meter.svelte-1o86yhy span:where(.svelte-1o86yhy){background:var(--border);border-radius:2px;height:4px}.meter.svelte-1o86yhy span.on[data-s="1"]:where(.svelte-1o86yhy){background:var(--danger)}.meter.svelte-1o86yhy span.on[data-s="2"]:where(.svelte-1o86yhy){background:var(--warn)}.meter.svelte-1o86yhy span.on[data-s="3"]:where(.svelte-1o86yhy),.meter.svelte-1o86yhy span.on[data-s="4"]:where(.svelte-1o86yhy){background:var(--ok)}.item.svelte-k12ry5{border-bottom:1px solid var(--border);list-style:none}.item.svelte-k12ry5:last-child{border-bottom:0}.line.svelte-k12ry5{align-items:flex-start;gap:12px;padding:12px 2px;display:flex}.line.svelte-k12ry5 .check:where(.svelte-k12ry5){margin-top:1px}.body.svelte-k12ry5{text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;gap:4px;min-width:0;padding:0;display:flex}.title.svelte-k12ry5{word-break:break-word}.done.svelte-k12ry5 .title:where(.svelte-k12ry5){color:var(--faint);text-decoration:line-through}.meta.svelte-k12ry5{align-items:center;gap:8px;min-width:0;display:flex}.notes.svelte-k12ry5{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor.svelte-k12ry5{padding:0 0 14px 36px}.chart.svelte-1phanlg{position:relative}svg.svelte-1phanlg{touch-action:pan-y;width:100%;display:block;overflow:visible}.empty.svelte-1phanlg{color:var(--faint);place-items:center;display:grid}.grid.svelte-1phanlg{stroke:var(--border);stroke-width:1px;vector-effect:non-scaling-stroke}.lbl.svelte-1phanlg{fill:var(--faint);font-size:11px}.goal.svelte-1phanlg{stroke:var(--accent-2);stroke-dasharray:5 5;vector-effect:non-scaling-stroke}.goal-lbl.svelte-1phanlg{fill:var(--accent-2)}.raw.svelte-1phanlg{fill:none;stroke:var(--faint);stroke-width:1px;opacity:.6;vector-effect:non-scaling-stroke}.avg.svelte-1phanlg{fill:none;stroke:var(--accent);stroke-width:2.5px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.pt.svelte-1phanlg{fill:var(--surface);stroke:var(--accent);stroke-width:1.5px;vector-effect:non-scaling-stroke}.pt.hov.svelte-1phanlg{fill:var(--accent)}.cursor.svelte-1phanlg{stroke:var(--muted);stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.tip.svelte-1phanlg{background:var(--surface-2);border:1px solid var(--border);white-space:nowrap;pointer-events:none;box-shadow:var(--shadow);border-radius:8px;flex-direction:column;padding:6px 10px;font-size:.8rem;display:flex;position:absolute;top:-6px;transform:translate(-50%,-100%)}.hero.svelte-1rta8r{margin-bottom:20px}.grid.svelte-1rta8r{gap:12px;display:grid}.grid.svelte-1rta8r .card:where(.svelte-1rta8r)+.card:where(.svelte-1rta8r){margin-top:0}@media (min-width:900px){.grid.svelte-1rta8r{grid-template-columns:1.3fr 1fr;align-items:start}.todos.svelte-1rta8r{grid-row:span 2}}.summary.svelte-1rta8r{align-items:center;gap:8px;margin:-6px 0 4px;display:flex}ul.svelte-1rta8r{margin:0;padding:0}.wstat.svelte-1rta8r{align-items:baseline}.big.svelte-1rta8r{font-size:2rem}.chip.good.svelte-1rta8r{color:var(--ok);background:#3ddc9724}.quick.svelte-1rta8r{margin-top:12px}.soon.svelte-1rta8r{opacity:.75}.head.svelte-60iwzv{justify-content:space-between;align-items:flex-end;margin-bottom:16px;display:flex}.add.svelte-60iwzv{margin-bottom:12px}.add.svelte-60iwzv .active:where(.svelte-60iwzv){color:var(--accent)}.opts.svelte-60iwzv{margin-top:10px}.quick.svelte-60iwzv{flex-wrap:wrap}ul.svelte-60iwzv{margin:0;padding:0}.group.svelte-60iwzv{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px;font-size:.8rem}.group.danger.svelte-60iwzv{color:var(--danger)}.head.svelte-1foneqo{margin-bottom:16px}.layout.svelte-1foneqo{gap:12px;margin-bottom:12px;display:grid}@media (min-width:900px){.layout.svelte-1foneqo{grid-template-columns:1fr 1fr}}.stats.svelte-1foneqo{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stats.svelte-1foneqo .card:where(.svelte-1foneqo)+.card:where(.svelte-1foneqo){margin-top:0}.stat.svelte-1foneqo{flex-direction:column;gap:4px;display:flex}.stat.svelte-1foneqo strong:where(.svelte-1foneqo){font-size:1.5rem}.stat.svelte-1foneqo small:where(.svelte-1foneqo){color:var(--faint);font-size:.8rem;font-weight:500}.down.svelte-1foneqo{color:var(--ok)}.up.svelte-1foneqo{color:var(--warn)}.legend.svelte-1foneqo{align-items:center;gap:6px;margin:8px 0 0;display:flex}.sw.svelte-1foneqo{background:var(--accent);border-radius:2px;width:14px;height:3px}.hist.svelte-1foneqo{margin:0;padding:0;list-style:none}.hist.svelte-1foneqo li:where(.svelte-1foneqo){border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:6px 0;display:flex}.hist.svelte-1foneqo li:where(.svelte-1foneqo):last-child{border-bottom:0}.head.svelte-1xc311x{margin-bottom:16px}.sec.svelte-1xc311x{margin:8px 0 0;padding-left:18px}.sec.svelte-1xc311x li:where(.svelte-1xc311x){margin:4px 0}.center.svelte-1n46o8q{place-items:center;min-height:100dvh;padding:24px;display:grid}.spinner.svelte-1n46o8q{border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite svelte-1n46o8q-spin}@keyframes svelte-1n46o8q-spin{to{transform:rotate(360deg)}}.shell.svelte-1n46o8q{min-height:100dvh}.main.svelte-1n46o8q{max-width:760px;padding:calc(16px + env(safe-area-inset-top)) 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));margin:0 auto}.nav.svelte-1n46o8q{z-index:10;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--border);display:flex;position:fixed;bottom:0;left:0;right:0}.brand.svelte-1n46o8q{display:none}.nav-link.svelte-1n46o8q{color:var(--faint);cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.7rem;font-weight:600;display:flex}.nav-link.on.svelte-1n46o8q{color:var(--accent)}@media (min-width:900px){.shell.svelte-1n46o8q{grid-template-columns:220px 1fr;display:grid}.nav.svelte-1n46o8q{border-top:0;border-right:1px solid var(--border);background:var(--surface);flex-direction:column;gap:4px;height:100dvh;padding:20px 12px;position:sticky;top:0}.brand.svelte-1n46o8q{align-items:center;gap:10px;padding:4px 12px 20px;font-size:1.15rem;font-weight:800;display:flex}.nav-link.svelte-1n46o8q{border-radius:var(--radius-sm);color:var(--muted);flex-direction:row;flex:none;justify-content:flex-start;gap:12px;padding:10px 12px;font-size:.95rem}.nav-link.svelte-1n46o8q:hover{background:var(--surface-2)}.nav-link.on.svelte-1n46o8q{background:var(--accent-soft)}.main.svelte-1n46o8q{width:100%;max-width:1100px;padding:32px 32px 48px}}.toast.svelte-1n46o8q{z-index:50;left:50%;bottom:calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));background:var(--text);color:var(--bg);box-shadow:var(--shadow);border-radius:999px;max-width:calc(100vw - 32px);padding:10px 16px;font-size:.9rem;font-weight:600;animation:.2s ease-out svelte-1n46o8q-pop;position:fixed;transform:translate(-50%)}.toast.error.svelte-1n46o8q{background:var(--danger);color:#fff}@keyframes svelte-1n46o8q-pop{0%{opacity:0;transform:translate(-50%,8px)}}@media (min-width:900px){.toast.svelte-1n46o8q{bottom:24px}}
