#detail .ai-flow { position: absolute; inset: 0; color: var(--diagram-ink); }
#detail[data-feature="experiments"] { align-items: center; }
#detail[data-feature="experiments"] .shot-viewport { aspect-ratio: 900 / 480; }
.ai-flow > svg { display: block; width: 100%; height: 100%; font-family: var(--sans); }
.ai-flow .ai-mobile { display: none; --illustration-play-state: paused; }
.ai-flow .ai-label { fill: var(--diagram-muted); font: 11px var(--mono); letter-spacing: .08em; }
.ai-flow .ai-copy { fill: var(--diagram-ink); }
.ai-flow .ai-muted { fill: var(--diagram-muted); }
.ai-flow .ai-name { fill: var(--diagram-ink); font: 500 25px var(--sans); }
.ai-flow .ai-module-name { font-size: 23px; }
.ai-flow .ai-task { font-size: 22px; }
.ai-flow .ai-module-icon { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ai-flow .ai-connections { opacity: .7; }
.ai-signals use { stroke-dasharray: 8 112; stroke-dashoffset: 8; opacity: 0;
  animation: illustration-signal 9s linear infinite; animation-play-state: var(--illustration-play-state, paused); }
.ai-signals use:nth-child(1) { animation-delay: .15s; }
.ai-signals use:nth-child(2) { animation-delay: 1.95s; }
.ai-signals use:nth-child(3) { animation-delay: 3.75s; }
.ai-signals use:nth-child(4) { animation-delay: 5.55s; }
.ai-signals use:nth-child(5) { animation-delay: 1.05s; }
.ai-signals use:nth-child(6) { animation-delay: 2.85s; }
.ai-signals use:nth-child(7) { animation-delay: 4.65s; }
.ai-signals use:nth-child(8) { animation-delay: 6.45s; }
@media (max-width: 980px) {
  #detail[data-feature="experiments"] .shot-viewport { aspect-ratio: 420 / 240; }
  .ai-flow .ai-desktop { display: none; --illustration-play-state: paused; }
  .ai-flow .ai-mobile { display: block; --illustration-play-state: inherit; }
}
@media (prefers-reduced-motion: reduce) { .ai-signals use { animation: none; } }
