#aexo-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(99,102,241,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; transition: transform .2s;
}
#aexo-fab:hover { transform: scale(1.08); }

#aexo-panel {
  position: fixed; bottom: 88px; right: 24px; z-index: 9999;
  width: 360px; height: 560px; border-radius: 16px; overflow: hidden;
  display: none; flex-direction: column;
  background: #0f172a; box-shadow: 0 8px 40px rgba(0,0,0,.45);
  border: 1px solid #1e293b;
}
#aexo-panel.open { display: flex; }

#aexo-header {
  padding: 12px 16px; background: #1e293b;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #334155;
}
.aexo-hinfo { display: flex; align-items: center; gap: 10px; }
.aexo-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.aexo-title  { font-size: 14px; font-weight: 700; color: #e2e8f0; }
.aexo-status { font-size: 10px; color: #22c55e; }
#aexo-close  { background: none; border: none; color: #64748b; cursor: pointer; font-size: 18px; line-height: 1; }

#aexo-messages {
  flex: 1; overflow-y: auto; padding: 14px 14px 8px;
  display: flex; flex-direction: column; gap: 10px;
}
#aexo-messages::-webkit-scrollbar { width: 4px; }
#aexo-messages::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }

.msg       { display: flex; }
.msg.user  { justify-content: flex-end; }
.msg-bubble {
  max-width: 82%; padding: 9px 12px; border-radius: 12px;
  font-size: 12.5px; line-height: 1.6; word-break: break-word;
}
.msg.user .msg-bubble { background: linear-gradient(135deg,#6366f1,#3b82f6); color: #fff; border-radius: 12px 12px 3px 12px; }
.msg.bot  .msg-bubble { background: #1e293b; color: #e2e8f0; border-radius: 12px 12px 12px 3px; }

#aexo-chips { padding: 6px 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: #1e293b; border: 1px solid #334155; border-radius: 20px;
  padding: 5px 11px; font-size: 11px; color: #94a3b8; cursor: pointer; transition: background .15s;
}
.chip:hover { background: #334155; color: #e2e8f0; }

#aexo-inputbar {
  padding: 10px 12px; border-top: 1px solid #1e293b;
  display: flex; gap: 8px; align-items: flex-end;
}
#aexo-input {
  flex: 1; background: #1e293b; border: 1px solid #334155; border-radius: 10px;
  padding: 8px 11px; color: #e2e8f0; font-size: 12.5px; outline: none; resize: none;
  max-height: 80px; font-family: inherit; line-height: 1.45;
}
#aexo-input::placeholder { color: #475569; }
#aexo-send {
  background: linear-gradient(135deg, #6366f1, #3b82f6); border: none;
  border-radius: 9px; padding: 8px 13px; color: #fff; font-size: 13px;
  cursor: pointer; flex-shrink: 0;
}
#aexo-send:disabled { opacity: .45; cursor: default; }
