/* KangPrep design tokens: the ONE place for the site's colours and fonts (dark by default, light by system setting).
   Loaded first on every page: home, High Yield and admin link it; tools/site.py injects it on the QBank and Quests pages and
   removes the engines' own palettes. Use these variables instead of new hex values (kp/theme-quests.css maps the Quest names to these). */
:root{
  --bg:#0b1117; --panel:#121a22; --raise:#18222c; --line:#243241; --line2:#2f4152;
  --fg:#e6edf3; --muted:#91a0b0; --faint:#5f6f80;
  --accent:#14b8a6; --accent-ink:#04201d; --accent-soft:rgba(20,184,166,.14);
  --ok:#3fb97f; --ok-soft:rgba(63,185,127,.14); --bad:#f05252; --bad-soft:rgba(240,82,82,.13); --warn:#f5b342; --warn-soft:rgba(245,179,66,.13);
  --serif:"Source Serif 4",Georgia,serif; --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  color-scheme:dark;
}
@media (prefers-color-scheme: light){:root{
  --bg:#f3f6f8; --panel:#ffffff; --raise:#eef2f5; --line:#d9e1e8; --line2:#c4d0da;
  --fg:#14202b; --muted:#536373; --faint:#8494a3;
  --accent:#0d8a7d; --accent-ink:#ffffff; --accent-soft:rgba(13,138,125,.10);
  --ok:#1f7a4d; --ok-soft:rgba(31,122,77,.10); --bad:#c62828; --bad-soft:rgba(198,40,40,.08); --warn:#a86500; --warn-soft:rgba(168,101,0,.10); color-scheme:light}}
