/* 6.0.9: square product example, same spacing as spelling. */
.km-actual-category:not(.km-spelling-category)>img{aspect-ratio:1;object-fit:contain;top:23%}
/* Bound the full portrait page within the demo frame; avoid intrinsic grid overflow. */
.km53-demo-paper{grid-template-rows:minmax(0,1fr)}
.km53-demo-paper img{height:330px;width:auto;max-height:100%;max-width:100%;min-height:0;object-fit:contain}
@media(max-width:600px){.km53-demo-paper img{height:260px}}
