.gemts-chat-bubble {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.925rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.gemts-chat-user {
  margin-left: auto;
  background: #059669;
  color: #fff;
  border-bottom-right-radius: 0.2rem;
}
.gemts-chat-bot {
  margin-right: auto;
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 0.2rem;
}
.gemts-chat-meta {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}
.gemts-suggest-btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}
.gemts-suggest-btn:hover {
  border-color: #059669;
  color: #047857;
}
/* Floating widget */
#gemtsChatFab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9998;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: #047857;
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  font-size: 1.4rem;
  cursor: pointer;
}
#gemtsChatPanel {
  position: fixed;
  right: 1.25rem;
  bottom: 5rem;
  width: min(380px, calc(100vw - 2rem));
  height: min(480px, calc(100vh - 7rem));
  z-index: 9999;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
#gemtsChatPanel.open { display: flex; }
#gemtsChatPanel header {
  background: #0f172a;
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#gemtsChatPanel .msgs {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  background: #f8fafc;
}
#gemtsChatPanel form {
  display: flex;
  gap: 0.35rem;
  padding: 0.5rem;
  border-top: 1px solid #e2e8f0;
}
#gemtsChatPanel input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
}
#gemtsChatPanel button.send {
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}
