.hui-select{position:relative;box-sizing:border-box;display:inline-flex;align-items:center;width:100%}.hui-select .hui-popover__anchor{display:block;width:100%}.hui-select__trigger{box-sizing:border-box;display:inline-flex;align-items:center;gap:var(--hui-space-2);width:100%;height:var(--hui-control-h);padding:0 var(--hui-space-3);background:var(--hui-surface);border:1px solid var(--hui-border-strong);border-radius:var(--hui-radius);font-family:var(--hui-font);font-size:var(--hui-fs-md);color:var(--hui-text);text-align:left;cursor:pointer;transition:border-color var(--hui-dur-fast, .15s) ease,box-shadow var(--hui-dur-fast, .15s) ease}.hui-select--sm .hui-select__trigger{height:var(--hui-control-h-sm);padding:0 var(--hui-space-2);font-size:var(--hui-fs-sm)}.hui-select__trigger:focus-visible,.hui-select__trigger:focus{outline:none;border-color:var(--hui-accent);box-shadow:var(--hui-focus)}.hui-select--invalid .hui-select__trigger{border-color:var(--hui-danger)}.hui-select--invalid .hui-select__trigger:focus-visible,.hui-select--invalid .hui-select__trigger:focus{border-color:var(--hui-danger);box-shadow:0 0 0 3px var(--hui-danger-soft)}.hui-select--disabled .hui-select__trigger,.hui-select__trigger:disabled{background:var(--hui-surface-2);color:var(--hui-text-faint);cursor:not-allowed}.hui-select__value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;gap:var(--hui-space-2)}.hui-select__lead{display:inline-flex;align-items:center;gap:5px;flex:none}.hui-select__swatch{width:9px;height:9px;border-radius:50%;flex:none}.hui-select__value--placeholder{color:var(--hui-text-faint)}.hui-select__chevron{flex:none;width:7px;height:7px;margin-top:-3px;border-right:2px solid var(--hui-text-muted);border-bottom:2px solid var(--hui-text-muted);transform:rotate(45deg);transition:transform var(--hui-dur-fast, .15s) ease;pointer-events:none}.hui-select--open .hui-select__chevron{margin-top:3px;transform:rotate(225deg)}.hui-select--disabled .hui-select__chevron{border-color:var(--hui-text-faint)}.hui-popover__panel.hui-select__popover{padding:var(--hui-space-1);max-height:min(320px,50vh)}.hui-popover__panel.hui-select__popover--searchable{display:flex;flex-direction:column;gap:var(--hui-space-1);overflow:hidden}.hui-select__popover--searchable .hui-select__list{min-height:0;overflow:auto}.hui-select__search{flex:none;box-sizing:border-box;height:var(--hui-control-h-sm);padding:0 var(--hui-space-2);border:1px solid var(--hui-border-strong);border-radius:var(--hui-radius-sm);background:var(--hui-bg);color:var(--hui-text);font-family:var(--hui-font);font-size:var(--hui-fs-sm)}.hui-select__search::placeholder{color:var(--hui-text-faint)}.hui-select__search:focus-visible,.hui-select__search:focus{outline:none;border-color:var(--hui-accent);box-shadow:var(--hui-focus)}.hui-select__list{margin:0;padding:0;list-style:none}.hui-select__option{display:flex;align-items:center;gap:var(--hui-space-2);padding:var(--hui-space-2) var(--hui-space-3);padding-inline-start:calc(var(--hui-space-3) + var(--hui-select-depth, 0) * var(--hui-select-indent, 16px));border-radius:calc(var(--hui-radius) - 2px);font-size:var(--hui-fs-md);color:var(--hui-text);cursor:pointer;-webkit-user-select:none;user-select:none}.hui-select__grouplist{margin:0;padding:0;list-style:none}.hui-select__grouphdr{display:flex;align-items:center;gap:var(--hui-space-2);padding:var(--hui-space-1) var(--hui-space-3);padding-inline-start:calc(var(--hui-space-3) + var(--hui-select-depth, 0) * var(--hui-select-indent, 16px));border-radius:calc(var(--hui-radius) - 2px);color:var(--hui-text-muted);font-size:var(--hui-fs-sm);font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.hui-select__gchevron{flex:none;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform var(--hui-dur-fast, .15s) ease}.hui-select__gchevron--open{transform:rotate(45deg)}.hui-select__box{position:relative;box-sizing:border-box;flex:none;width:16px;height:16px;background:var(--hui-surface);border:1px solid var(--hui-border-strong);border-radius:var(--hui-radius-sm);transition:background-color .15s ease,border-color .15s ease}.hui-select__box:after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border-right:2px solid var(--hui-on-accent);border-bottom:2px solid var(--hui-on-accent);transform:rotate(45deg) scale(0)}.hui-select__box--checked{background:var(--hui-accent);border-color:var(--hui-accent)}.hui-select__box--checked:after{transform:rotate(45deg) scale(1)}.hui-select__chips{display:flex;flex:1;align-items:center;gap:var(--hui-space-1);min-width:0;overflow:hidden}.hui-select__chip{display:inline-block;max-width:12ch;padding:0 var(--hui-space-2);background:var(--hui-surface-2);border:1px solid var(--hui-border);border-radius:var(--hui-radius-sm);font-size:var(--hui-fs-sm);line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hui-select__more{flex:none;color:var(--hui-text-muted);font-size:var(--hui-fs-sm)}.hui-select--clearable .hui-select__trigger{padding-inline-end:calc(var(--hui-space-3) + 24px)}.hui-select__clear{position:absolute;inset-inline-end:calc(var(--hui-space-3) + 14px);top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hui-text-muted);font-family:var(--hui-font);font-size:var(--hui-fs-sm);line-height:1;cursor:pointer}.hui-select__clear:hover{background:var(--hui-surface-2);color:var(--hui-text)}.hui-select__clear:focus-visible{outline:none;box-shadow:var(--hui-focus)}.hui-select__option--active{background:var(--hui-surface-2)}.hui-select__option--selected{font-weight:600}.hui-select__option--disabled{color:var(--hui-text-faint);cursor:not-allowed}.hui-select__option-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hui-select__check{flex:none;color:var(--hui-accent);font-size:var(--hui-fs-sm)}.hui-select__empty{padding:var(--hui-space-2) var(--hui-space-3);color:var(--hui-text-faint);font-size:var(--hui-fs-sm)}.hui-select__native{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none}
