/* Shared fd modifier for styled native selects outside comparison filters. */
.fd--select { position: relative; min-width: 0; }
.fd--select .fd-trigger {
  width: 100%; min-height: 48px; display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 10px;
  background: var(--gray-50); color: var(--gray-800); font: inherit; font-size: 16px; font-weight: 500;
  line-height: 1.5; text-align: left; cursor: pointer;
}
.fd--select .fd-trigger-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fd--select .fd-arrow { flex: 0 0 7px; height: 7px; margin: 0 5px; color: var(--gray-300); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.fd--select.open .fd-arrow { transform: translateY(2px) rotate(225deg); }
.fd--select .fd-trigger:hover { border-color: var(--gray-300); }
.fd--select.open .fd-trigger,
.fd--select .fd-trigger:focus-visible { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px light-dark(#2244e81f, #0000004d); }
.fd--select .fd-menu {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  padding: 6px; background: var(--surface); border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: 0 12px 40px light-dark(#11184524, #00000059), 0 4px 12px light-dark(#1118450f, #00000026); max-height: min(320px, 50vh); overflow-y: auto;
}
.fd--select .fd-menu[hidden] { display: none; }
.fd--select .fd-option {
  position: relative; width: 100%; min-height: 44px; padding: 9px 12px 9px 34px;
  border: 0; border-radius: 8px; background: transparent; color: var(--gray-800);
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1.5; text-align: left; cursor: pointer;
  white-space: normal; overflow-wrap: anywhere;
}
.fd--select .fd-option.selected { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.fd--select .fd-option.selected::before { content: ''; position: absolute; left: 15px; top: 50%; width: 5px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-65%) rotate(45deg); }
.fd--select .fd-option.is-active:not(.selected),
.fd--select .fd-option:hover:not(.selected) { background: var(--blue-ultra); color: var(--blue); }
@media (forced-colors: active) {
  .fd--select .fd-option.selected { outline: 1px solid Highlight; }
  .fd--select .fd-option.is-active { outline: 2px solid Highlight; }
}
