.ebi-ai-chat{border:1px solid #e5e7eb;border-radius:1rem;max-width:680px;margin:1rem auto;font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;}
.ebi-ai-chat__header{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;background:#fafafa;border-top-left-radius:1rem;border-top-right-radius:1rem;}
.ebi-ai-chat__brand{font-weight:700;}
.ebi-ai-chat__status{font-size:.875rem;color:#16a34a;}
.ebi-ai-chat__messages{height:380px;overflow:auto;padding:1rem;background:white;}
.ebi-ai-chat__msg{display:flex;margin:.4rem 0;}
.ebi-ai-chat__msg.is-user{justify-content:flex-end;}
.ebi-ai-chat__bubble{max-width:80%;padding:.6rem .8rem;border-radius:.8rem;line-height:1.5;white-space:pre-wrap;word-break:break-word;}
.ebi-ai-chat__msg.is-user .ebi-ai-chat__bubble{background:#2563eb;color:#fff;border-bottom-right-radius:.1rem;}
.ebi-ai-chat__msg.is-assistant .ebi-ai-chat__bubble{background:#f3f4f6;color:#111827;border-bottom-left-radius:.1rem;}
.ebi-ai-chat__input{display:flex;gap:.5rem;padding:.75rem;border-top:1px solid #f1f5f9;background:#fafafa;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem;}
.ebi-ai-chat__textarea{flex:1;resize:vertical;padding:.6rem .8rem;border:1px solid #e5e7eb;border-radius:.6rem;}
.ebi-ai-chat__send{padding:.6rem 1rem;border:1px solid #2563eb;background:#2563eb;color:#fff;border-radius:.6rem;cursor:pointer;}
.ebi-ai-chat__send:hover{opacity:.9;}
.ebi-ai-chat__note{font-size:.75rem;color:#6b7280;padding:.5rem 1rem;text-align:right;}
