
@media print {
  .testata, .salta, .collega-azioni, .sommario, .lettere, .sostegno, .piede nav, button { display: none !important; }
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.9em; overflow-wrap: anywhere; }
  main a[data-stampa]::after { content: " (" attr(data-stampa) ")"; font-size: 0.9em; overflow-wrap: anywhere; }
  main a[href^="mailto:"]::after { content: ""; }
}

.solo-stampa { display: none; }
@media print {
  body[data-strumento] .contenitore.testo > .riquadro, body[data-strumento] .contenitore.testo > form,
  body[data-strumento] .intro-strumento, body[data-strumento] .azioni, body[data-strumento] .piede { display: none !important; }
  body[data-strumento] .solo-stampa { display: block !important; margin: 16px 0 0; padding-top: 6px; border-top: 1px solid #000;
    font-size: 10pt; color: #000; }
  body[data-strumento] .tabella-calc { display: table; width: 100%; }
  body[data-strumento] .riga-esito, body[data-strumento] li, body[data-strumento] tr { break-inside: avoid; }
  body[data-strumento] summary { font-weight: 700; }
}
