#mrobbieb-chatbot {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#mcb-fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-size: 22px;
  background: #111;
  color: #fff;
}

#mcb-panel {
  width: 360px;
  max-width: calc(100vw - 36px);
  height: 520px;
  max-height: calc(100vh - 36px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mcb-hidden { display: none !important; }

#mcb-header {
  padding: 12px 12px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mcb-title { font-weight: 700; font-size: 14px; }
.mcb-sub { font-size: 12px; opacity: 0.7; margin-top: 2px; }

#mcb-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.7;
}

#mcb-messages {
  padding: 12px;
  overflow: auto;
  flex: 1;
  background: rgba(0,0,0,0.02);
}

.mcb-msg {
  white-space: pre-wrap;
  line-height: 1.35;
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 13px;
}

.mcb-user {
  background: #111;
  color: #fff;
  margin-left: 40px;
}

.mcb-assistant {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  margin-right: 40px;
}

#mcb-footer {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

#mcb-input {
  flex: 1;
  resize: none;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 8px 10px;
  font-size: 13px;
}

#mcb-send {
  width: 72px;
  border-radius: 12px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#mcb-hint {
  padding: 8px 12px 12px 12px;
  font-size: 11px;
  opacity: 0.65;
}

