/* WaselBot's type: IBM Plex Sans Arabic (its Latin letters too) on every page of the platform, in all its weights.
   Loaded last (application/views/include/wb_font.php) so it wins over the older themes' Nunito / Tajawal / Inter / Vazir;
   icon fonts, code and the email editor's own previews keep theirs. */
:root {
  --wb-font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --wb-font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
}

html body,
html body :not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad):not([class*="fa-"]):not(.lni):not([class*="lni-"]):not(.ion):not([class*="ion-"]):not([class^="icon-"]):not([class*=" icon-"]):not([class*="note-icon"]):not(.material-icons):not([class*="flag-icon"]):not(code):not(pre):not(kbd):not(samp) {
  font-family: var(--wb-font) !important;
}

html body code, html body pre, html body kbd, html body samp { font-family: var(--wb-font-mono) !important; }

/* Arabic reads better with a touch more line height; numbers line up in tables and counters */
html[dir="rtl"] body, body[dir="rtl"] { line-height: 1.7; }
html body .table, html body .badge, html body [class*="count"], html body [class*="stat"] { font-variant-numeric: tabular-nums; }
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 { letter-spacing: 0; }
