/* Folha de impressão - /ppp-umbrella. A4 retrato, preto e branco.
   Carregada só com media="print"; o visual de tela é o css/publico/publico-ppp.css. */

@page {
  size: A4 portrait;
  margin: 12mm;
}

@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 .up-ppp-cta,
  html body .up-ppp .u-ph .u-acts,
  html body .up-ppp .u-legend2 {
    display: none;
  }

  html body .up-ppp {
    padding: 0;
  }

  html body .up-ppp .u-card {
    background: white;
    color: black;
    box-shadow: none;
    border-color: black;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  html body .up-ppp :is(h1, h2, p, li, dt, dd, th, td, caption, .u-mk-h, .u-mk-v, .u-ph-p, .u-hint) {
    color: black;
  }

  html body .up-ppp .up-ppp-graf > .u-chart {
    display: none;
  }

  html body .up-ppp .up-ppp-graf[data-on] > .up-ppp-svg,
  html body .up-ppp .up-ppp-svg {
    display: block;
  }

  html body .up-ppp .up-ppp-svg svg {
    width: 100%;
    max-height: 8.5cm;
    background: white;
  }

  html body .up-ppp .u-table th,
  html body .up-ppp .u-table td {
    border-color: black;
    background: white;
  }

  html body .up-ppp a {
    color: black;
    text-decoration: none;
  }
}
