.has-copilot{min-height:0;display:flex;flex-direction:column}
.has-copilot [hidden]{display:none!important}
.has-copilot .copilot-notice{font-size:12px;line-height:1.4;margin:8px 12px;flex:none}
.has-copilot .copilot-thread{flex:1 1 160px;min-height:70px;overflow:auto;padding:8px 12px;overflow-wrap:anywhere}
.copilot-message{margin:0 0 12px}.copilot-message p{white-space:pre-wrap;margin:4px 0}
.copilot-message strong{font-size:12px}.copilot-status{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.copilot-pending{display:flex;align-items:center;gap:8px;margin:4px 0 12px;font-size:12px;line-height:1.5;color:inherit}
.copilot-dots{display:inline-flex;gap:4px;align-items:center;flex:none}
.copilot-dot{width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.4;animation:copilot-pulse 1.2s ease-in-out infinite}
.copilot-dot:nth-child(2){animation-delay:.16s}.copilot-dot:nth-child(3){animation-delay:.32s}
@keyframes copilot-pulse{0%,70%,100%{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.copilot-dot{animation:none;opacity:.7}}
.has-copilot .composer{flex:none}.has-copilot .composer-footer{flex-wrap:wrap;gap:6px}
.has-copilot .composer textarea{min-height:56px;max-height:140px}
.copilot-local{flex:none;max-height:120px;overflow:auto;margin:4px 12px;font-size:12px}
.copilot-local .conversation{height:auto;overflow:visible}
.copilot-local summary{cursor:pointer}.copilot-intro{font-size:13px;line-height:1.4}
.has-copilot .byok,.has-copilot .context-chip,.has-copilot .composer-footer>span,.has-copilot .composer-footer>[data-action="context"]{display:none!important}
.has-copilot .composer-footer .send{width:auto;min-width:76px;height:auto;min-height:44px;padding:6px 12px;border-radius:6px;flex:none;white-space:nowrap}
.has-copilot button,.has-copilot summary,.has-copilot .copilot-notice a{min-width:44px;min-height:44px}
.has-copilot .copilot-notice a{display:inline-flex;align-items:center}
@media(max-width:850px){.has-copilot .copilot-notice{font-size:12px}.has-copilot .copilot-thread{min-height:120px}.has-copilot .composer-footer button{min-height:44px}}