:root {
  /* ============================================================
     Survlet — warm "premium" theme (replaces the default blue/slate).
     Token NAMES are preserved so base.css / chat.css / auth.css keep
     working untouched; only the VALUES change. New --sv-* tokens are
     added for the redesigned dashboard.
     ============================================================ */

  /* primary action — deep forest green */
  --color-primary: #2F4730;
  --color-primary-hover: #233A24;
  --color-primary-ring: rgba(47, 99, 56, 0.18);
  --color-accent: #2F4730;

  /* surfaces — warm parchment */
  --color-bg: #FAF7F0;            /* page */
  --color-surface: #F5F0E6;       /* cream: header, rails, table head */
  --color-surface-raised: #FFFFFF;/* cards / table body */
  --color-border: #E7E0CF;

  /* ink — warm near-black */
  --color-text: #2F3230;
  --color-text-secondary: #6C6A5C;
  --color-text-muted: #9D9788;

  /* chat bubbles (used by chat.css) — warm, not blue */
  --color-user-bubble: #EBEFE6;
  --color-assistant-bubble: #F5F0E6;
  --color-streaming-indicator: var(--color-primary);

  /* status */
  --color-success: #2F7A4E;
  --color-warning: #B5852A;
  --color-error: #A23B3B;

  --max-width-content: 1180px;   /* dashboard is wider now */
  --max-width-chat: 640px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* type — Hanken Grotesk UI + Instrument Serif display (loaded per-page) */
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-lg: 18px;

  --radius-sm: 7px;
  --radius-md: 11px;
  --radius-lg: 16px;

  /* ===== redesigned-dashboard extras ===== */
  --sv-surface-2: #ECE5D6;        /* active / hover surface */
  --sv-border-2: #D9D0BB;         /* stronger divider */
  --sv-forest-soft: #E3EADE;      /* green chip bg */
  --sv-butter-soft: #FBEFC2;      /* dual-mode chip bg */
  --sv-butter-deep: #8A6A12;      /* readable text on butter */
  --sv-amber: #B5852A;
  --sv-amber-soft: #F6E9C7;
  --sv-row-hover: #FCFAF4;
  --sv-on-primary: #F7F4EC;       /* text on forest buttons */
  --sv-shadow-sm: 0 1px 2px rgba(47,55,48,0.05), 0 1px 1px rgba(47,55,48,0.04);
  --sv-shadow-md: 0 4px 16px rgba(47,55,48,0.07), 0 1px 3px rgba(47,55,48,0.05);
}

/* The old build auto-flipped to a flat navy dark theme via
   prefers-color-scheme. That was the "very dark" surprise — intentionally
   removed. (Re-add a curated warm dark theme here later if desired.) */
