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-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}

.language-picker .language-options,.language-picker summary{direction:ltr;text-align:left}.language-picker .language-flag{display:inline-block;flex:0 0 24px}.language-picker .language-option-code{flex:0 0 18px;direction:ltr}.language-picker .language-options a[lang="ar"]>span:last-child{direction:rtl;unicode-bidi:isolate}

/* 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}}

/* 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}
