/* The language pieces of the page frame (M1-LANG): the switch and the missing-translation label.
   Colours, sizes and weights come from tokens.css; the top strip around the switch is the shell's (M1-SHELL). */
.language-switch__list {
  display: flex;
  gap: var(--spacing-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--size-44px);
  min-height: var(--spacing-32);
  border-radius: var(--border-radius-4);
  color: var(--color-link);
  font-size: var(--font-size-14);
}

.language-switch__link[aria-current="true"] {
  font-weight: var(--font-weight-semibold);
  text-decoration: underline;
}

.translation-fallback__label {
  display: inline-block;
  margin: 0 0 var(--spacing-8);
  padding: var(--spacing-2) var(--spacing-8);
  border: var(--border-width-1) solid var(--color-border-warning-secondary);
  border-radius: var(--border-radius-4);
  background: var(--color-background-warning-secondary);
  color: var(--color-text-base-default);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-medium);
}
