/* Self-hosted fonts (sovereign / on-premises — NO external CDN).
   Nexus must not depend on Google Fonts at runtime: it would leak user IPs to
   Google and break the "sovereign, on-premises" guarantee. These .ttf files were
   fetched once at build-authoring time and are served from 'self', so the strict
   CSP (font-src 'self') needs no external origin. Replaces the two
   fonts.googleapis.com <link>s that used to be in index.html.

   Phase 5 (nexus_tool_05 redesign, DESIGN-MAPPING.md §3.4): removed the
   Inter (400/500/600/700) and Roboto (300/400/500) @font-face rules that
   used to live here. Inter was the pre-redesign primary UI font
   (--nexus-font-primary, now removed from styles.scss); Roboto was
   Angular Material's default typography font. Every page is Lato-only now
   (body font-family + Material typography config both point at
   var(--font-sans) / the equivalent literal), so neither family had any
   remaining consumer — verified via repo-wide grep before removal. Material
   Icons stays (still required for mat-icon glyphs). Note: 'Roboto Mono' is
   still referenced as a code-block font in a couple of places, but that is
   an unrelated generic monospace family name — never self-hosted here, it
   just falls through to the browser's system monospace font. */

/* Lato — one @font-face per weight, matching the design's own asset set
   (Lato-Light/Regular/Medium/Semibold).

   Weight 700 deliberately resolves to the SEMIBOLD file, not lato-700 (true
   Lato Bold): the design ships no bold weight and aliases 700 → Semibold
   (see the design's css/tokens.css). Pointing 700 at real Bold made every
   heading render visibly heavier than the design — first noticed on the login
   brand headline (2026-07-28).

   Earlier there were duplicate 500/600 rules here mapping to lato-400/lato-700;
   they were dead (a later @font-face for the same family/weight/style wins) and
   only obscured which file a weight actually resolves to. Removed. */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap; src: url('./lato-300.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('./lato-400.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 500; font-display: swap; src: url('./lato-500.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 600; font-display: swap; src: url('./lato-600.ttf') format('truetype'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('./lato-600.ttf') format('truetype'); }

/* Material Icons — the ligature icon font (mat-icon). Without this, mat-icons
   render their ligature TEXT ("attach", "send", …) instead of the glyph. */
@font-face { font-family: 'Material Icons'; font-style: normal; font-weight: 400; font-display: block; src: url('./material-icons.ttf') format('truetype'); }
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
