/* ============================================================================
   travel-editorial — admin theme.

   Token overrides only, per docs/ADMIN-STANDARD.md. No layout, no components,
   no state colour. Structure lives in shared/admin.css.

   The marketing family is a warm-paper travel journal: deep teal ink on soft
   cream, a terracotta accent, Georgia throughout, generously rounded cards.
   The admin keeps the paper stock and the teal ink — a planner reads this for
   hours — and holds the terracotta accent to chrome only.
   ========================================================================== */

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

[data-adm-app] {
  /* Brand — chrome only: rail mark, active indicator, primary button. */
  --adm-brand: var(--adm-tpl-accent, #e66b45);
  /* Terracotta is mid-dark, so white sits on it cleanly. */
  --adm-brand-ink: #ffffff;

  /* Surfaces — the marketing cream, one step deeper behind the cards. */
  --adm-bg: #efe8d9;
  --adm-surface: #fbf6eb;
  --adm-surface-alt: #f1ebdd;
  --adm-border: #ded4c1;
  --adm-border-strong: #b9ab92;

  /* Text — the family's deep teal ink, never pure black. */
  --adm-text: #173737;
  --adm-text-muted: #59706f;
  --adm-text-faint: #8a9b99;

  /* Shape + type — the family is soft-cornered and set in Georgia. */
  --adm-radius: 12px;
  --adm-radius-sm: 7px;
  --adm-font-sans: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --adm-font-display: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --adm-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

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

[data-theme='dark'] [data-adm-app] {
  /* Warm the accent slightly so it reads as lamplight rather than a siren. */
  --adm-brand: color-mix(in srgb, var(--adm-tpl-accent, #e66b45) 92%, #ffd9b0);
  --adm-brand-ink: #221008;

  /* Dark is the same teal ink pushed down, not a neutral grey. */
  --adm-bg: #0d1f20;
  --adm-surface: #142b2c;
  --adm-surface-alt: #1b3536;
  --adm-border: #274546;
  --adm-border-strong: #3a5f60;

  --adm-text: #eae2d2;
  --adm-text-muted: #a3b3b1;
  --adm-text-faint: #7d8f8d;
}
