/* Manrope, self-hosted. The panel's own typeface (tenant-app.css's `.tapp-shell`
 * font stack) was never loaded, so every screen fell back to system-ui and looked
 * nothing like the design it was drawn against.
 *
 * Self-hosted rather than linked from Google: SecurityHeadersMiddleware sends
 * `font-src 'self' data:` and `style-src 'self' 'unsafe-inline'`, so a stylesheet
 * link to fonts.googleapis.com and the font files behind it are both refused - and
 * widening the policy for a typeface is the wrong trade. Manrope is OFL licensed,
 * which permits this.
 *
 * Only latin and latin-ext are here. latin-ext is what carries the Turkish letters
 * (Turkish coverage is the reason this typeface was chosen); the Cyrillic, Greek and
 * Vietnamese subsets Google also serves are weight the panel would download and
 * never draw.
 *
 * Two @font-face rules, not ten - one per subset, each covering the whole weight range.
 * The two files below are the *variable* font (they carry fvar/gvar/HVAR, wght axis
 * 200-800), and Google's own stylesheet only splits a family per weight because it serves
 * one static instance per rule. This file used to copy that shape, which was wrong twice
 * over. It named five weights per subset but pointed all five at the same bytes under five
 * different URLs, so a browser fetched the identical face up to ten times - and those font
 * URLs are the one part of this bundle MapAbpStaticAssets does not fingerprint (they are
 * resolved relative to the stylesheet, not written by a tag helper), so each of the ten
 * carries `Cache-Control: no-cache` and is revalidated on every single navigation. Worse,
 * a single `font-weight` descriptor tells the browser to treat a variable file as one
 * static face at the file's own default instance, and Manrope's default instance is 200
 * (ExtraLight) - so 500 labels and 700 headings were all being drawn ExtraLight, and the
 * swap away from system-ui was a whole-page weight change rather than a typeface change.
 * A range descriptor is what makes the browser set the wght axis instead.
 *
 * `font-display: swap` stays, but the two files are now preloaded from
 * Pages/Shared/_TenantAppLayout.cshtml's own <head>. Without that they are discovered only
 * after two stylesheets have arrived and parsed, which is late enough for swap to mean a
 * visible reflow on each page; preloaded, they are requested alongside the document and the
 * swap window closes before first paint.
 */

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/manrope-latin-ext.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: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/manrope-latin.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;
}
