/*
 * Design tokens for FundMatch's frontend (DEV-3145, child of DEV-3138).
 *
 * The owner ruled (2026-10-16, on DEV-3145) that the `--hbs-*` system of File a claim
 * wins: every module's colour comes from this file, and `--cr-*` (Claim review) and
 * `--v2-*` (Review v2) stay working as aliases their own stylesheets assign from these.
 * Plain CSS custom properties on :root -- no build step (docs/FILE_A_CLAIM_CONTRACT.md).
 * A page loads this file before its module stylesheets; the module stylesheets keep
 * working wherever they are served because every host that loads them loads this first.
 *
 * Font stacks are deliberately not here yet: Montserrat vs Source Sans 3 vs MetaSerif vs
 * Gotham is still waiting on the owner's ruling, so fonts remain declared where they are.
 */
:root {
  /* The ruled palette, unchanged from File a claim. */
  --hbs-red-purple: #522a44;
  --hbs-cool-purple: #923a7f;
  --hbs-marker: #c956b4;
  --hbs-cool-gray: #d9d8d6;
  --hbs-ink: #3f3a45;
  --hbs-ink-soft: #6a646f;
  --hbs-paper: #ffffff;
  --hbs-paper-warm: #f6f5f3;
  --hbs-canvas: #f2f1ef;
  --hbs-ok: #2e7d4f;
  --hbs-alert: #a4262c;
  /* Needs attention on Claim Review v2: the amber the design's chip carries (DEV-3879). */
  --hbs-attention: #8a5d12;

  /* White veils over the primary band: the v2 verdict tiles, chip counts and source
     tags sit on --hbs-red-purple and need translucency to stay readable. No opaque
     hbs token reads correctly there, so the alpha steps are tokens too (DEV-3145
     judgement: 0.18 collapses onto the 0.2 step). If the palette ever grows an amber,
     that belongs next to these. */
  --hbs-glass-08: rgba(255, 255, 255, 0.08);
  --hbs-glass-20: rgba(255, 255, 255, 0.2);
  --hbs-glass-28: rgba(255, 255, 255, 0.28);

  /* Elevation. --shadow-sheet is File a claim's sheet shadow, unchanged. --shadow-pop
     is the v2 claim picker's shadow -- literally the primary with alpha. --shadow-raise
     is the review table's popover (DEV-3145 judgement: the page's navy tint becomes the
     ink tint, the nearest hbs colour). */
  --shadow-sheet: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-pop: 0 12px 32px rgba(82, 42, 68, 0.18);
  --shadow-raise: 0 8px 24px rgba(63, 58, 69, 0.16);

  /* Claim Review v3 design palette (Amanda ruling 2026-11-21 on DEV-5044): the design
     file's navy/red/amber, not the sandbox-era --hbs-* substitutions. File a claim
     keeps --hbs-*; Review assigns --v2-* from these. */
  --v3-navy: #3B3B67;
  --v3-navy-deep: #2E2E52;
  --v3-red: #A43138;
  --v3-ink: #2A2A40;
  --v3-ink-strong: #2E2E52;
  --v3-muted: #5C5C78;
  --v3-subtle: #8E8EA0;
  --v3-border: #D4D4E0;
  --v3-canvas: #F3F3F7;
  --v3-canvas-soft: #E4E4F0;
  --v3-paper: #ffffff;
  --v3-ok: #2D6A4F;
  --v3-ok-bg: #E6F0EA;
  --v3-attention: #8A5A12;
  --v3-attention-dot: #D49A3A;
  --v3-attention-bg: #F4EEDC;
  --v3-missing-bg: #F4E8E9;
  --v3-na-dot: #B4B4C6;
  --v3-na-bg: #EFEFF3;
  --v3-note-dot: #8E8EC0;
  --v3-note-bg: #EDEDF5;
  --v3-overlay: rgba(46, 46, 82, 0.42);
  --shadow-v3: 0 1px 2px rgba(46, 46, 82, 0.06), 0 10px 28px rgba(46, 46, 82, 0.07);
  --shadow-v3-dialog: 0 24px 60px rgba(46, 46, 82, 0.28);
}