/* Shared dropdown: inner radius 8 + padding 8 = outer radius 16. */
.custom-select{display:inline-grid;position:relative;vertical-align:middle;max-width:100%;min-width:0}
.custom-select[hidden]{display:none!important}
select.custom-select-native{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}
.custom-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;max-width:100%;min-height:40px;width:100%;border:1px solid var(--line,#e7e7e7);border-radius:8px;padding:8px 16px;background:#fff;color:#1A1A1A;font:inherit;font-size:14px;text-align:left;cursor:pointer;transition:border-color 150ms,background-color 150ms}
.custom-select-trigger::after{content:'';width:8px;height:8px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.custom-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.custom-select-trigger:hover{background:#fafafa;filter:none;border-color:#bdbdbd}
.custom-select-trigger[aria-expanded=true]{border-color:#6d6d6f}
.custom-select-trigger:focus-visible,.custom-select-search:focus-visible{outline:2px solid #476bd6;outline-offset:2px}
.custom-select-trigger:disabled{color:#6d6d6f;background:#f3f3f3;cursor:not-allowed}
.form-row .custom-select{min-width:130px;max-width:100%}
.v2-field .custom-select,.av2-common-filters label .custom-select,.av2-advanced-grid label .custom-select{width:100%}
.ct-filter .custom-select{max-width:200px}
td .custom-select{max-width:190px}
.custom-select-panel{position:fixed;z-index:450;box-sizing:border-box;margin:0;padding:8px;border:1px solid var(--line,#e7e7e7);border-radius:16px;background:#fff;color:#1A1A1A;box-shadow:0 8px 24px #0000001a;font-size:14px;line-height:1.5}
.custom-select-panel .custom-select-search{display:block;box-sizing:border-box;width:100%;min-width:0;margin:0 0 8px;padding:8px;border:1px solid #e7e7e7;border-radius:8px;font:inherit;background:#fff;color:#1A1A1A}
.custom-select-panel .custom-select-search[hidden]{display:none}
.custom-select-list{overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto}
.custom-select-option{position:relative;min-height:40px;padding:8px 24px 8px 8px;border-radius:8px;cursor:pointer;overflow-wrap:anywhere}
.custom-select-option:hover,.custom-select-option.is-active{background:#f0f0f0}
.custom-select-option[aria-selected=true]{font-weight:600;background:#e9e9e9}
.custom-select-option[aria-selected=true]::after{content:'✓';position:absolute;right:8px;top:8px}
.custom-select-option[aria-disabled=true]{color:#6d6d6f;background:transparent;cursor:not-allowed;text-decoration:line-through}
.custom-select-group,.custom-select-empty{padding:8px;color:#6d6d6f;font-size:14px}
.custom-select-group{font-weight:600}
@media(max-width:800px),(pointer:coarse){.custom-select-trigger,.custom-select-option{min-height:44px;font-size:16px}.custom-select-panel .custom-select-search{font-size:16px;min-height:44px}.form-row .custom-select{width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){.custom-select-trigger{transition:none}}
