/* Simple Prospect chat widget styles — matches the landing page palette
   (navy #1b1d3a on white). Loaded only where the snippet is included. */
.sp-chat-launcher[hidden], .sp-chat-panel[hidden] { display: none !important; }
.sp-chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: #1b1d3a; box-shadow: 0 6px 20px rgba(27, 29, 58, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.sp-chat-launcher:hover { background: #262a52; }
.sp-chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999;
  width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(27, 29, 58, 0.3);
  display: flex; flex-direction: column; overflow: hidden;
  font-family: inherit; color: #1b1d3a;
}
.sp-chat-header {
  background: #1b1d3a; color: #fff; padding: 12px 14px;
  display: flex; align-items: center; gap: 8px;
}
.sp-chat-titlewrap { flex: 1; min-width: 0; }
.sp-chat-title { font-weight: 700; font-size: 15px; }
.sp-chat-subtitle { font-size: 11.5px; opacity: 0.75; }
.sp-chat-headbtn {
  background: rgba(255, 255, 255, 0.12); color: #fff; border: none; cursor: pointer;
  border-radius: 8px; padding: 6px 9px; font-size: 12px; white-space: nowrap;
}
.sp-chat-headbtn:hover { background: rgba(255, 255, 255, 0.22); }
.sp-chat-prepared { padding: 10px 12px 2px; }
.sp-chat-prepared-label { font-size: 11.5px; color: #5a5e85; margin-bottom: 6px; }
.sp-chat-chip {
  display: inline-block; margin: 0 6px 6px 0; padding: 6px 10px; cursor: pointer;
  border: 1px solid #d9dbec; border-radius: 999px; background: #f8f8fc;
  font-size: 12.5px; color: #1b1d3a;
}
.sp-chat-chip:hover { background: #eef0fa; }
.sp-chat-messages { flex: 1; overflow-y: auto; padding: 12px; }
.sp-chat-msg { margin-bottom: 10px; display: flex; flex-direction: column; }
.sp-chat-msg-user { align-items: flex-end; }
.sp-chat-msg-assistant { align-items: flex-start; }
.sp-chat-bubble {
  max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: 14px;
  line-height: 1.45; white-space: pre-wrap; word-break: break-word;
}
.sp-chat-msg-user .sp-chat-bubble { background: #1b1d3a; color: #fff; border-bottom-right-radius: 4px; }
.sp-chat-msg-assistant .sp-chat-bubble { background: #f1f2f9; color: #1b1d3a; border-bottom-left-radius: 4px; }
.sp-chat-cites { font-size: 11px; color: #5a5e85; margin-top: 3px; }
.sp-chat-privacy { padding: 0 12px 6px; }
.sp-chat-privacybtn { background: none; border: none; cursor: pointer; color: #5a5e85; font-size: 12px; padding: 2px 0; text-decoration: underline; }
.sp-chat-privacybody { font-size: 12px; color: #44476e; line-height: 1.5; padding: 4px 0 2px; }
.sp-chat-composer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e6e7f2; }
.sp-chat-input {
  flex: 1; resize: none; border: 1px solid #d9dbec; border-radius: 10px;
  padding: 9px 10px; font: inherit; font-size: 14px; max-height: 90px;
}
.sp-chat-input:focus { outline: 2px solid #1b1d3a33; border-color: #1b1d3a; }
.sp-chat-send {
  background: #1b1d3a; color: #fff; border: none; border-radius: 10px;
  padding: 0 16px; cursor: pointer; font-size: 14px;
}
.sp-chat-send:disabled { opacity: 0.45; cursor: default; }
@media (max-width: 480px) {
  .sp-chat-panel { right: 12px; left: 12px; bottom: 12px; width: auto; height: calc(100vh - 24px); }
  .sp-chat-launcher { right: 16px; bottom: 16px; }
}
