/* Keep the total-table title and column labels above scrolling student rows. */
.master-table-card {
  isolation: isolate;
}

.master-table-card > .section-title {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 104px;
  padding: 14px 0 12px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 48, 87, .12);
}

.master-table-card > .section-title h2 {
  font-size: 21px;
  line-height: 1.25;
}

.master-table-card .summary-actions {
  gap: 10px;
}

.master-table-card .summary-search {
  width: 180px;
  min-height: 38px;
  padding: 8px 11px;
  font-size: 14px;
}

.master-table-card .monthly-export-month {
  width: 132px;
  min-height: 38px;
  border: 1px solid #7f98ad;
  padding: 7px 9px;
  color: #003057;
  background: #fff;
  font-size: 13px;
}

.master-table-card .monthly-export {
  min-height: 42px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

.master-table-card .master-table-count {
  padding: 8px 10px;
  font-size: 14px;
}

.master-table-card .summary-export {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.master-table-card > .section-title .hint {
  display: none;
}

.master-table-card .table-wrap {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.master-table thead th {
  position: sticky;
  top: 104px;
  z-index: 20;
  background-color: #e8f0f6;
  background-clip: padding-box;
  box-shadow: 0 2px 3px rgba(0, 48, 87, .15);
}

.master-table thead th:nth-child(6),
.master-table thead th:nth-child(9) {
  background-color: #d6e9f7;
}

.master-table tbody tr,
.master-table tbody td {
  position: relative;
  z-index: 0;
}

@media (max-width: 760px) {
  .master-table-card > .section-title { min-height: 142px; }
  .master-table thead th { top: 142px; }
}
