/* Shared compact dropdowns: text search, keyboard selection and multi-value chips. */
select.searchable-select-native { display:none!important; }
.searchable-select { position:relative; min-width:0; width:100%; max-width:100%; text-align:left; }
.searchable-select[hidden],.searchable-select-list[hidden],.searchable-select-chips[hidden] { display:none!important; }
.searchable-select-control { position:relative; width:100%; min-width:0; }
.searchable-select .searchable-select-control input { width:100%; max-width:100%; margin:0; min-height:44px; padding-right:44px!important; text-overflow:ellipsis; }
.searchable-select .searchable-select-toggle { display:grid; place-items:center; position:absolute; right:2px; top:2px; bottom:2px; width:40px; min-height:0; padding:0; border:0; border-radius:6px; background:transparent; color:var(--accent); cursor:pointer; font:inherit; font-size:22px; }
.searchable-select-toggle:hover:not(:disabled) { background:var(--plum-soft,var(--neutral-bg)); }
.searchable-select input:disabled,.searchable-select-toggle:disabled { cursor:not-allowed; opacity:.65; }
.searchable-select-list { position:fixed; z-index:3000; max-height:280px; overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--ink); box-shadow:0 8px 24px #33273420; padding:5px; font:inherit; text-align:left; }
.searchable-select-option,.searchable-select-empty { padding:10px 10px; border-radius:6px; overflow-wrap:anywhere; line-height:1.5; }
.searchable-select-option { display:flex; align-items:flex-start; gap:8px; cursor:pointer; }
.searchable-select-check { flex:0 0 16px; color:var(--accent); }
.searchable-select-option[aria-selected="true"] { font-weight:600; }
.searchable-select-option:hover,.searchable-select-option.is-active { background:var(--plum-soft,var(--neutral-bg)); color:var(--ink); }
.searchable-select-empty { color:var(--muted); }
.searchable-select-group { padding:9px 10px 5px; color:var(--muted); font-size:.8rem; font-weight:600; border-top:1px solid var(--line); }
.searchable-select-group:first-child { border-top:0; }
.searchable-select-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:7px; min-width:0; }
.searchable-select .searchable-select-chip { display:inline-flex; align-items:center; gap:8px; max-width:100%; min-height:30px; padding:4px 9px; border-radius:8px; background:var(--plum-soft,var(--neutral-bg)); border:1px solid var(--line); color:var(--ink); font-size:.82rem; line-height:1.4; text-align:left; }
.searchable-select-chip > span:first-child { overflow-wrap:anywhere; min-width:0; }
.searchable-select-chip > span:last-child { flex:none; font-size:1rem; }
.searchable-select-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.inline-form > .searchable-select { display:inline-block; width:auto; min-width:140px; vertical-align:middle; }
.admin-workspace td .inline-form > .searchable-select { flex:1; }
@media print { .searchable-select-list,.searchable-select-toggle { display:none!important; } }
