/*
 * v1.5.077 — shared control/check table header contract.
 *
 * Diagnostic/control result panels must use the same typography and header-row
 * geometry as the main Table Editor tables.  Mode-local result-panel CSS may
 * still own colour, borders and body-row appearance, but must not create a
 * separate header typography system.
 */
.results-panel > h3,
.results-panel > h3.results-panel-close-title {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  min-height: var(--pbs-header-row-height, 32px) !important;
  height: var(--pbs-header-row-height, 32px) !important;
  max-height: var(--pbs-header-row-height, 32px) !important;
  margin: 0 !important;
  padding: 0 var(--pbs-table-cell-padding-inline, 6px) !important;
  font-family: var(--pbs-main-header-font-family, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif) !important;
  font-size: var(--pbs-main-header-font-size, 14px) !important;
  font-weight: var(--pbs-main-header-font-weight, 600) !important;
  font-style: normal !important;
  line-height: var(--pbs-main-header-line-height, 1.2) !important;
}

.results-panel > h3 *,
.results-panel > h3.results-panel-close-title * {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.results-panel > table > thead > tr,
.results-panel > table > thead > tr > th {
  box-sizing: border-box !important;
  min-height: var(--pbs-header-row-height, 32px) !important;
  height: var(--pbs-header-row-height, 32px) !important;
  max-height: var(--pbs-header-row-height, 32px) !important;
  vertical-align: middle !important;
}

.results-panel > table > thead > tr > th,
.results-panel > table > thead > tr > th * {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: var(--pbs-main-header-font-family, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif) !important;
  font-size: var(--pbs-main-header-font-size, 14px) !important;
  font-weight: var(--pbs-main-header-font-weight, 600) !important;
  font-style: normal !important;
  line-height: var(--pbs-main-header-line-height, 1.2) !important;
}

/* Preserve the centrally sanctioned mathematical-label variants if a control
   table uses them now or in the future. */
.results-panel > table > thead > tr > th em {
  display: inline !important;
  font-style: italic !important;
}
.results-panel > table > thead > tr > th sub {
  display: inline !important;
  position: static !important;
  font-size: var(--pbs-main-header-subscript-size, 10px) !important;
  line-height: 0 !important;
  vertical-align: sub !important;
}
