@page { size: A4; margin: 14mm; }
:root { color-scheme: light !important; --bg: #fff !important; --surface: #fff !important; --surface-2: #f3f3f3 !important; --text: #000 !important; --text-soft: #333 !important; --line: #aaa !important; --line-strong: #555 !important; --inverse-bg: #fff !important; --inverse-surface: #fff !important; --inverse-text: #000 !important; --inverse-soft: #333 !important; --inverse-line: #aaa !important; }
body { background: #fff !important; color: #000 !important; font-size: 9pt; }
body::before, .site-header, .site-footer, [data-no-print], .report-actions, .scan-form, .theme-toggle { display: none !important; }
.shell { width: 100% !important; }
.section, .report-header, .page-hero { padding: 8mm 0 !important; }
h1 { font-size: 28pt !important; }
h2 { font-size: 20pt !important; }
h3 { font-size: 13pt !important; }
.section-dark { background: #fff !important; color: #000 !important; }
.report-map-card, .demo-map-card, .provider-table, .scope-card, .scope-card-inverse, .report-score-panel, .category-grid, .signal-summary { break-inside: avoid; background: #fff !important; color: #000 !important; }
.dependency-map svg { min-width: 0 !important; }
.map-provider circle, .map-center > circle { stroke: #000 !important; }
.map-center > circle { fill: #000 !important; }
.map-center path { stroke: #fff !important; }
.map-provider text, .map-center text { fill: #000 !important; }
.map-link, .map-orbit { stroke: #777 !important; }
.provider-table { min-width: 0 !important; font-size: 7pt; }
.provider-table th, .provider-table td { color: #000 !important; border-color: #aaa !important; }
details { break-inside: avoid; }
details > *:not(summary) { display: block !important; }
.finding-detail:not([open]) .finding-body, .module-result:not([open]) .module-result-body { display: block !important; }
.json-block, .evidence pre { max-height: none !important; overflow: visible !important; font-size: 6.5pt; }
a { color: #000 !important; text-decoration: none !important; }

/* Scanapse 2.1 evidence dashboard print rules */
.dashboard-summary-card,
.dashboard-drift-list,
.dependency-evidence-graph-wrap,
.dashboard-dimension-card,
.evidence-proof-card,
.dashboard-unknown-grid article,
.dashboard-standards-grid article,
.dashboard-context-notice,
.dashboard-expert-section details {
    break-inside: avoid;
    background:#fff !important;
    color:#000 !important;
    border-color:#888 !important;
}
.dependency-evidence-graph-wrap { grid-template-columns:1fr !important; }
.dependency-graph-text { display:block !important; }
.dashboard-dimension-grid,
.dashboard-unknown-grid,
.dashboard-standards-grid { grid-template-columns:repeat(2, minmax(0,1fr)) !important; }
.evidence-proof-fields { grid-template-columns:1fr 1fr !important; }
.evidence-proof-raw { display:block !important; }
.evidence-proof-raw[open],
.evidence-proof-raw:not([open]) { display:block !important; }
.evidence-proof-raw > *:not(summary) { display:block !important; }
.evidence-proof-raw pre,
.dashboard-expert-section pre { max-height:none !important; overflow:visible !important; white-space:pre-wrap !important; overflow-wrap:anywhere !important; }
.dashboard-standards-grid a::after { content:" (" attr(href) ")"; font-size:7pt; }

/* Scanapse 2.4.2 evidence-only print mode */
html.print-evidence-only body > * { display:none !important; }
html.print-evidence-only body > .site-shell,
html.print-evidence-only body > main,
html.print-evidence-only body main { display:block !important; }
html.print-evidence-only main > section { display:none !important; }
html.print-evidence-only #report240-evidence {
    display:block !important;
    padding:0 !important;
    border:0 !important;
}
html.print-evidence-only #report240-evidence .report242-evidence-actions { display:none !important; }
html.print-evidence-only #report240-evidence .report240-evidence-disclosure {
    display:block !important;
    border:0 !important;
}
html.print-evidence-only #report240-evidence .report240-evidence-disclosure > summary { display:none !important; }
html.print-evidence-only #report240-evidence .dashboard-evidence-list { display:block !important; }
html.print-evidence-only #report240-evidence .evidence-proof-card {
    display:block !important;
    margin:0 0 5mm !important;
    break-inside:avoid;
}
html.print-evidence-only #report240-evidence .evidence-proof-card > summary { list-style:none; }
html.print-evidence-only #report240-evidence .evidence-proof-body { display:block !important; }
html.print-evidence-only #report240-evidence .evidence-proof-raw { display:none !important; }
html.print-evidence-only #report240-evidence .report240-technical-disclosure { display:none !important; }
html.print-evidence-only .report242-evidence-source-icon svg { width:7mm !important; height:7mm !important; stroke:#000 !important; }
