/* Familiar translation symbol, with native language names in the real select.
   CSS decorates the existing label: no replacement of controls or handlers. */
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language:has(select) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language:has(select)::before {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  z-index: 1;
  pointer-events: none;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1b2d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h12M9 3v2M5 5c1 5 4 8 8 10M13 5c-1 5-4 8-10 11M14 21l4-10 4 10M15.5 17h5'/%3E%3C/svg%3E");
}
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language > .language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language select:is([data-wuppa-language],[data-wuppa-landing-language]) {
  box-sizing: border-box;
  min-height: 44px;
  min-width: min(100%, 12rem);
  width: auto;
  max-width: 100%;
  padding-inline: 44px 32px;
  border: 1px solid #ff5a00;
  /* The shared form selector inherits five input-type exclusions through :is(). */
  border-color: #ff5a00 !important;
  border-radius: 6px;
  background-color: #fff !important;
  color: #0f1b2d !important;
  font-family: inherit;
  line-height: 1.4;
  cursor: pointer;
}
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language select:hover { background-color: #fff3eb !important; }
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language select:focus-visible { outline: 2px solid #ff5a00; outline-offset: 3px; }
html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language option { background: #fff; color: #0f1b2d; }
html.wuppa-outline body.wl-page .wl-header > .wuppa-language { flex: 0 1 auto; }
html.wuppa-outline body.wl-page .wl-header > nav { flex: 1 1 auto; justify-content: flex-end; }
@media(max-width:640px) {
  html.wuppa-outline body.wl-page .wl-header { gap: 8px; }
  html.wuppa-outline body.wuppa-outline[data-wuppa-surface].wuppa-private-shell > header > .wuppa-language,
  html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .private-conversation-heading > .wuppa-language {
    flex: 1 1 100%;
    width: 100%;
  }
  html.wuppa-outline body.wuppa-outline[data-wuppa-surface] .wuppa-language select:is([data-wuppa-language],[data-wuppa-landing-language]) { width: 100%; }
  html.wuppa-outline body.wl-page .wl-header > .wuppa-language { margin-inline-start: auto; }
  html.wuppa-outline body.wl-page .wl-header > nav { order: 2; flex-basis: 100%; justify-content: flex-start; }
}
