/* Browser worksheet printing: one black-and-white image, A4, half-inch margins. */
@page{size:A4;margin:.5in}
@media print{
 html:has(body.gallery-printing),body.gallery-printing{width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;display:block!important}
 body.gallery-printing>:not(#gallery-print-stage){display:none!important}
 body.gallery-printing>#gallery-print-stage{display:flex!important;width:calc(210mm - 1in)!important;height:calc(297mm - 1in - 1px)!important;min-height:0!important;margin:0!important;padding:0!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;border:0!important;box-shadow:none!important;break-inside:avoid!important;break-after:auto!important;page-break-after:auto!important}
 #gallery-print-stage>img.gallery-print-image{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;filter:grayscale(1)!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important}
 .topbar,.footer,.site-new-week,.collection-filters,.gallery-maker-banner,.gallery-related,button,.holiday-actions,.shape-sheet-action{display:none!important}
}
@media screen{#gallery-print-stage{display:none!important}}
