.ac-panel{z-index:60;background:var(--surface);width:min(400px,100vw - 2rem);height:min(640px,100dvh - 3rem);color:var(--text);border:1px solid var(--border);font-family:var(--font-sans);border-radius:1.25rem;flex-direction:column;animation:.28s cubic-bezier(.2,.8,.2,1) ac-in;display:flex;position:fixed;bottom:1.5rem;right:1.5rem;overflow:hidden;box-shadow:0 24px 64px -16px #00000059,0 0 0 1px #00000005}.ac-panel[hidden]{display:none}@keyframes ac-in{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:none}}.ac-open #agentc-launcher{opacity:0;pointer-events:none}@media (width<=640px){.ac-panel{border:0;border-radius:0;width:100%;height:100dvh;inset:0}.ac-open body{overflow:hidden}}.ac-head{border-bottom:1px solid var(--border);align-items:center;gap:.75rem;padding:.85rem .75rem .85rem 1rem;display:flex}.ac-avatar{background:var(--text);width:2.4rem;height:2.4rem;color:var(--bg);border-radius:.8rem;flex:none;place-items:center;display:grid}.ac-titles{flex:1;min-width:0}.ac-titles h2{font-family:var(--font-display);letter-spacing:-.01em;margin:0;font-size:1.02rem;font-weight:600}.ac-titles p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:.1rem 0 0;font-size:.78rem;overflow:hidden}.ac-preview{color:var(--accent);font-weight:600}.ac-icon{width:2.25rem;height:2.25rem;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;place-items:center;display:grid}.ac-icon:hover{background:var(--surface-2);color:var(--text)}.ac-body{scroll-behavior:smooth;overscroll-behavior:contain;flex:1;padding:1rem;overflow-y:auto}.ac-disclosure{color:var(--muted);background:var(--surface-2);border-radius:.8rem;margin-bottom:1rem;padding:.65rem .8rem;font-size:.8rem;line-height:1.5}.ac-disclosure a{color:var(--accent)}.ac-disclosure.is-compact{padding:.45rem .7rem;font-size:.74rem}.ac-log{flex-direction:column;gap:.65rem;display:flex}.ac-msg{display:flex}.ac-user{justify-content:flex-end}.ac-bubble{overflow-wrap:anywhere;border-radius:1.05rem;max-width:86%;padding:.65rem .9rem;font-size:.93rem;line-height:1.55}.ac-assistant .ac-bubble{background:var(--surface-2);border-bottom-left-radius:.35rem}.ac-user .ac-bubble{background:var(--accent);color:var(--accent-ink);border-bottom-right-radius:.35rem}.ac-bubble p{margin:0}.ac-bubble p+p,.ac-bubble p+ul,.ac-bubble p+ol,.ac-bubble ul+p,.ac-bubble ol+p{margin-top:.55rem}.ac-bubble ul,.ac-bubble ol{margin:.3rem 0 0;padding-left:1.2rem}.ac-bubble ul{list-style:outside}.ac-bubble ol{list-style:decimal}.ac-bubble li+li{margin-top:.2rem}.ac-bubble a{color:var(--accent);text-underline-offset:3px;text-decoration:underline}.ac-user .ac-bubble a{color:inherit}.ac-bubble code{background:#7f7f7f26;border-radius:.3rem;padding:.05rem .3rem;font-size:.85em}.ac-bubble strong{font-weight:650}.ac-typing .ac-bubble{gap:.3rem;padding:.85rem 1rem;display:inline-flex}.ac-typing i{background:var(--muted);border-radius:50%;width:.42rem;height:.42rem;animation:1.2s ease-in-out infinite ac-dot}.ac-typing i:nth-child(2){animation-delay:.15s}.ac-typing i:nth-child(3){animation-delay:.3s}@keyframes ac-dot{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.ac-error .ac-bubble{border:1px solid var(--border-strong);background:var(--surface)}.ac-retry{font:inherit;color:var(--accent);border:1px solid var(--border-strong);cursor:pointer;background:0 0;border-radius:999px;margin-top:.6rem;padding:.35rem .85rem;font-size:.85rem;font-weight:600}.ac-chips{flex-wrap:wrap;gap:.45rem;margin-top:.9rem;display:flex}.ac-chip{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border-strong);cursor:pointer;text-align:left;border-radius:999px;padding:.45rem .8rem;font-size:.84rem;transition:border-color .15s,color .15s}.ac-chip:hover{border-color:var(--accent);color:var(--accent)}.ac-form{border:1px solid var(--border-strong);background:var(--bg);border-radius:1.1rem;align-items:flex-end;gap:.5rem;margin:0 .75rem;padding:.4rem .4rem .4rem .9rem;display:flex}.ac-form:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.ac-form textarea{resize:none;color:var(--text);font:inherit;background:0 0;border:0;outline:0;flex:1;max-height:140px;padding:.4rem 0;font-size:.95rem;line-height:1.45}.ac-form textarea::placeholder{color:var(--muted)}.ac-send{background:var(--accent);width:2.3rem;height:2.3rem;color:var(--accent-ink);cursor:pointer;border:0;border-radius:.8rem;flex:none;place-items:center;display:grid}.ac-send:disabled{opacity:.4;cursor:default}.ac-foot{justify-content:space-between;align-items:center;padding:.55rem 1rem .8rem;font-size:.8rem;display:flex}.ac-foot a{color:var(--muted);text-underline-offset:3px;text-decoration:underline}.ac-foot a:hover{color:var(--accent)}.ac-count{color:var(--muted);font-variant-numeric:tabular-nums}.ac-ts{width:0;height:0;position:absolute;overflow:hidden}.ac-panel.is-embedded{z-index:1;width:100%;height:min(680px,78dvh);min-height:520px;box-shadow:var(--shadow);border:1px solid var(--border);border-radius:1.25rem;animation:none;position:relative;inset:auto}.ac-panel.is-embedded .ac-icon,.has-embed #agentc-launcher{display:none}
