/* The source jqTransform wrapper is240px content plus2px right padding.
   The readonly display input is240px outer width; the730px service field
   follows the same rule. Do not inherit the journal's stretching flex row. */
.legacy-select {
  box-sizing: content-box;
  position: relative;
  width: 240px;
  height: 22px;
  padding: 2px 2px 2px 0;
  margin-right: 2px;
}
.legacy-select-wide { width: 730px; }
.legacy-select-access { width: 286px; }
.legacy-select-department { width: 215px; }
.legacy-select .supply-combo-field {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: block;
}
.legacy-select .supply-combo-input {
  position: relative;
  width: 100%;
  height: 22px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.legacy-select .supply-combo-input > input {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 22px;
  min-height: 0;
  min-width: 0;
  padding: 2px 20px 2px 4px;
  margin: 2px 0;
  border: 1px solid var(--line, #ccd8d4);
  border-radius: 2px;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.legacy-select .supply-combo-field .supply-combo-input::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 6px;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  pointer-events: none;
}
.legacy-select .supply-combo-menu {
  position: absolute;
  top: 24px;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line, #ccd8d4);
  border-radius: 0;
  background: var(--surface, #fff);
  overflow: visible;
  z-index: 40;
  box-shadow: 0 2px 5px rgb(35 61 66 / 16%);
}
.legacy-select .supply-combo-search {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background: var(--wash, #edf5f1);
}
.legacy-select .supply-combo-search input {
  box-sizing: border-box;
  width: calc(100% - 35px);
  height: 22px;
  min-height: 0;
  margin: 2px 0;
  padding: 2px 4px;
  border: 1px solid var(--line, #ccd8d4);
  border-radius: 2px;
  background: var(--surface, #fff);
  color: inherit;
  font: inherit;
  font-size: 12px;
}
.legacy-select .supply-combo-multiple {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: -10px;
  padding: 5px 10px;
  background: var(--wash, #edf5f1);
}
.legacy-select .supply-combo-multiple > button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.legacy-select .supply-combo-options {
  width: 100%;
  max-height: 239px;
  padding: 0;
  overflow: auto;
}
.legacy-select [data-combo-option] {
  display: block;
  width: 100%;
  min-height: 30px;
  margin: 0;
  padding: 7px 4px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: var(--surface, #fff);
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}
.legacy-select [data-combo-option]:nth-child(even) { background: var(--wash, #edf5f1); }
.legacy-select [data-combo-option].is-hovered { background: var(--primary, #23695d); color: #fff; }
.legacy-select [data-combo-option] > input { float: right; margin: 0 1px 0 5px; width: 13px; height: 13px; }
