/* Class moderation (mod.js): the teacher's sheet per student, «قفل ورود», the removed students. */
#join-lock[aria-pressed="true"] { background: var(--live-soft); color: var(--warn); border-color: var(--live); }
.mod-more { font-size: 18px; line-height: 1; padding: 4px 10px; letter-spacing: 1px; }

.mod-locked {
  background: var(--live-soft); color: var(--warn);
  border-radius: 12px; padding: 8px 12px; margin: 0 0 14px; font-size: 14px; font-weight: 700;
}

.mod-out h2 { margin-bottom: 8px; }
.mod-out-list { list-style: none; padding: 0; margin: 0; }
.mod-out-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.mod-out-list li:first-child { border-top: 0; }
.mod-out-list .pname { color: var(--muted); }

/* The sheet: a bottom sheet on a phone, a centred card on a wide screen. */
.mod-sheet {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(10, 14, 16, .45);
  display: flex; align-items: flex-end; justify-content: center;
}
.mod-card {
  background: var(--card); color: var(--ink);
  width: 100%; max-width: 460px;
  border-radius: 20px 20px 0 0;
  padding: 18px 16px max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}
.mod-card h2 { font-size: 18px; margin: 0 0 12px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-body { display: flex; flex-direction: column; gap: 8px; }
.mod-row { display: flex; gap: 8px; }
.mod-row > * { flex: 1 1 0; }
.mod-q { font-weight: 700; margin: 0 0 4px; }
.btn.ghost.danger-ink { color: var(--warn); }
@media (min-width: 600px) {
  .mod-sheet { align-items: center; }
  .mod-card { border-radius: 20px; }
}
