  .alu-mcp-chatbot {
  border: 1px solid;
  border-radius: 8px;
  max-width: 760px;
  padding: 12px;
}

.alu-chatbot-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.alu-chatbot-messages {
  border: 1px solid;
  border-radius: 6px;
  min-height: 220px;
  max-height: 420px;
  overflow-y: auto;
  padding: 10px;
  margin-bottom: 10px;
}

.alu-chatbot-message {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: pre-wrap;
}

.alu-chatbot-message.user {
  opacity: 0.92;
}

.alu-chatbot-message.assistant {
  opacity: 0.88;
}

.alu-chatbot-message ul, .alu-chatbot-message ol {
  margin: 8px 0;
  padding-left: 24px;
}

.alu-chatbot-message li {
  margin-bottom: 4px;
}

.alu-chatbot-meta {
  font-size: 12px;
  margin-bottom: 10px;
}

.alu-chatbot-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.alu-chatbot-actions {
  display: flex;
  justify-content: flex-end;
}

.alu-chatbot-send {
  cursor: pointer;
}

.alu-chatbot-inline-refs {
  margin-top: 8px;
  font-size: 12px;
}

.alu-chatbot-inline-refs-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.alu-chatbot-ref-list {
  margin: 0;
  padding-left: 18px;
}

.alu-chatbot-ref-list li {
  margin-bottom: 2px;
}

.alu-chatbot-ref-summary {
  display: inline;
}

.alu-chatbot-ref-marker {
  position: relative;
  display: inline-block;
  font-weight: 600;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  color: #2271b1;
  cursor: help;
}

.alu-chatbot-ref-marker:hover,
.alu-chatbot-ref-marker:focus-visible {
  text-decoration: underline;
}

.alu-chatbot-ref-marker:hover::after,
.alu-chatbot-ref-marker:focus-visible::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 999;
  max-width: 420px;
  min-width: 180px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.alu-chatbot-inline-refs a {
  text-decoration: none;
}
