/* Folha de impressão - /ppp-umbrella/manual. A4 retrato, P&B.
   Carregada só com media="print"; o visual de tela é o css/publico/publico-ppp.css. */

@page {
  size: A4 portrait;
  margin: 14mm;
}

@media print {
  html,
  body {
    background: white !important;
    color: black !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  nav,
  .up-top,
  .up-rodape,
  .up-wa,
  .loading-screen,
  .umbrella-loading {
    display: none !important;
  }

  html body .up-ppp .u-ph .u-acts,
  html body .up-ppp .up-ppp-toc {
    display: none;
  }

  html body .up-ppp {
    padding: 0;
  }

  html body .up-ppp .up-ppp-man {
    display: block;
  }

  html body .up-ppp .u-card {
    background: white;
    color: black;
    box-shadow: none;
    border: 0;
  }

  html body .up-ppp :is(h1, h2, h3, h4, p, li, th, td, strong, a, .u-ph-p) {
    color: black;
  }

  html body .up-ppp .up-h1 {
    font-size: 18pt;
  }

  html body .up-ppp .up-ppp-prose {
    padding: 0;
    font-size: 10pt;
    line-height: 1.4;
  }

  html body .up-ppp .up-ppp-prose h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

  html body .up-ppp .up-ppp-prose table,
  html body .up-ppp .up-ppp-prose h3 {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  html body .up-ppp .up-ppp-prose a[href]::after {
    content: none;
  }
}
