/* Print / Save as PDF: only the action plan is printed, laid out for A4. */
@page {
  size: A4;
  margin: 16mm 15mm 18mm;
}

html,
body {
  background: #fff !important;
  font-size: 10.5pt;
}
* {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* Hide everything except the report */
.skip-link,
.demo-bar,
.site-header,
.site-footer,
.demo-disclosure,
.no-print,
dialog,
.view:not([data-view='report']) {
  display: none !important;
}
/* If someone prints from the results page, show a helpful note instead of a broken layout */
body:not([data-screen='report']) main::before {
  content: 'To print your personalised action plan, use the “Print or save as PDF” button on your action plan page.';
  display: block;
  font-size: 12pt;
  padding: 24pt 0;
}

.view {
  animation: none !important;
}
.report-wrap {
  max-width: none;
  padding: 0;
}
.report-sheet {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  font-size: 10.5pt;
}
.rp-title {
  font-size: 26pt;
}
.rp-figures {
  grid-template-columns: repeat(4, 1fr) !important;
}
.rp-figures dd {
  font-size: 18pt;
}
.rp-profile {
  grid-template-columns: 1fr 1fr !important;
}
.rp-section {
  break-inside: auto;
  padding-top: 14pt;
  margin-top: 14pt;
}
.rp-section h2 {
  font-size: 17pt;
  break-after: avoid;
}
.rp-bn,
.rp-rec,
.rp-actions li,
.rp-table tr,
.rp-opps li {
  break-inside: avoid;
}
.rp-table {
  font-size: 9.5pt;
}
.rp-footer {
  break-inside: avoid;
}
a {
  text-decoration: none;
}
