.as-open{position:fixed;right:16px;bottom:16px;z-index:50;border:0;border-radius:999px;background:var(--brand);color:var(--brand-ink);font:600 1rem system-ui,sans-serif;padding:14px 22px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.as-panel{position:fixed;right:16px;bottom:16px;z-index:51;width:min(360px,calc(100vw - 32px));height:min(480px,calc(100vh - 32px));display:flex;flex-direction:column;background:var(--card);color:inherit;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.3);overflow:hidden}
.as-panel.hidden,.as-open.hidden{display:none}.as-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border-bottom:1px solid var(--line)}.as-x{border:0;background:none;font-size:1.5rem;cursor:pointer;color:inherit}
.as-log{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.as-msg{max-width:88%;padding:9px 12px;border-radius:14px;line-height:1.35;white-space:pre-wrap}.as-msg.bot{background:rgba(127,127,127,.15);align-self:flex-start}.as-msg.me{background:var(--brand);color:var(--brand-ink);align-self:flex-end}.as-msg.as-urgent{border-left:4px solid #c0392b}
.as-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}.as-form input{flex:1;min-width:0}.as-cb{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;padding:10px}

.as-video{width:100%;max-height:200px;object-fit:cover;background:#000}.as-video.hidden{display:none}
