/* Shared language control; native select, independent of bootstrap-select/niceSelect. */
.platform-language{display:inline-flex;flex-direction:column;align-items:stretch;flex:none;max-width:190px;position:relative;font-family:inherit}
.platform-language__control{display:flex;align-items:center;gap:9px;margin:0!important;min-height:46px;padding:6px 10px;border:1px solid var(--fx-border,rgba(148,163,184,.2));border-radius:11px;background:var(--fx-card,#0e1a2b);color:var(--fx-ink,#edf3fa)}
.platform-language__globe{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}
.platform-language__body{display:flex;flex-direction:column;min-width:0}
.platform-language__credit{display:block;color:var(--fx-muted,#9aa9be);font-size:9px;font-weight:500;letter-spacing:.02em;line-height:1.4;white-space:nowrap}
.platform-language .platform-language__select{appearance:auto!important;display:block!important;position:static!important;float:none!important;width:100%!important;max-width:128px!important;min-width:88px;height:auto!important;margin:0!important;padding:0 3px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;opacity:1!important;font-family:inherit;font-weight:600;font-size:12px;line-height:1.6;cursor:pointer;clip:auto!important;clip-path:none!important}
.platform-language__select option{background:#0e1a2b;color:#edf3fa}
.platform-language__control:focus-within{outline:2px solid var(--fx-primary,var(--portal-link,#5387f5));outline-offset:2px}
.platform-language__select:focus-visible{outline:0}.platform-language__retry{font-family:inherit;font-weight:500;font-size:10px;line-height:1.5;background:none;border:0;padding:3px 0;color:inherit;text-decoration:underline;cursor:pointer}
.platform-language__retry[hidden]{display:none!important}
.platform-language--auth .platform-language__control{background:#fff;color:#203344;border-color:#dce3e9}
.platform-language--auth .platform-language__credit{color:#6c7a85}
.platform-language--auth .platform-language__select option{background:#fff;color:#203344}
.portal-client-brand-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;width:100%}
.portal-client-brand-row .portal-client-brand{width:auto;flex:1;min-width:100px}
.portal-client-brand-row .portal-client-brand img{max-width:100%}
[data-runtime-language][aria-pressed="true"],.flag_link[aria-pressed="true"],[data-chat-native-language] [data-lang][aria-pressed="true"]{outline:2px solid currentColor;outline-offset:2px;border-radius:3px}
[data-platform-language-select][aria-busy="true"]{cursor:progress!important}
/* This host runs the existing website widget; it is not a second visible selector. */
#platform-google-translate-element{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;pointer-events:none!important}
body>.skiptranslate:has(iframe),iframe.goog-te-banner-frame{display:none!important}
html.translated-ltr body,html.translated-rtl body{top:0!important}
@media(max-width:575px){.platform-language{max-width:151px}.platform-language__control{min-height:43px;padding:5px 8px;gap:6px}.platform-language__globe{width:16px;height:16px}.platform-language__select{font-size:12px}.platform-language--auth{max-width:156px}.portal-client-brand-row{gap:14px}.platform-language__retry{max-width:150px}}

/* Reserve room for the language control and both account buttons. The legacy
   admin stylesheet otherwise adds sidebar padding inside this fixed header. */
.fx-client .header{padding-left:0!important;padding-right:0!important}
.fx-client .ct-topbar-left{flex-shrink:0}
.fx-client .ct-topbar-right{min-width:0}
@media(max-width:575px){.fx-client .ct-topbar-main{gap:8px}.fx-client .ct-topbar-right{gap:8px}}

@media(max-width:575px){
 .lead-access-shell .lead-access-header__inner{gap:8px;padding-inline:10px}
 .lead-access-shell .lead-access-brand>span:not(.lead-access-brand__mark),.lead-access-shell .lead-access-user__text{display:none!important}
 .lead-access-shell .lead-access-brand img{max-width:44px!important;object-fit:contain}
 .lead-access-shell .lead-access-user{gap:8px}
}
