:host{--_bg:transparent;--_fg:var(--tc-text-primary);--_border:var(--tc-border-strong);display:inline-flex;flex:none;max-width:100%;vertical-align:middle}.base{display:inline-flex;align-items:center;gap:var(--tc-space-4);max-width:100%;height:20px;padding:1px var(--tc-space-6);border:1px solid var(--_border);border-radius:var(--tc-radius-sm);background:var(--_bg);color:var(--_fg);font:var(--tc-weight-regular) 12px/16px var(--tc-font-mono);white-space:nowrap;transition:background-color var(--tc-transition)}.label{overflow:hidden;text-overflow:ellipsis}:host([mono="false"]) .base{font-family:var(--tc-font-text)}:host([tone="info"]){--_bg:var(--tc-info-bg);--_fg:var(--tc-info-fg);--_border:var(--tc-info-border)}:host([tone="success"]){--_bg:var(--tc-success-bg);--_fg:var(--tc-success-fg);--_border:var(--tc-success-border)}:host([tone="warning"]){--_bg:var(--tc-warning-bg);--_fg:var(--tc-warning-fg);--_border:var(--tc-warning-border)}:host([tone="danger"]){--_bg:var(--tc-danger-bg);--_fg:var(--tc-danger-fg);--_border:var(--tc-danger-border)}:host([removable]) .base{padding-right:var(--tc-space-4)}:host([removable]:not([disabled]):not([tone])) .base:hover,:host([removable][tone="neutral"]:not([disabled])) .base:hover{background:var(--tc-bg-hover)}.remove{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:12px;height:12px;margin:0;padding:0;border:0;border-radius:2px;background:none;color:inherit;cursor:pointer}.remove .icon{width:12px;height:12px}.remove::before{content:"";position:absolute;inset:-4px}.remove:focus-visible{outline:none}.base:has(.remove:focus-visible){box-shadow:var(--tc-focus-ring)}:host(:not([tone])) .base:has(.remove:focus-visible),:host([tone="neutral"]) .base:has(.remove:focus-visible){background:var(--tc-bg-surface)}:host([disabled]){--_bg:transparent;--_fg:var(--tc-text-disabled);--_border:var(--tc-border-default)}:host([disabled]) .remove{cursor:not-allowed}