/* One runtime phase drives both the marker position and highlighted step. */
.flow[data-flow] .flow-node,.flow[data-flow] .flow-trace>span{animation:none!important}
.flow[data-flow] .flow-track{margin-top:8px;gap:6px}
.flow[data-flow] .flow-step{gap:7px}
.flow[data-flow] .flow-node{width:30px;height:30px;transition:background .15s,border-color .15s,box-shadow .15s}
.flow[data-flow] .flow-step.is-active .flow-node{background:#4f46e552;border-color:#c7d2fe;box-shadow:0 0 15px #6366f135;color:#fff}
.flow[data-flow] .flow-step.is-active>span:last-child{color:#e4e9ff}
.flow[data-flow] .flow-trace{position:relative;margin:12px 0 11px;height:3px;overflow:visible;border-radius:2px}
.flow[data-flow] .flow-marker{position:absolute;left:0;top:-2px;width:7px;height:7px;background:#c7d2fe;box-shadow:0 0 9px #a5b4fcaa;border-radius:50%;transform:translateX(-50%)}
.flow[data-flow] .flow-progress{position:absolute;left:0;top:0;height:100%;background:linear-gradient(90deg,#6366f1,#bfcaff);border-radius:inherit;box-shadow:0 0 7px #818cf855;transform:none}
.flow-scene{display:block;width:100%;height:64px;margin:10px 0 8px;fill:none;stroke:#53658d;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.flow-scene [data-scene-step]{transition:stroke .15s,opacity .15s;opacity:.65;fill:#152039}
.flow-scene [data-scene-step].is-active{stroke:#bfcaff;opacity:1;fill:#242c58}
.flow-scene .scene-solid{fill:currentColor;stroke:none;color:#8394c7}
.flow-scene .is-active .scene-solid{color:#bfcaff}
.flow-scene .scene-runner{fill:#c7d2fe;stroke:none}
.flow-scene .radar-sweep{stroke:#bfcaff}
.flow-small .flow-scene{height:48px;margin-block:7px}
.flow[data-flow] .flow-caption{font-size:8px;line-height:1.5}
.map-lines{pointer-events:none;overflow:visible}
.case-story.is-transitioning{overflow:hidden;box-sizing:border-box;will-change:height}
.case-story summary{touch-action:manipulation}
@media(prefers-reduced-motion:reduce){.flow[data-flow] .flow-node,.flow-scene [data-scene-step]{transition:none}.flow[data-flow] .flow-marker{display:none}}
