/*
 * Printing the report ("Download PDF" = window.print()): only the report, no theme header or footer,
 * no buttons, sections not split across pages, brand and contact in the footer.
 */
@page { margin: 16mm 14mm; }
body * { visibility: hidden !important; }
.pda-report, .pda-report * { visibility: visible !important; }
.pda-report { position: absolute; left: 0; top: 0; width: 100%; max-width: none; font-size: 11pt; color: #000; }
.pda-report-head::before { content: "Pistacho Digital"; display: block; font-weight: 700; font-size: 13pt; color: #3F6B22; margin-bottom: 4mm; }
.pda-print, .pda-cta-buttons, .pda-sent, .pda-lead { display: none !important; }
.pda-scorecard, .pda-check, .pda-top3, .pda-cta, .pda-bars li { break-inside: avoid; page-break-inside: avoid; }
.pda-cat h3, .pda-top3 h3 { break-after: avoid; page-break-after: avoid; }
.pda-check, .pda-scorecard { border-top-color: #bbb !important; border-right-color: #bbb !important; border-bottom-color: #bbb !important; }
.pda-scorecard { border-left-color: #bbb !important; }
.pda-check { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
html, body, .pda-report-main, .pda-report-page { background: #fff !important; }
.pda-cta { background: none !important; color: #000 !important; border: 1px solid #bbb; }
.pda-cta h3, .pda-cta a { color: #000 !important; }
.pda-bar { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pda-bar-fill, .pda-badge, .pda-grade { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pda-vulns a::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
.pda-print-foot { display: block !important; margin-top: 8mm; padding-top: 3mm; border-top: 1px solid #bbb; font-size: 9pt; text-align: center; }
/* Watermark: position: fixed repeats it on every printed page. */
.pda-watermark {
	display: flex !important;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	position: fixed;
	inset: 0;
	z-index: 10; /* Over the content: harder to remove, still light enough to read through. */
	pointer-events: none;
	overflow: hidden;
}
.pda-watermark span {
	display: block;
	white-space: nowrap;
	transform: rotate(-30deg);
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 17pt;
	font-weight: 700;
	color: rgba(63, 107, 34, 0.08) !important;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
/* Compact print: what is fine only shows its title, status and finding. */
.pda-check { padding: 2.5mm 4mm !important; margin-bottom: 2mm !important; }
.pda-check.pda-s-ok dl dt, .pda-check.pda-s-info dl dt,
.pda-check.pda-s-ok dl dd:first-of-type, .pda-check.pda-s-info dl dd:first-of-type { display: none; }
.pda-check.pda-s-ok dl, .pda-check.pda-s-info dl { margin-top: 1mm; }
.pda-check h4 { font-size: 10.5pt; }
.pda-check dd, .pda-top3 p { font-size: 9.5pt; }
.pda-report h3 { margin: 5mm 0 2mm; font-size: 13pt; }
