/* ============================================================================
   IDB Branch Wiki — brand tokens & fonts.  INHERIT THESE VERBATIM.
   Fonts are vendored (no CDN — the production box is air-gapped).
   Brand red, neutrals, and font stacks are the established IDB system.
   The coverage palette is wiki-specific (new) — you may refine its exact hues.
   ============================================================================ */

/* ---- Fonts (files live in ./fonts/) ---- */
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 400; src: url('./fonts/plex-arabic-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 500; src: url('./fonts/plex-arabic-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; src: url('./fonts/plex-arabic-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 400; src: url('./fonts/inter-latin-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 500; src: url('./fonts/inter-latin-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 600; src: url('./fonts/inter-latin-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 700; src: url('./fonts/inter-latin-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Baloo Bhaijaan 2'; font-weight: 700; src: url('./fonts/baloo-700.woff2') format('woff2'); font-display: swap; }

:root {
  /* ---- IDB brand (verbatim) ---- */
  --idb-red: #e00028;
  --idb-red-dark: #b4001f;
  --idb-red-tint: #fde8ec;

  /* ---- Neutrals (verbatim) ---- */
  --ink: #141414;
  --charcoal: #1d1d1f;
  --paper: #ffffff;
  --bg: #f5f5f6;
  --line: #e6e6e9;
  --muted: #6e6e73;

  /* ---- Font stacks ----
     --font-ar is the PRIMARY face here: the wiki is Arabic-first, whole-page RTL.
     Latin (Inter) is only for codes like "CO-01" and any English label. */
  --font-ar: 'IBM Plex Sans Arabic', 'Baloo Bhaijaan 2', sans-serif;
  --font-ui: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-brand: 'Baloo Bhaijaan 2', 'Inter', sans-serif;  /* display / big titles */

  /* ---- Coverage palette (wiki-specific — the 3 content tiers) ---- */
  --cov-full: #1b8a4c;      --cov-full-bg: #e2f4ea;      /* مغطاة — fully written */
  --cov-stub: #b97a00;      --cov-stub-bg: #fcf1dc;      /* عنوان فقط — title-only stub */
  --cov-none: #8a8a8f;      --cov-none-bg: #efeff1;      /* لا يوجد إدخال — planned, no entry */
}

/* Radius conventions used across the IDB system (reference, adapt freely):
   cards 12px · buttons 7px · chips 5px · pills 20px · inputs/blocks 8px.
   Base font-size 14px. These are the house rhythm — the wiki may go warmer. */
