/*
  Dark palette, loaded only when the visitor's device prefers dark mode (Permit Doc > Settings > Dark mode).
  Light sections turn a lifted ink; dark sections stay a step deeper, so the page keeps its rhythm.
  The document specimen always stays on light paper.
*/
:root {
  --paper: color-mix(in oklab, var(--night), #ffffff 3.5%);
  --surface: color-mix(in oklab, var(--night), #ffffff 7%);
  --surface-2: color-mix(in oklab, var(--night), #ffffff 10%);
  --ink: #e8eef4;
  --muted: #a3b1c2;
  --line: rgb(255 255 255 / 0.09);
  --line-strong: rgb(255 255 255 / 0.17);
  --accent: var(--accent-bright);
  --accent-hover: color-mix(in oklab, var(--accent-bright), #ffffff 24%);
  --accent-ink: color-mix(in oklab, var(--accent-bright), #000000 84%);
  --accent-soft: color-mix(in oklab, var(--accent-bright) 13%, transparent);
  --warn: #f4b740;
  --warn-soft: rgb(244 183 64 / 0.13);
  --stop: #ff9c91;
  --stop-soft: rgb(255 123 110 / 0.13);
  --focus: #8db4ff;
  --shadow-card: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 30px 60px -30px rgb(0 0 0 / 0.6);
  --shadow-lift: 0 34px 70px -34px rgb(0 0 0 / 0.75);
  color-scheme: dark;
}
/* Beats the light page colours WordPress prints from theme.json (:root :where(body)). */
:root body { background-color: var(--paper); color: var(--ink); }
