@media print {
  @page {
    size: letter portrait;
    margin: 0.6in 0.55in;
  }

  html, body {
    background: #fff !important;
    color: #000 !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
  }

  .layout {
    display: block !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .toc,
  .footer .screen-only {
    display: none !important;
  }

  .content { max-width: 100% !important; }

  .masthead {
    padding-bottom: 16pt;
    margin-bottom: 22pt;
    border-bottom: 0.5pt solid #999 !important;
  }

  .masthead h1 {
    font-size: 26pt !important;
    line-height: 1.1 !important;
  }

  section {
    padding-top: 18pt;
    margin-top: 18pt;
    border-top: 0.5pt solid #bbb !important;
    page-break-inside: avoid;
  }

  section:first-of-type { page-break-before: avoid; }
  section { page-break-before: auto; }

  h2.section-head {
    font-size: 9pt !important;
    border-bottom: 0.5pt solid #bbb !important;
    color: #000 !important;
  }

  h2.section-head .num { color: #555 !important; }

  h3 { font-size: 11.5pt !important; page-break-after: avoid; }

  figure, .finding, .stats, .table, pre {
    page-break-inside: avoid !important;
  }

  figure img {
    max-width: 100% !important;
    border: 0.5pt solid #ccc !important;
  }

  figcaption { color: #444 !important; }

  a {
    color: inherit !important;
    border-bottom: none !important;
  }

  code, pre {
    background: #f5f5f5 !important;
    border: 0.5pt solid #ccc !important;
  }

  .toc-label, .stats .stat .label, .table th {
    color: #444 !important;
  }

  .finding .num { color: #444 !important; }

  .footer { border-top: 0.5pt solid #bbb !important; color: #555 !important; }
}
