#test-subject { width:100%;height:100%;object-fit:cover;display:block }
#test-subject[hidden],#browserPrintSheet { display:none }
@media print {
  @page { size:100mm 150mm; margin:0 }
  body:has(> #browserPrintSheet) > * { display:none !important }
  body:has(> #browserPrintSheet) { margin:0; padding:0; background:#fff }
  body > #browserPrintSheet { display:block !important; width:100mm; height:150mm; margin:0; object-fit:contain }
}
