/* The existing viewport, mask and scroll fade retain ownership of geometry. */
.hero-planner-preview { overflow:hidden; }
.hero-planner-slide { position:absolute; inset:0; opacity:0; transition:opacity 1000ms ease-in-out; }
.hero-planner-slide.is-active { opacity:1; }
.hero-planner-raster,.hero-planner-dates { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; object-position:center top; }
/* Match the native raster coordinates; hide only the white export fringe. */
.hero-planner-raster { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1804' height='1268' viewBox='0 0 1804 1268'%3E%3Crect x='3' y='3' width='1798' height='1262' rx='54' fill='white'/%3E%3C/svg%3E"); mask-size:cover; mask-position:center top; mask-repeat:no-repeat; }
.hero-planner-dates { overflow:hidden; }
.hero-preview-controls { position:absolute; right:8px; top:8px; z-index:3; display:none; gap:6px; }
.hero-preview-controls[hidden] { display:none; }
.hero-preview-button { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:0; border-radius:50%; color:#267e78; background:rgba(255,255,255,.94); cursor:pointer; }
.hero-preview-button:hover { background:#fff; }
.hero-preview-button:focus-visible { outline:2px solid #267e78; outline-offset:3px; }
.hero-preview-button svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.hero-play-icon,[data-hero-pause][aria-pressed=true] .hero-pause-icon { display:none; }
[data-hero-pause][aria-pressed=true] .hero-play-icon { display:block; }
@media (prefers-reduced-motion:reduce) { .hero-planner-slide { transition:none; } }
