.cash-charts-section { margin:26px 0 24px; --cash-chart-1:var(--chart-fact); --cash-chart-2:#bd8a29; --cash-chart-3:#418d91; --cash-chart-4:#9473b1; --cash-chart-5:#8893a3; }
.contract-analytics-section { margin:0 0 30px; }
.cash-charts-heading { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:8px 20px; margin:0 2px 14px; }
.cash-charts-heading h2 { font-size:17px; color:var(--ink); }
.cash-charts-heading p { font-size:12px; color:var(--muted); }
.cash-charts, .contract-analytics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:stretch; }
.overview-chart-card { min-width:0; padding:24px; margin:0; display:grid; grid-template-rows:auto 1fr auto; row-gap:22px; }
.overview-chart-header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; min-height:58px; }
.overview-chart-header h3 { margin:0 0 7px; font-size:17px; color:var(--ink); }
.overview-chart-header p { font-size:11px; color:var(--muted); line-height:1.6; }
.overview-chart-header > strong { font-size:21px; line-height:1.4; color:var(--ink); font-variant-numeric:tabular-nums; text-align:right; overflow-wrap:anywhere; }
.overview-chart-header > strong > span { font-size:14px; color:var(--muted); font-weight:500; }
.overview-chart-body { min-width:0; min-height:190px; }
.cash-chart-body { display:flex; align-items:flex-start; gap:26px; }
.cash-donut { position:relative; width:170px; aspect-ratio:1; border-radius:50%; flex:0 0 170px; background:var(--line); }
.cash-donut-center { position:absolute; inset:19px; background:var(--paper); border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; color:var(--ink); }
.cash-donut-center strong { font-size:29px; line-height:1.3; }
.cash-donut-center > span { font-size:11px; color:var(--muted); text-align:center; max-width:110px; padding:0 5px; line-height:1.5; }
.cash-chart-legend { min-width:0; flex:1; list-style:none; padding:0; margin:0; }
.cash-chart-legend > li + li { border-top:1px solid var(--line); }
.cash-chart-row { width:100%; display:grid; grid-template-columns:9px minmax(0,1fr) auto; gap:5px 9px; padding:11px 0; align-items:center; text-align:left; border:0; border-radius:5px; background:transparent; color:var(--ink); font:inherit; }
button.cash-chart-row { cursor:pointer; min-height:54px; }
button.cash-chart-row:hover { background:var(--soft); }
.cash-chart-swatch { width:9px; height:9px; border-radius:50%; }
.cash-chart-label { font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.cash-chart-share { font-size:11px; color:var(--muted); font-variant-numeric:tabular-nums; }
.cash-chart-row > strong { grid-column:2 / 4; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.cash-chart-row > strong > span { font-size:11px; font-weight:500; color:var(--muted); }
.cash-chart-arrow { display:none; }
.overview-chart-footer { margin:0; padding-top:14px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; line-height:1.7; }
.contract-chart-footer { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:flex-start; gap:8px 15px; }
.contract-history-body .chart-container { padding:0; }
.contract-history-body .chart-svg { height:228px; }
.overview-chart-header .legend { margin-top:4px; flex-shrink:0; }
.contract-analytics .cash-donut { flex-shrink:0; }
@supports(grid-template-rows:subgrid) {
 .cash-charts, .contract-analytics { row-gap:22px; }
 .overview-chart-card { grid-row:span 3; grid-template-rows:subgrid; }
}
.cash-chart-empty { color:var(--muted); font-size:13px; line-height:1.8; }
.cash-detail-pagination { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:16px; font-size:12px; color:var(--muted); }
.cash-detail-pagination > div { display:flex; align-items:center; gap:10px; }
@media(min-width:1800px) { .cash-donut { width:190px; flex-basis:190px; } .cash-chart-body { gap:32px; } }
@media(max-width:1250px) and (min-width:1101px) { .overview-chart-header { flex-direction:column; gap:8px; } .overview-chart-header > strong { text-align:left; } .cash-chart-body { flex-direction:column; align-items:center; gap:20px; } .cash-chart-legend,.cash-chart-empty { width:100%; } }
@media(max-width:1100px) { .cash-charts, .contract-analytics { grid-template-columns:1fr; } .overview-chart-card { grid-row:auto; grid-template-rows:auto 1fr auto; } }
@media(max-width:500px) { .overview-chart-card { padding:20px; } .overview-chart-header { flex-direction:column; gap:8px; min-height:0; } .overview-chart-header > strong { text-align:left; font-size:22px; } .cash-chart-body { flex-direction:column; align-items:center; gap:20px; } .cash-chart-legend,.cash-chart-empty { width:100%; } .cash-charts-heading p { line-height:1.6; } }
@media print { .cash-charts, .contract-analytics { grid-template-columns:1fr 1fr; } .overview-chart-card { break-inside:avoid; } .cash-donut { print-color-adjust:exact; -webkit-print-color-adjust:exact; } }
