#wcsa-assistant-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  font-family: inherit;
}

/* Toggle button */
#wcsa-assistant-root .wcsa-toggle {
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-size: 13px;
}

/* Panel */
#wcsa-assistant-root .wcsa-panel {
  width: 320px;
  max-width: calc(100vw - 40px);
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
}

/* Messages container */
#wcsa-assistant-root .wcsa-messages {
  height: 220px;
  overflow: auto;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 10px;

  /* 🔑 Chat typography baseline */
  font-size: 12.5px;
  line-height: 1.35;
}

/* Form */
#wcsa-assistant-root .wcsa-form {
  display: flex;
  gap: 8px;
}

/* Input */
#wcsa-assistant-root .wcsa-input {
  flex: 1;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  font-size: 12.5px;
}

/* Send button */
#wcsa-assistant-root .wcsa-send {
  padding: 7px 10px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-size: 12.5px;
}

/* Message bubble base */
#wcsa-assistant-root .wcsa-msg {
  padding: 7px 9px;
  border-radius: 10px;
  margin: 6px 0;
  white-space: pre-wrap;

  font-size: inherit;
  line-height: inherit;
}

/* User message */
#wcsa-assistant-root .wcsa-msg--user {
  background: rgba(0,0,0,.06);
}

/* Assistant message */
#wcsa-assistant-root .wcsa-msg--assistant {
  background: rgba(0,120,255,.10);
}

/* System / Privacy notice */
#wcsa-assistant-root .wcsa-msg--system {
  background: rgba(0,0,0,.04);
  border: 1px dashed rgba(0,0,0,.18);
  padding: 6px 8px;
  font-size: 11.5px;
  line-height: 1.3;
  opacity: 0.9;
}
