/* knovcompile design system — the tokens every page of the laser timeline uses (dark theme).
   Source: the user's design system artifact "knovcompile" (project/tokens.json, last change 2026-11-04):
   monotone (KC Gunpowder #18181A, KC gray #EBEBEB), Gilroy for titles, IBM Plex Mono for the rest,
   Noto Sans KR for Korean; boxes have no outline (a raised surface + a light shadow), corners 0 / 2 / 4 / 6 px.
   The fonts not shipped here (IBM Plex Mono, Noto Sans KR) come from Google Fonts when the computer is online;
   offline the pages fall back to Malgun Gothic / Consolas. */
@font-face { font-family:"Gilroy"; src:url("fonts/Gilroy-Light.woff2") format("woff2"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Gilroy"; src:url("fonts/Gilroy-ExtraBold.woff2") format("woff2"); font-weight:800; font-style:normal; font-display:swap; }

:root {
  --key-01:#18181a;            /* KC Gunpowder */
  --key-02:#ebebeb;            /* KC gray */
  --white:#ffffff; --black:#000000;
  --gp-50:#fafafb; --gp-100:#f4f4f5; --gp-200:#e4e4e6; --gp-300:#d4d4d6; --gp-400:#a1a1a4; --gp-500:#717174;
  --gp-600:#525255; --gp-700:#3f3f42; --gp-800:#29292b; --gp-900:#18181a; --gp-950:#09090b;

  --surface:var(--key-01);           /* page background */
  --surface-raised:var(--gp-800);    /* panels, cards, menus, windows */
  --ink:var(--key-02);               /* text */
  --ink-muted:var(--gp-400);         /* secondary text (4.5:1 on surface) */
  --border:var(--gp-700);            /* one-line dividers only, never box outlines */
  --key-primary:var(--key-02);       /* the brand face that inverts: the "on" state of a toggle */

  --radius-0:0; --radius-2:2px; --radius-4:4px; --radius-6:6px;
  --shadow-sm:0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md:0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-lg:0 8px 24px rgba(0, 0, 0, 0.32);
  --space-2:8px; --space-3:12px; --space-6:24px; --space-12:48px;

  --font-sans:"Gilroy", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-kr:"Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  --font-mono:"IBM Plex Mono", "Noto Sans KR", "Malgun Gothic", Consolas, ui-monospace, monospace;

  /* Not part of the monotone brand: the few colours the tool needs to say something (keys, warnings). */
  --fn-key:#ffd34d;            /* keyframes, picked keys */
  --fn-bad:#ff5a5a;            /* errors, over the point count, BLACKOUT */
  --fn-bad-face:#7a2626;
  --fn-warn:#e8a33c;           /* working in a workspace, not the show */
}
