:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#efe6da;--bg-deep:#e3d6c6;--surface:#fbf7f1;--ink:#1c1814;--muted:#6e645a;--line:#e4d8c9;--line-strong:#c9b8a4;--accent:#1c4a38;--accent-ink:#f6f1e8;--accent-soft:#e4f0e8;--danger:#8c2e29;--danger-soft:#f8e6e2;--warn:#8a5712;--warn-soft:#f8efd4;--shadow:0 12px 30px #462e140d;--serif:ui-serif, "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;--sans:ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--radius:18px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#171512;--bg-deep:#100e0c;--surface:#23201c;--ink:#f4efe8;--muted:#b6ab9f;--line:#3a342c;--line-strong:#5a4e42;--accent:#9ed4b6;--accent-ink:#102119;--accent-soft:#1c3329;--danger:#f0b4ae;--danger-soft:#3c2422;--warn:#efd09a;--warn-soft:#3a2e1c;--shadow:none}}*{box-sizing:border-box}html{touch-action:manipulation}body{background:var(--bg);color:var(--ink);font-family:var(--sans);margin:0;font-size:1rem;line-height:1.45}@media (min-width:700px){body{background:var(--bg-deep)}}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{background:var(--bg);flex-direction:column;width:min(100%,32.5rem);min-height:100dvh;margin:0 auto;display:flex}.top{z-index:2;padding:calc(.85rem + env(safe-area-inset-top)) 1rem .85rem;background:color-mix(in srgb, var(--bg) 92%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:sticky;top:0}.eyebrow,.wordmark{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.78rem}.wordmark{margin-bottom:.15rem;text-decoration:none;display:inline-block}h1,h2,.hero-figure,.run-rate strong{font-family:var(--serif);letter-spacing:-.02em;font-weight:560}h1{margin:.1rem 0 0;font-size:1.85rem;line-height:1.1}h2{margin:0;font-size:1.2rem}.top-row{justify-content:space-between;align-items:center;gap:.75rem;min-height:44px;display:flex}.back{width:-moz-fit-content;width:fit-content;min-height:44px;color:var(--accent);align-items:center;font-weight:650;text-decoration:none;display:flex}.lock{margin:0}.back:before{content:"‹";margin-right:.3rem;font-size:1.4rem;line-height:1}.segments{background:color-mix(in srgb, var(--line) 70%, var(--bg));border-radius:999px;grid-template-columns:repeat(3,1fr);gap:.25rem;margin-top:.85rem;padding:.2rem;display:grid}.segments a{min-height:44px;color:var(--muted);border-radius:999px;place-items:center;font-size:.92rem;font-weight:650;text-decoration:none;display:grid}.segments a[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.content{padding:.35rem 1rem calc(5.1rem + env(safe-area-inset-bottom));flex:1 0 auto}.stack{flex-direction:column;gap:.9rem;display:flex}.hero{padding:.2rem 0 .3rem}.hero-figure{font-variant-numeric:tabular-nums;margin:.15rem 0 .25rem;font-size:clamp(2.4rem,12vw,3.3rem);line-height:.95}.lede,.quiet,.footnote,.field small,figcaption{color:var(--muted);font-size:.92rem}.lede{margin:0}.stats{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.stat,.panel,.empty,.placeholder{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat{min-height:6.2rem;color:inherit;flex-direction:column;gap:.15rem;padding:.85rem;text-decoration:none;display:flex}.stat span,.stat small{color:var(--muted);font-size:.8rem}.stat strong{font-family:var(--serif);font-variant-numeric:tabular-nums;font-size:1.55rem;font-weight:560;line-height:1.1}.panel{padding:.95rem}.panel-head,.toolbar{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.panel-head{margin-bottom:.75rem}.panel-head a,.file-row a{color:var(--accent);font-weight:650}.list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.row{color:inherit;border-top:1px solid var(--line);justify-content:space-between;gap:.75rem;padding:.8rem 0;text-decoration:none;display:flex}.list li:first-child .row,.split-row:first-child .row{border-top:0}.row strong,.row small,.row-end{display:block}.row small,.row-end small{color:var(--muted);font-size:.82rem}.row-end{text-align:right;font-variant-numeric:tabular-nums;flex-direction:column;flex:none;align-items:flex-end;gap:.5rem;display:flex}.money{font-variant-numeric:tabular-nums}.pill{letter-spacing:.01em;white-space:nowrap;border-radius:999px;padding:.12rem .45rem;font-size:.75rem;font-style:normal;font-weight:700;display:inline-block}.pill.overdue{background:var(--danger-soft);color:var(--danger)}.pill.soon,.pill.upcoming{background:var(--warn-soft);color:var(--warn)}.pill.paid{background:var(--accent-soft);color:var(--accent)}.split-row{border-top:1px solid var(--line)}.split-row:first-child{border-top:0}.split-row .row{border-top:0;padding-bottom:.25rem}.text-button,.button,.chips button{border:1px solid #0000;border-radius:999px;min-height:44px}.text-button{color:var(--accent);cursor:pointer;background:0 0;margin:0 0 .45rem;padding:0;font-weight:700}.toolbar{flex-wrap:wrap;align-items:stretch}.toolbar .chips{flex:100%}.toolbar .button{align-self:flex-start}.toolbar .quiet{flex:1;margin:0}.button{background:var(--accent);color:var(--accent-ink);cursor:pointer;justify-content:center;align-items:center;padding:.65rem 1rem;font-weight:700;text-decoration:none;display:inline-flex}.button.ghost{color:var(--ink);border-color:var(--line-strong);background:0 0}.button.danger{background:var(--danger);color:#fff}.button:disabled{opacity:.6}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chips button{border-color:var(--line-strong);color:var(--muted);cursor:pointer;background:0 0;flex:none;padding:.4rem .8rem}.chips button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--bg)}.categories{flex-direction:column;gap:.9rem;margin:.8rem 0 0;padding:0;list-style:none;display:flex}.category-top{font-variant-numeric:tabular-nums;justify-content:space-between;gap:.75rem;display:flex}.categories p{color:var(--muted);margin:.3rem 0 0;font-size:.82rem}.meter{background:var(--line);border-radius:999px;height:7px;margin-top:.4rem;overflow:hidden}.meter span{background:var(--accent);border-radius:inherit;height:100%;display:block}.run-rate{flex-direction:column;margin:0 0 .2rem;display:flex}.run-rate strong{font-size:1.7rem;line-height:1}.run-rate span{color:var(--muted)}.trend svg{width:100%;height:auto;display:block}.trend .bar{fill:var(--line-strong)}.trend .bar.current{fill:var(--accent)}.trend text{fill:var(--muted);font-size:11px;font-family:var(--sans)}.trend figcaption{margin-top:.35rem}.field{flex-direction:column;gap:.35rem;font-weight:650;display:flex}.field.compact{font-weight:600}.field small{font-weight:450}input,select,textarea{border:1px solid var(--line-strong);background:var(--surface);border-radius:12px;width:100%;min-height:48px;padding:.7rem .8rem;font-weight:450}textarea{resize:vertical;min-height:6.5rem}.affix{align-items:center;gap:.45rem;display:flex}.affix span{color:var(--muted);font-family:var(--serif);font-size:1.2rem}.affix input{flex:1}.pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;display:grid}.pair .field,.pair input,input[type=date]{min-width:0;max-width:100%}.switch{border:1px solid var(--line);background:var(--surface);border-radius:14px;margin:0;padding:.8rem}.switch label{align-items:center;gap:.7rem;min-height:44px;font-weight:700;display:flex}.switch input[type=checkbox]{width:1.2rem;height:1.2rem;min-height:0;accent-color:var(--accent)}.form-actions,.confirm{flex-direction:column;gap:.55rem;display:flex}.file-row{justify-content:space-between;align-items:center;gap:.75rem;margin:0;display:flex}.empty,.placeholder{padding:1.15rem}.empty h2,.placeholder h2{margin-bottom:.4rem}.empty p,.placeholder p{color:var(--muted);margin:0 0 .9rem}.placeholder ul{flex-direction:column;gap:.4rem;margin:0;padding-left:1.1rem;display:flex}.banner,.status{margin:0}.banner{background:var(--danger-soft);color:var(--danger);border-radius:12px;padding:.75rem .85rem}.tabbar{z-index:3;width:min(100%,32.5rem);padding:.35rem .4rem calc(.4rem + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 94%, transparent);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);grid-template-columns:repeat(4,1fr);gap:.2rem;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabbar a{min-height:52px;color:var(--muted);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;font-size:.72rem;font-weight:700;text-decoration:none;display:flex}.tabbar a[aria-current=page]{color:var(--accent);background:var(--accent-soft)}.tabbar svg{width:1.45rem;height:1.45rem}.login{min-height:100dvh;padding:calc(1.5rem + env(safe-area-inset-top)) 1.15rem calc(2rem + env(safe-area-inset-bottom));flex-direction:column;justify-content:center;display:flex}.login h1{font-size:2.15rem}.login form{flex-direction:column;gap:.9rem;margin-top:1.4rem;display:flex}.login .button{width:100%}.login-status{padding:2rem 1rem}.password-row{align-items:center;gap:.35rem;display:flex}.password-row input{flex:1;min-width:0}.password-row .text-button{flex:none;margin:0;padding:0 .4rem}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:360px){.pair,.stats{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
