/* THE ONE LIGHT PALETTE — app (light theme), login and landing all load this file.
   Until 2026-09-13 the same values were typed three times (web/v2/styles.css, web/login.html,
   web/landing.html) and a parity guard kept the copies identical. R3: the third copy is the
   trigger — this file is now the only definition.

   `:root` makes it the ground for login and landing (light-only pages). `:root[data-theme="light"]`
   (specificity 0,2,0) makes it the app's light theme even though styles.css loads after it; the
   app's dark `:root` (0,1,0, later file) and navy `[data-theme="blue"]` (0,2,0, later file) still
   override every value here, so those themes are untouched.

   Change a value here and all three surfaces move together. Measured by tools/check_token_contrast.py. */
:root, :root[data-theme="light"] {
  --sans: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter","Segoe UI",Roboto,sans-serif;
  --bg: #ffffff;
  --ink: #0b0c0e;
  --soft: #50555f;
  --faint: #676c75;
  --line: rgba(0,0,0,.14);
  --line2: rgba(0,0,0,.08);
  --up: #0e7a36;   /* was #077a2b; a touch bluer so red-green colour-blind readers separate it from --dn (ΔE 7.4 → 8.0), same contrast — Ravi 2026-09-13 */
  --dn: #c8350e;
  /* the CHART's green and red (Ravi 2026-09-13: "use true green and red color for chart"): candles, volume, gaps and
     the day's line wear a true green and red; text keeps --up/--dn, which the contrast guard sizes for reading. */
  --cup: #16a34a;
  --cdn: #dc2626;
  --warn: #975e0d;
  --acc: #1a3f99;
  --acc-ink: #ffffff;
  --acc-hi: #1a3f99;
  --acc-2: #3d62b8;
  --pill: #eceef2;
  --card: #ffffff;
  --card2: #f7f8f9;
  --edge: rgba(0,0,0,.09);
}
