/*
 * Self-hosted web fonts — replaces the Google Fonts CDN <link> tags.
 *
 * Files in ../fonts/ were downloaded 2026-07-18 from Google Fonts (fetched with
 * a Chrome User-Agent so Google serves woff2 + unicode-range subsets) from:
 *   https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Geist:wght@300;400;500;600;700&display=swap
 *   https://fonts.googleapis.com/icon?family=Material+Symbols+Sharp
 *
 * Geist and JetBrains Mono are the VARIABLE woff2 files Google serves (one file
 * per unicode-range subset covers every weight), declared below with the weight
 * range each file actually carries in its fvar table. Only the latin and
 * latin-ext subsets are bundled — the pages are English-only.
 *
 * material-symbols-sharp.woff2 is a SUBSET of Material Symbols Sharp (v358)
 * containing only the icon names used in this repo (108 icons, ~11 KB vs
 * ~300 KB full). IMPORTANT: using a NEW icon name requires re-subsetting the
 * font, or the new icon renders as raw ligature text. The icon inventory, the
 * re-subset script, and font licenses live in ../fonts/README.md. Quick check
 * inside the container:
 *   docker compose exec web python /app/trimci/trimci/static/fonts/subset_material_symbols.py --verify
 */

/* ── Geist (UI font, variable wght 100-900) ─────────────────────────────── */
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.4841e590e2a9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.a147f99cd533.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── JetBrains Mono (code font, variable wght 400-800) ──────────────────── */
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.bd4781a31b42.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.b636a65da4f0.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Material Symbols Sharp (icon font, repo-specific subset) ───────────── */
/* font-display: block — icons must never flash their raw ligature text
   ("dashboard", "menu", …) in a fallback face while the font loads. */
@font-face {
  font-family: 'Material Symbols Sharp';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/material-symbols-sharp.23ccc689af5b.woff2") format('woff2');
}

/* Base icon class — copied verbatim from Google's icon CSS
   (https://fonts.googleapis.com/icon?family=Material+Symbols+Sharp) so
   component styles keep the exact specificity they were written against. */
.material-symbols-sharp {
  font-family: 'Material Symbols Sharp';
  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;
}
