:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f7f7f8;--surface:#fff;--text:#1a1a1a;--muted:#666;--border:#e0e0e2;--accent:#2f6f4f;--accent-contrast:#fff;--danger:#b3261e;--positive:#1e7a34;--negative:#b3261e;--warning:#965a00;--divider:#2c1147;--today:#2563eb;--on-color:#fff;--field-border:#8e8e94;--positive-tint:color-mix(in srgb, var(--positive) 12%, var(--surface));--negative-tint:color-mix(in srgb, var(--negative) 12%, var(--surface));--today-tint:color-mix(in srgb, var(--today) 8%, var(--surface));--chart-blue:#2563eb;--chart-red:#dc2626;--chart-green:#16a34a;--chart-purple:#9333ea;--chart-gray:#6b7280;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme]){--bg:#16171a;--surface:#1f2023;--text:#eaeaea;--muted:#9a9a9a;--border:#33343a;--accent:#4caf7d;--accent-contrast:#0b0b0b;--divider:#513690;--today:#6b9cff;--danger:#ff7b72;--positive:#5cc97a;--negative:#ff7b72;--warning:#e8a33d;--on-color:#111;--field-border:#6a6c74;--chart-blue:#6ea8ff;--chart-red:#ff7b72;--chart-green:#5cc97a;--chart-purple:#c08cff;--chart-gray:#9aa0a6}}:root[data-theme]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--on-color:#111;--chart-blue:#6ea8ff;--chart-red:#ff7b72;--chart-green:#5cc97a;--chart-purple:#c08cff;--chart-gray:#9aa0a6}:root[data-theme=midnight],[data-theme-preview=midnight]{--bg:#0d1321;--surface:#151d2e;--text:#e6ebf5;--muted:#9aa7bd;--border:#2a3650;--field-border:#5d6b86;--accent:#5b9cff;--accent-contrast:#0a0f1a;--danger:#ff7a85;--positive:#4fd18b;--negative:#ff7a85;--warning:#f2b84b;--divider:#7b6cf0;--today:#d9a6ff}:root[data-theme=forest],[data-theme-preview=forest]{--bg:#0f1712;--surface:#16211a;--text:#e4efe7;--muted:#9db3a3;--border:#2b3d31;--field-border:#5f7a66;--accent:#5cc98a;--accent-contrast:#08110b;--danger:#ff8a80;--positive:#8be09b;--negative:#ff8a80;--warning:#f0b44c;--divider:#8a6fd6;--today:#6fb5ff}:root[data-theme=plum],[data-theme-preview=plum]{--bg:#17111f;--surface:#20182b;--text:#efe7f7;--muted:#ab9cbf;--border:#3a2d4a;--field-border:#6d5a84;--accent:#c58cf5;--accent-contrast:#150c1f;--danger:#ff8496;--positive:#6fd69a;--negative:#ff8496;--warning:#f5be5b;--divider:#9b7be0;--today:#6fb5ff}:root[data-theme=ember],[data-theme-preview=ember]{--bg:#1a1512;--surface:#241d18;--text:#f3ebe4;--muted:#b5a596;--border:#3d322a;--field-border:#75645a;--accent:#f39c4a;--accent-contrast:#1a0f05;--danger:#ff8277;--positive:#7fd48f;--negative:#ff8277;--warning:#f5d04c;--divider:#a67bd9;--today:#6fb5ff}:root[data-theme=high_contrast],[data-theme-preview=high_contrast]{--bg:#000;--surface:#0d0d0d;--text:#fff;--muted:#d0d0d0;--border:#4a4a4a;--field-border:#a0a0a0;--accent:#ffd60a;--accent-contrast:#000;--danger:#ff6b6b;--positive:#5dfc8d;--negative:#ff6b6b;--warning:#ffb347;--divider:#c8a2ff;--today:#4fc3ff}[data-theme-preview=default]{--bg:#f7f7f8;--surface:#fff;--text:#1a1a1a;--accent:#2f6f4f;--positive:#1e7a34;--negative:#b3261e}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}#root{min-height:100vh}.app-shell{flex-direction:column;min-height:100vh;display:flex}.nav{padding:max(10px, env(safe-area-inset-top)) 20px 10px;background:var(--surface);border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:4px;display:flex}.nav-brand{color:var(--accent);margin-right:16px;font-weight:700}.nav-version{color:var(--muted);font-size:11px;font-weight:400}.nav a{color:var(--text);border-radius:6px;padding:8px 12px;font-size:14px;text-decoration:none}.nav a.active,.nav a:hover{background:var(--accent);color:var(--accent-contrast)}.nav-spacer{flex:1}.nav-more{position:relative}.nav-more-toggle{color:var(--text);background:0 0;padding:8px 12px;font-size:14px}.nav-more-toggle.active,.nav-more-toggle:hover{background:var(--accent);color:var(--accent-contrast)}.nav-more-menu{z-index:40;background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;min-width:200px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 6px 18px #00000026}.nav-more-menu a{padding:9px 12px}.nav-user{color:var(--muted);margin-right:8px;font-size:13px}main{flex:1;width:100%;max-width:760px;margin:0 auto;padding:24px}h1{margin:0 0 16px;font-size:22px}.dashboard-header{white-space:nowrap;flex-wrap:nowrap;justify-content:flex-end;align-items:baseline;gap:12px;margin-bottom:16px;font-size:13px;display:flex}.dashboard-header .dashboard-sync{margin-right:auto}.dashboard-header .link-button,.dashboard-header .muted{font-size:inherit}.clock-date-short{display:none}@media (width<=640px){.clock-date-long{display:none}.clock-date-short{display:inline}}.dashboard-stale{margin:-8px 0 12px;font-size:13px}.dashboard-header h1{margin:0}.dashboard-clock{color:var(--muted);font-size:inherit;gap:6px;display:flex}.dashboard-clock-time{color:var(--text);font-variant-numeric:tabular-nums;font-weight:600}h2{margin:0 0 12px;font-size:17px}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:20px;padding:18px}.table-scroll{overflow-x:auto}.table-scroll-tall{max-height:70vh;overflow-y:auto}.table-scroll-tall thead th{z-index:1;background:var(--surface);position:sticky;top:0}th.row-actions,td.row-actions{background:var(--surface);white-space:nowrap;position:sticky;right:0;box-shadow:-8px 0 8px -8px #00000040}table.compact th,table.compact td{padding-left:6px;padding-right:6px}button.nowrap-button{white-space:nowrap;margin-top:6px}td.row-actions button{width:100%;margin:2px 0;padding:6px 10px;font-size:13px;display:block}.section-divider{border:none;border-top:3px solid var(--divider);margin:24px 0}td.card-name{font-size:17px;font-weight:700}tr.card-section-start>td{border-top:3px solid var(--divider)}tr.card-section-end>td{border-bottom:3px solid var(--divider)}td.balance-owed{color:var(--negative);font-weight:700}.stat-row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:20px;display:grid}.stat-row.stat-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;min-width:0;padding:16px 20px;display:flex;container-type:inline-size}.stat .label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.stat .value{white-space:nowrap;text-overflow:ellipsis;margin-top:auto;padding-top:4px;font-size:clamp(15px,11cqi,24px);font-weight:700;overflow:hidden}.value.positive{color:var(--positive)}.value.negative{color:var(--negative)}.value.caution{color:var(--warning)}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;border-bottom:1px solid var(--border);padding:8px 10px}th{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:600}.th-label{cursor:pointer;-webkit-user-select:none;user-select:none}.th-label:hover{color:var(--text)}.th-filter-toggle{color:var(--muted);cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:10px}.th-filter-toggle.active{color:var(--accent)}.th-filter-toggle:hover{opacity:1;color:var(--text)}.th-filter-dropdown{z-index:50;background:var(--surface);border:1px solid var(--border);white-space:nowrap;text-transform:none;border-radius:8px;margin-top:4px;padding:8px;font-weight:400;box-shadow:0 4px 12px #00000026}.th-filter-options{height:240px;overflow-y:auto}.th-filter-option{color:var(--text);white-space:nowrap;flex-direction:row;align-items:center;gap:6px;height:24px;font-size:13px;display:flex}.export-filters{flex-wrap:wrap;gap:32px;margin-bottom:12px;display:flex}.export-filter-heading{align-items:center;gap:12px;min-height:36px;margin-bottom:6px;font-size:13px;font-weight:600;display:flex}.export-filter-group{margin-bottom:8px}.export-filter-option{color:var(--text);flex-direction:row;align-items:center;gap:6px}.export-filter-option input{height:auto}.export-filter-group-label{font-weight:600}.export-filter-indent{padding-left:22px}.th-filter-dropdown button{width:100%;margin-bottom:6px}form{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}label{color:var(--muted);flex-direction:column;gap:4px;min-width:0;font-size:13px;display:flex}input,select{border:1px solid var(--field-border);background:var(--bg);min-width:0;max-width:100%;height:36px;color:var(--text);box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;padding:0 9px;font-size:14px;overflow:hidden}button{background:var(--accent);color:var(--accent-contrast);cursor:pointer;border:none;border-radius:6px;padding:8px 14px;font-size:14px}button:hover{opacity:.9}button:disabled{cursor:not-allowed;opacity:.5}button.secondary{background:var(--border);color:var(--text)}button.danger{background:var(--danger);color:var(--on-color)}button.warning{background:var(--warning);color:var(--on-color)}.error{color:var(--negative);margin:4px 0;font-size:13px}.warning{color:var(--warning);margin:4px 0;font-size:13px}.muted{color:var(--muted);font-size:13px}.import-review-bar{flex-wrap:wrap;align-items:center;gap:16px;margin:10px 0;display:flex}table.import-review td{vertical-align:top}table.import-review input[type=checkbox],.import-review-bar input[type=checkbox]{height:auto}td.import-changed .import-old{color:var(--muted);text-decoration:line-through;display:block}td.import-changed .import-new{font-weight:700;display:block}tr.import-has-notes>td{border-bottom:none}tr.import-notes>td{padding-top:0}.import-badge{white-space:nowrap;border:1px solid;border-radius:10px;padding:1px 8px;font-size:12px;display:inline-block}.import-badge-update{color:var(--accent)}.import-badge-create{color:var(--positive)}.import-badge-error{color:var(--negative)}.import-badge-unchanged{color:var(--muted)}.reset-action h2{margin-top:0}.import-undo-confirm{border:1px solid var(--border);border-radius:8px;margin:8px 0;padding:10px 12px}.login-wrap{justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{width:320px}.login-card form{flex-direction:column;align-items:stretch}.pill{border-radius:100px;padding:2px 8px;font-size:12px;font-weight:600;display:inline-block}.pill.paid{background:var(--positive-tint);color:var(--positive)}.pill.unpaid{background:var(--negative-tint);color:var(--negative)}button.pill{cursor:pointer;border:none;padding:2px 8px;font-size:12px;font-weight:600}button.pill.paid{background:var(--positive-tint);color:var(--positive)}button.pill.unpaid{background:var(--negative-tint);color:var(--negative)}.modal-overlay{z-index:100;background:#00000080;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border);border-radius:10px;width:90%;max-width:520px;max-height:85vh;padding:20px;overflow-y:auto}.modal-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-header h2{margin:0}.line-chart svg{width:100%;height:auto;overflow:visible}.line-chart svg text{fill:var(--muted)}.line-chart-legend{color:var(--muted);gap:16px;margin-top:8px;font-size:13px;display:flex}.line-chart-legend-item{align-items:center;gap:6px;display:inline-flex}.line-chart-swatch{border-radius:2px;width:10px;height:10px;display:inline-block}.line-chart-plot{position:relative}.line-chart-swatch.dashed{width:14px;height:3px}.line-chart-tooltip{pointer-events:none;background:var(--surface);border:1px solid var(--border);white-space:nowrap;border-radius:8px;padding:8px 10px;font-size:13px;line-height:1.6;position:absolute;top:32px;transform:translate(12px);box-shadow:0 2px 8px #00000026}.line-chart-tooltip.flip{transform:translate(calc(-100% - 12px))}.line-chart-tooltip-date{color:var(--muted)}.net-worth-stats .stat{flex-basis:150px;min-width:150px}.reconcile-table td{vertical-align:top}.reconcile-file-section{border-top:3px solid var(--divider);margin-top:16px;padding-top:4px}.reconcile-table td:last-child{min-width:14rem}.reconcile-side{white-space:nowrap;text-overflow:ellipsis;max-width:15rem;overflow:hidden}.badge.status-matched,.badge.status-split_match,.badge.status-bank_reversal,.badge.status-adjustment{color:var(--positive)}.badge.status-date_differs,.badge.status-not_posted_yet{color:var(--muted)}.badge.status-bill_changed,.badge.status-amount_mismatch,.badge.status-tip,.badge.status-missing_in_gmtc,.badge.status-duplicate_in_gmtc,.badge.status-missing_in_bank{color:var(--warning)}.settings-browser{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.settings-nav{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-direction:column;gap:2px;padding:6px;display:flex;position:sticky;top:12px}.settings-nav a{color:var(--text);border-radius:6px;padding:8px 12px;text-decoration:none}.settings-nav a:hover{background:var(--bg)}.settings-nav a.active{background:var(--accent);color:var(--accent-contrast)}.settings-pane{max-height:calc(100vh - 160px);padding-right:4px;overflow-y:auto}.settings-pane>.card:first-child,.settings-pane>:first-child .card:first-child{margin-top:0}.split-editor{border:1px solid var(--border);border-radius:8px;flex-basis:100%;width:100%;margin:8px 0;padding:10px}.split-row{gap:8px;margin:6px 0;display:flex}.goal-progress{background:var(--border);border-radius:5px;height:10px;margin:8px 0;overflow:hidden}.goal-progress>div{background:var(--accent);height:100%}.goal-progress.behind>div{background:var(--warning)}.badge{border:1px solid;border-radius:10px;padding:1px 8px;font-size:12px;font-weight:600;display:inline-block}.alerts{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.alert{border:1px solid var(--border);border-left:4px solid var(--muted);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 14px;font-size:14px;display:flex}.alert-warning{border-left-color:var(--warning)}.alert-info{border-left-color:var(--accent)}.alert-link{font-size:13px}.alert-action{margin:6px 0 4px;padding:4px 10px;font-size:13px;display:block}.price-history{margin:0 0 12px;padding:0;font-size:.9rem;list-style:none}.price-history li{justify-content:space-between;gap:12px;padding:2px 0;display:flex}.alert-dismiss{padding:2px 10px;font-size:16px;line-height:1.2}.stat .stat-note{color:var(--muted);margin-top:4px;font-size:12px}.net-worth-controls{flex-wrap:wrap;gap:16px;margin-bottom:8px;display:flex}table.net-worth-breakdown tr.net-worth-section>td{border-top:3px solid var(--divider);font-weight:700}table.net-worth-breakdown tr.net-worth-group>td{font-weight:600}table.net-worth-breakdown td.net-worth-account{padding-left:24px}@media (width<=640px){main{padding:16px}body{line-height:1.5;overflow-x:hidden}table{font-size:15px}th,.stat .label{font-size:13px}label,.muted,.error,.warning{font-size:14px}input,select{font-size:16px}button{padding:10px 16px;font-size:15px}.pill,button.pill{font-size:13px}}table.stack-mobile{width:100%}table.stack-mobile thead{display:none}table.stack-mobile tbody{display:block}table.stack-mobile tr{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:baseline;gap:4px 8px;padding:10px 0;display:flex}table.stack-mobile tr:after{content:"";flex-basis:100%;order:1}table.stack-mobile td{overflow-wrap:anywhere;border:none;min-width:0;padding:0;display:block}table.stack-mobile td:empty{display:none}table.stack-mobile .stack-title{flex-basis:100%;font-weight:600}table.stack-mobile .stack-line2{order:2}table.stack-mobile .stack-line3{order:3}table.stack-mobile .stack-sep:before{content:"· ";color:var(--muted)}table.stack-mobile .stack-push{margin-left:auto}table.stack-mobile .stack-full{flex-basis:100%}main table:not(.stack-mobile,.keep-table),main table:not(.stack-mobile,.keep-table)>thead,main table:not(.stack-mobile,.keep-table)>tbody,main table:not(.stack-mobile,.keep-table)>tfoot{width:100%;display:block}main table:not(.stack-mobile,.keep-table)>thead>tr{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:6px;padding-bottom:8px;display:flex}main table:not(.stack-mobile,.keep-table)>thead th button{min-height:0;padding:0 2px}main table:not(.stack-mobile,.keep-table)>thead th{background:var(--bg);box-shadow:none;white-space:nowrap;border:none;border-radius:12px;padding:4px 10px;position:static}main table:not(.stack-mobile,.keep-table)>thead th:empty{display:none}main table:not(.stack-mobile,.keep-table)>tbody>tr,main table:not(.stack-mobile,.keep-table)>tfoot>tr{border-bottom:1px solid var(--border);padding:8px 0;display:block}main table:not(.stack-mobile,.keep-table)>tbody>tr>td,main table:not(.stack-mobile,.keep-table)>tfoot>tr>td{text-align:right;overflow-wrap:anywhere;border:none;padding:3px 0;display:block}main table:not(.stack-mobile,.keep-table) td:before{content:attr(data-label);float:left;text-align:left;max-width:45%;color:var(--muted);margin-right:12px;font-size:13px}main table:not(.stack-mobile,.keep-table)>tbody>tr:after{content:"";clear:both;display:block}main table:not(.stack-mobile,.keep-table) td:not([data-label]),main table:not(.stack-mobile,.keep-table) td[data-label=""]{text-align:left;display:block}main table:not(.stack-mobile,.keep-table) td:not([data-label]):before,main table:not(.stack-mobile,.keep-table) td[data-label=""]:before{content:none}main table:not(.stack-mobile,.keep-table) td:empty{display:none}main table:not(.stack-mobile,.keep-table) td.row-actions{box-shadow:none;background:0 0;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding-top:6px;display:flex;position:static}main table:not(.stack-mobile,.keep-table) td.row-actions:before{content:none}main table:not(.stack-mobile,.keep-table) td.row-actions button{width:auto;margin:0;display:inline-block}main tr.card-section-start>td,main tr.card-section-end>td{border:none}main tr.card-section-start{border-top:3px solid var(--divider)}main table.keep-table{-webkit-overflow-scrolling:touch;max-height:70vh;display:block;overflow:auto}main table.keep-table th,main table.keep-table td{white-space:nowrap}main table.keep-table td:first-child{background:var(--surface);position:sticky;left:0}.settings-browser{display:block}.settings-browser.has-section .settings-nav,.settings-browser:not(.has-section) .settings-pane{display:none}.settings-nav{position:static}.settings-nav a,.settings-nav a.active{color:var(--text);border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding:14px 16px;font-size:17px}.settings-nav a:after{content:"›";float:right;color:var(--muted)}.settings-pane{max-height:none;padding-right:0;overflow:visible}.settings-browser .settings-back,.settings-browser .settings-pane-title{display:block}.settings-back{color:var(--accent);margin-bottom:8px;font-size:17px;text-decoration:none}form>label,form>.field{flex:calc(50% - 10px)}input,select{width:100%}input[type=checkbox],input[type=radio]{width:auto}body.fill-viewport{height:100dvh;overflow:hidden}body.fill-viewport #root,body.fill-viewport .app-shell{height:100%;min-height:0}body.fill-viewport .app-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}body.fill-viewport main{flex-direction:column;min-height:0;display:flex}.fill-page{flex-direction:column;flex:1;min-height:0;display:flex}.fill-page>.card{flex-direction:column;flex:1;min-height:0;margin-bottom:0;display:flex}.fill-page .table-scroll-tall{flex:1;min-height:0;max-height:none}.table-scroll-tall>table>thead{z-index:2;background:var(--surface);position:sticky;top:0}.list-header{flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:10px;display:flex}.list-header h2{margin:0}.list-header-actions{align-items:center;gap:10px;margin-left:auto;display:flex}button.filters-toggle{min-height:0;padding:4px 12px;font-size:13px}button.filters-toggle.on:before{content:"● ";color:var(--accent)}button.link-button{min-height:0;color:var(--accent);background:0 0;padding:0;font-size:13px;text-decoration:underline}.period-header{flex-wrap:nowrap;align-items:baseline;gap:10px;margin-bottom:14px;display:flex}.period-header h2{white-space:nowrap;margin:0}.period-header-dates{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.period-header-link{white-space:nowrap;margin-left:auto}.filter-bar-actions{justify-content:flex-end;align-items:center;gap:10px;margin-bottom:8px;display:flex}.filter-bar:not(.open)+.table-scroll table>thead,table.filters-hidden>thead{display:none!important}@media (width>=641px){.app-shell{height:100dvh;min-height:0;overflow:hidden}.nav{flex-shrink:0}.app-scroll{flex:1;min-height:0;overflow-y:auto}}.mobile-top{z-index:20;padding:calc(16px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) 12px max(22px, env(safe-area-inset-left));background:var(--surface);border-bottom:1px solid var(--border);align-items:baseline;gap:12px;display:flex;position:sticky;top:0}.mobile-title{font-weight:600}button.mobile-back{color:var(--accent);text-overflow:ellipsis;white-space:nowrap;background:0 0;max-width:55vw;padding:0;font-size:16px;overflow:hidden}.tab-bar{z-index:30;padding:4px 0 env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--border);display:flex;position:fixed;bottom:0;left:0;right:0}.tab-bar a,.tab-bar button.tab-more{min-height:50px;color:var(--muted);background:0 0;border-radius:0;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0;font-size:11px;text-decoration:none;display:flex}.tab-bar a.active,.tab-bar button.tab-more.active{color:var(--accent)}.more-backdrop{z-index:25;background:#00000059;align-items:flex-end;display:flex;position:fixed;inset:0}.more-sheet{background:var(--surface);width:100%;max-height:75vh;padding:8px 0 calc(70px + env(safe-area-inset-bottom));border-radius:14px 14px 0 0;overflow-y:auto}.more-sheet a{color:var(--text);border-bottom:1px solid var(--border);padding:14px 20px;font-size:17px;text-decoration:none;display:block}.more-sheet a.active{color:var(--accent);font-weight:600}.more-footer{justify-content:space-between;align-items:center;padding:14px 20px;display:flex}.more-footer-actions{align-items:center;gap:8px;display:flex}.settings-gear{width:36px;height:36px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;margin-right:8px;display:inline-flex}.nav a.settings-gear{padding:0}.settings-gear svg{flex-shrink:0}.more-footer-actions .settings-gear{width:44px;height:44px;margin-right:0}.settings-gear:hover,.settings-gear.active{color:var(--text);background:var(--border)}@media (width<=640px){main{padding-bottom:calc(80px + env(safe-area-inset-bottom))}form>label,form>.field{flex:100%}input,select{width:100%;height:44px}input[type=checkbox],input[type=radio]{width:auto;height:auto}button{min-height:40px}.th-filter-dropdown{white-space:normal;right:8px;left:8px!important}main table:not(.stack-mobile,.keep-table)>thead>tr{gap:8px}main table:not(.stack-mobile,.keep-table)>thead th{align-items:center;min-height:34px;padding:0 0 0 12px;font-size:13px;display:inline-flex}main table:not(.stack-mobile,.keep-table)>thead th .th-label{padding:6px 0}main table:not(.stack-mobile,.keep-table)>thead th button.th-filter-toggle{min-width:30px;min-height:34px;padding:6px 8px;font-size:12px}main table:not(.stack-mobile,.keep-table)>thead th:not(:has(.th-filter-toggle)){padding-right:12px}.th-filter-option{height:40px;font-size:15px}.th-filter-option input[type=checkbox]{width:20px;height:20px}.th-filter-options{height:auto;max-height:50vh}.card{padding:14px}.stat-row{gap:10px}.stat-row,.stat-row.stat-row-3{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-width:0;padding:12px 14px}}.calendar .positive{color:var(--positive)}.calendar .negative{color:var(--negative)}.calendar-header{align-items:center;gap:8px;margin-bottom:12px;display:flex}.calendar-header h2{text-align:center;flex:1;min-width:0;margin:0}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.calendar-weekday{color:var(--muted);text-align:center;font-size:12px;font-weight:600}.calendar-day{background:var(--surface);border:1px solid var(--border);color:var(--text);cursor:pointer;font:inherit;text-align:right;border-radius:6px;flex-direction:column;align-items:stretch;gap:2px;min-width:0;min-height:72px;padding:4px 6px;font-size:12px;display:flex}.calendar-day.future{background:var(--bg)}.calendar-day.today{background:var(--today-tint);border-color:var(--today)}.calendar-day.selected{outline:2px solid var(--accent);outline-offset:1px}.calendar-date{text-align:left;font-weight:600}.calendar-day.today .calendar-date{color:var(--today);font-weight:800}.calendar-net,.calendar-upcoming{font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.calendar-net{font-weight:600}.calendar-upcoming{color:var(--muted)}.calendar-dot{background:var(--accent);border-radius:50%;width:6px;height:6px;margin:0 4px 1px;display:inline-block}.calendar-details{scroll-margin-top:12px}.calendar-details h3{margin:16px 0 4px}.calendar-legend{font-size:13px}.calendar-subhead{justify-content:space-between;margin:12px 0 4px;display:flex}.calendar-list{margin:0;padding:0;list-style:none}.calendar-list li{border-bottom:1px solid var(--border);justify-content:space-between;gap:12px;padding:8px 0;display:flex}.calendar-list li>span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}.calendar-controls{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.calendar-seg{background:var(--border);border-radius:8px;padding:2px;display:flex}.calendar-seg button{color:var(--text);white-space:nowrap;background:0 0;border-radius:6px;flex:1;padding:6px 12px}.bank-data-seg{margin-bottom:12px}.calendar-seg button.active{background:var(--surface);font-weight:600;box-shadow:0 1px 2px #00000026}.calendar-week-day{border-bottom:1px solid var(--border)}.calendar-week-head{color:var(--text);text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:8px;width:100%;padding:10px 0;font-weight:600;display:flex}.calendar-week-day.today .calendar-week-head>span:first-child{color:var(--today)}.calendar-week-totals{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:8px;display:flex}.calendar-chevron{color:var(--muted)}.calendar-list.compact li{border-bottom:none;padding:3px 0;font-size:14px}.calendar-list.compact{margin:-4px 0 8px}.calendar-item{flex-direction:column;min-width:0;display:flex}.calendar-item-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.calendar-item-meta{font-size:13px}@media (width<=640px){.calendar-grid{gap:2px}.calendar-day{min-height:54px;padding:3px 2px;font-size:10px}.calendar-dot{width:5px;height:5px;margin:0 2px 1px 0}.calendar-seg{width:100%}.calendar-seg button{min-height:40px;padding:6px 8px}}.reconcile-file-section .positive{color:var(--positive)}.reconcile-file-section .negative{color:var(--negative)}.promo-line{font-size:13px}.receipt-lines{white-space:pre-wrap;max-height:14rem;font-size:.8rem;overflow-y:auto}.tip-row{align-items:center;gap:.5rem;display:flex}.tip-row input{flex:1;min-width:0}.tip-row button{white-space:nowrap}.difference-list{margin:4px 0 0;padding-left:18px;font-size:.85rem}.difference-list li{white-space:normal;overflow-wrap:anywhere;display:list-item}.difference-actions{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0;display:flex}.difference-item .calendar-item{white-space:normal;min-width:0}.savings-draw-months .calendar-item-meta{white-space:normal}.duo-settings{margin:12px 0 16px}.duo-config{margin-top:16px}button.stat-button{font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%}button.stat-button:hover{border-color:var(--accent,#2f6f4f)}button.stat-button:focus-visible{outline:2px solid var(--accent,#2f6f4f);outline-offset:2px}.breakdown-list{margin:0 0 12px;padding:0;list-style:none}.breakdown-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;display:flex}.breakdown-label{flex-direction:column;min-width:0;display:flex}.breakdown-detail{font-size:.85rem}.breakdown-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.breakdown-list li.breakdown-total{border-bottom:none;border-top:2px solid var(--text,currentColor);font-weight:700}.breakdown-list li.breakdown-subtotal{justify-content:flex-end;font-size:.9rem}.table-scroll-tall,.th-filter-options,.settings-pane,.more-sheet,.receipt-lines,main table.keep-table{scrollbar-gutter:stable;box-sizing:border-box;padding-right:12px}.modal{scrollbar-gutter:stable;padding-right:32px}.table-scroll,main table.keep-table{padding-bottom:12px}@media (width>=641px){.app-scroll{scrollbar-gutter:stable;padding-right:12px}}.budget-month{flex-direction:row;align-items:center;gap:8px;margin-bottom:12px;display:inline-flex}.budget-left{min-width:110px}.budget-bar{background:var(--border);border-radius:3px;height:6px;margin-top:4px;overflow:hidden}.budget-bar span{height:100%;display:block}.budget-bar-ok{background:var(--positive)}.budget-bar-near{background:var(--warning)}.budget-bar-over{background:var(--negative)}.budget-edit{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.budget-edit input{width:100px}.focus-chip{background:var(--border);border-radius:999px;align-self:flex-start;align-items:center;gap:6px;margin-bottom:10px;padding:4px 6px 4px 12px;display:inline-flex}.focus-chip button{color:var(--text);background:0 0;padding:0 6px}.page-actions{justify-content:flex-end;margin-bottom:12px;display:flex}.add-kinds{gap:8px;display:grid}.add-embedded .card{box-shadow:none;border:0;margin:0;padding:0}.add-embedded .card h2{display:none}.loan-schedule{margin-top:12px}.loan-schedule summary{cursor:pointer;margin-bottom:8px;font-weight:600}label.checkbox-row{color:var(--text);flex-direction:row;align-items:center;gap:10px;font-size:15px}.more-group{flex-direction:column;display:flex}.more-group-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;padding:10px 12px 2px;font-size:11px;font-weight:600}.more-sheet .more-group-label{padding:14px 20px 4px}.mobile-top .search-link{align-self:center;margin-left:auto}.search-box{width:100%;margin-bottom:12px;font-size:17px}.search-group h3{margin:16px 0 6px}.search-list{margin:0;padding:0;list-style:none}.search-hit{border-bottom:1px solid var(--border);color:var(--text);text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 2px;text-decoration:none;display:flex}.search-hit-label{font-weight:600;display:block}.search-hit-detail{font-size:13px;display:block}.receipt-panel{border-top:1px solid var(--border);flex-direction:column;gap:8px;margin-top:16px;padding-top:12px;display:flex}.receipt-thumb{border:1px solid var(--border);object-fit:contain;border-radius:8px;max-width:100%;max-height:220px;display:block}.receipt-actions{gap:8px;display:flex}button.receipt-open,button.receipt-clip{color:inherit;background:0 0;border:none;align-self:flex-start;padding:0}button.receipt-clip{font-size:inherit;padding:2px 4px}.modal.receipt-modal{max-width:900px}.receipt-full{width:100%;height:auto;display:block}.alert-confirm{margin:6px 0 4px;display:block}.summary-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;display:flex}.summary-controls .calendar-seg{width:auto}.summary-dates{font-size:13px;font-weight:400}@media print{.nav,.mobile-top,.tab-bar,.no-print{display:none!important}body,.app-scroll{color:#000!important;background:#fff!important;height:auto!important;overflow:visible!important}.card{break-inside:avoid;box-shadow:none!important}}.passkey-signin{flex-direction:column;align-items:center;gap:8px;margin-top:12px;display:flex}.tax-tag-panel{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.chip-row{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}button.chip{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:999px;padding:4px 12px;font-size:13px}button.chip.active{background:var(--accent);border-color:var(--accent);color:var(--accent-contrast)}.tag-line{font-size:12px}.what-if-option{border:1px solid var(--border);box-sizing:border-box;border-radius:8px;width:100%;min-width:0;margin:8px 0;padding:4px 12px 8px}.what-if-option legend{padding:0 4px;font-size:13px;font-weight:600}.what-if-table td.what-if-better{color:var(--positive);font-weight:600}label.inline-check{flex-direction:row;align-items:flex-start;gap:8px;display:flex}label.inline-check input{width:auto}tr.planned-row td{font-style:italic}.setup-command{background:var(--bg);border:1px solid var(--border);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px;padding:8px;font-size:12px}.raw-note{overflow-wrap:anywhere;font-size:12px}.merchant-rename{margin:-4px 0 8px}.budget-carried{font-size:12px}tr.selected-row td{background:var(--bg)}a.trend-link{text-decoration:none}@media (width<=640px){table.trends-months{font-size:13px}table.trends-months th,table.trends-months td{padding-left:4px;padding-right:4px}}.copy-banner{background:var(--warning);color:var(--on-color);text-align:center;padding:6px 16px;font-size:13px}.copy-banner a{color:var(--on-color);text-decoration:underline}.duplicate-warning{border:1px solid;border-radius:8px;grid-column:1/-1;margin:.5rem 0;padding:.6rem .8rem;display:block}.duplicate-warning p{margin:0 0 .3rem}.duplicate-warning ul{margin:0 0 .5rem;padding-left:1.2rem}.auto-fill-notice button{margin-left:.25rem}button.merchant-link{min-height:0;color:inherit;font:inherit;text-align:inherit;text-underline-offset:3px;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:0;padding:0;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}@media (width<=640px){button.merchant-link,.raw-note{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}.merchant-details-name{overflow-wrap:anywhere;margin:0 0 8px;font-size:18px;font-weight:600}.merchant-details-text{overflow-wrap:anywhere;margin:0 0 12px}.merchant-details-facts{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 16px;margin:0 0 12px;display:grid}.merchant-details-facts dt{font-size:12px}.merchant-details-facts dd{overflow-wrap:anywhere;margin:0}.merchant-details-history{margin:0 0 16px;padding-left:18px}.merchant-details-history li{margin-bottom:4px}.profile-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;display:grid}button.profile-option{border:2px solid var(--border);background:var(--surface);color:var(--text);text-align:left;border-radius:10px;flex-direction:column;align-items:stretch;gap:8px;padding:10px;display:flex}button.profile-option.selected{border-color:var(--accent)}button.profile-option:disabled{opacity:1;cursor:progress}.profile-preview{background:var(--bg);border-radius:6px;padding:10px;display:block}.profile-preview-card{background:var(--surface);color:var(--text);border-radius:6px;align-items:center;gap:8px;padding:8px;display:flex}.profile-preview-bar{background:var(--accent);border-radius:4px;width:28px;height:14px}.profile-preview-line{flex:1;font-weight:600}.profile-preview-dots{gap:4px;display:flex}.profile-preview-dots span{border-radius:50%;width:10px;height:10px}.profile-label{flex-wrap:wrap;align-items:baseline;display:flex}.profile-current{color:var(--accent);font-size:13px}.profile-note{flex-basis:100%;font-size:12px}.calendar-item-name button.merchant-link{white-space:normal}
