/* FONTS-LOCAL-1 (HC5) — self-hosted web fonts so the app makes NO off-site font
   requests (the Cockpit PC can run with no internet). This replaces the former
   fonts.googleapis.com / fonts.gstatic.com stylesheet + @import rules.

   Families + weights preserved from the old Google Fonts URLs:
     Inter          wght 400;500;600;700  — served by the Inter variable font
                                            (weight axis 100-900, a superset)
     JetBrains Mono wght 400 (+500;600)   — code panels only; see note below

   The woff2 are open-licensed (Inter & JetBrains Mono are both SIL OFL 1.1) and were
   vendored from on-box copies — nothing is downloaded at build or run time.
   font-display: swap is kept so text paints immediately, same as before.

   NOTE: only the JetBrains Mono 400 master is available offline, so 500/600 map to it.
   The mono face is used only in the Portal docs code panel, never in body text, so this
   is imperceptible; host the 500/600 masters here later if needed. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900; /* variable weight axis — covers 400/500/600/700 exactly */
  font-display: swap;
  src: url('./Inter-roman.var.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600; /* single 400 master serves the 400/500/600 requests */
  font-display: swap;
  src: url('./JetBrainsMono-latin-400.woff2') format('woff2');
}
