/* خط ثمانية (Thmanyah Sans) وحده لكل النظام: تعريف أوزانه + فرضه على كل العناصر + كاشيدا العناوين.
   يُضمَّن عبر alrahma-identity.css (@import) أو مباشرة في الصفحات المستقلة (الرئيسية، الدخول، الطباعة، البوابة). */
@font-face{font-family:'Thmanyah Sans';font-weight:300;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Light.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Light.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:400;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Regular.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Regular.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:500;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Medium.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Medium.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:600;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Bold.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:700;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Bold.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:800;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Black.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Black.otf') format('opentype')}
@font-face{font-family:'Thmanyah Sans';font-weight:900;font-style:normal;font-display:swap;src:url('../fonts/thmanyahsans/woff2/thmanyahsans-Black.woff2') format('woff2'),url('../fonts/thmanyahsans/otf/thmanyahsans-Black.otf') format('opentype')}
/* خط واحد للنظام كله (قرار 2026-10-12): كل المتغيرات على ثمانية Sans — لا Arial ولا Tahoma ولا خطوط الكود */
:root{--font-ui:'Thmanyah Sans',sans-serif;--font-heading:'Thmanyah Sans',sans-serif;--font-numeric:'Thmanyah Sans',sans-serif;--font-serif-display:'Thmanyah Sans',sans-serif;--font-serif-text:'Thmanyah Sans',sans-serif}
/* ── خط ثمانية على كل عناصر النظام ──────────────────────────────
   يعلو أي خط قديم مكتوب داخل الصفحات (inline) دون أن يمس أيقونات Font Awesome/Tabler (حقول الكود والأرقام بخط ثمانية أيضًا). */
html,body,body :where(*:not(i):not(svg):not(svg *):not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]):not(.ti):not([class^="ti-"]):not([class*=" ti-"])){font-family:var(--font-ui)!important}

/* ── كاشيدا ثمانية ────────────────────────────────────────────────
   خاصية swsh في الخط تمد حروف (ب ت ث ئ س ش ص ض ف ق ك م) بمدّتها المميزة، وcurs تصل التطويل «ـ» بانسيابية.
   تُفعَّل على العناوين فقط؛ النصوص والجداول تبقى بالشكل العادي لسهولة القراءة.
   أي عنصر آخر: أضف له class="kashida"، ولإلغائها من عنوان: class="no-kashida". */
h1,h2,.kashida,.page-title,.erp-app header h1,.erp-app .card-head h2,.erp-app>header h1,.site-name,.section-title,.hero-title{
  font-feature-settings:"swsh" 1,"kern" 1,"liga" 1,"calt" 1,"curs" 1}
.no-kashida,.no-kashida *{font-feature-settings:"kern" 1,"liga" 1,"calt" 1!important}
