:root{--bg:#f6f5f1;--surface:#fff;--surface-2:#efede7;--text:#1d1f22;--muted:#6b6f76;--border:#e1ded6;--accent:#2f6f5e;--accent-text:#fff;--good:#2f7d4f;--warn:#b7791f;--bad:#c0392b;--income:#2f7d4f;--radius:12px;--shadow:0 1px 2px #0000000a, 0 2px 8px #0000000a;color-scheme:light;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--bg:#16181b;--surface:#1f2226;--surface-2:#282c31;--text:#e8e9eb;--muted:#9aa0a8;--border:#33373d;--accent:#5fb39a;--accent-text:#0d1f1a;--good:#5cbf85;--warn:#e0a84a;--bad:#ec6f61;--income:#5cbf85;--shadow:none;color-scheme:dark}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}a{color:var(--accent)}h1{margin:0 0 1rem;font-size:1.5rem}h2{margin:1.5rem 0 .75rem;font-size:1.1rem}.num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.muted{color:var(--muted)}.small{font-size:.85rem}.income{color:var(--income)}.bad{color:var(--bad)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}label.check{color:var(--text);flex-direction:row;align-items:center;gap:.5rem;font-size:1rem}input,select,textarea{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;width:100%;min-width:0;padding:.55rem .65rem}input[type=checkbox]{width:auto}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:1px}button,.button{font:inherit;border:1px solid var(--border);background:var(--surface);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:.35rem;padding:.55rem .9rem;text-decoration:none;display:inline-flex}button.primary,.button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button.danger{color:var(--bad)}button.link{color:var(--accent);background:0 0;border:0;padding:0}.form-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:.75rem;display:grid}.row{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.spread{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.error{background:color-mix(in srgb, var(--bad) 12%, transparent);color:var(--bad);border-radius:8px;margin:0 0 1rem;padding:.6rem .8rem}.notice{background:color-mix(in srgb, var(--good) 12%, transparent);color:var(--good);border-radius:8px;margin:0 0 1rem;padding:.6rem .8rem}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:.55rem .5rem}th{color:var(--muted);font-size:.8rem;font-weight:600}tr:last-child td{border-bottom:0}.table-wrap{overflow-x:auto}header.svelte-12qhfyh{background:var(--surface);border-bottom:1px solid var(--border);z-index:10;padding-top:env(safe-area-inset-top);position:sticky;top:0}.inner.svelte-12qhfyh{align-items:center;gap:1.25rem;max-width:1000px;margin:0 auto;padding:.6rem 1rem;display:flex}.brand.svelte-12qhfyh{color:var(--text);font-weight:700;text-decoration:none}nav.top.svelte-12qhfyh{flex:1;gap:.25rem;display:flex}nav.top.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--muted);white-space:nowrap;border-radius:6px;padding:.35rem .6rem;text-decoration:none}nav.top.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--text);background:var(--surface-2)}.logout.svelte-12qhfyh{align-items:center;gap:.6rem;display:flex}main.svelte-12qhfyh{max-width:1000px;padding:1.25rem max(1rem, env(safe-area-inset-left)) 3rem;margin:0 auto}.tabs.svelte-12qhfyh{display:none}@media (width<=700px){nav.top.svelte-12qhfyh,.logout.svelte-12qhfyh{display:none}.inner.svelte-12qhfyh{justify-content:center;padding:.55rem 1rem}main.with-tabs.svelte-12qhfyh{padding-bottom:calc(5.5rem + env(safe-area-inset-bottom))}.tabs.svelte-12qhfyh{z-index:20;background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:.35rem .25rem calc(.35rem + env(safe-area-inset-bottom));grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabs.svelte-12qhfyh a:where(.svelte-12qhfyh){color:var(--muted);-webkit-tap-highlight-color:transparent;flex-direction:column;align-items:center;gap:.15rem;padding:.2rem 0;font-size:.68rem;text-decoration:none;display:flex}.tabs.svelte-12qhfyh a.active:where(.svelte-12qhfyh){color:var(--accent)}.tabs.svelte-12qhfyh svg:where(.svelte-12qhfyh){fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.tabs.svelte-12qhfyh a.main:where(.svelte-12qhfyh) svg:where(.svelte-12qhfyh){background:var(--accent);width:40px;height:40px;color:var(--accent-text);stroke-width:2.4px;border-radius:50%;margin-top:-12px;padding:8px;box-shadow:0 2px 8px #0000002e}.tabs.svelte-12qhfyh a.main:where(.svelte-12qhfyh){color:var(--accent)}}
