/* MARTENSIA · dark theme touch-ups
 * The colours themselves follow the apps' dark tokens (tokens.css, :root[data-theme="dark"]) through the
 * names in site.css. transitions.js resolves the visitor's choice ("system", "light" or "dark", set from the
 * search palette) to data-theme="light" or "dark" on <html> before the page paints. Without scripts the site
 * stays light. What follows is only what tokens can't reach.
 */

/* Logos are dark-on-light; invert them in the dark. */
html[data-theme="dark"] img.mark:not(.no-invert) { filter: invert(1) brightness(1.1); }
html[data-theme="dark"] footer { background: transparent; }
/* The sheet stays paper-white, the way the apps show it. */
html[data-theme="dark"] .sheetcheck__sheet { box-shadow: 0 0 0 1px var(--line-strong); }
