.agent-ref-chip-anchor{--ref-chip-status-size:13px;box-sizing:border-box;vertical-align:baseline;align-items:center;width:64px;height:22px;line-height:1;display:inline-flex;position:relative;overflow:visible}.agent-ref-chip-anchor:before{content:"";width:var(--ref-chip-status-size);height:var(--ref-chip-status-size);flex:none}.agent-ref-chip-anchor>.agent-ref-chip{position:absolute;top:0;left:0}.agent-ref-chip{--agent-chip-color:var(--color-text);--agent-chip-strength:0%;--agent-chip-fill:var(--color-background-secondary);--agent-chip-morph-duration:.42s;box-sizing:border-box;border-radius:var(--radius-pill);vertical-align:baseline;isolation:isolate;background:var(--agent-chip-fill);width:64px;min-width:64px;max-width:64px;height:22px;color:var(--color-text);font:inherit;cursor:default;border:0;padding:0;display:inline-block;position:relative;overflow:visible}.agent-ref-chip[data-face=idle]{--agent-chip-color:var(--color-success);--agent-chip-strength:18%;color:var(--color-success)}.agent-ref-chip[data-face=launching]{--agent-chip-color:var(--color-success);--agent-chip-strength:8%;color:color-mix(in srgb, var(--color-success) 65%, var(--color-text-secondary))}.agent-ref-chip[data-face=sleeping],.agent-chip-tip__glyph[data-face=sleeping]{--agent-chip-strength:8%;color:var(--color-text-secondary)}.agent-ref-chip[data-face=finished]{--agent-chip-color:var(--color-success);--agent-chip-strength:10%}.agent-ref-chip[data-face=askaquestion]{--agent-chip-color:var(--color-warning);--agent-chip-strength:30%}.agent-ref-chip[data-face=failed]{--agent-chip-color:var(--color-danger);--agent-chip-strength:30%}.agent-ref-chip:before,.agent-ref-chip:after{content:"";border-radius:inherit;pointer-events:none;transition:background-color var(--agent-chip-morph-duration) ease-in-out, border-color var(--transition-speed-fast) var(--transition-easing);position:absolute;top:0;bottom:0;left:0;right:0}.agent-ref-chip:before{border-radius:var(--radius-pill) 0 0 var(--radius-pill);background:color-mix(in srgb, var(--agent-chip-color) var(--agent-chip-strength), var(--agent-chip-fill));top:1px;bottom:1px;left:1px;right:50%}.agent-ref-chip:after{border:1px solid var(--color-border)}.agent-ref-chip:-webkit-any(:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}.agent-ref-chip:-moz-any(:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}.agent-ref-chip:is(:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}@media (hover:hover){.agent-ref-chip:-webkit-any(:hover,:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}.agent-ref-chip:-moz-any(:hover,:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}.agent-ref-chip:is(:hover,:focus-within,:has([aria-expanded=true])){--agent-chip-fill:var(--color-background-tertiary)}}.agent-ref-chip:-webkit-any(:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}.agent-ref-chip:-moz-any(:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}.agent-ref-chip:is(:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}@media (hover:hover){.agent-ref-chip:-webkit-any(:hover,:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}.agent-ref-chip:-moz-any(:hover,:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}.agent-ref-chip:is(:hover,:focus-within,:has([aria-expanded=true])):after{border-color:var(--color-text-tertiary)}}.agent-ref-chip--connected{cursor:pointer}.agent-ref-chip--link,.agent-ref-chip[data-face=linked]{--agent-chip-strength:0%;color:var(--color-text-secondary);cursor:pointer}.agent-ref-chip.agent-ref-chip--inert{--agent-chip-strength:0%;color:color-mix(in srgb, var(--color-text-tertiary) 65%, var(--color-background));cursor:default}.agent-ref-chip__status{pointer-events:none;justify-content:center;align-items:center;padding-left:5px;display:flex;position:absolute;top:1px;bottom:1px;left:1px;right:50%}.agent-ref-chip__mark{color:var(--color-text);opacity:.7;pointer-events:none;background:0 0;justify-content:center;align-items:center;padding-right:5px;display:flex;position:absolute;top:1px;bottom:1px;left:50%;right:1px}.agent-ref-chip__mark svg{width:13px;height:13px;display:block}.agent-ref-chip__mark[data-mark=ref-thread]{padding-right:0}.agent-ref-chip--inert .agent-ref-chip__mark{opacity:.3}.agent-ref-chip[data-face=working],.agent-ref-chip[data-face=loading],.agent-chip-tip__glyph[data-face=working],.agent-chip-tip__glyph[data-face=loading]{color:var(--color-text-secondary)}.agent-ref-chip__status-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.agent-ref-chip__main{box-sizing:border-box;border-radius:inherit;width:100%;height:100%;color:inherit;font:inherit;cursor:inherit;background:0 0;border:0;margin:0;padding:0;position:absolute;top:0;bottom:0;left:0;right:0}.agent-ref-chip:focus,.agent-ref-chip__main:focus{outline:none}.agent-ref-chip:focus-visible{outline:2px solid var(--color-text);outline-offset:2px}.agent-ref-chip__main:focus-visible{outline:2px solid var(--color-text);outline-offset:2px}@media (prefers-reduced-motion:reduce){.agent-ref-chip:before,.agent-ref-chip:after{transition:none}}.agent-ref-chip-menu{z-index:var(--z-popover);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);min-width:200px;max-width:min(260px,100vw - 16px);max-height:calc(100vh - 16px);box-shadow:var(--shadow-popover);outline:none;padding:4px;position:fixed;overflow:auto}.agent-ref-chip-menu__item{align-items:center;gap:var(--spacing-sm);border-radius:var(--radius-sm);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:3px 6px;font-size:.8125rem;display:flex}@media (hover:hover){.agent-ref-chip-menu__item:hover:not(:disabled){background:var(--color-background-secondary)}}.agent-ref-chip-menu__item:focus{outline:none}.agent-ref-chip-menu__item:focus-visible{background:var(--color-background-secondary)}.agent-ref-chip-menu__item--disabled,.agent-ref-chip-menu__item:disabled{cursor:default;opacity:.5}.agent-ref-chip-menu__mark,.agent-ref-chip-menu__steer-icon{flex:none;justify-content:center;align-items:center;width:14px;height:14px;display:inline-flex}.agent-ref-chip-menu__mark svg,.agent-ref-chip-menu__steer-icon svg{width:14px;height:14px;display:block}.agent-ref-chip-menu__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.agent-ref-chip-menu__item[aria-checked=true]{background:var(--color-background-secondary)}.agent-ref-chip-question{z-index:var(--z-popover);width:380px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:var(--spacing-smd);background:var(--color-background);border:1px solid var(--color-border);border-radius:var(--radius-md);box-shadow:var(--shadow-popover);outline:none;position:fixed;overflow:auto}.agent-ref-chip-question__owner,.agent-ref-chip-question__empty,.agent-ref-chip-question__error{margin:0 0 var(--spacing-sm);color:var(--color-text-secondary);font-size:.8125rem}.agent-ref-chip-question__error{color:var(--color-danger)}.agent-ref-chip-question__retry{margin-top:var(--spacing-xs);color:var(--color-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8125rem}@media (hover:hover){.agent-ref-chip-question__retry:hover:not(:disabled){text-decoration:underline}}.agent-ref-chip-question__retry:disabled{cursor:default;opacity:.5}@media (pointer:coarse){.agent-ref-chip-menu__item{min-height:var(--touch-target)}}.agent-ref-chip[data-state=waiting] .agent-ref-chip__mark:after,.agent-ref-chip[data-state=error] .agent-ref-chip__mark:after{content:"";width:6px;height:6px;box-shadow:0 0 0 2px var(--color-background);pointer-events:none;border-radius:50%;position:absolute;top:1px;right:2px}.agent-ref-chip[data-state=waiting] .agent-ref-chip__mark:after{background:var(--color-warning)}.agent-ref-chip[data-state=error] .agent-ref-chip__mark:after{background:var(--color-danger)}
