.teacher-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.teacher-controls span { margin-right: auto; color: var(--muted); font-size: 16px; }
.teacher-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.teacher-controls button:disabled { opacity: .45; cursor: default; }
.profiles {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin-top: 10px;
  padding: 2px 0 10px;
}
.profile {
  flex: 0 0 clamp(248px, 86%, 360px);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.profile img {
  float: left;
  width: 68px;
  height: 76px;
  margin: 0 12px 10px 0;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 10px;
  display: block;
}
.profile h3 { margin: 0 0 4px; font-size: 23px; line-height: 1.2; }
.profile strong { display: block; font-size: 16px; line-height: 1.35; }
.profile p { clear: both; margin: 10px 0 0; font-size: 17px; line-height: 1.55; }
