/* ============================================================================
   riverside-venue — 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 #7b4c35 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, #7b4c35);
  --adm-brand-ink: #ffffff;

  /* Surfaces — the marketing page's oat paper and warm off-white card stock. */
  --adm-bg: #f4f0e6;
  --adm-surface: #fffdf7;
  --adm-surface-alt: #ece6d8;
  --adm-border: #ded5c2;

  /* Text — the site's near-black river green. */
  --adm-text: #17221d;
  --adm-text-muted: #536554;

  /* Shape + type — Georgia display to echo the marketing family's wordmark. */
  --adm-radius: 8px;
  --adm-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --adm-font-display: Georgia, ui-serif, 'Times New Roman', serif;
}

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

[data-theme='dark'] [data-adm-app] {
  /* Lift the clay accent so it stays legible on a dark rail. */
  --adm-brand: color-mix(in srgb, var(--adm-tpl-accent, #7b4c35) 58%, #ffffff);
  --adm-brand-ink: #14100d;

  --adm-bg: #11170f;
  --adm-surface: #171e15;
  --adm-surface-alt: #1e261b;
  --adm-border: #2c3628;

  --adm-text: #eef1e6;
  --adm-text-muted: #a2ae9d;
}
