/* Overrides Radzen's bundled Material Symbols variable font (_content/Radzen.Blazor/fonts/MaterialSymbolsOutlined.woff2,
   ~1.04MB) with a static instance (wght=400, FILL=0) pinned via fonttools varLib.instancer - same 6,394 glyphs and
   ligature feature, just without the variable-axis data, at ~342KB. Must be linked AFTER the Radzen theme stylesheet
   so this @font-face wins the cascade for the 'Material Symbols' family. */
@font-face {
  font-family: 'Material Symbols';
  src: url('../fonts/MaterialSymbolsOutlined-static.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 700;
}

/* Overrides Radzen's bundled Source Sans 3 variable font (_content/Radzen.Blazor/fonts/SourceSans3VF-*.ttf.woff2,
   170KB/138KB). Radzen's theme CSS is compiled from SCSS with 'Source Sans Pro' baked as a literal font-family on
   every component class (it's a $scss-variable, not a CSS custom property), so the only way to redirect it without
   touching every Radzen class is to redefine what @font-face resolves that name to. First we try local() against
   the font names already shipped with Windows/Android/most Linux desktops - if one matches, the browser renders
   with zero download. Only browsers with none of those installed (a minority, mostly older Linux/other OSes) fall
   through to the url() below: a glyph subset covering Latin, Latin-1/Extended-A, general punctuation and currency
   symbols only (drops Cyrillic/Greek/IPA the app never renders), at ~56KB/46KB. The wght 200-900 variable axis is
   kept intact there so all font-weights the theme uses (400/500/700) still render correctly. Must be linked AFTER
   the Radzen theme stylesheet so these @font-face rules win the cascade for the 'Source Sans Pro' family. */
@font-face {
  font-family: 'Source Sans Pro';
  src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'), local('Arial'),
       url('../fonts/SourceSans3VF-Upright-subset.woff2') format('woff2 supports variations'),
       url('../fonts/SourceSans3VF-Upright-subset.woff2') format('woff2-variations');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: local('Segoe UI Italic'), local('Roboto Italic'), local('Helvetica Neue Italic'), local('Arial Italic'),
       url('../fonts/SourceSans3VF-Italic-subset.woff2') format('woff2 supports variations'),
       url('../fonts/SourceSans3VF-Italic-subset.woff2') format('woff2-variations');
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}
