/* Screen controls and unsaved form values are never report output. */
.diagnostic-print-preparing :is(.report,.vehicle-report-workspace) form {display:none!important}
@media print {
  @page {size:A4;margin:15mm}
  body:has(:is(.report,.vehicle-report-workspace)) {--text:#111;--muted:#444;--line:#aaa;background:#fff!important;background-image:none!important;color:#111!important}
  body:has(:is(.report,.vehicle-report-workspace))::before,body:has(:is(.report,.vehicle-report-workspace))::after,
  body:has(:is(.report,.vehicle-report-workspace)) :is(header,footer,.skip-link,.mobile-app-nav,.site-disclaimer,.task-navigation),
  :is(.report,.vehicle-report-workspace) :is(form,button,input,textarea,select,.report-actions,.question-navigation,.question-options,.share,.draft-status,#reportCurrentAction) {display:none!important}
  body:has(:is(.report,.vehicle-report-workspace)) :is(main,.page),:is(.report,.vehicle-report-workspace) {width:auto!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important}
  :is(.report,.vehicle-report-workspace),:is(.report,.vehicle-report-workspace) * {color:#111!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important;overflow-wrap:anywhere}
  :is(.report,.vehicle-report-workspace) :is(.panel,.message,.facts,details,.vehicle-diagnostic-summary) {border-color:#bbb!important;border-radius:0!important;break-inside:auto!important}
  :is(.report,.vehicle-report-workspace) details[data-print-expand]>summary {display:none!important}
  :is(.report,.vehicle-report-workspace) details[data-print-expand] {border:0!important;border-radius:0!important;padding:0!important;margin:0 0 10pt!important}
  :is(.report,.vehicle-report-workspace) #outcomePanel:not(:has(details)),:is(.report,.vehicle-report-workspace) details:has(>.share),:is(.report,.vehicle-report-workspace) .current-action:not(.urgent-action) {display:none!important}
  :is(.report,.vehicle-report-workspace) :is(h1,h2,h3,h4,.role) {break-after:avoid-page}
  :is(.report,.vehicle-report-workspace) h1 {font-size:18pt}:is(.report,.vehicle-report-workspace) h2{font-size:13pt}:is(.report,.vehicle-report-workspace) h3{font-size:11pt}
  :is(.report,.vehicle-report-workspace) {font-size:10pt;line-height:1.5}
  :is(.report,.vehicle-report-workspace) :is(p,li) {orphans:3;widows:3}
  :is(.report,.vehicle-report-workspace) .rich-text {display:block;white-space:normal;overflow:visible!important;max-height:none!important}
  :is(.report,.vehicle-report-workspace) .rt-space{display:none}:is(.report,.vehicle-report-workspace) .rich-text p{margin:0 0 4pt!important}
  :is(.report,.vehicle-report-workspace) pre {white-space:pre-wrap;overflow:visible!important}
  :is(.report,.vehicle-report-workspace) table {width:100%;table-layout:fixed;border-collapse:collapse}
  :is(.report,.vehicle-report-workspace) thead {display:table-header-group}
  :is(.report,.vehicle-report-workspace) tr {break-inside:avoid-page}:is(.report,.vehicle-report-workspace) :is(th,td){overflow-wrap:anywhere;padding:5pt;border:1px solid #bbb}
  :is(.report,.vehicle-report-workspace) img{max-width:100%;max-height:210mm;object-fit:contain;break-inside:avoid-page}
}

@media print {.vehicle-report-workspace details:has(form):not([data-print-expand]),.vehicle-report-workspace .report-issue-links{display:none!important}}
