/* Light theme: overrides of tokens.css only (component CSS never changes). Selected by ui-prefs.js through
   <html data-theme="light">. Body text pairs are >= 4.5:1 on every surface (checked with a script).
   Not themed: the WebGPU viewport clear colour, curve-editor canvas colours (read once at load). */
:root[data-theme="light"] {
  color-scheme: light;
  --color-bg-sunken: #dcd8d0;
  --color-bg-base: #f1eee8;
  --color-bg-surface: #f6f4ef;
  --color-bg-raised: #ffffff;
  --color-bg-overlay: #ffffff;

  --color-border-subtle: #e6e2da;
  --color-border: #d6d1c7;
  --color-border-strong: #b9b3a6;

  --color-text-primary: #1d1b17;
  --color-text-secondary: #4a463e;
  --color-text-muted: #5f574a;

  --color-accent: #a15405;
  --color-accent-hover: #874604;
  --color-accent-muted: #f6dcba;
  --color-accent-fg: #ffffff;
  --color-hover: rgb(0 0 0 / 0.05);
  --color-active: rgb(0 0 0 / 0.09);
  --color-selected-bg: rgb(161 84 5 / 0.14);
  --color-scrim: rgba(40, 34, 26, 0.35);
  --color-success: #16703f;
  --color-warning: #8a5000;
  --color-danger: #c2243d;

  --shadow-raised: 0 1px 2px rgba(60, 50, 30, 0.18);
  --shadow-overlay: 0 8px 24px rgba(60, 50, 30, 0.22);
  --shadow-popover: 0 8px 40px rgba(60, 50, 30, 0.28);
  --shadow-drag: 0 2px 8px rgba(60, 50, 30, 0.25);
  --edge-highlight: inset 0 1px 0 rgb(255 255 255 / 0.7);
}
