/* ============================================================================
   restaurant-cafe — admin theme.

   This file is the ONLY thing a template personalises. It sets the documented
   token contract from docs/ADMIN-STANDARD.md and nothing else: no layout, no
   component rules, no state colour. Everything structural lives in
   shared/admin.css so all 17 admins behave and read identically.

   The raw brand hue arrives as --adm-tpl-accent, set inline on <body> from the
   template manifest's #d64f32 field, so `--set accent=#xxxxxx` flows through
   to the admin as well as the marketing page.
   ========================================================================== */

/* ---------- Light (default) ------------------------------------------------ */

[data-adm-app] {
  /* Brand — chrome only: rail mark, active indicator, primary button. */
  --adm-brand: var(--adm-tpl-accent, #d64f32);
  --adm-brand-ink: #fffaf6;

  /* Surfaces — unbleached paper and butcher-block, matching the menu card. */
  --adm-bg: #f7f1e8;
  --adm-surface: #fffcf6;
  --adm-surface-alt: #f1e8da;
  --adm-border: #e3d7c4;

  /* Text — roasted espresso ink. */
  --adm-text: #2b241d;
  --adm-text-muted: #7c6c5b;

  /* Shape + type — slab-ish serif display to echo the menu headings. */
  --adm-radius: 8px;
  --adm-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --adm-font-display: ui-serif, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
}

/* ---------- Dark ----------------------------------------------------------- */

[data-theme='dark'] [data-adm-app] {
  /* Lift the tomato accent so it stays legible against a dark pass. */
  --adm-brand: color-mix(in srgb, var(--adm-tpl-accent, #d64f32) 62%, #ffffff);
  --adm-brand-ink: #1a0f0a;

  --adm-bg: #191310;
  --adm-surface: #211a15;
  --adm-surface-alt: #2a211b;
  --adm-border: #3b2f26;

  --adm-text: #f6eee4;
  --adm-text-muted: #ab9c8b;
}
