@import "https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f3f5f4;--surface:#fff;--surface-2:#f3f5f4;--line:#e9edeb;--border:#e1e6e3;--text:#151b19;--text-2:#4f5b56;--muted:#67736e;--accent:#12855a;--accent-strong:#0c6e49;--accent-soft:#e3f5ec;--accent-ink:#0a6b47;--on-accent:#fff;--income:#2a78d6;--income-ink:#1f66c9;--income-soft:#e4effd;--expense:#eb6834;--expense-ink:#b0441a;--expense-soft:#fdebe3;--good:#0e8f5e;--good-ink:#0a6b47;--good-soft:#e3f5ec;--good-line:#bfe6d2;--bad:#d03b3b;--bad-ink:#b02e2e;--bad-soft:#fdecec;--bad-line:#f6c9c9;--warn-soft:#fff3d6;--warn-ink:#8a5a00;--pix-soft:#ddf6f1;--pix-ink:#0b6b5c;--src-bank:#6d4ae8;--src-bank-ink:#4b2cc4;--src-bank-soft:#eeeaff;--src-bank-tint:#f7f5ff;--src-you:#db2777;--src-you-ink:#9d174d;--src-you-soft:#fce7f3;--src-you-tint:#fef3f9;--track:#e6eae8;--tip-bg:#151b19;--tip-text:#fff;--tip-sub:#c9d1cd;--radius:20px;--shadow:0 1px 2px #151b190d, 0 8px 24px #151b190d;--tabbar-h:64px;font-family:Plus Jakarta Sans,system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px;line-height:1.45}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0e1110;--surface:#161a19;--surface-2:#1d2220;--line:#222826;--border:#2a302e;--text:#e6ebe8;--text-2:#a3ada9;--muted:#8a9590;--accent:#3dd68c;--accent-strong:#5ee0a0;--accent-soft:#16302a;--accent-ink:#7ee8b4;--on-accent:#06140e;--income:#6cb4f5;--income-ink:#8ec5f7;--income-soft:#15283a;--expense:#f2935c;--expense-ink:#f5ad82;--expense-soft:#3a2418;--good:#3dd68c;--good-ink:#7ee8b4;--good-soft:#16302a;--good-line:#23503f;--bad:#f27171;--bad-ink:#f7a0a0;--bad-soft:#3a1c1c;--bad-line:#5a2a2a;--warn-soft:#3a2e12;--warn-ink:#f5c451;--pix-soft:#123430;--pix-ink:#5ee0c8;--src-bank:#a78bfa;--src-bank-ink:#c4b2fd;--src-bank-soft:#26214a;--src-bank-tint:#1c1a2e;--src-you:#f27ab6;--src-you-ink:#f7a3cc;--src-you-soft:#3a1a2c;--src-you-tint:#251822;--track:#252b29;--tip-bg:#e6ebe8;--tip-text:#0e1110;--tip-sub:#3a423f;--shadow:none}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;margin:0;overflow-x:clip}h1,h2,h3{letter-spacing:-.02em;margin:0}h1{letter-spacing:-.03em;font-size:32px;font-weight:800}h2{font-size:18px;font-weight:800}h3{color:var(--text-2);font-size:13px;font-weight:700}code,.mono{font-family:ui-monospace,Cascadia Code,Consolas,monospace;font-size:.85em}input,select,button{font:inherit;color:inherit}a{color:var(--accent)}.shell{flex-wrap:wrap;align-items:flex-start;min-height:100vh;display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex:232px;align-self:stretch;gap:28px;max-width:260px;height:100vh;padding:24px 16px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.02em;align-items:center;gap:10px;padding:0 8px;font-size:18px;font-weight:800;display:flex}.brand-mark{background:var(--accent);width:36px;height:36px;color:var(--on-accent);border-radius:11px;justify-content:center;align-items:center;font-size:14px;font-weight:800;display:flex}.sidebar nav{flex-direction:column;gap:4px;display:flex}.sidebar nav a{color:var(--text-2);border-radius:12px;align-items:center;gap:12px;padding:11px 12px;font-weight:600;text-decoration:none;display:flex}.sidebar nav a:hover{background:var(--surface-2);color:var(--text)}.sidebar nav a.active{background:var(--accent-soft);color:var(--accent-ink);font-weight:700}.sync{background:var(--surface-2);border-radius:16px;flex-direction:column;gap:6px;margin-top:auto;padding:16px;display:flex}.sync .btn{margin-top:6px}.sync-label{color:var(--text-2);font-size:13px}.sync-value{font-weight:700}.content{flex-direction:column;flex:999 560px;gap:24px;min-width:0;max-width:1240px;margin:0 auto;padding:32px 40px 48px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.page-head .eyebrow{color:var(--text-2);margin-bottom:4px;font-size:14px;font-weight:600;display:block}.page-head h1:first-letter{text-transform:uppercase}.month-switch{background:var(--surface);border:1px solid var(--border);border-radius:14px;align-items:center;gap:4px;padding:6px;display:flex}.month-switch span{text-align:center;min-width:76px;padding:0 8px;font-weight:700}.stack{flex-direction:column;gap:24px;display:flex}.row{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.col-wide{flex:3 420px;min-width:0}.col-narrow{flex-direction:column;flex:2 320px;gap:24px;min-width:0;display:flex}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:16px;padding:24px;display:flex}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.card-head .sub{color:var(--text-2);margin-top:4px;font-size:14px;font-weight:500;display:block}.tiles{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.tile{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;align-items:flex-start;gap:14px;padding:20px;display:flex}.tile-icon{border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.tile-label{color:var(--text-2);font-size:14px;font-weight:600}.tile-value{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:800;display:block}.tile-sub{color:var(--text-2);font-size:13px}.tile .link-btn{text-align:left;font-size:13px}.tile-good{background:var(--good-soft);box-shadow:inset 0 0 0 1px var(--good-line)}.tile-bad{background:var(--bad-soft);box-shadow:inset 0 0 0 1px var(--bad-line)}.tile-good .tile-value{color:var(--good-ink)}.tile-bad .tile-value{color:var(--bad-ink)}.tile-good .tile-label,.tile-good .tile-sub{color:var(--good-ink);font-weight:600}.tile-bad .tile-label,.tile-bad .tile-sub{color:var(--bad-ink);font-weight:600}.tile-good .tile-icon{background:var(--surface);color:var(--good-ink)}.tile-bad .tile-icon{background:var(--surface);color:var(--bad-ink)}.i-income{background:var(--income-soft);color:var(--income-ink)}.i-expense{background:var(--expense-soft);color:var(--expense-ink)}.i-boleto{background:var(--warn-soft);color:var(--warn-ink)}.i-accent{background:var(--accent-soft);color:var(--accent-ink)}.year-body{flex-wrap:wrap;align-items:stretch;gap:24px;display:flex}.year-chart{flex:999 560px;min-width:0;margin:0;position:relative}.year-chart svg{width:100%;height:auto;display:block;overflow:visible}.year-chart .grid line{stroke:var(--line)}.year-chart .axis-label{fill:var(--muted);font-family:inherit;font-size:13px}.year-chart .axis-label.current{fill:var(--text);font-weight:700}.year-chart .hit{fill:#0000;cursor:crosshair}.year-empty{text-align:center;color:var(--text-2);justify-content:center;align-items:center;padding:16px;font-size:14px;display:flex;position:absolute;inset:0 0 30px 60px}.chart-tip{pointer-events:none;background:var(--tip-bg);color:var(--tip-text);border-radius:12px;flex-direction:column;gap:4px;min-width:170px;padding:10px 12px;font-size:13px;display:flex;position:absolute;box-shadow:0 8px 24px #17163a40}.chart-tip strong{font-size:13px}.chart-tip div{justify-content:space-between;gap:12px;display:flex}.chart-tip span{color:var(--tip-sub)}.chart-tip b{font-variant-numeric:tabular-nums}.legend{align-items:center;gap:16px;font-size:14px;font-weight:600;display:flex}.legend span{align-items:center;gap:8px;display:flex}.legend i{border-radius:2px;width:18px;height:4px;display:block}.year-totals{flex-direction:column;flex:220px;gap:12px;display:flex}.year-total{background:var(--surface-2);border-radius:16px;flex-direction:column;gap:2px;padding:16px;display:flex}.year-total span{color:var(--text-2);font-size:13px;font-weight:600}.year-total b{font-variant-numeric:tabular-nums;font-size:20px;font-weight:800}.year-total.good{background:var(--good-soft)}.year-total.good span,.year-total.good b{color:var(--good-ink)}.year-total.bad{background:var(--bad-soft)}.year-total.bad span,.year-total.bad b{color:var(--bad-ink)}.segmented{background:var(--surface-2);border-radius:12px;gap:4px;padding:4px;display:flex}.segmented button{min-height:36px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:14px;font-weight:700}.segmented button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-ink)}.bars{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.bars li{grid-template-columns:minmax(140px,34%) 1fr auto;align-items:center;gap:14px;display:grid}.bar-label{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:10px;font-weight:600;display:flex;overflow:hidden}.bar-track{background:var(--track);border-radius:6px;height:12px;overflow:hidden}.bar-fill{background:var(--accent);border-radius:6px;min-width:4px;height:100%;display:block}.bar-value{font-variant-numeric:tabular-nums;text-align:right;min-width:104px;font-weight:700}.totals-row{border-top:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding-top:18px;display:grid}.totals-row div{flex-direction:column;gap:2px;display:flex}.totals-row span{color:var(--text-2);font-size:13px;font-weight:600}.totals-row b{font-variant-numeric:tabular-nums;font-size:18px;font-weight:800}.method-badge{border-radius:9px;flex:none;justify-content:center;align-items:center;display:inline-flex}.m-cartao,.m-debito{background:var(--accent-soft);color:var(--accent-ink)}.m-pix{background:var(--pix-soft);color:var(--pix-ink)}.m-boleto{background:var(--warn-soft);color:var(--warn-ink)}.m-ted{background:var(--income-soft);color:var(--income-ink)}.m-outro{background:var(--line);color:var(--text-2)}.bank-avatar{color:#fff;border-radius:11px;flex:none;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:800;display:inline-flex}.list{margin:0;padding:0;list-style:none}.list li{border-top:1px solid var(--line);align-items:center;gap:12px;padding:12px 0;display:flex}.list li:first-child{border-top:0}.list .grow{flex-direction:column;flex:1;min-width:0;display:flex}.list .grow b{font-weight:700}.list .grow small{color:var(--text-2);font-size:13px}.progress{background:var(--track);border-radius:5px;height:10px;overflow:hidden}.progress span{background:var(--good);border-radius:5px;height:100%;display:block}.check-dot{border-radius:8px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.check-dot.done{background:var(--good);color:var(--on-accent)}.check-dot.open{border:2px solid var(--muted)}.check-dot.late{border:2px solid var(--bad)}.done-text{color:var(--muted);text-decoration:line-through}.checklist{margin:0;padding:0;list-style:none}.checklist li{border-top:1px solid var(--line);grid-template-columns:1fr auto 88px;align-items:center;gap:12px;padding:12px 0;display:grid}.checklist li:first-child{border-top:0}.row-actions{justify-content:flex-end;display:flex}.checklist label{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.checklist input[type=checkbox]{width:20px;height:20px;accent-color:var(--good);flex:none;margin-top:2px}.check-text{flex-direction:column;gap:2px;display:flex}.check-text>span:first-child{font-weight:700}.checklist li.done .check-text>span:first-child{color:var(--muted);text-decoration:line-through}.num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:700}.muted{color:var(--text-2)}.error-text{color:var(--bad-ink);font-weight:600}.good-text{color:var(--good-ink)}.tag{background:var(--line);color:var(--text-2);border-radius:999px;margin-left:6px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-block}.tag-accent{background:var(--accent-soft);color:var(--accent-ink)}.tag-income{background:var(--income-soft);color:var(--income-ink)}.tag-warn{background:var(--warn-soft);color:var(--warn-ink)}.tag-good{background:var(--good-soft);color:var(--good-ink)}.tags{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.tags .tag{margin-left:0}.btn{background:var(--accent);min-height:44px;color:var(--on-accent);cursor:pointer;border:0;border-radius:12px;padding:0 18px;font-size:14px;font-weight:700}.btn:hover{background:var(--accent-strong)}.btn:disabled{opacity:.5;cursor:default;background:var(--accent)}.icon-btn{cursor:pointer;width:40px;height:40px;color:var(--text-2);background:0 0;border:0;border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.link-btn{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:14px;font-weight:700}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:0 18px;font-size:14px;font-weight:700;display:inline-flex}.chip[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}.search{background:var(--surface);border:1px solid var(--border);min-height:44px;color:var(--text-2);border-radius:999px;flex:220px;align-items:center;gap:10px;padding:0 16px;display:flex}.stack>.search{flex:none}.search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:14px}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.filters{flex-wrap:wrap;gap:8px;display:flex}.filters select,.form-grid input,.form-grid select,td input:not([type=checkbox]),td select{background:var(--surface);border:1px solid var(--border);border-radius:12px;min-height:40px;padding:9px 12px}.form-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:12px;display:grid}.form-grid label{color:var(--text-2);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.label-row{align-items:center;gap:6px;display:inline-flex}.hint{color:var(--muted);cursor:help;border-radius:50%;display:inline-flex;position:relative}.hint:hover,.hint:focus-visible{color:var(--accent);outline:none}.hint-tip{background:var(--tip-bg);width:max-content;max-width:240px;color:var(--tip-text);text-align:left;z-index:10;opacity:0;visibility:hidden;pointer-events:none;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:500;line-height:1.4;transition:opacity .12s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);box-shadow:0 8px 24px #17163a40}.hint:hover .hint-tip,.hint:focus-visible .hint-tip{opacity:1;visibility:visible}.mp-badge{background:var(--bad-soft);color:var(--bad-ink);border:1px solid var(--bad-line);white-space:nowrap;letter-spacing:0;vertical-align:middle;cursor:help;border-radius:999px;align-items:center;gap:6px;padding:3px 10px 3px 4px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.mp-badge:hover,.mp-badge:focus-visible{background:var(--bad-line);color:var(--bad-ink)}.mp-dot{background:var(--bad);width:18px;height:18px;color:var(--surface);border-radius:50%;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.mp-badge .hint-tip{white-space:normal;font-weight:500}.title-row{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.bank-block{border-top:1px solid var(--line);padding:14px 0 6px}.bank-block:first-of-type{border-top:0;padding-top:4px}.bank-head{align-items:center;gap:12px;display:flex}.bank-head .grow{flex:1;min-width:0}.bank-lines{flex-direction:column;gap:6px;margin:8px 0 0 48px;padding:0;list-style:none;display:flex}.bank-lines li{justify-content:space-between;gap:12px;font-size:14px;display:flex}.bank-lines li.sub{color:var(--text-2);padding-left:12px;font-size:13px}.balance-totals{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:14px;display:grid}.balance-totals div{flex-direction:column;gap:2px;display:flex}.balance-totals span{color:var(--text-2);font-size:13px;font-weight:600}.balance-totals b{font-variant-numeric:tabular-nums;font-size:17px;font-weight:800}.form-grid input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--text-2);padding:12px 8px;font-size:13px;font-weight:700}td{border-top:1px solid var(--line);vertical-align:top;padding:14px 8px}td input[type=checkbox]{width:20px;height:20px;accent-color:var(--accent)}td .desc{font-weight:700}td input.note{color:var(--muted);background:0 0;border-color:#0000;border-radius:6px;width:100%;min-height:0;margin-top:4px;padding:2px 0;font-size:13px}td input.note:focus{border-color:var(--border);background:var(--surface);padding:2px 6px}td input.day{width:70px}tr.row-ignored{background:var(--surface-2)}tr.row-ignored td{color:var(--muted)}tr.row-ignored .amount{text-decoration:line-through}.amount{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:800}.history-years{align-items:center;gap:8px;display:flex}.card>.year-chart{flex:none}.cap:first-letter{text-transform:uppercase}.icon-btn:disabled{opacity:.35;cursor:default;background:0 0}.history-table th.r{text-align:right}.history-table tbody tr.selected td{background:var(--accent-soft)}.history-table tbody tr.selected td:first-child{border-radius:12px 0 0 12px}.history-table tbody tr.selected td:last-child{border-radius:0 12px 12px 0}.history-table tbody tr.empty td{color:var(--muted)}.history-table tfoot td{border-top:2px solid var(--border);font-weight:800}.month-link{color:var(--accent);cursor:pointer;background:0 0;border:0;min-height:24px;padding:0;font-weight:700}.month-link:disabled{color:var(--muted);cursor:default;font-weight:600}.month-link[aria-pressed=true]{color:var(--accent-ink)}.btn-ghost{background:var(--surface);color:var(--accent-ink);border:1px solid var(--border)}.btn-ghost:hover{background:var(--accent-soft)}.btn-danger{background:var(--bad);color:var(--surface)}.btn-danger:hover{background:var(--bad-ink)}.inline-check{color:var(--text-2);cursor:pointer;align-items:center;gap:8px;font-size:14px;font-weight:600;display:inline-flex}.inline-check input{width:18px;height:18px;accent-color:var(--accent)}.commit-bar{grid-template-columns:1fr 40px;align-items:center;gap:8px;display:grid}.installment-values{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.installment-values small{font-size:12px;font-weight:500}.committed-callout{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.backup-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.btn-icon{align-items:center;gap:8px;display:inline-flex}.file-btn{position:relative;overflow:hidden}.file-btn input{opacity:0;cursor:pointer;position:absolute;inset:0}.file-btn:focus-within{outline:2px solid var(--accent);outline-offset:2px}.file-btn.disabled{opacity:.5;pointer-events:none}.callout{background:var(--accent-soft);color:var(--accent-ink);border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-weight:600;display:flex}.callout-warn{background:var(--warn-soft);color:var(--warn-ink)}.nav-icon{justify-content:center;align-items:center;display:inline-flex;position:relative}.nav-badge{background:var(--bad);min-width:18px;height:18px;color:var(--surface);text-align:center;border-radius:999px;padding:0 5px;font-size:11px;font-weight:800;line-height:18px;position:absolute;top:-7px;right:-10px}.sync .btn{justify-content:center}.head-actions{align-items:center;gap:8px;display:flex}.sync-chip{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text-2);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.sync-chip:disabled{cursor:progress}.tabbar{z-index:20;background:var(--surface);border-top:1px solid var(--border);padding:4px 4px env(safe-area-inset-bottom);grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar a{height:var(--tabbar-h);color:var(--text-2);flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;font-size:11px;font-weight:600;text-decoration:none;display:flex}.tabbar .nav-icon{border-radius:999px;padding:3px 16px}.tabbar a.active{color:var(--accent-ink);font-weight:800}.tabbar a.active .nav-icon{background:var(--accent-soft)}.tabbar .nav-badge{top:-4px;right:4px}@media (width>=768px) and (width<=1099px){.sidebar{flex:0 0 76px;align-items:center;gap:20px;max-width:76px;padding:20px 10px}.sidebar .nav-label{display:none}.brand{padding:0}.sidebar nav a{justify-content:center;padding:12px}.sync{background:0 0;padding:0}.sync .btn{width:48px;padding:0}.content{padding:24px 24px 40px}}@media (width<=767px){.shell{display:block}.content{padding:calc(14px + env(safe-area-inset-top)) 16px calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom));gap:16px}.page-head{align-items:flex-end;gap:10px}.page-title{min-width:0}.page-head .eyebrow{margin-bottom:2px;font-size:13px}h1{font-size:24px}.month-switch{border-radius:999px;gap:0;padding:2px}.month-switch .icon-btn{width:40px;height:40px}.month-switch span{min-width:64px;padding:0 2px;font-size:14px}.stack,.row,.col-narrow{gap:16px}.card{border-radius:18px;gap:14px;padding:16px}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile{border-radius:18px;gap:10px;padding:14px}.tile-icon{border-radius:10px;width:32px;height:32px}.tile-label{font-size:13px}.tile-value{font-size:19px}.tile.tile-hero,.tile.tile-wide{grid-column:1/-1}.tile.tile-hero{flex-direction:row;align-items:center}.tile-hero .tile-value{letter-spacing:-.03em;font-size:30px}.callout{padding:12px 14px;font-size:14px}.bars li,.source-panel .bars li{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.bars li .bar-track{grid-area:2/1/auto/-1;height:8px}.bar-value{min-width:0}.source-grid{grid-template-columns:minmax(0,1fr)}.source-panel{padding:14px}.year-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.year-total{padding:12px}.year-total b{font-size:16px}.bank-lines{margin-left:0}.legend{gap:12px;font-size:13px}.chips{scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px;padding:0 16px 2px;overflow-x:auto}.chip{flex:none;min-height:40px;padding:0 14px}.filters select{flex:1 1 0;min-width:0}.checklist li{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:2px 8px}.checklist li>label{grid-row:1/span 2}.checklist li>.num{padding-top:2px}.checklist input[type=checkbox]{width:24px;height:24px;margin-top:0}.checklist .icon-btn{width:36px;height:36px}.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid input,.form-grid select{min-height:44px}.hint-tip{max-width:min(240px,70vw);left:auto;right:-8px;transform:none}input:not([type=checkbox]),select{font-size:16px}}.sheet{background:var(--surface);width:100%;max-width:560px;max-height:88vh;color:var(--text);border:0;border-radius:24px 24px 0 0;margin:auto auto 0;padding:0;overflow-y:auto}.sheet::backdrop{background:#0000008c}.sheet[open]{animation:.2s ease-out sheet-in}@keyframes sheet-in{0%{opacity:0;transform:translateY(40px)}}@media (prefers-reduced-motion:reduce){.sheet[open]{animation:none}}@media (width>=768px){.sheet{border-radius:24px;margin:auto}.sheet-grip{display:none}}.sheet-body{padding:8px 20px calc(20px + env(safe-area-inset-bottom));flex-direction:column;gap:16px;display:flex}.sheet-grip{background:var(--border);border-radius:3px;align-self:center;width:40px;height:5px}.sheet-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.sheet-head h2{min-width:0}.sheet-form{flex-direction:column;gap:16px;display:flex}.sheet-form[hidden]{display:none}.field-pair{grid-template-columns:minmax(0,1fr) minmax(0,160px);gap:12px;display:grid}.sheet-actions{justify-content:flex-end;gap:8px;display:flex}.choice-list{flex-direction:column;gap:10px;display:flex}.choice-list .btn{width:100%}.choice-list .link-btn{align-self:center;padding:8px}.preview-line{color:var(--text-2);margin:-4px 0 0;font-size:13px;line-height:1.5}.more summary{cursor:pointer;color:var(--text-2);padding:4px 0;font-size:14px;font-weight:700}.more[open] summary{margin-bottom:10px}.rule-box{background:var(--surface-2);border-radius:16px;flex-direction:column;gap:10px;padding:12px 14px;display:flex}.rule-box small{font-size:12px}.rule-row{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.rule-row input,.rule-row select{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text);border-radius:10px;padding:0 10px}.rule-row input[type=number]{width:76px}.cal{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:6px 8px 10px}.cal-head{justify-content:space-between;align-items:center;display:flex}.cal-head b{color:var(--text);font-size:15px}.cal-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;display:grid}.cal-wd{color:var(--muted);padding:4px 0;font-size:12px;font-weight:700}.cal-day{height:40px;color:var(--text);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:0;border-radius:12px;font-size:14px;font-weight:600}.cal-day:hover{background:var(--surface-2)}.cal-day.today{color:var(--accent-ink);text-underline-offset:3px;text-decoration:underline}.cal-day.repeat{box-shadow:inset 0 0 0 2px var(--good-line);color:var(--good-ink)}.cal-day[aria-pressed=true]{background:var(--accent);color:var(--on-accent);font-weight:800}.cal-day:focus-visible{outline:2px solid var(--accent);outline-offset:1px}@media (width<=767px){.field-pair{grid-template-columns:minmax(0,1fr) minmax(0,132px)}.sheet-actions .btn{flex:1}.cal-day{height:42px}}.switch{appearance:none;background:var(--track);cursor:pointer;border-radius:999px;flex:none;width:52px;height:32px;margin:0;transition:background .15s;position:relative}.switch:after{content:"";background:var(--muted);border-radius:50%;width:26px;height:26px;transition:transform .15s,background .15s;position:absolute;top:3px;left:3px}.switch:checked{background:var(--accent)}.switch:checked:after{background:var(--on-accent);transform:translate(20px)}.switch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.switch-row{cursor:pointer;align-items:center;gap:12px;display:flex}.switch-row .grow{flex-direction:column;flex:1;min-width:0;display:flex}.switch-row small{color:var(--text-2);font-size:13px}.field{color:var(--text-2);flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}.field input,.field select{border:1px solid var(--border);background:var(--surface-2);border-radius:12px;min-height:44px;padding:0 14px}.detail-list{background:var(--surface-2);border-radius:16px;margin:0;padding:2px 14px}.detail-list div{justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;display:flex}.detail-list div+div{border-top:1px solid var(--border)}.detail-list dt{color:var(--text-2)}.detail-list dd{text-align:right;margin:0;font-weight:700}.big-amount{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:30px;font-weight:800}.big-amount.off{color:var(--muted);text-decoration:line-through}.day-group+.day-group{margin-top:6px}.day-label{color:var(--text-2);margin:0;font-size:12px;font-weight:700}.tx-list{margin:0;padding:0;list-style:none}.tx-list li+li{border-top:1px solid var(--line)}.tx-row{width:100%;min-height:60px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:8px 0;display:flex}.tx-row .grow{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tx-row .grow b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tx-row small{color:var(--text-2);font-size:12px}.tx-row .tags{margin-top:0}.tx-row.ignored b,.tx-row.ignored .amount{color:var(--muted)}.tx-row.ignored .amount{text-decoration:line-through}.month-cards{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.month-card{background:var(--surface-2);border-radius:16px;flex-direction:column;gap:10px;padding:14px;display:flex}.month-card.current{box-shadow:inset 0 0 0 1px var(--good-line)}.month-card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.month-card-head>b{font-size:16px}.month-card-head small{color:var(--text-2);font-size:13px;font-weight:600}.stack-bar{gap:2px;height:10px;display:flex}.stack-bar span{min-width:3px}.stack-bar span:first-child{border-radius:5px 0 0 5px}.stack-bar span:last-child{border-radius:0 5px 5px 0}.stack-bar .rest{background:var(--track)}.mini-dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:0;font-size:13px;display:grid}.mini-dl div{flex-direction:column;display:flex}.mini-dl dt{color:var(--text-2)}.mini-dl dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.month-list{margin:0;padding:0;list-style:none}.month-list li+li{border-top:1px solid var(--line)}.month-row{width:calc(100% + 20px);min-height:56px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;margin:0 -10px;padding:8px 10px;display:flex}.month-row .grow{flex-direction:column;flex:1;min-width:0;display:flex}.month-row small{color:var(--text-2);font-size:12px}.month-row[aria-pressed=true]{background:var(--accent-soft)}.month-row:disabled{cursor:default;color:var(--muted)}.pay-list li{padding:4px 0}.check-btn{cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;margin-left:-10px;display:inline-flex}.check-btn:hover .check-dot.open{border-color:var(--accent)}.check-btn:disabled{cursor:progress;opacity:.6}.more-card{gap:12px}.more-nav{padding:4px 16px}.more-row{align-items:center;gap:12px;display:flex}.more-row .grow,.more-links .grow{flex-direction:column;flex:1;min-width:0;display:flex}.more-row small,.more-links small{color:var(--text-2);font-size:13px}.status-line{align-items:center;gap:8px;display:flex}.status-dot{background:var(--good);border-radius:50%;width:8px;height:8px}.more-links{margin:0;padding:0;list-style:none}.more-links li+li{border-top:1px solid var(--line)}.more-links a{min-height:60px;color:var(--text);align-items:center;gap:12px;text-decoration:none;display:flex}.more-links .tile-icon{border-radius:11px;width:36px;height:36px}.more-links a>svg{color:var(--muted)}.i-neutral{background:var(--surface-2);color:var(--text-2)}.install-card{border:1px dashed var(--good-line);color:var(--text-2);border-radius:18px;align-items:center;gap:12px;padding:14px 16px;font-size:14px;display:flex}.install-card b{color:var(--text)}.link-as-btn{align-items:center;text-decoration:none;display:inline-flex}.segmented-full{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.segmented-full button{min-height:40px}.src-bank-text{color:var(--src-bank-ink)}.src-you-text{color:var(--src-you-ink)}.src-bank-fill{background:var(--src-bank)}.src-you-fill{background:var(--src-you)}.source-tag{vertical-align:1px;border-radius:999px;align-items:center;gap:5px;margin-left:6px;padding:3px 9px;font-size:12px;font-weight:700;display:inline-flex}.source-tag.src-bank{background:var(--src-bank-soft);color:var(--src-bank-ink)}.source-tag.src-you{background:var(--src-you-soft);color:var(--src-you-ink)}.source-icon{background:var(--line);color:var(--text-2);border-radius:11px;flex:none;justify-content:center;align-items:center;display:inline-flex}.source-icon.src-bank{background:var(--src-bank-soft);color:var(--src-bank-ink)}.source-icon.src-you{background:var(--src-you-soft);color:var(--src-you-ink)}.source-split{gap:2px;width:100%;min-width:120px;display:flex}.source-split>span{border-radius:0;min-width:4px}.source-split>span:first-child{border-radius:999px 0 0 999px}.source-split>span:last-child{border-radius:0 999px 999px 0}.source-split>span:only-child{border-radius:999px}.tile .source-split{margin:2px 0}.source-bar{flex-direction:column;gap:8px;display:flex}.source-bar-legend{color:var(--text-2);justify-content:space-between;font-size:13px;font-weight:700;display:flex}.source-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;gap:20px;display:grid}.source-panel{border:1px solid var(--border);border-radius:16px;flex-direction:column;gap:14px;min-width:0;padding:18px;display:flex}.source-panel.source-empty{background:var(--surface-2);border-style:dashed}.source-head{align-items:center;gap:10px;display:flex}.source-head .grow{flex-direction:column;flex:1;min-width:0;display:flex}.source-head h3{color:var(--text);align-items:center;margin:0;font-size:16px;font-weight:800;display:flex}.source-empty .source-head h3{color:var(--text-2)}.source-head small{color:var(--text-2);font-size:13px}.source-head>b{font-size:18px;font-weight:800}.source-panel .bars{gap:12px}.source-panel .bars li{grid-template-columns:minmax(0,1.3fr) minmax(48px,1fr) auto;gap:12px}.source-panel .bar-label{font-size:14px}.bar-label.stacked{flex-direction:column;align-items:flex-start;gap:0}.bar-label.stacked b,.bar-label.stacked small{text-overflow:ellipsis;max-width:100%;overflow:hidden}.bar-label.stacked small{color:var(--muted);font-size:12px;font-weight:500}.source-panel .totals-row{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));padding-top:14px}.source-panel .totals-row b{font-size:16px}.source-note{color:var(--text-2);gap:8px;margin:0;font-size:13px;line-height:1.45;display:flex}.source-note svg{flex:none;margin-top:1px}.source-sum{border-top:1px dashed var(--border);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding-top:16px;font-weight:700;display:flex}.source-sum b{font-size:17px;font-weight:800}.head-total{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.head-total span{color:var(--text-2);font-size:13px;font-weight:600}.head-total b{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:800}.history-table th.group{text-align:center;border-radius:10px 10px 0 0;padding:8px;font-size:12px;font-weight:800}.history-table th.group span{align-items:center;gap:6px;display:inline-flex}.history-table .g-bank{background:var(--src-bank-tint)}.history-table .g-you{background:var(--src-you-tint)}.history-table th.group.g-bank{background:var(--src-bank-soft);color:var(--src-bank-ink)}.history-table th.group.g-you{background:var(--src-you-soft);color:var(--src-you-ink)}.history-table .g-gap{width:8px;padding:0;background:0 0!important;border:0!important}.history-table tfoot tr.group-totals td{text-align:center;border-top:0;padding:8px;font-size:13px}.history-table tfoot tr.group-totals td.g-bank{background:var(--src-bank-soft);color:var(--src-bank-ink);border-radius:0 0 10px 10px}.history-table tfoot tr.group-totals td.g-you{background:var(--src-you-soft);color:var(--src-you-ink);border-radius:0 0 10px 10px}.installment-groups{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));align-items:start;gap:24px;display:grid}.installment-group-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.installment-group-head h3{align-items:center;gap:8px;margin:0;font-size:15px;font-weight:800;display:inline-flex}.tile-sub b{white-space:nowrap}.splash{justify-content:center;align-items:center;min-height:100vh;display:flex}.splash .brand-mark{border-radius:14px;width:48px;height:48px;font-size:18px}.login{justify-content:center;align-items:center;min-height:100vh;padding:24px 16px;display:flex}.login-card{background:var(--surface);width:min(440px,100%);box-shadow:var(--shadow);border-radius:24px;flex-direction:column;gap:20px;padding:32px;display:flex}.login-card h1{font-size:26px;line-height:1.2}.login-card p{margin:8px 0 0}.btn-google{justify-content:center;align-items:center;gap:10px;min-height:48px;font-size:15px;text-decoration:none;display:inline-flex}.btn-google svg{background:#fff;border-radius:50%;width:24px;height:24px;padding:3px}.login-error{background:var(--bad-soft);color:var(--bad-ink);border-radius:12px;margin:0;padding:12px 14px;font-size:14px;font-weight:600}.login-notes{border-top:1px solid var(--line);color:var(--text-2);flex-direction:column;gap:8px;margin:0;padding:16px 0 0;font-size:13px;list-style:none;display:flex}.login-notes li{align-items:flex-start;gap:8px;display:flex}.login-notes svg{color:var(--accent);flex:none;margin-top:1px}.onboarding{flex-direction:column;gap:20px;max-width:960px;margin:0 auto;padding:24px 40px 120px;display:flex}.onb-head{justify-content:space-between;align-items:center;display:flex}.onb-intro{flex-direction:column;gap:8px;display:flex}.onb-intro .eyebrow{color:var(--text-2);font-size:14px;font-weight:600}.onb-intro p{max-width:60ch;margin:0}.onb-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 8px;padding:0;list-style:none;display:grid}.onb-steps button{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text-2);font:inherit;cursor:pointer;text-align:left;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;font-size:14px;font-weight:700;display:flex}.onb-steps .current button{border-color:var(--accent);color:var(--text);box-shadow:inset 0 0 0 1px var(--accent)}.onb-steps .past .guide-num{background:var(--accent);color:var(--on-accent)}.onb-step-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.onb-body{flex-direction:column;gap:16px;display:flex}.onb-foot{z-index:5;padding:12px max(16px, calc((100vw - 960px) / 2 + 40px)) calc(12px + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;display:flex;position:fixed;bottom:0;left:0;right:0}.onb-foot-right{gap:8px;display:flex}.guide{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.guide>li{border:1px solid var(--border);background:var(--surface);border-radius:16px}.guide summary{cursor:pointer;align-items:center;gap:12px;min-height:48px;padding:12px 14px;font-weight:700;list-style:none;display:flex}.guide summary::-webkit-details-marker{display:none}.guide summary>svg{color:var(--muted);transition:transform .15s}.guide details[open] summary>svg{transform:rotate(90deg)}.guide .grow{flex:1;min-width:0}.guide li.done summary .grow{color:var(--text-2)}.guide-num{background:var(--surface-2);width:26px;height:26px;color:var(--text-2);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:13px;font-weight:800;display:inline-flex}.guide li.done .guide-num{background:var(--accent-soft);color:var(--accent-ink)}.guide-body{flex-direction:column;align-items:flex-start;gap:12px;padding:0 14px 14px 52px;display:flex}.guide-body p{color:var(--text-2);margin:0}.guide-body p b{color:var(--text)}.guide-body .form-grid{width:100%}.guide-shots{gap:10px;max-width:100%;padding-bottom:4px;display:flex;overflow-x:auto}.guide-shot{border:1px solid var(--border);border-radius:10px;flex:none;width:240px;display:block;overflow:hidden}.guide-shot img{width:100%;height:auto;display:block}.guide-shot:hover{border-color:var(--accent)}.cred-saved{background:var(--surface-2);border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.cred-saved .grow{flex-direction:column;flex:1;min-width:0;display:flex}.cred-saved small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.form-actions-inline{gap:8px;display:flex}.small-note{flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:13px;display:flex}.avatar{object-fit:cover;border-radius:50%;flex:none;width:36px;height:36px}.avatar-letter{background:var(--accent-soft);color:var(--accent-ink);justify-content:center;align-items:center;font-weight:800;display:inline-flex}.danger-text{color:var(--bad-ink)}@media (width<=767px){.login-card{padding:24px 20px}.onboarding{padding:calc(14px + env(safe-area-inset-top)) 16px 120px;gap:16px}.onb-steps{gap:6px}.onb-steps button{justify-content:center;padding:8px}.onb-steps .onb-step-label{display:none}.onb-foot{padding-left:16px;padding-right:16px}.onb-foot .btn{padding:0 14px}.guide-body{padding:0 14px 14px}.guide-shot{width:200px}.form-actions-inline .btn{flex:1}}
