/* Shared by the gujibot website and workbench. */
.guji-language {
  --gl-ink: #304c3a;
  --gl-active: #e7eee0;
  --gl-paper: #fffdf7;
  position: relative;
  display: inline-flex;
  flex: none;
  font-family: inherit;
  letter-spacing: normal;
  line-height: 1.3;
}
.guji-language-native[hidden], .guji-language-menu[hidden] { display: none !important; }
.guji-language button {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  min-height: 44px;
  color: var(--gl-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  touch-action: manipulation;
}
.guji-language .guji-language-trigger {
  gap: 7px;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #aab9a4;
  border-radius: 999px;
  background: var(--gl-paper);
}
.guji-language .guji-language-trigger[aria-expanded="true"] { background: var(--gl-active); }
.guji-language svg { display: block; position: static; flex: none; pointer-events: none; }
.guji-language-globe { width: 17px; height: 17px; }
.guji-language-chevron { width: 12px; height: 12px; }
.guji-language-trigger[aria-expanded="true"] .guji-language-chevron { transform: rotate(180deg); }
.guji-language-menu {
  position: absolute;
  z-index: 65;
  inset-block-start: calc(100% + 6px);
  inset-inline-end: 0;
  display: grid;
  width: max-content;
  min-width: 168px;
  box-sizing: border-box;
  padding: 5px;
  background: var(--gl-paper);
  border: 1px solid #c4cebc;
  border-radius: 16px;
  box-shadow: 0 8px 24px #283b2826;
}
.guji-language-menu.align-start { inset-inline-end: auto; inset-inline-start: 0; }
.guji-language .guji-language-option {
  justify-content: space-between;
  gap: 16px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-weight: 500;
}
.guji-language-option .guji-language-check { width: 17px; height: 17px; visibility: hidden; }
.guji-language .guji-language-option[aria-checked="true"] { color: #294f36; background: var(--gl-active); font-weight: 700; }
.guji-language-option[aria-checked="true"] .guji-language-check { visibility: visible; }
.guji-language button:focus-visible { outline: 2px solid #4d714d; outline-offset: 2px; }
.guji-language .guji-language-option:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .guji-language .guji-language-trigger:hover, .guji-language .guji-language-option:hover { background-color: #f0f3e8; }
}
@media (forced-colors: active) {
  .guji-language .guji-language-option[aria-checked="true"] { outline: 1px solid SelectedItem; outline-offset: -1px; }
}
