@import url("_field.css");.trigger{cursor:pointer}:host([disabled]) .trigger{cursor:not-allowed}:host([readonly]) .trigger{cursor:default}:host([pill]) .trigger{border-radius:var(--tc-radius-full)}.trigger-button{display:flex;align-items:center;height:100%;min-width:0;outline:none;cursor:inherit;user-select:none}.box:has(.trigger-button:focus-visible),:host([open]) .trigger{--_border:var(--tc-border-focus);--_ring:var(--tc-border-focus)}:host([invalid]) .box:has(.trigger-button:focus-visible),:host([invalid][open]) .trigger{--_border:var(--tc-danger-solid);--_ring:var(--tc-danger-solid)}.value{display:flex;flex:1 1 auto;align-items:center;gap:var(--tc-space-6);min-width:0;overflow:hidden;white-space:nowrap}.text{overflow:hidden;text-overflow:ellipsis}.placeholder{overflow:hidden;color:var(--tc-text-tertiary);text-overflow:ellipsis}:host([display]:not([display=""])) .placeholder,:host([has-tag]) .placeholder,:host([has-tag]) .text{display:none}:host([disabled]) .placeholder,:host([disabled]) .text{color:var(--tc-text-disabled)}.tags{display:flex;align-items:center;gap:var(--tc-space-6);flex:0 1 auto;min-width:0;overflow:hidden}.tags .tag:only-child{flex:0 1 auto;min-width:0}.tags:empty{display:none}.tag{display:inline-flex;align-items:center;gap:var(--tc-space-4);flex:none;max-width:180px;height:26px;padding:0 5px 0 8px;border-radius:var(--tc-radius-sm);box-shadow:inset 0 0 0 1px var(--tc-border-strong);color:var(--tc-text-primary);font:var(--tc-weight-regular) 13px/18px var(--tc-font-text)}:host([pill]) .tag{border-radius:var(--tc-radius-full)}.tag-label{overflow:hidden;text-overflow:ellipsis}.tag-remove{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:var(--tc-radius-xs);color:var(--tc-icon-secondary);cursor:pointer}.tag-remove tc-icon{width:12px;height:12px}.tag-remove:hover{background:var(--tc-bg-hover);color:var(--tc-icon-primary)}:host([disabled]) .tag-remove,:host([readonly]) .tag-remove{display:none}.more{flex:none;color:var(--tc-text-secondary);font:var(--tc-weight-regular) 13px/18px var(--tc-font-text)}:host([multiple][has-tag]) .box{padding-left:6px}.lead,.trail{color:var(--tc-icon-secondary)}::slotted([slot="prefix"]),::slotted([slot="suffix"]){flex:none;color:var(--tc-icon-secondary)}.chevron{flex:none;color:var(--tc-icon-secondary);pointer-events:none;transition:transform var(--tc-transition)}:host([open]) .chevron{transform:rotate(180deg)}:host([disabled]) .chevron,:host([disabled]) .lead,:host([disabled]) .trail{color:var(--tc-icon-disabled)}:host([readonly]) .chevron{display:none}.clear{margin:0 -4px}.listbox{position:fixed;inset:auto;box-sizing:border-box;margin:0;padding:var(--tc-space-4);min-width:160px;max-height:var(--_max-height,272px);overflow-y:auto;overscroll-behavior:contain;list-style:none;border:0;border-radius:var(--tc-radius-md);background:var(--tc-bg-surface-raised);box-shadow:inset 0 0 0 1px var(--tc-border-default),var(--tc-elevation-popover);color:var(--tc-text-primary);font:var(--tc-weight-regular) 14px/20px var(--tc-font-text)}.listbox:not(:popover-open){display:none}:host([open]) .listbox.fallback{display:block;z-index:1000}.group-list{margin:0;padding:0;list-style:none}.group-label{display:block;padding:var(--tc-space-8) var(--tc-space-8) var(--tc-space-4);color:var(--tc-text-tertiary);font:var(--tc-weight-regular) 12px/16px var(--tc-font-text)}.option{display:flex;align-items:center;gap:var(--tc-space-8);min-height:32px;padding:6px var(--tc-space-8);border-radius:var(--tc-radius-sm);color:var(--tc-text-primary);cursor:pointer;user-select:none}.option:hover,.option.active{background:var(--tc-bg-hover)}.option.active{box-shadow:inset 0 0 0 1px var(--tc-border-focus)}:host(:not([multiple])) .option[aria-selected="true"]{background:var(--tc-bg-selected);color:var(--tc-text-link);font-weight:var(--tc-weight-medium)}.option[aria-disabled="true"]{color:var(--tc-text-disabled);background:none;cursor:not-allowed}.option-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.option-label.empty{color:var(--tc-text-tertiary)}.check{flex:none;color:var(--tc-icon-accent);visibility:hidden}.option[aria-selected="true"] .check{visibility:visible}.option-box{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:16px;border-radius:var(--tc-radius-xs);background:var(--tc-bg-input);box-shadow:inset 0 0 0 1px var(--tc-border-strong);color:var(--tc-icon-on-accent)}.option-box tc-icon{width:12px;height:12px;visibility:hidden}.option[aria-selected="true"] .option-box{background:var(--tc-accent-default);box-shadow:none}.option[aria-selected="true"] .option-box tc-icon{visibility:visible}.option[aria-disabled="true"] .option-box{background:var(--tc-bg-disabled);box-shadow:inset 0 0 0 1px var(--tc-border-default)}:host([size="sm"]) .option{min-height:28px;padding:5px var(--tc-space-4);font-size:13px;line-height:18px;gap:var(--tc-space-6)}:host([size="sm"]) .group-label{padding:var(--tc-space-6) var(--tc-space-4) var(--tc-space-2);font-size:11px}:host([size="lg"]) .option{min-height:40px;padding:var(--tc-space-8) var(--tc-space-12);font-size:16px;line-height:24px;gap:10px}:host([size="lg"]) .option .check{width:20px;height:20px}:host([size="lg"]) .option-box{width:20px;height:20px}:host([size="lg"]) .option-box tc-icon{width:16px;height:16px}:host([size="lg"]) .group-label{padding:var(--tc-space-12) var(--tc-space-12) var(--tc-space-4);font-size:13px;line-height:18px}:host([mono]) .tag,:host([mono]) .more{font-family:var(--tc-font-mono)}:host([size="sm"]) .tag{height:20px;padding:0 4px 0 6px;font-size:12px;line-height:16px}:host([size="sm"]) .more{font-size:12px}:host([size="lg"]) .tag{height:32px;max-width:220px;padding:0 6px 0 10px;gap:var(--tc-space-6);font-size:16px;line-height:24px}:host([size="lg"]) .tag-remove{width:16px;height:16px}:host([size="lg"]) .tag-remove tc-icon{width:14px;height:14px}:host([size="lg"]) .more{font-size:16px;line-height:24px}.group{list-style:none}.group-label{position:sticky;top:calc(-1 * var(--tc-space-4));z-index:1;background:var(--tc-bg-surface-raised);color:var(--tc-text-secondary);font-weight:var(--tc-weight-medium)}.group:not([hidden]) ~ .group:not([hidden]){margin-top:var(--tc-space-4);padding-top:var(--tc-space-4);border-top:1px solid var(--tc-border-subtle)}.group-list .option{padding-left:calc(var(--tc-space-8) + var(--tc-space-4))}:host([size="sm"]) .group-list .option{padding-left:var(--tc-space-8)}:host([size="lg"]) .group-list .option{padding-left:calc(var(--tc-space-12) + var(--tc-space-4))}