/* ============================================================================
   artist-prism — 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 dark prismatic gallery wall: near-black ink, warm
   paper highlights, a lime primary accent and a violet secondary, condensed
   display type over a neutral body face. The admin keeps the sharp corners and
   the condensed headings, and treats the lime as chrome only — it is far too
   bright to sit behind data.
   ========================================================================== */

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

[data-adm-app] {
  /* Brand — chrome only: rail mark, active indicator, primary button. */
  --adm-brand: var(--adm-tpl-accent, #baff75);
  /* The family accent is a high-luminance lime, so brand ink must be the near
     black or the primary button reads as an empty swatch. */
  --adm-brand-ink: #101014;

  /* Surfaces — the family paper stock, cooled a step for long sessions. */
  --adm-bg: #eceae3;
  --adm-surface: #f7f5ef;
  --adm-surface-alt: #e3e0d7;
  --adm-border: #cfccc2;
  --adm-border-strong: #101014;

  /* Text — the family ink on paper. */
  --adm-text: #101014;
  --adm-text-muted: #56555e;
  --adm-text-faint: #807e87;

  /* Shape + type — the family is hard-edged and condensed. */
  --adm-radius: 2px;
  --adm-radius-sm: 1px;
  --adm-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --adm-font-display: 'Arial Narrow', 'Avenir Next Condensed', 'Helvetica Neue', Arial, sans-serif;
  --adm-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

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

/* This is where the marketing family actually lives: the public site is dark by
   default, so the dark admin is the closer match to the artist's own surface. */
[data-theme='dark'] [data-adm-app] {
  /* Hold the lime back slightly so the rail mark does not glare on true black,
     and keep the dark ink on top of it. */
  --adm-brand: color-mix(in srgb, var(--adm-tpl-accent, #baff75) 86%, #3f5a22);
  --adm-brand-ink: #0b0f06;

  --adm-bg: #0b0b0f;
  --adm-surface: #131318;
  --adm-surface-alt: #1b1b22;
  --adm-border: #2b2b34;
  --adm-border-strong: #474751;

  --adm-text: #f0eee7;
  --adm-text-muted: #a3a1ab;
  --adm-text-faint: #7d7b85;
}
