/* Charts (SVG), legends, horizontal bars and the product × workspace heatmap.
   Bar widths and series colours come from the data, so those two values stay inline. */
.chart{width:100%;height:auto;display:block}
.chart text{font:12px var(--font);fill:var(--muted)}
.legend{display:flex;gap:var(--sp-5);flex-wrap:wrap;font-size:var(--fs-th);color:var(--muted)}
.legend.col{flex-direction:column;gap:var(--sp-1)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:5px;vertical-align:middle}
.bar{margin:var(--sp-2) 0}
.bar-track{background:var(--paper-2);border-radius:var(--r-xs);height:10px}
.bar-fill{height:10px;border-radius:var(--r-xs);background:var(--wine)}
.heat td.c{text-align:center;font-weight:700;font-size:var(--fs-sm);min-width:70px}
