.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch}
.dashboard-card{min-width:0;overflow:hidden;display:flex;flex-direction:column}
.dashboard-span-3{grid-column:span 3}.dashboard-span-4{grid-column:span 4}.dashboard-span-5{grid-column:span 5}.dashboard-span-6{grid-column:span 6}
.dashboard-unassigned{grid-column:1/-1}
.dashboard-card .panel-header{min-height:62px;padding:16px 20px;border-bottom:0;align-items:center}
.dashboard-card .panel-header h2{font:700 13px/1.4 'DM Sans',sans-serif;color:var(--muted);margin:0}
.dashboard-body{flex:1;min-width:0;display:flex;flex-direction:column}
.dashboard-range{font:500 12px 'DM Sans',sans-serif;padding:7px 24px 7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);max-width:140px;flex-shrink:0;min-height:34px}
.dashboard-range:focus-visible,.dashboard-table-scroll:focus-visible{outline:2px solid var(--cyan);outline-offset:-2px}
.dashboard-value{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 20px 8px}
.dashboard-value strong{font:800 clamp(20px,1.7vw,29px)/1.25 Manrope,sans-serif;color:var(--navy);letter-spacing:-.8px}
.dashboard-change{font-size:11px;font-weight:700;padding:4px 7px;border-radius:6px}
.dashboard-change.positive{color:var(--green);background:#1b9b6f12}.dashboard-change.negative{color:var(--red);background:#d44f5e12}
.dashboard-client-count{padding:12px 22px 32px;display:flex;flex-direction:column;gap:24px;justify-content:center;align-items:flex-start;flex:1}
.dashboard-client-icon{display:grid;place-items:center;width:53px;height:53px;border-radius:16px;background:var(--cyan-soft);color:var(--cyan-dark)}
.dashboard-client-icon svg{width:30px;height:30px}.dashboard-client-count strong{font:800 46px/1.1 Manrope,sans-serif;color:var(--navy);letter-spacing:-1.8px}
.dashboard-chart{padding:0 13px 17px;margin-top:auto;min-width:0}.dashboard-chart svg{display:block;width:100%;height:auto;overflow:visible}
.dashboard-gridline{stroke:var(--line);stroke-dasharray:3 4;stroke-width:1}.dashboard-axis{fill:var(--muted);font:11px 'DM Sans',sans-serif}
.dashboard-chart [tabindex]:focus{outline:none;stroke:var(--ink);stroke-width:3}
.dashboard-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:7px 0 0}
.dashboard-legend span{display:flex;gap:6px;align-items:center}.dashboard-legend i{display:inline-block;width:7px;height:7px;border-radius:50%}
.dashboard-loading,.dashboard-empty,.dashboard-error{min-height:195px;display:flex;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center;color:var(--muted);font-size:12px;flex:1}
.dashboard-error{flex-direction:column}.dashboard-error strong{color:var(--red)}
.dashboard-table-scroll{max-height:400px;overflow:auto;scrollbar-width:thin;border-top:1px solid var(--line);flex:1}
.dashboard-table td{font-size:12px;padding:13px 17px;min-width:0}.dashboard-table th{padding:12px 17px}
.dashboard-table th:not(:first-child),.dashboard-table td:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.dashboard-table td:first-child{min-width:140px}.dashboard-table tfoot{position:sticky;bottom:0;z-index:2;background:var(--surface)}
.dashboard-table tfoot td{font-weight:700;background:var(--cyan-soft);border-top:1px solid var(--line);color:var(--navy)}
.dashboard-no-rows{text-align:center!important;height:150px;color:var(--muted)}
@media(max-width:1150px){.dashboard-grid{gap:16px}.dashboard-card .panel-header{padding:14px}.dashboard-value{padding:0 14px 8px}.dashboard-range{max-width:105px;padding-right:6px}.dashboard-table td,.dashboard-table th{padding:12px}.dashboard-value strong{font-size:21px}}
@media(max-width:700px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-span-3,.dashboard-span-4{grid-column:span 1}.dashboard-span-5,.dashboard-span-6{grid-column:1/-1}.dashboard-client-count{gap:16px}.dashboard-card .panel-header h2{font-size:13px}.dashboard-range{max-width:140px}}
@media(max-width:900px){.mobile-open .scrim{left:var(--sidebar)}}
@media(max-width:450px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-card{grid-column:1/-1}.dashboard-client-count{flex-direction:row;align-items:center;justify-content:space-between;padding:4px 20px 20px}.dashboard-value strong{font-size:26px}.dashboard-chart{padding:0 10px 14px}.dashboard-span-3 .dashboard-body{min-height:0}}
@media print{.dashboard-table-scroll{max-height:none;overflow:visible}.dashboard-table tfoot{position:static}.dashboard-card{break-inside:avoid}}
