/* Language switch integrated into desktop and mobile NEXUS top bar. */
.topbar-actions .nexus-language-switch {
  display:flex;align-items:center;justify-content:center;gap:2px;
  background:linear-gradient(145deg,#291720,#170f18);
  border:1px solid #603048;border-radius:11px;
  padding:3px;flex:0 0 auto;
  box-shadow:inset 0 1px #ffffff0c;
}
.topbar-actions .nexus-language-switch button {
  appearance:none;min-width:35px;min-height:29px;cursor:pointer;
  border:0;border-radius:8px;background:transparent;
  color:#ba889a;font-size:10px;font-weight:900;letter-spacing:.8px;
  transition:background .17s,color .17s,box-shadow .17s;
}
.topbar-actions .nexus-language-switch button:hover{color:white;background:#ffffff12}
.topbar-actions .nexus-language-switch button.active,
.topbar-actions .nexus-language-switch button[aria-pressed="true"]{
  background:linear-gradient(135deg,#f44267,#ad183a);
  box-shadow:0 3px 11px #ed234a42;
  color:#fff;
}
.topbar-actions .nexus-language-switch button:focus-visible {outline:2px solid #ffe0e9;outline-offset:2px}
html[lang="en"] .sidebar .side-promo.nexus-tip-exact {
  background-image:url("./assets/nexus-tip-banner-en.webp");
}
/* Keep headings and status chips readable after localization. */
html[lang="en"] .nav-link span,html[lang="en"] .es26-tab{white-space:normal}
html[lang="en"] .panel-title,html[lang="en"] .n16-big-title,
html[lang="en"] .es26-heading h2 {overflow-wrap:break-word}
@media(max-width:760px){
  .topbar-actions .nexus-language-switch{padding:2px;gap:1px;border-radius:9px}
  .topbar-actions .nexus-language-switch button{min-width:31px;min-height:28px;font-size:10px;border-radius:7px}
  .topbar-actions{gap:7px}
}
@media(max-width:410px){
  .topbar-actions .nexus-language-switch button{min-width:28px;min-height:27px;font-size:9px}
  .topbar .breadcrumbs{min-width:0}
  .topbar .breadcrumbs b{font-size:10px;overflow-wrap:anywhere;letter-spacing:.4px}
  .topbar .topbar-actions{gap:5px}
}