/* v2.19.3 (General fixes V8 item 5) – the design tokens: the ONE place the app's colours, card border, radius, spacing and font sizes are defined.
   Loaded first (index.html). style.css, repairs.css, subscriptions.css, asset_returns.css and calendar.css use var(--…) only; no other file
   defines its own palette (the old --acc/--box/--red… and --nr-* names are mapped onto these). Keep this file in step with any colour change.
   Brand colours from the ProSolve SA logo: navy #072C81 (lettering), orange #FE6F19 (swooshes). */
:root{
  /* brand (section 2) */
  --c-brand:#072C81;        /* primary: primary buttons, links, headings, selected tab, field focus */
  --c-brand-dk:#001F6C;     /* primary hover / pressed */
  --c-card-border:#3D5FA8;  /* card and pop-up borders ONLY (lighter brand blue, John Q-i) – never text, buttons or links */
  --c-brand-tint:#E6EAF2;   /* selected tab / highlighted row background (navy at 10 %) */
  --c-brand-line:#B4C0DA;   /* a light navy line (selected chip, info box border) */
  --c-accent:#FE6F19;       /* small accents only: focus ring, active marker, logo. Never text on white, never a status */
  --c-accent-dk:#DD550E;    /* accent where it must be read (a thin underline) */
  --c-text:#111827; --c-muted:#6B7280; --c-bg:#F5F6F8; --c-card:#FFFFFF; --c-line:#D6DAE1;
  --c-subtle:#F7F9FC;       /* fact tiles, table headers, quiet panels inside a card */
  --c-white:#FFFFFF;        /* text on a filled button / bar */
  /* status and alerts (section 4) – kept separate from the brand */
  --c-overdue:#C00000; --c-overdue-bg:#FDE8E8;              /* overdue: red bar + light red row + bold red text (John Q-j); due today: the bar on white */
  --c-tomorrow-bg:#FFF27A; --c-tomorrow-bar:#E6C700;        /* due tomorrow keeps its yellow */
  --c-err:#B91C1C; --c-err-bg:#FDE8E8;
  --c-field-err:#C00000;    /* v2.19.1 (General fixes V9 item 2): the red border and message of a form field that needs fixing (John Q-7) */
  --c-ok:#008000; --c-ok-bg:#E7F6EC; --c-ok-line:#B6E2C4;
  --c-warn:#B45309; --c-warn-bg:#FEF3C7; --c-warn-line:#F1D9A6;
  --c-grey:#4B5563; --c-grey-bg:#EEF0F3;
  /* task status badge tints (.badge.st-*) – moved here unchanged */
  --st-active-bg:#E8F0FE; --st-active-line:#BCD0FB; --st-active:#1D4ED8;
  --st-violet:#6D28D9; --st-violet-bg:#EDE9FE; --st-violet-line:#D3BDF5;
  --c-err-line:#F4A3A3;               /* a light red line (an overdue Gantt bar, an error box border) */
  /* print (section 10) */
  --c-print-line:#BBBBBB;
  /* cards, pop-ups, boxes (section 3) */
  --card-bw:0.125rem; --card-bc:var(--c-card-border); --r:0.625rem; --r-sm:0.5rem; --card-pad:0.625rem 0.875rem; --gap:0.625rem;
  /* spacing scale (section 8) */
  --sp-1:0.25rem; --sp-2:0.375rem; --sp-3:0.5rem; --sp-4:0.75rem; --sp-5:1rem; --sp-6:1.5rem;
  /* typography (section 5) – unchanged sizes */
  --fs-body:0.9375rem; --fs-small:0.8125rem; --fs-badge:0.75rem; --fs-h1:1.375rem; --fs-h2:1.0625rem;
}
