.pedagogic-grade-form .term-filter-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
body.session-loading .login-screen, body.session-loading .app-shell { visibility: hidden; }
.pedagogic-grade-form .term-results-wrap { max-width: 100%; overflow-x: auto; }
.pedagogic-grade-form .term-results-table { width: 100%; table-layout: fixed; }
.pedagogic-grade-form .term-results-table th { white-space: normal; overflow-wrap: anywhere; padding: 14px 12px; line-height: 1.5; }
.pedagogic-grade-form .term-results-table th:first-child { width: 56px; }
.pedagogic-grade-form .term-results-table th:nth-child(2),
.pedagogic-grade-form .term-results-table td:nth-child(2) { width: 280px; position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 2px 0 0 #e5e8ee; }
.pedagogic-grade-form .term-results-table th:nth-child(2) { z-index: 2; }
.pedagogic-grade-form .term-result-cell { padding: 14px 12px; vertical-align: top; }
.pedagogic-grade-form .term-result-cell label { gap: 6px; margin-bottom: 12px; min-width: 0; }
.pedagogic-grade-form .term-result-cell input { box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; min-height: 38px; }
.pedagogic-grade-form .term-results-table th:last-child,
.pedagogic-grade-form .term-results-table td:last-child { width: 260px; }
.pedagogic-grade-form .term-observation { box-sizing: border-box; width: 100%; min-width: 0; min-height: 102px; }
@media (max-width: 640px) {
  .pedagogic-grade-form .term-filter-grid > .field { grid-column: 1 / -1; }
}
