@media print {
 /* Ordinary contracts already assign mesProcessingContract to each measured
    contract-sheet. Other main forms need an explicit page when attachments
    make the document's default physical sheet landscape. */
 body[data-mes-landscape-attachments] #paper:not(.processing-contract-paper),
 body[data-mes-landscape-attachments] #paper.sales-contract-paper,
 body[data-mes-landscape-attachments] #paper:has(.ble-cl-plan) {
  page:mesMainDocument;
 }
}
