html[lang=ar]{direction:rtl}html[lang=ar] body{font-family:Tahoma,Arial,sans-serif}html[lang=ar] main,html[lang=ar] footer,html[lang=ar] .detail-intro{text-align:start}html[lang=ar] input[type=email],html[lang=ar] input[type=tel],html[lang=ar] code,html[lang=ar] .technical-ltr{direction:ltr;unicode-bidi:isolate}html[lang=ar] table{direction:rtl}html[lang=ar] th,html[lang=ar] td{text-align:start}html[lang=ar] .language-switcher-menu,html[lang=ar] .language-options{text-align:start}html[lang=ar] .language-flag{display:none}html[lang=ar] .language-option-code{direction:ltr;unicode-bidi:isolate}html[lang=ru] h1,html[lang=vi] h1{overflow-wrap:anywhere}html[lang=ar] h1{line-height:1.4}.language-switcher-menu,.language-options{max-height:min(70vh,650px);overflow-y:auto}.language-switcher-menu a,.language-options a{white-space:normal}html[lang=ar] .nav-chevron{margin-inline-start:6px}@media(max-width:640px){html[lang=ar] main h1{font-size:clamp(1.8rem,7vw,3rem)}table{max-width:100%}.table-scroll,.table-wrap{overflow-x:auto}}
html[dir="rtl"] .form-honeypot,html[dir="rtl"] .phinq-honeypot{position:absolute!important;width:1px!important;height:1px!important;left:0!important;right:auto!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important}

@media(max-width:700px){html:is([lang="ar"],[lang="ru"],[lang="vi"]) .en-hero-title{font-size:clamp(23px,6.5vw,30px);line-height:1.2;max-width:calc(100% - 40px)}html:is([lang="ar"],[lang="ru"],[lang="vi"]) .en-hero-title-line{white-space:normal;overflow-wrap:break-word}html[lang="ar"] .ph-contact-label{white-space:normal;line-height:1.2;font-size:10px}}

/* Keep Arabic hero copy over the left-hand shaded area of the unchanged video. */
@media(min-width:768px){
html[lang="ar"] .english-home .en-hero-content{direction:ltr}
html[lang="ar"] .english-home .en-hero-copy{direction:rtl;text-align:right;width:min(640px,48vw);margin-left:0;margin-right:auto}
}

@media(max-width:767px){
html[lang="ar"] .english-home .en-hero-copy .en-hero-title{justify-self:left;margin-left:22px;margin-right:0;text-align:right}
}

/* Arabic uses a static joined-script heading, with no folding animation. */
html[lang="ar"] .english-home [data-hero-fold]{visibility:visible}

/* Keep the brand on the left while Arabic navigation text remains RTL. */
html[lang="ar"] .site-header{direction:ltr}
html[lang="ar"] .site-header .desktop-nav{direction:ltr}
html[lang="ar"] .site-header :is(.nav-icon-link,.nav-dropdown,.mobile-nav,.header-cta,.menu-button){direction:rtl}

/* Review: preserve English component placement; scope RTL to Arabic text. */
html[lang="ar"] body{direction:ltr}
html[lang="ar"] :is(h1,h2,h3,h4,h5,h6,p,blockquote,figcaption,dt,dd,label,legend,th,td){direction:rtl;unicode-bidi:plaintext}
html[lang="ar"] table{direction:ltr}
html[lang="ar"] :is(input:not([type="email"]):not([type="tel"]),textarea,select){direction:rtl}
html[lang="ar"] :is(.site-header,.home-header-row,.nav-shell,.desktop-nav,.header,.header .nav,.header .brand){direction:ltr}
html[lang="ar"] :is(.nav-icon-link,.header .nav>a,.nav-dropdown,.menu-button){direction:rtl}
html:is([lang="ar"],[lang="ru"],[lang="vi"]) :is(.en-product-review-grid dt,.en-product-review-grid dd){min-width:0;overflow-wrap:anywhere}
html:is([lang="ar"],[lang="ru"],[lang="vi"]) :is(h1,h2,h3,.framework-catalog-card-name){min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){html:is([lang="ar"],[lang="ru"],[lang="vi"]) .en-product-review-grid>div{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:12px}}

html:is([lang="ar"],[lang="ru"],[lang="vi"]) .english-home [data-hero-fold]{visibility:visible}

/* Local preview notice must not cover the fixed site navigation. */
body>aside:has(>a[href="http://127.0.0.1:4390/"]){position:fixed!important;top:auto;bottom:0;left:0;right:0;padding:3px!important;font-size:11px!important;line-height:16px!important;pointer-events:none}
body>aside:has(>a[href="http://127.0.0.1:4390/"])>a{pointer-events:auto}
