/* ==========================================================================
   Uno type layer v2 — Alexandria for Arabic, Inter for Latin and digits.
   Both faces are self-hosted here, both are SIL Open Font License 1.1.
   Alexandria is a variable font (100-900): one woff2 per unicode subset, so
   headings at 700-800 and body at 400-500 come from the same file.
   Latin and digits resolve to Inter first, Arabic falls through to Alexandria.
   Link this file last, after uno-type.css.
   ========================================================================== */
@font-face{
  font-family:'Uno Inter';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/inter-var.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-arabic.woff2) format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root{
  --uno-font:'Uno Inter','Uno Alexandria','Alexandria','IBM Plex Sans Arabic','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-font-latin:'Uno Inter','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-font-arabic:'Uno Alexandria','Alexandria','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-lh-ar:1.7; --uno-lh-en:1.55;
}
html body,html button,html input,html select,html textarea,html .btn,html .ua,html .uerp,html .erp-login,html .ucrm{
  font-family:var(--uno-font)!important;
}
html code,html pre,html kbd,html .mono,html .num-mono{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace!important}
/* Arabic reads better with room between lines; English stays tight */
html[lang=ar] body{line-height:var(--uno-lh-ar)}
html[lang=en] body{line-height:var(--uno-lh-en)}
html[lang=ar] p,html[lang=ar] li,html[lang=ar] .sub,html[lang=ar] .ua-sub,html[lang=ar] .ua-note{line-height:1.75}
html[lang=ar] table td,html[lang=ar] table th,html[lang=ar] .tbl td,html[lang=ar] .tbl th{line-height:1.5}
/* headings: the design uses 600-800, body 400-500 */
html body h1,html body h2,html body h3{font-weight:700;letter-spacing:-.005em}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{letter-spacing:0;font-weight:700}
html[lang=ar] .ua-card h2,html[lang=ar] .ua-panel h1,html[lang=ar] .u-top h1,html[lang=ar] .u-empty b{font-weight:800}
html body{font-feature-settings:'kern' 1,'liga' 1,'calt' 1;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
