.site-select { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; min-width:0; max-width:100%; }
.select-field { position:relative; min-width:0; max-width:100%; }
.select-field select,.select-trigger { appearance:none; width:100%; min-height:48px; padding:11px 44px 11px 15px; border:1px solid var(--green); border-radius:6px; background:var(--surface); color:var(--text); font:500 1rem/1.5 var(--sans); text-align:left; }
.select-field::after { content:''; position:absolute; pointer-events:none; right:18px; top:20px; width:8px; height:8px; border-right:1.5px solid var(--green); border-bottom:1.5px solid var(--green); transform:rotate(45deg); transition:transform .15s; }
.select-field:has([aria-expanded=true])::after { transform:translateY(4px) rotate(225deg); }
.select-trigger { cursor:pointer; display:flex; align-items:center; transition:background .15s,border-color .15s; }
.select-trigger:hover,.select-trigger[aria-expanded=true] { background:var(--soft); }
.select-trigger[aria-expanded=true] { outline:2px solid var(--green); outline-offset:2px; }
.select-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.select-list[popover] { position:fixed; inset:auto; margin:0; padding:6px; list-style:none; overflow:auto; overscroll-behavior:contain; border:1px solid var(--green); border-radius:8px; background:var(--surface); color:var(--text); box-shadow:0 12px 32px #0003; font:400 1rem/1.45 var(--sans); scrollbar-width:thin; scrollbar-color:var(--green) var(--surface); }
.select-list::backdrop { background:transparent; }
.select-list [role=option] { position:relative; display:flex; align-items:center; min-height:44px; margin:0; padding:10px 32px 10px 12px; border-radius:4px; cursor:pointer; overflow-wrap:anywhere; }
.select-list [role=option][aria-selected=true] { font-weight:600; color:var(--green); background:var(--soft); }
.select-list [role=option][aria-selected=true]::after { content:''; position:absolute; right:13px; width:6px; height:11px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
.select-list [role=option][data-active] { outline:1px solid var(--green); outline-offset:-1px; background:var(--soft); }
.select-list [role=option][aria-disabled=true] { opacity:.5; cursor:default; }
.progress-controls .site-select { flex:1; }
.progress-controls .select-field { width:260px; }
.route-chooser .site-select { display:block; }
.route-chooser .select-field { width:100%; }
@media (prefers-reduced-motion:reduce) {
  .select-field::after,.select-trigger { transition:none; }
}
