/* One choice language across the site, with a native fallback. */
body select:not([multiple]):not([size]):not(.admin-switch-source):not(.choice-native) {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  height: var(--choice-height, 44px);
  min-height: var(--choice-height, 44px);
  max-height: var(--choice-height, 44px);
  min-width: 0;
  padding: 0 42px 0 14px !important;
  line-height: normal;
  border: 1px solid #dce2ec;
  border-radius: 12px;
  color: #334258;
  background-color: #fcfdff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%237386a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  box-shadow: 0 1px 2px #23344b04;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background-color 0.18s;
}
body select:not([multiple]):not([size]):not(.admin-switch-source):not(.choice-native):hover {
  border-color: #b6c3db;
  background-color: #fff;
}
body
  select:not([multiple]):not([size]):not(.admin-switch-source):not(.choice-native):focus-visible {
  outline: 2px solid #8b9cdf;
  outline-offset: 3px;
}
.admin-body select.choice-native {
  position: absolute !important;
  inset: auto !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  clip-path: inset(50%) !important;
}
.admin-body .choice-field {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  align-self: start;
  line-height: normal;
}
.admin-body label:has(> .choice-field) {
  align-content: start;
  grid-auto-rows: min-content;
}
.admin-body button.choice-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dce2ec;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #fafbfe);
  box-shadow:
    0 1px 2px #21314b04,
    inset 0 1px 0 #fff;
  color: #35455d;
  font: 500 13px/1.3 var(--sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  text-align: left;
  letter-spacing: normal;
  cursor: pointer;
  transform: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.admin-body .choice-value {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.admin-body .choice-chevron {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #eef2f8;
  color: #8493ab;
  transition:
    rotate 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.2s,
    color 0.2s;
}
.admin-body .choice-chevron svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-body button.choice-trigger:hover {
  border-color: #bac7df;
  background: #fff;
  box-shadow: 0 3px 10px #344b7610;
  transform: none;
}
.admin-body button.choice-trigger:active {
  background: #f4f6fd;
}
.admin-body button.choice-trigger[aria-expanded='true'] {
  border-color: #9daee1;
  background: #fff;
  box-shadow: 0 0 0 3px #7d95dc12;
}
.admin-body .choice-trigger[aria-expanded='true'] .choice-chevron {
  rotate: 180deg;
  background: #e9edfd;
  color: #6b7fbe;
}
.admin-body button.choice-trigger:focus-visible {
  outline: 2px solid #879add;
  outline-offset: 3px;
}
.admin-body button.choice-trigger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.admin-body button.choice-trigger[aria-invalid='true'] {
  border-color: #cc6676;
  box-shadow: 0 0 0 3px #cc667612;
}
.admin-body .choice-popover {
  position: fixed;
  z-index: 10000;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #dde4f0;
  border-radius: 15px;
  background: #fffffffa;
  box-shadow:
    0 18px 55px -16px #283c6b35,
    0 3px 12px #283c6b0d;
  font: 500 13px/1.5 var(--sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  color: #35455d;
  transform-origin: top center;
  isolation: isolate;
}
.admin-body .choice-popover[data-side='above'] {
  transform-origin: bottom center;
}
.admin-body .choice-search {
  padding: 4px 4px 8px;
}
.admin-body .choice-search input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #e3e8f1;
  border-radius: 9px;
  background: #f7f9fd;
  font: 400 13px var(--sans, sans-serif);
  color: #35455d;
  outline: none;
  box-shadow: none;
}
.admin-body .choice-search input:focus {
  border-color: #b5c4e7;
  background: #fff;
  box-shadow: 0 0 0 2px #849ad811;
}
.admin-body .choice-list {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cdd5e4 transparent;
  padding: 1px;
  max-height: 300px;
}
.admin-body .choice-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: 9px;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition:
    background 0.13s,
    color 0.13s;
}
.admin-body .choice-option[aria-selected='true'] {
  background: #eef2fc;
  color: #546ab0;
  font-weight: 650;
}
.admin-body .choice-option:not([aria-disabled='true']):not([aria-selected='true']):hover {
  background: #f2f5fc;
  color: #546ab0;
}
.admin-body .choice-option.is-active {
  background: #e8edf9;
  color: #435e9f;
}
.admin-body .choice-option[aria-disabled='true'] {
  opacity: 0.4;
  cursor: not-allowed;
}
.admin-body .choice-check {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.admin-body .choice-option[aria-selected='true'] .choice-check {
  opacity: 1;
}
.admin-body .choice-group {
  padding: 12px 11px 6px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  color: #8a98ac;
  text-transform: uppercase;
}
.admin-body .choice-empty {
  padding: 18px 11px;
  color: #8a98ac;
  font-size: 12px;
}
.admin-body .preview-page-label .choice-field {
  width: 130px;
}
.admin-body .preview-page-label button.choice-trigger {
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  border-radius: 9px;
  font-size: 12px;
  padding: 0 10px;
  gap: 10px;
}
.admin-body .studio-page-selector .choice-field {
  min-width: 160px;
}
.admin-body .journal-block-editor header .choice-field {
  width: min(260px, 100%);
}
.contact-form {
  --choice-height: 48px;
}
.contact-form .phone-control {
  grid-template-columns: 116px minmax(0, 1fr);
}
body .contact-form .phone-control select:not([multiple]):not([size]) {
  width: 116px;
  padding: 0 30px 0 10px !important;
  background-position: right 10px center;
}
@media (max-width: 700px) {
  .admin-body button.choice-trigger {
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    font-size: 16px;
    border-radius: 12px;
  }
  .admin-body .choice-option {
    min-height: 46px;
    font-size: 15px;
    padding: 10px 12px;
  }
  .admin-body .choice-search input {
    height: 42px;
    min-height: 42px;
    font-size: 16px;
  }
  .admin-body .choice-popover {
    max-width: calc(100vw - 20px);
    border-radius: 16px;
  }
  .admin-body .preview-page-label button.choice-trigger {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    font-size: 14px;
  }
  body select:not([multiple]):not([size]):not(.admin-switch-source):not(.choice-native) {
    font-size: 16px;
    height: var(--choice-height, 48px);
    min-height: var(--choice-height, 48px);
    max-height: var(--choice-height, 48px);
  }
  .contact-form {
    --choice-height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .admin-body .choice-trigger,
  .admin-body .choice-chevron,
  .admin-body .choice-option,
  body select {
    transition: none !important;
  }
}
