/* Preserve the same inset chevron during initial render and without enhancement. */
.inquiry-form select,
.payload-explorer .px-toolbar select {
  appearance: none;
  color-scheme: dark;
  padding-inline: .8rem 2.8rem;
  background-color: #101a29;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23adc8ed' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
}
.inquiry-form select option, .payload-explorer select option {
  color: #edf3fc;
  background: #101a29;
}
button.mission-select,
.payload-explorer button.mission-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 42px;
  min-width: 0;
  max-width: 100%;
  padding: .55rem 1rem .55rem .8rem;
  border: 1px solid #485a74;
  border-radius: 6px;
  background: #101a29;
  color: #edf3fc;
  font: 550 .875rem/1.35 var(--sans, system-ui);
  text-align: left;
  cursor: pointer;
}
.inquiry-form .mission-select { width: 100%; }
.payload-explorer .px-toolbar button.mission-select { min-height: 38px; }
.payload-explorer .px-toolbar select[data-px="channel"] + .mission-select { width: 12.5rem; }
.payload-explorer .px-toolbar select[data-px="phase"] + .mission-select { width: 12rem; }
.mission-select::after {
  content: "";
  width: .52rem;
  height: .52rem;
  flex: 0 0 .52rem;
  border-right: 1.7px solid #adc8ed;
  border-bottom: 1.7px solid #adc8ed;
  transform: translateY(-.12rem) rotate(45deg);
}
.mission-select[aria-expanded="true"]::after { transform: translateY(.12rem) rotate(225deg); }
button.mission-select:hover, button.mission-select[aria-expanded="true"] {
  border-color: #83a8df;
  background-color: #162338;
}
button.mission-select:focus-visible { outline: 2px solid #a8c9ff; outline-offset: 2px; }
button.mission-select[aria-invalid="true"] { border-color: #f7a7a7; }
.mission-select-hint { color: #ffbdbd; font-size: .82rem; font-weight: 450; }
.mission-options {
  position: fixed;
  z-index: 15;
  margin: 0;
  padding: .3rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #516787;
  border-radius: 7px;
  background: #101a29;
  box-shadow: 0 10px 30px #0009;
  color: #edf3fc;
  color-scheme: dark;
  font: 500 .9rem/1.4 var(--sans, system-ui);
  list-style: none;
  scrollbar-color: #536b8c #101a29;
}
.mission-options [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 39px;
  padding: .5rem .7rem;
  border-radius: 4px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.mission-options [aria-selected="true"] { background: #192f4c; color: #c3dcff; }
.mission-options [data-active] { background: #243c5c; color: #fff; box-shadow: inset 0 0 0 1px #607b9e; }
.mission-options [aria-selected="true"]::after {
  content: "";
  flex: 0 0 .35rem;
  width: .35rem;
  height: .68rem;
  margin-right: .2rem;
  border: solid #a5caff;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
@media (pointer: coarse) {
  .mission-options [role="option"], .payload-explorer .px-toolbar button.mission-select { min-height: 44px; }
}
@container (max-width: 460px) {
  .payload-explorer .px-toolbar label { min-width: 0; }
  .payload-explorer .px-toolbar select[data-px] + .mission-select { width: 100%; }
}
@media (forced-colors: active) {
  .mission-options, button.mission-select { border-color: ButtonText; }
  .mission-options [data-active] { outline: 1px solid Highlight; outline-offset: -1px; }
  .mission-select::after, .mission-options [aria-selected="true"]::after { border-color: ButtonText; }
}
