/* Keep both scroll directions in the same container so sticky headers stay aligned. */
.table-responsive,
.exhibit-report__scroll {
  max-height: min(65vh, 42rem);
  overflow: auto;
}

.table-responsive table > thead,
.exhibit-report__scroll > table > thead {
  position: sticky;
  top: 0;
  z-index: 3;
}

.table-responsive table > thead > tr > th {
  background-color: var(--bs-table-bg, var(--bs-body-bg, #fff));
  box-shadow: inset 0 -1px var(--bs-border-color, #dee2e6);
}

.exhibit-report__table > thead > tr > th {
  background-color: #fff8e8;
  box-shadow: inset 0 2px #e8b251, inset 0 -2px #e8b251;
}

.table-filters .form-control,
.table-filters .form-select {
  min-width: 8rem;
  font-weight: normal;
}

@media print {
  .table-filters,
  [data-filter-empty] {
    display: none !important;
  }
  table[data-column-filters] tbody tr[hidden] {
    display: table-row !important;
  }
}

@media print {
  .table-responsive,
  .exhibit-report__scroll {
    max-height: none !important;
    overflow: visible;
  }

  .table-responsive table > thead,
  .exhibit-report__scroll > table > thead {
    position: static !important;
    display: table-header-group;
  }
}
