/* F3-E.9. Central layouts add this boundary only for an Arabic request.
   Existing self-hosted SIL OFL variable fonts, shared URL cache across aliases.
   Tenant views, theme assets, English requests and email/PDF templates are untouched. */
@font-face{font-family:SDKAlexandria;src:url('../frontend/about-v21/fonts/Alexandria.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:SDKCairo;src:url('../frontend/about-v21/fonts/Cairo.ttf') format('truetype');font-weight:200 1000;font-style:normal;font-display:swap}
html[data-sdk-central-ar="true"]{--sdk-ar-heading:SDKAlexandria,Alexandria,Tahoma,Arial,sans-serif;--sdk-ar-body:SDKCairo,Cairo,Tahoma,Arial,sans-serif;--sdk-ar-body-leading:1.75;--sdk-ar-heading-leading:1.55;--heading-font:var(--sdk-ar-heading);--body-font:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] body{font-family:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] body :is(.sdk-modern,.sdk-functional,.sdk-about-v21,.cv-page,.pr-page,.bl-page,.sdk-lp-v2,.lp-header,.lp5-footer,.lp51-footer,.lp-footer,.container-scroller){font-family:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] body :is(p,li,dt,dd,td,th,input,select,textarea,label,small,blockquote,figcaption,.form-control,.dropdown-item,.toast-message,.alert,.badge,.select2-container,.nice-select,.note-editable){font-family:var(--sdk-ar-body)}
/* An ID in :is raises this above existing page-specific rules without !important. */
html[data-sdk-central-ar="true"] body :is(#sdk-modern-main,#lp-main,.sdk-about-v21,.cv-page,.pr-page,.bl-page,.container-scroller,.lp-header,.lp5-footer,.lp51-footer,.lp-footer) :is(h1,h2,h3,h4,h5,h6,[role=heading],.title,.page-title,.card-title,.modal-title,legend,.menu-title,nav a,button,.btn,.cmn-btn,.lp-button,.av-button,.cv-button,summary,.nav-link,[role=tab]){font-family:var(--sdk-ar-heading);letter-spacing:normal}
html[data-sdk-central-ar="true"] body :is(h1,h2,h3,h4,h5,h6,button,.btn,.cmn-btn,.menu-title,.nav-link,[role=tab]){font-family:var(--sdk-ar-heading);letter-spacing:normal}
html[data-sdk-central-ar="true"] body :is(#sdk-modern-main,#lp-main,.sdk-about-v21,.cv-page,.pr-page,.bl-page,.container-scroller,.lp-header,.lp5-footer,.lp51-footer,.lp-footer) :is(p,input,select,textarea,label,td,th,small,.form-control){font-family:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] body :is(.lp-nav a,.lp-nav a span,.lp-mobile-nav a,.lp-header-cta,.lp5-footer h2,.lp51-footer h2,.lp-footer h2,.dashboard-list a,.sidebar .menu-title,.sidebar .nav-link,.nav-tabs a,.dropdown-toggle){font-family:var(--sdk-ar-heading)}
html[data-sdk-central-ar="true"] body :is(.lp5-footer a,.lp51-footer a,.lp-footer a,.lp5-footer p,.lp51-footer p,.lp-footer p){font-family:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] body :is(.lp-eyebrow,.sdk-eyebrow,.cv-eyebrow,.sdk-account-overline,th){letter-spacing:normal}
/* The only font-family !important exceptions replace existing handwritten !important rules. */
html[data-sdk-central-ar="true"] body :is(.cv-handnote,.lp31-annotation p,.lp-growth-note,.lp-handnote,.lp-hand-note){font-family:var(--sdk-ar-heading)!important}
/* Preserve icon and code fonts. English requests do not load this stylesheet. */
html[data-sdk-central-ar="true"] :is(code,pre,kbd,samp,.pc-code,.font-monospace){font-family:var(--bs-font-monospace,monospace)}
html[data-sdk-central-ar="true"] :is(input[type=email],input[type=url],input[type=tel]){direction:ltr;text-align:start;unicode-bidi:plaintext}
html[data-sdk-central-ar="true"] :is(bdi,[dir=ltr]){unicode-bidi:isolate}
/* Allow Arabic forms and navigation to grow with text zoom; retain component sizes. */
html[data-sdk-central-ar="true"] .container-scroller :is(.btn,.form-control,.nav-link,.dropdown-item){line-height:1.65}
html[data-sdk-central-ar="true"] .sidebar .nav .nav-item .nav-link .menu-title{line-height:1.65;white-space:normal}
html[data-sdk-central-ar="true"] .sidebar .nav .nav-item .nav-link{height:auto;min-height:44px}
html[data-sdk-central-ar="true"] :is(.lp5-footer,.lp51-footer,.lp-footer) input{line-height:1.6}
/* Explicit component fonts in older landing sections and annotations also join
   the central tokens. Icon classes and generated icon glyphs keep their fonts. */
html[data-sdk-central-ar="true"] :is(body.sdk-lp-v2,#sdk-modern-main,#sdk-functional-main,#lp-main,.container-scroller,.lp-header,.lp5-footer,.lp51-footer,.lp-footer,.navbar-area,.footer-area) :is(div,span,a,strong,em,b,p,small,label,input,textarea,select,td,th):not(:is(.mdi,.las,.la,.fa,.fas,.far,.fab,.ui-icon,[class^="icon-"],[class*=" icon-"])){font-family:var(--sdk-ar-body)}
html[data-sdk-central-ar="true"] :is(body.sdk-lp-v2,#sdk-modern-main,#sdk-functional-main,#lp-main,.container-scroller,.lp-header,.lp5-footer,.lp51-footer,.lp-footer,.navbar-area,.footer-area) :is(h1,h2,h3,h4,h5,h6,.title,.card-title,.page-title,.modal-title,.menu-title,legend,nav a,button,.btn,.cmn-btn,.lp-button,.av-button,.cv-button,.nav-link,[role=tab],summary){font-family:var(--sdk-ar-heading)}
html[data-sdk-central-ar="true"] :is(body.sdk-lp-v2,#sdk-modern-main,#sdk-functional-main,#lp-main,.container-scroller,.lp-header,.lp5-footer,.lp51-footer,.lp-footer) :is(h1,h2,h3,h4,h5,h6,button,.btn,.lp-button,.av-button,.cv-button,.nav-link,[role=tab],nav a,summary) :is(span,strong,em,b,a):not(:is(.mdi,.las,.la,.fa,.fas,.far,.fab,.ui-icon)){font-family:var(--sdk-ar-heading)}
html[data-sdk-central-ar="true"] :is(body.sdk-lp-v2,#sdk-modern-main,#sdk-functional-main,#lp-main,.container-scroller) :is(.cv-handnote,.lp31-annotation p,.ef-hand-note,.bl-annotation){font-family:var(--sdk-ar-heading)!important}
html[data-sdk-central-ar="true"] :is(body.sdk-lp-v2,#sdk-modern-main,#sdk-functional-main,#lp-main,.container-scroller) :is(code,pre,kbd,samp,.pc-code,.font-monospace){font-family:var(--bs-font-monospace,monospace)}
html[data-sdk-central-ar="true"] #sdk-modern-main .cv-page[lang="ar"] .cv-handnote{font-family:var(--sdk-ar-heading)!important}
