.custom-select {position:relative;min-width:0;width:100%;font-size:var(--text-s)}
.custom-select.is-open {z-index:25}
.custom-select__trigger {display:flex;align-items:center;gap:8px;width:100%;min-width:0;min-height:44px;margin:0;border:1px solid var(--stroke-tertiary);border-radius:0;padding:11px;background:var(--background-primary);color:var(--text-primary);font:inherit;line-height:20px;text-align:left;cursor:pointer}
.custom-select__trigger>img {width:20px;height:20px;flex-shrink:0}
.custom-select__value {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.custom-select__trigger:focus-visible {outline:2px solid var(--stroke-accent);outline-offset:3px}
.custom-select__trigger:hover,.custom-select.is-open>.custom-select__trigger {border-color:var(--stroke-strong)}
.custom-select.is-open .custom-select__arrow {transform:rotate(180deg)}
.custom-select__trigger:disabled {opacity:.5;cursor:default}
.custom-select__list {position:absolute;z-index:1;top:calc(100% + 4px);left:0;width:100%;max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--stroke-quaternary) var(--background-secondary);margin:0;padding:4px 0;list-style:none;border:1px solid var(--stroke-tertiary);background:var(--background-primary);box-shadow:var(--drop-shadow);color:var(--text-primary)}
.custom-select[data-placement="top"]>.custom-select__list {top:auto;bottom:calc(100% + 4px)}
.custom-select__list>[role="option"] {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 12px;font-size:var(--text-s);line-height:1.3;cursor:pointer;overflow-wrap:anywhere}
.custom-select__list>[role="option"]>img {flex-shrink:0;width:20px;height:20px;visibility:hidden}
.custom-select__list>[aria-selected="true"] {color:var(--text-accent)}
.custom-select__list>[aria-selected="true"]>img {visibility:visible}
.custom-select__list>.is-active {background:var(--background-secondary)}
.custom-select__list>[aria-disabled="true"] {color:var(--text-tertiary);cursor:default}
.sort.sort--custom {padding:0;border:0}
.sort--custom>img {display:none}
.sort--custom .custom-select__trigger {height:44px}
.lead-field>.custom-select>.custom-select__trigger {height:60px;padding:20px 0 18px;border:0;border-bottom:2px solid var(--stroke-quaternary);background:transparent;font-size:var(--text-s);line-height:19px}
.lead-field>.custom-select>.custom-select__trigger:hover,.lead-field>.custom-select.is-open>.custom-select__trigger,.lead-field>.custom-select>.custom-select__trigger[aria-invalid="true"] {border-bottom-color:var(--stroke-accent)}
.lead-field:has(>.custom-select)>.lead-select-arrow {display:none}
