/* A language choice before sign-in; no changes to Hebrew app layout. */
#speedMailSignupLanguageBar{
 position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;z-index:10090;
 display:flex;gap:7px;align-items:center;max-width:calc(100vw - 24px);padding:4px;
 border:2px solid #a6ccb4;border-radius:13px;background:#f5faf6;direction:ltr;
 box-shadow:0 5px 18px #002e1880
}
#speedMailSignupLanguageBar label{font-size:12px;color:#1b5036;font-weight:900;white-space:nowrap}
#speedMailSignupLanguage{min-height:42px;max-width:158px;padding:6px 8px;
 border:1px solid #a4bfad;border-radius:9px;background:#fff;color:#154e31;font-size:15px}
#speedMailSignupLanguage:focus-visible{outline:3px solid #ffd96e}
/* Keep the existing Hebrew registration card position unchanged. */
html:not([lang="he"]) #profileGate .profileCard{margin-top:max(38px,env(safe-area-inset-top))}
html.speedmail-ltr :is(#profileGate .profileCard,#home,#conversation,.speedModalCard,.businessOverlay .businessPanel,
 .businessOverlay .businessHead,.faxWizardCard,.signTop,.signFieldsPanel,.savedDocDetailsDialog){
 direction:ltr!important;text-align:start;
}
html.speedmail-ltr :is(#profileGate .profileCard,#home,#conversation) :is(label,h1,h2,h3,p,summary,button){
 text-align:start;
}
html.speedmail-ltr :is(.globalTranslateBar,.speedMailTopControls,.mailboxBar,.speedMailUnifiedNav){
 direction:ltr!important;
}
html.speedmail-ltr :is(.mailSubject,.messageBodyPreview,.bubble,.translationText,.savedDocEntry){
 unicode-bidi:plaintext;
}
@media(max-width:390px){
 #speedMailSignupLanguageBar{left:8px;right:8px;justify-content:space-between}
 #speedMailSignupLanguageBar label{font-size:11px}
 #speedMailSignupLanguage{max-width:49vw}
}
/* Additional app chrome adapts; documents remain in their original geometry. */
html.speedmail-ltr :is(#speedChatDialog,#speedChatDialog .sc-top,
 #speedChatDialog .sc-compose,#speedChatDialog .sc-threads,
 .businessOverlay,.businessOverlay .businessHead,.businessOverlay .businessCard,
 .savedDocBar,.savedDocDetailsForm,.speedModalHead,.speedModalBody,
 .faxWizardHeader,.signTop,.signFieldsPanel){
 direction:ltr!important;
}
html.speedmail-ltr :is(#speedChatDialog .sc-person,#speedChatDialog .sc-details,
 #speedChatDialog .sc-excerpt,.businessOverlay .businessNote,
 .businessOverlay .businessForm,.businessOverlay .businessCard,
 .savedDocDetailsForm label,.signFieldsPanel label){text-align:start!important}
html.speedmail-ltr :is(#speedChatDialog .sc-bubble,#speedChatDialog .sc-message,
 #speedChatDialog .sc-excerpt,.mailSubject,.messageBodyPreview,
 .translationText,.savedDocEntry){unicode-bidi:plaintext}
/* PDF/image/canvas layers deliberately receive no direction or transform overrides. */
