/* V6.5 desktop: only category analysis and credit-card content hierarchy. */
.interactive-category-chart{align-items:start!important;gap:24px!important;grid-template-columns:minmax(160px,220px) minmax(0,1fr)!important}
.category-plot{min-width:0}.category-plot svg{width:100%;max-width:240px;display:block;margin:auto;overflow:visible}.category-segment{cursor:pointer;transition:opacity .16s,stroke-width .16s;outline:none}.category-segment.category-highlight,.category-segment:focus{stroke-width:38}.category-muted{opacity:.35}.category-hover-label{min-height:48px;margin:8px 0 0;text-align:center;font-size:13px;overflow-wrap:anywhere;color:var(--muted)}
.complete-legend{display:grid!important;grid-template-columns:minmax(0,1fr);gap:4px!important;max-height:none!important;overflow:visible!important}.complete-legend>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 8px;padding:5px 8px;border-radius:8px;transition:opacity .16s,background .16s;outline-offset:2px}.complete-legend .legend-name{grid-column:auto;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}.complete-legend strong{font-size:12px!important;white-space:nowrap}.complete-legend small{white-space:nowrap}.complete-legend .category-highlight,.analysis-rank.category-highlight{background:var(--green-50);outline:1px solid var(--accent)}
html[data-theme=dark] .complete-legend .category-highlight,html[data-theme=dark] .analysis-rank.category-highlight{background:#153b2a}.analysis-rank{transition:opacity .16s,background .16s}
.bank-card .bank-card-face{gap:8px!important}.bank-card-face .bank-card-label{font-size:16px;font-weight:750;letter-spacing:0;opacity:1;text-align:right;line-height:1.2;max-width:75%;overflow-wrap:anywhere}.bank-card .credit-card-value{width:100%;text-align:center;gap:4px}.bank-card .credit-card-value strong{font-size:clamp(22px,2.1vw,28px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.2}.bank-card .invoice-split span{text-align:center;min-width:0}.bank-card .invoice-split b{font-size:15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bank-card .progress{margin:4px 0 0}.bank-card .bank-card-limit{margin:0;text-align:center;line-height:1.3;width:100%}.bank-card .card-detail-hint{margin-top:auto;align-self:center}
@media(max-width:1200px){.interactive-category-chart{grid-template-columns:1fr!important}}
@media(max-width:600px){.complete-legend{grid-template-columns:1fr}.bank-card .credit-card-value strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.category-segment,.complete-legend>div,.analysis-rank{transition:none}}
