/* 3.8.8: fixed classroom tools, centred next lesson and right-side board exit. */
.sp-board-return-to-lesson{
  right:18px!important;
  left:auto!important;
}
.sp-class-panel[data-class-panel="board"] .sp-board-heading{
  left:22px!important;
}
.sp-current-lesson .sp-class-next-lesson{
  display:flex!important;
  width:min(440px,100%)!important;
  margin:28px auto 0!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  text-align:center!important;
}
.sp-current-lesson .sp-class-next-lesson>span,
.sp-current-lesson .sp-class-next-lesson>strong,
.sp-current-lesson .sp-class-next-lesson>p{
  width:100%!important;
  margin-right:0!important;
  margin-left:0!important;
  text-align:center!important;
}
.sp-class-sidebar{
  position:sticky!important;
  z-index:200!important;
  top:0!important;
  align-self:start!important;
  width:72px!important;
  height:100vh!important;
  height:100dvh!important;
  max-height:100dvh!important;
  overflow:visible!important;
  flex-wrap:nowrap!important;
}
.sp-class-sidebar>a,
.sp-class-sidebar>button{
  flex:0 0 auto!important;
}
@media(max-width:480px){
  .sp-board-return-to-lesson{right:10px!important;left:auto!important}
  .sp-class-sidebar{width:62px!important}
}
