/* ===================================================================
   WCI global sheet: Report builder print, INTEL-423 / INTEL-681
   -------------------------------------------------------------------
   Adapted from the ip-b2b design repo, revision afe74ad:
     pages/wiseai.html lines 4350-4400 (html.wa-print-report)
   Export as PDF prints a saved report on the server, on the page
   /print/chat-report (Components/Pages/PrintChatReport.razor), whose
   readiness script puts html.wa-print-report on its root. Global because
   a component's scoped sheet cannot reach html and body: the app shell's
   warm ground would otherwise print behind the report, and the cards'
   own scroll caps would cut their rows. Nothing on the live page has
   that class.
   =================================================================== */

html.wa-print-report,
html.wa-print-report body {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  background: #fff !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Every output prints whole. On screen the cards cap their tables and lists in a scroll box
   (WciOutputTable's MaxHeight, an inline max-height in a card such as FdaResultsCard), and only
   the rows inside the box would reach the paper. Inside the printed report those boxes open to
   their full height. Global for the same reason as above: the caps are set by the cards
   themselves, outside the print page's scoped sheet. */
html.wa-print-report [data-print-report] [style*="max-height"],
html.wa-print-report [data-print-report] .wci-output-table-body {
  max-height: none !important;
  overflow: visible !important;
}
