/* noumenon palette — tokens only (A1); theme switch overrides values, never
   selectors. Accent: whitebell bloom "marigold" (claimed by noumenon,
   whitebell_brand.md §5) — pastel #efc161 on dark, deep #a87908 on light. */
:root {
  /* dark is the default theme */
  --nm-bg: #0d0b07;
  --nm-bg-rgb: 13, 11, 7; /* rgba companion (view-strip translucency) */
  --nm-surface: #17130d;
  --nm-text: #f2ead8;
  --nm-muted: #a3947c;
  --nm-accent: #efc161;
  --nm-accent-rgb: 239, 193, 97;
  --nm-border: #2a2317;
  --nm-warning: #e2984a;

  /* render-layer colors (read by JS via getComputedStyle — A1) */
  --nm-edge: #efc161;
  --nm-face: #8a6420;
  --nm-trail: #8fa7c9; /* soft slate — deliberately NOT the gold family */

  --nm-radius-sm: 3px;
  --nm-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  --nm-font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", monospace;
}

[data-theme="light"] {
  --nm-bg: #f7f2e6;
  --nm-bg-rgb: 247, 242, 230;
  --nm-surface: #fffdf7;
  --nm-text: #33291a;
  --nm-muted: #7d6f58;
  --nm-accent: #a87908;
  --nm-accent-rgb: 168, 121, 8;
  --nm-border: #e3d9c2;
  --nm-warning: #b05f10;

  --nm-edge: #a87908;
  --nm-face: #e8cf8d;
  --nm-trail: #4f6b8f;
}
