.study-tools .autoplay-control {
  display:flex; align-items:center; gap:7px; margin:0 0 0 auto;
  min-height:48px; padding:0; white-space:nowrap; cursor:pointer;
  color:#5d606c; font:500 13px/1.4 var(--sans);
}
.study-tools .autoplay-control input {
  appearance:none; -webkit-appearance:none; flex:0 0 30px;
  position:relative; width:30px; height:18px; padding:0; margin:0;
  border:0; border-radius:10px; background:#babdc5; cursor:pointer;
}
.study-tools .autoplay-control input::after {
  content:""; position:absolute; width:12px; height:12px; top:3px; left:3px;
  border-radius:50%; background:white; transition:transform 140ms ease;
}
.study-tools .autoplay-control input:checked { background:var(--purple,#5341b2); }
.study-tools .autoplay-control input:checked::after { transform:translateX(12px); }
.study-tools .autoplay-control input:focus-visible { outline:2px solid #5341b2; outline-offset:3px; }
@media(max-width:900px) {
  .study-tools { gap:12px; }
  .study-tools .autoplay-control { font-size:12px; gap:6px; }
}
@media(prefers-reduced-motion:reduce) {
  .study-tools .autoplay-control input::after { transition:none; }
}
