/* Preserve supplied full application views inside the existing device frames. */
.laptop .screen img[src^="guides-media/"]{object-fit:contain!important;object-position:center;width:100%;height:100%}
#lap-comparison-gallery .screen{aspect-ratio:3420/2146}
#lap-comparison-gallery .gpanel>a{display:block;width:100%;height:100%}
#lap-comparison-gallery .gpanel img{display:block;object-fit:contain}

/* A full app capture determines the device screen height; no crop or letterboxing. */
.laptop .screen.full-capture{aspect-ratio:auto}
.laptop .screen.full-capture>img{position:static;inset:auto;width:100%;height:auto;display:block}

/* Mixed galleries keep their original layout for older media; fit the active full capture. */
.laptop .screen:has(>.g-img.on[src^="guides-media/"]){aspect-ratio:3420/2146}
