/* Shared interaction styles for the two service-finder dropdowns. */
.finder-field { position: relative; min-width: 0; }
.finder-field:has([aria-expanded=true]) { z-index: 5; }
.finder-field label { display: block; margin: 0 0 7px; }
.finder-field select { width: 100%; }
.finder-field [hidden] { display: none; }
.finder-field .finder-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 47px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fffef9;
  font: inherit; font-size: 15px; text-align: start; color: var(--ink); cursor: pointer;
}
.finder-trigger::after {
  content: ""; width: 7px; height: 7px; flex: none; border: solid currentColor;
  border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); margin-right: 3px;
}
.finder-trigger[aria-expanded=true]::after { transform: translateY(2px) rotate(225deg); }
.finder-list {
  position: absolute; inset: calc(100% + 4px) 0 auto; isolation: isolate;
  max-height: min(280px, 42svh); overflow-y: auto; overscroll-behavior: contain;
  padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fffef9;
  box-shadow: 0 10px 24px -12px #142b254a;
}
.finder-list.opens-up { inset: auto 0 calc(100% - 18px); }
.finder-option {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; min-height: 44px; padding: 10px 12px; border-radius: 6px; cursor: pointer;
  font-size: 15px; line-height: 1.35;
}
.finder-option[aria-selected=true]::after {
  content: ""; width: 6px; height: 11px; flex: none; margin-right: 3px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.finder-indicator { position: absolute; inset: 0 4px auto; z-index: -1; pointer-events: none; border-radius: 6px; background: #d6e6c3; }
@media (prefers-reduced-motion: no-preference) {
  .finder-list.is-moving .finder-indicator {
    transition: transform 340ms cubic-bezier(.2,.8,.2,1), height 200ms ease;
    transition-timing-function: linear(0, .0603, .2033, .3821, .5633, .7258, .8584, .9574, 1.0242, 1.0634, 1.0809, 1.0828, 1.0747, 1.0613, 1.046, 1.0313, 1.0186, 1.0085, 1.0012, .9965, .994, .9931, .9933, .9941, .9953, .9966, .9978, .9988, 1);
  }
}
