/* ============================================================================
   CANON TOKENS — the design law as a citable spec (META-09 §B).
   These 10 lines were duplicated in all 27 product pages and all 20 site shells.
   This file is the single source. Never fork a value; never add a colour.
   Monochrome black-on-white only — the ramp below is the whole palette.
   ========================================================================== */

:root{
  --paper:#fff; --paper-soft:#fbfbfb; --surface:#fff; --surface-2:#f7f7f6;
  /* The grey ramp is set by CONTRAST, not by eye. --faint was #a8a8a5, which is
     2.30:1 against the soft paper — and it carried about 44,000 characters of the
     corpus at 8.5-9.5px, so the quietest tier was also the smallest and failed the
     4.5:1 bar by a factor of two. Both were darkened until they clear AA at body
     size against EVERY surface this block declares.
     ⚠️ The earlier derivation said "--paper-soft, which is the harder of the two
     backgrounds" and set --faint to #6e6e6b. There are not two backgrounds — this
     block declares five, and --selected is darker than any that was considered:
       --faint  #6e6e6b  5.11 paper / 4.94 soft / 4.77 surface-2 / 4.64 hover /
                         4.44 SELECTED  <- fails AA
       --faint  #6d6d6a  5.19 / 5.02 / 4.84 / 4.71 / 4.51 selected  <- clears
     Canon's mockups INLINE the fixed #6d6d6a; this file is LINKED by 426 files and
     still carried the pre-fix value. ADDING A SURFACE MEANS RE-DERIVING THIS RAMP.
       --muted  #5a5a58  worst 6.00:1 (--selected)
     Four distinct steps remain (4.9 / 6.7 / 9.4 / 20), so the hierarchy survives. */
  --ink:#080808; --ink-2:#2e2e2e; --muted:#5a5a58; --faint:#6d6d6a;
  --line:#e8e8e5; --line-strong:#d9d9d5; --hover:#f4f4f2; --selected:#efefed;
  /* --line-soft is the hairline BETWEEN rows inside a panel; --line is for
     structural edges (panel borders, column dividers, the bar's bottom). Added
     because every app had already hardcoded #f1f1ef for row rules — a value in
     use everywhere and owned by nothing is the definition of a missing token. */
  --line-soft:#f1f1ef;
  --shadow:0 1px 1px rgba(0,0,0,.025),0 12px 40px rgba(0,0,0,.035);
  --shadow-float:0 28px 90px rgba(0,0,0,.18),0 2px 10px rgba(0,0,0,.08);
  --radius:18px; --radius-sm:12px;
  /* the one bar height. Apps had drifted across 52/56/58/60/62/64; 56 was the
     plurality and is what canon.css already declared. */
  --topbar:56px;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  --mono:"SFMono-Regular","SF Mono",ui-monospace,Menlo,Monaco,Consolas,monospace;
}

/* The one non-token in this file, and it is here on purpose. .sr-only lived in
   canon-shell.css, which only 197 of 425 apps link; canon-reset.css reaches 339.
   This file is the only one all 426 link. A visually-hidden class that is absent
   where it is used does not fail quietly — it renders the hidden element at full
   size, which is how 30 apps ended up with a giant heading above the UI. */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
