/* Emergency Restoration (ER) + ER Service Portal (ERSP) — brand tokens v1 · 2026-11-23
   Ruled on EZVue · Brand profile (palettes 1, 2 and 3 kept; Saira + Source Sans 3; stacked logo, monogram when necessary;
   no black banner behind the logo; "SP" / "Service Portal" added only where it makes sense; professional voice). */
@font-face{font-family:'Saira';font-weight:800;font-display:swap;src:url(fonts/saira-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Saira';font-weight:700;font-display:swap;src:url(fonts/saira-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-weight:400;font-display:swap;src:url(fonts/source-sans-3-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-weight:600;font-display:swap;src:url(fonts/source-sans-3-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Source Sans 3';font-weight:700;font-display:swap;src:url(fonts/source-sans-3-latin-700-normal.woff2) format('woff2')}
:root{
  /* colour — light (website, documents, portal default) */
  --er-signal-red:#FD0000;   /* logo and large shapes only (4.06:1 on white) */
  --er-action-red:#D7232B;   /* buttons, links, key text (5.04:1 on white) */
  --er-black:#171C21;        /* text, headings */
  --er-steel:#A3B6CB;        /* fills, dividers, accents on black — never text on white */
  --er-slate:#5B6B7C;        /* secondary text (5.47:1 on white) */
  --er-grey:#9AA0A6;         /* neutral grey: borders, icons, disabled */
  --er-charcoal:#6B7480;     /* neutral grey text (4.74:1 on white) */
  --er-paper:#F5F6F8;        /* page background */
  --er-surface:#FFFFFF;
  --er-line:#E3E6EA;
  /* type */
  --er-font-head:'Saira',system-ui,sans-serif;
  --er-font-body:'Source Sans 3',system-ui,sans-serif;
  --er-size-h1:clamp(32px,4.5vw,52px);--er-size-h2:clamp(24px,3vw,34px);--er-size-h3:20px;--er-size-body:17px;--er-size-small:14px;
  --er-radius:10px;--er-space:8px;
}
/* dark — technician app and portal dark mode */
[data-theme="dark"]{
  --er-paper:#171C21;--er-surface:#1F262D;--er-line:#2C353F;
  --er-black:#F5F6F8;        /* text flips light */
  --er-slate:#A3B6CB;        /* steel grey text (8.26:1 on black) */
  --er-action-red:#FD0000;
}
/* logo rule: the logo always sits on a light ground (owner: "it gets lost" on black). In dark mode, put it on a light chip. */
.er-logo-chip{background:#FFFFFF;border-radius:var(--er-radius);padding:6px 10px;display:inline-block}
