/* Ace Labs canonical design tokens — single source of truth for the Ace Labs
   shell + each tool engine. Tools may keep their own local token names (Bio's
   `--paper`, OChem's `--white`, etc.) but those should resolve to the values
   defined here so all four engines render in the same palette and typography.

   Loaded by:
   - ace-labs.html (home shell)
   - mocks-catalog.html
   - prometric-mock.html
   - tools/<engine>/index.html  (Bio, OChem already; QR + GC pending)
*/
:root{
  /* surfaces */
  --al-bg:#f5f0e8;
  --al-paper:#fffdf7;
  --al-paper-2:#f9f3e6;
  --al-paper-3:#f3ecdb;

  /* ink */
  --al-ink:#0d2018;
  --al-ink-2:#3a4a42;
  --al-ink-mute:#5c6a63;
  --al-ink-soft:#9aa39e;

  /* gold (italic accent + section kickers) */
  --al-gold:#C9A84C;
  --al-gold-m:#E2C97A;
  --al-gold-d:#8C7235;
  --al-gold-bg:rgba(201,168,76,.10);
  --al-gold-glow:rgba(201,168,76,.35);

  /* deep teal (hero CTA, primary buttons) */
  --al-teal:#1B3A2D;
  --al-teal-2:#2A5240;
  --al-teal-3:#3A6B54;

  /* outcome — Wong / Okabe-Ito correctness tokens (answer-feedback only) */
  --al-good:#009E73;
  --al-good-d:#007a59;
  --al-trap:#D55E00;
  --al-trap-d:#9b4500;

  /* lines */
  --al-line:rgba(13,32,24,.12);
  --al-line-2:rgba(13,32,24,.20);

  /* per-engine accents (border-left + name italic) */
  --al-qr-color:#C9A84C;
  --al-bio-color:#5FA874;
  --al-gc-color:#3A6B54;
  --al-ochem-color:#8C7235;

  /* type stack */
  --al-font-serif:'Playfair Display',Georgia,serif;
  --al-font-sans:'DM Sans',system-ui,-apple-system,sans-serif;
  --al-font-mono:'JetBrains Mono',ui-monospace,'SF Mono',Menlo,monospace;

  /* shadows */
  --al-shadow:0 1px 3px rgba(13,32,24,.06), 0 8px 24px rgba(13,32,24,.04);
  --al-shadow-md:0 2px 6px rgba(13,32,24,.08), 0 16px 40px rgba(13,32,24,.06);
  --al-shadow-lg:0 4px 14px rgba(13,32,24,.10), 0 24px 56px rgba(13,32,24,.08);

  /* ── Wong / Okabe-Ito correctness palette ──────────────────────────────
     These replace the old green/red pair for all answer-feedback UI.
     DO NOT use for chemistry-specific role colours (radical arrows, etc.).
     --al-confirmed  : correct answer
     --al-needs-review : wrong / needs more work
     --al-almost     : partial credit / close
     --al-new        : unseen / new concept callout
  */
  --al-confirmed:#009E73;
  --al-confirmed-pale:rgba(0,158,115,.10);
  --al-needs-review:#D55E00;
  --al-needs-review-pale:rgba(213,94,0,.10);
  --al-almost:#E69F00;
  --al-almost-pale:rgba(230,159,0,.10);
  --al-new:#0072B2;
  --al-new-pale:rgba(0,114,178,.10);

  /* ── Motion tokens ─────────────────────────────────────────────────────
     Use these everywhere instead of magic numbers.
     --motion-fast     : micro-interactions (hover, toggle)
     --motion-base     : standard state changes
     --motion-slow     : panel open / close
     --motion-explainer: full animated explainer sequences
  */
  --motion-fast:150ms;
  --motion-base:250ms;
  --motion-slow:400ms;
  --motion-explainer:800ms;
}
