/* Self-hosted Arabic webfont for the Console screen.

   The Inter / Source Serif 4 / JetBrains Mono UI faces load from Google Fonts
   (App.razor). Arabic, however, was previously unstyled on screen — only the
   PDF certificate embedded Noto Naskh Arabic. This self-hosts that SAME family
   (the OFL-licensed TTFs copied from Mohap.Infrastructure/Certificates/Fonts,
   OFL.txt carried alongside) so on-screen Arabic — the bilingual outcome letter
   (Phase 2) and any RTL fragment — renders with the same authoritative Naskh
   face as the printed document.

   Self-hosting keeps this CSP-safe: same-origin font files, no third-party
   Arabic font dependency. font-display: swap so first paint never blocks. */

@font-face {
    font-family: 'Noto Naskh Arabic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/NotoNaskhArabic-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Noto Naskh Arabic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/NotoNaskhArabic-Bold.ttf') format('truetype');
}

/* Opt-in Arabic face: any element carrying lang="ar" (the outcome letter's AR
   column / fragments) renders in Noto Naskh Arabic via the --font-ar token. */
:lang(ar) {
    font-family: var(--font-ar);
}
