.ai-notice {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0a33a;
  box-shadow: 0 0 0 4px #e0a33a1f;
  flex: 0 0 auto;
}

.ai-notice.connected .status-dot {
  background: #19a974;
  box-shadow: 0 0 0 4px #19a9741f;
}

.ai-notice.fallback .status-dot {
  background: #8aa1ad;
  box-shadow: 0 0 0 4px #8aa1ad1f;
}

.answer.loading {
  color: #6f8793;
}

.answer.loading::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 4px;
  margin-left: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #019cc3 0 33%, #7ac9db 33% 66%, #c4e3eb 66%);
  animation: thinking 1s infinite alternate;
}

@keyframes thinking {
  to { opacity: .35; transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .answer.loading::after { animation: none; }
}
