/* Self-hosted admin typefaces (vendored .woff2, no external requests).
 *
 * This sheet only DECLARES the @font-face families and a small base tracking
 * tweak; it does NOT pick the active UI font. The active font is chosen in
 * Site settings and applied by the dynamic `admin/font.css` endpoint, which
 * overrides Unfold's Tailwind `--font-sans` variable (see notebook/views.py).
 *
 * URLs are relative to THIS file (notebook/static/notebook/fonts.css).
 *
 *   - JetBrains Mono : variable 100..800, latin + latin-ext, roman + italic
 *   - Monaspace Neon : variable 200..800 (Monaspace's "code/mono" texture)
 *   - Monaspace Argon: variable 200..800 (Monaspace's "humanist" texture)
 */

/* ---- JetBrains Mono ---------------------------------------------------- */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono/jetbrains-mono-latin.782150e6836b.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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono/jetbrains-mono-latin-ext.4a4e74bed580.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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono/jetbrains-mono-italic-latin.93846c447740.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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url("fonts/jetbrains-mono/jetbrains-mono-italic-latin-ext.e903ddfbc54d.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;
}

/* ---- Geist Mono (variable 100..900; SF Mono-style, SIL OFL) ------------ */
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono/geist-mono-latin.cd5b25781181.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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-mono/geist-mono-latin-ext.a27466d06912.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;
}

/* ---- Monaspace (variable; one woff2 per family) ------------------------ */
@font-face {
  font-family: "Monaspace Neon";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/monaspace/monaspace-neon-var.3cf91fb3c62a.woff2") format("woff2");
}
@font-face {
  font-family: "Monaspace Argon";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/monaspace/monaspace-argon-var.21729ad3416e.woff2") format("woff2");
}

/* These monospaced/text faces run a touch wide; a hair of negative tracking
   keeps dense admin tables compact. Single-ligature icon glyphs are unaffected. */
body {
  letter-spacing: -0.01em;
}
