:root{--bg:#0f1115;--surface:#181b22;--surface-2:#20242e;--border:#2c313d;--text:#e6e9ef;--text-dim:#9aa3b2;--accent:#6aa6ff;--accent-soft:#6aa6ff26;--green:#4ade80;--amber:#fbbf24;--red:#f87171;--radius:10px;--mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--sans);min-height:100vh;margin:0;padding:0;font-size:15px;line-height:1.5}body{min-width:0;overflow-x:hidden}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{max-width:100%;font-family:inherit;font-size:inherit;color:inherit}input,select,textarea{background:var(--surface-2);border:1px solid var(--border);color:var(--text);border-radius:8px;outline:none;padding:7px 10px}input:focus,select:focus,textarea:focus{border-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent)}button{cursor:pointer;border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:8px;padding:7px 14px;transition:background .12s,border-color .12s}button:hover{background:var(--border)}button:disabled{opacity:.5;cursor:not-allowed}.btn-primary{border:1px solid var(--accent);background:var(--accent);color:#0b0e14;border-radius:8px;justify-content:center;align-items:center;padding:7px 14px;font-weight:600;line-height:1.5;text-decoration:none;transition:background .12s,border-color .12s;display:inline-flex}.btn-primary:hover{background:#89baff;text-decoration:none}.btn-danger{border-color:var(--red);color:var(--red)}.btn-danger:hover{background:#f871711f}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover{background:var(--surface-2)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.row{align-items:center;gap:10px;display:flex}.col{flex-direction:column;gap:10px;display:flex}.spread{justify-content:space-between;align-items:center;gap:10px;display:flex}.muted{color:var(--text-dim)}.mono{font-family:var(--mono)}.dim-text{color:var(--text-dim)}.badge{text-transform:uppercase;letter-spacing:.04em;border:1px solid var(--border);border-radius:999px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.badge.todo{color:var(--accent);border-color:var(--accent-soft)}.badge.recurring{color:var(--green);border-color:#4ade804d}.badge.list{color:var(--amber);border-color:#fbbf244d}.badge.overdue{color:var(--red);border-color:var(--red);background:#f8717126}.badge.done,.badge.skipped{color:var(--text-dim)}label.field{flex-direction:column;gap:4px;display:flex}label.field>span:first-child{color:var(--text-dim);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}@media (width<=640px){html,body{font-size:14px}.card{padding:14px}.grid-2{grid-template-columns:1fr}}@media (width>=761px){html,body{font-size:16px}button,input,select,textarea{font-size:14px}.badge{font-size:12px}label.field>span:first-child{font-size:13px}}.search.svelte-1ytcet{flex:1;max-width:360px;margin-left:auto;position:relative}.search-input.svelte-1ytcet{background:var(--surface);border:1px solid var(--border);border-radius:9px;align-items:center;padding-left:9px;display:flex}.search-input.svelte-1ytcet:focus-within{border-color:var(--accent)}svg.svelte-1ytcet{width:15px;color:var(--text-dim)}input.svelte-1ytcet{background:0 0;border:0;width:100%;padding:7px 8px;font-size:14px}input.svelte-1ytcet:focus{border:0}.pulse.svelte-1ytcet{color:var(--accent);padding-right:10px}.results.svelte-1ytcet{z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:12px;width:min(520px,90vw);position:absolute;top:calc(100% + 7px);right:0;overflow:hidden;box-shadow:0 18px 50px #0000006b}.results.svelte-1ytcet a:where(.svelte-1ytcet){color:var(--text);border-bottom:1px solid var(--border);grid-template-columns:64px 1fr;gap:1px 8px;padding:10px 12px;display:grid}.results.svelte-1ytcet a:where(.svelte-1ytcet):last-child{border-bottom:0}.results.svelte-1ytcet a:where(.svelte-1ytcet):hover{background:var(--surface-2);text-decoration:none}.kind.svelte-1ytcet{color:var(--text-dim);text-transform:uppercase;letter-spacing:.06em;grid-row:span 2;padding-top:3px;font-size:10px}strong.svelte-1ytcet{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}small.svelte-1ytcet{color:var(--text-dim);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.empty.svelte-1ytcet{color:var(--text-dim);text-align:center;padding:18px;font-size:13px}.all-results.svelte-1ytcet{background:var(--surface-2);width:100%;color:var(--accent);text-align:left;border:0;border-radius:0;justify-content:space-between;align-items:center;padding:9px 12px;font-size:11px;display:flex}.all-results.svelte-1ytcet:hover{background:var(--accent-soft)}.all-results.svelte-1ytcet span:where(.svelte-1ytcet){color:var(--text-dim);font-family:var(--mono)}@media (width<=680px){.search.svelte-1ytcet{flex-basis:100%;order:3;max-width:none}}.capture.svelte-1q30w7p{margin:-10px 0 28px}.capture-row.svelte-1q30w7p{align-items:stretch;gap:7px;display:flex}textarea.svelte-1q30w7p{resize:vertical;background:var(--surface);flex:1;min-height:44px;max-height:130px;padding:10px 12px;font-size:16px}button.svelte-1q30w7p{white-space:nowrap}.capture-meta.svelte-1q30w7p{min-height:20px;color:var(--text-dim);padding:4px 3px 0;font-size:11px}.capture-meta.svelte-1q30w7p a:where(.svelte-1q30w7p){color:var(--green)}dialog.svelte-1q30w7p{background:var(--surface);width:min(620px,100vw - 28px);color:var(--text);border:1px solid #3a4250;border-radius:14px;padding:0;box-shadow:0 24px 80px #0000008c}dialog.svelte-1q30w7p::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#05070bc2}.detail-form.svelte-1q30w7p{flex-direction:column;gap:16px;padding:19px;display:flex}.detail-form.svelte-1q30w7p header:where(.svelte-1q30w7p){justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.detail-form.svelte-1q30w7p header:where(.svelte-1q30w7p) span:where(.svelte-1q30w7p),.detail-form.svelte-1q30w7p label:where(.svelte-1q30w7p)>span:where(.svelte-1q30w7p){color:var(--text-dim);letter-spacing:.1em;text-transform:uppercase;font-size:9px;font-weight:700}.detail-form.svelte-1q30w7p h2:where(.svelte-1q30w7p){letter-spacing:-.025em;margin:2px 0 0;font-size:18px}.close.svelte-1q30w7p{width:30px;height:30px;color:var(--text-dim);background:0 0;border-color:#0000;padding:0;font-size:20px;line-height:1}.detail-form.svelte-1q30w7p label:where(.svelte-1q30w7p){flex-direction:column;gap:5px;display:flex}.detail-form.svelte-1q30w7p input:where(.svelte-1q30w7p){height:42px;padding:9px 11px;font-size:15px;font-weight:600}.detail-form.svelte-1q30w7p .description:where(.svelte-1q30w7p) textarea:where(.svelte-1q30w7p){resize:vertical;background:var(--surface-2);width:100%;min-height:190px;padding:11px;font-size:14px;line-height:1.55}.detail-form.svelte-1q30w7p footer:where(.svelte-1q30w7p){align-items:center;gap:9px;padding-top:3px;display:flex}.detail-form.svelte-1q30w7p footer:where(.svelte-1q30w7p) span:where(.svelte-1q30w7p){color:var(--text-dim);margin-right:auto;font-size:9px}.detail-error.svelte-1q30w7p{color:var(--red);margin:0;font-size:11px}@media (width<=620px){.capture-row.svelte-1q30w7p{flex-wrap:wrap}textarea.svelte-1q30w7p{flex-basis:100%}button.svelte-1q30w7p{flex:1}}@media (width<=520px){.detail-form.svelte-1q30w7p{padding:15px}.detail-form.svelte-1q30w7p .close:where(.svelte-1q30w7p){flex:none}.detail-form.svelte-1q30w7p footer:where(.svelte-1q30w7p){flex-wrap:wrap}.detail-form.svelte-1q30w7p footer:where(.svelte-1q30w7p) span:where(.svelte-1q30w7p){display:none}.detail-form.svelte-1q30w7p footer:where(.svelte-1q30w7p) button:where(.svelte-1q30w7p){flex:1}}.shell.svelte-12qhfyh{max-width:1080px;margin:0 auto;padding:0 16px 80px}.auth-loading.svelte-12qhfyh{min-height:100vh;color:var(--text-dim);place-items:center;font-size:13px;display:grid}.account.svelte-12qhfyh{align-items:center;gap:8px;margin-left:auto;display:flex}.account.svelte-12qhfyh span:where(.svelte-12qhfyh){max-width:130px;color:var(--text-dim);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.account.svelte-12qhfyh button:where(.svelte-12qhfyh){border-color:var(--border);color:var(--text-dim);background:0 0;padding:5px 8px;font-size:10px}nav.svelte-12qhfyh{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:28px;padding:18px 0;display:flex}.brand.svelte-12qhfyh{color:var(--text);letter-spacing:-.02em;font-size:18px;font-weight:700}.brand.svelte-12qhfyh:hover{text-decoration:none}.mode-toggle.svelte-12qhfyh{border-color:var(--border);background:var(--surface);color:var(--text-dim);letter-spacing:.04em;border-radius:999px;align-items:center;gap:6px;padding:4px 8px 4px 5px;font-size:9px;display:flex}.mode-toggle.svelte-12qhfyh span:where(.svelte-12qhfyh){background:var(--green);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #4ade801a}.mode-toggle.work.svelte-12qhfyh{color:#c6bcff;background:#c6bcff14;border-color:#c6bcff59}.mode-toggle.work.svelte-12qhfyh span:where(.svelte-12qhfyh){background:#c6bcff;box-shadow:0 0 0 3px #c6bcff1f}.mode-toggle.svelte-12qhfyh strong:where(.svelte-12qhfyh){font-size:9px}.nav-links.svelte-12qhfyh{gap:6px;display:flex}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--text-dim);border-radius:8px;padding:6px 12px;font-weight:500}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh):hover{background:var(--surface);color:var(--text);text-decoration:none}.nav-links.svelte-12qhfyh a.active:where(.svelte-12qhfyh){background:var(--accent-soft);color:var(--accent)}main.svelte-12qhfyh{display:block}.mode-transition.svelte-12qhfyh{z-index:100;pointer-events:none;opacity:0;-webkit-backdrop-filter:blur();backdrop-filter:blur();background:radial-gradient(circle at 50% 45%,#4ade801a,#0000 34%),#0f1115c7;place-items:center;transition:opacity .18s,-webkit-backdrop-filter .22s,backdrop-filter .22s;display:grid;position:fixed;inset:0}.mode-transition.active.svelte-12qhfyh{opacity:1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mode-transition.to-work.svelte-12qhfyh{background:radial-gradient(circle at 50% 45%,#c6bcff29,#0000 34%),#0f1115d1}.mode-transition.svelte-12qhfyh>div:where(.svelte-12qhfyh){color:var(--text);background:#181b22eb;border:1px solid #4ade803d;border-radius:999px;align-items:center;gap:11px;padding:12px 17px;transition:transform .22s;display:flex;transform:translateY(5px)scale(.98);box-shadow:0 18px 60px #00000047}.mode-transition.active.svelte-12qhfyh>div:where(.svelte-12qhfyh){transform:translateY(0)scale(1)}.mode-transition.to-work.svelte-12qhfyh>div:where(.svelte-12qhfyh){border-color:#c6bcff4d}.mode-transition.svelte-12qhfyh span:where(.svelte-12qhfyh){background:var(--green);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 5px #4ade801a}.mode-transition.to-work.svelte-12qhfyh span:where(.svelte-12qhfyh){background:#c6bcff;box-shadow:0 0 0 5px #c6bcff1f}.mode-transition.svelte-12qhfyh strong:where(.svelte-12qhfyh){letter-spacing:.03em;font-size:12px}.mode-arriving.svelte-12qhfyh{animation:.28s both svelte-12qhfyh-mode-arrive}@keyframes svelte-12qhfyh-mode-arrive{0%{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.mode-transition.svelte-12qhfyh,.mode-transition.svelte-12qhfyh>div:where(.svelte-12qhfyh){transition-duration:.01ms}.mode-arriving.svelte-12qhfyh{animation:none}}@media (width>=761px){.mode-toggle.svelte-12qhfyh,.mode-toggle.svelte-12qhfyh strong:where(.svelte-12qhfyh){font-size:11px}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh),.mode-transition.svelte-12qhfyh strong:where(.svelte-12qhfyh){font-size:14px}}@media (width<=760px){.shell.svelte-12qhfyh{padding:0 12px 48px}nav.svelte-12qhfyh{gap:10px;margin-bottom:20px;padding:12px 0 10px}.brand.svelte-12qhfyh{margin-right:auto}.nav-links.svelte-12qhfyh{scrollbar-width:none;-webkit-overflow-scrolling:touch;order:3;gap:3px;width:calc(100% + 24px);margin:2px -12px 0;padding:0 12px 2px;overflow-x:auto}.nav-links.svelte-12qhfyh::-webkit-scrollbar{display:none}.nav-links.svelte-12qhfyh a:where(.svelte-12qhfyh){flex:none;padding:7px 10px}nav.svelte-12qhfyh .search{flex-basis:100%;order:4;max-width:none;margin-left:0}.account.svelte-12qhfyh{margin-left:0}.account.svelte-12qhfyh span:where(.svelte-12qhfyh){display:none}}@media (width<=380px){.mode-toggle.svelte-12qhfyh strong:where(.svelte-12qhfyh){display:none}.mode-toggle.svelte-12qhfyh{padding:7px}}
