/* Graderingstavla (grading-board.html, GD1–GD4). */

.gb-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px 16px;
  align-items: end;
  margin: 20px 0 12px;
}
.gb-field { display: flex; flex-direction: column; gap: 4px; }
.gb-field--wide { grid-column: span 2; }
.gb-checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border: 0;
  margin: 0;
  padding: 0;
}
.gb-checks label { display: inline-flex; align-items: center; gap: 6px; }
.gb-checks input { width: auto; margin: 0; flex: none; }
.gb-actions { display: flex; gap: 8px; }

.gb-setfilter { margin: 8px 0; }

#board { position: relative; } /* holder skjermlesertekstene i cellene inne i rullefeltet */
.gb-table th[scope="row"] { font-weight: 400; min-width: 180px; font-size: 15px; }
.gb-table th[scope="row"] > a:first-child { font-weight: 600; font-size: 15px; }
.gb-table th[scope="row"] .small { font-size: 13px; }
.gb-table td, .gb-table th { vertical-align: top; }
.gb-table td { white-space: nowrap; }
.gb-outlier { font-size: 12px; color: var(--blekk-2); border: 1px solid var(--linje); padding: 0 4px; white-space: nowrap; }
.gb-blank { color: var(--blekk-2); cursor: help; }

.gb-more { text-align: center; margin: 16px 0; }

.gb-sets { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gb-sets li { border-top: 1px solid var(--linje); padding-top: 8px; }
.gb-set-name { font-weight: 600; }

.gb-explain { padding-left: 20px; display: grid; gap: 8px; }

@media (max-width: 600px) {
  .gb-field--wide { grid-column: 1 / -1; }
}

/* Bare for skjermlesere: grunnen til en tom celle og tabelltittelen. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
