/* beed design tokens — the single place where beed departs from PatternFly.
 *
 * Rules (docs/design/UI-FOUNDATION.md):
 *   - Pages and component styles read `--beed-*` or `--pf-t--global--*` tokens.
 *     No literal colour, font family or pixel font size anywhere else.
 *   - Never use PatternFly palette tokens (`--pf-t--color--*`) or component
 *     variables (`--pf-v6-c-*`) in page CSS. Semantic global tokens only.
 *   - A value from the approved design is entered in the BRAND block below,
 *     for light and dark together, and nowhere else.
 */

/* ── BRAND ─────────────────────────────────────────────────────────────────
 * Empty on purpose: until the approved design supplies brand values, beed
 * renders PatternFly's Default theme unchanged. To brand, override PatternFly
 * global semantic tokens here, e.g.
 *
 *   :root {
 *     --pf-t--global--color--brand--default: …;
 *     --pf-t--global--color--brand--hover: …;
 *     --pf-t--global--color--brand--clicked: …;
 *   }
 *   :root:where(.pf-v6-theme-dark) { …the dark values… }
 */

/* ── MEANING ───────────────────────────────────────────────────────────────
 * One tone vocabulary for every status in the product. Templates pick a tone
 * (`{% ui_label text tone %}`); only this block decides what a tone looks like.
 */
:root {
  --beed-tone-neutral: var(--pf-t--global--text--color--subtle);
  --beed-tone-info: var(--pf-t--global--color--status--info--default);
  --beed-tone-success: var(--pf-t--global--color--status--success--default);
  --beed-tone-warning: var(--pf-t--global--color--status--warning--default);
  --beed-tone-danger: var(--pf-t--global--color--status--danger--default);
  --beed-tone-accent: var(--pf-t--global--color--status--custom--default);

  /* Figures: money, lot numbers, VINs, timestamps align in columns. The
   * approved My bids design (12 November) sets them in the text face with
   * tabular digits, not in the monospace face. */
  --beed-figure-font-family: var(--pf-t--global--font--family--body);
  --beed-figure-numeric: tabular-nums;

  /* Layout rhythm, expressed in PatternFly spacers only. */
  --beed-gap-tight: var(--pf-t--global--spacer--sm);
  --beed-gap: var(--pf-t--global--spacer--md);
  --beed-gap-loose: var(--pf-t--global--spacer--lg);

  /* Overlays opened by js/ui/ui.js. */
  --beed-layer-menu: var(--pf-t--global--z-index--md);
}

/* ── P01 PUBLIC PAGE DISPLAY TYPE ──────────────────────────────────────────
 * The approved P01 design (Milestone 1) sets three display sizes larger than
 * PatternFly's type scale reaches (its largest step is 2.25rem): the hero
 * heading, the section heading and the fact figure, used from the `lg`
 * breakpoint up. Below it the page uses PatternFly's own 4xl and 3xl steps.
 */
:root {
  --beed-public-display-font-size: 3.5rem;
  --beed-public-display-line-height: 1.143;
  --beed-public-display-letter-spacing: -0.014em;
  --beed-public-title-font-size: 2rem;
  --beed-public-figure-font-size: 2.5rem;
  --beed-public-eyebrow-letter-spacing: 0.125em;
}
