/* ── Print: canvas charts ──────────────────────────────────────────────────
   Canvas charts are pixels drawn with the screen theme's colours, and the
   browser prints right after "beforeprint", too soon to redraw them. In Dark
   their labels and bars are light (made for a dark page), so on paper they
   would print light-on-white. Inverting the lightness (and turning the hue
   back) gives dark labels and deep bars of the same hues. Calm (Light)
   charts are already drawn for a light page and print as they are. The
   tokens themselves are in tokens/theme-print.css. */
@media print {
    html[data-theme="dark"] canvas { filter: invert(1) hue-rotate(180deg); }
}
