@media print {
  @page { size: A4; margin: 12mm; }
  header, footer, #term-filter, label[for="term-filter"], #term-count { display: none !important; }
  body { background: white !important; color: black !important; font-size: 10.5pt; }
  main { max-width: none; padding: 0; margin: 0; }
  .tw, main table { overflow: visible !important; max-width: 100% !important; }
  main table { display: table !important; width: 100% !important; min-width: 0 !important; table-layout: fixed; }
  main th, main td { min-width: 0 !important; overflow-wrap: anywhere; padding: .3rem; color: black !important; }
  main h1, main h2, main h3, main h4, a { color: black !important; }
  tr { break-inside: avoid; }
  h1, h2, h3, h4 { break-after: avoid; }
  rt { color: #333 !important; }
}
