.dash-action{background:var(--forest);color:#fff;white-space:nowrap;border-radius:10px;padding:14px 20px;font-size:14px;font-weight:600;text-decoration:none}.insight-toolbar{border:1px solid var(--line);background:#fff;border-radius:14px;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:26px 0;padding:18px;display:flex}.insight-toolbar label{color:var(--muted);margin:0;font-size:12px}.insight-select{min-width:190px}.insight-select label{margin-bottom:7px;display:block}.insight-toolbar select,.insight-toolbar input{background:var(--paper);height:44px}.insight-toolbar .refresh-icon{border-radius:10px;flex-shrink:0;place-items:center;width:44px;height:44px;padding:0;display:grid}.insight-caption{color:var(--muted);align-self:center;margin-left:auto;font-size:12px}.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.widget h2{margin-bottom:20px}.widget a{margin-top:18px;display:inline-block}.worth-total{letter-spacing:-1px;overflow-wrap:anywhere;font-size:32px;font-weight:700}.worth-flow{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:16px;margin:18px 0;padding:16px 0;display:grid}.worth-flow>div{flex-direction:column;gap:8px;min-width:0;display:flex}.worth-flow span{color:var(--muted);font-size:11px}.worth-flow strong{overflow-wrap:anywhere;font-size:18px}.worth-chart{width:100%;height:auto}.worth-axis{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.worth-values{max-height:200px;margin-top:14px;overflow:auto}.budget-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.budget-dialog{max-height:90dvh;overflow:auto}.budget-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:20px}.budget-card p{color:var(--muted);font-size:12px;line-height:1.6}.budget-card .dash-track{margin:16px 0}.budget-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.budget-actions button{font-size:12px}.widget-budget-list{gap:12px;display:grid}.widget-budget-list:has(>:nth-child(4)){overscroll-behavior:contain;scrollbar-width:thin;max-height:440px;padding-right:4px;overflow-y:auto}.weekly-chart{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.weekly-chart strong{color:var(--muted);font-size:10px;font-weight:500}.weekly-chart span{color:var(--muted);font-size:11px}.weekly-bar-space{justify-content:center;align-items:flex-end;height:160px;margin:8px 0;display:flex}.weekly-bar-space>div{background:#91b66f;border-radius:5px 5px 0 0;width:65%}.recent-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:14px 0;display:flex}.recent-row>div{flex:1;min-width:0}.recent-category{background:color-mix(in srgb, var(--theme-primary) 12%, transparent);max-width:100%;color:var(--theme-primary);text-overflow:ellipsis;white-space:nowrap;vertical-align:top;border-radius:999px;margin-top:6px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-block;overflow:hidden}.recent-category+small{margin-top:4px}.recent-row strong{overflow-wrap:anywhere;font-size:12px}.recent-row small{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.6;display:block}.recent-symbol{background:var(--paper);border-radius:8px;flex-shrink:0;place-items:center;width:28px;height:28px;display:grid}.layout-settings{margin-bottom:24px}.setting-row{border-bottom:1px solid var(--line);align-items:center;gap:8px;padding:8px 0;display:flex}.setting-row label{flex:1;align-items:center;gap:10px;margin:0;font-size:13px;display:flex}.setting-row input,.account-check input{width:16px;height:16px;min-height:0}.setting-row button{padding:6px 12px}.account-check{align-items:center;gap:10px;margin:12px 0;font-size:13px;display:flex}.tx-fields{border:0;min-width:0;margin:0;padding:0}@media (max-width:1000px){.widget-grid{grid-template-columns:1fr}}@media (max-width:650px){.budget-grid{grid-template-columns:1fr}.insight-caption{width:100%;margin:4px 0 0}.insight-select{flex:1}.worth-total{font-size:28px}}.dash-controls{color:var(--muted);flex-wrap:wrap;align-items:center;gap:16px;margin:26px 0;font-size:12px;display:flex}.dash-controls label{align-items:center;gap:12px;margin:0;display:flex}.dash-controls input{background:#fff;width:180px}.dash-metrics{grid-template-columns:1.3fr 1fr 1fr 1fr;gap:16px;display:grid}.dash-metrics article{border:1px solid var(--line);background:#fff;border-radius:18px;flex-direction:column;gap:14px;min-width:0;padding:24px;display:flex}.dash-metrics article>span{color:var(--muted);font-size:12px}.dash-metrics strong{letter-spacing:-.8px;overflow-wrap:anywhere;font-size:clamp(20px,1.8vw,30px)}.dash-metrics small{color:var(--muted);font-size:11px;line-height:1.6}.dash-metrics .dash-balance{background:var(--forest);color:#d9f5bd;border-color:var(--forest)}.dash-balance>span,.dash-balance small{color:#c5d8cd!important}.dash-income{color:#27734e}.dash-expense{color:#b14c43}.dash-insight{background:#eaf2e3;border:1px solid #d9e5cf;border-radius:16px;gap:18px;margin:22px 0;padding:22px 24px;display:flex}.dash-insight-icon{color:var(--forest);font-size:28px}.dash-insight h2{margin:0 0 7px;font-size:16px}.dash-insight p{color:#536557;margin:4px 0;font-size:13px;line-height:1.7}.dash-grid{grid-template-columns:1.2fr 1fr;gap:20px;margin-bottom:20px;display:grid}.dash-panel{border:1px solid var(--line);background:#fff;border-radius:18px;min-width:0;padding:24px}.dash-panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:15px;margin-bottom:24px;display:flex}.dash-panel h2{margin:0 0 6px;font-size:17px}.dash-panel-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.dash-panel a{color:var(--forest);font-size:13px}.dash-legend{color:#27734e;gap:12px;font-size:11px;display:flex}.dash-legend span+span{color:#b14c43}.dash-chart{background:repeating-linear-gradient(0deg,#0000 0 59px,#eef2ed 60px);align-items:flex-end;gap:12px;padding-top:12px;display:flex}.dash-month{text-align:center;flex:1;min-width:0}.dash-month small{white-space:nowrap;color:var(--muted);background:#fff;margin-top:12px;font-size:10px;display:block}.dash-bars{justify-content:center;align-items:flex-end;gap:5px;height:190px;display:flex}.dash-bar{border-radius:5px 5px 0 0;width:24px;max-width:38%}.dash-bar.income{background:#387657}.dash-bar.expense{background:#cc8370}.dash-details{margin-top:22px;font-size:12px}.dash-details summary{cursor:pointer;color:var(--forest)}.dash-table{overflow:auto}.dash-table table{border-collapse:collapse;width:100%;margin-top:14px;font-size:12px}.dash-table th,.dash-table td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 6px}.dash-table caption{text-align:left;color:var(--muted)}.dash-categories{gap:22px;max-height:320px;display:grid;overflow:auto}.dash-category-label{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:9px;font-size:12px;display:flex}.dash-category-label span{color:var(--muted)}.dash-track{background:#edf2e9;border-radius:10px;height:9px;overflow:hidden}.dash-track>div{background:#91b66f;border-radius:10px;height:100%}.dash-accounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.dash-accounts article{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;gap:12px;padding:18px;display:flex}.dash-accounts span{color:var(--muted);font-size:13px}.dash-accounts strong{font-size:20px}.dash-empty{color:var(--muted);padding:30px 0;font-size:13px;line-height:1.8}.dash-footnote{color:var(--muted);margin:20px 0;font-size:11px;line-height:1.8}@media (max-width:1150px){.dash-metrics{grid-template-columns:1fr 1fr}.dash-grid{grid-template-columns:1fr}}@media (max-width:600px){.dash-metrics{grid-template-columns:1fr}.dash-metrics article{padding:20px}.dash-accounts{grid-template-columns:1fr}.dash-panel{padding:18px}.dash-chart{gap:6px}.dash-controls>span{width:100%}.dash-month small{font-size:9px}}.budget-summary{background:var(--card-tint);border-radius:8px;margin-bottom:12px;padding:8px 10px;font-size:12px;container:budget-summary/inline-size}.budget-summary>div{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.budget-summary>div+div{margin-top:6px}.budget-summary h4{font-size:inherit;margin:0}.budget-summary dl,.budget-summary dl>div{flex-wrap:wrap;gap:4px;margin:0;display:flex}.budget-summary dl{gap:4px 12px}.budget-summary dt{color:var(--muted)}.budget-summary dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-weight:700}@container budget-summary (min-width:481px){.budget-summary>div{justify-content:center}}@container budget-summary (max-width:480px){.budget-summary dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.budget-summary dl>div{min-width:0;display:block}.budget-summary dd{margin-top:3px}}
