@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Inter:wght@400;500;600&display=swap');
/* TableSet design tokens: "Midnight & Brass". The ONE place colours, fonts and radii are defined.
   Dark theme only. Brass is an accent (primary buttons, selected slot, focus rings, small icons), never a large fill. */
:root {
  /* brand */
  --midnight: #0D1526;      /* page background, input background, text on brass */
  --surface: #16213A;       /* cards, panels */
  --raised: #1E2C4D;        /* Velvet Blue: raised / secondary surfaces */
  --line: #2A3756;          /* borders */
  --ink: #EDE6D6;           /* Candle: text */
  --muted: #9AA6BF;
  --accent: #C9A24A;        /* Brass */
  --accent-hover: #D8B25C;
  --accent-ink: #0D1526;    /* text on brass */

  /* typography */
  --font-head: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* shape */
  --r-ctl: 4px;             /* inputs, buttons, chips */
  --r-card: 8px;            /* cards, panels */
  --radius: var(--r-card);
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);

  /* aliases used across app.css / host.css / screen.css */
  --bg: var(--midnight);
  --accent-soft: var(--raised);
  --h-bg: var(--midnight); --h-panel: var(--surface); --h-ink: var(--ink); --h-muted: var(--muted);
  --h-line: var(--line); --h-accent: var(--accent); --h-accent-ink: var(--accent-ink);
  --h-room: #101A30; --h-wall: var(--muted);

  /* status (semantic, not brand): muted fills on midnight, light edges that double as readable text */
  --ok: #7FD19A;       --ok-soft: #173326;
  --danger: #FF9A9A;   --danger-soft: #3A1F2A;
  --s-free: var(--surface);    --s-free-edge: #5A6788;
  --s-arriving: #3F3418;       --s-arriving-edge: #E0B050;
  --s-arrived: #1D3558;        --s-arrived-edge: #7FAEE8;
  --s-seated: #173A2C;         --s-seated-edge: #6CC08A;
  --s-starters: #25391F;       --s-starters-edge: #9BCF6A;
  --s-mains: #17402E;          --s-mains-edge: #5FBF82;
  --s-dessert: #44203A;        --s-dessert-edge: #E88AB8;
  --s-bill: #2E2850;           --s-bill-edge: #A99CF0;
  --s-reset: #26314D;          --s-reset-edge: #9AA6BF;
  --st-free: var(--s-free); --st-arriving: var(--s-arriving); --st-arrived: var(--s-arrived);
  --st-seated: var(--s-seated); --st-bill: var(--s-bill); --st-reset: var(--s-reset); --st-cancel: var(--raised);

  /* dropdown arrow (a data URI cannot read variables, so the muted colour is repeated here) */
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239AA6BF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  color-scheme: dark;
}
