/* Product previews use a fixed design canvas. Only this wrapper scales;
   text, grids and animated cursor coordinates keep the same proportions. */
.rz-motion-scene[data-rz-canvas-width][data-rz-canvas-height]{
  position:relative;
  overflow:hidden;
  width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  padding:0;
  border:0;
  aspect-ratio:var(--rz-canvas-ratio);
  transform:none;
}
.rz-motion-canvas{
  position:absolute;
  top:0;
  left:0;
  width:var(--rz-canvas-width);
  height:var(--rz-canvas-height);
  container:rz-preview / inline-size;
  isolation:isolate;
  transform:scale(var(--rz-canvas-scale,1));
  transform-origin:top left;
  /* Responsive scaling is layout, never a pausable animation transition. */
  transition:none!important;
}
/* Keep decorative orbs behind the focused app after adding the canvas. */
.rz-story__images.is-motion .rz-motion-canvas>.rz-motion-scene__orb{display:none}
/* Shared page navigation must not wait for below-fold workspace styles. */
@media(min-width:1100px){.rz-product-nav{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* Countdown digits must not move the neighboring track title each second. */
.rz-motion-canvas .rz-live-countdown{
  min-width:6ch;
  font-variant-numeric:tabular-nums;
  text-align:right;
}
/* Reserve compact hero height before script measurement, including narrow desktop
   columns. This prevents the product navigation below a hero from jumping. */
.rz-feature-hero__visual,.rz-code-laptop__viewport,.rz-browser-shell__canvas,
.rz-story__images.is-motion,.rz-engage-demo,.rz-split__visual,.bc-workflow__visual,.bc-bento__visual{
  container-type:inline-size;
  container-name:rz-layout;
}
.rz-code-laptop__viewport:has([data-rz-zeus-preview]),
.rz-browser-shell__canvas:has([data-rz-zeus-preview]){height:auto;aspect-ratio:auto!important}
.rz-story__images.is-motion{display:block;padding:0;border:0;background:none;box-shadow:none}
@container rz-layout (max-width:719.98px){
  .rz-motion-scene[data-rz-zeus-preview]{
    height:calc(100cqw + var(--rz-motion-transport,0px))!important;
    aspect-ratio:auto!important;
  }
}
/* Keep the outer frame stable while an app camera zooms and pans inside it. */
.rz-motion-scene[data-rz-canvas-width][data-rz-canvas-height]{
  height:var(--rz-scene-height,auto)!important;
  aspect-ratio:var(--rz-canvas-ratio);
}
.rz-motion-canvas{
  left:50%;
  margin-left:calc(var(--rz-canvas-width) * var(--rz-canvas-scale,1) / -2);
}
