.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.language-switch select {
  min-height: 44px;
  border: 1px solid var(--space-border, #39364a);
  border-radius: 10px;
  padding: 0 9px;
  background: var(--space-surface, #161624);
  color: var(--space-text, #f3efff);
  color-scheme: dark;
  font: 600 12px/1 system-ui, sans-serif;
  cursor: pointer;
}

html[data-theme="light"] .language-switch select {
  background: #fff;
  color: #272138;
  border-color: #dcd4eb;
  color-scheme: light;
}

.language-switch select:focus-visible {
  outline: 2px solid #a58af2;
  outline-offset: 2px;
}

.welcome-art > .language-switch {
  position: absolute;
  inset-block-start: 26px;
  inset-inline-end: 24px;
}

.account-entry-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch-floating {
  position: absolute;
  inset-block-start: max(14px, env(safe-area-inset-top));
  inset-inline-end: 16px;
}

.wrap > header {
  gap: 12px;
  flex-wrap: wrap;
}

.workspace-header .language-switch select {
  max-width: 100%;
}
