.as-chat{max-width:720px;margin:16px 0}
.as-log{display:flex;flex-direction:column;gap:10px;margin-bottom:12px;min-height:60px}
.as-msg{padding:10px 14px;border-radius:12px;max-width:90%;line-height:1.7}
.as-msg p,.as-msg ul{margin:0}
.as-msg ul{padding-inline-start:20px}
.as-me{align-self:flex-start;background:var(--accent,#2563eb);color:#fff}
.as-bot{align-self:flex-end;background:var(--panel,#f3f4f6);border:1px solid var(--line,#ddd)}
.as-unk{opacity:.85}
.as-bot pre{margin:8px 0 0;padding:10px;background:#111;color:#eee;border-radius:8px;overflow:auto;text-align:left;white-space:pre}
.as-chat form[data-as-form]{display:flex;gap:8px}
.as-chat input[type=text]{flex:1;min-width:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.as-agent{align-self:flex-end;background:#ecfdf5;border:1px solid #6ee7b7}
.as-who{display:block;font-size:.8em;opacity:.8}
.as-banner{padding:8px 12px;border-radius:8px;background:#fef9c3;border:1px solid #fde047;margin-bottom:10px}
.as-human{margin-top:12px}
.as-human summary{cursor:pointer;font-weight:700}
.as-note{font-size:.85em;margin-top:10px}
.as-chat details form{display:block;margin-top:8px}
