/* Outer canvases are full width; content components own their reading measures. */
.phase2-native-main {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* The 4:3 media determines the desktop hero height; viewport min-height must not enlarge it. */
#typewriterWorkshop #view-home.cw-home-v2 > .cw-home-hero {
  min-height: 0;
}

#typewriterWorkshop #view-home.cw-home-v2 > .cw-home-hero > .cw-home-product-stage[data-cw-home-video][data-cw-home-video-aspect="4x3"] {
  align-self: center;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

#typewriterWorkshop #view-home.cw-home-v2 > .cw-home-hero > .cw-home-product-stage[data-cw-home-video] :where(.cw-home-product-video, .cw-home-product-poster) {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Product artwork stays fully visible in Ready, PDP, Community and editor surfaces. */
:where(
  .ready-stage-frame,
  #view-result .result-image-card,
  .board-card,
  #referencePhotos .thumb
) > :is(img, video, canvas) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
