/* Neutral UI Select; opt-in only. Colors come from the existing theme tokens. */
.ui-select { min-width:0; }
.ui-select-trigger,.ui-select-option { display:flex; align-items:center; gap:8px; width:100%; min-width:0; color:var(--text-primary); font:500 12px/1.4 var(--font-sans); text-align:left; cursor:pointer; }
.ui-select-trigger { min-height:36px; padding:8px 10px; border:1px solid var(--border-subtle); border-radius:var(--radius-sm); background:var(--input-bg); font-weight:600; }
.ui-select-trigger:hover:not(:disabled) { border-color:var(--border-subtle-hover); }
.ui-select-trigger:focus-visible { outline:2px solid var(--accent-cyan); outline-offset:3px; }
.ui-select-trigger:disabled,.ui-select-option:disabled { opacity:.5; cursor:default; }
.ui-select-value { display:flex; align-items:center; gap:8px; flex:1; min-width:0; }
.ui-select-label { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ui-select-icon { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; flex:0 0 18px; }
.ui-select-icon img { width:18px; height:18px; object-fit:contain; }
.ui-select-chevron { flex:0 0 auto; margin-left:auto; color:var(--text-muted); font-size:9px; }
.ui-select-menu { position:fixed; z-index:40; padding:4px; overflow:auto; overscroll-behavior:contain; border:1px solid var(--border-subtle); border-radius:var(--radius-sm); background:var(--bg-surface-1); box-shadow:var(--shadow-card); }
.ui-select-menu[hidden] { display:none; }
.ui-select-option { min-height:36px; padding:8px; border:0; border-radius:4px; background:transparent; }
.ui-select-option[aria-selected="true"],.ui-select-option:hover:not(:disabled),.ui-select-option:focus-visible { background:var(--bg-hover); }
.ui-select-menu .ui-select-option:focus-visible { outline:2px solid var(--accent-cyan); outline-offset:-2px; }
.ui-select-option[aria-selected="true"]::after { content:'✓'; color:var(--text-secondary); }
@media (hover:none), (pointer:coarse) { .ui-select-trigger,.ui-select-option { min-height:40px; } }
@media (forced-colors:active) { .ui-select-trigger,.ui-select-menu { border-color:ButtonText; } }
