/* Plearun colour tokens for plearun.com. Palette "Onyx & Indigo" (chosen Nov 13, 2026).
   Dark is the look: the page is dark unless the visitor picks Light in the footer ("Match my device" means this default).
   The demo app keeps its own copy (app/src/app/tokens.css on accuracy-v2) with an older palette; it needs a matching
   tokens change in an app branch. Contrast: tools/check_contrast.py (WCAG AA: 4.5:1 text, 3:1 large text and UI borders).
   Roles: paper/band/sheet are backgrounds; ink and muted are text; rule is a decorative hairline only; brand is links
   and selection with on-brand as its text. The one accent is Electric Indigo, in three named steps: --indigo (text and
   marks on the page background), --indigo-fill (#6331FB: button and band fills, always with white text) and
   --indigo-deep (hover). --brass is kept as a name for older rules and now equals the accent.
   highlight (yellow) means "not settled" only; pencil (red) a conflict only; match (green) a match only. Mint is the
   match colour in the dark theme and appears nowhere else. on-highlight is the text colour on yellow; focus is the
   keyboard ring. banner is the indigo feature band; put .surface-dark on an element with that background and the tokens
   inside it are remapped so text, links, the focus ring and the answer colours stay legible on indigo. */
:root{
  --paper:#01010D; --band:#0A0A1C; --sheet:#15152C; --ink:#F4F3FF; --muted:#AEADCB; --rule:#2B2B52; --highlight:#FFD84D; --highlight-soft:#3A3007; --on-highlight:#01010D; --pencil:#FF8273; --pencil-soft:#431714; --match:#88F9C0; --match-soft:#0E3A28; --focus:#AB97FF; --brand:#AB97FF; --on-brand:#01010D; --banner:#6331FB; --banner-from:#6331FB; --banner-to:#6331FB; --on-banner:#FFFFFF; --indigo:#7C55FF; --indigo-fill:#6331FB; --indigo-deep:#5326E0; --brass:#7C55FF;
  --shadow:0 1px 2px rgb(0 0 0 / .4), 0 14px 36px -14px rgb(0 0 0 / .6);
  color-scheme:dark}
:root[data-theme="dark"]{
  --paper:#01010D; --band:#0A0A1C; --sheet:#15152C; --ink:#F4F3FF; --muted:#AEADCB; --rule:#2B2B52; --highlight:#FFD84D; --highlight-soft:#3A3007; --on-highlight:#01010D; --pencil:#FF8273; --pencil-soft:#431714; --match:#88F9C0; --match-soft:#0E3A28; --focus:#AB97FF; --brand:#AB97FF; --on-brand:#01010D; --banner:#6331FB; --banner-from:#6331FB; --banner-to:#6331FB; --on-banner:#FFFFFF; --indigo:#7C55FF; --indigo-fill:#6331FB; --indigo-deep:#5326E0; --brass:#7C55FF;
  --shadow:0 1px 2px rgb(0 0 0 / .4), 0 14px 36px -14px rgb(0 0 0 / .6);
  color-scheme:dark}
:root[data-theme="light"]{
  --paper:#FFEFEF; --band:#FBE2E2; --sheet:#FFFFFF; --ink:#01010D; --muted:#5A4B55; --rule:#E6C6C6; --highlight:#FFD84D; --highlight-soft:#FFF2B8; --on-highlight:#01010D; --pencil:#BE1A15; --pencil-soft:#FFDAD6; --match:#0A6540; --match-soft:#D9F3E4; --focus:#5326E0; --brand:#5326E0; --on-brand:#FFFFFF; --banner:#6331FB; --banner-from:#6331FB; --banner-to:#6331FB; --on-banner:#FFFFFF; --indigo:#6331FB; --indigo-fill:#6331FB; --indigo-deep:#5326E0; --brass:#6331FB;
  --shadow:0 1px 2px rgb(1 1 13 / .06), 0 14px 36px -14px rgb(1 1 13 / .22);
  color-scheme:light}
.surface-dark{
  --paper:#6331FB; --band:#6331FB; --sheet:#7445FF; --ink:#FFFFFF; --muted:#E9E5FF; --rule:#8A66FF;
  --highlight:#FFD84D; --on-highlight:#01010D; --pencil:#FFD3CC; --match:#B9FFDD;
  --focus:#FFFFFF; --brand:#FFFFFF; --on-brand:#01010D; --brass:#FFFFFF;
  color:var(--ink)}
