/* ============================================================================
   editorial-portfolio — 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 high-contrast editorial poster: warm paper, dead
   black rules, one loud accent, condensed display type. The admin inherits the
   ink-on-paper contrast and the near-square corners, and keeps the accent to
   chrome only — on a yellow-family accent the data would be unreadable.
   ========================================================================== */

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

[data-adm-app] {
  /* Brand — chrome only: rail mark, active indicator, primary button. */
  --adm-brand: var(--adm-tpl-accent, #f4cf42);
  /* The family accent is a light yellow, so brand ink must be the press black
     rather than white, or the primary button loses all contrast. */
  --adm-brand-ink: #111111;

  /* Surfaces — the marketing paper stock, one step cooler for long sessions. */
  --adm-bg: #edeae1;
  --adm-surface: #fbf9f3;
  --adm-surface-alt: #e6e2d7;
  --adm-border: #d3cec1;
  --adm-border-strong: #111111;

  /* Text — press black on paper. */
  --adm-text: #111111;
  --adm-text-muted: #5d5a52;
  --adm-text-faint: #85817a;

  /* Shape + type — the poster family is square-cornered and rule-heavy. */
  --adm-radius: 3px;
  --adm-radius-sm: 2px;
  --adm-font-sans: Arial, Helvetica, 'Helvetica Neue', sans-serif;
  --adm-font-display: 'Arial Narrow', Impact, Haettenschweiler, Arial, sans-serif;
  --adm-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

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

[data-theme='dark'] [data-adm-app] {
  /* The accent is already bright; hold it back slightly so the rail mark does
     not glare, and keep the dark ink on top of it. */
  --adm-brand: color-mix(in srgb, var(--adm-tpl-accent, #f4cf42) 88%, #6b5a12);
  --adm-brand-ink: #14120a;

  --adm-bg: #121210;
  --adm-surface: #1a1a17;
  --adm-surface-alt: #22221e;
  --adm-border: #33332d;
  --adm-border-strong: #4e4e45;

  --adm-text: #f3f0e8;
  --adm-text-muted: #a6a29a;
  --adm-text-faint: #857f76;
}
