/* Single source of UI color, typography, spacing, and radius tokens. */
:root {
  /* Core stationery palette (approved cream paper, deep ink, cobalt envelope, coral wax seal) */
  --paper: #faf7ee;
  --paper-elevated: #fffdf7;
  --paper-warm: #f2ece0;
  --ink: #182e36;
  --ink-soft: #314952;
  --muted: #55666c;
  --blue: #244ab4;
  --blue-dark: #18368a;
  --blue-soft: #edf1fa;
  --blue-border: #c5d2f2;
  --coral: #ed765b;
  --coral-deep: #b84228;
  --coral-soft: #fff1ec;
  --teal: #1d6b63;
  --teal-soft: #eaf5f3;
  --line: #d9ddd4;
  --line-strong: #b9c3c4;
  --soft: #edf1fa;
  --white: #ffffff;

  /* Scene & envelope layers */
  --scene-bg: #e7eceb;
  --scene-glow: #fcfcf6;
  --shadow-card: #c2cecb;
  --card-surface: #fffdf6;
  --card-shadow: #182e361c;
  --envelope-body: #254dab;
  --envelope-flap: #1b3f94;
  --envelope-left: #2f5ac0;
  --envelope-right: #274eb0;
  --envelope-shadow: #142c5729;
  --seal-ink: #5a221c;
  --seal-shadow: #122c5824;
  --tag-bg: #f6c9a9;
  --tag-shadow: #182e361a;
  --orbit-line: #6e89b9;

  /* Status & semantic tones */
  --success-bg: #edf5ef;
  --success-ink: #275838;
  --success-border: #b9d7c2;
  --error-bg: #fff0ea;
  --error-ink: #97301d;
  --error-border: #efb6a5;
  --surface-shadow: #182e3612;
  --surface-shadow-lg: #182e361a;
  --backdrop: #182e3680;
  --selection-bg: #d9e4fb;

  /* Typography */
  --font-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}
