<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
  </head>
  <body class="print-report-body">
    <% num_of_cover_pages.times do %>
      <div style="min-height: 100vh; break-after: page;"></div>
    <% end %>
    <div class="print-report">
      <% report.root_elements.each do |el| %>
        <%= render_report_element(el, local_assigns) %>
      <% end %>
    </div>
  </body>
</html>
