.assistant-label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 7px;
  background: #e5eee8;
  color: #426654;
  font-size: 9px;
  font-weight: 700;
}

.search-badge[data-status="searching"]::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #4f8068;
  animation: blink 1s infinite;
}

.search-badge[data-status="error"] {
  background: #f3e9df;
  color: #9a6549;
}

.web-searching .answer:empty::after {
  content: "正在联网检索并核对来源，可能需要约 30–60 秒…";
}

.source-link {
  color: #2f6f57;
  text-decoration: underline;
  text-decoration-color: #a7c3b3;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.answer-sources {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.answer-sources summary {
  width: fit-content;
  cursor: pointer;
  color: #365c48;
  padding: 4px 0;
}

.answer-sources ul {
  padding-left: 1.4em;
  margin: 5px 0;
}
