/* Static chart furniture; data paths reveal by traveled arc length. */
.cinema-scene.cinema-current [data-trace-pen],.cinema-scene.cinema-exiting [data-trace-pen]{animation:trace-path 2.05s linear calc(6.15s + var(--trace-lag,0s)) both}
.macro-output.is-plotting [data-trace-pen]{animation:trace-path 1.25s linear var(--trace-lag,0s) both}
@keyframes trace-path{0%{opacity:0;stroke-dashoffset:1}0.5%{opacity:1;stroke-dashoffset:.995}99.5%{opacity:1;stroke-dashoffset:.005}100%{opacity:1;stroke-dashoffset:0;stroke-linecap:round}}
.cinema-scene.cinema-current [data-trace-end],.cinema-scene.cinema-exiting [data-trace-end]{animation:trace-end .24s ease-out 8.45s both}
@keyframes trace-end{from{opacity:0}to{opacity:1}}
[data-trace-range]{transform-box:fill-box}
[data-trace-range="near"]{transform-origin:right center}
[data-trace-range="far"]{transform-origin:left center}
.cinema-scene.cinema-current [data-trace-range],.cinema-scene.cinema-exiting [data-trace-range]{animation:trace-range 1.7s cubic-bezier(.2,.7,.25,1) 6.15s both}
@keyframes trace-range{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html[data-motion=paused] [data-trace-pen],html[data-motion=paused] [data-trace-end],html[data-motion=paused] [data-trace-range]{animation:none!important}
@media(prefers-reduced-motion:reduce){[data-trace-pen],[data-trace-end],[data-trace-range]{animation:none!important}}

/* Show threshold interval after the data paths have finished drawing. */
.cinema-scene.cinema-current .zemax-depth-range,.cinema-scene.cinema-exiting .zemax-depth-range{animation:zemax-range-reveal .32s ease-out 8.45s both}
.macro-output.is-plotting .zemax-depth-range{animation:zemax-range-reveal .16s ease-out 1.32s both}
@keyframes zemax-range-reveal{from{opacity:0}to{opacity:1}}
html[data-motion=paused] .zemax-depth-range{animation:none!important}
@media(prefers-reduced-motion:reduce){.zemax-depth-range{animation:none!important}}
