:root{--font:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--brand:#6366f1;--brand-strong:#4f46e5;--brand-soft:color-mix(in srgb, var(--brand) 14%, transparent);--pos:#10b981;--neg:#ef4444;--warn:#f59e0b;--radius:14px;--radius-sm:9px;--radius-lg:20px;--shadow-sm:0 1px 2px #0f172a0f, 0 1px 3px #0f172a14;--shadow:0 4px 12px #0f172a14, 0 2px 4px #0f172a0d;--shadow-lg:0 20px 40px -12px #0f172a47;--maxw:1120px}:root,:root[data-theme=light]{--bg:#f4f5fb;--bg-elevated:#fff;--surface:#fff;--surface-2:#f8f9fd;--border:#e6e8f0;--border-strong:#d4d7e3;--text:#0f172a;--text-muted:#64748b;--text-faint:#94a3b8;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0b1020;--bg-elevated:#141a2e;--surface:#161d33;--surface-2:#1c2440;--border:#26304f;--border-strong:#33406a;--text:#eef1f9;--text-muted:#93a0bd;--text-faint:#64708f;--shadow-sm:0 1px 2px #0006;--shadow:0 6px 16px #0006;--shadow-lg:0 24px 48px -12px #0009;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}h1,h2,h3,h4{letter-spacing:-.01em;margin:0;line-height:1.2}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit;color:inherit}::selection{background:var(--brand-soft)}.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}.row{align-items:center;gap:12px;display:flex}.spread{justify-content:space-between;align-items:center;gap:12px;display:flex}.grid{gap:16px;display:grid}.muted{color:var(--text-muted)}.faint{color:var(--text-faint)}.pos{color:var(--pos)}.neg{color:var(--neg)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.card-pad{padding:20px}.btn{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface);color:var(--text);white-space:nowrap;justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,transform 50ms,opacity .15s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-strong);border-color:var(--brand-strong)}.btn-ghost{background:0 0;border-color:#0000}.btn-ghost:hover{background:var(--surface-2)}.btn-danger{color:var(--neg);background:0 0;border-color:#0000}.btn-danger:hover{background:color-mix(in srgb, var(--neg) 12%, transparent)}.btn-sm{padding:6px 11px;font-size:13px}.btn-icon{width:36px;height:36px;padding:8px}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--text-muted);font-size:13px;font-weight:600}.field .hint{color:var(--text-faint);font-size:12px}.input,.select{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-elevated);width:100%;color:var(--text);padding:10px 12px;transition:border-color .15s,box-shadow .15s}.input:focus,.select:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft);outline:none}.input-affix{border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--bg-elevated);align-items:center;display:flex;overflow:hidden}.input-affix:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-soft)}.input-affix input{background:0 0;border:none;width:100%;padding:10px 12px}.input-affix input:focus{outline:none}.input-affix .affix{color:var(--text-faint);background:var(--surface-2);align-self:stretch;align-items:center;padding:0 12px;font-size:14px;font-weight:600;display:flex}.badge{background:var(--surface-2);color:var(--text-muted);border:1px solid var(--border);border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.chip{border:1px solid var(--border-strong);background:var(--surface);color:var(--text-muted);border-radius:999px;align-items:center;gap:6px;padding:5px 11px;font-size:13px;font-weight:600;transition:background .15s,color .15s,border-color .15s;display:inline-flex}.chip.active{background:var(--brand);border-color:var(--brand);color:#fff}.dot{border-radius:50%;flex:none;width:10px;height:10px}.progress{background:var(--surface-2);border:1px solid var(--border);border-radius:999px;height:9px;overflow:hidden}.progress>div{border-radius:999px;height:100%;transition:width .4s}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:700}.tnum{font-variant-numeric:tabular-nums}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-faint);font-size:13px;font-weight:700}.empty{text-align:center;color:var(--text-muted);border:1.5px dashed var(--border-strong);border-radius:var(--radius);background:var(--surface);padding:48px 24px}.empty .emoji{margin-bottom:12px;font-size:40px;display:block}@media (width<=640px){.stat-value{font-size:24px}}.app.svelte-12qhfyh{flex-direction:column;min-height:100vh;display:flex}.topbar.svelte-12qhfyh{z-index:20;background:color-mix(in srgb, var(--bg-elevated) 85%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);position:sticky;top:0}.bar.svelte-12qhfyh{align-items:center;gap:16px;height:62px;display:flex}.brand.svelte-12qhfyh{letter-spacing:-.02em;align-items:center;gap:9px;font-size:18px;font-weight:800;display:flex}.logo.svelte-12qhfyh{background:linear-gradient(135deg, var(--brand), #8b5cf6);color:#fff;width:30px;height:30px;box-shadow:var(--shadow-sm);border-radius:9px;place-items:center;font-weight:800;display:grid}.nav.svelte-12qhfyh{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;gap:2px;margin-left:auto;padding:4px;display:flex}.nav-link.svelte-12qhfyh{color:var(--text-muted);border-radius:8px;align-items:center;gap:8px;padding:7px 14px;font-size:14px;font-weight:600;transition:background .15s,color .15s;display:flex}.nav-link.svelte-12qhfyh:hover{color:var(--text)}.nav-link.active.svelte-12qhfyh{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.nav-icon.svelte-12qhfyh{font-size:15px}.theme-btn.svelte-12qhfyh{flex:none}.page.svelte-12qhfyh{flex:1;width:100%;padding-top:28px;padding-bottom:48px}.foot.svelte-12qhfyh{border-top:1px solid var(--border);color:var(--text-faint);text-align:center;padding:18px 0;font-size:13px}@media (width<=760px) and (width>=701px){.brand-name.svelte-12qhfyh,.nav-label.svelte-12qhfyh{display:none}.nav-link.svelte-12qhfyh{padding:8px 11px}.nav-icon.svelte-12qhfyh{font-size:17px}}.tabbar.svelte-12qhfyh,.sheet-backdrop.svelte-12qhfyh,.sheet.svelte-12qhfyh{display:none}@media (width<=700px){.nav.svelte-12qhfyh{display:none}.page.svelte-12qhfyh{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}.foot.svelte-12qhfyh{padding-bottom:calc(18px + 64px + env(safe-area-inset-bottom,0px))}.tabbar.svelte-12qhfyh{z-index:30;background:color-mix(in srgb, var(--bg-elevated) 92%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));display:flex;position:fixed;bottom:0;left:0;right:0}.tab.svelte-12qhfyh{color:var(--text-faint);font:inherit;background:0 0;border:none;border-radius:10px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px 2px;display:flex}.tab.active.svelte-12qhfyh{color:var(--brand)}.tab-icon.svelte-12qhfyh{font-size:19px;line-height:1}.tab-label.svelte-12qhfyh{font-size:10.5px;font-weight:600}.sheet-backdrop.svelte-12qhfyh{z-index:31;background:#0f172a73;border:none;display:block;position:fixed;inset:0}.sheet.svelte-12qhfyh{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:32;background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);flex-direction:column;gap:2px;padding:8px;display:flex;position:fixed}.sheet-link.svelte-12qhfyh{color:var(--text);border-radius:10px;align-items:center;gap:10px;padding:12px;font-size:15px;font-weight:600;display:flex}.sheet-link.svelte-12qhfyh:hover{background:var(--surface-2)}.sheet-link.active.svelte-12qhfyh{color:var(--brand);background:var(--brand-soft)}}
