.cbmh-wrapper {
  max-width: 720px;
  margin: 12px auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  border: 1px solid #e6e6e6;
}

.cbmh-header {
  background: linear-gradient(90deg,#6ee7b7,#3b82f6);
  color: white;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.05rem;
}

.cbmh-messages {
  padding: 16px;
  min-height: 160px;
  max-height: 360px;
  overflow-y: auto;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbmh-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
  line-height: 1.35;
}

.cbmh-user {
  background: linear-gradient(90deg,#efefef,#ffffff);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.cbmh-bot {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.cbmh-bubble-inner {
  white-space: pre-wrap;
  word-break: break-word;
}

.cbmh-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: white;
  align-items: center;
}

.cbmh-input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e6e6e9;
  resize: none;
  font-family: inherit;
  min-height: 40px;
  max-height: 120px;
}

.cbmh-send {
  background: linear-gradient(90deg,#10b981,#3b82f6);
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
