/* Design tokens for the console (index.html, css/, swm/css) and, by alias, Agent Gym. The one place a colour,
   type size, radius or shadow value is written. tools/style-audit.mjs and tests/site/style-budget.test.mjs
   keep raw values from coming back. Text colours pass 4.5:1 on --panel and on --bg. */
:root {
  color-scheme: dark;
  --ink: #e7e9ea;
  --ink-2: #c6cacd;
  --muted: #959ba1;
  --faint: #5d636a;           /* arrows, separators and marks. Not for text. */

  --bg: #0c0d0f;
  --panel: #15171a;
  --soft: #1d2024;
  --soft-2: #191b1f;
  --line: #262a2f;
  --line-strong: #393e45;

  --nav: #101114;
  --nav-2: #1f2226;
  --nav-deep: #0a0b0d;
  --nav-text: #aab0b5;
  --nav-muted: #8d9399;
  --nav-green: #4ade80;
  --nav-amber: #f0c36a;

  --accent: #22c55e;          /* borders, focus, marks and fills that carry var(--bg) text */
  --accent-2: #4ade80;        /* text and links */
  --accent-3: #86efac;
  --accent-line: #1e6b3c;
  --accent-line-soft: #163f27;
  --accent-bg: #0f2a1a;
  --accent-soft: #0c1e14;

  --green: #5fd8c8;
  --green-dot: #2bb8a6;
  --green-line: #1e5550;
  --green-bg: #0f2d2a;
  --green-soft: #0d211f;
  --amber: #f0c36a;
  --amber-dot: #e0aa3e;
  --amber-line: #5a4a22;
  --amber-bg: #33290f;
  --amber-soft: #272114;
  --red: #f4a0a0;
  --red-dot: #ef6b6b;
  --red-line: #6a3232;
  --red-bg: #3a1c1c;
  --red-soft: #2a1a1b;
  --violet: #c6b3f7;
  --violet-dot: #a47cf0;
  --violet-line: #4b3f7a;
  --violet-bg: #2a2444;
  /* Dark surfaces. --fog paints the page; --glass is a surface the fog shows through. */
  --accent-fill: #22c55e;       /* fills that carry var(--bg) text */
  --accent-fill-2: #4ade80;
  --stage-ink: #e9edff;       /* light marks on the World Model chart stage */
  --stage-ink-2: #cdd5ff;
  --glass: rgba(21, 23, 26, .8);
  --glass-bar: rgba(12, 13, 15, .84);
  --fog: radial-gradient(900px 520px at 88% -4%, rgba(34, 197, 94, .10), transparent 62%),
         radial-gradient(700px 460px at 2% 100%, rgba(45, 212, 191, .05), transparent 70%),
         linear-gradient(180deg, #0c0d0f, #0f1113);
  --grid: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 28px 28px,
          linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px) 0 0 / 28px 28px;


  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 20px;
  --text-3xl: 26px;
  --text-4xl: 30px;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 10px;
  --radius: 12px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .35);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, .35);
  --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  --shadow-pop: 0 24px 80px rgba(0, 0, 0, .6);
  --ring: 0 0 0 3px rgba(34, 197, 94, .3);

  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
