.chart-card{border:1px solid var(--line);background:#fff;border-radius:11px;flex-direction:column;gap:10px;min-width:0;padding:18px 20px 16px;display:flex;position:relative}.chart-card.compact{border-color:#d5e4d7;gap:8px;padding:12px 12px 10px}.chart-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.chart-head h3{letter-spacing:-.2px;color:var(--ink);margin:0;font:600 15px Space Grotesk,sans-serif}.chart-card.compact .chart-head h3{font-size:13px}.chart-head p{color:var(--muted);margin:4px 0 0;font-size:11px}.chart-table-toggle{height:28px;color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:7px;flex-shrink:0;align-items:center;gap:5px;padding:0 9px;font-size:11px;display:inline-flex}.chart-table-toggle:hover,.chart-table-toggle.active{color:var(--green);background:var(--soft-green);border-color:#c4d8c9}.chart-legend{color:#52514e;flex-wrap:wrap;gap:6px 14px;font-size:11px;display:flex}.chart-legend span{align-items:center;gap:6px;display:inline-flex}.chart-legend i{border-radius:1px;width:14px;height:2px}.chart-body{min-height:60px;position:relative}.chart-body svg{display:block;overflow:visible}.chart-grid{stroke:#eef1ee;stroke-width:1px}.chart-axis{stroke:#d8dfda;stroke-width:1px}.chart-crosshair{stroke:#b9c4bd;stroke-width:1px}.chart-reference{stroke:#52514e;stroke-width:1px}.chart-reference-label{fill:#52514e;font-size:10px;font-weight:600}.chart-tick{fill:#8b958f;font-variant-numeric:tabular-nums;font-size:10px}.chart-category{fill:#52514e;font-size:11px}.chart-value{fill:var(--ink);font-variant-numeric:tabular-nums;font-size:10px;font-weight:600}.chart-end-label{fill:#52514e;font-size:10px;font-weight:600}.chart-empty{color:var(--muted);text-align:center;margin:18px 0;font-size:12px}.chart-tooltip{z-index:2;pointer-events:none;border:1px solid var(--line);background:#fff;border-radius:8px;flex-direction:column;gap:4px;min-width:130px;max-width:220px;padding:8px 10px;font-size:11px;display:flex;position:absolute;box-shadow:0 8px 24px #203c2b24}.chart-tooltip-title{color:var(--muted)}.chart-tooltip-row{color:#52514e;align-items:center;gap:6px;display:flex}.chart-tooltip-row b{color:var(--ink);font-variant-numeric:tabular-nums}.chart-tooltip-row i{border-radius:1px;flex-shrink:0;width:12px;height:2px}.chart-table-wrap{max-height:260px;overflow:auto}.chart-table{border-collapse:collapse;width:100%;font-size:11px}.chart-table th{color:var(--muted);text-align:left;border-bottom:1px solid var(--line);background:#fff;padding:6px 8px;font-weight:600;position:sticky;top:0}.chart-table td{font-variant-numeric:tabular-nums;border-bottom:1px solid #f0f3f0;padding:6px 8px}.chart-table td:not(:first-child),.chart-table th:not(:first-child){text-align:right}
