html body nav.language-switch {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body nav.language-switch :is(a, .language-trigger) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 32px !important;
  padding: 4px 6px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #c8d4cd !important;
  font: 600 11px/1.2 Arial, sans-serif !important;
  text-decoration: none !important;
}

html body nav.language-switch :is(a, .language-trigger) img {
  display: block !important;
  width: 16px !important;
  height: 11px !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 2px !important;
  flex-shrink: 0;
}

html body nav.language-switch :is(a, .language-trigger):hover {
  background: #304338 !important;
  color: #f0fff6 !important;
}

html body nav.language-switch :is(a, .language-trigger):focus-visible {
  outline: 2px solid #79d8c1 !important;
  outline-offset: 2px;
}

html[data-theme=light] body nav.language-switch :is(a, .language-trigger) { color: #344c40 !important; }
html[data-theme=light] body nav.language-switch :is(a, .language-trigger):hover {
  background: #dceae2 !important;
  color: #173e2e !important;
}

@media (pointer: coarse) {
  html body nav.language-switch :is(a, .language-trigger) { min-height: 44px !important; min-width: 44px; }
}

.header-popup {
  position: absolute;
  z-index: 25;
  inset-block-start: 100%;
  inset-inline-end: 0;
  display: grid;
  gap: 3px;
  min-width: max-content;
  padding: 6px;
  border: 1px solid #40534e;
  border-radius: 12px;
  background: #182320;
  color: #eef6f1;
  box-shadow: 0 10px 20px #0004;
}
.header-popup[hidden] { display: none !important; }
html[data-theme=light] .header-popup {
  border-color: #b7c9bf;
  background: #f5faf7;
  color: #17241e;
}
html body nav.language-switch .language-options a {
  justify-content: flex-start !important;
  padding-inline: 9px !important;
  font-size: 13px !important;
}
html body nav.language-switch .language-options a[aria-current="page"] {
  font-weight: 800 !important;
  box-shadow: inset 0 0 0 1px currentColor !important;
}

.homepage-neutral .site-header .home-profile {
  position: relative;
  min-width: 0;
  margin-inline-start: auto;
}
.homepage-neutral .site-header .home-profile .home-account {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}
.homepage-neutral .home-profile-options > :is(a, button.home-signout) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}
.homepage-neutral .home-profile-options > :is(a, button.home-signout):is(:hover, :focus-visible) {
  background: #829e902b;
  color: inherit;
}
@media (max-width: 720px) {
  .homepage-neutral .site-header .home-profile {
    order: 1;
    flex: 1 1 0;
    margin: 0;
  }
  .homepage-neutral .home-profile-options {
    inset-inline: 0 auto;
  }
}
