.formal-grade-table {overflow-x:auto; max-width:100%;}
.formal-grade-table table {min-width:650px;}
.formal-grade-table label {display:block; white-space:nowrap;}
.formal-grade-table td {vertical-align:top;}
.formal-grade-table .sub {display:block; margin-top:.4rem;}
#grade-editor input[type="checkbox"] {width:auto;}
.formal-grade-heading {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 16px;}
.formal-grade-heading h2 {margin:0;}
.formal-grade-heading a {display:inline-flex; min-height:44px; align-items:center; color:var(--green);}

.formal-grade-table--compact table {
  display: table;
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}
.formal-grade-table--compact :is(th, td) { overflow-wrap: anywhere; }
