/* ============================================================
   Neuraplex local fonts — Poppins (primary) + Inter (fallback)
   ------------------------------------------------------------
   Carried forward from the legacy clinician shell (Metronic
   KTAppSettings.font-family = "Poppins"). Self-hosted so the
   product keeps a consistent identity offline / in air-gapped
   NHS deployments and never reaches out to Google Fonts.
   font-display: BLOCK, not swap. `swap` painted every page first in the
   system fallback (Segoe UI — visibly smaller and narrower than Poppins)
   and then re-flowed it a moment later, on EVERY navigation, which read
   as a cheap flash of wrong text. `block` holds text for the brief moment
   the font takes to arrive instead. It arrives with the CSS because the
   layouts PRELOAD the one face the product renders (Poppins Regular —
   the product is a single weight, 400); the block period is capped by
   the browser (~3s), so a font that genuinely fails still falls back.
   ============================================================ */

/* Poppins — primary brand face */
@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

/* Inter — kept available as a secondary face for any view that opts in */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: block;
}
