/* A quiet home: one balance, one next action, then the month and accounts. */
.home-page{max-width:1080px;margin-inline:auto;display:flex;flex-direction:column;gap:24px;min-width:0}
.home-balance-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:4px 2px 0;background:none;border:0;box-shadow:none;min-width:0}
.home-balance-copy{min-width:0;flex:1;container-type:inline-size}
.home-account-selector{display:inline-flex;align-items:center;gap:9px;min-height:36px;padding:0;background:none;border:0;color:var(--muted);max-width:100%;font-size:12px;text-align:right}
.home-account-selector>b{font-size:13px;font-weight:500;color:var(--text);white-space:nowrap}
.home-account-selector>span{font-size:11px;color:var(--muted);white-space:nowrap}
.home-account-selector>svg{width:16px;height:16px;flex-shrink:0;color:var(--violet)}
.home-account-selector>svg:last-child{width:12px;height:12px;color:var(--subtle)}
.home-balance{display:flex;align-items:baseline;gap:10px;margin:3px 0 5px;font-size:40px;font-weight:700;line-height:1.45;letter-spacing:0;white-space:nowrap;color:var(--text)}
.home-balance-value{font-size:clamp(22px,11cqi,40px);font-variant-numeric:tabular-nums;letter-spacing:0}
.home-balance>small{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}
.home-balance-meta{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;color:var(--muted);font-size:11px;line-height:1.9;min-height:28px}
.home-balance-meta>svg{width:13px;height:13px;color:var(--green);flex-shrink:0}
.home-balance-meta.stale>svg{color:var(--amber)}
.home-balance-meta>time{font-variant-numeric:tabular-nums;color:var(--subtle)}
.home-balance-refresh{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:9px;background:transparent;color:var(--subtle);flex-shrink:0}
.home-balance-refresh>svg{width:14px;height:14px}
.home-balance-refresh:hover{color:var(--violet);background:#b89ad20e}
.home-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:11px;flex-shrink:0;padding-top:8px}
.home-heading-actions>.button{min-height:42px;padding:9px 15px;font-size:12px;border-radius:12px}
.home-date{font-size:11px;color:var(--subtle);font-variant-numeric:tabular-nums;line-height:1.8}
.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:11px;min-height:30px}
.home-section-heading>h2{font-size:13px;font-weight:500;color:var(--muted)}
.home-section-heading>.text-link{min-height:30px;font-size:11px;gap:7px}
.home-section-heading>.text-link>svg{width:14px;height:14px}
.home-dues-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-due{position:relative;text-align:right;padding:16px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(120deg,#b89cd909,transparent 65%),#b3a5cb04;box-shadow:inset 0 1px 0 #e5d2f30c;color:var(--text);min-width:0;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}
.home-due-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.home-due-label>svg{width:15px;height:15px;color:var(--rose)}
.home-due.receivable .home-due-label>svg{color:var(--green)}
.home-due-value{grid-column:2;grid-row:1 / span 2;display:flex;align-items:baseline;gap:7px;font-size:25px;font-weight:500;line-height:1.5;white-space:nowrap;font-variant-numeric:tabular-nums}
.home-due-value>small{font-size:10px;font-weight:400;color:var(--subtle)}
.home-due-caption{font-size:11px;color:var(--subtle);line-height:1.7}
.home-due>.home-due-arrow{display:none}
.home-followup{display:flex;align-items:center;gap:14px;padding:17px 20px;border:1px solid #c5a87328;border-radius:16px;background:linear-gradient(125deg,#bf986c09,#b294cc04);position:relative;isolation:isolate;min-width:0}
.home-followup-icon{display:grid;place-items:center;width:36px;height:38px;border:1px solid #bca16f2b;border-radius:12px;background:#c1a17308;color:var(--amber);flex-shrink:0}
.home-followup-icon>svg{width:16px;height:16px}
.home-followup>div{flex:1;min-width:0}
.home-followup h2{font-size:13px;font-weight:500;line-height:1.8}
.home-followup p{font-size:12px;line-height:1.9;margin-top:3px;color:var(--muted)}
.home-followup>.button{font-size:11px;min-height:40px;padding:9px 13px;white-space:nowrap;border-color:#c4a7792e;color:var(--amber);flex-shrink:0}
.home-flow.panel{padding:24px;margin:0;border-radius:20px;background:radial-gradient(ellipse at 90% 0,#b39bd00b,transparent 65%),linear-gradient(130deg,#a995bd0b,#a994c505);border-color:#c5b0dc28;box-shadow:inset 0 1px 0 #e4d4f018,0 12px 32px #08041112}
.home-flow .panel-heading{margin-bottom:18px;gap:16px;align-items:center}
.home-flow .panel-heading h2{font-size:16px;font-weight:500;line-height:1.7}
.home-flow .panel-heading p{font-size:11px;color:var(--muted);margin-top:2px}
.home-chart-range{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;padding:4px 9px;font-size:11px;color:var(--muted);white-space:nowrap;background:var(--glass-dark)}
.home-chart-totals{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:12px}
.home-chart-totals>span{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);white-space:nowrap}
.home-chart-totals b{font-size:14px;font-weight:500;color:var(--text);font-variant-numeric:tabular-nums;margin-inline-start:2px}
.home-chart-totals>.small,.home-chart-totals>small{margin-inline-start:auto;font-size:10px;color:var(--subtle)}
.home-flow .chart-flow{min-height:0;margin:0;padding:0}
.home-flow .chart-flow>.chart-legend{display:none}
.home-chart-plot .chart-line{display:block;width:100%;height:auto;max-height:260px;overflow:visible}
.home-chart-plot .chart-axis{font-size:11px}
.home-chart-plot .chart-grid{opacity:.55}
.home-chart-plot .chart-point circle{r:2.5px;opacity:.65}
.home-chart-plot .chart-point:focus circle{r:5px;opacity:1}
.home-chart-plot .chart-readout{font-size:11px;padding:8px 10px;margin-top:5px}
.home-chart-period{display:flex;align-items:center;gap:8px;padding-top:8px;font-size:11px;color:var(--subtle);min-width:0}
.home-chart-period>svg{width:14px;height:14px;flex-shrink:0}
.home-chart-period>span:last-child{margin-inline-start:auto;font-size:10px}
.home-report-button{width:100%;display:flex;align-items:center;gap:13px;padding:16px 20px;margin-top:-10px;border:1px solid #baa1d03b;border-radius:15px;background:linear-gradient(110deg,#b194d210,transparent 70%);box-shadow:inset 0 1px 0 #d3b4ec15;color:var(--text);text-align:right;min-height:72px}
.home-report-symbol{display:grid;place-items:center;flex-shrink:0;width:36px;height:38px;border-radius:11px;border:1px solid #b69ad029;color:var(--violet);background:#b69ad007}
.home-report-symbol>svg{width:18px;height:18px}
.home-report-button>span:nth-child(2){flex:1;min-width:0}
.home-report-button b{display:block;font-size:14px;font-weight:500;line-height:1.7;white-space:nowrap}
.home-report-button small{display:block;font-size:11px;color:var(--muted);margin-top:2px;line-height:1.8}
.home-report-button>svg{width:18px;height:18px;color:var(--violet);flex-shrink:0}
.home-accounts.panel{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.home-accounts.panel::before,.home-accounts.panel::after{display:none}
.home-accounts .panel-heading{align-items:center;margin-bottom:14px}
.home-accounts .panel-heading h2{font-size:15px;font-weight:500}
.home-accounts .panel-heading p{font-size:11px}
.home-accounts .panel-heading>.text-link{font-size:11px;min-height:32px}
.home-accounts .bank-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.home-accounts .bank-card,.home-accounts .compact .bank-card:nth-child(2){min-height:0;padding:18px 20px;border-radius:17px;background:linear-gradient(125deg,#ba9fd90e,transparent 70%),var(--glass-dark);border:1px solid #baa6d32d;box-shadow:inset 0 1px 0 #d1b7eb17;color:var(--text);overflow:hidden}
.home-accounts .bank-card:before,.home-accounts .bank-card:after{display:none}
.home-accounts .bank-1{background:linear-gradient(125deg,#93b3d70a,transparent 70%),var(--glass-dark);border-color:#9ab9d12d}
.home-accounts .card-top{gap:8px;align-items:center}
.home-accounts .card-chip{display:none}
.home-accounts .bank-brand{font-size:12px;gap:7px;line-height:1.7}
.home-accounts .bank-brand>svg{width:16px;height:16px;color:var(--violet)}
.home-accounts .card-balance,.home-accounts .compact .bank-card:nth-child(2) .card-balance{padding:12px 0 9px}
.home-accounts .card-balance>small{font-size:10px;color:var(--subtle)}
.home-accounts .card-balance>strong{display:flex;align-items:baseline;gap:7px;font-size:24px;font-weight:500;line-height:1.6;letter-spacing:0;white-space:nowrap}
.home-accounts .card-balance em{font-size:10px;font-style:normal;color:var(--subtle);font-weight:400}
.home-accounts .card-bottom,.home-accounts .compact .bank-card:nth-child(2) .card-bottom{display:flex;font-size:10px;color:var(--muted)}
.home-accounts .card-bottom>span:first-child{display:none}
.home-accounts .card-bottom>span:last-child{width:100%;justify-content:space-between;display:flex;align-items:center}
.home-accounts .card-bottom svg{width:14px;height:14px;color:var(--subtle)}
.home-updates{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:24px;align-items:start}
.home-recent.panel{padding:20px 0 4px;margin:0;background:#b2a0cc04;border-color:var(--line);box-shadow:none;border-radius:18px;min-width:0}
.home-recent .panel-heading{padding-inline:20px;margin-bottom:14px;align-items:center}
.home-recent .panel-heading h2{font-size:14px;font-weight:500}
.home-recent .panel-heading p{display:none}
.home-recent .panel-heading>.text-link{font-size:11px;min-height:32px}
.home-recent .transaction-table th{display:none}
.home-recent .transaction-table td{padding-block:14px}
.home-recent .transaction-table td:first-child{padding-inline-start:18px}
.home-recent .transaction-table td:last-child{padding-inline-end:14px}
.home-recent .transaction-table td:nth-child(2),.home-recent .transaction-table .date-cell{display:none}
.home-recent .tx-name{gap:10px}
.home-recent .tx-name b{font-size:12px;font-weight:500}
.home-recent .tx-name small{font-size:11px;max-width:170px}
.home-recent .tx-icon{width:32px;height:36px;border-radius:11px}
.home-recent .tx-icon>svg{width:16px;height:16px}
.home-recent .note-status{font-size:10px}
.home-recent .amount-cell{font-size:13px;white-space:nowrap}
.home-insight{display:flex;align-items:flex-start;gap:12px;padding:20px 4px;border-top:1px solid var(--line)}
.home-insight>span{display:grid;place-items:center;width:30px;height:32px;flex-shrink:0;color:var(--violet)}
.home-insight>span>svg{width:19px;height:19px}
.home-insight>div{min-width:0}
.home-insight small{font-size:11px;color:var(--subtle)}
.home-insight h2{font-size:14px;font-weight:500;line-height:1.9;margin:6px 0}
.home-insight p{font-size:12px;line-height:2;color:var(--muted)}
.home-insight .text-link{font-size:11px;margin-top:10px;min-height:38px}
.home-page button:focus-visible{outline:2px solid var(--violet);outline-offset:4px}
[data-theme=light] .home-flow.panel{background:linear-gradient(130deg,#fff9,#f4eff74d);border-color:#ac94c23d;box-shadow:inset 0 1px 0 #fff,0 10px 30px #77638d06}
[data-theme=light] .home-due{background:linear-gradient(120deg,#fff7,#b9a0d408);border-color:#ac94c230;box-shadow:inset 0 1px 0 #fff9}
[data-theme=light] .home-report-button{background:linear-gradient(110deg,#aa8bc415,#fff5);border-color:#a789c442}
[data-theme=light] .home-accounts .bank-card{background:linear-gradient(125deg,#fff9,#bb9bd20b);border-color:#ac94c23d}
[data-theme=light] .home-followup{background:linear-gradient(125deg,#c9aa7310,#fff4);border-color:#b393663d}
@media(hover:hover){.home-due:hover,.home-report-button:hover{border-color:#ba9dd05e;background-color:#b199cb0a}.home-account-selector:hover>b{color:var(--violet)}}
@media(max-width:1050px){.home-updates{grid-template-columns:1fr}.home-insight{padding:18px 4px}.home-due{grid-template-columns:1fr}.home-due-value{grid-column:1;grid-row:auto;gap:7px;font-size:25px}.home-due-caption{font-size:11px}.home-due>.home-due-arrow{display:block;position:absolute;left:18px;top:18px;width:15px;height:15px;color:var(--subtle)}}
@media(max-width:720px){.home-page{gap:20px}.home-balance-header{gap:14px;padding:0}.home-account-selector{gap:7px;min-height:32px}.home-account-selector>b{font-size:12px}.home-account-selector>span{font-size:10px}.home-account-selector>svg{width:14px;height:14px}.home-balance{margin:2px 0 5px;gap:8px;line-height:1.4}.home-balance-value{font-size:clamp(21px,12cqi,34px)}.home-balance>small{font-size:11px}.home-balance-meta{font-size:10px;gap:4px 6px;max-width:100%}.home-balance-meta>time{flex-basis:calc(100% - 25px);margin-inline-start:19px;font-size:10px}.home-balance-refresh{width:26px;height:26px;margin-inline-start:-5px}.home-heading-actions{padding-top:5px;gap:9px}.home-heading-actions>.button{min-height:40px;padding:9px 12px;font-size:11px;gap:6px}.home-heading-actions>.button>svg{width:15px;height:15px}.home-date{font-size:10px}.home-section-heading{margin-bottom:9px}.home-section-heading>h2{font-size:12px}.home-section-heading>.text-link{font-size:10px}.home-dues-pair{gap:12px}.home-due{padding:13px 16px;border-radius:14px;gap:3px}.home-due-label{font-size:12px;gap:6px}.home-due-label>svg{width:14px;height:14px}.home-due-value{font-size:24px;line-height:1.5;gap:5px}.home-due-value>small{font-size:10px}.home-due-caption{font-size:10px}.home-due>.home-due-arrow{top:14px;left:14px;width:13px;height:13px}.home-followup{padding:14px 16px;gap:10px;flex-wrap:wrap}.home-followup-icon{width:30px;height:34px;border-radius:10px}.home-followup-icon>svg{width:15px;height:15px}.home-followup>div{flex-basis:calc(100% - 44px)}.home-followup h2{font-size:12px;line-height:1.8}.home-followup p{font-size:11px;line-height:1.8;margin-top:3px}.home-followup>.button{margin-inline-start:40px;min-height:36px;font-size:10px;padding:8px 11px;gap:6px}.home-followup>.button>svg{width:13px;height:13px}.home-flow.panel{padding:18px 16px;border-radius:17px}.home-flow .panel-heading{margin-bottom:13px}.home-flow .panel-heading h2{font-size:14px}.home-flow .panel-heading p{display:none}.home-chart-range{font-size:10px;padding:3px 8px}.home-chart-totals{gap:5px 14px;margin-bottom:10px;align-items:flex-start}.home-chart-totals>span{font-size:10px;gap:5px;flex-wrap:wrap}.home-chart-totals b{font-size:12px;display:inline;margin-inline-start:0}.home-chart-totals>small{font-size:9px}.home-chart-plot .chart-line{max-height:225px}.home-chart-plot .chart-axis{font-size:10px}.home-chart-period{font-size:10px;gap:6px;padding-top:4px}.home-chart-period>svg{width:12px;height:12px}.home-chart-period>span:last-child{font-size:9px}.home-report-button{padding:13px 16px;border-radius:14px;gap:11px;min-height:68px;margin-top:-8px}.home-report-symbol{width:32px;height:36px;border-radius:10px}.home-report-symbol>svg{width:16px;height:16px}.home-report-button b{font-size:13px}.home-report-button small{font-size:10px}.home-report-button>svg{width:16px;height:16px}.home-accounts .panel-heading{margin-bottom:12px;gap:10px}.home-accounts .panel-heading h2{font-size:14px}.home-accounts .panel-heading p{display:none}.home-accounts .panel-heading>.text-link{font-size:10px}.home-accounts .bank-cards{gap:12px}.home-accounts .bank-card,.home-accounts .compact .bank-card:nth-child(2){padding:14px 16px;border-radius:14px}.home-accounts .bank-brand{font-size:11px;gap:5px}.home-accounts .bank-brand>svg{width:14px;height:14px}.home-accounts .card-balance,.home-accounts .compact .bank-card:nth-child(2) .card-balance{padding:10px 0 7px}.home-accounts .card-balance>small{font-size:9px}.home-accounts .card-balance>strong{font-size:20px;display:block;line-height:1.65}.home-accounts .card-balance em{display:block;font-size:9px;line-height:1.4}.home-accounts .card-bottom{margin-top:2px;font-size:9px}.home-updates{gap:16px}.home-recent.panel{padding-top:16px;border-radius:16px}.home-recent .panel-heading{padding-inline:16px;margin-bottom:9px;gap:8px}.home-recent .panel-heading h2{font-size:13px}.home-recent .panel-heading>.text-link{font-size:10px}.home-recent .transaction-table td{padding-block:13px}.home-recent .tx-name{gap:8px}.home-recent .tx-name small{max-width:115px}.home-recent .tx-name b{font-size:11px}.home-recent .tx-name small{font-size:10px}.home-recent .tx-icon{display:none}.home-recent .note-status{font-size:9px}.home-recent .amount-cell{font-size:12px}.home-recent .transaction-table td:first-child{padding-inline-start:16px}.home-recent .transaction-table td:last-child{padding-inline-end:10px}.home-insight h2{font-size:13px}.home-insight p{font-size:11px}}
@media(max-width:370px){.home-balance-header{gap:10px}.home-heading-actions>.button{padding:8px 10px;font-size:10px}.home-account-selector>span{display:none}.home-account-selector{gap:6px}.home-balance-value{font-size:clamp(20px,12cqi,30px)}.home-due{padding:12px 13px}.home-due-value{font-size:21px}.home-due-value>small{font-size:9px}.home-followup{padding:13px 14px}.home-chart-totals{gap:5px 10px}.home-chart-totals>span{font-size:10px}.home-chart-totals b{font-size:11px}.home-chart-totals>small{display:none}.home-chart-period>span:last-child{display:none}.home-accounts .bank-card,.home-accounts .compact .bank-card:nth-child(2){padding:13px}.home-accounts .card-balance>strong{font-size:18px}.home-report-button small{font-size:9px}.home-recent .amount-cell{font-size:11px}.home-recent .tx-name small{max-width:94px}.home-recent .row-actions{gap:0}.home-recent .row-note,.home-recent .row-menu{min-width:30px;min-height:38px}}
