.recap-intro {
  margin: 0 0 18px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: 14px;
  background: #214e3b;
  color: #fffdf7;
}

.recap-intro h2, .recap-intro p { color: inherit; }
.recap-intro h2 { margin: 0 0 5px; }
.recap-intro p { margin: 0; }
.recap-intro button { margin-top: 12px; }
.recap-tabs { gap: 8px; margin-bottom: 16px; }

.recap-workspace {
  display: grid;
  grid-template-columns: minmax(180px, 270px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.recap-list { display: grid; gap: 8px; }
.recap-list-row { display: flex; align-items: stretch; gap: 6px; }
.recap-list-row > button:first-child { flex: 1; }
.recap-list .recap-delete {
  align-self: center;
  min-height: 40px;
  padding: 7px 9px;
  color: #8c2d28;
}
.recap-list button {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 12px 14px;
  text-align: left;
  background: #fffdfa;
  border: 1px solid #cbd7c5;
  overflow-wrap: anywhere;
}
.recap-list button small, .recap-list button span { color: #425b50; }
.recap-list button[aria-pressed="true"], .recap-tabs button[aria-pressed="true"] {
  background: #dce9df;
  color: #19382c;
  border-color: #527461;
}
.recap-note {
  border: 1px solid #cbd7c5;
  border-radius: 12px;
  background: #fffdfa;
  padding: clamp(16px, 2.5vw, 24px);
  overflow-wrap: anywhere;
}
.recap-note h3 { margin-bottom: 5px; }
.recap-note p { margin-top: 5px; }
.recap-note dt { font-weight: 700; }
.recap-note dd { margin: 4px 0 12px; }
.recap-student-notes { border-top: 1px solid #cbd7c5; margin-top: 16px; padding-top: 12px; }
.recap-student-notes p, .recap-adjustments p { white-space: pre-wrap; }
.recap-adjustments { display: grid; gap: 8px; }
.recap-adjustments section { padding: 12px 14px; border-radius: 9px; background: #eef3ec; }
.student-directory-table button.student-directory-link { font-weight: 700; }
.student-directory-table td:first-child button.student-directory-link {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #214e3b;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .recap-workspace { grid-template-columns: minmax(0, 1fr); }
  .recap-list { max-height: 40vh; overflow-y: auto; }
}
