.multiSelect {
  position: relative;
  margin-top: 6px;
  min-height: 42px;
  border: 1px solid #cbd5df;
  border-radius: 5px;
  background: #fff;
  font-weight: 400;
}

.multiSelect > summary {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.multiSelect > summary::-webkit-details-marker { display: none; }
.multiSelect > summary::after {
  content: "▾";
  position: absolute;
  right: 11px;
  color: #64778a;
}
.multiSelect[open] > summary::after { content: "▴"; }
.multiSelect[open] {
  z-index: 20;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #275dac22;
}

.multiOptions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  padding: 7px;
  background: #fff;
  border: 1px solid #b9c7d4;
  box-shadow: 0 10px 28px #132e4c24;
}

.multiOptions label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
}
.multiOptions label:hover { background: #edf3fa; }
.multiOptions input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 1px 0 0;
}
.multiOptions .multiEmpty { padding: 9px; color: var(--muted); font-size: 13px; }
.multiHelp { margin: 10px 0 0; }
.activeFilters b { display: inline-flex; align-items: center; gap: 5px; }
.activeFilters button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1;
}
.activeFilters button:hover { color: #a53b35; background: transparent; }
.decisionStat[aria-pressed="true"] {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  background: #fffdf7;
}
.pdfBusy { opacity: .65; pointer-events: none; }

@media (max-width: 740px) {
  .multiOptions { position: fixed; left: 4%; right: 4%; top: auto; max-height: 48vh; }
  .multiSelect > summary { font-size: 15px; }
  .multiHelp { font-size: 13px; }
}
