@media print {
  @page {
    margin: 16mm;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  header,
  footer,
  .site-topline,
  .site-shell,
  .support-panel,
  .action-bar,
  .query-ribbon,
  .copy-panel,
  .theme-toggle {
    display: none !important;
  }

  details {
    display: block !important;
  }

  details:not([open]) > * {
    display: block !important;
  }

  h2 {
    page-break-before: always;
  }

  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}
