/* Keep every overlay in the coordinate system of the original figure. */
.teaser-stage{position:relative;isolation:isolate;container-type:inline-size}
.teaser-stage>picture{display:block}
.teaser-stage>picture img{width:100%;height:auto}
.teaser-stage>.teaser-interactive-base{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.teaser-stage.has-interactive-noise>.teaser-interactive-base{display:block}
.teaser-diagram{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.teaser-stage.has-interactive-noise .teaser-diagram{display:block}
.teaser-window{position:absolute;left:calc(var(--x)*.0625%);top:calc(var(--y)*.161956522%);width:calc(var(--w)*.0625%);height:calc(var(--h)*.161956522%);overflow:hidden;background:#fff;border:clamp(1px,.3cqw,4px) solid #a3abb6;border-radius:12%/18%}
.teaser-window video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:43% center;pointer-events:none}
.teaser-branch{border-color:#fac9ab}
.teaser-after{border-color:#768394}
.teaser-execution{border:clamp(1px,.19cqw,3px) solid #79a6c9;border-radius:6%/11%}
.teaser-stage:not(.has-interactive-noise) .teaser-execution{visibility:hidden}
.teaser-execution video{object-position:center 60%}
.teaser-stage video[data-mode]{opacity:0;visibility:hidden;transition:opacity .4s ease,visibility 0s linear .4s}
.teaser-stage[data-teaser-mode="1"] video[data-mode="1"],.teaser-stage[data-teaser-mode="2"] video[data-mode="2"]{opacity:1;visibility:visible;transition-delay:0s}
.teaser-mode-controls{position:absolute;left:5%;top:5%;display:inline-flex;gap:clamp(1px,.12cqw,2px);max-width:90%;padding:clamp(1px,.18cqw,3px);border:1px solid #ffffffc7;border-radius:999px;background:#fffffff0;box-shadow:0 1px 6px #152d381c;z-index:2}
.teaser-mode-controls button{appearance:none;min-width:0;padding:.14em .6em;border:0;border-radius:999px;background:transparent;font-family:Arial,sans-serif;font-size:clamp(4px,.92cqw,12px);font-weight:600;line-height:1.5;white-space:nowrap;color:#53677a;cursor:pointer;transition:background-color .25s ease,color .25s ease}
.teaser-mode-controls button:hover{background:#e8eeee}
.teaser-mode-controls button[aria-pressed="true"][data-select-mode="1"]{background:#3f8985;color:#fff}
.teaser-mode-controls button[aria-pressed="true"][data-select-mode="2"]{background:#5d86ab;color:#fff}
.teaser-mode-controls button:focus-visible{outline:2px solid #354e65;outline-offset:2px}
.teaser-source-slider{pointer-events:all;touch-action:none;cursor:grab;outline:none}
.teaser-source-slider.is-dragging{cursor:grabbing}
.teaser-source-slider:focus-visible{outline:none}
.teaser-source-slider [data-noise-strength-indicator]{stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 2px #62798c30)}
.teaser-source-slider:focus-visible [data-noise-strength-indicator]{stroke:#45566e;stroke-width:3}
@media(prefers-reduced-motion:reduce){.teaser-stage:not(.has-interactive-noise) .teaser-window{display:none}.teaser-stage video[data-mode],.teaser-mode-controls button{transition:none}}
