/* OneStack v379: visually consistent language list for the single shared header.
   Display-only. No translation is activated and no language preference stored. */
html body #oneweb-shared-header .os-v379-language {
  position: relative;
  display: block;
  flex: 0 0 auto;
  font-family: var(--onestack-font-body);
  color: #000730;
  line-height: 1.2;
}
html body #oneweb-shared-header .os-v379-language__toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  min-width: 74px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #dfe6ef;
  border-radius: 9px;
  background: #fff;
  color: #000730;
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
html body #oneweb-shared-header .os-v379-language__toggle::-webkit-details-marker { display: none; }
html body #oneweb-shared-header .os-v379-language__toggle::marker { content: ''; }
html body #oneweb-shared-header .os-v379-language__toggle:hover,
html body #oneweb-shared-header .os-v379-language[open] .os-v379-language__toggle {
  border-color: #EFB000;
  background: #fffdf4;
  box-shadow: 0 3px 12px rgba(0,7,48,.05);
}
html body #oneweb-shared-header .os-v379-language__toggle:focus-visible {
  outline: 2px solid #EFB000;
  outline-offset: 3px;
}
html body #oneweb-shared-header .os-v379-language__globe { width: 18px; height: 18px; flex-shrink: 0; }
html body #oneweb-shared-header .os-v379-language__chevron {
  width: 13px; height: 13px;
  flex-shrink: 0;
  transition: transform .2s ease;
}
html body #oneweb-shared-header .os-v379-language[open] .os-v379-language__chevron { transform: rotate(180deg); }
html body #oneweb-shared-header .os-v379-language__dropdown {
  position: absolute;
  z-index: 100005;
  right: 0;
  top: calc(100% + 12px);
  width: 238px;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
  color: #000730;
  box-shadow: 0 18px 40px rgba(0,7,48,.15);
}
html body #oneweb-shared-header .os-v379-language__dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 25px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-left: 1px solid #e1e8f2;
  border-top: 1px solid #e1e8f2;
  background: #fff;
}
html body #oneweb-shared-header .os-v379-language__heading {
  font-family: var(--onestack-font-heading);
  color: #697589;
  padding: 8px 10px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}
html body #oneweb-shared-header .os-v379-language__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
html body #oneweb-shared-header .os-v379-language__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #000730;
  font-size: 13px;
}
html body #oneweb-shared-header .os-v379-language__item.is-current { background: #fff5d7; }
html body #oneweb-shared-header .os-v379-language__name { font-weight: 750; }
html body #oneweb-shared-header .os-v379-language__name small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: #66718a;
}
html body #oneweb-shared-header .os-v379-language__abbr {
  font-size: 11px;
  font-weight: 800;
  color: #6d7791;
}
html body #oneweb-shared-header .os-v379-language__item.is-current .os-v379-language__abbr { color: #b17d00; }
/* Legible desktop navigation: ample spacing, less visual weight.
   Under 1200px use the existing mobile drawer rather than squeezing seven labels. */
@media (min-width: 1280px) and (max-width: 1599px) {
  html body #oneweb-shared-header .os-v9-nav {
    font-size: 15px !important;
    gap: clamp(16px, 1.25vw, 20px) !important;
  }
  html body #oneweb-shared-header .os-v9-header__inner { gap: 16px !important; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  html body #oneweb-shared-header .os-v9-container {
    width: calc(100% - 36px) !important;
  }
  html body #oneweb-shared-header .os-v9-logo {
    flex-basis: 152px !important;
    width: 152px !important;
    min-width: 152px !important;
  }
  html body #oneweb-shared-header .os-v9-logo img { width: 145px !important; }
  html body #oneweb-shared-header .os-v9-nav {
    font-size: 14px !important;
    gap: 13px !important;
  }
  html body #oneweb-shared-header .os-v9-header__inner { gap: 12px !important; }
  html body #oneweb-shared-header .os-v9-header__actions { gap: 6px !important; }
  html body #oneweb-shared-header .os-v228-auth-btn { padding-inline: 9px !important; }
  html body #oneweb-shared-header .os-v379-language__toggle {
    min-width: 66px;
    padding: 0 7px;
    gap: 3px;
  }
}
@media (max-width: 1199px) {
  html body #oneweb-shared-header .os-v379-language--desktop { display: none; }
  html body #oneweb-shared-header .os-v379-language--mobile { display: block; }
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__toggle {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
  }
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__code,
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__chevron { display: none; }
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__globe { width: 20px; height: 20px; }
  html body #oneweb-shared-header .os-v280-mobile-tools { gap: 8px !important; }
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__dropdown { right: -46px; }
}
@media (max-width: 380px) {
  html body #oneweb-shared-header .os-v9-header__inner { gap: 5px !important; }
  html body #oneweb-shared-header .os-v9-logo {
    flex-basis: 126px !important;
    width: 126px !important;
    min-width: 126px !important;
  }
  html body #oneweb-shared-header .os-v9-logo img { width: 122px !important; }
  html body #oneweb-shared-header .os-v280-mobile-tools { gap: 5px !important; }
  html body #oneweb-shared-header .os-v379-language--mobile .os-v379-language__dropdown { right: -42px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #oneweb-shared-header .os-v379-language__toggle,
  html body #oneweb-shared-header .os-v379-language__chevron { transition: none; }
}
