select.custom-select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:30px!important;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:calc(100% - 15px) 50%,calc(100% - 11px) 50%;background-size:4px 4px;background-repeat:no-repeat;
  border-radius:0;text-overflow:ellipsis;
}
select.custom-select:hover:not(:disabled),select.custom-select:focus-visible,select.custom-select[aria-expanded=true]{border-color:var(--color-accent)}
select.custom-select:focus-visible,.select-search:focus-visible{outline-width:1px}
select.custom-select[aria-expanded=true]{background-color:var(--color-accent-100)}
select.custom-select:disabled{cursor:not-allowed;opacity:.5}
.select-dropdown{
  position:fixed;inset:auto;margin:0;padding:6px;box-sizing:border-box;z-index:1000;
  border:1px solid var(--color-accent);border-radius:0;background:var(--color-bg);color:var(--color-text);
  box-shadow:var(--shadow-md);font-family:var(--font-body);font-size:14px;line-height:1.45;overflow:hidden;
}
.select-dropdown:popover-open{display:flex;flex-direction:column}
.select-dropdown-open{display:flex;flex-direction:column}
.select-search{
  box-sizing:border-box;width:100%;min-width:0;flex:none;font:inherit;color:var(--color-text);background:var(--color-bg);
  border:1px solid var(--color-divider);border-radius:0;padding:8px 10px;margin:0 0 6px;outline-offset:-1px;
}
.select-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:8px 10px;cursor:pointer;overflow-wrap:anywhere}
.select-option[aria-selected=true]{background:var(--color-accent-100);color:var(--color-accent-800)}
.select-option.is-active{background:var(--color-accent-100);box-shadow:inset 2px 0 0 var(--color-accent)}
.select-option[aria-disabled=true]{cursor:not-allowed;color:var(--color-neutral-500)}
.select-check{flex:none;min-width:12px;color:var(--color-accent)}
.select-group{padding:10px 10px 4px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--color-neutral-600)}
.select-empty{padding:10px;margin:0;color:var(--color-neutral-600)}
/* Inert native controls cannot launch the iOS picker, including on focus. */
select.select-native-touch{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%);overflow:hidden}
.select-touch-trigger{display:inline-flex;align-items:center;text-align:left;min-width:0;max-width:100%;padding-right:30px!important;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;appearance:none;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-position:calc(100% - 15px) 50%,calc(100% - 11px) 50%;background-size:4px 4px;background-repeat:no-repeat}
.select-touch-trigger[hidden]{display:none}
.select-touch-trigger:focus-visible,.select-touch-trigger[aria-expanded=true]{border-color:var(--color-accent);outline:2px solid var(--color-accent);outline-offset:2px}
.select-touch-trigger[aria-expanded=true]{background-color:var(--color-accent-100)}
.select-touch-trigger:disabled{opacity:.5;cursor:not-allowed}
.select-touch-trigger[aria-invalid=true]{border-color:#a52020}
.select-validation{display:block;font-size:13px;color:#a52020}
#site-picker>.select-touch-trigger,#organization-picker>.select-touch-trigger{width:100%;flex:1}
