.ds-custom-select{--select-fg:var(--ink);--select-muted:var(--ink-soft);--select-line:var(--line-strong);--select-bg:var(--bone);--select-menu-bg:var(--bone);--select-hover:var(--limestone);--select-accent:var(--juniper);min-width:0;position:relative}.ds-custom-select--dark{--select-fg:var(--bone);--select-muted:#fbf9f4ad;--select-line:#fbf9f447;--select-bg:transparent;--select-menu-bg:var(--blue);--select-hover:#fbf9f414;--select-accent:var(--gold)}.ds-custom-select__trigger{border:0;border-bottom:1px solid var(--select-line);background:var(--select-bg);width:100%;height:50px;color:var(--select-fg);font:200 1rem/1.65 var(--body);text-align:left;cursor:pointer;border-radius:0;outline:0;justify-content:space-between;align-items:center;gap:18px;padding:0 1px;display:flex}.ds-custom-select__trigger:hover,.ds-custom-select__trigger:focus-visible,.ds-custom-select[data-open=true] .ds-custom-select__trigger{border-color:var(--select-accent)}.ds-custom-select__trigger[aria-invalid=true]{border-color:#b96054}.ds-custom-select__trigger:disabled{cursor:not-allowed;opacity:.48}.ds-custom-select__value[data-empty=true]{color:var(--select-muted)}.ds-custom-select__chevron{border-bottom:1px solid;border-right:1px solid;flex:none;width:9px;height:9px;transition:transform .16s;transform:translate(-3px,-3px)rotate(45deg)}.ds-custom-select[data-open=true] .ds-custom-select__chevron{transform:translate(-3px,2px)rotate(225deg)}.ds-custom-select__menu{z-index:12;border:1px solid var(--select-line);background:var(--select-menu-bg);width:100%;max-height:min(360px,52vh);position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 18px 48px #0000002e}.ds-custom-select[data-custom-select-placement=up] .ds-custom-select__menu{top:auto;bottom:calc(100% + 8px);box-shadow:0 -18px 48px #0000002e}.ds-custom-select[data-custom-select-placement=up] .ds-custom-select__chevron{transform:translate(-3px,2px)rotate(225deg)}.ds-custom-select[data-custom-select-placement=up][data-open=true] .ds-custom-select__chevron{transform:translate(-3px,-3px)rotate(45deg)}.ds-custom-select__search{z-index:2;border-bottom:1px solid var(--select-line);background:var(--select-menu-bg);padding:12px;position:sticky;top:0}.ds-custom-select__search input{border:1px solid var(--select-line);background:var(--select-bg);width:100%;height:42px;color:var(--select-fg);font:300 .9rem/1.4 var(--body);border-radius:2px;outline:0;padding:0 12px;display:block}.ds-custom-select__search input::placeholder{color:var(--select-muted)}.ds-custom-select__search input:focus{border-color:var(--select-accent)}.ds-custom-select__search input::-webkit-search-cancel-button{cursor:pointer}.ds-custom-select__options{min-width:0}.ds-custom-select__option{border:0;border-bottom:1px solid var(--select-line);width:100%;min-height:52px;color:var(--select-fg);font:300 .92rem/1.45 var(--body);text-align:left;cursor:pointer;background:0 0;outline:0;justify-content:space-between;align-items:center;gap:20px;padding:11px 14px;display:flex}.ds-custom-select__option:last-child{border-bottom:0}.ds-custom-select__option[hidden]{display:none}.ds-custom-select__option:hover,.ds-custom-select__option:focus-visible,.ds-custom-select__option[data-active=true]{background:var(--select-hover)}.ds-custom-select__option[aria-selected=true]{color:var(--select-accent)}.ds-custom-select__check{visibility:hidden;color:var(--select-accent);font:400 .82rem/1 var(--struct)}.ds-custom-select__option[aria-selected=true] .ds-custom-select__check{visibility:visible}.ds-custom-select__empty{color:var(--select-muted);font:300 .86rem/1.5 var(--body);margin:0;padding:18px 14px}@media (width<=640px){.ds-custom-select__menu{z-index:40;border-color:var(--select-line);width:auto;max-height:min(480px,68dvh);position:fixed;inset:auto 18px 18px;box-shadow:0 22px 70px #0000004d}.ds-custom-select__search{padding:14px}.ds-custom-select__search input{height:46px}.ds-custom-select__option{min-height:58px;padding:14px 16px}.library-overlay .ds-custom-select[data-open=true] .ds-custom-select__menu{z-index:400;overscroll-behavior:contain;margin:0;overflow-y:auto}}
