:root {
  --jeeves-accent: #00d4b8;
}
#jeeves-chatbot-root, .jeeves-chatbot-inline {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.jeeves-bubble {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--jeeves-accent); color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.25); z-index: 999999; border: none;
}
.jeeves-bubble svg { width: 26px; height: 26px; fill: #fff; }
.jeeves-panel {
  position: fixed; right: 20px; bottom: 88px; width: 340px; max-width: calc(100vw - 32px);
  height: 460px; max-height: calc(100vh - 140px); background: #fff; border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25); display: none; flex-direction: column; overflow: hidden;
  z-index: 999999;
}
.jeeves-panel.jeeves-open { display: flex; }
.jeeves-chatbot-inline .jeeves-panel {
  position: static; display: flex; width: 100%; max-width: 480px; height: 520px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12); border: 1px solid #e5e7eb;
}
.jeeves-header {
  background: var(--jeeves-accent); color: #fff; padding: 12px 14px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.jeeves-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; line-height: 1; }
.jeeves-messages {
  flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px;
  background: #f8f9fb;
}
.jeeves-msg {
  max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4;
  white-space: pre-wrap; word-wrap: break-word;
}
.jeeves-msg.user { align-self: flex-end; background: var(--jeeves-accent); color: #fff; border-bottom-right-radius: 2px; }
.jeeves-msg.assistant { align-self: flex-start; background: #fff; color: #111; border: 1px solid #e5e7eb; border-bottom-left-radius: 2px; }
.jeeves-msg.error { align-self: center; background: #fee2e2; color: #991b1b; font-size: 12px; }
.jeeves-typing { align-self: flex-start; font-size: 12px; color: #888; padding: 0 4px; }
.jeeves-inputbar { display: flex; border-top: 1px solid #e5e7eb; padding: 8px; gap: 6px; }
.jeeves-input { flex: 1; border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 14px; resize: none; font-family: inherit; }
.jeeves-send { background: var(--jeeves-accent); color: #fff; border: none; border-radius: 8px; padding: 0 14px; cursor: pointer; font-size: 14px; }
.jeeves-send:disabled { opacity: 0.5; cursor: default; }
