.teaching-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; max-width: 330px; }
.teaching-actions a, .teaching-actions button, .next-teaching-review-open, .next-teaching-review button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 44px; padding: 9px 12px; border: 2px solid #212121; border-radius: 0; background: #d1e8ca; color: #212121; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: normal; text-align: center; }
.teaching-actions a:nth-child(2) { background: #bde7fb; }
.teaching-actions button { background: #ffe298; }
.teaching-actions a:hover, .teaching-actions button:hover, .next-teaching-review a:hover, .next-teaching-review button:hover { text-decoration: underline; }
.teaching-actions :focus-visible, .next-teaching-review :focus-visible { outline: 3px solid #212121; outline-offset: 3px; }
.teaching-actions small, .teaching-actions details, .next-teaching-review details { font-size: .85rem; line-height: 1.5; }
.teaching-actions summary, .next-teaching-review summary { cursor: pointer; min-height: 44px; }
.teaching-actions p, .next-teaching-review p { overflow-wrap: anywhere; }
.teaching-action-status { font-size: .9rem; line-height: 1.4; }
.next-teaching-review { margin: 18px 0; padding: 18px; border: 2px solid #212121; background: #fff2df; }
.next-teaching-review h2 { margin-top: 0; }
.next-teaching-review ol { padding-left: 24px; }
.next-teaching-review li { padding: 10px 0; border-top: 1px solid #212121; }
.next-teaching-review li > span { display: inline-block; width: calc(100% - 110px); vertical-align: middle; padding-right: 12px; box-sizing: border-box; }
.next-teaching-review button { background: #fffcf0; }
.review-queue-list .teaching-actions { grid-column: 2; max-width: none; }
@media (max-width: 900px) {
  .next-teaching-review { padding: 12px; }
  .next-teaching-review li > span { display: block; width: 100%; padding: 0 0 8px; }
  .teaching-actions { min-width: 180px; }
  #studentRecommendationPanel .assessment-report-table-wrap { overflow: visible; }
  #studentRecommendationPanel table, #studentRecommendationPanel tbody, #studentRecommendationPanel tr, #studentRecommendationPanel td { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; }
  #studentRecommendationPanel thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #studentRecommendationPanel tr { margin: 14px 0; border: 2px solid #212121; background: #fffcf0; }
  #studentRecommendationPanel td { border: 0; padding: 8px 12px; }
  #studentRecommendationPanel td::before { content: attr(data-label); display: block; font-weight: 700; font-size: .8rem; margin-bottom: 4px; }
  #studentRecommendationPanel .teaching-actions { max-width: none; min-width: 0; }
}
