@page{size:A4;margin:16mm}
@media print{
  :root{--paper:#fff;--ink:#111;--muted:#333;--line:#777}
  html{scroll-behavior:auto}
  body{background:#fff;color:#111;font-size:10.5pt;line-height:1.45}
  .site-header,.site-footer,.breadcrumb,.button,.icon-link,.favorite-button,.filter-bar,.related,.article-aside,.toast,.no-print,.hero-art,.page-hero-art{display:none!important}
  .container{max-width:none;padding:0}
  .section,.article-header,.article-layout,.related{padding-block:0;border:0}
  .page-hero,.hero,.section--blue,.section--ink,.section--tint,.callout,.tool-panel--tint{background:#fff!important;color:#111!important}
  h1,h2,h3,.hero h1,.page-hero h1,.section--blue h2,.section--blue h3{color:#111!important;break-after:avoid}
  h1{font-size:26pt}h2{font-size:18pt}h3{font-size:14pt}
  p,li{orphans:3;widows:3}
  a{color:#111;text-decoration:none}
  .article-body a[href^="http"]::after{content:" (" attr(href) ")";font-size:8pt;overflow-wrap:anywhere}
  .article-body{max-width:none}
  .article-layout,.split,.grid,.cover-grid{display:block}
  .card,.cover-item,.tool-panel,.callout{break-inside:avoid;margin-bottom:8mm;border-color:#777}
  .article-cover{max-height:80mm;overflow:hidden}
  .checkbox-row{min-height:0;padding:2mm 0;break-inside:avoid}
  .checkbox-row input{appearance:none;width:4mm;height:4mm;border:1px solid #111;margin-top:1mm}
  .checkbox-row input:checked::after{content:"×";display:block;font-size:12pt;line-height:3mm;text-align:center}
  input[type="text"],input[type="tel"],input[type="email"],textarea,select{border:0;border-bottom:1px solid #555;min-height:8mm;padding:1mm;background:#fff}
  textarea{min-height:24mm;border:1px solid #555}
  .print-only{display:block!important}
  .document-meta{display:block}
  .document-meta div{break-inside:avoid}
  .table-scroll{overflow:visible;border:0}
  .comparison-table,.model-table{min-width:0;font-size:7.5pt}
  .comparison-table th,.comparison-table td,.model-table th,.model-table td{padding:2mm;min-width:0}
  .comparison-table thead th,.model-table thead th{background:#fff;color:#111}
  tr{break-inside:avoid}
  .blank-lines{line-height:2}
  .printable-checklist{break-before:page}
}
@media screen{.print-only{display:none!important}}

@media print{
  .checklist-page .page-hero{padding:0 0 5mm;background:#fff!important}
  .checklist-page .page-hero .lead{font-size:11pt}
  .checklist-page .checklist-fields{grid-template-columns:1fr 1fr;gap:4mm;margin:4mm 0}
  .checklist-page .checklist-fields input,.checklist-page .checklist-fields textarea{border:0;border-bottom:1px solid #555;border-radius:0;min-height:7mm;padding:1mm}
  .checklist-page .checkbox-row{align-items:flex-start;gap:3mm;padding:2mm 0;min-height:0}
  .checklist-page .checkbox-row input{margin-top:1mm}
  .checklist-page .section{padding-block:3mm}
  .checklist-page h2{margin-bottom:2mm}
  .checklist-page .callout{padding:3mm}
}

@media print{
  #pcsi-cookie-panel,#pcsi-cookie-manage,#pcsi-cookie-dialog{display:none!important}
  .numeri-page .page-hero{padding:0 0 3mm}
  .numeri-page .page-hero h1{font-size:20pt;margin:0 0 2mm}
  .numeri-page .page-hero .lead,.numeri-page .page-hero .eyebrow,.numeri-page .page-hero .small{display:none}
  .numeri-page .reading-tools-shell,.numeri-page .reading-tools{display:none!important}
  .numeri-page h2{font-size:13pt;margin:4mm 0 1.5mm}
  .numeri-page .article-body p,.numeri-page td,.numeri-page th{font-size:9.5pt;line-height:1.3;margin:0 0 1.5mm}
  .numeri-page table{width:100%;border-collapse:collapse}
  .numeri-page th,.numeri-page td{border:1px solid #777;padding:1.2mm 2mm;text-align:left;vertical-align:top}
  .numeri-page .fill-line{height:7.5mm}
  .numeri-page [data-reading-version="easy"]{display:none!important}
}
@media print{.numeri-page .table-wrap{overflow:visible;border:0;width:100%;margin-bottom:2mm}.numeri-page table{min-width:0;width:100%}.numeri-page .article-body{padding-bottom:0}}
@media print{.skip-link{display:none!important}.numeri-page .fill-line{height:6.5mm}.numeri-page .table-wrap table{display:table!important;width:100%!important;table-layout:auto}}
@media print{
  main#contenuto::before{content:"";display:block;height:16mm;margin-bottom:4mm;background:url("../assets/images/logos/emblema-portale-header.webp") left center/contain no-repeat;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .article-cover{display:none!important}
  .article-header{padding:0 0 3mm!important}
  .article-header h1{font-size:22pt;margin:0 0 2mm}
  .article-header .lead{font-size:11pt;margin:0 0 2mm}
  .article-body h2{margin-top:6mm}
  .article-body p:last-child{break-before:avoid}
}
@media print{
  .article-header{max-width:none!important;margin:0!important;padding-inline:0!important}
  .article-header h1{max-width:none}
  .numeri-page main#contenuto::before{height:12mm;margin-bottom:2mm}
  .numeri-page .fill-line{height:6mm}
  .numeri-page h2{margin:3mm 0 1mm}
}
