@media print {
  /* Define the header and footer */

  @page {
    margin-top: 0.5cm;
    margin-bottom: 0.5cm;
    margin-left: 0.5cm;
    margin-right: 0.5cm;
    size: A4;
  }

  .print-header,
  .print-footer {
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
  }

  .print-header {
    top: 0;
  }
  .print-footer {
    bottom: 0;
  }

  .breadcrumbs,
  .dropdown {
    display: none;
  }

  .chartkit-column__columns.overflow-x-auto > .chartkit-column__group {
    display: none;
  }
  .chartkit-column__columns.overflow-x-auto
    > .chartkit-column__group:nth-last-child(-n + 5) {
    display: flex; /* Or flex, grid, etc., depending on your layout */
  }
  .chartkit-column__group .text-xs {
    font-size: 0.65rem;
  }
}
