/* Class moderation (mod.js): the teacher's sheet per student, «قفل ورود» (a tile among the class tools), the
   «ورود بسته‌ست» line and the removed students in the people panel. */
.mod-more { font-size: 20px; line-height: 1; padding: 4px 10px; letter-spacing: 1px; }

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

.mod-out { margin: 8px 0 4px; }
.room-side .mod-out { border: 0; border-radius: 0; box-shadow: none; padding: 8px 0 4px; margin: 0 0 8px; background: transparent; border-bottom: 1px solid var(--line); }
.mod-out h2 { margin-bottom: 4px; font-size: 14px; color: var(--muted); }
.mod-out-list { list-style: none; padding: 0; margin: 0; }
.mod-out-list li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.mod-out-list .pname { flex: 1; 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: 30;
  background: var(--scrim);
  display: flex; align-items: flex-end; justify-content: center;
}
.mod-card {
  background: var(--card-raised); color: var(--ink);
  width: 100%; max-width: 440px;
  border-radius: 20px 20px 0 0;
  padding: 20px 18px max(18px, env(safe-area-inset-bottom));
  box-shadow: var(--shadow-2);
}
.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(--danger-ink); }
@media (min-width: 600px) {
  .mod-sheet { align-items: center; }
  .mod-card { border-radius: 20px; }
}
