:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f5f7;--surface:#fff;--surface-raised:#fff;--surface-sunken:#eef0f3;--text:#16171d;--muted:#676b78;--border:#e4e6eb;--border-strong:#d3d6de;--accent:#3355e0;--accent-text:#fff;--accent-soft:color-mix(in srgb, var(--accent) 10%, transparent);--hover:#0000000b;--credit:#157347;--debit:#b42318;--warning:#b25e09;--focus:#3355e0;--radius:14px;--radius-sm:8px;--shadow-sm:0 1px 2px #1018280d;--shadow-card:0 1px 2px #1018280a, 0 1px 3px #1018280f;--shadow:0 12px 32px #10182824;font-feature-settings:"cv11", "ss01";background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#0f1013;--surface:#17181d;--surface-raised:#1f2027;--surface-sunken:#121317;--text:#ececf1;--muted:#9599a6;--border:#262830;--border-strong:#343743;--accent:#7c9cff;--accent-text:#0d1020;--hover:#ffffff0d;--credit:#4cc38a;--debit:#ff7a6b;--warning:#f5b454;--focus:#7c9cff;--shadow-sm:none;--shadow-card:0 1px 2px #0000004d;--shadow:0 12px 32px #0000008c}}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1,h2,h3{letter-spacing:-.015em;margin:0 0 12px;line-height:1.2}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.15rem;font-weight:650}h3{font-size:1rem;font-weight:600}a{color:var(--accent);text-underline-offset:2px}a:not([data-hovered]){-webkit-text-decoration-color:color-mix(in srgb, currentColor 35%, transparent);text-decoration-color:color-mix(in srgb, currentColor 35%, transparent)}p{margin:0 0 12px}.layout{grid-template-columns:200px minmax(0,1fr);gap:40px;max-width:1360px;margin:0 auto;padding:0 24px 64px 12px;display:grid}main{padding-top:32px}main>section>h1,.toolbar h1{margin-bottom:20px}main>section>section+section{margin-top:32px}.muted{color:var(--muted)}.small{font-size:.85rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}[data-focus-visible]{outline:2px solid var(--focus);outline-offset:2px}.sidebar{flex-direction:column;align-self:start;gap:28px;height:100vh;padding:24px 0;display:flex;position:sticky;top:0;overflow-y:auto}.brand{letter-spacing:-.02em;color:var(--text);align-items:center;gap:8px;padding:0 12px;font-size:1.1rem;font-weight:700;text-decoration:none;display:inline-flex}.brand-mark{background:linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 65%, #8b5cf6));color:#fff;border-radius:7px;place-items:center;width:26px;height:26px;font-size:.85rem;display:inline-grid}.sidebar-nav{flex-direction:column;gap:20px;display:flex}.nav-group{flex-direction:column;gap:2px;display:flex}.nav-heading{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:0 12px 4px;font-size:.75rem;font-weight:600}.nav-link{border-radius:var(--radius-sm);color:var(--muted);align-items:center;gap:10px;padding:7px 12px;font-size:.925rem;font-weight:500;text-decoration:none;transition:background .12s,color .12s;display:flex}.nav-link[data-hovered]{color:var(--text);background:var(--hover)}.nav-link[data-current]{color:var(--text);background:var(--surface);box-shadow:var(--shadow-card)}.section-tabs,.tab-bar{display:none}.section-tab{color:var(--muted);border-radius:999px;flex:none;padding:6px 12px;font-size:.9rem;font-weight:500;text-decoration:none}.section-tab[data-current]{color:var(--text);background:var(--surface);box-shadow:var(--shadow-card)}.tab{border-radius:var(--radius-sm);color:var(--muted);flex-direction:column;align-items:center;gap:2px;padding:6px 4px;font-size:.7rem;font-weight:550;text-decoration:none;display:flex}.tab[data-current]{color:var(--accent)}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:20px;display:flex}.toolbar h1{margin:0}.toolbar p{margin:4px 0 0}.filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;display:flex}.page-intro{max-width:70ch;margin:-8px 0 20px}.back-link{color:var(--muted);align-items:center;gap:4px;margin-bottom:8px;font-size:.875rem;font-weight:500;text-decoration:none;display:inline-flex}.back-link[data-hovered]{color:var(--text)}.button{font:inherit;border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:.925rem;font-weight:550;line-height:1.25;transition:background .12s,border-color .12s,filter .12s,opacity .12s;display:inline-flex}.button[data-disabled]{opacity:.5;cursor:default}.button[data-pending]{opacity:.7}.button-primary{background:var(--accent);color:var(--accent-text);box-shadow:var(--shadow-sm), inset 0 1px 0 #ffffff1f}.button-primary[data-hovered]{filter:brightness(1.08)}.button-primary[data-pressed]{filter:brightness(.95)}.button-secondary{background:var(--surface);color:var(--text);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.button-secondary[data-hovered]{background:color-mix(in srgb, var(--surface) 100%, var(--text) 4%);border-color:color-mix(in srgb, var(--border-strong) 70%, var(--text))}.button-danger{color:var(--debit);border-color:color-mix(in srgb, var(--debit) 35%, transparent);background:0 0;padding:5px 10px;font-size:.85rem}.button-danger[data-hovered]{background:color-mix(in srgb, var(--debit) 9%, transparent);border-color:var(--debit)}.button-quiet{color:var(--accent);background:0 0;align-self:flex-start;padding:0;font-weight:500}.button-quiet[data-hovered]{text-underline-offset:2px;text-decoration:underline}.button-ghost{color:var(--muted);background:0 0;padding:6px 10px;font-weight:500}.button-ghost[data-hovered]{background:var(--hover);color:var(--text)}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field label,.select label{color:var(--muted);font-size:.8rem;font-weight:500}.field [slot=description]{color:var(--muted);font-size:.8rem}.field input,.number-group input{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);padding:7px 10px}.field input[data-focused]{outline:2px solid var(--focus);outline-offset:0;border-color:#0000}.field [slot=errorMessage]{color:var(--debit);font-size:.8rem}.select{flex-direction:column;gap:4px;display:flex}.select-trigger{font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);text-align:left;min-width:160px;box-shadow:var(--shadow-sm);justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;display:flex}.select-trigger[data-hovered]{background:var(--hover)}.select-chevron{color:var(--muted);font-size:.8rem}.select-compact .select-trigger{box-shadow:none;background:0 0;border-color:#0000;min-width:0;max-width:200px;padding:2px 6px}.select-compact .select-trigger[data-hovered]{border-color:var(--border);background:var(--surface)}.popover{background:var(--surface-raised);border:1px solid var(--border);box-shadow:var(--shadow);max-height:360px;min-width:var(--trigger-width);border-radius:10px;overflow:auto}.listbox{outline:none;padding:4px}.listbox-section header{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:6px 8px 2px;font-size:.75rem;font-weight:600}.listbox-item{cursor:default;border-radius:6px;outline:none;padding:6px 8px 6px 16px}.listbox>.listbox-item{padding-left:8px}.listbox-item[data-focused]{background:var(--hover)}.listbox-item[data-selected]{color:var(--accent);font-weight:600}.date-group{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-sm);align-items:center;padding:2px 4px 2px 10px;display:flex}.date-group[data-focus-within]{outline:2px solid var(--focus);outline-offset:0}.date-input{padding:5px 0;display:flex}.date-segment{font-variant-numeric:tabular-nums;border-radius:3px;padding:0 1px}.date-segment[data-placeholder]{color:var(--muted)}.date-segment[data-focused]{background:var(--accent);color:var(--accent-text);outline:none}.date-button{color:var(--muted);font:inherit;background:0 0;border:none;border-radius:4px;padding:2px 6px}.date-button[data-hovered]{background:var(--hover)}.calendar-dialog{outline:none;padding:12px}.calendar header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.calendar header h2{margin:0;font-size:1rem}.calendar-nav{color:var(--text);background:0 0;border:none;border-radius:4px;padding:2px 8px;font-size:1.2rem}.calendar-nav[data-hovered]{background:var(--hover)}.calendar table{border-collapse:collapse}.calendar th{color:var(--muted);padding-bottom:4px;font-size:.75rem;font-weight:500}.calendar-cell{text-align:center;cursor:default;border-radius:6px;width:2rem;line-height:2rem}.calendar-cell[data-outside-month]{display:none}.calendar-cell[data-hovered]{background:var(--hover)}.calendar-cell[data-selected]{background:var(--accent);color:var(--accent-text)}.calendar-cell[data-selected]:not([data-selection-start]):not([data-selection-end]){background:var(--accent-soft);color:var(--text);border-radius:0}.calendar-cell[data-selection-start]{border-radius:6px 0 0 6px}.calendar-cell[data-selection-end]{border-radius:0 6px 6px 0}.calendar-cell[data-selection-start][data-selection-end]{border-radius:6px}.calendar-cell[data-disabled]{color:var(--muted);opacity:.5}.date-range-dash{color:var(--muted);padding:0 4px}.chart-controls{flex-wrap:wrap;align-items:end;gap:16px;margin-bottom:16px;display:flex}.chart-controls .period-filter{margin-bottom:0}.calendar-cell[data-focus-visible]{outline-offset:-2px}.modal-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;background:#0a0c1473;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--surface-raised);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:16px;width:100%;max-width:460px}.dialog{outline:none;flex-direction:column;gap:14px;padding:24px;display:flex}.dialog h2{margin:0}.dialog form{flex-direction:column;gap:14px;display:flex}.dialog p{color:var(--muted);margin:0}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:6px;display:flex}.dialog .field input{width:100%}.cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;display:grid}.cards.closed{opacity:.6}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);flex-direction:column;gap:6px;padding:20px;transition:border-color .12s,box-shadow .12s;display:flex}.card:hover{border-color:var(--border-strong)}.card h3{margin:0}.card-eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:.75rem;font-weight:600}.card-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-title{color:var(--text);font-size:1.05rem;font-weight:600;text-decoration:none}.card-title[data-hovered]{text-decoration:underline}.card .amount{margin:6px 0 2px}.card-meta{flex-direction:column;gap:2px;display:flex}.card-actions{flex-direction:column;gap:10px;margin-top:auto;padding-top:12px;display:flex}.card-actions .button:not(.button-quiet){width:100%}.provider-card p{margin:0}.provider-card .card-meta{margin-top:6px}.card-links{flex-wrap:wrap;gap:4px 16px;display:flex}.provider-card .card-footer{margin-top:12px}.provider-card .card-actions:empty{display:none}.provider-card .card-actions:empty+.card-links{margin-top:auto}.button-quiet.destructive-link{color:var(--muted)}.button-quiet.destructive-link[data-hovered]{color:var(--debit)}.card-footer{border-top:1px solid var(--border);margin-top:auto;padding-top:12px}.amount{letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin:0;font-size:1.6rem;font-weight:650}.amount.negative{color:var(--debit)}.pill{white-space:nowrap;background:var(--surface-sunken);color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:2px 10px;font-size:.8rem;font-weight:550;display:inline-flex}.pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.pill.good{background:color-mix(in srgb, var(--credit) 12%, transparent);color:var(--credit)}.pill.warn{background:color-mix(in srgb, var(--warning) 14%, transparent);color:var(--warning)}.pill.bad{background:color-mix(in srgb, var(--debit) 12%, transparent);color:var(--debit)}.price-rise{color:var(--debit)}.adjustments{gap:4px;margin:0;padding:0;list-style:none;display:grid}.badge-new{color:var(--accent);background:var(--accent-soft)}.toggle-count{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:2px;font-size:.8rem}.pill.accent{background:var(--accent-soft);color:var(--accent)}.panel-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px;display:flex}.panel-heading h2{margin:0}.sortable{cursor:default;align-items:center;gap:4px;display:inline-flex}.sort-arrow{opacity:0;font-size:.6rem}.sort-arrow.active{opacity:1}.table th[data-hovered] .sort-arrow:not(.active){opacity:.4}.table .num .sortable{flex-direction:row-reverse}.table .actions-column{text-align:right;width:1%;padding-left:0}.icon-button{padding:6px}.menu-popover{min-width:200px}.menu-item{justify-content:space-between;gap:16px;display:flex}.listbox-item[data-open]{background:var(--hover)}.month-progress{background:var(--surface-sunken);border-radius:999px;height:8px;margin-bottom:20px;overflow:hidden}.month-progress-fill{border-radius:inherit;background:var(--credit);height:100%;transition:width .3s}.timeline{margin:0;padding:0;list-style:none}.timeline-day{border-top:1px solid var(--border);grid-template-columns:48px 1fr;gap:16px;padding:10px 0;display:grid}.timeline-day:first-child,.timeline-today+.timeline-day{border-top:0}.timeline-date{flex-direction:column;align-items:center;padding-top:2px;line-height:1.1;display:flex}.timeline-weekday{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.7rem;font-weight:600}.timeline-daynum{font-variant-numeric:tabular-nums;font-size:1.25rem;font-weight:650}.timeline-payments{gap:6px;margin:0;padding:0;list-style:none;display:grid}.timeline-payment{border-radius:var(--radius-sm);grid-template-columns:10px 1fr auto minmax(90px,auto);align-items:center;gap:12px;padding:6px 10px;display:grid}.timeline-payment:hover{background:var(--hover)}.timeline-dot{border:2px solid var(--border-strong);border-radius:50%;width:10px;height:10px}.timeline-amount{text-align:right;font-variant-numeric:tabular-nums;font-weight:550}.status-paid .timeline-dot{background:var(--credit);border-color:var(--credit)}.status-paid .timeline-merchant,.status-paid .timeline-amount{color:var(--muted)}.status-pending .timeline-dot{border-color:var(--credit)}.status-pending .timeline-merchant,.status-pending .timeline-amount{color:var(--muted)}.status-late .timeline-dot{border-color:var(--warning)}.status-today .timeline-dot{background:var(--accent);border-color:var(--accent)}.status-upcoming .timeline-dot{border-color:var(--accent)}.timeline-today{color:var(--accent);align-items:center;gap:12px;margin:6px 0;font-size:.8rem;font-weight:600;display:flex}.timeline-today:before,.timeline-today:after{content:"";background:var(--accent);border-radius:1px;height:2px}.timeline-today:before{width:48px}.timeline-today:after{flex:1}.timeline-footnote{margin:16px 0 0}@media (width<=640px){.timeline-day{grid-template-columns:36px 1fr;gap:8px}.timeline-payment{grid-template-columns:10px 1fr auto;padding:6px 4px}.timeline-payment .pill{grid-area:2/2;justify-self:start}.timeline-payment .timeline-amount{grid-area:1/3}.timeline-today:before{width:36px}}.budgets{gap:18px;margin:0;padding:0;list-style:none;display:grid}.budget{gap:6px;display:grid}.budget-head{flex-wrap:wrap;align-items:baseline;gap:12px;display:flex}.budget-name{font-weight:600}.budget-figures{font-variant-numeric:tabular-nums;margin-left:auto}.budget-actions{gap:4px;display:flex}.budget-track{background:var(--surface-sunken);border-radius:999px;height:8px;overflow:hidden}.budget-fill{border-radius:inherit;background:var(--credit);height:100%}.budget-warn .budget-fill{background:var(--warning)}.budget-bad .budget-fill{background:var(--debit)}.new-budget{gap:16px;max-width:560px;display:grid}.merchant-picker{border:0;gap:6px;max-height:280px;margin:0;padding:0;display:grid;overflow-y:auto}.summary{gap:12px;margin-bottom:28px;display:grid}.summary-row{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0;margin:0;display:grid}.summary-row>div{flex-direction:column;gap:2px;padding:18px 20px;display:flex}.summary-row>div+div{border-left:1px solid var(--border)}.summary-row dd{margin:0}@media (width<=640px){.summary-row>div+div{border-left:0;border-top:1px solid var(--border)}}.table{border-collapse:separate;border-spacing:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);width:100%;box-shadow:var(--shadow-card);margin-bottom:12px;overflow:hidden}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:12px 16px}.table tbody tr:last-child td,.table tbody tr:last-child th{border-bottom:0}.table thead th{color:var(--muted);text-transform:uppercase;letter-spacing:.05em;background:var(--surface-sunken);padding-top:10px;padding-bottom:10px;font-size:.75rem;font-weight:600}.table .row{transition:background .1s}.table .row[data-hovered]{background:var(--hover)}.table .row[data-focus-visible]{outline:2px solid var(--focus);outline-offset:-2px}.table td[data-focus-visible]{outline-offset:-2px}.table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.table tbody[data-empty] td{color:var(--muted);text-align:center;padding:32px}.credit{color:var(--credit)}.debit{color:var(--debit)}.row.pending{opacity:.6;font-style:italic}.badge{color:var(--muted);background:var(--surface-sunken);border-radius:999px;margin-left:6px;padding:0 8px;font-size:.75rem;font-style:normal;display:inline-block}.pager{justify-content:flex-end;gap:8px;display:flex}.notice,.error,.warning{border-radius:var(--radius-sm);border:1px solid #0000;border-left-width:3px;margin:0 0 20px;padding:12px 16px}.notice{background:color-mix(in srgb, var(--accent) 7%, var(--surface));border-color:color-mix(in srgb, var(--accent) 18%, transparent);border-left-color:var(--accent)}.error{background:color-mix(in srgb, var(--debit) 7%, var(--surface));border-color:color-mix(in srgb, var(--debit) 20%, transparent);border-left-color:var(--debit)}.warning{background:color-mix(in srgb, #fab219 12%, var(--surface));border-color:#fab21959 #fab21959 #fab21959 #e0a106}.notice strong,.warning strong,.error strong{margin-bottom:2px;display:block}.notice-icon{margin-right:6px}.reminder-list{margin:4px 0 8px;padding-left:20px}.reminder-list li+li{margin-top:2px}.cards+h2{margin-top:40px}:root{--series-income:#2a78d6;--series-spending:#eb6834;--series-sequential:#2a78d6;--series-1:#2a78d6;--series-2:#eb6834;--series-3:#1baf7a;--series-4:#eda100}@media (prefers-color-scheme:dark){:root{--series-income:#3987e5;--series-spending:#d95926;--series-sequential:#3987e5;--series-1:#3987e5;--series-2:#d95926;--series-3:#199e70;--series-4:#c98500}}.series-income{fill:var(--series-income)}.fill-1{fill:var(--series-1)}.fill-2{fill:var(--series-2)}.fill-3{fill:var(--series-3)}.fill-4{fill:var(--series-4)}.stroke-1{stroke:var(--series-1)}.stroke-2{stroke:var(--series-2)}.stroke-3{stroke:var(--series-3)}.stroke-4{stroke:var(--series-4)}.line-key.key-1{background:var(--series-1)}.line-key.key-2{background:var(--series-2)}.line-key.key-3{background:var(--series-3)}.line-key.key-4{background:var(--series-4)}.line-key.key-net{background:var(--text)}.series-line{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.net-line{fill:none;stroke:var(--text);stroke-width:2px;stroke-linejoin:round}.projection{opacity:.55}.net-line.projection{opacity:1;stroke-dasharray:5 4}.stacked-area{stroke:var(--surface);stroke-width:2px;stroke-linejoin:round}.today-line{stroke:var(--muted);stroke-width:1px;stroke-dasharray:2 3}.crosshair{stroke:var(--muted);stroke-width:1px}.marker{stroke:var(--surface);stroke-width:2px}.direct-label{fill:var(--text);font-size:12px;font-weight:550}.direct-label.muted-label{fill:var(--muted);font-weight:400}.moves{gap:10px;margin:0;padding:0;list-style:none;display:grid}.move{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);grid-template-columns:28px 1fr auto;align-items:baseline;gap:4px 12px;padding:14px 16px;display:grid}.move-step{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:650}.move-title{font-weight:600}.move-detail{color:var(--muted);grid-column:2/4;font-size:.9rem}.move-saving{color:var(--credit);white-space:nowrap;font-size:.85rem}.move.shortfall{border-left:3px solid #e0a106}.move.tip .move-step{font-weight:400}.payment-control{gap:8px;margin-bottom:16px;display:grid}.payment-control input[type=range]{width:100%;accent-color:var(--accent)}.payment-marks{color:var(--muted);justify-content:space-between;font-size:.8rem;display:flex}.assumptions{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 24px;margin:0;display:grid}.assumptions div{flex-direction:column;gap:2px;display:flex}.assumptions dt{color:var(--muted);font-size:.8rem}.assumptions dd{font-variant-numeric:tabular-nums;margin:0}.rate-row{grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:8px;display:grid}.settings-form{gap:14px;display:grid}.settings-form fieldset{border:0;gap:10px;margin:0;padding:0;display:grid}.settings-form legend{margin-bottom:4px;padding:0;font-weight:600}.modal.wide{max-width:620px}.series-spending{fill:var(--series-spending)}.series-sequential{fill:var(--series-sequential)}.overview>h1{margin-bottom:20px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);margin-bottom:24px;padding:20px 24px}.panel h2{margin-bottom:4px;font-size:1.05rem}.panel>p{margin:0 0 16px}.panel-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.panel-actions .notice,.panel-actions .warning,.panel-actions .error{margin:0}.setting{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;margin-bottom:16px;display:flex}.setting p{margin:0}.setting-control{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:0 0 24px;display:grid}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);flex-direction:column;gap:4px;padding:20px;display:flex}.stat dt{font-weight:500}.stat dd{margin:0}.stat-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:1.75rem;font-weight:650}.stat-hero{background:linear-gradient(160deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 60%)}.stat-hero .stat-value{font-size:2.75rem;line-height:1.1}.stat-delta{width:fit-content;color:var(--muted);background:var(--surface-sunken);border-radius:999px;align-items:center;gap:4px;padding:1px 8px;font-size:.8rem;font-weight:550;display:inline-flex}.stat-delta.good{color:var(--credit);background:color-mix(in srgb, var(--credit) 11%, transparent)}.stat-delta.bad{color:var(--debit);background:color-mix(in srgb, var(--debit) 11%, transparent)}.period-filter{background:var(--surface-sunken);border:1px solid var(--border);border-radius:10px;gap:2px;width:fit-content;margin-bottom:16px;padding:3px;display:flex}.toggle{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:7px;padding:6px 14px;font-size:.9rem;font-weight:500;transition:background .12s,color .12s}.toggle[data-hovered],.toggle[data-selected]{color:var(--text)}.period-filter .toggle,.period-filter .toggle>span{position:relative}.toggle-indicator{background:var(--surface);box-shadow:var(--shadow-card);border-radius:7px;transition:translate .2s cubic-bezier(.2,0,0,1),width .2s cubic-bezier(.2,0,0,1);position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.toggle-indicator{transition:none}}.chart-header .toggle{border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);padding:4px 10px;font-size:.85rem}.chart-header .toggle[data-hovered]{background:var(--hover)}.chart-header .toggle[data-selected]{background:var(--surface-sunken);box-shadow:none}.period-content{transition:opacity .15s}.period-content.refreshing{opacity:.5}.chart{margin:0}.chart-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.legend{color:var(--muted);gap:16px;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:flex}.chart-plot{position:relative}.chart-plot svg{display:block;overflow:visible}.gridline{stroke:var(--border);stroke-width:1px;stroke-dasharray:3 4;shape-rendering:crispedges}.baseline{stroke:var(--muted);stroke-width:1px;shape-rendering:crispedges;opacity:.6}.axis-label{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.hit-area{fill:#0000;rx:6px}.month{outline:none}.month.active .hit-area{fill:var(--hover)}.month:focus-visible .hit-area{stroke:var(--focus);stroke-width:2px}.month.partial path{opacity:.5}.month.partial .axis-label{font-style:italic}.tooltip{pointer-events:none;background:var(--surface-raised);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:10px;min-width:160px;padding:10px 12px;font-size:.85rem;position:absolute;transform:translate(-50%)}.tooltip-title{color:var(--muted);margin-bottom:4px}.tooltip-row{align-items:center;gap:8px;display:flex}.tooltip-row strong{font-variant-numeric:tabular-nums}.line-key{background:var(--muted);border-radius:1px;width:12px;height:2px;display:inline-block}.line-key.series-income{background:var(--series-income)}.line-key.series-spending{background:var(--series-spending)}.data-table{box-shadow:none;margin-top:4px}.data-table tbody th{font-weight:400}.breakdown{border-collapse:collapse;width:100%}.breakdown th,.breakdown td{text-align:left;vertical-align:middle;padding:8px 0}.breakdown tbody tr+tr>*{border-top:1px solid color-mix(in srgb, var(--border) 60%, transparent)}.breakdown tbody th{white-space:nowrap;width:30%;padding-right:16px;font-weight:500}.breakdown-bar-cell{width:50%}.breakdown .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;padding-left:16px}.breakdown-bar-cell{background:linear-gradient(var(--surface-sunken), var(--surface-sunken)) left center / 100% 10px no-repeat}.breakdown-bar{background:var(--series-sequential);border-radius:0 5px 5px 0;min-width:2px;height:10px}.inline-error{color:var(--debit);font-size:.85rem}@media (width<=640px){.layout{padding:0 16px calc(88px + env(safe-area-inset-bottom));display:block}.sidebar{height:auto;padding:14px 0 0;position:static}.sidebar .brand{padding:0}.sidebar-nav{display:none}main{padding-top:20px}.section-tabs{scrollbar-width:none;gap:4px;margin:0 -16px 20px;padding:2px 16px;display:flex;overflow-x:auto}.tab-bar{z-index:50;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:saturate(1.4)blur(12px);backdrop-filter:saturate(1.4)blur(12px);border-top:1px solid var(--border);grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;display:grid;position:fixed;inset:auto 0 0}}.sign-in{background:var(--surface);border:1px solid var(--border);max-width:360px;box-shadow:var(--shadow-card);border-radius:18px;flex-direction:column;align-items:stretch;gap:14px;margin:18vh auto 0;padding:32px;display:flex}.sign-in h1{align-items:center;gap:10px;margin:0;display:flex}.sign-in .brand-mark{border-radius:9px;width:32px;height:32px;font-size:1rem}.sign-in p{color:var(--muted);margin:0}.icon-button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;text-decoration:none;transition:background .12s,color .12s;display:inline-flex}.icon-button[data-hovered]{background:var(--hover);color:var(--text)}.icon-button[data-selected]{color:var(--accent)}.icon-button[data-focus-visible]{outline:2px solid var(--focus);outline-offset:2px}.icon-button[data-disabled]{opacity:.5;cursor:default}.icon-button.busy svg{animation:1s ease-in-out infinite alternate busy-pulse}@keyframes busy-pulse{to{opacity:.35}}@media (prefers-reduced-motion:reduce){.icon-button.busy svg{opacity:.6;animation:none}}.hint{--hint-bg:var(--text);background:var(--hint-bg);color:var(--bg);box-shadow:var(--shadow);white-space:nowrap;forced-color-adjust:none;border-radius:6px;outline:none;padding:4px 8px;font-size:.75rem;font-weight:500;transition:transform .15s,opacity .15s}.hint[data-entering],.hint[data-exiting]{opacity:0;transform:translateY(-3px)}.hint-arrow svg{fill:var(--hint-bg);display:block}.hint[data-placement=bottom] .hint-arrow svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.hint{transition:none}}.dev-facts{border:1px solid var(--border);border-radius:var(--radius-sm);grid-template-columns:max-content 1fr;margin:0;display:grid;overflow:hidden}.dev-facts dt,.dev-facts dd{border-bottom:1px solid var(--border);padding:10px 14px}.dev-facts dt{color:var(--muted);background:var(--surface-sunken);font-size:.9rem}.dev-facts dd{font-variant-numeric:tabular-nums;margin:0}.dev-facts dt:last-of-type,.dev-facts dd:last-of-type{border-bottom:0}.checkbox-field{flex-direction:column;gap:2px;display:flex}.checkbox-field [slot=description]{color:var(--muted);margin-left:26px;font-size:.8rem}.checkbox{cursor:pointer;align-items:center;gap:8px;font-size:.925rem;display:inline-flex;position:relative}.checkbox-box{border:1px solid var(--border-strong);background:var(--surface);border-radius:5px;flex:none;place-items:center;width:18px;height:18px;display:grid}.checkbox-box svg{fill:none;width:12px;height:12px;stroke:var(--accent-text);stroke-width:2px;opacity:0}.checkbox[data-selected] .checkbox-box{background:var(--accent);border-color:var(--accent)}.checkbox[data-selected] .checkbox-box svg{opacity:1}.checkbox[data-focus-visible] .checkbox-box{outline:2px solid var(--focus);outline-offset:2px}.checkbox[data-disabled]{opacity:.5;cursor:default}.slider{grid-template-columns:1fr auto;grid-template-areas:"label output""track track";gap:6px;display:grid}.slider .react-aria-Label{color:var(--muted);grid-area:label;font-size:.8rem;font-weight:500}.slider-output{font-variant-numeric:tabular-nums;grid-area:output;font-weight:650}.slider-track{grid-area:track;width:100%;height:24px;position:relative}.slider-rail{background:var(--surface-sunken);border-radius:999px;width:100%;height:6px;position:absolute;top:50%;translate:0 -50%}.slider-fill{border-radius:inherit;background:var(--accent)}.slider-thumb{background:var(--surface);border:2px solid var(--accent);width:20px;height:20px;box-shadow:var(--shadow-sm);forced-color-adjust:none;border-radius:50%;top:50%}.slider-thumb[data-dragging]{background:var(--accent-soft)}.slider-thumb[data-focus-visible]{outline:2px solid var(--focus);outline-offset:2px}@media (forced-colors:active){.slider-fill{background:highlight}.nav-link[data-current],.section-tab[data-current]{outline:1px solid highlight}.tab[data-current]{color:highlight}}.payment-filters{margin-bottom:8px}.payment-filters .chart-controls{margin-bottom:12px}.payment-filters .field input[type=search]{min-width:240px}.quick-filters{align-items:center}.quick-filters .period-filter{margin-bottom:0}.chip{font:inherit;cursor:pointer;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:999px;padding:5px 12px;font-size:.85rem;font-weight:500;transition:background .12s}.chip[data-hovered]{background:var(--hover)}.chip[data-selected]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.chip[data-focus-visible]{outline:2px solid var(--focus);outline-offset:2px}.bulk-bar{z-index:10;background:var(--surface-raised);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px;padding:10px 16px;display:flex;position:sticky;top:8px}.payments-table .select-column{width:1%;padding-right:0}.payments-table td:first-child{padding-right:0}.payments-table .row{cursor:pointer}.payments-table .day-row td{background:var(--surface-sunken);color:var(--muted);padding-top:8px;padding-bottom:8px;font-size:.8rem;font-weight:600}.payment-name{font-weight:500}.payment-description{text-overflow:ellipsis;white-space:nowrap;max-width:40ch;overflow:hidden}.badge-warn{color:var(--warning);background:color-mix(in srgb, var(--warning) 14%, transparent)}.pager{align-items:center;margin-top:12px}.merchant-facts{margin-bottom:16px}.merchant-facts .stat-value{font-size:1.4rem}.checkbox[data-indeterminate] .checkbox-box{background:var(--accent);border-color:var(--accent)}.details{border:1px solid var(--border);border-radius:var(--radius-sm);grid-template-columns:max-content 1fr;margin:0;display:grid;overflow:hidden}.details>div{display:contents}.details dt,.details dd{border-bottom:1px solid var(--border);padding:10px 14px}.details dt{color:var(--muted);background:var(--surface-sunken);font-size:.9rem}.details dd{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}.details>div:last-child>*{border-bottom:0}@media (width<=640px){.payments-table .wide-only{display:none}.payment-filters .field input[type=search]{min-width:0}}.chip[aria-expanded=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.more-filters{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:16px;padding:16px}.more-filters,.quick-filters{margin-bottom:16px}.payment-filters .number-group input{width:120px}@media (width<=640px){.payment-stats{grid-template-columns:repeat(2,1fr);gap:10px}.payment-stats .stat{padding:14px}.payment-stats .stat-value{font-size:1.3rem}.payment-filters .period-filter{max-width:100%;overflow-x:auto}.payment-filters .toggle{white-space:nowrap}}
