/* CUI style tokens — extracted from yappologistic/CUI style.css.
   Neutral charcoal scale, colour only as accents. Both themes. */

:root {
  /* light theme (default) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f8f8f8;
  --surface-sunk: #f3f3f3;
  --fg: #0b0b0b;
  --text-2: #585858;
  --text-3: #767676;
  --border: #e3e3e3;
  --border-subtle: #f0f0f0;
  --border-strong: #949494;
  --focus: #1f7dcf;
  --success: #00774d;
  --warning: #9f6202;
  --danger: #c9302d;
  --accent-red: #c9302d;
  --accent-gold: #9f6202;

  /* code highlighting (light) */
  --code-keyword: #7a3fb0;
  --code-function: #0b5cc4;
  --code-string: #8a5300;
  --code-number: #00774d;
  --code-comment: #767676;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* radius scale */
  --r-card: 18px;
  --r-inner: 12px;
  --r-pill: 999px;
}

[data-theme="dark"] {
  --bg: #121212;
  --surface: #181818;
  --surface-muted: #1f1f1f;
  --surface-sunk: #0e0e0e;
  --fg: #f2f2f2;
  --text-2: #b4b4b4;
  --text-3: #8c8c8c;
  --border: #2b2b2b;
  --border-subtle: #222222;
  --border-strong: #676767;
  --focus: #55adff;
  --success: #55d69f;
  --warning: #f2bd68;
  --danger: #f2716c;
  --accent-red: #e0525b;
  --accent-gold: #e8c46a;

  /* code highlighting (dark) */
  --code-keyword: #c9a6ff;
  --code-function: #7cc4f0;
  --code-string: #f2bd68;
  --code-number: #55d69f;
  --code-comment: #8c8c8c;
}
