/* Free checker moderation queue (app/ielts/public-review-board.js).
   Palette matches platform/modules/teacher/teacher.css — slate, no tokens. */

.prq-lead {
  margin: 0 0 16px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 70ch;
}

.prq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.prq-tab {
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.prq-tab:hover {
  border-color: #cbd5e1;
}

.prq-tab.is-on {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.prq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prq-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.prq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.prq-band {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.prq-meta {
  color: #64748b;
  font-size: 0.82rem;
}

.prq-topic {
  margin-left: auto;
  color: #94a3b8;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.prq-crits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.prq-crit {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 0.78rem;
}

.prq-crit-k {
  color: #64748b;
}

.prq-crit-v {
  font-weight: 600;
  color: #0f172a;
}

.prq-prompt {
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.prq-prompt summary {
  cursor: pointer;
  color: #475569;
}

.prq-prompt p {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #e2e8f0;
  color: #475569;
  line-height: 1.5;
}

/* The essay is the thing being judged, so it gets reading measure and reading
   line-height rather than the denser board type around it. */
.prq-essay {
  max-width: 68ch;
  color: #1e293b;
  line-height: 1.65;
  font-size: 0.95rem;
}

.prq-essay p {
  margin: 0 0 12px;
}

.prq-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.prq-btn {
  padding: 9px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.prq-btn:hover:not(:disabled) {
  border-color: #94a3b8;
}

.prq-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.prq-btn--ok {
  border-color: #15803d;
  background: #15803d;
  color: #fff;
}

.prq-btn--ok:hover:not(:disabled) {
  background: #166534;
  border-color: #166534;
}

.prq-btn--no {
  border-color: #fecaca;
  color: #b91c1c;
}

.prq-btn--no:hover:not(:disabled) {
  background: #fef2f2;
}

.prq-note {
  color: #64748b;
  font-size: 0.82rem;
}

@media (max-width: 620px) {
  .prq-topic {
    margin-left: 0;
    width: 100%;
  }
}
