/* Additive hierarchy only; incumbent grid, pulse colors, scores and axis stay intact. */
.matrix-table .matrix-group-heading {
  margin-top: .65rem;
  padding: .45rem .5rem .35rem;
  border-top: 1px solid rgb(229 231 235);
  color: rgb(31 41 55);
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.dark .matrix-table .matrix-group-heading {
  border-color: rgb(55 65 81);
  color: rgb(243 244 246);
}
.matrix-table .matrix-header + .matrix-group-heading { margin-top: 0; border-top: 0; }
.matrix-table .matrix-dimension--nested { padding-inline-start: .75rem; padding-block: .3rem; }
.matrix-table .matrix-row-label { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.matrix-table .matrix-label-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.matrix-table .matrix-label-source { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(107 114 128); font-size: .6875rem; font-weight: 400; line-height: 1.4; }
.dark .matrix-table .matrix-label-source { color: rgb(156 163 175); }
@media (max-width: 640px) {
  .matrix-table .matrix-dimension--nested { padding-inline-start: .4rem; }
  .matrix-table .matrix-group-heading { padding-inline: .35rem; }
}
