/* Live classes card: a class call built from the real meeting room (header, tile grid, focus layout, breakout rooms, control bar) */
:is(body.page-lab-card-live-classes, body.page-schools) #students .mini.lc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px;
  font-size: 12px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 2px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fbe1d6;
  color: #b3261e;
  font-size: 11.5px;
  font-weight: 600;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d93025;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-top b {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-st {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: opacity 0.3s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-st.out {
  opacity: 0;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  transition: opacity 0.4s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.reset .lc-stage {
  opacity: 0;
}
/* tiles: one size, moved and scaled by the script */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-t {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--tw, 110px);
  height: var(--th, 78px);
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fffaf2;
  box-shadow: inset 0 0 0 2px transparent;
  transform-origin: 0 0;
  transform: translate(var(--x, 0), var(--y, 0)) scale(var(--s, 1));
  transition:
    transform 0.8s var(--ease),
    opacity 0.45s ease,
    box-shadow 0.3s ease;
  z-index: 2;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-t.talk {
  box-shadow: inset 0 0 0 2px var(--orange);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-new {
  opacity: 0;
  scale: 0.92;
  transition:
    transform 0.8s var(--ease),
    opacity 0.45s ease,
    scale 0.5s var(--ease),
    box-shadow 0.3s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.admitted .lc-new {
  opacity: 1;
  scale: 1;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-t {
  place-items: start center;
  align-content: center;
  gap: 3px;
  grid-template-rows: auto auto;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-av {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: visible;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-t span {
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: var(--ink);
  transition: opacity 0.3s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.s-share .lc-t span {
  opacity: 0;
}
/* little people: a slow head tilt and a blink each, the one talking nods */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-av .hd {
  transform-origin: 24px 32px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-av .ey {
  transform-origin: 24px 23px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.play .lc-av .hd {
  animation: lc-tilt var(--hd, 4s) ease-in-out var(--hdl, 0s) infinite;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.play .lc-av .ey {
  animation: lc-blink var(--bl, 4.6s) linear var(--hdl, 0s) infinite;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.play .lc-t.talk .lc-av .hd {
  animation: lc-nod 1.1s ease-in-out infinite;
}
@keyframes lc-tilt {
  0%,
  100% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(-6deg);
  }
  65% {
    transform: rotate(5deg) translateY(0.4px);
  }
}
@keyframes lc-nod {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  35% {
    transform: rotate(2deg) translateY(1.1px);
  }
  70% {
    transform: rotate(-1deg) translateY(-0.3px);
  }
}
@keyframes lc-blink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.1);
  }
}
/* the shared lesson: a slide with real stacked fractions */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--slh, 118px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 10px;
  background: #fffaf2;
  opacity: 0;
  transform: scale(0.96);
  transform-origin: 50% 0;
  transition:
    opacity 0.5s ease,
    transform 0.8s var(--ease);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.s-share .lc-slide {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-slide small {
  position: absolute;
  left: 12px;
  top: 9px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--orange);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-rule {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-eq {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-eq > b {
  font-weight: 500;
  color: var(--muted);
}
:is(body.page-lab-card-live-classes, body.page-schools) .fr {
  display: inline-grid;
  justify-items: center;
  line-height: 1.05;
}
:is(body.page-lab-card-live-classes, body.page-schools) .fr i {
  font-style: normal;
  padding: 0 2px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .fr i + i {
  box-shadow: inset 0 1.6px 0 currentColor;
  padding-top: 2px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .fr.fl {
  color: var(--orange);
}
:is(body.page-lab-card-live-classes, body.page-schools) .ans {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 19px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .ans .fr {
  font-size: 13px;
}
/* breakout rooms */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-room {
  position: absolute;
  top: 0;
  left: calc(var(--r) * (var(--rw, 110px) + 6px));
  width: var(--rw, 110px);
  height: 100%;
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.55);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.45s ease,
    transform 0.6s var(--ease);
  z-index: 1;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-room span {
  position: absolute;
  left: 9px;
  top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.s-rooms .lc-room {
  opacity: 1;
  transform: none;
}
/* waiting room and the bring-back button live in the header */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-top {
  position: relative;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-wait {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-wait .lc-av {
  width: 20px;
  height: 20px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-wait strong {
  font-weight: 600;
  color: var(--ink);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-wait em {
  font-style: normal;
  margin-left: 2px;
  padding: 3px 9px;
  border-radius: 7px;
  background: #fbe3cc;
  color: var(--orange);
  font-size: 11.5px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.waiting .lc-wait {
  opacity: 1;
  transform: translateY(-50%);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.waiting .lc-st {
  opacity: 0;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.press-admit .lc-wait em {
  background: var(--orange);
  color: #fff;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-back {
  font-style: normal;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-back {
  font-style: normal;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-back {
  position: absolute;
  right: 0;
  top: 50%;
  padding: 3px 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  transition:
    opacity 0.3s ease,
    transform 0.3s var(--ease),
    filter 0.2s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.show-back .lc-back {
  opacity: 1;
  transform: translateY(-50%);
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.show-back .lc-st {
  opacity: 0;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.press-back .lc-back {
  transform: translateY(-50%) scale(0.94);
  filter: brightness(0.88);
}
/* control bar, from the real meeting control bar */
:is(body.page-lab-card-live-classes, body.page-schools) .lc-ctl {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 6px;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-ctl span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fffaf2;
  color: var(--ink);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-ctl svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-ctl .c-end {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: #d93025;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc.s-share .c-share,
:is(body.page-lab-card-live-classes, body.page-schools) .lc.s-rooms .c-rooms {
  background: var(--orange);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  :is(body.page-lab-card-live-classes, body.page-schools) .lc * {
    transition: none !important;
  }
}
/* narrow cards: the waiting knock takes the class name's place, the slide tightens */
:is(body.page-lab-card-live-classes, body.page-schools) .mini.lc {
  container-type: inline-size;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-top b {
  transition: opacity 0.3s ease;
}
:is(body.page-lab-card-live-classes, body.page-schools) .lc-rule {
  white-space: nowrap;
}
@container (max-width:360px) {
  :is(body.page-lab-card-live-classes, body.page-schools) .lc.waiting .lc-top b {
    opacity: 0;
  }
  :is(body.page-lab-card-live-classes, body.page-schools) .lc-slide {
    padding-top: 14px;
    gap: 6px;
  }
  :is(body.page-lab-card-live-classes, body.page-schools) .lc-eq {
    gap: 6px;
    font-size: 15px;
  }
  :is(body.page-lab-card-live-classes, body.page-schools) .ans {
    font-size: 16px;
    padding: 3px 7px;
  }
  :is(body.page-lab-card-live-classes, body.page-schools) .lc-rule {
    font-size: 11px;
  }
}
