@media screen { .template-sheets { display: none; } }
#homework-tracking { white-space: pre; overflow-x: auto; }
.tutor-template-page .template-downloads { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.75rem; }
@page { size: A4 portrait; margin: 15mm; }
@media print {
  body:has(.tutor-template-page) > :not(main), .tutor-template-page .screen-content { display: none !important; }
  html, body, main, .tutor-template-page { background: #fff !important; color: #000 !important; margin: 0 !important; padding: 0 !important; }
  .tutor-template-page { max-width: none; width: auto; }
  .template-sheets { display: block; }
  .template-sheet { font-size: 11pt; color: #000; }
  .template-sheet + .template-sheet { break-before: page; }
  .template-sheet h2 { margin: 0 0 6mm; font-size: 20pt; }
  .template-sheet .writing-line { min-height: 13mm; border-bottom: 0.2mm solid #555; margin: 2mm 0; }
  .template-sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 6mm 0; }
  .template-sheet :is(th,td) { border: 0.2mm solid #555; padding: 2mm; overflow-wrap: anywhere; text-align: left; }
  .template-sheet tbody tr { height: 20mm; }
  .template-sheet .template-signature { font-size: 8pt; margin-top: 6mm; }
}
