/* Anson review refinements - September 2026. */
.feedback-writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feedback-other-comments {
  grid-column: 1 / -1;
}

.score-set-na {
  grid-template-columns: repeat(6, minmax(36px, 1fr));
}

.score-set-na button:last-child {
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.report-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}

.report-feedback-grid p {
  margin: 0;
  min-height: 62px;
  padding: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.report-feedback-grid p:nth-child(even) {
  border-right: 0;
}

.report-feedback-grid .report-other-comments {
  grid-column: 1 / -1;
  border-right: 0;
  border-bottom: 0;
}

.assignment-filter-toolbar {
  background: var(--soft);
}

@media (max-width: 720px) {
  .feedback-writing-grid,
  .report-feedback-grid {
    grid-template-columns: 1fr;
  }

  .feedback-other-comments,
  .report-feedback-grid .report-other-comments {
    grid-column: auto;
  }

  .report-feedback-grid p {
    border-right: 0;
  }

  .score-set-na {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
    overflow-x: auto;
  }
}
