.jet-env-ai, .jet-env-ai * { box-sizing: border-box; }
.jet-env-ai { font-family: inherit; color: #0f172a; z-index: 999999; }
.jet-env-ai-floating { position: fixed; right: 20px; bottom: 20px; }
.jet-env-ai-inline { width: 100%; max-width: 760px; margin: 24px auto; position: relative; }
.jet-env-ai-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--jet-ai-primary,#0f172a); color: #fff; border: 2px solid var(--jet-ai-accent,#d7a93b); border-radius: 999px; padding: 13px 18px; font-weight: 800; cursor: pointer; box-shadow: 0 15px 35px rgba(15,23,42,.22); }
.jet-env-ai-dot { width: 10px; height: 10px; background: var(--jet-ai-accent,#d7a93b); border-radius: 999px; box-shadow: 0 0 0 5px rgba(215,169,59,.18); }
.jet-env-ai-panel { width: 380px; max-width: calc(100vw - 28px); background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 70px rgba(15,23,42,.28); margin-bottom: 12px; }
.jet-env-ai-inline .jet-env-ai-panel { width: 100%; max-width: 760px; display: block !important; margin: 0; box-shadow: 0 15px 35px rgba(15,23,42,.12); }
.jet-env-ai-inline .jet-env-ai-toggle { display: none; }
.jet-env-ai-header { background: var(--jet-ai-primary,#0f172a); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 4px solid var(--jet-ai-accent,#d7a93b); }
.jet-env-ai-header strong { display: block; font-size: 16px; }
.jet-env-ai-header span { display: block; font-size: 12px; opacity: .82; margin-top: 2px; }
.jet-env-ai-close { background: transparent; color: #fff; border: 0; font-size: 28px; line-height: 1; cursor: pointer; padding: 2px 5px; }
.jet-env-ai-messages { padding: 16px; height: 330px; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 12px; }
.jet-env-ai-inline .jet-env-ai-messages { height: 380px; }
.jet-env-ai-msg { max-width: 90%; border-radius: 18px; padding: 11px 13px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.jet-env-ai-msg.bot { background: #fff; border: 1px solid #e2e8f0; align-self: flex-start; }
.jet-env-ai-msg.user { background: var(--jet-ai-primary,#0f172a); color: #fff; align-self: flex-end; }
.jet-env-ai-msg.error { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.jet-env-ai-form { display: flex; gap: 10px; padding: 12px; background: #fff; border-top: 1px solid #e2e8f0; align-items: end; }
.jet-env-ai-input { flex: 1; min-height: 48px; max-height: 110px; resize: vertical; border: 1px solid #cbd5e1; border-radius: 14px; padding: 11px 12px; font: inherit; }
.jet-env-ai-send { background: var(--jet-ai-accent,#d7a93b); color: #0f172a; border: 0; border-radius: 14px; padding: 12px 15px; font-weight: 900; cursor: pointer; }
.jet-env-ai-send[disabled] { opacity: .62; cursor: wait; }
.jet-env-ai-disclaimer { margin: 0; padding: 10px 14px 14px; font-size: 11px; line-height: 1.35; color: #64748b; background: #fff; }
.jet-env-ai-sources { margin-top: 8px; font-size: 12px; color: #475569; }
.jet-env-ai-sources a { color: inherit; text-decoration: underline; }
@media (max-width: 520px) { .jet-env-ai-floating { left: 14px; right: 14px; bottom: 14px; } .jet-env-ai-panel { width: 100%; } .jet-env-ai-toggle { width: 100%; justify-content: center; } .jet-env-ai-messages { height: 300px; } }
