/* Self-hosted IBM Plex. The woff2 subsets beside this file are copied from
 * @fontsource/ibm-plex-sans and @fontsource/ibm-plex-mono 5.3.0
 * (fontsource.org, OFL; license in OFL.txt beside this file). Only the faces
 * the app can actually put on screen ship: 400/500/600/700 normal, 400
 * italic, and 700 italic (what bold italic resolves to in rich text and
 * markdown panels — without it the browser would smear a synthetic bold onto
 * the 400 italic), latin + latin-ext. The latin-ext faces are gated by
 * unicode-range, so the browser fetches them only when such a character
 * appears.
 *
 * The name is app.css, not fonts.css: management-plane/.gitignore ignores
 * every css file under an app's public/fonts (vendored @fontsource
 * stylesheets) and re-includes exactly one name, app.css, for the
 * hand-written one. Named anything else this file is silently skipped by
 * git add and the app ships 24 woff2 files with no @font-face rule. There
 * is a test for that: apps/frontend/src/fonts-shipped.test.ts.
 *
 * This file lives in public/, not src/, on purpose: Vite serves public/
 * verbatim, so it reaches the browser as the plain stylesheet index.html
 * links. Bundled instead (an @import from globals.css, say), Vite rewrites
 * the url()s to hashed /assets/ copies, which breaks the preload match in
 * index.html and downloads every font twice. Verbatim, the relative url()s
 * resolve beside this file and the preloads hit the same URLs the CSS asks
 * for — in production builds renderBuiltUrl (vite.config.ts) rewrites the
 * index.html references for this file and the preloads onto the assets CDN
 * together, and the relative url()s then resolve beside it there.
 *
 * display: optional, not swap. swap repaints the page in IBM Plex whenever
 * the download finishes, which is the visible flash; optional gives each
 * face a short window and, if it misses, keeps the fallback for that page
 * view and never swaps mid-read. The decision is per @font-face, not
 * per-page, so a cold cache can in principle mix faces (body in Plex, a
 * heading in fallback). The preload tags in index.html exist to win that
 * window for the first-paint faces, and because the app sits behind a
 * login, caches are warm from the second page view on. */

/* ibm-plex-sans-latin-ext-400-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-sans-latin-ext-400-normal.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;
}

/* ibm-plex-sans-latin-400-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-sans-latin-400-normal.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;
}

/* ibm-plex-sans-latin-ext-500-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 500;
  src: url("ibm-plex-sans-latin-ext-500-normal.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;
}

/* ibm-plex-sans-latin-500-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 500;
  src: url("ibm-plex-sans-latin-500-normal.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;
}

/* ibm-plex-sans-latin-ext-600-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 600;
  src: url("ibm-plex-sans-latin-ext-600-normal.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;
}

/* ibm-plex-sans-latin-600-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 600;
  src: url("ibm-plex-sans-latin-600-normal.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;
}

/* ibm-plex-sans-latin-ext-700-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-sans-latin-ext-700-normal.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;
}

/* ibm-plex-sans-latin-700-normal */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-sans-latin-700-normal.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;
}

/* ibm-plex-sans-latin-ext-400-italic */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-sans-latin-ext-400-italic.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;
}

/* ibm-plex-sans-latin-400-italic */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-sans-latin-400-italic.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;
}

/* ibm-plex-mono-latin-ext-400-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-mono-latin-ext-400-normal.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;
}

/* ibm-plex-mono-latin-400-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-mono-latin-400-normal.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;
}

/* ibm-plex-mono-latin-ext-500-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 500;
  src: url("ibm-plex-mono-latin-ext-500-normal.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;
}

/* ibm-plex-mono-latin-500-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 500;
  src: url("ibm-plex-mono-latin-500-normal.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;
}

/* ibm-plex-mono-latin-ext-600-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 600;
  src: url("ibm-plex-mono-latin-ext-600-normal.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;
}

/* ibm-plex-mono-latin-600-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 600;
  src: url("ibm-plex-mono-latin-600-normal.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;
}

/* ibm-plex-mono-latin-ext-700-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-mono-latin-ext-700-normal.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;
}

/* ibm-plex-mono-latin-700-normal */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-mono-latin-700-normal.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;
}

/* ibm-plex-mono-latin-ext-400-italic */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-mono-latin-ext-400-italic.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;
}

/* ibm-plex-mono-latin-400-italic */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-display: optional;
  font-weight: 400;
  src: url("ibm-plex-mono-latin-400-italic.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;
}

/* ibm-plex-sans-latin-ext-700-italic */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-sans-latin-ext-700-italic.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;
}

/* ibm-plex-sans-latin-700-italic */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-sans-latin-700-italic.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;
}

/* ibm-plex-mono-latin-ext-700-italic */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-mono-latin-ext-700-italic.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;
}

/* ibm-plex-mono-latin-700-italic */
@font-face {
  font-family: "IBM Plex Mono";
  font-style: italic;
  font-display: optional;
  font-weight: 700;
  src: url("ibm-plex-mono-latin-700-italic.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;
}
