/* Language selection is deliberately secondary to the macro controls. */
.language-select{appearance:auto;max-width:116px;min-width:95px;padding:7px 9px;border-radius:9px;border:1px solid #dce3ee;background:#fff;color:#334155;font:600 12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.language-select:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
@media(max-width:520px){.language-select{max-width:95px;min-width:78px;padding:6px 4px;font-size:11px}}
@media(max-width:450px){.topright .connection{max-width:78px}.topnav{gap:0}.nav-item{padding:6px 5px;font-size:10px}.language-select{max-width:85px}}

/* Compact language control with a recognizable globe symbol. */
.language-control{display:inline-flex;align-items:center;gap:5px;flex:none;white-space:nowrap;cursor:pointer;border:1px solid #dce3ee;background:#fff;border-radius:10px;padding-left:9px;min-height:34px}
.language-control .language-globe{height:17px;width:17px;display:block;color:#4161a2;flex:none}
.language-control .language-select{border:0;background:transparent;min-width:92px;max-width:113px;outline-offset:2px}
@media(max-width:520px){.language-control{gap:3px;padding-left:6px;min-height:31px}.language-control .language-globe{height:15px;width:15px}.language-control .language-select{min-width:79px;max-width:91px}}
/* Keep language selection visible without pushing the mobile document sideways. */
@media(max-width:560px){
  .top-actions .chip,.top-actions .nav-link{display:none}
  .top-actions{min-width:0;gap:6px}
  .brand{font-size:17px}
  .header-launch{min-width:0;white-space:nowrap}
}

.locale-upgrade-notice{margin:8px 0 16px;display:flex;align-items:center;gap:14px;padding:13px 15px;background:#fff9ef;border:1px solid #f1dbac;border-radius:12px;color:#77521c;font-size:12px;line-height:1.65}
.locale-upgrade-notice span{flex:1}.locale-upgrade-notice .btn{flex-shrink:0}
.locale-upgrade-notice[hidden]{display:none!important}
@media(max-width:560px){.locale-upgrade-notice{flex-direction:column;align-items:stretch}.locale-upgrade-notice .btn{width:100%}}
