.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(34px, auto));
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  padding: 2px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #f4f4f4;
  white-space: nowrap;
}
.language-switch a {
  display: grid;
  min-height: 32px;
  place-items: center;
  padding: 0 6px;
  border-radius: 5px;
  color: #595959;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}
.language-switch a:not([aria-current]):hover { background: #e9e9e9; color: #171717; }
.language-switch a[aria-current] { background: #fff; color: #171717; font-weight: 650; box-shadow: 0 0 0 1px #00000012; }
.language-switch a:focus-visible { outline: 2px solid #171717; outline-offset: -2px; }

body[data-surface="public"] .header-right { flex-wrap: wrap; justify-content: flex-end; }
body[data-surface="public"] .header-right > a { white-space: nowrap; }
@media (max-width: 680px) {
  body[data-surface="public"] .header-right { width: 100%; justify-content: flex-start; gap: 10px 16px; }
  body[data-surface="public"] .header-right .language-switch { margin-left: auto; }
}
