/* PIM-104 (docs/plans/2026-10-04-pim-104-visual-language.md §2.1): the tokens - the one source of colour, type, spacing and
   size for the web app (served as /grundwerte.css) and the supplier portal (embedded in its dll, inlined in its <style>).
   Values only: no selector but :root. Palette: Toni's THE TOOL (PIM-59, docs/pim-59/dashboard). */
:root {
  /* colour */
  --navy: #102a4c; --blau: #1268d8; --blau-hell: #eaf3ff; --grund: #f4f7fb; --flaeche: #ffffff;
  --linie: #dce4ee; --knopf-linie: #92b1d6; --linie-2: #edf1f5; --text: #0b1f36; --text-2: #52667d; --text-3: #66788f;
  --gruen: #169b62; --gruen-hell: #e6f8ef; --gruen-text: #098254;
  --amber: #c77708; --amber-hell: #fff1d8; --amber-text: #a86600;
  --rot: #c5293c; --rot-hell: #ffe9ed; --rot-text: #a52232;
  /* PIM-269: red on the navy header (the TEST badge's separator) - --rot there is 2.6:1, this is 5.2:1 */
  --rot-kopf: #ff6b78;
  /* PIM-126: the supplier portal's VGG brand - the blue is the mean of the 40 most frequent blue pixels of the "Handels AG" lettering in
     "VGG Logo.jpg"; only the portal uses these, the web app keeps --blau (--marke* is the web's own, unrelated). The notice rims are the borders of the *-hell fills. */
  --vgg: #0666ad; --vgg-dunkel: #044f88; --vgg-hell: #e8f1f9; --weiss: #fff;
  --rot-linie: #f2c8d0; --amber-linie: #f4ddb4; --gruen-linie: #b6e3cb;
  --schatten: 0 1px 2px rgba(11, 31, 54, .06), 0 4px 14px rgba(11, 31, 54, .07);
  --neutral: #b8c8da; --leer: #eef2f6; --kopfgrund: #f8fafc; --zeile-hover: #f3f8fc; --marke-hell: #9ab6d9;
  /* PIM-134: one colour per read field - its frame on the page image, its label and line in the review form, its row in the readings
     (Kai 06.10.2026: "different colours to make matching between document and data easy"). Nine distinct hues, each at least 3:1
     against the white page (WCAG 1.4.11; a test computes it). The two numbers of a certificate (doc_number, cert_to_report) stand
     side by side: orange and near-black, never two warm hues (gold beside orange read as one at 1920 x 1080) */
  --feld-modelle: #2563eb; --feld-doc_number: #c2410c; --feld-cert_to_report: #1f2937; --feld-ausstelldatum: #15803d;
  --feld-pruefstelle: #7c3aed; --feld-pruefer_typ: #db2777; --feld-lieferant: #0e7490; --feld-kompressoren: #a16207; --feld-normen: #4d7c0f;
  /* PIM-365: the PDF viewer's search highlights - every match light, the current one strong. Both sky blue; the active one is at least 20 and the light one at least 10 CIEDE2000 away from each
     of the nine field colours, the amber mark fallback and the ErP mark (gold) - NeuAppPdfCssTests holds it */
  --suche: #bfe9ff; --suche-aktiv: #00b8ff;
  /* coverage heat, one hue light -> dark (Produkte) */
  --heat-0: #f3f8fe; --heat-1: #d5e6fb; --heat-2: #a6c9f4; --heat-3: #5d9ae6; --heat-4: #1268d8;
  /* hatched fills: an uncertain state of the colour beneath */
  --schraffur-gruen: repeating-linear-gradient(135deg, var(--gruen) 0 3px, var(--gruen-hell) 3px 6px);
  --schraffur-amber: repeating-linear-gradient(135deg, var(--amber) 0 3px, var(--amber-hell) 3px 6px);
  --schraffur-rot: repeating-linear-gradient(135deg, var(--rot) 0 3px, var(--rot-hell) 3px 6px);
  /* type: one scale, fixed px, nothing below 12 (Kai) */
  --t-12: 12px; --t-13: 13px; --t-14: 14px; --t-18: 18px; --t-24: 24px;
  --schrift: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, Consolas, monospace;
  /* spacing */
  --a-2: 2px; --a-4: 4px; --a-8: 8px; --a-12: 12px; --a-16: 16px;
  /* sizes: a single-line data row 25 px = the BEFORE pages' measured single-line row (25.2 px on Aufgaben, Edge 1280x900,
     04.10.2026; Kai: very dense, 36 px is a ceiling); a control 30 px = the app bar's search field; the app bar 48 px */
  --zeile: 25px; --kopfzeile: 28px; --feld: 30px; --kopf: 48px;
  /* radius */
  --r-4: 4px; --r-6: 6px; --r-pille: 10px;
}
