/* Language is scoped to the active UI, including the English view inside the Arabic document. */
:root, [dir="rtl"], [lang="ar"] { --ui-font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', Tahoma, Arial, sans-serif; }
[dir="ltr"], [lang="en"] { --ui-font: 'IBM Plex Sans', 'IBM Plex Sans Arabic', Arial, sans-serif; }
body, [dir], [lang] { font-family: var(--ui-font); }
body { font-weight: 400; }
button, input, textarea, select, option { font-family: var(--ui-font); }
h1, h2, h3, h4, h5, h6 { font-weight: 600 !important; }
button, .btn-gold, .btn-secondary { font-weight: 500 !important; }
input, textarea, select { font-weight: 400; }
code, pre, .font-mono { font-family: 'IBM Plex Mono', 'IBM Plex Sans Arabic', monospace; }

/* Arabic Sanad wordmark retains its readable horizontal proportions. */
.sidebar-brand img,.auth-brand img{width:42px;height:42px;object-fit:contain;flex-shrink:0;filter:none}
