@layer components{.streaming-text{min-width:0;color:var(--foreground);flex-direction:column;gap:.625rem;display:flex}.streaming-text-body{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.6em;line-height:1.6}.stream-word{animation:stream-word-in var(--stream-fade) var(--stream-ease) both;display:inline}.streaming-text:not([data-personality=linear]):not([data-personality=enterprise]) .stream-word:not(.stream-word-break){white-space:pre-wrap;display:inline-block}.stream-caret{vertical-align:text-bottom;background:var(--primary);border-radius:1px;width:.5em;height:1.1em;margin-left:1px;display:inline-block}[data-motion-running=true] .stream-caret{animation:stream-caret-blink var(--stream-caret) steps(2, jump-none) infinite}.streaming-text-status{color:var(--muted-foreground);align-items:center;gap:.5rem;margin:0;font-size:.8125rem;font-weight:500;display:inline-flex}.stream-status-dot{background:var(--muted-foreground);border-radius:999px;flex:none;width:.5rem;height:.5rem}.streaming-text-status[data-phase=streaming] .stream-status-dot{background:var(--primary)}[data-motion-running=true] .streaming-text-status[data-phase=streaming] .stream-status-dot{animation:stream-dot-pulse calc(var(--stream-caret) * 1.6) ease-in-out infinite}.streaming-text-status[data-phase=done] .stream-status-dot{background:var(--chart-2)}.streaming-text-status[data-phase=stopped] .stream-status-dot{background:var(--muted-foreground)}.streaming-text-status[data-phase=error]{color:var(--destructive)}.streaming-text-status[data-phase=error] .stream-status-dot{background:var(--destructive)}@keyframes stream-word-in{0%{opacity:0;transform:translateY(var(--stream-rise))}to{opacity:1;transform:none}}@keyframes stream-caret-blink{0%{opacity:1}to{opacity:.15}}@keyframes stream-dot-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.8)}}.streaming-text[data-motion-profile=none] *,.streaming-text[data-motion-profile=none] :before,.streaming-text[data-motion-profile=none] :after{transition:none!important;animation:none!important}.streaming-text[data-motion-profile=none] .stream-caret{opacity:.6}.streaming-text[data-motion-profile=none] .streaming-text-status{font-weight:600}@media (prefers-reduced-motion:reduce){.streaming-text *,.streaming-text :before,.streaming-text :after{animation:none!important}}}
