.swiss-date-control{position:relative}.swiss-date-control>input:not(.swiss-date-native){width:100%;padding-right:3rem}.swiss-date-toggle{width:38px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;font-size:1.4rem;position:absolute;top:4px;bottom:4px;right:4px}.swiss-date-display{border:1px solid var(--border,#87909b);background:var(--surface);border-radius:8px;min-height:44px;padding:10px 12px;display:block}.swiss-date-control .swiss-date-native{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.swiss-date-control:focus-within{outline:2px solid var(--accent,#297087);outline-offset:2px;border-radius:8px}.swiss-date-calendar{z-index:10000;border:1px solid var(--border,#87909b);background:var(--surface,#fff);width:304px;color:var(--text,#172733);border-radius:12px;padding:12px;position:fixed;box-shadow:0 8px 30px #0003}.swiss-date-heading{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.swiss-date-calendar button{min-height:34px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px}.swiss-date-calendar button:hover:not(:disabled),.swiss-date-calendar button:focus-visible{background:var(--surface-soft,#dceaf0)}.swiss-date-calendar button:disabled{opacity:.35;cursor:default}.swiss-date-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.swiss-month-grid{grid-template-columns:repeat(3,1fr)}.swiss-date-grid abbr{padding:4px;font-size:.8rem;text-decoration:none}.swiss-date-grid button[aria-pressed=true]{background:var(--accent,#236477);color:var(--on-accent,white)}.swiss-date-grid button[aria-current=date]{box-shadow:inset 0 0 0 1px}.swiss-date-close{width:100%;margin-top:8px;font-size:.85rem}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--font-sans:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-serif:"Source Serif 4", Georgia, serif;--primary:#1f3d36;--secondary:#2e5a4f;--brand-apricot:#e07b3f;--brand-apricot-press:#eb955f;--on-apricot:#1c2421;--bg:var(--lightningcss-light,#f5f2ec)var(--lightningcss-dark,#121a18);--surface:var(--lightningcss-light,#fff)var(--lightningcss-dark,#1b2622);--surface-soft:var(--lightningcss-light,#eef0eb)var(--lightningcss-dark,#26362e);--text:var(--lightningcss-light,#1c2421)var(--lightningcss-dark,#f5f2ec);--muted:var(--lightningcss-light,#5f6964)var(--lightningcss-dark,#b1c0b7);--border:var(--lightningcss-light,#d9dfd8)var(--lightningcss-dark,#3a4e43);--accent:var(--lightningcss-light,#1f3d36)var(--lightningcss-dark,#a9cbbb);--accent-press:var(--lightningcss-light,#2e5a4f)var(--lightningcss-dark,#c8ded2);--on-accent:var(--lightningcss-light,#fff)var(--lightningcss-dark,#15271f);--accent-soft:var(--lightningcss-light,#e6eee8)var(--lightningcss-dark,#2b4035);--status-ok:#2f8f5b;--status-warn:#d4a017;--status-danger:#c2412d;--ok:var(--lightningcss-light,#237246)var(--lightningcss-dark,#8ed4aa);--warn:var(--lightningcss-light,#785a0b)var(--lightningcss-dark,#edc760);--danger:var(--lightningcss-light,#c2412d)var(--lightningcss-dark,#f3a18e);--ok-soft:var(--lightningcss-light,#e7f2e9)var(--lightningcss-dark,#253e2f);--warn-soft:var(--lightningcss-light,#fbf1d9)var(--lightningcss-dark,#3d341c);--danger-soft:var(--lightningcss-light,#fdf1ed)var(--lightningcss-dark,#412c27);--hero:#1f3d36;--hero-text:#f5f2ec;--hero-muted:#cad9d0;--hero-border:#54776a;--hero-danger:#ffb3a1;--track:var(--lightningcss-light,#e5ebe5)var(--lightningcss-dark,#35483d);--seg-1:var(--lightningcss-light,#2e5a4f)var(--lightningcss-dark,#a9cbbb);--seg-2:var(--lightningcss-light,#739782)var(--lightningcss-dark,#729a81);--seg-3:var(--lightningcss-light,#bed1c3)var(--lightningcss-dark,#456b56);--tabbar:var(--lightningcss-light,#f5f2ecf5)var(--lightningcss-dark,#121a18f5);--backdrop:#0916107a;--white:#fff;--focus-ring:var(--lightningcss-light,#2e5a4f)var(--lightningcss-dark,#b5d7c4);--focus-shadow:0 0 0 3px var(--lightningcss-light,#2e5a4f2e)var(--lightningcss-dark,#b5d7c433);--shadow-sm:0 1px 3px var(--lightningcss-light,#182c210d)var(--lightningcss-dark,#0000001f);--shadow-card:0 5px 20px var(--lightningcss-light,#182c2109)var(--lightningcss-dark,#0000001a);--shadow-float:0 6px 24px var(--lightningcss-light,#182c211f)var(--lightningcss-dark,#0000004d);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--launcher-size:48px;--launcher-bottom:76px;--space-6:24px;--space-8:32px;--radius-sm:8px;--radius:14px;--radius-lg:22px;--radius-pill:999px;--tap:50px;--duration:.16s;--ease:cubic-bezier(.2, .7, .2, 1);--disabled-opacity:.48;--content-width:1120px;--content-reading:760px;--sidebar-width:224px}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root{font-family:var(--font-sans);color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}*,:before,:after{box-sizing:border-box}body{background:var(--bg);min-height:100dvh;margin:0}h1{letter-spacing:-.01em;margin:0;font-size:1.75rem}a{color:var(--accent);font-weight:500;text-decoration:none}.muted{color:var(--muted);margin:0}.strong{word-break:break-all;margin:4px 0 8px;font-weight:600}.center{text-align:center}.auth,.page{max-width:440px;padding:calc(env(safe-area-inset-top) + 24px) 16px calc(env(safe-area-inset-bottom) + 24px);gap:var(--space-5);flex-direction:column;margin:0 auto;display:flex}.auth{padding-top:calc(env(safe-area-inset-top) + 12vh)}.auth-logo{border-radius:var(--radius)}.auth-links{justify-content:space-between;gap:var(--space-4);display:flex}.auth-links a{padding:12px 0}.page-header{padding:8px 0}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.stack{gap:var(--space-4);flex-direction:column;display:flex}.field{color:var(--muted);flex-direction:column;gap:6px;font-size:.9rem;display:flex}.field input{min-height:var(--tap);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;padding:0 14px;font-family:inherit;font-size:16px}.field input:focus{border-color:var(--accent);box-shadow:var(--focus-shadow)}.field .code-input{letter-spacing:.4em;text-align:center;font-size:1.5rem}.btn{width:100%;min-height:var(--tap);border-radius:var(--radius);background:var(--accent);color:var(--on-accent);font:inherit;cursor:pointer;border:none;font-size:1rem;font-weight:600}.btn:active{background:var(--accent-press)}.btn:disabled{opacity:.55;cursor:default}.btn-ghost{color:var(--accent);border:1px solid var(--border);background:0 0}.btn-ghost:active{background:var(--accent-soft)}.toasts{left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 88px);align-items:center;gap:var(--space-2);pointer-events:none;z-index:10;inset:auto 0 calc(env(safe-area-inset-bottom) + 88px) 0;background:0 0;border:0;flex-direction:column;width:auto;height:auto;margin:0;padding:0 16px;display:flex;position:fixed;overflow:visible}@supports selector(:popover-open){.toasts:not(:popover-open){display:none}}.toast{background:var(--text);max-width:400px;color:var(--on-accent);box-shadow:var(--shadow-float);border-radius:10px;padding:10px 16px;font-size:.9rem;animation:.16s ease-out toast-in}.toast-error{background:var(--danger)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.splash{min-height:100dvh}.page{padding-bottom:calc(env(safe-area-inset-bottom) + var(--launcher-bottom) + var(--launcher-size) + var(--space-5))}.page-header{align-items:center;gap:4px;display:flex}.back-link{padding:4px 12px 8px 0;font-size:2rem;line-height:1}.section-title{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);justify-content:space-between;margin:0 4px 8px;font-size:.8rem;font-weight:600;display:flex}.card-title{margin:0;font-size:1.05rem}a.card{color:inherit;font-weight:400}.total{justify-content:space-between;align-items:baseline;display:flex}.total-value{font-variant-numeric:tabular-nums;font-size:1.4rem;font-weight:700}.empty{text-align:center;color:var(--muted);border:1px dashed var(--border);border-radius:var(--radius);margin:0;padding:24px 16px}.warning{color:var(--danger);margin:0;font-size:.9rem}.error-state{align-items:center;gap:var(--space-3);text-align:center;border:1px dashed var(--danger);border-radius:var(--radius);flex-direction:column;margin:0;padding:24px 16px;display:flex}.error-state p{color:var(--text);margin:0}.stack-tight{gap:var(--space-2);flex-direction:column;display:flex}.list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.row{justify-content:space-between;align-items:center;gap:var(--space-3);width:100%;min-height:var(--tap);font:inherit;color:var(--text);text-align:left;background:0 0;border:none;padding:10px 16px;font-weight:400;display:flex}.row+.row{border-top:1px solid var(--border)}.row-link{cursor:pointer}.row-link:active{background:var(--accent-soft)}.row-main{align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.row-value{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}.chevron{color:var(--muted);font-size:1.3rem}.badge{border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);white-space:nowrap;padding:2px 8px;font-size:.75rem;font-weight:600}.icon-btn{width:44px;height:44px;color:var(--accent);cursor:pointer;background:0 0;border:none;border-radius:50%;place-items:center;font-size:1.3rem;display:grid}.icon-btn:active{background:var(--accent-soft)}.icon-btn:disabled{opacity:.35;cursor:default}.month-picker{justify-content:space-between;align-items:center;font-weight:600;display:flex}.month-picker-label{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}.month-picker-label.exceptional-period-marked{font-style:italic}.segmented{background:var(--track);border-radius:var(--radius);gap:3px;padding:3px;display:flex}.segmented button{min-height:44px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:9px;flex:1;font-size:.95rem}.segmented a{min-height:40px;color:var(--muted);border-radius:9px;flex:1;justify-content:center;align-items:center;font-size:.95rem;font-weight:400;display:flex}.segmented a.active,.segmented button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm);font-weight:600}.toggle{justify-content:space-between;align-items:center;gap:var(--space-4);min-height:var(--tap);display:flex}.toggle small{color:var(--muted);margin-top:2px;font-size:.85rem;display:block}.toggle input{appearance:none;border-radius:var(--radius-pill);background:var(--track);cursor:pointer;flex-shrink:0;width:51px;height:31px;margin:0;transition:background .15s;position:relative}.toggle input:after{content:"";background:var(--on-accent);width:27px;height:27px;box-shadow:var(--shadow-sm);border-radius:50%;transition:transform .15s;position:absolute;top:2px;left:2px}.toggle input:checked{background:var(--accent)}.toggle input:checked:after{transform:translate(20px)}.field select{min-height:var(--tap);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:0 14px;font-family:inherit;font-size:16px}.btn-danger{color:var(--danger);border:1px solid var(--border);background:0 0}.sheet{overscroll-behavior:contain;background:var(--bg);width:100%;max-width:480px;max-height:92dvh;color:var(--text);border:none;border-radius:16px 16px 0 0;margin:auto auto 0;padding:0;overflow-y:auto}.sheet::backdrop{background:var(--backdrop)}.sheet[open]{animation:.2s ease-out sheet-in}@keyframes sheet-in{0%{opacity:0;transform:translateY(40px)}}.sheet-actions{background:var(--bg);padding-top:10px;padding-bottom:4px;position:sticky;bottom:0}.sheet-header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.sheet-header h2{margin:0;font-size:1.15rem}.tabbar{padding-bottom:env(safe-area-inset-bottom);background:var(--tabbar);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--border);z-index:5;justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.tab{max-width:160px;color:var(--muted);flex-direction:column;flex:1;align-items:center;gap:2px;padding:8px 0 6px;font-size:.7rem;font-weight:500;display:flex}.tab svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.tab.active{color:var(--accent)}.negative{color:var(--danger)!important}.positive{color:var(--ok)}.kpis{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.kpi{flex-direction:column;gap:4px;padding:14px;display:flex}.kpi-label{color:var(--muted);font-size:.8rem;font-weight:600}.kpi-value{font-variant-numeric:tabular-nums;color:var(--accent);overflow-wrap:anywhere;font-size:1.3rem;font-weight:700}.kpi small{font-size:.75rem}.breakdown summary{min-height:28px;color:var(--accent);cursor:pointer;font-weight:600}.breakdown dl{margin:12px 0}.breakdown-line,.breakdown-total{justify-content:space-between;padding:4px 0;display:flex}.breakdown dd{font-variant-numeric:tabular-nums;margin:0}.breakdown-line dt{color:var(--muted)}.breakdown-total{border-top:1px solid var(--border);margin-top:6px;padding-top:10px;font-weight:700}.budget-row{align-items:stretch;gap:var(--space-2);flex-direction:column;padding-top:12px;padding-bottom:12px}.budget-line{justify-content:space-between;gap:var(--space-3);display:flex}.contrib-row{justify-content:space-between;align-items:center;gap:var(--space-3);border-bottom:1px solid var(--border);padding:8px 4px;display:flex}.contrib-row:last-child{border-bottom:none}.contrib-name{text-overflow:ellipsis;flex-direction:column;min-width:0;display:flex;overflow:hidden}.contrib-row input{width:108px;min-height:var(--tap);text-align:right;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;flex-shrink:0;padding:0 12px;font-family:inherit;font-size:16px}.contrib-row input:focus{border-color:var(--accent);box-shadow:var(--focus-shadow)}.contrib-total{justify-content:space-between;align-items:baseline;padding:10px 4px 0;font-size:1.05rem;display:flex}.contrib-total strong{font-variant-numeric:tabular-nums}.copy-row{border-bottom:1px solid var(--border);flex-direction:column;gap:6px;padding:10px 4px;display:flex}.copy-row:last-child{border-bottom:none}.copy-row-main{gap:var(--space-2);display:flex}.copy-row-main select{min-width:0;min-height:var(--tap);color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex:1;padding:0 10px;font-family:inherit;font-size:16px}.copy-row-main input{width:92px;min-height:var(--tap);text-align:right;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;flex-shrink:0;padding:0 10px;font-family:inherit;font-size:16px}.copy-row-main input:focus{border-color:var(--accent);box-shadow:var(--focus-shadow)}.copy-row-sub{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.meter,.gauge{border-radius:var(--radius-pill);background:var(--track);height:8px;display:block;position:relative}.meter>span,.gauge>span{border-radius:var(--radius-pill);height:100%;display:block}.meter.status-over>span{background:var(--danger)}.meter[class]>.meter-external{opacity:.4;border-radius:0 var(--radius-pill) var(--radius-pill) 0;background:#fff;position:absolute;top:0}.budget-sort-row{position:relative}.budget-sort-row>.coverage-info{position:absolute;bottom:25px;right:14px}.coverage-with-tip{padding-right:24px}.coverage-caption{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.coverage-detail-row{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.coverage-detail-row>span{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.coverage-detail-row>strong{white-space:nowrap}.info-tip-popup:has(.coverage-detail-row){pointer-events:auto;max-height:calc(100dvh - 32px);overflow-y:auto}.analysis-coverage-cell{position:relative}.analysis-coverage-cell>.coverage-info{position:absolute;bottom:3px;right:14px}.meter-mark{background:var(--accent);border-radius:1px;width:2px;margin-left:-1px;position:absolute;top:-3px;bottom:-3px}.gauge{height:10px}.gauge>span{background:var(--seg-2)}.gauge-negative>span{background:var(--danger)}.status-text-ok{color:var(--ok)}.status-text-warn{color:var(--warn)}.status-text-over{color:var(--danger)}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.home-header .month-picker span{color:var(--accent);font-size:1.25rem;font-weight:700}.entry-actions,.summary{grid-template-columns:1fr 1fr;gap:10px;display:grid}.summary-block{gap:var(--space-2);flex-direction:column;min-width:0;padding:12px 14px;display:flex}.summary-wide{grid-column:1/-1}.summary-title{justify-content:space-between;align-items:baseline;gap:var(--space-2);text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0;font-size:.72rem;font-weight:600;display:flex}.summary-aside{text-transform:none;letter-spacing:0;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.85rem;font-weight:700}.summary-aside small{color:var(--muted);font-weight:500}.summary-line{color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;font-size:.85rem}.summary-figure{white-space:nowrap;font-variant-numeric:tabular-nums;margin:0;font-size:1.15rem;font-weight:700}.summary-figure small{color:var(--muted);font-size:.75rem;font-weight:500}.summary-empty{margin:0;font-size:.85rem}.split-bar{background:var(--track);border-radius:7px;gap:2px;height:14px;display:flex;position:relative;overflow:hidden}.split-bar.split-over{overflow:visible}.split-bar>span{height:100%;display:block}.split-bar>span:first-child{border-radius:7px 0 0 7px}.split-bar>span:last-of-type{border-radius:0 7px 7px 0}.split-obligatoire{background:var(--seg-1)}.split-facultatif{background:var(--seg-2)}.split-epargne{background:var(--seg-3)}.split-reste{background:var(--track);box-shadow:inset 0 0 0 1px var(--border)}.split-overflow{background:var(--danger)}.split-mark{background:var(--danger);width:2px;margin-left:-1px;position:absolute;top:-4px;bottom:-4px}.split-legend{grid-template-columns:1fr 1fr;gap:4px 14px;margin:0;padding:0;font-size:.8rem;list-style:none;display:grid}.split-legend li{align-items:center;gap:6px;min-width:0;display:flex}.swatch{border-radius:2px;flex:none;width:9px;height:9px}.split-label{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);overflow:hidden}.split-value{font-variant-numeric:tabular-nums;white-space:nowrap;margin-left:auto;font-weight:600}.split-value small{color:var(--muted);font-weight:500}.status-text-over .split-label,.status-text-over .split-value,.status-text-over .split-value small{color:var(--danger)}.overruns{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.overruns button{justify-content:space-between;align-items:center;gap:var(--space-2);width:100%;min-height:44px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;padding:3px 0;font-size:.85rem;display:flex}.overrun-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overrun-value{font-variant-numeric:tabular-nums;color:var(--danger);font-weight:600}.category-group>summary{gap:var(--space-2);cursor:pointer;flex-direction:column;margin-bottom:10px;padding:0 4px;list-style:none;display:flex}.category-group>summary::-webkit-details-marker{display:none}.group-name{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.8rem;font-weight:600}.group-name:before{content:"▸";width:1em;transition:transform .15s;display:inline-block}.category-group[open] .group-name:before{transform:rotate(90deg)}.row-text{flex-direction:column;gap:2px;min-width:0;display:flex}.row-text small{font-size:.8rem}.envelope-balance{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--accent);font-weight:700}.envelope-fund{margin-top:12px}.filters{gap:var(--space-2);flex-direction:column;display:flex}.filter-search,.filter-row select{width:100%;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);outline:none;padding:0 12px;font-family:inherit;font-size:16px}.filter-search:focus,.filter-row select:focus{border-color:var(--accent);box-shadow:var(--focus-shadow)}.filter-row{gap:var(--space-2);grid-template-columns:1.4fr 1fr;display:grid}.filter-row select{text-overflow:ellipsis;min-width:0}.filter-row select.set{border-color:var(--accent);color:var(--accent);font-weight:600}.link-btn{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:none;margin:-12px -6px;padding:12px 6px;font-weight:600}.field .amount-input{min-height:60px;font-size:1.6rem;font-weight:600}.scan-reading{align-items:center;gap:var(--space-4);text-align:center;flex-direction:column;padding:8px 0 16px;display:flex}.scan-reading img{border-radius:var(--radius);border:1px solid var(--border);max-width:100%;max-height:40dvh}.spinner{border:3px solid var(--accent-soft);border-top-color:var(--accent);border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.scan-draft{gap:var(--space-3);border-radius:var(--radius);background:var(--accent-soft);align-items:center;padding:10px;font-size:.9rem;display:flex}.scan-draft img{object-fit:cover;border-radius:var(--radius-sm);flex-shrink:0;width:56px;height:72px}.scan-draft p{margin:0}.hint-link{font-size:.9rem}.status-bar{z-index:6;justify-content:center;align-items:center;gap:var(--space-3);padding:calc(env(safe-area-inset-top) + 8px) 16px 8px;text-align:center;font-size:.85rem;display:flex;position:sticky;top:0}.status-bar.offline{background:var(--warn-soft);color:var(--warn)}.status-bar.update{background:var(--accent);color:var(--on-accent)}.status-bar.update button{border:1px solid var(--hero-border);border-radius:var(--radius-pill);min-height:36px;color:var(--on-accent);font:inherit;background:0 0;padding:0 14px;font-weight:600}.status-bar+.status-bar{padding-top:8px}.install-steps p{margin:0}.install-steps ol{margin:8px 0;padding-left:22px;line-height:1.7}.inline-icon{vertical-align:-3px;fill:none;width:18px;height:18px;stroke:var(--accent);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.breakdown-link{margin-top:10px;font-size:.9rem;display:inline-block}.month-analysis{gap:var(--space-3);flex-direction:column;display:flex}.analysis-level{border:0;min-width:0;margin:0;padding:0}.analysis-level .segmented{flex-wrap:wrap}.analysis-level .segmented button{flex-basis:8rem}.receipt-items{margin:0;padding:0;list-style:none}.receipt-items li{border-bottom:1px solid var(--border);justify-content:space-between;gap:1rem;padding:.4rem 0;display:flex}.receipt-items li>span:first-child{overflow-wrap:anywhere;min-width:0}.receipt-items li>span:last-child{flex-shrink:0}.receipt-items-reading{align-items:center;gap:var(--space-2);margin:0;display:flex}.receipt-items-reading .spinner{border-width:2px;flex-shrink:0;width:18px;height:18px}.items-choice{gap:var(--space-2);padding:var(--space-3);border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);display:grid}.items-choice p{margin:0}.items-choice-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.items-choice-actions .btn{flex:12rem}.analysis-launcher{right:max(16px,50vw - 264px);bottom:calc(env(safe-area-inset-bottom) + var(--launcher-bottom));z-index:6;border:1px solid var(--border);background:var(--surface);min-width:64px;height:46px;color:var(--accent);box-shadow:var(--shadow-float);font:inherit;cursor:pointer;border-radius:24px;justify-content:center;align-items:center;gap:5px;font-size:.85rem;display:flex;position:fixed}.analysis-launcher svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.month-analysis textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;min-height:90px;color:var(--text);font:inherit;border-radius:10px;padding:10px;font-size:1rem}.month-analysis p{margin:0}.analysis-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.savings-accounts{gap:var(--space-4);flex-direction:column;display:flex}.account-balance+.account-balance{border-top:1px solid var(--border);padding-top:12px}.account-balance .budget-line{flex-wrap:wrap;gap:4px 12px}.account-balance strong,.transfer-history strong{overflow-wrap:anywhere;min-width:0}.transfer-history .row-main{min-width:0}.savings-hero{flex-direction:column;gap:6px;display:flex}.savings-total{letter-spacing:-.01em;font-variant-numeric:tabular-nums;color:var(--accent);font-size:2rem;font-weight:700}.savings-flow{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:2px 12px;margin:0;font-size:.85rem;display:flex}.flow-in{color:var(--accent);font-weight:600}.flow-out{color:var(--muted);font-weight:600}.flow-net{color:var(--text)}.savings-bars{flex-direction:column;gap:10px;display:flex}.chart{margin:4px 0 0}.chart-plot{touch-action:pan-y;position:relative}.chart-plot svg{width:100%;height:auto;display:block;overflow:visible}.chart-axis{stroke:var(--border);stroke-width:1px}.chart-grid{stroke:var(--track);stroke-dasharray:3 3}.chart-value{fill:var(--muted);font-size:11px}.chart-line{fill:none;stroke:var(--accent);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-dot{fill:var(--accent)}.chart-dot-minor{fill:var(--surface);stroke:var(--seg-2);stroke-width:1.5px}.chart-hit-row{display:flex;position:absolute;inset:0}.chart-hit{cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex:1;height:100%;padding:0}.chart-hit:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.chart-tooltip{border:1px solid var(--border);border-radius:var(--radius);background:var(--track);margin-top:10px;padding:10px 12px}.chart-tooltip-head{justify-content:center;align-items:center;gap:var(--space-2);display:flex}.chart-tooltip-head strong{text-align:center;min-width:9em}.chart-tooltip-values{text-align:center;font-variant-numeric:tabular-nums;margin:2px 0 10px}.chart-tooltip-view{width:100%}.chart-labels{color:var(--muted);justify-content:space-between;margin-top:4px;font-size:.72rem;display:flex}.chart-labels-all{text-align:center;grid-auto-columns:1fr;grid-auto-flow:column;font-size:.72rem;display:grid}.chart-labels .current{color:var(--accent);font-weight:700}.bar-up{fill:var(--seg-2);background:var(--seg-2)}.bar-down{fill:var(--seg-3);background:var(--seg-3)}.chart .current .bar-up{fill:var(--accent)}.chart-legend{color:var(--muted);flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;font-size:.8rem;list-style:none;display:flex}.chart-legend li{align-items:center;gap:6px;display:flex}.chart-legend strong{color:var(--text);font-variant-numeric:tabular-nums}.envelope-name{font-weight:600}.envelope-flow{font-variant-numeric:tabular-nums;gap:10px;font-size:.8rem;display:flex}.history{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.9rem}.history th,.history td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:10px 4px}.history thead th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-size:.72rem;font-weight:600}.history th:first-child{text-align:left;font-weight:500}.history thead th:first-child{font-weight:600}.attachments{flex-direction:column;gap:10px;display:flex}.attachments-label{color:var(--muted);font-size:.9rem;font-weight:600}.attachment-grid{gap:var(--space-2);grid-template-columns:repeat(auto-fill,minmax(76px,1fr));margin:0;padding:0;list-style:none;display:grid}.attachment-tile{aspect-ratio:1;border:1px solid var(--border);background:var(--track);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;width:100%;padding:0;display:flex;overflow:hidden}.attachment-tile img{object-fit:cover;width:100%;height:100%}.attachment-tile .spinner{width:22px;height:22px}.attachment-pdf{letter-spacing:.04em;color:var(--accent);font-size:.85rem;font-weight:700}.attachment-full{object-fit:contain;background:var(--track);border-radius:10px;width:100%;max-height:70dvh;display:block}.clip{color:var(--muted);vertical-align:middle;align-items:center;gap:1px;margin-right:8px;font-size:.75rem;display:inline-flex}.clip svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.scan-review-row{border:1px solid var(--border);border-radius:12px;min-width:0;margin:0;padding:1rem}.scan-review-row legend{overflow-wrap:anywhere;max-width:100%;padding:0 .25rem}body{line-height:1.5}h1,h2,h3,.kpi-value,.total-value{text-wrap:balance}h1{letter-spacing:-.04em;font-weight:650}.page,.auth{gap:var(--space-6)}.card,.list{box-shadow:var(--shadow-card)}.card{padding:var(--space-5)}.btn{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);transition:background var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);font-size:.94rem;font-weight:600;display:inline-flex}.button-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.btn-ghost{background:var(--surface)}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled,button:disabled{opacity:var(--disabled-opacity);cursor:default}:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.icon-btn,.row-link,.tab,.chart-hit{transition:background var(--duration) var(--ease), color var(--duration) var(--ease)}.icon-btn:active,.row-link:active{background:var(--accent-soft)}.field input,.field select,.field textarea,select{border-radius:var(--radius)}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--focus-ring);box-shadow:var(--focus-shadow)}.empty{padding:var(--space-6);border-radius:var(--radius);background:var(--surface);border:1px dashed var(--border)}.sheet{border-radius:var(--radius-lg) var(--radius-lg) 0 0;box-shadow:var(--shadow-float)}.sheet-body{padding:var(--space-4) var(--space-5) calc(env(safe-area-inset-bottom) + var(--space-6))}.sheet-header{margin-bottom:var(--space-5)}.sheet-header h2{letter-spacing:-.025em;font-size:1.2rem;font-weight:650}.sheet-actions{padding-top:var(--space-3)}.tabbar{box-shadow:var(--shadow-sm)}.tab{padding-top:var(--space-3);padding-bottom:var(--space-2);gap:var(--space-1)}.tab.active{color:var(--accent);font-weight:650;position:relative}.tab.active:before{content:"";border-radius:var(--radius-pill);background:var(--accent);width:24px;height:3px;position:absolute;top:0}.analysis-launcher{box-shadow:var(--shadow-float)}.meter,.gauge{border-radius:var(--radius-pill)}.meter>span,.gauge>span{border-radius:inherit;transition:width .26s var(--ease)}.segmented{background:var(--surface-soft)}.segmented button.active,.segmented a.active{background:var(--surface);box-shadow:var(--shadow-sm)}@media (hover:hover){.btn:hover:not(:disabled){background:var(--accent-press)}.btn-ghost:hover:not(:disabled),.icon-btn:hover,.row-link:hover,.tab:hover{background:var(--accent-soft)}}.home{max-width:680px;padding-top:calc(env(safe-area-inset-top) + var(--space-8))}.home-header{gap:var(--space-4);flex-direction:column;display:flex}.home-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.home-heading h1{letter-spacing:-.02em;color:var(--muted);font-size:1.1rem;font-weight:500}.eyebrow{letter-spacing:.18em;color:var(--text);font-size:.76rem;font-weight:750}.home-header .month-picker{margin:0;padding:0}.home-header .month-picker span{letter-spacing:-.04em;color:var(--text);font-size:1.75rem;font-weight:650}.home-header .month-picker .icon-btn{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill)}.home-kpis{gap:var(--space-5);padding:var(--space-6);background:var(--hero);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);flex-direction:column;display:flex}.home-kpis .kpi{box-shadow:none;gap:var(--space-1);background:0 0;border:0;border-radius:0;padding:0}.home-kpis .kpi:first-child .kpi-value{letter-spacing:-.055em;color:var(--hero-text);font-size:clamp(2rem,9vw,3.3rem);font-weight:600;line-height:1.2}.home-kpis .kpi-label{color:var(--hero-muted);font-size:.83rem;font-weight:500}.home-kpis .muted{color:var(--hero-muted);font-size:.75rem}.home-kpis .kpi:last-child{border-top:1px solid var(--hero-border);padding-top:var(--space-4);align-items:baseline;gap:var(--space-1) var(--space-3);grid-template-columns:1fr auto;display:grid}.home-kpis .kpi:last-child .kpi-value{color:var(--hero-text);font-size:1.1rem;font-weight:600}.home-kpis .kpi:last-child .muted{grid-column:1/-1;font-size:.7rem}.home-kpis .kpi-value.negative{color:var(--hero-danger)!important}.home .entry-actions{gap:var(--space-3)}.home .entry-actions .btn{min-height:56px;padding-inline:var(--space-2);font-size:.85rem}.home .summary{gap:var(--space-3)}.home .summary-block{padding:var(--space-4);gap:var(--space-3)}.home .summary-title{letter-spacing:.07em;font-size:.65rem;font-weight:650}.home .summary-aside{letter-spacing:-.02em;color:var(--text);font-size:.95rem}.home .summary-figure{letter-spacing:-.04em;font-size:1.7rem;font-weight:600}.home .summary-line{white-space:normal;font-size:.76rem}.home .summary-empty{font-size:.8rem}.home .split-bar{border-radius:var(--radius-pill);gap:3px;height:10px}.home .split-legend{gap:var(--space-2) var(--space-4);font-size:.75rem}.home .split-legend li{gap:var(--space-1);flex-wrap:wrap}.home .split-value{color:var(--text);flex-basis:100%;margin-left:13px;font-size:.83rem}.home .split-value small{margin-left:var(--space-1);font-size:.7rem}.home .breakdown{border:0;border-bottom:1px solid var(--border);box-shadow:none;padding:0 0 var(--space-5);background:0 0;border-radius:0}.home .breakdown summary{align-content:center;min-height:44px;font-size:.88rem;display:list-item}.home .category-group>summary{padding:var(--space-2) 0 var(--space-3)}.home .group-name,.home .section-title{letter-spacing:.04em;color:var(--muted);font-size:.78rem}.home .category-group>summary .row-value{letter-spacing:0;font-size:.73rem}.home .budget-line{gap:var(--space-3);align-items:center;font-size:.86rem}.home .budget-line .row-value{font-size:.76rem}.home .budget-row{padding:var(--space-4);gap:var(--space-3)}.home .meter,.home .gauge{height:5px}.home .row-text{gap:var(--space-1)}.home .envelope-balance{font-size:1rem}@media (width>=700px){.home{padding-inline:var(--space-6);gap:var(--space-6)}.home .home-header{flex-direction:row;justify-content:space-between;align-items:center}.home-heading{align-items:flex-start;gap:var(--space-1);flex-direction:column}.home-header .month-picker{min-width:320px}.home-kpis{padding:var(--space-8)}.home .split-legend{grid-template-columns:repeat(4,1fr)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.home-watch>h2{margin:0}.budget-row-idle .home-category-name,.budget-row-idle .row-value{color:var(--muted)}.budget-row-idle .meter{opacity:.55}.watch-fixed{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.watch-fixed>summary{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:48px;padding:var(--space-3) var(--space-4);cursor:pointer;font-size:.86rem;list-style:none;display:flex}.watch-fixed>summary::-webkit-details-marker{display:none}.watch-fixed>summary>span:first-child:before{content:"▸";width:1.2em;color:var(--muted);transition:transform .15s;display:inline-block}.watch-fixed[open]>summary>span:first-child:before{transform:rotate(90deg)}.watch-fixed>summary .row-value{font-variant-numeric:tabular-nums;font-weight:600}.watch-fixed-list{margin:0;padding:0;list-style:none}.watch-fixed-list .row{align-items:center;gap:var(--space-3);width:100%;min-height:48px;padding:var(--space-2) var(--space-4);border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;font-size:.84rem;display:grid}.watch-fixed-amount{font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}.watch-links{justify-content:space-between;gap:var(--space-2) var(--space-4);flex-wrap:wrap;display:flex}.watch-link{align-items:center;gap:var(--space-1);min-height:44px;color:var(--accent);font-weight:600;text-decoration:none;display:inline-flex}@media (width<=599px){.watch-fixed-list .row{grid-template-columns:minmax(0,1fr);gap:0}}.skeleton{border-radius:var(--radius-sm,6px);background:var(--border);animation:1.4s ease-in-out infinite skeleton-pulse;display:block}.skeleton-line{width:min(100%,22rem);height:.9em}.skeleton-short{width:min(60%,12rem);height:.8em}.skeleton-bar{width:100%;height:5px}.skeleton-amount{flex:none;width:5rem;height:1.1em}.skeleton-hero{width:min(70%,15rem);height:clamp(2rem,8vw,3.3rem)}.home-hero .skeleton{background:var(--hero-border)}.watch-skeleton-row{justify-content:stretch;gap:var(--space-2);grid-template-columns:minmax(0,1fr);align-content:center;min-height:64px;display:grid}.envelope-returned{font-size:.76rem;font-weight:400;display:block}.home.is-refreshing :is(.home-hero-totals,.home-pace,.home-todo,.watch-list,.watch-fixed){opacity:.55;transition:opacity .15s .25s}@keyframes skeleton-pulse{50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.budget-lines{gap:var(--space-2);display:grid}.budget-lines-title{margin:0;font-size:.875rem;font-weight:600}.budget-lines-table{border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums;width:100%}.budget-lines-table th{padding:0 0 var(--space-1);color:var(--muted);text-align:left;font-size:.75rem;font-weight:500}.budget-lines-table th:nth-child(2){text-align:right;width:112px}.budget-lines-table th:nth-child(3){width:44px}.budget-lines-table td{padding:var(--space-1) 0;border-top:1px solid var(--border);vertical-align:middle}.budget-lines-table td:nth-child(2){padding-left:var(--space-2)}.budget-lines-table select,.budget-lines-table input{box-sizing:border-box;width:100%;min-height:44px;padding:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface);font:inherit;font-size:16px}.budget-lines-table input{text-align:right;font-variant-numeric:tabular-nums}.budget-lines-table [aria-invalid=true]{border-color:var(--danger)}.budget-lines-start{padding-inline:var(--space-2);color:var(--muted);font-size:.9rem;display:block}.budget-lines-error{color:var(--danger);margin:0;font-size:.85rem}.budget-lines-add{justify-self:start}.receipt-items .item-category{width:150px;max-width:100%;min-height:44px;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);margin-top:.35rem;padding:0 .6rem;font-size:.85rem;display:block}.receipt-items>li>span{min-width:0}.ticket-allocation{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1.2fr) 44px;align-items:end;gap:.65rem;display:grid}.ticket-allocation .field{min-width:0}.ticket-allocation .field>span{align-items:end;min-height:2.5em;display:flex}.ticket-allocation .allocation-remove{width:44px;min-height:44px;padding:0;font-size:1.5rem}@media (width<=600px){.ticket-allocation{grid-template-columns:minmax(0,1fr) 44px}.ticket-allocation .field{grid-column:1}.ticket-allocation .field>span{min-height:0}.ticket-allocation .allocation-remove{grid-area:1/2}}.expense-amount-row{grid-template-columns:minmax(0,1fr) 6rem;align-items:end;gap:.7rem;display:grid}.expense-amount-row .expense-currency{min-width:0}.expense-amount-row .expense-currency select{width:100%}.receipt-item-actions{flex-wrap:wrap;gap:.8rem;display:flex}.receipt-item-actions button{min-height:44px}.receipt-item-edit{border:1px solid var(--border);border-radius:var(--radius);min-width:0;padding:.8rem}.nav-brand{display:none}.analysis-launcher{right:max(var(--space-4), calc((100vw - var(--content-reading)) / 2 + var(--space-4)))}.app-frame{min-width:0}.page{max-width:var(--content-reading);padding-top:calc(env(safe-area-inset-top) + var(--space-6))}.page>*{min-width:0}.page-header{min-height:var(--tap);align-items:center;padding:0}.page-header h1{letter-spacing:-.045em;font-size:1.8rem;font-weight:650}.page-header .back-link{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);place-items:center;width:44px;min-height:44px;display:grid}.page:not(.home)>.month-picker{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);padding:var(--space-1);box-shadow:var(--shadow-sm);margin:0}.page:not(.home)>.month-picker>span{letter-spacing:-.02em;color:var(--text);font-size:1.03rem;font-weight:600}.month-picker .icon-btn{flex:none}.section-title{letter-spacing:.06em;color:var(--muted);margin:0 0 var(--space-3);font-size:.76rem;line-height:1.5}.card-title{letter-spacing:-.025em;margin:0;font-size:1.15rem}.total{align-items:center;gap:var(--space-4)}.total-value{letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(1.5rem,6vw,2rem);font-weight:600}.page-actions{gap:var(--space-3);flex-direction:column;display:flex}.page-actions .btn{min-height:52px}.record-page{gap:var(--space-4)}.entry-actions .btn{padding-inline:var(--space-2);font-size:.85rem}.filters{padding:var(--space-4);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);gap:var(--space-3)}.filter-row{gap:var(--space-3)}.filter-row select{min-width:0}.filter-search{background:var(--bg)}.field{gap:var(--space-2);font-weight:500}.field input,.field select{font-weight:400}.field input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}.field textarea{min-height:96px;padding:var(--space-3);border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit}.toggle{align-items:center;gap:var(--space-4);min-height:56px;padding-block:var(--space-2)}.toggle>span{min-width:0;line-height:1.45}.toggle small{margin-top:var(--space-1)}.toggle input{flex:none}.segmented{gap:var(--space-1);padding:var(--space-1)}.segmented button,.segmented a{min-height:44px;padding:var(--space-2);overflow-wrap:anywhere;font-size:.88rem}.row-text,.row-main{min-width:0}.row-text>span,.row-main>strong,.budget-line>span:first-child{overflow-wrap:anywhere}.badge,.payment-label{width:fit-content;padding:3px var(--space-2);background:var(--accent-soft);color:var(--accent);border-radius:var(--radius-sm);align-items:center;font-size:.72rem;font-weight:500;display:inline-flex}.empty{text-align:center;padding:var(--space-8) var(--space-5);line-height:1.6}.empty .btn{margin-top:var(--space-4)}.records{box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.record-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%}.record-table thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.record-table,.record-table tbody{display:block}.record-table tbody{gap:var(--space-3);display:grid}.record-table .row{padding:var(--space-4);align-items:start;gap:var(--space-2) var(--space-3);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-height:0;box-shadow:var(--shadow-card);grid-template-columns:minmax(0,1fr) auto;display:grid;position:relative}.record-table td{border:0;min-width:0;padding:0}.record-primary{grid-area:1/1}.record-table .record-amount{justify-content:flex-end;align-items:center;gap:var(--space-1);color:var(--text);grid-area:1/2;font-size:.92rem;font-weight:600;display:flex}.record-table .record-amount.positive{color:var(--ok)}.record-meta{color:var(--muted);overflow-wrap:anywhere;grid-column:1/-1;font-size:.76rem}.record-meta:before{content:attr(data-label) " · ";font-weight:500}.record-open{color:var(--text);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-size:.96rem;font-weight:550}.record-open:after{content:"";border-radius:var(--radius);position:absolute;inset:0}.record-note{-webkit-line-clamp:2;margin-top:var(--space-1);-webkit-box-orient:vertical;font-size:.75rem;display:-webkit-box;overflow:hidden}.record-table .row:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}.record-open:focus-visible{outline:none}.record-table .row-link:active{background:var(--accent-soft)}.record-amount .clip{flex:none;display:inline-flex}.expense-records .record-meta:before{content:none}.expense-records .record-date{grid-area:2/1}.expense-records td:nth-child(3){grid-area:3/1}.expense-records td:nth-child(4){grid-area:3/2;justify-self:end}.transfer-history{margin-top:var(--space-5)}.savings-hero{background:var(--hero);color:var(--hero-text);border-radius:var(--radius-lg);padding:var(--space-6);gap:var(--space-4);border:0}.savings-hero .kpi-label,.savings-hero .muted{color:var(--hero-muted)}.savings-total{color:var(--hero-text);letter-spacing:-.045em;overflow-wrap:anywhere;font-size:clamp(2rem,8vw,2.8rem);font-weight:600;line-height:1.2}.savings-total.negative{color:var(--hero-danger)!important}.savings-hero .savings-flow{gap:var(--space-1);flex-direction:column;font-size:.8rem}.savings-hero .flow-in,.savings-hero .flow-out,.savings-hero .flow-net{color:var(--hero-muted);font-weight:400}.savings-hero .chart-line{stroke:var(--hero-text)}.savings-hero .chart-dot,.savings-hero .chart-dot-minor,.savings-hero .chart-value{fill:var(--hero-text)}.savings-hero .chart-grid,.savings-hero .chart-axis{stroke:var(--hero-border)}.savings-hero .chart-labels{color:var(--hero-muted)}.savings-hero .chart-labels .current{color:var(--hero-text)}.savings-hero .chart-tooltip{color:var(--text)}.savings-hero .chart-tooltip .muted{color:var(--muted)}.savings-accounts .summary-title{letter-spacing:.05em;font-size:.75rem}.savings-accounts>p{font-size:.8rem}.savings-accounts .account-balance{padding-block:var(--space-2)}.account-balance .budget-line strong{font-size:.9rem;font-weight:550}.account-balance .budget-line strong:last-child{font-variant-numeric:tabular-nums;font-weight:650}.savings-envelopes{gap:var(--space-3);flex-direction:column;display:flex;container-type:inline-size}.savings-envelopes .section-title{margin-bottom:0}.dashboard-toolbar{justify-content:flex-end;align-items:center;gap:var(--space-2);flex-wrap:wrap;grid-column:1/-1;display:flex}.dashboard-toolbar .btn{width:auto;min-height:44px;padding:var(--space-2) var(--space-4)}.dashboard-toolbar>.muted{margin-right:auto;font-size:.8rem}.personalized-grid{align-items:start;gap:var(--space-5);grid-column:1/-1;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}.personalized-grid>.arrangeable{min-width:0}.personalized-grid>.arrangeable:has(>.personalized-widget[hidden]){display:none}.personalized-widget{gap:var(--space-3);flex-direction:column;min-width:0;display:flex;container-type:inline-size}.personalized-widget[hidden]{display:none}.personalized-widget>*{min-width:0;max-width:100%}.personalized-widget>.wallet-card{width:100%}.personalized-grid .summary-block{grid-column:auto}.personalized-grid .entry-actions{width:100%;max-width:none}.personalized-grid .savings-envelopes{grid-column:auto}.personalized-grid.is-personalizing>.arrangeable{border:1px dashed var(--border);border-radius:var(--radius);padding:var(--space-2)}.widget-controls{align-items:center;gap:var(--space-1);min-width:0;padding:var(--space-1);color:var(--text);background:var(--surface-soft);border-radius:var(--radius-sm);flex-wrap:wrap;font-size:.8rem;display:flex}.widget-controls>strong,.widget-controls>.muted{overflow-wrap:anywhere;flex:100px;min-width:0}.widget-controls .btn{min-height:44px;padding:var(--space-2);width:auto;font-size:.75rem}.widget-controls .sort-handle{touch-action:none;flex:0 0 44px}.widget-arrows{display:flex}.widget-arrows .icon-btn{width:44px;height:44px}.arrangeable.is-dragging{z-index:20;opacity:.85;position:relative}.personalized-order,.personalized-order-item,.personalized-order>.arrangeable{display:contents}.personalized-order.is-personalizing{gap:var(--space-2);flex-direction:column;display:flex}.personalized-order.is-personalizing>.arrangeable{min-width:0;display:block}.personalized-order.is-personalizing .personalized-order-item{display:block}.personalized-order.is-personalizing>.arrangeable>.personalized-order-item>.widget-controls{margin-bottom:var(--space-1)}@media (width>=1000px){.personalized-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.personalized-grid>.arrangeable:has(>.widget-wide){grid-column:1/-1}}@media (width<=999px){.widget-width{display:none}}@container (width<=699px){.personalized-widget>.home-kpis{align-items:stretch;gap:var(--space-5);flex-direction:column}.personalized-widget .home-kpis .kpi:last-child{border-left:0;border-top:1px solid var(--hero-border);padding:var(--space-4) 0 0;grid-template-columns:1fr auto;display:grid}.personalized-widget .home-kpis .kpi:last-child .kpi-value{font-size:1.1rem}.personalized-widget .home-envelopes>.list{grid-template-columns:minmax(0,1fr)}.personalized-widget .home-envelopes .row:nth-child(2n){border-left:0}.personalized-widget .split-legend{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=599px){.personalized-widget .insights-drivers button{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 10px}.personalized-widget .insights-driver-name{grid-column:1/3}.personalized-widget .insights-drivers button>span:last-child{grid-area:1/3/3}.personalized-widget .insights-driver-delta{grid-column:2}}.envelope-group{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:0;overflow:clip}.envelope-group-heading{align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);grid-template-columns:minmax(0,1fr) auto 44px;margin:0;font-size:.94rem;display:grid}.envelope-group-name{align-items:baseline;gap:var(--space-3);overflow-wrap:anywhere;flex-wrap:wrap;min-width:0;display:flex}.envelope-group-name small{font:400 .75rem var(--font-body,sans-serif);color:var(--muted)}.envelope-group-total{font-variant-numeric:tabular-nums;white-space:nowrap}.envelope-group-heading .icon-btn{width:44px;height:44px}.envelope-group-empty{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);margin:0;font-size:.85rem}.envelope-group{--envelope-columns:minmax(0, 1fr) 104px 104px 104px 136px}.envelope-open{grid-template-columns:var(--envelope-columns);align-items:center;gap:var(--space-3);width:100%;min-height:52px;padding:var(--space-3) var(--space-5);border:0;border-top:1px solid var(--border);color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;display:grid}.envelope-open:hover{background:var(--surface-soft)}.envelope-open:focus-visible{outline-offset:-3px}.envelope-columns{grid-template-columns:var(--envelope-columns);gap:var(--space-3);padding:var(--space-2) var(--space-5);border-top:1px solid var(--border);color:var(--muted);letter-spacing:.02em;font-size:.72rem;font-weight:600;display:grid}.envelope-columns>span,.envelope-cell{text-align:right}.envelope-name{overflow-wrap:anywhere;min-width:0;font-size:.9rem}.envelope-meta{display:contents}.envelope-cell{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text);font-size:.85rem}.envelope-cell.is-empty,.envelope-budget{color:var(--muted)}.envelope-cell-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.envelope-saved{color:var(--accent)}.envelope-balance{font-variant-numeric:tabular-nums;white-space:nowrap;justify-self:end;font-size:.9rem;font-weight:700}.envelope-open .envelope-name,.envelope-open .envelope-cell{font-weight:400}.envelope-open .envelope-balance{font-family:var(--font-sans);font-weight:600}.envelope-negative{color:var(--danger)}@container (width<=699px){.envelope-group-heading{padding:var(--space-2) var(--space-4);gap:var(--space-2)}.envelope-group-name{gap:var(--space-1);flex-direction:column}.envelope-columns{display:none}.envelope-open{gap:var(--space-1) var(--space-3);padding:var(--space-3) var(--space-4);grid-template-columns:minmax(0,1fr) auto}.envelope-name{grid-area:1/1}.envelope-balance{grid-area:1/2}.envelope-meta{flex-wrap:wrap;grid-area:2/1/auto/-1;align-items:baseline;font-size:.8rem;display:flex}.envelope-cell{text-align:left;font-size:.8rem}.envelope-cell.is-empty{display:none}.envelope-cell-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.envelope-cell:not(.is-empty)~.envelope-cell:not(.is-empty):before{content:"·";color:var(--muted);margin-inline:6px}}.savings-layout{gap:var(--space-5);min-width:0;display:grid}.savings-page>.savings-envelopes{grid-column:1/-1;min-width:0}.settings-page details>summary{justify-content:space-between;align-items:center;gap:var(--space-3);cursor:pointer;min-height:44px;list-style:none;display:flex}.settings-page details>summary::-webkit-details-marker{display:none}.settings-page details>summary:after{content:"›";color:var(--muted);flex:none;font-size:1.4rem;line-height:1;transition:transform .15s}.settings-page details[open]>summary:after{transform:rotate(90deg)}.settings-label{margin:0}.settings-group>summary h2{margin:0;font-size:1.1rem}.settings-group-body{gap:var(--space-6);padding-top:var(--space-5);flex-direction:column;min-width:0;display:flex}.income-cycle-note{margin-top:var(--space-1);color:var(--muted);font-size:.76rem;font-weight:400;display:block}.settings-page>section:not(.card){padding:var(--space-5);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card)}.settings-page>section>.list{box-shadow:none;border:0;border-radius:0}.settings-page .list .row{padding:var(--space-4) var(--space-5)}.settings-page .list .row-value{white-space:normal;overflow-wrap:anywhere;text-align:right;min-width:0}.settings-page>section>p{font-size:.88rem;line-height:1.6}.categories-page .row,.accounts-page .row{padding:var(--space-5)}.categories-page .row-main{align-items:flex-start;gap:var(--space-1);flex-direction:column;display:flex}.categories-page .row-main small{font-size:.75rem;line-height:1.5}.accounts-page>p{font-size:.9rem}.month-analysis.card{background:var(--surface);padding:var(--space-5);box-shadow:none}.month-analysis .analysis-transparency{font-size:.8rem;line-height:1.6}.month-analysis .analysis-content{border-top:1px solid var(--border);padding-top:var(--space-5);font-size:.95rem;line-height:1.75}.month-analysis .segmented{grid-template-columns:1fr;display:grid}.month-analysis .segmented button{font-size:.85rem}.month-analysis textarea{padding:var(--space-3);border-radius:var(--radius)}.sheet{scrollbar-gutter:stable}.sheet-header{border-bottom:1px solid var(--border);padding-bottom:var(--space-4);gap:var(--space-3)}.sheet-header h2{overflow-wrap:anywhere;min-width:0}.sheet-header .icon-btn{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);flex:none}.sheet form>p.muted,.sheet form>small{line-height:1.6}.sheet-actions .btn{min-height:52px}.auth{width:100%}.onboarding{gap:var(--space-6);max-width:560px;padding-top:max(var(--space-8), 8dvh)}.onboarding h1{font-size:2.2rem}.onboarding>.card{padding:var(--space-6);border-radius:var(--radius-lg)}.onboarding>.muted{line-height:1.65}@media (width>=380px) and (width<=1023px){.record-page{grid-template-columns:minmax(0,1fr) auto;display:grid}.record-page>*{grid-column:1/-1}.record-page>.page-header{grid-area:1/1}.record-page>.page-header h1{font-size:1.5rem}.record-page>.month-picker{grid-area:1/2;width:208px}.record-page>.month-picker>span{font-size:.83rem}.movements-page>.page-header{grid-column:1/-1}.movements-page>.month-picker{grid-area:2/1/auto/-1;width:100%}.record-page .filters{padding:var(--space-3)}}@media (width>=600px){.page{padding-inline:var(--space-6)}.month-analysis .segmented{grid-template-columns:repeat(3,minmax(0,1fr))}.page-actions{flex-direction:row;align-items:stretch}.page-actions>.entry-actions{flex:1.3}.page-actions>.btn{flex:1;width:auto}.filters{grid-template-columns:1fr 1fr;align-items:center;display:grid}.sheet{max-width:640px}}@media (width>=1024px){.app-frame{padding-left:var(--sidebar-width)}.tabbar{width:var(--sidebar-width);justify-content:flex-start;align-items:stretch;gap:var(--space-2);padding:var(--space-8) var(--space-4);border-top:0;border-right:1px solid var(--border);-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--surface);box-shadow:none;flex-direction:column;top:0;bottom:0;right:auto}.nav-brand{align-items:center;gap:var(--space-3);padding:0 var(--space-2) var(--space-8);display:flex}.nav-brand-mark{background:var(--hero);width:38px;height:38px;color:var(--hero-text);border-radius:var(--radius-sm);letter-spacing:-.1em;place-items:center;font-size:1.6rem;font-weight:600;display:grid}.nav-brand>span:last-child{gap:var(--space-1);flex-direction:column;display:flex}.nav-brand strong{letter-spacing:.16em;font-size:.8rem}.nav-brand small{color:var(--muted);font-size:.68rem}.tab{width:100%;max-width:none;padding:var(--space-3);justify-content:flex-start;gap:var(--space-3);border-radius:var(--radius);min-height:var(--tap);flex-direction:row;flex:none;font-size:.88rem}.tab svg{width:22px;height:22px}.tab.active{background:var(--accent-soft)}.tab.active:before{width:3px;height:18px;top:50%;left:0;transform:translateY(-50%)}.page,.page.home{max-width:var(--content-width);padding:var(--space-8) var(--space-8) 100px;gap:var(--space-6);margin-inline:auto}.page-header h1{font-size:2rem}.page>.btn{align-self:flex-start;width:fit-content;min-width:220px}.page:not(.home)>.month-picker{justify-self:end;width:310px}.record-page{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.record-page>*{grid-column:1/-1}.record-page>.page-header{grid-area:1/1}.record-page>.month-picker{grid-area:1/2}.record-page>.segmented{width:310px}.record-page>.total{padding:var(--space-6)}.page-actions .entry-actions{flex:none;width:390px}.page-actions>.btn{max-width:310px;padding-inline:var(--space-5);flex:none;margin-left:auto}.filters{grid-template-columns:minmax(200px,1fr) minmax(300px,1fr)}.records{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card);overflow:hidden}.record-table{table-layout:fixed;display:table}.record-table thead{clip-path:none;width:auto;height:auto;display:table-header-group;position:static}.record-table th{padding:var(--space-4);color:var(--muted);background:var(--surface-soft);text-transform:uppercase;letter-spacing:.06em;font-size:.68rem;font-weight:600}.record-table th:first-child{width:34%}.record-table th:last-child{text-align:right;width:18%}.record-table tbody{display:table-row-group}.record-table .row{box-shadow:none;border:0;border-radius:0;font-size:.88rem;display:table-row}.record-table td{padding:var(--space-5) var(--space-4);vertical-align:middle;border-top:1px solid var(--border);display:table-cell}.expense-records td:nth-child(4){justify-self:auto}.record-table .record-amount{text-align:right;white-space:nowrap;font-size:.86rem;display:table-cell}.record-meta{font-size:.8rem}.record-meta:before{content:none}.record-open{min-height:24px;font-size:.9rem}.record-open:after{border-radius:0}.record-table .row:focus-within{outline-offset:-3px}.record-note{max-width:100%}.record-amount .clip{margin-right:var(--space-1)}.records:not(.expense-records) .record-table th:first-child{width:42%}.transfer-history .record-table th:first-child{width:52%}.transfer-history .record-table th:last-child{width:23%}.home{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.home>.home-header,.home>.home-kpis,.home>.entry-actions,.home>.summary,.home>.breakdown,.home>.home-envelopes,.home>a.card{grid-column:1/-1}.home-header .month-picker{min-width:320px}.home-kpis{align-items:center;gap:var(--space-8);flex-direction:row}.home-kpis .kpi:first-child{flex:1.2}.home-kpis .kpi:last-child{border-top:0;border-left:1px solid var(--hero-border);padding:var(--space-2) 0 var(--space-2) var(--space-8);gap:var(--space-2);flex:1;display:flex}.home-kpis .kpi:last-child .kpi-value{font-size:1.65rem}.home .entry-actions{width:100%;max-width:420px}.home .category-group{margin:0}.home .home-envelopes>.list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.home .home-envelopes .row{border-bottom:1px solid var(--border)}.home .home-envelopes .row:nth-child(2n){border-left:1px solid var(--border)}.savings-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.savings-page>.savings-entry{grid-column:1/-1}.savings-page>.savings-layout{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.savings-hero{padding:var(--space-8)}.settings-page,.accounts-page{max-width:var(--content-reading)}.settings-page>.btn{align-self:flex-end}.categories-page{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.categories-page>.page-header,.categories-page>.btn,.categories-page>.empty{grid-column:1/-1}.analysis-launcher{left:var(--space-6);right:auto;bottom:var(--space-6);width:calc(var(--sidebar-width) - 48px);height:50px}.toasts{left:var(--sidebar-width);bottom:var(--space-6);inset:auto 0 var(--space-6) var(--sidebar-width)}.sheet{border:1px solid var(--border);border-radius:var(--radius-lg);width:min(680px,100vw - 96px);max-width:680px;max-height:calc(100dvh - 80px);margin:auto;position:fixed;inset:0}.sheet[open]{animation:modal-in .16s var(--ease)}.sheet-body{padding:var(--space-6) var(--space-8) var(--space-8)}.sheet-header{margin-bottom:var(--space-6);padding-bottom:var(--space-5)}.sheet-body>form,.sheet-body>.stack{gap:var(--space-5)}.sheet .sheet-actions{padding-top:var(--space-4)}.sheet .expense-form{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sheet .expense-form>*{grid-column:1/-1}.sheet .expense-form>.stack-tight:has(#expense-amount){grid-column:1}.sheet .expense-form>.stack-tight:has(#expense-date){grid-column:2}.sheet .transfer-history{overflow-x:auto}.onboarding{padding-top:10dvh}}@media (width>=1280px){.home .summary{grid-template-columns:repeat(4,minmax(0,1fr))}.home .summary-wide,.home .summary-block:nth-child(4),.home .summary-block:nth-child(5){grid-column:span 2}}@media (hover:hover){.record-table .row-link:hover{background:var(--accent-soft)}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.99)}}.chart{min-width:0;position:relative}.chart-preview{z-index:7}.chart-cursor{background:var(--accent);opacity:.45;pointer-events:none;width:1px;position:absolute;top:0;bottom:0}.chart-selected-point{fill:var(--accent);stroke:var(--surface);stroke-width:2px}.chart-plot g[data-active=false]{opacity:.4}.chart-plot g[data-active=true] rect{stroke:var(--accent);stroke-width:1.5px}.chart-help{margin-top:var(--space-2);color:var(--muted);font-size:.68rem;line-height:1.5;display:block}.chart-help-mouse{display:none}.chart-labels-line{justify-content:space-between;gap:var(--space-1);display:flex}.chart-tooltip{background:var(--surface);color:var(--text);border:1px solid var(--border);padding:var(--space-3);box-shadow:var(--shadow-card);text-align:left}.chart-tooltip.is-preview{z-index:8;min-width:0;margin-top:var(--space-2);box-shadow:var(--shadow-float);position:absolute;top:100%;left:0;right:0}.chart-tooltip-head{grid-template-columns:36px minmax(0,1fr) 36px 36px;gap:0;display:grid}.chart-tooltip-head strong{min-width:0;font-size:.82rem;line-height:1.4}.chart-tooltip-period{text-align:center;min-width:0}.chart-tooltip-period small{color:var(--muted);margin-top:2px;font-size:.64rem;font-weight:400;display:block}.chart-tooltip-head .icon-btn{width:36px;height:44px}.chart-tooltip-close{font-size:1.25rem}.chart-tooltip-values{margin:var(--space-3) 0;text-align:left}.chart-values{gap:var(--space-2);flex-direction:column;margin:0;display:flex}.chart-values>div{justify-content:space-between;align-items:baseline;gap:var(--space-1) var(--space-2);flex-wrap:wrap;display:flex}.chart-values dt{color:var(--muted);font-size:.76rem}.chart-values dd{color:var(--text);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-size:.94rem;font-weight:650}.chart-value-net{border-top:1px solid var(--border);padding-top:var(--space-2)}.chart-tooltip-view{padding:var(--space-2);min-height:44px;font-size:.8rem}.savings-hero .chart-help{color:var(--hero-muted)}.savings-hero .chart-cursor{background:var(--hero-text)}.savings-hero .chart-selected-point{fill:var(--hero-text);stroke:var(--hero)}@media (width<=599px){.summary-block .chart-tooltip-head{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-block .chart-tooltip-period{margin-bottom:var(--space-1);grid-area:1/1/auto/-1}.summary-block .chart-tooltip-head .icon-btn{grid-row:2;width:100%}}@media (hover:hover) and (pointer:fine){.chart-help-mouse{display:inline}.chart-help-touch{display:none}}@media (prefers-reduced-motion:reduce){.sheet[open]{animation:none}}.chart-tooltip.is-preview.is-above{margin-top:0;margin-bottom:var(--space-2);top:auto;bottom:100%}.chart-tooltip{scroll-margin-bottom:100px}.metric-label{align-items:center;gap:var(--space-2);display:flex}.info-button{border-radius:var(--radius-pill);width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;display:inline-grid}.info-button>span{text-transform:none;letter-spacing:0;border:1px solid;border-radius:50%;place-items:center;width:19px;height:19px;font:600 12px/1 Georgia,serif;display:grid}.info-button:hover{color:var(--accent);background:var(--accent-soft)}.info-button:active{transform:scale(.96)}.home-kpis .info-button,.savings-hero .info-button{color:var(--hero-muted)}.home-kpis .info-button:hover,.savings-hero .info-button:hover{background:var(--hero-border);color:var(--hero-text)}.metric-explanation{gap:var(--space-4);line-height:1.65;display:grid}.metric-explanation p{margin:0}.metric-formula{padding:var(--space-4);background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.savings-entry{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.savings-entry .muted{font-size:.8rem}@media (width>=600px){.savings-entry .btn{width:auto;min-width:240px}}@media (width<=599px){.savings-entry .btn{width:100%}}.account-open{width:100%;padding:var(--space-2) 0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;min-height:44px}.account-open .budget-line{width:100%;min-width:0}.account-open .budget-line>strong:first-child{overflow-wrap:anywhere}.account-envelopes,.account-transfer-list{margin:0;padding:0;list-style:none}.account-envelopes>li{padding:var(--space-2) 0;border-top:1px solid var(--border);min-width:0;font-size:.85rem}.account-envelopes .budget-line>:first-child{overflow-wrap:anywhere;min-width:0}.account-envelopes .row-value{flex:none}.envelope-attach{align-items:center;min-height:44px;font-size:.8rem;display:inline-flex}.account-unassigned-hint{color:var(--accent);font-size:.8rem}.unassigned-entries{margin:0;padding:0;list-style:none}.unassigned-entries>li{gap:var(--space-2);padding-block:var(--space-4);border-top:1px solid var(--border);flex-direction:column;display:flex}.unassigned-entries .budget-line{flex-wrap:wrap}.unassigned-entries .budget-line>strong:first-child{overflow-wrap:anywhere;min-width:0}.account-balance>.muted{font-size:.8rem}.account-detail-summary p{margin:0}.account-month-variation{font-variant-numeric:tabular-nums}.account-transfer-list>li{padding:var(--space-3) 0;border-top:1px solid var(--border)}.account-transfer-list>li>span{overflow-wrap:anywhere}.contribution-clear{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.toast-action{pointer-events:auto;min-width:44px;min-height:44px;margin-left:var(--space-3);border-radius:var(--radius-sm);color:inherit;font:inherit;cursor:pointer;padding:var(--space-2);background:0 0;border:1px solid}.contribution-entries{margin:0;padding:0;list-style:none}.contribution-entries>li{gap:var(--space-2);padding-block:var(--space-4);border-bottom:1px solid var(--border);display:grid}.contribution-note{overflow-wrap:anywhere;margin:0}.contribution-add>summary{cursor:pointer;min-height:44px}.filters .filter-reset{grid-column:1/-1;place-self:flex-end end;width:auto;min-height:44px}.contrib-row{grid-template-columns:minmax(0,1fr) 108px 44px;justify-content:normal;display:grid}.contrib-name{overflow-wrap:anywhere}.contrib-row input{width:100%;min-width:0}@media (width<=599px){.contrib-row{gap:var(--space-2);grid-template-columns:minmax(0,1fr) 96px 44px}}.wallet-heading{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.wallet-heading h2{margin:0;font-size:1.1rem}.bank-heading{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.bank-heading h2{margin:0;font-size:1.1rem}.bank-heading .btn{width:auto}.bank-cash{gap:var(--space-2);flex-direction:column;display:flex}.bank-cash>.muted,.bank-history{font-size:.8rem}.bank-balance{font-family:var(--font-serif);font-variant-numeric:tabular-nums;font-size:1.7rem}.bank-history ul{margin:0;padding:0;list-style:none}.wallet-heading .btn{width:auto}.wallet-balance{font-family:var(--font-serif);font-size:1.8rem}.wallet-cash{gap:var(--space-1);flex-direction:column;display:flex}.wallet-month{gap:var(--space-5);flex-wrap:wrap;margin:0;display:flex}.wallet-month div{flex:1;min-width:130px}.wallet-month dt{color:var(--muted);font-size:.8rem}.wallet-month dd{margin:var(--space-1) 0 0;font-weight:600}.wallet-card .muted{font-size:.8rem}.wallet-history{margin-top:var(--space-6)}.wallet-history summary{cursor:pointer;min-height:44px}.wallet-history ul{padding:0;list-style:none}.wallet-history li{justify-content:space-between;gap:var(--space-4);padding:var(--space-4) 0;border-bottom:1px solid var(--border);display:flex}.wallet-history li>div{overflow-wrap:anywhere;min-width:0}.wallet-history li>div:last-child{text-align:right}.wallet-history small{color:var(--muted);display:block}.envelope-expenses{border-top:1px solid var(--border);padding-top:var(--space-5)}.envelope-expense-list{margin:0;padding:0;list-style:none}.envelope-expense-list li+li{border-top:1px solid var(--border)}.envelope-expense-list button{gap:var(--space-2);width:100%;min-height:50px;padding:var(--space-4);border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;flex-direction:column;display:flex}.envelope-expense-list .budget-line{gap:var(--space-3);flex-wrap:wrap;width:100%}.envelope-expense-list small,.envelope-expense-note{color:var(--muted);overflow-wrap:anywhere;font-size:.8rem}.envelope-expenses>div>.muted{font-size:.8rem}.envelope-outside{border-top:1px solid var(--border);padding-top:var(--space-4);font-size:.85rem}.envelope-outside summary{cursor:pointer;min-height:44px;color:var(--muted)}.envelope-outside .envelope-expense-list button{background:0 0}.sortable-list{margin:0;padding:0;list-style:none;overflow:visible}.sortable-row{align-items:center;gap:var(--space-1);padding-inline:var(--space-2);background:var(--surface);border-radius:var(--radius);display:flex;position:relative}.sortable-row+.sortable-row{border-top:1px solid var(--border);border-top-left-radius:0;border-top-right-radius:0}.sortable-row.is-dragging{z-index:3;box-shadow:var(--shadow-float);outline:2px solid var(--focus-ring)}.sort-handle{border-radius:var(--radius-sm);width:44px;height:50px;color:var(--muted);font:inherit;cursor:grab;touch-action:none;background:0 0;border:0;flex:none;font-size:1.6rem}.sort-handle:active{cursor:grabbing}.sort-buttons{flex-direction:column;flex:none;display:flex}.sort-buttons .icon-btn{width:44px;min-width:44px;height:44px;min-height:44px}.reorder-list>p{font-size:.8rem}.categories-page>p{grid-column:1/-1}.month-picker-period{justify-items:center;gap:.25rem;display:grid}.funding-caption{margin-top:.5rem;display:block}.expense-total-amount{text-align:right;gap:.35rem;min-width:0;display:grid}.expense-total-amount>small{font-size:.8rem}.envelope-paid-note{font-size:.8rem;line-height:1.5;display:block}.home-flow{gap:var(--space-5);grid-column:1/-1;min-width:0;display:grid}.home-hero{background:var(--hero);color:var(--hero-text);padding:var(--space-6);border-radius:var(--radius-lg);box-shadow:var(--shadow-card)}.home-hero-totals{gap:var(--space-5);display:grid}.home-available,.home-monthly-bank{gap:var(--space-2);flex-direction:column;min-width:0;display:flex}.home-available>span,.home-monthly-bank>span,.home-available>small{color:var(--hero-muted);font-size:.83rem}.home-available>strong{font-family:var(--font-serif);letter-spacing:-.04em;font-size:clamp(2rem,8vw,3.3rem);line-height:1.2}.home-monthly-bank{padding-top:var(--space-4);border-top:1px solid var(--hero-border)}.home-monthly-bank>strong{font-family:var(--font-serif);font-size:1.5rem}.home-cash{min-height:44px;color:var(--hero-muted);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:.85rem;text-decoration:underline}.home-pace{gap:var(--space-3);margin-top:var(--space-5);color:var(--hero-muted);font-size:.8rem;display:grid}.home-pace .meter{background:var(--hero-border);height:5px;overflow:visible}.home-pace .meter-mark{background:var(--hero-text);top:-4px;bottom:-4px}.home-budget-section{gap:var(--space-5);min-width:0;display:grid}.home-todo h2{margin:0;font-size:1.1rem}.home-todo .row{white-space:normal;text-align:left}.home-task{align-items:center;gap:var(--space-2);min-width:0;display:flex}.home-task .home-todo-link{flex:1;min-width:0}.home-task-dismiss{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;place-items:center;padding:0;font-size:1.3rem;display:grid}.home-task-dismiss:hover{background:var(--accent-soft);color:var(--text)}.home-task-dismiss:disabled{opacity:.5;cursor:wait}.home-tasks-ignored{padding-block:var(--space-2);align-self:flex-start;font-size:.85rem}.home-ignored-list .home-ignored-row{gap:var(--space-2) var(--space-3);min-height:0;padding:var(--space-3) 0;flex-wrap:wrap;display:flex}.home-ignored-row .list-row-main{flex:18rem}.home-ignored-row .list-row-title{white-space:normal;overflow-wrap:break-word}.home-ignored-row .list-row-amount{flex:none;margin-left:auto}.home-ignored-row .btn{width:auto;min-width:0;min-height:36px;padding:var(--space-1) var(--space-3);font-size:.8rem;line-height:1.25}@media (pointer:coarse){.home-ignored-row .btn{min-height:44px}}.home .home-flow .entry-actions{max-width:none}.home .home-flow .entry-actions .home-funding{grid-column:auto}.real-bank-section>summary{cursor:pointer;align-items:center;min-height:44px;display:flex}@media (width>=900px){.home-hero-totals{align-items:center;gap:var(--space-8);grid-template-columns:1.2fr 1fr}.home-monthly-bank{border-top:0;border-left:1px solid var(--hero-border);padding:0 0 0 var(--space-8)}}.wallet-actions{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.income-actions{align-items:center;gap:var(--space-4);flex-direction:column;display:flex}.income-actions>.btn{width:100%}.income-add-receipt{font-size:.9rem}.wallet-actions .btn{white-space:normal;min-width:0}.movement-history{margin:0;padding:0;list-style:none}.movement-history>li{border-bottom:1px solid var(--border)}.movement-history-entry{justify-content:space-between;align-items:flex-start;gap:var(--space-3);width:100%;padding:var(--space-3) 0;font:inherit;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;display:flex}.movement-history-entry>span{gap:var(--space-2);overflow-wrap:anywhere;min-width:0;display:grid}.movement-history-entry>strong{font-variant-numeric:tabular-nums;flex-shrink:0}.movement-history-entry>span>span{color:var(--muted);font-size:.8rem}.wallet-history li:has(.movement-history-entry){padding:0;display:block}.income-total-values{gap:var(--space-2);text-align:right;display:grid}.income-total-values>small{font-size:.75rem}.income-entry-kind{color:var(--muted);margin-top:var(--space-2);font-size:.75rem;font-weight:400;display:block}.home-account-trigger{align-items:center;gap:var(--space-3);border-radius:var(--radius-sm);width:100%;min-height:64px;color:var(--hero-text);font:inherit;text-align:left;cursor:pointer;padding:var(--space-3);background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto auto;font-size:.9rem;display:grid}.home-account-label{gap:.25rem;min-width:0;display:grid}.home-account-label>span{color:var(--hero-text)}.home-account-label>small{color:var(--hero-muted);font-size:.73rem}.home-account-trigger>strong{font-family:var(--font-sans);white-space:nowrap;font-size:.95rem;font-weight:600}.home-account-chevron{color:var(--hero-muted);font-size:1.5rem;line-height:1}.home-account-trigger:focus-visible{background:color-mix(in srgb, var(--hero-text) 8%, transparent);outline:2px solid var(--hero-muted);outline-offset:2px}@media (hover:hover){.home-account-trigger:hover{background:color-mix(in srgb, var(--hero-text) 8%, transparent)}}.account-details-heading{gap:var(--space-2);display:grid}.account-details-value{font-family:var(--font-serif);font-variant-numeric:tabular-nums;font-size:clamp(1.8rem,6vw,2.4rem)}.account-calculation{margin:0}.account-calculation>div{justify-content:space-between;align-items:baseline;gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--border);display:flex}.account-calculation dt{min-width:0}.account-calculation dd{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0}.account-calculation>.account-calculation-total{border-top:1px solid var(--border);border-bottom:0;font-weight:650}.account-details-history{gap:var(--space-4);min-width:0;display:grid}.account-calculation-note{margin:0;font-size:.8rem}.account-details .wallet-history ul{margin:0;padding:0;list-style:none}.account-details .wallet-history li{border-bottom:1px solid var(--border);padding:0}.account-details .movement-history-entry:disabled{opacity:1;cursor:default}.bank-real-status{margin:0;font-size:.95rem}.bank-history{font-size:inherit}.home-category-name{gap:.25rem;min-width:0;display:grid}.home-envelope-badge{border-radius:var(--radius-sm);background:var(--surface-soft);color:var(--muted);vertical-align:middle;margin-left:.5rem;padding:.1rem .4rem;font-size:.65rem;font-weight:400;display:inline-block}.home-envelope-remainder{font-size:.75rem;font-weight:400}.home-group-amounts{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:.25rem .75rem;min-width:0;display:flex}.home-group-amounts>small{letter-spacing:0;text-transform:none;font-size:.73rem}.home .category-group>summary>.budget-line{flex-wrap:wrap}.home .category-group .group-name{white-space:nowrap;flex:none}.home-group-amounts{margin-left:auto}.dashboard-toolbar{flex-wrap:wrap}.dashboard-toolbar .layout-description{text-align:right;flex-basis:100%;font-size:.75rem}.page-actions{flex-wrap:wrap}.page-actions>.btn{white-space:normal;overflow-wrap:normal;word-break:normal;width:auto;max-width:none;padding:var(--space-3) var(--space-4);flex:none;margin-left:0}.page-actions>.entry-actions{flex:1 0 min(100%,390px);max-width:100%}.home .entry-actions .btn{white-space:normal;overflow-wrap:normal;word-break:normal;padding:var(--space-3);line-height:1.4}.analysis-launcher{white-space:nowrap;width:auto}@media (width<=599px){.home .entry-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.page-actions>.btn{width:100%}}.page-actions{flex-direction:row;align-items:stretch}@media (width<=599px){.page-actions>.entry-actions{flex:0 0 100%;width:100%}}.page-header-actions{flex:none;margin-left:auto}.page-header-actions .btn{width:auto;min-height:44px;padding:var(--space-2) var(--space-4)}.reorder-hint{padding:var(--space-3) var(--space-4);background:var(--surface-soft);border-radius:var(--radius-sm);grid-column:1/-1;margin:0;font-size:.85rem}.sortable-row.is-reordering .sort-edit{cursor:default}.sort-buttons{right:var(--space-2);z-index:4;clip-path:inset(50%);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.sort-buttons:focus-within{clip-path:none;background:var(--surface);border-radius:var(--radius-sm);width:auto;height:auto;box-shadow:var(--shadow-float);margin:0;overflow:visible}@media (width<=599px){.categories-page .page-header h1,.accounts-page .page-header h1{font-size:1.45rem}.page-header-actions .btn{padding-inline:var(--space-3);font-size:.85rem}}.savings-page>.savings-entry{grid-row:auto;justify-content:flex-start}.savings-page .savings-entry .btn{white-space:normal;width:auto;min-width:0;padding-inline:var(--space-4);flex:0 auto}.savings-page>.savings-layout{grid-row:auto;align-items:stretch}.savings-layout>.savings-hero,.savings-layout>.savings-accounts{grid-row:auto;min-width:0;margin:0}.savings-layout>.savings-hero{flex-direction:column;display:flex}@media (width>=900px){.savings-page>.savings-layout{grid-template-columns:repeat(2,minmax(0,1fr))}}.list-row{align-items:center;gap:var(--space-3);width:100%;min-width:0;min-height:76px;padding:var(--space-4);border-radius:inherit;color:var(--text);font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;margin:0;display:grid}.list-row-with-leading{grid-template-columns:44px minmax(0,1fr) auto}.list-row-leading{justify-content:center;align-items:center;display:flex}.list-row-main{gap:.25rem;min-width:0;display:grid}.list-row-title{overflow-wrap:anywhere;min-width:0;font-size:.9rem;line-height:1.45}.list-row-secondary{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--muted);font-size:.75rem;line-height:1.6;display:block;overflow:hidden}.list-row-secondary .badge{vertical-align:middle;padding:.1rem .35rem;font-size:.65rem;line-height:1.3;display:inline-flex}.list-row-amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;align-self:center;font-size:.9rem}button.list-row{cursor:pointer}button.list-row:disabled{cursor:default;opacity:.6}button.list-row:focus-visible{outline:2px solid var(--focus-ring);outline-offset:-2px;background:var(--accent-soft)}@media (hover:hover){button.list-row:hover:not(:disabled){background:var(--accent-soft)}}.list-row-list{margin:0;padding:0;list-style:none}.list-row-list>li{border:0;border-radius:0;margin:0;padding:0;display:block;position:relative}.list-row-list>li+li,.list-row-list>.list-row+.list-row{border-top:1px solid var(--border)}.list-row-list>.list-row{border-radius:0}.list-row-list>li:first-child,.list-row-list>.list-row:first-child{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.list-row-list>li:last-child,.list-row-list>.list-row:last-child{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius)}.sortable-row .list-row{width:100%}.section-order-heading{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);display:flex}.section-order-heading h2{align-items:baseline;gap:var(--space-3);margin:0;font-size:.9rem;display:flex}.section-order-heading>.btn{width:auto;min-height:44px;padding:var(--space-2) var(--space-4);flex:none;font-size:.85rem}.inline-order-list{min-width:0}.inline-order-item{min-width:0;position:relative}.inline-order-item.is-dragging{z-index:6;outline:2px solid var(--focus-ring);box-shadow:var(--shadow-float);background:var(--surface)}.inline-order-controls{flex:none;align-items:center;display:inline-flex;position:relative}.inline-order-controls .sort-buttons{right:0}.budget-sort-row,.envelope-sort-row{align-items:center;min-width:0;display:flex}.budget-sort-row>.budget-row,.envelope-sort-row>.envelope-open{flex:1;min-width:0}.budget-order-list>.inline-order-item+.inline-order-item,.envelope-row-order>.inline-order-item+.inline-order-item{border-top:1px solid var(--border)}.savings-account-order{gap:var(--space-3);display:grid}.envelope-group-heading.has-order-controls{padding-left:var(--space-2);grid-template-columns:44px minmax(0,1fr) auto 44px}.is-reordering>.inline-order-controls{margin-left:var(--space-1)}.is-reordering>.budget-row,.is-reordering>.envelope-open{cursor:default}@media (width<=599px){.budget-row>.budget-line,.home-envelope-budget-row .budget-line{flex-wrap:nowrap}.budget-row>.budget-line>.home-category-name{flex:1;min-width:0}.budget-row>.budget-line>.home-category-name>span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.budget-row>.budget-line>.row-value,.home-envelope-budget-row .row-value{white-space:nowrap;flex:none}.home-envelope-remainder{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.home-envelope-remainder .home-envelope-badge{color:inherit;font-size:inherit;vertical-align:baseline;background:0 0;margin:0;padding:0;display:inline}.envelope-open>.envelope-name{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.expenses-page .page-actions{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.expenses-page .page-actions>.entry-actions{grid-column:1/-1}.expenses-page .page-actions>.btn{width:auto;min-width:0;min-height:44px;padding:var(--space-2) var(--space-3);font-size:.85rem}.expense-action-with-hint>small{display:none}.analysis-launcher{width:var(--launcher-size);min-width:var(--launcher-size);height:var(--launcher-size);border-radius:50%;padding:0}.analysis-launcher>span{display:none}.envelope-group-heading.has-order-controls{gap:var(--space-1);padding-inline:var(--space-1);grid-template-columns:44px minmax(0,1fr) auto 44px}.inline-order-controls .sort-handle{width:36px}.section-order-heading>.btn{padding-inline:var(--space-3)}}.month-analysis .analysis-content{white-space:normal;overflow-wrap:anywhere}.analysis-content ul,.analysis-content ol{padding-left:1.5em}.analysis-content li+li{margin-top:.4em}.analysis-content>*+*{margin-top:.75em}.analysis-stale{border:1px solid var(--border);border-radius:8px;padding:12px}.app-page-header{justify-content:space-between;align-items:flex-start;gap:var(--space-3);flex-wrap:wrap;grid-area:auto/1/auto/-1;min-width:0;display:flex}.record-page>.app-page-header{grid-column:1/-1}.page-header-title{align-items:center;gap:var(--space-2);min-width:0;min-height:44px;display:flex}.app-page-header h1{overflow-wrap:anywhere;font-size:1.5rem}.app-page-header .month-picker-period{flex:0 216px;justify-items:stretch;min-width:0;margin-left:auto}.app-page-header .month-picker-period>small{text-align:center;font-size:.75rem}.app-page-header .month-picker{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-pill);padding:var(--space-1);box-shadow:var(--shadow-sm);margin:0}.app-page-header .month-picker>span{letter-spacing:-.02em;color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:600;overflow:hidden}.app-page-header .page-header-actions .field{width:120px}@media (width>=600px){.app-page-header h1{font-size:1.8rem}.app-page-header .month-picker-period{flex-basis:280px}.app-page-header .month-picker>span{font-size:1rem}}@media (width>=1024px){.app-page-header h1{font-size:2rem}.app-page-header .month-picker-period{flex-basis:310px}}.home-envelope-badge{padding:.1rem .45rem;font-size:.75rem}.home-group-meter{overflow:hidden}.home-group-meter>span{border-radius:0}.home-group-meter>i{position:absolute;top:0;bottom:0}.home-group-meter.status-ok>i{background:color-mix(in srgb, var(--status-ok) 45%, var(--track))}.home-group-meter.status-warn>i{background:color-mix(in srgb, var(--status-warn) 45%, var(--track))}.home-group-meter.status-over>i{background:color-mix(in srgb, var(--status-danger) 45%, var(--track))}.expenses-page .entry-actions .btn{white-space:normal;overflow-wrap:normal;line-height:1.3}.expense-action-with-hint{flex-direction:column;justify-content:center;align-items:center;gap:2px;line-height:1.25;display:flex}.expense-action-with-hint>small{color:var(--muted);font-size:.75rem;font-weight:400}.layout-narrow-hint{display:none}@media (width<=999px){.layout-width-hint{display:none}.layout-narrow-hint{display:inline}.home .entry-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.home .entry-actions>.btn:first-child{grid-column:1/-1}.home .entry-actions .btn.home-funding,.home .home-flow .entry-actions .btn.home-funding{grid-column:auto}}.savings-page .savings-entry{flex-wrap:wrap}.savings-page .savings-entry>.btn{white-space:nowrap;min-height:44px;padding-block:var(--space-2)}@media (width<=599px){.savings-page .savings-entry>.btn{flex:auto;width:auto}.home .budget-row{padding:var(--space-3) var(--space-4);gap:var(--space-2)}.home-envelope-remainder{overflow-wrap:anywhere;line-height:1.35}}@media (width<=1023px){.expense-records .record-table .row{column-gap:0;row-gap:var(--space-1);padding-block:var(--space-3);grid-template-columns:max-content minmax(0,max-content) max-content minmax(0,1fr) auto}.expense-records .record-primary{grid-area:1/1/auto/5}.expense-records .record-table .record-amount{padding-left:var(--space-3);grid-area:1/5}.expense-records .record-meta,.expense-records td:nth-child(3),.expense-records td:nth-child(4){white-space:nowrap;overflow-wrap:normal;grid-row:2}.expense-records .record-date{grid-column:1}.expense-records td:nth-child(3){text-overflow:ellipsis;grid-column:2;justify-self:stretch;overflow:hidden}.expense-records td:nth-child(4){grid-column:3;justify-self:start}.expense-records td:nth-child(3):before,.expense-records td:nth-child(4):before{content:" · ";white-space:pre}.expense-records .payment-label{color:inherit;font:inherit;background:0 0;border:0;padding:0;display:inline}}.sheet-header h2{flex:1}.sheet-header-slot{align-items:center;min-width:0;display:flex}.sheet-header-slot:empty{display:none}.sheet-header-link{text-align:right;font-size:.8rem;font-weight:500;line-height:1.3}.contribution-when{gap:var(--space-3);display:grid}.contribution-date{gap:var(--space-1);display:grid}.contribution-date>small{font-size:.75rem}@media (width>=600px){.contribution-when{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:start}}.contrib-section{gap:var(--space-2);display:grid}.contrib-section-title{margin:0;font-size:.95rem;font-weight:650}.contrib-section-title .muted{font-weight:400}.contrib-complete>summary{cursor:pointer;min-height:44px;padding-block:11px}.contrib-complete[open]>summary{margin-bottom:var(--space-2)}.contrib-group{gap:var(--space-1);display:grid}.contrib-group+.contrib-group{margin-top:var(--space-2)}.contrib-group-name{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.75rem;font-weight:600}.contrib-row{min-height:52px;padding-block:var(--space-1);align-items:center}.contrib-name{align-items:baseline;column-gap:var(--space-2);flex-wrap:wrap;min-width:0;display:flex}.contrib-name>span{font-weight:500}.contrib-name>small{white-space:nowrap;font-size:.75rem}.contrib-done{color:var(--ok)}.contrib-footer{gap:var(--space-2);margin-inline:calc(var(--space-4) * -1);padding:var(--space-3) var(--space-4) var(--space-2);border-top:1px solid var(--border);z-index:2;display:grid}.contrib-footer .contrib-total{background:0 0;border:0;margin:0;padding:0}.contrib-simulation{gap:2px;margin:0;font-size:.78rem;line-height:1.45;display:grid}.contrib-simulation p{margin:0}.contrib-projection{justify-content:space-between;gap:var(--space-2);font-variant-numeric:tabular-nums;font-size:.875rem;display:flex}.contrib-simulation strong{color:var(--text);font-weight:600}.contrib-simulation strong.negative,.contrib-warning{color:var(--danger)}.contrib-split{font-variant-numeric:tabular-nums}@media (width>=1024px){.contrib-footer{margin-inline:calc(var(--space-8) * -1);padding-inline:var(--space-8)}}.home-todo .home-todo-link{justify-content:space-between;align-items:center;gap:var(--space-3);border-radius:var(--radius-sm);padding-inline:var(--space-3);margin-inline:calc(var(--space-3) * -1);display:flex}.home-todo .row-chevron{color:var(--muted);flex:none;font-size:1.3rem;line-height:1}@media (hover:hover){.home-todo .home-todo-link:hover{background:var(--accent-soft)}.home-todo .home-todo-link:hover .row-chevron{color:var(--accent)}}.home-envelope-budget-row .budget-line{flex-wrap:wrap}.home-envelope-budget-row .row-value{white-space:normal;text-align:right;margin-left:auto}.savings-entry .contribution-history-button{padding:var(--space-3) var(--space-2);text-align:left;text-underline-offset:3px;margin:0;font-size:.9rem;font-weight:600;text-decoration:underline}@media (width<=599px){.savings-entry .contribution-history-button{text-align:center;width:100%}}.account-actions-row{gap:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.account-actions-row .btn{width:100%}@media (width<=599px){.account-actions-row{grid-template-columns:minmax(0,1fr)}}.bank-real{gap:var(--space-2);min-width:0;display:grid}.bank-real-line{justify-content:space-between;align-items:center;gap:0 var(--space-3);flex-wrap:wrap;min-height:44px;display:flex}.bank-real-line .bank-real-status{min-width:0;color:var(--muted);font-size:.875rem}.bank-real-line .bank-real-status strong{color:var(--text);font-variant-numeric:tabular-nums;font-weight:600}.bank-real-line .bank-real-status strong.negative{color:var(--danger)}.bank-real-toggle{white-space:nowrap;min-height:44px;margin:0 0 0 auto;padding:0;font-size:.875rem}.bank-real-toggle>span{margin-left:.15rem;transition:transform .12s;display:inline-block}.bank-real-toggle[aria-expanded=true]>span{transform:rotate(90deg)}.account-section-title{font-family:var(--font-sans);margin:0;font-size:.9rem;font-weight:600}.bank-movements>div>.muted{margin:.15rem 0 0;font-size:.8rem}.auto-textarea textarea{box-sizing:border-box;resize:none;width:100%;min-height:0;font-size:16px;line-height:1.4;display:block}.home-pace .info-tip{color:var(--hero-muted)}@media (hover:hover){.home-pace .info-tip:hover{color:var(--hero-text)}}.home-pace .info-tip[aria-expanded=true]{color:var(--hero-text)}.beta-banner{align-items:center;gap:var(--space-1) var(--space-2);max-width:var(--content-reading);padding:calc(env(safe-area-inset-top) + var(--space-2)) 16px 0;color:var(--muted);flex-wrap:wrap;margin:0 auto;font-size:.72rem;line-height:1.3;display:flex}.beta-banner a{min-height:24px;color:var(--muted);text-underline-offset:2px;align-items:center;text-decoration:underline;display:inline-flex}.beta-pill{padding:2px var(--space-2);background:var(--accent-soft);color:var(--accent);border-radius:999px;font-weight:600}.page:has(+.beta-banner){padding-bottom:var(--space-4)}.page+.beta-banner{padding:0 16px calc(env(safe-area-inset-bottom) + var(--launcher-bottom) + var(--launcher-size) + var(--space-5));justify-content:center}.settings-section-label{margin:0;font-weight:650}.legal-links{justify-content:center;gap:0 var(--space-4);flex-wrap:wrap;font-size:.78rem;display:flex}.legal-links a{color:var(--muted);padding-block:var(--space-2)}.auth-legal{margin-top:var(--space-4)}.settings-legal{flex-direction:column;justify-content:flex-start;font-size:.9rem}.settings-legal a{color:var(--accent)}.terms-check{gap:var(--space-3);grid-template-columns:auto minmax(0,1fr);align-items:start;font-size:.88rem;line-height:1.45;display:grid}.terms-check input{width:22px;height:22px;accent-color:var(--accent);margin:1px 0 0}.captcha{gap:var(--space-2);min-height:65px;display:grid}.captcha-widget{min-width:0;max-width:100%;overflow:hidden}.legal-page{max-width:var(--content-reading);padding:calc(env(safe-area-inset-top) + var(--space-6)) 16px calc(env(safe-area-inset-bottom) + var(--space-8));gap:var(--space-3);overflow-wrap:anywhere;margin:0 auto;line-height:1.55;display:grid}.legal-page h1{margin:var(--space-2) 0 0;font-family:var(--font-serif);font-size:clamp(1.7rem,6vw,2.2rem);line-height:1.15}.legal-page h2{margin:var(--space-4) 0 0;font-size:1.05rem}.legal-page p,.legal-page ul{margin:0}.legal-page ul{gap:var(--space-2);padding-left:1.2rem;display:grid}.legal-back{padding-block:var(--space-2);justify-self:start;font-size:.9rem}.legal-draft{padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);background:var(--warn-soft);color:var(--warn);font-size:.85rem}.legal-page>.legal-links{margin-top:var(--space-6);padding-top:var(--space-4);border-top:1px solid var(--border)}.starter-list{gap:var(--space-2);margin:0;padding:0;list-style:none;display:grid}.starter-list li{align-items:center;gap:var(--space-3);grid-template-columns:auto minmax(0,1fr) auto;display:grid}.starter-list input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent);margin:0}.starter-name{width:100%;min-width:0;min-height:44px;padding:0 var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit}.starter-off .starter-name{color:var(--muted);text-decoration:line-through}.first-run{padding-bottom:calc(env(safe-area-inset-bottom) + var(--space-8))}.first-run h1{font-family:var(--font-serif);margin:0;font-size:clamp(1.7rem,6vw,2.2rem)}.first-run-head{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.first-run-progress{align-items:center;gap:var(--space-2);color:var(--muted);margin:0;font-size:.8rem;display:flex}.first-run-progress>span[aria-hidden]{background:var(--border);border-radius:2px;width:28px;height:4px}.first-run-progress>span.done{background:var(--accent)}.first-run-skip{width:auto;min-height:44px}.first-run-budgets{gap:var(--space-3);display:grid}@media (width>=600px){.first-run-budgets{grid-template-columns:repeat(2,minmax(0,1fr))}}.first-run-total{font-size:.95rem}.settings-export-actions{gap:var(--space-2);flex-wrap:wrap;display:flex}.settings-export-actions .btn{flex:200px}.settings-danger{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border)}.settings-delete{color:var(--danger)}@media (width>=1024px){.beta-banner{max-width:var(--content-width);padding:var(--space-4) var(--space-8) 0}.beta-banner:has(+.settings-page,+.accounts-page){max-width:var(--content-reading)}.beta-banner+.page{padding-top:var(--space-4)}}.onboarding-progress{gap:var(--space-2);margin:0;display:flex}.onboarding-progress>span{background:var(--border);border-radius:2px;width:28px;height:4px}.onboarding-progress>span.done{background:var(--accent)}.onboarding-note{margin:0;font-size:.85rem;line-height:1.5}.choice-list{gap:var(--space-3);border:0;min-width:0;margin:0;padding:0;display:grid}.choice{align-items:center;gap:var(--space-1) var(--space-3);width:100%;min-height:64px;padding:var(--space-4);text-align:left;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font:inherit;cursor:pointer;grid-template-columns:minmax(0,1fr) auto;display:grid}.choice strong{font-size:1rem}.choice small{color:var(--muted);grid-column:1;font-size:.85rem}.choice .row-chevron{color:var(--muted);grid-area:1/2/span 2;font-size:1.4rem}label.choice{grid-template-columns:auto minmax(0,1fr)}label.choice>span{gap:var(--space-1);display:grid}label.choice input{width:22px;height:22px;accent-color:var(--accent);margin:0}.choice.is-selected{border-color:var(--accent);background:var(--accent-soft)}.choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.choice:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}@media (hover:hover){.choice:hover{border-color:var(--accent)}}.onboarding .starter-list li{row-gap:var(--space-1);grid-template-columns:auto minmax(0,1fr) auto}.starter-amount{align-items:center;gap:var(--space-1);color:var(--muted);font-size:.8rem;display:inline-flex}.starter-amount input{width:5.5rem;min-height:44px;padding:0 var(--space-2);text-align:right;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-variant-numeric:tabular-nums}.starter-off .starter-amount input{color:var(--muted)}.starter-tags{align-items:center;gap:var(--space-2);flex-wrap:wrap;grid-column:2/-1;display:flex}.starter-account select{max-width:100%;min-height:32px;padding:0 var(--space-2);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--muted);font:inherit;font-size:.78rem}.badge.badge-muted{background:var(--bg);color:var(--muted)}.starter-note{color:var(--muted);grid-column:2/-1;margin:0;font-size:.8rem;line-height:1.45}.starter-income{gap:var(--space-3);grid-template-columns:minmax(0,1fr) 7rem;align-items:end;display:grid}.starter-total{z-index:2;gap:var(--space-2);margin:0 calc(-1 * var(--space-2));padding:var(--space-3) var(--space-2) calc(env(safe-area-inset-bottom) + var(--space-3));background:var(--bg);border-top:1px solid var(--border);display:grid;position:sticky;bottom:0}.starter-total p{margin:0;font-size:.95rem}.starter-total strong{font-variant-numeric:tabular-nums}.getting-started-head{justify-content:space-between;align-items:baseline;gap:var(--space-3);display:flex}.getting-started-head h2{margin:0;font-size:1.05rem}.getting-started-list{gap:var(--space-1);margin:0;padding:0;list-style:none;display:grid}.getting-started-row{align-items:center;gap:var(--space-3);width:100%;min-height:44px;padding:var(--space-2);border-radius:var(--radius-sm);color:var(--text);font:inherit;text-align:left;background:0 0;border:0;text-decoration:none;display:flex}button.getting-started-row,a.getting-started-row{cursor:pointer}@media (hover:hover){button.getting-started-row:hover,a.getting-started-row:hover{background:var(--accent-soft)}}.getting-started-label{flex:1;min-width:0}.getting-started-row .row-chevron{color:var(--muted);font-size:1.3rem;line-height:1}.getting-started-check{border:2px solid var(--border);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:700;display:inline-grid}.getting-started-check.is-done{background:var(--accent);border-color:var(--accent);color:var(--surface)}li[data-done=true] .getting-started-label{color:var(--muted);text-decoration:line-through}.getting-started-foot{justify-content:space-between;align-items:center;gap:var(--space-3);font-size:.9rem;display:flex}.help-tip{z-index:40;width:min(320px,100vw - 32px);padding:var(--space-4);padding-right:var(--space-8);background:var(--accent);color:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-float);position:absolute}.help-tip.is-above{transform:translateY(-100%)}.help-tip:before{content:"";left:calc(var(--arrow-x) - 8px);background:inherit;width:16px;height:16px;position:absolute;transform:rotate(45deg)}.help-tip.is-below:before{top:-7px}.help-tip.is-above:before{bottom:-7px}.help-tip strong{margin-bottom:var(--space-1);display:block}.help-tip p{margin:0 0 var(--space-3);font-size:.9rem;line-height:1.5}.help-tip .help-tip-close{width:auto;min-height:40px;padding:0 var(--space-4);background:var(--surface);color:var(--accent);border-color:var(--surface)}.help-tip-x{top:var(--space-1);right:var(--space-1);width:44px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;font-size:1.4rem;line-height:1;position:absolute}.guide-lead{font-size:1.02rem}.guide-page h3{margin:var(--space-3) 0 0;font-size:.95rem}.guide-page ol{gap:var(--space-2);margin:0;padding-left:1.2rem;display:grid}.guide-page section{gap:var(--space-3);scroll-margin-top:var(--space-6);display:grid}.guide-shot{justify-self:center;width:min(280px,100%);margin:0}.guide-shot img{border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;height:auto;box-shadow:var(--shadow-card);display:block}.guide-shot .guide-shot-dark{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .guide-shot .guide-shot-light{display:none}:root:not([data-theme=light]) .guide-shot .guide-shot-dark{display:block}}:root[data-theme=dark] .guide-shot .guide-shot-light{display:none}:root[data-theme=dark] .guide-shot .guide-shot-dark{display:block}.guide-download .btn{width:auto}@media print{.tabbar,.beta-banner,.legal-back,.guide-download,.guide-lead a,.analysis-launcher,.dashboard-toolbar{display:none!important}html,body,.app-frame{background:#fff!important}.guide-page{padding-top:0}.guide-page h2{break-after:avoid}.guide-shot{break-inside:avoid;width:190px}.guide-shot img{box-shadow:none}}@media (width<=599px){.onboarding .starter-list li[data-starter]{grid-template-columns:auto minmax(0,1fr) auto}.onboarding .starter-list li[data-starter] .starter-name{grid-column:2/-1}.onboarding .starter-list li[data-starter] .starter-amount{grid-area:2/3}.onboarding .starter-list li[data-starter] .starter-tags{grid-area:2/2}.onboarding .starter-list li[data-starter] .starter-note{grid-row:3}}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:100 700;font-display:swap;src:url(/fonts/ibm-plex-sans-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:IBM Plex Sans;font-style:normal;font-weight:100 700;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(/fonts/source-serif-4-latin.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;src:url(/fonts/source-serif-4-latin-ext.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}:root{font-variant-numeric:tabular-nums}button,input,select,textarea,code,kbd,pre,samp{font-family:var(--font-sans)}h1,h2,h3,h4,h5,h6,.kpi-value,.total-value,.savings-total,.summary-figure,.envelope-balance,.field .amount-input,.nav-brand-mark{font-family:var(--font-serif)}.nav-brand-mark{background:var(--primary)}.brand-dot{color:var(--brand-apricot)}.entry-actions>.btn:not(.btn-ghost){background:var(--brand-apricot);color:var(--on-apricot)}.entry-actions>.btn:not(.btn-ghost):hover:not(:disabled),.entry-actions>.btn:not(.btn-ghost):active:not(:disabled){background:var(--brand-apricot-press)}.meter.status-ok>span{background:var(--status-ok)}.meter.status-warn>span{background:var(--status-warn)}.meter.status-over>span,.gauge-negative>span,.split-overflow{background:var(--status-danger)}.field input::placeholder,textarea::placeholder,input::placeholder{color:var(--muted);opacity:1}.info-button>span{font-family:var(--font-sans)}.overview-page{max-width:1600px}.analysis-heading,.analysis-section-head{justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.analysis-heading p,.analysis-section-head p{margin-top:var(--space-2)}.analysis-section-head .field{width:130px}.analysis-table-scroll{border:1px solid var(--border);border-radius:var(--radius-sm);max-width:100%;overflow:auto}.analysis-table-scroll table{border-collapse:separate;border-spacing:0;width:100%;font-size:.82rem}.analysis-table-scroll th,.analysis-table-scroll td{padding:var(--space-2);border-bottom:1px solid var(--border);white-space:nowrap;text-align:right}.analysis-table-scroll th{color:var(--muted);background:var(--surface-soft);font-weight:600}.analysis-matrix th:first-child{z-index:1;text-align:left;white-space:normal;border-right:1px solid var(--border);background:var(--surface);min-width:150px;max-width:230px;box-shadow:3px 0 4px -3px var(--analysis-frozen-shadow);position:sticky;left:0}.analysis-matrix thead th:first-child{z-index:2}.analysis-matrix thead th:first-child,.analysis-subtotal th:first-child,.analysis-matrix tfoot th:first-child{background:var(--surface-soft)}.analysis-matrix .analysis-subtotal,.analysis-matrix tfoot{font-weight:650}.analysis-matrix th,.analysis-matrix td{padding:var(--space-1)}.analysis-cell{width:100%;min-height:44px;padding:var(--space-2);border-radius:var(--radius-sm);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border:0}.analysis-cell.status-ok{color:var(--ok);background:var(--ok-soft)}.analysis-cell.status-warn{color:var(--warn);background:var(--warn-soft)}.analysis-cell.status-over{color:var(--danger);background:var(--danger-soft)}.analysis-budget-line{stroke:var(--muted);stroke-width:2px;stroke-dasharray:3 4}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.contribution-mode{flex-wrap:wrap}.envelope-goal{margin-top:var(--space-3);text-align:left;width:100%;font-size:.85rem}.envelope-goal .meter{background:var(--track);height:8px}.envelope-goal small{white-space:normal;display:block}.history-date-range{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.history-date-range input{width:100%;min-width:0}.history-advanced>summary{cursor:pointer;min-height:44px;padding-block:var(--space-3)}.contribution-history-filters{border-bottom:1px solid var(--border);padding-bottom:var(--space-4)}.home .entry-actions .home-funding{grid-column:1/-1}.contribution-mode [aria-checked=true]{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}@media (width>=1000px){.home .entry-actions{grid-template-columns:repeat(3,minmax(0,1fr));max-width:760px}.home .entry-actions .home-funding{grid-column:auto}.page.overview-page{max-width:1600px}}@media (width<=599px){.overview-page{padding-inline:var(--space-3)}.overview-page .card{padding:var(--space-4)}.analysis-matrix th:first-child{min-width:110px;max-width:135px}.analysis-matrix{font-size:.75rem}.tabbar .tab{min-width:0;font-size:.64rem}}.analysis-row-name{display:block}.analysis-row-budget{color:var(--muted);white-space:normal;font-variant-numeric:tabular-nums;margin-top:2px;font-size:.72rem;font-weight:500;display:block}.annual-analysis{gap:var(--space-5);display:grid}.annual-analysis>.card,.annual-analysis .analysis-heading{min-width:0}.annual-analysis .analysis-heading .field{max-width:140px}.annual-bar{color:var(--accent);cursor:pointer}.annual-bar.is-selected{opacity:1}.annual-bar.is-muted>rect:not(.annual-bar-hit){opacity:.3}.annual-bar.is-muted>rect.analysis-envelope-part{opacity:.15}.annual-bar:focus{outline:none}.annual-bar:focus-visible .annual-bar-label{font-weight:700;text-decoration:underline}.annual-bar-reading{min-height:2.8em;font-size:.8rem}.annual-bar.is-exceptional .annual-bar-label{font-style:italic}.analysis-matrix td.period-exceptional,.analysis-matrix th.period-exceptional>:not(.period-menu-trigger){opacity:.6}.analysis-period-note{font-size:.7rem;font-weight:500}.analysis-envelope-part{opacity:.5}.analysis-budget-line{stroke:var(--muted);stroke-width:1.5px}.analysis-group-toggle{width:100%;min-height:44px;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0}.analysis-cell-neutral{background:var(--surface-soft);color:var(--text)}.analysis-cell>small{margin-top:.3rem;font-size:.65rem;display:block}.analysis-matrix .analysis-value-column{width:112px}.analysis-matrix .analysis-name-column{width:180px}.analysis-matrix thead th>small{white-space:normal;max-width:105px;margin:.2rem auto 0;font-size:.62rem;display:block}.analysis-matrix .analysis-subtotal td,.analysis-matrix .analysis-subtotal th,.analysis-matrix tfoot td,.analysis-matrix tfoot th{background:var(--surface-soft);color:var(--text)}.analysis-empty-row>td,.analysis-empty-row>th>*{opacity:.58}.analysis-empty-value{padding:var(--space-2);display:inline-block}.analysis-row-name,.analysis-row-budget{display:block}.analysis-row-budget{color:var(--muted);margin-top:.25rem;font-size:.7rem;font-weight:400}.category-analysis-detail ul{margin:0;padding:0;list-style:none}.category-analysis-detail li{gap:var(--space-3);padding-block:var(--space-3);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;display:flex}@media (width<=599px){.annual-bars .annual-bar-reading{white-space:normal}}.analysis-top{gap:var(--space-5);min-width:0;display:grid}.analysis-top>.card{min-width:0;margin:0}@media (width>=1024px){.analysis-top.has-side{grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:stretch}}.analysis-chart-card h2,.recurring-budgets h2{margin:0}.analysis-chart-card h2.metric-label{gap:0}.annual-bars svg{width:100%;display:block;overflow:visible}.annual-bar-amount{fill:var(--text);font-variant-numeric:tabular-nums;font-size:10.5px}.annual-bar.is-muted .annual-bar-amount{opacity:.45}.recurring-list{display:grid}.recurring-budgets .recurring-row{justify-content:space-between;align-items:baseline;gap:var(--space-3);min-height:44px;padding:var(--space-2) 0;border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;border-radius:0;display:flex}.recurring-budgets .recurring-row:last-child{border-bottom:0}.recurring-budgets .recurring-row{flex-direction:column;align-items:stretch;gap:2px}.recurring-row>strong{white-space:normal;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;min-width:0;font-size:.9rem;font-weight:550;display:-webkit-box;overflow:hidden}.recurring-row>small{font-variant-numeric:tabular-nums;flex:none;font-size:.78rem}@media (hover:hover){.recurring-budgets .recurring-row:hover{background:var(--accent-soft)}}.analysis-average-head{white-space:nowrap}.analysis-average-head>div{flex-direction:row-reverse;align-items:center;display:flex}.analysis-matrix td.selected-period,.analysis-matrix thead th.selected-period,.analysis-matrix .analysis-subtotal td.selected-period,.analysis-matrix tfoot td.selected-period{background:color-mix(in srgb, var(--accent) 10%, var(--surface))}.analysis-matrix td.selected-period .analysis-cell{background:0 0}.annual-table{--analysis-frozen-shadow:color-mix(in srgb, var(--text) 28%, transparent)}.analysis-table-frame{min-width:0}.analysis-head-sticky{top:env(safe-area-inset-top,0px);z-index:3;height:0;position:sticky}.analysis-head-box{visibility:hidden;border-bottom:1px solid var(--border);box-shadow:0 3px 4px -3px var(--analysis-frozen-shadow);overflow:hidden}.analysis-head-sticky.is-stuck .analysis-head-box{visibility:visible}.analysis-head-copy{border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:.82rem}.analysis-head-copy th{padding:var(--space-1);color:var(--muted);background:var(--surface-soft);text-align:right;white-space:nowrap;font-weight:600;overflow:hidden}.analysis-head-copy th[data-copy-month]{text-align:center}.analysis-head-copy th.copy-selected{background:color-mix(in srgb, var(--accent) 10%, var(--surface))}.analysis-head-copy th.copy-exceptional>*{opacity:.6}.analysis-head-copy th>small{margin-top:.2rem;font-size:.62rem;font-weight:500;display:block}.analysis-head-copy th:first-child{z-index:1;text-align:left;border-right:1px solid var(--border);box-shadow:3px 0 4px -3px var(--analysis-frozen-shadow);position:sticky;left:0}@media (width<=599px){.analysis-head-copy{font-size:.75rem}}.analysis-matrix th[data-month],.analysis-matrix td[data-month]{text-align:center}.analysis-matrix thead th[data-month]{position:relative}.period-menu-trigger{width:36px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:1rem;line-height:1;position:absolute;inset:0 0 0 auto}@media (hover:hover){.period-menu-trigger{opacity:0}th:hover>.period-menu-trigger,.period-menu-trigger:focus-visible,.period-menu-trigger[aria-expanded=true]{opacity:1}}@media (hover:none){.analysis-matrix thead th[data-month]{height:46px}}.period-menu{z-index:50;padding:var(--space-1);border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-float);position:fixed}.period-menu button{width:100%;min-height:44px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;font-size:.88rem}@media (hover:hover){.period-menu button:hover{background:var(--accent-soft)}}.analysis-period-card{justify-content:space-between;align-items:center;gap:var(--space-3);padding-top:var(--space-3);border-top:1px solid var(--border);flex-wrap:wrap;display:flex}.analysis-period-card>div{min-width:0}.analysis-period-card small{margin-top:2px;display:block}.analysis-period-card .btn{width:auto;min-height:44px;font-size:.85rem}.analysis-table-heading{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.analysis-table-heading h2{margin:0}.analysis-table-heading>.btn{width:auto;min-height:44px;padding:var(--space-2) var(--space-4);flex:none;font-size:.85rem}.analysis-row-head{align-items:center;min-width:0;display:flex}.analysis-row-head>div{min-width:0}.analysis-cell[aria-disabled=true]{cursor:default}.analysis-cell>small.analysis-outside{color:var(--warn);font-weight:600}.analysis-head-box,.analysis-head-box *{transition:none}.analysis-fit .analysis-matrix,.analysis-fit .analysis-head-copy{table-layout:fixed;width:100%;font-size:.76rem}.analysis-fit .analysis-matrix th,.analysis-fit .analysis-matrix td,.analysis-fit .analysis-head-copy th{padding:2px}.analysis-fit .analysis-matrix th:first-child{min-width:0;max-width:none;padding-inline:var(--space-1)}.analysis-fit .analysis-row-head>div{flex:1}.analysis-fit .analysis-row-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.analysis-fit .analysis-cell{padding:var(--space-2) 2px}.analysis-fit .analysis-cell>small{white-space:normal;overflow-wrap:anywhere}.analysis-fit .analysis-group-toggle{white-space:nowrap;text-overflow:ellipsis;padding-inline:0;overflow:hidden}.analysis-fit .analysis-average-head>div{flex-direction:column;align-items:flex-end}.analysis-fit .analysis-average-head .info-button{margin:-8px 0 -12px}.analysis-table-frame{position:relative}.analysis-table-frame.has-more-right:after{content:"";inset-block:0;z-index:2;pointer-events:none;border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:linear-gradient(to left, color-mix(in srgb, var(--text) 24%, transparent), transparent);width:28px;position:absolute;right:0}.analysis-cell:focus:not(:focus-visible){outline:none}.analysis-matrix{table-layout:fixed}.analysis-matrix tbody tr,.analysis-matrix tfoot tr{height:56px}.analysis-matrix tbody td,.analysis-matrix tfoot td{box-sizing:border-box;text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;height:56px;padding:0 2px;font-size:.76rem}.analysis-matrix .analysis-cell{white-space:nowrap;font-variant-numeric:tabular-nums;justify-content:center;align-items:center;height:55px;min-height:0;padding:0 2px;font-size:.76rem;line-height:1;display:flex}.analysis-cell-empty{color:var(--muted);background:0 0}.analysis-matrix thead th:not(:first-child),.analysis-head-copy th:not(:first-child){text-align:center}.analysis-average-head>div,.analysis-fit .analysis-average-head>div{flex-direction:column;align-items:center}.analysis-average-head .info-button{margin:-8px 0 -12px}.analysis-row-head>div{flex:1;min-width:0;overflow:hidden}.analysis-row-name,.analysis-row-budget{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.analysis-legend{flex-wrap:wrap;gap:6px 18px;margin-bottom:12px;font-size:.76rem;display:flex}.analysis-legend>span{align-items:center;gap:6px;display:inline-flex}.analysis-legend>span:before{content:"";background:currentColor;border-radius:50%;width:8px;height:8px}.analysis-legend-ok{color:var(--ok)}.analysis-legend-warn{color:var(--warn)}.analysis-legend-over{color:var(--danger)}.analysis-cell-popup{z-index:60;box-sizing:border-box;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);width:min(340px,100vw - 16px);max-height:min(70vh,480px);color:var(--text);box-shadow:var(--shadow-float);padding:12px 16px 16px;font-size:.85rem;line-height:1.5;position:fixed;overflow:auto}.analysis-popup-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.analysis-popup-heading>strong{overflow-wrap:anywhere;min-width:0}.analysis-popup-heading .icon-btn{flex:none}.analysis-popup-values{margin:8px 0 12px}.analysis-popup-values>div{justify-content:space-between;align-items:baseline;gap:16px;padding-block:4px;display:flex}.analysis-popup-values dt{overflow-wrap:anywhere;min-width:0}.analysis-popup-values dd{white-space:nowrap;font-variant-numeric:tabular-nums;flex:none;margin:0}.analysis-popup-history{color:var(--muted);margin:12px 0;font-size:.78rem}.analysis-popup-history>*{display:block}.analysis-resize-handle{inset-block:0;z-index:3;cursor:col-resize;touch-action:none;-webkit-user-select:none;user-select:none;width:12px;position:absolute;right:-1px}.analysis-resize-handle:after{content:"";inset-block:4px;background:0 0;border-radius:2px;width:3px;transition:background-color .12s;position:absolute;right:0}.analysis-resize-handle:hover:after,.analysis-resize-handle:active:after{background:var(--accent)}.analysis-resize-handle:focus-visible{outline:none}.analysis-resize-handle:focus-visible:after{background:var(--accent);box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--accent)}.analysis-table-frame.analysis-name-sized .analysis-matrix th:first-child{box-sizing:border-box;width:var(--analysis-name-width);min-width:var(--analysis-name-width);max-width:var(--analysis-name-width)}.analysis-name-sized .analysis-row-head{min-width:0}.analysis-name-sized .analysis-row-head>div{flex:1;min-width:0}.analysis-name-sized .analysis-row-name,.analysis-name-sized .analysis-group-toggle{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.info-tip{width:14px;height:14px;color:var(--muted);vertical-align:-2px;cursor:help;background:0 0;border:1px solid;border-radius:50%;place-items:center;margin-left:4px;padding:0;display:inline-grid;position:relative}.info-tip:before{content:"";position:absolute;inset:-12px}.info-tip:after{content:"i";font:600 10px/1 Georgia,serif}.info-tip:hover,.info-tip[aria-expanded=true]{color:var(--accent)}.info-tip-popup{z-index:60;max-width:min(320px,100vw - 16px);padding:var(--space-2) var(--space-3);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);background:var(--surface);box-shadow:var(--shadow-sm);font-variant-numeric:tabular-nums;pointer-events:none;font-size:.8rem;line-height:1.4;position:fixed}
