:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f6f7f6;--surface:#fff;--text:#16181a;--text-muted:#5f6569;--border:#dde1df;--accent:#15803d;--accent-text:#fff;--danger:#c62828;--warning:#b45309;--focus:#2563eb;--radius:12px;--space:16px;--nav-height:58px;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#101211;--surface:#1b1e1d;--text:#eef0ef;--text-muted:#a0a7a4;--border:#2e3331;--accent:#22c55e;--accent-text:#06210f;--danger:#f87171;--warning:#fbbf24;--focus:#60a5fa}}*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0}body{padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}h1,h2,h3{margin:0;line-height:1.2}input,select,textarea,button{font:inherit;color:inherit;font-size:max(16px,1rem)}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.screen{max-width:560px;padding:var(--space);margin:0 auto}.muted{color:var(--text-muted)}.form{gap:var(--space);flex-direction:column;display:flex}.field{flex-direction:column;gap:6px;display:flex}.field-label{color:var(--text-muted);font-size:.875rem;font-weight:600}.field input{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;min-height:48px;padding:10px 12px}.form-error{color:var(--danger);margin:0;font-size:.875rem}.button{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);cursor:pointer;min-height:48px;padding:0 20px;font-weight:600}.button-primary{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.button:disabled{opacity:.5;cursor:default}.sign-in{gap:var(--space);flex-direction:column;max-width:400px;padding-top:15vh;display:flex}.sign-in-logo{border-radius:14px}.button-small{min-height:36px;padding:0 16px}.button-danger{border-color:var(--danger);background:var(--danger);color:#fff}.button-text{min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0 4px;font-weight:600}.button-text-danger{color:var(--danger)}.field-error{color:var(--danger);margin:0;font-size:.875rem}.field input[aria-invalid=true]{border-color:var(--danger)}fieldset.field{border:0;min-width:0;margin:0;padding:0}fieldset.field legend{margin-bottom:6px;padding:0}.field input[type=date]{appearance:none;text-align:left}.banner{z-index:5;justify-content:space-between;align-items:center;gap:var(--space);padding:8px var(--space);font-size:.9375rem;display:flex;position:sticky;top:0}.banner-error{background:var(--danger);color:#fff}.banner-error .button-text{color:inherit}.home{padding-bottom:96px}.eyebrow{font-size:.9375rem;font-weight:600}.today{padding:8px 0 24px}.today-total{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:3rem;font-weight:700}.today-extras{margin:0}.section-heading{margin-bottom:8px;font-size:1rem}.empty{text-align:center;margin:0;padding:24px 0}.home-footer{text-align:center;margin-top:32px}.purchase-list{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);margin:0;padding:0;list-style:none;overflow:hidden}.purchase-list li+li{border-top:1px solid var(--border)}.purchase-row{text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 14px;display:flex}.purchase-main,.purchase-amounts{flex-direction:column;gap:2px;min-width:0;display:flex}.purchase-amounts{flex-shrink:0;align-items:flex-end}.purchase-description{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.purchase-meta{color:var(--text-muted);align-items:center;gap:6px;font-size:.8125rem;display:flex}.purchase-amount{font-variant-numeric:tabular-nums;font-weight:600}.purchase-split{color:var(--text-muted);white-space:nowrap;font-size:.75rem}.badge{letter-spacing:.02em;border:1px solid;border-radius:6px;padding:1px 6px;font-size:.6875rem;font-weight:700}.badge-amex{color:#2563eb}.badge-bofa{color:#c2410c}.badge-venmo{color:#0f766e}.badge-cash{color:#a16207}@media (prefers-color-scheme:dark){.badge-amex{color:#93c5fd}.badge-bofa{color:#fdba74}.badge-venmo{color:#5eead4}.badge-cash{color:#fde047}}.fab{z-index:11;right:calc(20px + env(safe-area-inset-right));bottom:calc(var(--nav-height) + 16px + env(safe-area-inset-bottom));background:var(--accent);width:60px;height:60px;color:var(--accent-text);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;position:fixed;box-shadow:0 4px 14px #00000040}html:has(dialog[open]){overflow:hidden}.sheet{background:var(--bg);width:100%;max-width:100%;height:100%;max-height:100%;color:var(--text);border:0;margin:0;padding:0}.sheet::backdrop{background:#0006}.sheet-form{flex-direction:column;height:100%;display:flex}.sheet-header{padding:calc(8px + env(safe-area-inset-top)) calc(var(--space) + env(safe-area-inset-right)) 8px calc(var(--space) + env(safe-area-inset-left));border-bottom:1px solid var(--border);background:var(--surface);grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;display:grid}.sheet-header h2{font-size:1rem}.sheet-header>:first-child{justify-self:start}.sheet-header>:last-child{justify-self:end}.sheet-body{overscroll-behavior:contain;padding:var(--space) calc(var(--space) + env(safe-area-inset-right)) calc(var(--space) * 2 + env(safe-area-inset-bottom)) calc(var(--space) + env(safe-area-inset-left));flex-direction:column;flex:1;gap:20px;display:flex;overflow-y:auto}@media (width>=600px){.sheet{border-radius:16px;width:min(480px,100% - 32px);height:auto;max-height:min(820px,100% - 64px);margin:auto}.sheet-header{padding-top:8px}}.amount-input{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);align-items:center;gap:4px;padding:0 12px;font-size:2rem;font-weight:600;display:flex}.amount-input:focus-within{outline:2px solid var(--focus);outline-offset:2px}.field .amount-input input,.amount-input input{min-width:0;min-height:60px;font-size:inherit;font-weight:inherit;font-variant-numeric:tabular-nums;background:0 0;border:0;outline:none;flex:1;padding:0}.amount-input-small{flex:1;font-size:1.125rem}.amount-input-small input{min-height:46px}.quick-picks{scrollbar-width:none;flex-shrink:0;gap:8px;padding-bottom:2px;display:flex;overflow-x:auto}.quick-pick{border:1px solid var(--border);background:var(--surface);max-width:160px;min-height:48px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;flex-direction:column;flex-shrink:0;align-items:flex-start;padding:6px 12px;display:flex}.quick-pick:active{border-color:var(--accent)}.quick-pick-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.9375rem;font-weight:600;overflow:hidden}.quick-pick-amount{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:.8125rem}.suggestions{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:6px 0 0;padding:0;list-style:none;overflow:hidden}.suggestions li+li{border-top:1px solid var(--border)}.suggestion{width:100%;min-height:44px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.suggestion:active,.suggestion:hover{background:var(--bg)}.suggestion-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.suggestion-meta{color:var(--text-muted);flex-shrink:0;font-size:.8125rem}.segmented{grid-template-columns:1fr 1fr;gap:8px;display:grid}.segment,.chip{cursor:pointer;position:relative}.segment input,.chip input{opacity:0;pointer-events:none;position:absolute}.segment span,.chip span{border:1px solid var(--border);background:var(--surface);text-align:center;justify-content:center;align-items:center;font-weight:600;display:flex}.segment span{border-radius:var(--radius);min-height:52px;padding:0 8px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip span{border-radius:999px;min-height:44px;padding:0 14px;font-size:.9375rem}.segment input:checked+span,.chip input:checked+span{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.segment input:focus-visible+span,.chip input:focus-visible+span{outline:2px solid var(--focus);outline-offset:2px}.switch-row,.check-row{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-weight:600;display:flex}.check-row{justify-content:flex-start}.check-row input{width:22px;height:22px;accent-color:var(--accent)}.switch{appearance:none;background:var(--border);cursor:pointer;border-radius:999px;flex-shrink:0;width:51px;height:31px;margin:0;transition:background .15s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:27px;height:27px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0000004d}.switch:checked{background:var(--accent)}.switch:checked:after{transform:translate(20px)}.split{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:12px;padding:14px;display:flex}.share-row{gap:8px;display:flex}.divisor{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);cursor:pointer;min-width:48px;min-height:48px;font-weight:700}.divisor[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.split-summary{flex-direction:column;gap:4px;margin:0;display:flex}.split-summary div{justify-content:space-between;display:flex}.split-summary dt{color:var(--text-muted)}.split-summary dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.delete-area{text-align:center;padding-top:8px}.confirm{border:1px solid var(--danger);border-radius:var(--radius);text-align:left;padding:14px}.confirm p{margin:0 0 12px}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}:root{--series-1:#2a78d6;--series-2:#eb6834;--series-3:#1baf7a;--series-4:#eda100;--chart-ontrack:#8a8f8c;--chart-grid:#e6e8e7;--good:#15803d}@media (prefers-color-scheme:dark){:root{--series-1:#3987e5;--series-2:#d95926;--series-3:#199e70;--series-4:#c98500;--chart-ontrack:#6e7471;--chart-grid:#2c302e;--good:#4ade80}}.home-cards{flex-direction:column;gap:12px;margin-bottom:24px;display:flex}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:inherit;padding:16px;text-decoration:none;display:block}.card-link{cursor:pointer}.card-link:hover{border-color:var(--text-muted)}.card-header{justify-content:space-between;align-items:baseline;gap:8px;font-size:.875rem;display:flex}.card-title{font-size:.9375rem;font-weight:700}.card-figure{margin:8px 0 2px;font-size:1.75rem;font-weight:700}.card-figure-of{color:var(--text-muted);font-size:1rem;font-weight:500}.card-line{margin:2px 0 0;font-size:.875rem}.text-strong{color:var(--text)}.negative{color:var(--warning)}.pace-status{margin:0;font-size:.9375rem;font-weight:600}.pace-status-ahead{color:var(--good)}.pace-status-over{color:var(--danger)}.pace-status-on{color:var(--text-muted)}.pots{grid-template-columns:1fr 1fr;gap:12px;display:grid}.pot-balance{margin:6px 0 0;font-size:1.5rem;font-weight:700}.pot-warning{color:var(--warning);margin:0;font-size:.8125rem;font-weight:600}.pace-chart{margin-top:8px;position:relative}.pace-chart svg{touch-action:pan-y;display:block;overflow:visible}.pace-chart svg:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:4px}.chart-grid{stroke:var(--chart-grid);stroke-width:1px;shape-rendering:crispedges}.chart-tick{fill:var(--text-muted);font-variant-numeric:tabular-nums;font-size:12px}.chart-tick-strong{fill:var(--text);font-weight:600}.chart-ontrack{fill:none;stroke:var(--chart-ontrack);stroke-width:1.5px;stroke-linecap:round}.chart-gradient-top{stop-color:var(--series-1);stop-opacity:.26}.chart-gradient-bottom{stop-color:var(--series-1);stop-opacity:0}.chart-value-label{fill:var(--text);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--surface);stroke-width:4px;stroke-linejoin:round;font-size:13px;font-weight:700}.chart-forecast-end{fill:var(--surface);stroke:var(--series-1);stroke-width:2px;opacity:.8}.chart-pulse{fill:var(--series-1);transform-box:fill-box;transform-origin:50%;pointer-events:none;animation:2.4s ease-out infinite chart-pulse}@keyframes chart-pulse{0%{opacity:.45;transform:scale(1)}70%,to{opacity:0;transform:scale(3)}}.chart-draw-in{stroke-dasharray:1;animation:.9s cubic-bezier(.2,.7,.2,1) both chart-draw}@keyframes chart-draw{0%{stroke-dashoffset:1px}to{stroke-dashoffset:0}}.chart-fade-in{animation:.5s .35s both chart-fade}@keyframes chart-fade{0%{opacity:0}}.bar-grow{transform-box:fill-box;transform-origin:50% 100%;animation:bar-grow .55s cubic-bezier(.2, .7, .2, 1) var(--bar-delay,0s) both;transition:opacity .15s}@keyframes bar-grow{0%{transform:scaleY(0)}}.bar-stub{fill:var(--chart-grid)}.bar-chart-focused .bar:not(.bar-active) .bar-grow{opacity:.35}.chart-actual{fill:none;stroke:var(--series-1);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-forecast{fill:none;stroke:var(--series-1);stroke-width:2px;stroke-dasharray:4 5;stroke-linecap:round;opacity:.7}.chart-dot{fill:var(--series-1);stroke:var(--surface);stroke-width:2.5px}.chart-dot-minor{fill:var(--surface);stroke:var(--series-1);stroke-width:2px}.chart-crosshair{stroke:var(--text-muted);stroke-width:1px;opacity:.6}.chart-tooltip{border:1px solid var(--border);background:var(--surface);pointer-events:none;z-index:2;border-radius:12px;min-width:150px;padding:10px 12px;font-size:.8125rem;line-height:1.6;position:absolute;top:28px;transform:translate(-50%);box-shadow:0 10px 28px #00000024,0 2px 6px #0000000f}.chart-tooltip-title{color:var(--text-muted);letter-spacing:.02em;margin-bottom:2px;font-size:.75rem;font-weight:600}.chart-tooltip-row{white-space:nowrap;align-items:center;gap:6px;display:flex}.legend{color:var(--text-muted);flex-wrap:wrap;gap:4px 16px;margin:0 0 6px;padding:0;font-size:.8125rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:flex}.legend-line{border-radius:1px;width:14px;height:2px;display:inline-block}.legend-actual{background:var(--series-1)}.legend-ontrack{background:var(--chart-ontrack)}.legend-forecast{background:repeating-linear-gradient(90deg, var(--series-1) 0 4px, transparent 4px 7px);opacity:.7}.legend-swatch{border-radius:3px;width:10px;height:10px;display:inline-block}:root{--ring-track:#e3e6e4;--ring-good:#16a34a;--ring-warning:#ea7a1a;--ring-bad:#dc2626}@media (prefers-color-scheme:dark){:root{--ring-track:#2f3432;--ring-good:#22c55e;--ring-warning:#fb923c;--ring-bad:#f87171}}.this-month-body{align-items:center;gap:16px;margin-top:8px;display:flex}.this-month-text{min-width:0}.this-month-text .card-figure{margin:0 0 4px;line-height:1.15}.this-month-text .card-figure-of{font-size:.875rem;display:block}.this-month-text .pace-status{margin-bottom:2px}.spend-ring{flex-shrink:0;position:relative}.spend-ring svg{display:block;overflow:visible}.spend-ring circle{fill:none}.spend-ring-track{stroke:var(--ring-track)}.spend-ring-arc{stroke:var(--ring-colour);transition:stroke .3s,stroke-dasharray 1s cubic-bezier(.2,.7,.2,1)}.spend-ring-good{--ring-colour:var(--ring-good)}.spend-ring-warning{--ring-colour:var(--ring-warning)}.spend-ring-bad{--ring-colour:var(--ring-bad)}.spend-ring-bar-halo{stroke:var(--surface);stroke-width:7px;stroke-linecap:round}.spend-ring-bar{stroke:var(--text);stroke-width:3px;stroke-linecap:round}.spend-ring-label{flex-direction:column;justify-content:center;align-items:center;line-height:1.1;display:flex;position:absolute;inset:0}.spend-ring-percent{font-variant-numeric:tabular-nums;font-size:1.375rem;font-weight:700}.spend-ring-caption{color:var(--text-muted);font-size:.75rem}:root{--heat-0:var(--bg);--heat-1:#86b6ef;--heat-2:#3987e5;--heat-3:#1c5cab;--heat-4:#0d366b;--heat-ink-1:#0b0b0b;--heat-ink-2:#0b0b0b;--heat-ink-3:#fff;--heat-ink-4:#fff}@media (prefers-color-scheme:dark){:root{--heat-1:#184f95;--heat-2:#2a78d6;--heat-3:#5598e7;--heat-4:#9ec5f4;--heat-ink-1:#fff;--heat-ink-2:#fff;--heat-ink-3:#0b0b0b;--heat-ink-4:#0b0b0b}}.heatmap{margin-top:12px}.heatmap-grid{grid-template-columns:repeat(7,1fr);gap:4px;max-width:420px;display:grid}.heatmap-weekday{color:var(--text-muted);text-align:center;padding-bottom:2px;font-size:.75rem;font-weight:600;text-decoration:none}.heatmap-day{aspect-ratio:1;min-height:36px;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border:0;border-radius:8px;padding:0;font-size:.8125rem;font-weight:600;transition:transform .12s}.heatmap-day:active:not(:disabled){transform:scale(.94)}.heat-0{background:var(--heat-0);color:var(--text-muted)}.heat-1{background:var(--heat-1);color:var(--heat-ink-1)}.heat-2{background:var(--heat-2);color:var(--heat-ink-2)}.heat-3{background:var(--heat-3);color:var(--heat-ink-3)}.heat-4{background:var(--heat-4);color:var(--heat-ink-4)}.heat-future{color:var(--text-muted);opacity:.5;cursor:default;background:0 0}.heatmap-today{box-shadow:inset 0 0 0 2px var(--surface), 0 0 0 2px var(--text)}.heatmap-selected:not(.heatmap-today){box-shadow:0 0 0 2px var(--text-muted)}.heatmap-day:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.heatmap-legend{color:var(--text-muted);flex-wrap:wrap;gap:4px 12px;margin:12px 0 0;padding:0;font-size:.75rem;list-style:none;display:flex}.heatmap-legend li{align-items:center;gap:5px;display:flex}.heatmap-swatch{border-radius:3px;width:12px;height:12px}.heatmap-swatch.heat-0{box-shadow:inset 0 0 0 1px var(--border)}.heatmap-detail{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.heatmap-detail-title{margin:0 0 8px;font-size:.9375rem}.app-content{padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom))}.nav{z-index:10;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border-top:1px solid var(--border);background:var(--surface);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.nav-brand{display:none}.nav-item{height:var(--nav-height);color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:.6875rem;font-weight:600;text-decoration:none;display:flex}.nav-item[aria-current=page]{color:var(--accent)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.screen-header{margin:8px 0 16px}.screen-header h1{font-size:1.75rem}.back-link{min-height:44px;color:var(--accent);align-items:center;gap:4px;font-weight:600;text-decoration:none;display:inline-flex}.select-field select,.field input[type=search]{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;min-height:44px;padding:8px 12px}.select-field select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);background-position:calc(100% - 18px),calc(100% - 13px);background-repeat:no-repeat;background-size:5px 5px;padding-right:32px}.filters{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.filter-row{grid-template-columns:1fr 1fr;gap:8px;display:grid}.filter-check{justify-content:flex-start;font-weight:500}.results-summary{margin:0 0 8px;font-size:.875rem}.day-group{margin-bottom:16px}.day-header{color:var(--text-muted);justify-content:space-between;margin:0 4px 6px;font-size:.875rem;font-weight:600;display:flex}.day-total{font-variant-numeric:tabular-nums}.owed-card{justify-content:space-between;align-items:center;gap:12px;display:flex}.owed-card>span:first-child{flex-direction:column;display:flex}.owed-card-total{white-space:nowrap;font-size:1.25rem;font-weight:700}.owed-total{margin:0;font-size:2rem;font-weight:700}.owed-total .muted{font-size:1rem;font-weight:500}.owed-help{margin:4px 0 16px;font-size:.875rem}.owed-row{cursor:pointer;align-items:center;gap:12px;min-height:60px;padding:10px 14px;display:flex}.owed-row input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}.owed-main{flex-direction:column;flex:1;min-width:0;display:flex}.recent-repaid{margin-top:24px}.recent-repaid summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.insights-grid{flex-direction:column;gap:12px;display:flex}.stepper{align-items:center;gap:2px;display:inline-flex}.stepper-button{border:1px solid var(--border);background:var(--surface);cursor:pointer;border-radius:50%;width:36px;height:36px;font-size:1.25rem;line-height:1}.stepper-button:disabled{opacity:.35;cursor:default}.stepper-value{text-align:center;min-width:8.5em;font-size:.9375rem;font-weight:600}.bar-chart,.line-chart{margin-top:8px;position:relative}.bar-chart svg,.line-chart svg{touch-action:pan-y;display:block;overflow:visible}.bar-chart svg:focus-visible,.line-chart svg:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:4px}.fill-amex,.swatch-amex{fill:var(--series-1);background:var(--series-1)}.fill-bofa,.swatch-bofa{fill:var(--series-2);background:var(--series-2)}.fill-venmo,.swatch-venmo{fill:var(--series-3);background:var(--series-3)}.fill-cash,.swatch-cash{fill:var(--series-4);background:var(--series-4)}.table-view{margin-top:8px;font-size:.875rem}.table-view summary{min-height:36px;color:var(--accent);cursor:pointer;padding:6px 0;font-weight:600}.table-view table,.data-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.data-table{margin-top:10px;font-size:.875rem}.table-view th,.table-view td,.data-table th,.data-table td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:6px 4px}.table-view th:first-child,.data-table th:first-child{text-align:left;font-weight:500}.data-table thead th{color:var(--text-muted);font-size:.8125rem;font-weight:600}.data-table tfoot th,.data-table tfoot td{border-bottom:0;font-weight:700}.hbars{flex-direction:column;gap:14px;margin:14px 0 0;padding:0;list-style:none;display:flex}.hbar{flex-direction:column;gap:6px;font-size:.875rem;display:flex}.hbar-head{justify-content:space-between;gap:12px;display:flex}.hbar-label{font-weight:600}.hbar-value{font-variant-numeric:tabular-nums;white-space:nowrap}.hbar-track{background:var(--chart-grid);border-radius:999px;height:8px;display:block;overflow:hidden}.hbar-fill{background:var(--series-1);transform-origin:0;min-width:8px;height:100%;animation:hbar-grow .7s cubic-bezier(.2, .7, .2, 1) var(--bar-delay,0s) both;border-radius:999px;display:block}@keyframes hbar-grow{0%{transform:scaleX(0)}}.segbar{gap:2px;height:28px;margin:14px 0 4px;display:flex}.segbar-part{color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap;transform-origin:0;min-width:4px;animation:hbar-grow .6s cubic-bezier(.2, .7, .2, 1) var(--bar-delay,0s) both;border-radius:4px;align-items:center;padding-left:8px;font-size:.75rem;font-weight:700;display:flex;overflow:hidden}.segbar-cash{color:#0b0b0b}.stat-share{text-align:right;min-width:3.2em;font-weight:500;display:inline-block}.stat-list{flex-direction:column;gap:6px;margin:10px 0 0;display:flex}.stat-list div{justify-content:space-between;gap:12px;display:flex}.stat-list dt{color:var(--text-muted);align-items:center;gap:6px;display:flex}.stat-list dd{font-variant-numeric:tabular-nums;margin:0;font-weight:600}.stat-list .stat-total{border-top:1px solid var(--border);padding-top:6px}.stat-list .stat-total dt{color:var(--text);font-weight:600}.screen-header-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.screen-header-row .export-message:empty{display:none}.settings-grid{flex-direction:column;gap:12px;display:flex}.form-heading{margin:0;font-size:.9375rem}.budget-form{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.field-hint{font-weight:400}.scheduled{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.scheduled-list{margin:8px 0 0;padding:0;list-style:none}.scheduled-list li{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.scheduled-list li>span{flex-direction:column;display:flex}.export-buttons{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.screen-header-row .export-buttons{margin-top:0}.screen-header-row .export-buttons .button{min-height:40px;padding:0 14px;font-size:.9375rem}.export-message,.form-status{margin:6px 0 0;font-size:.875rem}.export-message:empty,.form-status:empty{display:none}.account-signout{margin:12px 0}.sync-status{top:calc(env(safe-area-inset-top) + 6px);z-index:9;border:1px solid var(--border);background:var(--surface);border-radius:999px;align-items:center;gap:6px;width:fit-content;margin:8px auto 0;padding:4px 12px;font-size:.8125rem;font-weight:600;display:flex;position:sticky;box-shadow:0 2px 8px #00000014}.sync-dot{background:var(--warning);border-radius:50%;width:8px;height:8px}.sync-dot-syncing{background:var(--series-1);animation:1s ease-in-out infinite alternate pulse}@keyframes pulse{to{opacity:.3}}@media (prefers-reduced-motion:reduce){.sync-dot-syncing{animation:none}*{transition:none!important}}.skip-link{z-index:100;top:calc(env(safe-area-inset-top) + 8px);border-radius:var(--radius);background:var(--accent);color:var(--accent-text);border:0;padding:8px 14px;font-weight:600;position:fixed;left:8px;transform:translateY(-200%)}.skip-link:focus{transform:none}h1[tabindex="-1"]:focus{outline:none}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.center{text-align:center}.strong{font-weight:600}.history-table{border-collapse:separate;border-spacing:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:100%;font-size:.9375rem;overflow:hidden}.history-table th,.history-table td{border-bottom:1px solid var(--border);text-align:left;padding:8px 12px}.history-table thead th{background:var(--surface);color:var(--text-muted);font-size:.8125rem;font-weight:600;position:sticky;top:0}.history-table th.num,.history-table td.num{text-align:right}.history-table th.center,.history-table td.center{text-align:center}.history-table tbody:last-child tr:last-child td{border-bottom:0}.history-day th,.history-day td{background:var(--bg);color:var(--text-muted);font-size:.8125rem;font-weight:600}.history-table input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent);cursor:pointer}.table-link{text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.table-link:hover{color:var(--accent);text-decoration:underline}@media (width>=900px){:root{--nav-height:0px;--sidebar:220px}.nav{width:var(--sidebar);padding:calc(20px + env(safe-area-inset-top)) 12px 20px calc(12px + env(safe-area-inset-left));border-top:0;border-right:1px solid var(--border);flex-direction:column;gap:4px;display:flex;top:0;right:auto}.nav-brand{align-items:center;gap:10px;margin:0 8px 20px;font-weight:700;display:flex}.nav-brand img{border-radius:7px}.nav-item{border-radius:10px;flex-direction:row;justify-content:flex-start;gap:12px;height:44px;padding:0 12px;font-size:.9375rem}.nav-item:hover{background:var(--bg)}.nav-item[aria-current=page]{background:color-mix(in srgb, var(--accent) 12%, transparent)}.app-content{margin-left:var(--sidebar);padding-bottom:0}.screen{max-width:1120px;padding:24px 32px 48px}.home{grid-template:"today cards""error cards""list cards"1fr/minmax(0,1fr) minmax(0,1.25fr);align-items:start;column-gap:32px;display:grid}.home .today{grid-area:today}.home-error{grid-area:error}.home-cards{grid-area:cards}.home-list{grid-area:list}.insights-grid,.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.insights-month{grid-column:1/-1}.settings-grid{grid-template-rows:auto 1fr}.settings-grid>:first-child{grid-row:span 2}.filters{flex-direction:row;align-items:center}.filter-search{flex:1}.filter-row{align-items:center;display:flex}.fab{right:32px;bottom:calc(32px + env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.chart-draw-in,.chart-fade-in,.bar-grow,.hbar-fill,.segbar-part{animation:none}.chart-pulse{display:none}.spend-ring-arc{transition:none}}
