/* Shared screen presentation. Report exports keep their own print layout. */
@media screen {
  /* Target column headings only; group rows and totals retain their own colors. */
  body main table > thead > tr > th {
    background: var(--brand, #080e37) !important;
    color: var(--white, #fff) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5;
  }

  body main table > thead > tr > th :is(small, a) {
    color: inherit !important;
  }

  /* Keep filter announcements available to assistive technology, without a
     repeated result count between the filters and their results. */
  body main :is(
    .table-result-summary,
    .ba-result-count,
    .rw-list-count,
    #register-count,
    #locations-count,
    #location-detail-count,
    #location-element-count,
    #library-buildings-count,
    #building-element-count,
    #library-count,
    #library-use-count,
    #element-unit-count,
    #family-count,
    #unmatched-count,
    #unmatched-detail-count,
    #documents-count,
    #documents-version-count,
    #document-file-count,
    #findings-count,
    #workspace-findings-count,
    #measures-count,
    #workspace-measures-count,
    #action-points-count,
    #execution-count,
    #pilot-count,
    #coverage-count
  ) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}
