/* AppWT Translate menu, Huron & Page theme (S.E.R.A.P.H.I.N.A. for L.U.M.I.N.A., 2026-12-01, key lumina-standalones-1201 HP-05).
   Light theme from the site's own RENDERED colors (Chrome, clean profile, 1440, home + book + legal pages, 2026-12-01 05:5x):
   page rgb(250, 247, 240), text rgb(23, 39, 42), link rgb(35, 76, 81), button rgb(199, 163, 107) with text rgb(23, 39, 42).
   Contrast (WCAG 2.x, measured): text/bg 14.43:1, text/hover 12.92:1, secondary/bg 6.64:1, secondary/hover 5.94:1, accent/bg 8.83:1.
   Loaded after appwt-translate-menu.css. The site's own translate buttons (#awx-lang-btn, #awlTr) keep their own look. */
.appwt-web-ai-solutions-langmenu-button { background: #C7A36B; color: #17272A; border: 1px solid #17272A; border-radius: 6px; }
.appwt-web-ai-solutions-langmenu-button .appwt-web-ai-solutions-langmenu-caret, .appwt-web-ai-solutions-langmenu-button .appwt-web-ai-solutions-langmenu-short { color: #17272A; }
.appwt-web-ai-solutions-langmenu-dialog { background: #FAF7F0; color: #17272A; border-color: #4B5B5E; }
.appwt-web-ai-solutions-langmenu-title, .appwt-web-ai-solutions-langmenu-native { color: #17272A; }
.appwt-web-ai-solutions-langmenu-close, .appwt-web-ai-solutions-langmenu-search { background: #FAF7F0; color: #17272A; border-color: #4B5B5E; }
.appwt-web-ai-solutions-langmenu-searchbar, .appwt-web-ai-solutions-langmenu-group + .appwt-web-ai-solutions-langmenu-group, .appwt-web-ai-solutions-langmenu-variants { border-color: #D6D7D2; }
.appwt-web-ai-solutions-langmenu-row { background: #FAF7F0; color: #17272A; }
.appwt-web-ai-solutions-langmenu-row:hover, .appwt-web-ai-solutions-langmenu-selected { background: #ECEBE4; }
.appwt-web-ai-solutions-langmenu-label, .appwt-web-ai-solutions-langmenu-group-title, .appwt-web-ai-solutions-langmenu-dot, .appwt-web-ai-solutions-langmenu-english, .appwt-web-ai-solutions-langmenu-none, .appwt-web-ai-solutions-langmenu-search::placeholder { color: #4B5B5E; }
.appwt-web-ai-solutions-langmenu-check { color: #234C51; }
.appwt-web-ai-solutions-langmenu-button:focus-visible, .appwt-web-ai-solutions-langmenu-close:focus-visible, .appwt-web-ai-solutions-langmenu-row:focus-visible, .appwt-web-ai-solutions-langmenu-search:focus-visible { outline: 2px solid #234C51; outline-offset: 2px; }
/* Arabic turns the page right-to-left (data-dir="rtl-ar"). In RTL the scrollable side is the LEFT, so the off-screen search labels
   (inline left:-9999px), the accessibility skip link (inline left:-10000px until focused), the newsletter and promo honeypots (.appwt-nl__hp, .awp-hp) and the price-radio inputs made a page about
   10,000px wide that opened scrolled sideways and, at 390, zoomed the phone layout out to 1,560px (measured 2026-12-01 with the
   staged widget). In RTL they park on the right, the clipped side. Left-to-right pages are untouched. */
html[dir="rtl"] [style*="left:-9999px"], html[dir="rtl"] [style*="left: -9999px"], html[dir="rtl"] [style*="left:-10000px"], html[dir="rtl"] [style*="left: -10000px"], html[dir="rtl"] a[data-ada-skip-link]:not(:focus), html[dir="rtl"] .appwt-nl__hp, html[dir="rtl"] .awp-hp, html[dir="rtl"] .m-prices .mp input { left: auto !important; right: -9999px !important; }
/* The home hero darkens its LEFT side behind the headline (index.html .hero:after, a 90deg gradient). Right-to-left moves the
   headline to the right, over the bright book covers, so in RTL the same gradient is mirrored (270deg). Home page only (.hero-copy). */
html[dir="rtl"] .hero:has(.hero-copy)::after { background: linear-gradient(270deg, rgba(10,10,10,.97) 0%, rgba(10,10,10,.90) 24%, rgba(10,10,10,.42) 38%, rgba(10,10,10,.06) 52%, rgba(10,10,10,0) 72%, rgba(10,10,10,.55) 100%) !important; }
