/** * Plain-HTML chart legend — replaces every chart's hand-rolled SVG legend. * Both of the app's stray-`}` CSS bugs lived inside hand-written SVG legend * `fill="..."` strings; keeping legends out of SVG removes that bug class. * * items: [{ color, label, shape: 'swatch' | 'diamond' | 'line' | 'dot' }] */ export default function ChartLegend({ items }) { return (