/* Consistent Orriden dropdowns instead of operating-system popup menus. */
select.orriden-select-native { display:none!important; }
.orriden-select { width:100%; min-width:0; position:relative; }
body .orriden-select-button { display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%; min-width:0; min-height:42px; padding:11px 13px; background:var(--soft); color:var(--ink); border:1px solid var(--line); border-radius:8px; font-family:inherit; font-size:12px; line-height:1.4; font-weight:400; text-align:left; cursor:pointer; }
.orriden-select-button:hover:not(:disabled) { border-color:var(--green); }
.orriden-select-button:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.orriden-select-button:disabled { opacity:.5; cursor:not-allowed; }
.orriden-select-button[aria-expanded=true] { border-color:var(--green); box-shadow:0 0 0 2px var(--mint); }
.ods-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.ods-arrow { display:grid; place-items:center; width:16px; height:16px; flex:0 0 16px; color:var(--muted); }
.ods-arrow svg { width:16px; height:16px; transition:transform .15s; }
[aria-expanded=true]>.ods-arrow svg { transform:rotate(180deg); }
.orriden-select-menu { position:fixed; z-index:11000; min-width:100px; max-width:calc(100vw - 24px); max-height:320px; overflow:auto; overscroll-behavior:contain; padding:6px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:11px; box-shadow:0 14px 45px #00000030; font-family:inherit; font-size:12px; line-height:1.4; font-weight:400; }
.ods-option { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:36px; padding:9px 11px; border-radius:6px; cursor:pointer; }
.ods-option>span:first-child { overflow-wrap:anywhere; }
.ods-option.is-highlighted { background:var(--soft); }
.ods-option[aria-selected=true] { color:var(--green); font-weight:600; }
.ods-option[aria-disabled=true] { opacity:.4; cursor:not-allowed; }
.ods-check { min-width:14px; font-size:13px; text-align:right; }
.ods-group { padding:12px 11px 6px; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.5px; }
.ods-empty { padding:12px; color:var(--muted); }
.pr-explorer .orriden-select { margin:7px 0 12px; }

.orriden-select-menu { scrollbar-width:thin; scrollbar-color:var(--line) var(--paper); }
.orriden-select-menu::-webkit-scrollbar { width:6px; }
.orriden-select-menu::-webkit-scrollbar-track { background:var(--paper); }
.orriden-select-menu::-webkit-scrollbar-thumb { background:var(--line); border-radius:6px; }
