.au-thinking-indicator {
  align-items: center;
  color: var(--au-fg-muted);
  display: inline-flex;
  font-size: 12px;
  gap: 8px;
}

.au-thinking-indicator__label {
  color: var(--au-fg-muted);
  font-family: var(--au-font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.au-thinking-indicator[hidden] {
  display: none;
}

.au-thinking-indicator__dots {
  display: inline-flex;
  gap: 4px;
}

.au-thinking-indicator__dots span {
  animation: au-thinking-pulse 1.2s var(--au-ease) infinite;
  background: var(--au-action);
  border-radius: 50%;
  height: 4px;
  opacity: 0.45;
  width: 4px;
}

.au-thinking-indicator__dots span:nth-child(2) {
  animation-delay: 120ms;
}

.au-thinking-indicator__dots span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes au-thinking-pulse {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .au-thinking-indicator__dots span {
    animation: none;
    opacity: 0.8;
  }
}
