@media print {
  /* Hide all chrome; then reveal only the route sheet */
  body * { visibility: hidden; }
  #route-sheet-print,
  #route-sheet-print * { visibility: visible; }

  /* Pull the sheet to the top-left corner of the page */
  #route-sheet-print {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  /* Page setup */
  @page {
    margin: 1.5cm;
    size: A4 portrait;
  }

  body {
    font-family: Arial, sans-serif;
    font-size: 11pt;
    color: #000;
  }

  /* Show print-only elements */
  .print-only { display: table-cell !important; }

  /* Avoid page breaks inside rows */
  tr { page-break-inside: avoid; }
}

/* Screen: hide print-only columns */
.print-only { display: none; }
