/* ================================================================
   ROII Global Font Override (v5)
   --------------------------------------------------------------
   System uses ONLY 2 fonts:
     - Bebas Neue (display / numbers / labels / mono)
     - Prompt (body text + Thai glyphs)
   Any legacy 'JetBrains Mono' usage is remapped to Bebas Neue here
   so the look stays consistent even if a future commit reintroduces
   the old font name in inline styles.
   ================================================================ */

/* Default — Prompt (no !important so class rules with Bebas Neue win) */
html, body {
    font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif;
}

/* Form controls — Prompt (browser default would be system font otherwise) */
input, textarea, select, button {
    font-family: 'Prompt', 'Noto Sans Thai', sans-serif;
}

::placeholder {
    font-family: 'Prompt', 'Noto Sans Thai', sans-serif;
}

/* Code / pre — Bebas Neue (we don't use a separate mono font) */
code, pre, kbd, samp, tt {
    font-family: 'Bebas Neue', 'Prompt', 'Noto Sans Thai', sans-serif;
    letter-spacing: 1px;
}

/* ================================================================
   Inline-style remap — Bebas Neue OR legacy JetBrains Mono both
   resolve to Bebas Neue + Prompt fallback (so Thai still renders).
   ================================================================ */
body [style*="Bebas Neue"],
body [style*="'Bebas Neue'"],
body [style*="JetBrains Mono"],
body [style*="'JetBrains Mono'"] {
    font-family: 'Bebas Neue', 'Prompt', 'Noto Sans Thai', sans-serif !important;
}

/* Bootstrap icons — always preserved */
html body .bi,
html body i[class*="bi-"],
html body [class^="bi-"],
html body [class*=" bi-"] {
    font-family: 'bootstrap-icons' !important;
}
