/* Shared original site language control. Header, mobile menu and admin use this file. */
:root { --language-option-height:28px; --language-switcher-padding:3px; --language-switcher-border:1px; }
.language-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2px;
  padding: var(--language-switcher-padding);
  border: var(--language-switcher-border) solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #9aa5ad;
  background: rgba(255,255,255,.04);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .05em;
}
.header-language { width: 82px; flex-shrink: 0; }
.language-switcher .language-option {
  min-width: 34px;
  height: var(--language-option-height);
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: color .25s ease, background .25s ease;
}
.language-switcher .language-option:hover,
.language-switcher .language-option:focus-visible { color: #fff; background: rgba(255,255,255,.09); }
.language-switcher .language-option:focus-visible { outline: 1px solid rgba(255,255,255,.65); outline-offset: 2px; }
.language-switcher .language-option.is-active { color: #050607; background: #fff; }

/* The existing light-header palette, shared by the admin light surface. */
.language-switcher.language-switcher--light { color:#626f79; border-color:#cbd4da; background:#fff; }
.language-switcher--light .language-option:is(:hover,:focus-visible) { color:#050607; background:#f1f4f6; }
.language-switcher--light .language-option:focus-visible { outline-color:#8c82ff; }
.language-switcher--light .language-option.is-active { color:#fff; background:#050607; }
