.ora-chatbot { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.ora-chatbot.is-floating { position: fixed; right: 18px; bottom: 18px; z-index: 9999; }
.ora-chatbot-launch { border: 1px solid rgba(0,0,0,.2); background: #fff; padding: 10px 14px; border-radius: 999px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.ora-chatbot-panel { width: 340px; height: 420px; margin-top: 10px; border: 1px solid rgba(0,0,0,.15); background: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.18); display: none; overflow: hidden; }
.ora-chatbot.is-open .ora-chatbot-panel { display: flex; flex-direction: column; }
.ora-chatbot-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,.08); }
.ora-chatbot-title { font-weight: 600; }
.ora-chatbot-header-actions { display: flex; align-items: center; gap: 6px; }
.ora-chatbot-reset { border: 0; background: transparent; color: #666; padding: 3px 5px; font-size: 12px; text-decoration: underline; cursor: pointer; }
.ora-chatbot-reset:hover { color: #222; }
.ora-chatbot-close { border: none; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.ora-chatbot-log { flex: 1; overflow-y: auto; padding: 10px 10px 6px; }
.ora-chatbot-msg { max-width: 85%; padding: 8px 10px; border-radius: 12px; margin: 6px 0; color: rgba(0,0,0,.9); border: 1px solid rgba(0,0,0,.08); font-size: 14px; line-height: 1.35; overflow-wrap: break-word; white-space: pre-line; }
.ora-chatbot-msg.user { margin-left: auto; }
.ora-chatbot-msg.bot { background-color: var(--ora_grey_backgroundlight, #f5f5f5); margin-right: auto; }
.ora-chatbot-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(0,0,0,.08); }
.ora-chatbot-text { flex: 1; min-width: 0; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; padding: 8px 10px; outline: none; }
.ora-chatbot-send { border: 1px solid rgba(0,0,0,.2); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.ora-chatbot.is-busy .ora-chatbot-send { opacity: .6; cursor: default; }
.ora-chatbot-message.typing { display: inline-flex; gap: 4px; padding: 10px 14px; border-radius: 16px; background: #f1f1f1; width: fit-content; }
.ora-chatbot-msg a:not(.btn) { color: var(--ora_blu, #1769aa); }
.ora-chatbot-msg a:not(.btn):hover { color: var(--ora_grey_text, #555); }
.ora-chatbot-message.typing .dot { width: 6px; height: 6px; background-color: #666; border-radius: 50%; animation: ora-chatbot-typing 1.4s infinite ease-in-out; }
.ora-chatbot-message.typing .dot:nth-child(2) { animation-delay: .2s; }
.ora-chatbot-message.typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes ora-chatbot-typing { 0% { opacity: .2; transform: translateY(0); } 20% { opacity: 1; transform: translateY(-2px); } 100% { opacity: .2; transform: translateY(0); } }
@media (max-width: 420px) { .ora-chatbot.is-floating { right: 10px; bottom: 10px; left: 10px; } .ora-chatbot-panel { width: 100%; max-height: calc(100vh - 90px); } }
