.arya-chat-wrap { font-family: system-ui, -apple-system, sans-serif; font-size: 14px; line-height: 1.5; }
.arya-mode-popup { position: fixed; right: 22px; bottom: 22px; z-index: 99999; }
.arya-chat-launcher { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.18); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arya-mode-popup .arya-chat-window { display: none; width: 370px; max-width: calc(100vw - 32px); margin-bottom: 12px; }
.arya-mode-popup.is-open .arya-chat-window { display: flex; }
.arya-chat-window { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.12); }
.arya-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #0f172a; color: #fff; }
.arya-chat-dots { display: flex; gap: 5px; }
.arya-chat-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.arya-chat-dots span:nth-child(2) { background: #f59e0b; }
.arya-chat-dots span:nth-child(3) { background: #10b981; }
.arya-chat-header-actions { display: flex; align-items: center; gap: 6px; }
.arya-chat-clear, .arya-chat-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; opacity: 0.85; padding: 0 4px; }
.arya-chat-clear:hover, .arya-chat-close:hover { opacity: 1; }
.arya-chat-messages { height: 320px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.arya-msg { padding: 10px 14px; border-radius: 12px; max-width: 86%; word-wrap: break-word; }
.arya-msg a { color: inherit; text-decoration: underline; }
.arya-msg code { background: rgba(15,23,42,0.08); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.arya-msg-user { align-self: flex-end; background: #2563eb; color: #fff; white-space: pre-wrap; }
.arya-msg-assistant { align-self: flex-start; background: #fff; color: #0f172a; border: 1px solid #e2e8f0; }
.arya-msg-typing { opacity: 0.7; font-style: italic; }
.arya-chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e2e8f0; background: #fff; }
.arya-chat-input { flex: 1; border: 1px solid #cbd5e1; border-radius: 8px; padding: 8px 12px; }
.arya-chat-send { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-weight: 600; cursor: pointer; }
.arya-chat-gdpr { font-size: 11px; color: #64748b; text-align: center; padding: 4px 10px 8px; background: #fff; }

.arya-chat-launcher { padding: 0; overflow: hidden; }
.arya-chat-launcher img.arya-chat-mascot-img,
.arya-chat-launcher img { width: 38px !important; height: 38px !important; max-width: 100% !important; object-fit: cover; border-radius: 50%; display: block !important; opacity: 1 !important; visibility: visible !important; margin: 0 !important; }
.arya-chat-header-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.arya-chat-header-mascot { width: 28px !important; height: 28px !important; border-radius: 50%; object-fit: cover; background: #fff; padding: 2px; flex-shrink: 0; display: block !important; }
