/* AppWT Translate menu, michiganfirstresearch.com theme (M.A.R.T.Y. for M.O.R.R.I.S. 2026-12-03, key marty-translate-only-1203).
   From the site's own RENDERED colors (Chrome, cleared profile, 1440, https://michiganfirstresearch.com/): page rgb(248, 250, 252), text rgb(30, 41, 59),
   translate rail button #translate-btn rgb(255, 255, 255) / rgb(44, 74, 124). Loaded after appwt-translate-menu.css.
   Contrast (WCAG 2.x, measured): text/bg 13.98:1, text/elev 12.57:1, secondary/bg 5.05:1, secondary/elev 4.54:1, accent/bg 8.44:1, border/bg 3.18:1.
   The rail button itself is the site's own and is not restyled here. */
.appwt-web-ai-solutions-langmenu-dialog { background: #F8FAFC; color: #1E293B; border-color: #898D95; }
.appwt-web-ai-solutions-langmenu-title, .appwt-web-ai-solutions-langmenu-native { color: #1E293B; }
.appwt-web-ai-solutions-langmenu-close, .appwt-web-ai-solutions-langmenu-search { background: #F8FAFC; color: #1E293B; border-color: #898D95; }
.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: #CCD0D5; }
.appwt-web-ai-solutions-langmenu-row { background: #F8FAFC; color: #1E293B; }
.appwt-web-ai-solutions-langmenu-row:hover, .appwt-web-ai-solutions-langmenu-selected { background: #ECEEEF; }
.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: #656C79; }
.appwt-web-ai-solutions-langmenu-check { color: #2C4A7C; }
.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 #2C4A7C; outline-offset: 2px; }
/* Michigan First Research rail: a first-time visitor's cookie banner (#mfr-cookie-consent, z-index 999999, bottom 0) covered
   the translate button (measured BEFORE, prove.js 2026-12-03 15:5x: covered=#mfr-cookie-consent at 1440, the consent container
   at 390). While the banner is up, the footer's lift script sets --mfr-consent-h to the banner's visible height and the button
   rides 12px above it; with no banner it stays at its own 85px. M.A.R.T.Y. for M.O.R.R.I.S. 2026-12-03, key marty-translate-only-1203. */
#translate-btn { bottom: max(85px, calc(var(--mfr-consent-h, 0px) + 12px)) !important; }
