/*
 * Bundled UI fonts (USER-REQUESTED 2026-10-11: the same text in every browser and on every OS, no system fonts).
 * The family names, files and ranges must match apps/web/client/ui/font-map.ts (KO_FONT_FACES); tests/font-map.test.ts
 * checks both. File names carry the first 12 hex digits of the file's SHA-256, so the server sends them `immutable`.
 *
 * "KO Arimo"       Arimo 400/700, latin + latin-ext slices, from @fontsource/arimo 5.3.0 (Google Fonts v36).
 *                  SIL Open Font License 1.1: arimo/OFL.txt. Same advance widths as Arial; the line metrics are pinned
 *                  to Arial's hhea values (1854/434/67 per 2048) so "line-height: normal" is 1.15 em on every platform.
 * "KO Symbols"     DejaVu Sans 400/700 (@fontsource/dejavu-sans 5.3.0, DejaVu 2.37), only for symbols, Greek and Cyrillic
 *                  that the Arimo slices lack; Arimo's line metrics so a symbol never changes a line's height.
 * "KO DejaVu Sans" the same DejaVu Sans files as the Verdana substitute (v25xx), line metrics pinned to Verdana's
 *                  2059/430/0. Licence (Bitstream Vera + Arev, DejaVu changes public domain): dejavu-sans/LICENSE.txt.
 *
 * font-display: block — the fonts are small, same-origin and preloaded by the pages, so the short block period is
 * normally never visible; `swap` would first paint the text in a system font and then re-flow it (the cross-platform
 * difference this file exists to remove) and would let canvas/DOM measurements run against the fallback metrics.
 */
:root {
  --ko-font-sans: "KO Arimo", "KO Symbols", sans-serif;
  --ko-font-wide: "KO DejaVu Sans", sans-serif;
}

@font-face {
  font-family: "KO Arimo";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("arimo/arimo-latin-400-normal.c1f056f51c99.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;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}
@font-face {
  font-family: "KO Arimo";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("arimo/arimo-latin-ext-400-normal.3aa939fa3880.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;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}
@font-face {
  font-family: "KO Arimo";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("arimo/arimo-latin-700-normal.181215e08de9.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;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}
@font-face {
  font-family: "KO Arimo";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("arimo/arimo-latin-ext-700-normal.781c6a1e5dde.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;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}

@font-face {
  font-family: "KO Symbols";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("dejavu-sans/dejavu-sans-latin-400-normal.c3c7ca00b453.woff2") format("woff2");
  unicode-range: U+0370-04FF, U+2000-2BFF;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}
@font-face {
  font-family: "KO Symbols";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("dejavu-sans/dejavu-sans-latin-700-normal.77fef6ca55dd.woff2") format("woff2");
  unicode-range: U+0370-04FF, U+2000-2BFF;
  ascent-override: 90.5273%;
  descent-override: 21.1914%;
  line-gap-override: 3.2715%;
}

@font-face {
  font-family: "KO DejaVu Sans";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("dejavu-sans/dejavu-sans-latin-400-normal.c3c7ca00b453.woff2") format("woff2");
  ascent-override: 100.5371%;
  descent-override: 20.9961%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "KO DejaVu Sans";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("dejavu-sans/dejavu-sans-latin-700-normal.77fef6ca55dd.woff2") format("woff2");
  ascent-override: 100.5371%;
  descent-override: 20.9961%;
  line-gap-override: 0%;
}
