/* Allow longer English and Spanish labels without changing the existing theme. */
.lang-wrap .lang{display:flex;align-items:center;gap:10px;white-space:nowrap;min-width:130px}
.lang[aria-current=true]{font-weight:700;color:var(--tpl-accent,#19bf8d)}
.lang-wrap .lang-img{width:26px;height:26px}
.hg-language-mobile{border:1px solid #d8e1df;border-radius:12px;background:var(--tpl-bg,#fff);color:var(--tpl-text,#18202b);padding:5px;max-width:100px;font-size:12px}
body.en .btn-brand,body.es .btn-brand{white-space:normal;min-height:44px;height:auto;padding:12px 16px}
body.en .auth-field-label,body.es .auth-field-label{line-height:1.5;white-space:normal}
body.en #bottomNav .bottom-nav-text,body.es #bottomNav .bottom-nav-text{font-size:10px;line-height:1.2;overflow-wrap:normal;word-break:normal}
body.en .latest-tab-nav .nav-list,body.es .latest-tab-nav .nav-list{display:flex}
body.en .latest-tab-nav li,body.es .latest-tab-nav li{flex:1;min-width:0;white-space:normal}
body.en .mac_confirm_btn,body.es .mac_confirm_btn{min-width:90px}

.lang-wrap button.lang{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding:9px 12px;width:100%;text-align:left}
.hg-language-holder{display:inline-flex;align-items:center;margin:4px 8px}.head_inner_mobile_toolbar .hg-language-holder{position:relative;float:right}.auth-page .hg-language-holder{justify-content:flex-end;display:flex}
