html[lang="ar"]{direction:rtl;scroll-behavior:smooth}
html[lang="ar"] body{font-family:Arial,Tahoma,sans-serif;line-height:1.8;text-align:start}
html[lang="ar"] :is(h1,h2,h3,h4,p,li,summary,blockquote){letter-spacing:0}
html[lang="ar"] :is(p,li){line-height:1.9}
html[lang="ar"] :is(.hero h1,.hub-hero h1){letter-spacing:0;line-height:1.35}
html[lang="ar"] .hero h1{font-size:clamp(40px,4.5vw,68px)}
html[lang="ar"] .hub-hero h1{font-size:clamp(38px,4.1vw,60px)}
html[lang="ar"] :is(.section-heading h2,.section-head h2){line-height:1.45}
html[lang="ar"] :is(.nav-links,.desktop-nav,.hub-navlinks,.nav-cta,.hub-nav-cta,.nav-button){line-height:1.5}
html[lang="ar"] bdi.latin{direction:ltr;unicode-bidi:isolate;letter-spacing:0;overflow-wrap:anywhere}
html[lang="ar"] :is(code,pre,.price,.pair-code,.brand,.logo,.brand-mark,.brand-fallback){direction:ltr;unicode-bidi:isolate}
html[lang="ar"] code{display:inline-block;text-align:left;max-width:100%;overflow-wrap:anywhere}
html[lang="ar"] pre{overflow-x:auto;text-align:left}
html[lang="ar"] :is(.brand,.logo){text-align:left}
html[lang="ar"] :is(input,textarea){direction:rtl;text-align:start}
html[lang="ar"] :is(th,td,.spec-table,.spec-row,.hub-table,.compare-table){text-align:start}
html[lang="ar"] :is(.card-specs,.spec-grid,.quick-facts,.facts,.hero-metrics,.report-grid){min-width:0}
html[lang="ar"] :is(.hero-copy,.hero-text,.hero-content,.hero-grid>*,.split>*,.hub-content>*,.product-grid>*,.card-body){min-width:0}
html[lang="ar"] :is(.card h3,.product-card h3,.product-title,.compare-product-name){overflow-wrap:anywhere;line-height:1.5}
html[lang="ar"] :is(.hero-actions,.trust-row,.card-links,.filter-bar,.filters){flex-wrap:wrap}
html[lang="ar"] :is(.hero-copy,.hero-text,.hero-content,.section-heading,.section-head,.footer-main,.footer-brand,.hub-article,.hub-aside){text-align:start}
html[lang="ar"] :is(ol,ul){padding-left:0;padding-inline-start:1.5em}
html[lang="ar"] :is(.hub-checklist,.hub-related,.price-card ul){padding-inline-start:0}
html[lang="ar"] :is(.language-switch,.language-switch-home,.language-switch-direct){direction:ltr;unicode-bidi:isolate}
html[lang="ar"] .language-switch-direct{margin-left:0;margin-right:0;margin-inline-start:auto}
html[lang="ar"] :is(.table-wrap,.hub-table-wrap,.compare-content){overflow-x:auto;max-width:100%}
html[lang="ar"] :is(.evidence-card,.spec-table,.fact,.pricing-card,.price-card){min-width:0;overflow-wrap:anywhere}
html[lang="ar"] :is(.terminal-card,.chart,.chart-grid,.backtest-visual,.performance-frame,iframe){direction:ltr}
html[lang="ar"] :is(.terminal-head,.terminal-top,.terminal-stats,.report-top,.report-grid,.backtest-top,.backtest-axis){direction:rtl}
html[lang="ar"] .back-to-top{right:auto;left:18px}
html[lang="ar"] :is(.hub-toc,.toc){border-left:0;border-inline-start:3px solid var(--gold,#d3ab62);padding-inline-start:16px}
html[lang="ar"] .compare-chip{direction:ltr;unicode-bidi:isolate}
html[lang="ar"] .compare-table th{min-width:140px}
html[lang="ar"] .media-signature{text-align:start}
@media(max-width:1100px){html[lang="ar"] :is(.nav,.hub-nav){flex-wrap:wrap;row-gap:10px}}
@media(max-width:760px){
 html[lang="ar"] :is(.hero h1,.hub-hero h1){font-size:clamp(30px,8vw,44px);line-height:1.4}
 html[lang="ar"] :is(.language-switch,.language-switch-home){max-width:100%}
 html[lang="ar"] :is(.hero-actions a,.hero-actions button){white-space:normal}
 html[lang="ar"] .compare-dialog{max-width:calc(100vw - 24px)}
 html[lang="ar"] :is(.card-specs,.report-facts){overflow-wrap:anywhere}
 html[lang="ar"] .language-switch-direct{margin-inline-start:auto;margin-inline-end:0}
}
