.vc-chart,.vc-overview {
  --vc-income:var(--visu-primary); --vc-expense:var(--visu-error);
  --vc-expense-tint:var(--visu-error-bg); --vc-expense-ink:var(--visu-on-error);
  --vc-fill:var(--visu-action-soft); --vc-rule:var(--visu-divider); --vc-muted:var(--visu-muted);
  display:block; min-width:0; width:100%; text-align:left; font-variant-numeric:tabular-nums;
}
.vc-chart { margin:1rem auto; max-width:60rem }
.vc-chart.vc-compact { margin:.65rem 0 .55rem; max-width:none }
.vc-chart svg { display:block; width:100%; height:auto; max-height:18rem; overflow:visible }
.vc-chart .vc-guide { fill:none; stroke:var(--vc-rule); stroke-width:1; stroke-dasharray:2 5; vector-effect:non-scaling-stroke }
.vc-chart .vc-line { fill:none; stroke-width:2.5; stroke-linejoin:round; stroke-linecap:round; vector-effect:non-scaling-stroke }
.vc-chart .vc-line.income { stroke:var(--vc-income) }
.vc-chart .vc-line.expense { stroke:var(--vc-expense); stroke-dasharray:6 4 }
.vc-chart .vc-fill.income { fill:var(--vc-fill) }
.vc-chart .vc-fill.expense { fill:var(--vc-expense); fill-opacity:.10 }
.vc-chart .vc-end.income { fill:var(--vc-income) }
.vc-chart .vc-end.expense { fill:var(--vc-expense) }
.vc-chart .vc-legend,.vc-axis,.vc-totals { display:flex; align-items:center; gap:.55rem; font-size:.78rem }
.vc-chart .vc-legend { justify-content:flex-end; gap:1.1rem; margin-bottom:.4rem }
.vc-chart .vc-legend>span {display:inline-flex; align-items:center; gap:.35rem}
.vc-chart .vc-legend>span:before {content:""; width:1.4rem; border-top:2px solid var(--vc-income)}
.vc-chart .vc-legend .expense:before {border-color:var(--vc-expense);border-top-style:dashed}
.vc-axis { justify-content:space-between; color:var(--vc-muted); font-size:.7rem; font-weight:500; margin-top:.2rem }
.vc-axis.single { justify-content:center }
.vc-overview+.vc-overview { margin-top:.75rem }
.vc-totals {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid var(--vc-rule); padding-top:.7rem }
.vc-total { display:flex; align-items:center; gap:.45rem; min-width:0 }
.vc-total>span:last-child { min-width:0 }
.vc-total-label,.vc-currency { display:block; color:var(--vc-muted); font-size:.72rem; font-weight:500 }
.vc-total strong { display:block; font-size:clamp(.78rem,1.1vw,.98rem); font-weight:650; overflow-wrap:anywhere }
.vc-arrow { display:inline-grid; flex:none; place-items:center; width:1.7rem; height:1.7rem; border-radius:8px; font-weight:700 }
.vc-arrow.income { background:var(--visu-action-soft); color:var(--visu-on-action-soft) }
.vc-arrow.expense { background:var(--vc-expense-tint); color:var(--vc-expense-ink) }
.vc-empty { display:block; padding:.8rem 0; color:inherit; font-size:.88rem }
.vis-ui .vsn .vsn-summary-open>.vc-overview {grid-column:1/-1;min-width:0;align-self:stretch}
.vis-ui .vsn .vsn-summary-open:has(.vc-overview) {padding-bottom:1rem}
.vis-ui .vsn .vsn-summary-open:has(.vc-overview) .vsn-tile-arrow {inset:1.15rem 1.1rem auto auto}
.vis-ui .vsn .vsn-summary-open:has(.vc-overview) .vsn-mark-stack {margin-inline-end:2.8rem}
.vc-total-label:before {content:"";display:inline-block;vertical-align:middle;width:.85em;margin-right:.3em;border-top:2px solid var(--vc-income)}
.vc-total:nth-child(2) .vc-total-label:before {border-top:2px dashed var(--vc-expense)}

.vc-totals {display:flex;flex-wrap:wrap;align-items:start;row-gap:.65rem}
.vc-totals .vc-total {flex:1 0 max-content;max-width:100%}
.vc-totals .vc-total strong {white-space:normal;overflow-wrap:anywhere;word-break:normal}
.vsn-product-switch{display:flex;gap:.3rem;align-items:center;width:max-content;padding:.25rem;border-radius:14px;background:var(--finance-rail)}
.vsn-product-switch a{padding:.5rem .9rem;text-decoration:none;color:var(--finance-muted);border-radius:10px}
.vsn-product-switch a[aria-current]{background:var(--finance-panel);color:var(--finance-accent)}
.vis-ui .vsn .vsn-period-button {position:relative;isolation:isolate}
.vis-ui .vsn .vsn-period-button[aria-pressed=true]{background:transparent;box-shadow:none;border-color:transparent}
.vis-ui .vsn .vsn-period-button[aria-pressed=true]::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--finance-panel);box-shadow:0 2px 7px rgb(26 52 110 / 14%)}

.vc-data {min-width:0}
.vc-data summary {width:fit-content;min-height:44px;padding-block:10px;color:var(--visu-primary);cursor:pointer;font-size:.875rem}
.vc-data div {max-width:100%;overflow-x:auto}
.vc-data table {width:100%;border-collapse:collapse;background:var(--visu-surface);font-variant-numeric:tabular-nums;font-size:.875rem}
.vc-data :is(th,td) {padding:8px;text-align:end;border-bottom:1px solid var(--visu-divider)}
.vc-data tr :first-child {text-align:start}
