/* Printing a report or the archive: A4, no navigation, no admin chrome,
   tables that keep their rows together, and the figures kept in black. */
@page { size: A4; margin: 18mm 16mm; }
@media print {
  /* [rst-shell-bar], not [rst-shell-topbar]: the topbar wrapper is the
     whole page (layout.html nests main and the footer inside it too, to
     give the header its sticky positioning context), so hiding it here
     would blank the report along with the chrome. */
  [rst-shell-bar], [rst-shell-foot], .wft-admin-bar, .wft-footer,
  form, [rst-seg-tabs], .lic-holdings-pdf { display: none !important; }
  body, main { background: #fff !important; color: #000 !important; }
  main[rst-page] { max-width: none !important; padding: 0 !important; }
  table { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
  th, td { border-bottom: 0.5pt solid #999; padding: 3pt 4pt; }
  thead { display: table-header-group; }
  tr { break-inside: avoid; }
  h1, h2 { break-after: avoid; }
  section[rst-box] { border: 0; box-shadow: none; }
  a { color: #000; text-decoration: none; }
  .wft-num { text-align: right; }
}
