/* Opt-in clean skin. The existing dUI.Select engine owns behavior and native values. */
.dui-select--clean,.dui-select__dropdown--clean {
    --duic-surface:var(--dt-surface,#fff); --duic-text:var(--dt-text,#202022);
    --duic-muted:var(--dt-muted,#77777b); --duic-border:var(--dt-border,#e8e8eb);
    --duic-hover:var(--dt-hover,#f5f5f6); --duic-selected:color-mix(in srgb,var(--duic-text) 6%,var(--duic-surface));
    color:var(--duic-text); font-family:var(--el-font,inherit); font-size:13px;
}
.dui-select--clean { min-width:0; width:100%; }
.dui-select--clean[hidden] { display:none!important; }
.dui-select--clean .dui-select__trigger {
    min-height:40px; padding:9px 12px!important; gap:10px; border:0!important;
    border-radius:9px!important; background:var(--dt-field-bg)!important; color:var(--duic-text)!important;
    box-shadow:none!important; outline:none; font-size:13px; line-height:1.45;
}
.dui-select--clean .dui-select__trigger:hover { background:var(--dt-field-hover)!important; }
.dui-select--clean.dui-select--open .dui-select__trigger { border-color:color-mix(in srgb,var(--duic-text) 32%,var(--duic-border))!important; box-shadow:none!important; }
.dui-select--clean .dui-select__trigger:focus-visible { outline:2px solid color-mix(in srgb,var(--duic-text) 42%,transparent)!important; outline-offset:2px; }
.dui-select--clean .dui-select__value { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--duic-text); }
.dui-select--clean .dui-select__arrow { color:var(--duic-muted); font-size:15px; }
.dui-select--clean.dui-select--disabled { opacity:.55; }
.dui-select__dropdown--clean {
    padding:6px!important; border:0!important; border-radius:12px!important;
    background:var(--duic-surface)!important; color:var(--duic-text); box-shadow:none!important;
    overflow:hidden; box-sizing:border-box;
}
:root[data-bs-theme] body .dui-select__dropdown--clean:focus-within {
  background: color-mix(in srgb, var(--dt-text) 3%, var(--dt-overlay)) !important;
}
.dui-select__dropdown--clean .dui-select__search-wrap {
    padding:7px 9px!important; margin:0 0 5px!important; border:0!important;
    border-bottom:0!important; border-radius:0!important;
    background:transparent!important; box-shadow:none!important;
}
.dui-select__dropdown--clean input.dui-select__search,
.dui-select__dropdown--clean input.dui-select__search:focus,
.dui-select__dropdown--clean input.dui-select__search:hover,
.dui-select__dropdown--clean input.dui-select__search:active {
    width:100%; min-height:28px; padding:3px 0!important; border:0!important; border-radius:0!important;
    background:transparent!important; color:var(--duic-text)!important; font:inherit; font-size:13px;
    outline:none!important; box-shadow:none!important;
}
.dui-select__dropdown--clean input.dui-select__search::placeholder { color:var(--duic-muted); opacity:1; }
.dui-select__dropdown--clean .dui-select__options { padding:2px!important; max-height:216px; overflow:auto; overscroll-behavior:contain; }
.dui-select__dropdown--clean .dui-select__option {
    display:flex; align-items:center; gap:10px; min-height:38px; padding:9px 10px!important;
    border:0!important; border-radius:7px!important; background:transparent!important; color:var(--duic-text)!important;
    font-size:13px; line-height:1.4; cursor:pointer;
}
.dui-select__dropdown--clean .dui-select__option-label { min-width:0; flex:1; overflow-wrap:anywhere; }
.dui-select__dropdown--clean .dui-select__option-check { margin-left:auto; flex:none; color:var(--duic-text)!important; font-size:15px; }
.dui-select__dropdown--clean .dui-select__option:not(.selected) .dui-select__option-check { visibility:hidden; }
.dui-select__dropdown--clean .dui-select__option.selected { background:var(--duic-selected)!important; color:var(--duic-text)!important; font-weight:500; }
.dui-select__dropdown--clean .dui-select__option:hover:not(.disabled),
.dui-select__dropdown--clean .dui-select__option.highlighted { background:var(--duic-hover)!important; color:var(--duic-text)!important; }
.dui-select__dropdown--clean .dui-select__option.disabled { opacity:.4; cursor:not-allowed; }
.dui-select__dropdown--clean .dui-select__group { padding:10px 10px 5px; color:var(--duic-muted); font-size:11px; font-weight:600; }
.dui-select__dropdown--clean .dui-select__no-results { padding:20px 12px; text-align:center; color:var(--duic-muted); font-size:13px; }
