/* SPDX-License-Identifier: MIT */
/* LoadingDots · Motion micro. Three dots that wave while something short is happening, like an agent thinking. Announced once, still for reduced motion. Tokens only. */
.ld { --ld: var(--size-dot); display: inline-flex; align-items: center; gap: var(--space-2-5); color: var(--color-text-muted); font: var(--weight-medium) var(--text-sm)/var(--leading-none) var(--font-sans); }
.ld[data-fr-size="sm"] { --ld: var(--size-dot-sm); }
.ld[data-fr-size="lg"] { --ld: var(--space-3); }
.ld__dots { display: inline-flex; align-items: center; gap: calc(var(--ld) * 0.6); height: calc(var(--ld) * 3); }
.ld__dots i { width: var(--ld); height: var(--ld); border-radius: var(--radius-full); background: var(--color-accent); animation: ld-wave var(--duration-loop) var(--ease-in-out) infinite; }
.ld__dots i:nth-child(2) { animation-delay: calc(var(--duration-loop) * 0.15); }
.ld__dots i:nth-child(3) { animation-delay: calc(var(--duration-loop) * 0.3); }
@keyframes ld-wave { 0%, 60%, 100% { transform: translateY(0); opacity: 0.45; } 30% { transform: translateY(calc(var(--ld) * -0.9)); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ld__dots i { animation: none; opacity: 0.8; } }
