/*
 * Omnx Flow — self-hosted fonts (Roboto 400/500/700, Roboto Mono var,
 * Material Symbols Outlined subset)
 * ---------------------------------------------------------------------------
 * woff2 files vendored into assets/fonts/ (downloaded from fonts.gstatic.com,
 * latin subset) so the PWA renders identically offline — no external font CDN
 * (NFR-09: no third-party request carries even a referer from this app).
 * font-display: swap keeps first paint on the system fallback stack.
 * The unicode-range below is the standard latin subset declaration.
 *
 * material-symbols-outlined.woff2 is a ~100KB SUBSET (Google css2 API
 * `icon_names=` parameter), not the 3.9MB full set: it contains the icons the
 * app uses plus a small forward margin. ADDING A NEW ICON NAME means
 * re-fetching the subset with the name added — an unknown ligature renders as
 * its literal word. font-display: block on the icon face (never swap) so a
 * slow load shows nothing rather than the raw ligature text.
 */

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

/* The canonical icon class (verbatim from the Google css2 stylesheet — pages
 * used to receive this from the CDN; it must live here now). base.css layers
 * the app's font-variation-settings on top. */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  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;
}

/* Roboto Mono — one variable file serves 400 and 500 (Emp # chips, shift
 * codes, code blocks). */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/roboto-mono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/roboto-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/roboto-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/roboto-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
