/* Dừng thi vì rời màn — CSS app giáo viên (biến từ app.css). */

/* Ô «Tự nộp khi rời màn quá N lần» dưới công tắc ghi nhận rời màn */
.asn-away-limit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 8px 0 0 0;
  padding: 12px 14px;
  border-radius: var(--r, 12px);
  background: color-mix(in srgb, var(--amber) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--amber) 28%, var(--border));
}
.asn-away-limit > span {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}
.asn-away-limit .cell-input {
  width: 4.5rem;
  min-width: 4.5rem;
  text-align: center;
}
.asn-away-limit-hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  flex-basis: 100%;
}

/* Ghế / ô «Đã dừng» */
.seat.st-stopped {
  background: color-mix(in srgb, var(--red) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--red) 40%, var(--border));
}
.seat.st-stopped .ring-fg { stroke: var(--red); }
.seat.st-stopped .seat-bar i { background: var(--red); }
.seat.st-stopped .seat-sub { color: var(--red); font-weight: 600; }
.mon-tile.st-stopped::before { background: var(--red); }
.mon-tile.st-stopped {
  background: color-mix(in srgb, var(--red) 12%, var(--surface));
}

/* Nhãn trạng thái bảng điểm */
.asg-st-stopped,
.pill.stopped,
.badge.stopped {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, var(--surface));
  border-color: color-mix(in srgb, var(--red) 30%, var(--border));
}

.mon-att-stop { color: var(--red); font-weight: 600; }

/* Trang giao bài: nhãn hình thức đã chọn sẵn (17/11) */
.asn-mode { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.asn-mode-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.asn-mode-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
