/* Teachers page. The five teacher cards are copies of the approved lab cards
   (lab-card-teacher-assistant, class-data, textbook-builder, live-classes, assignment-overview),
   rescoped from body.page-teachers .tcx to .tcx. Re-run the port if a lab card changes. */
body.page-teachers .tcx .stu-head {
  align-items: start;
}
body.page-teachers .tcx .stu-head > div + div {
  padding-top: var(--stu-off, 33px);
}
@media (max-width: 1024px) {
  body.page-teachers .tcx .stu-head > div + div {
    padding-top: 0;
  }
}
body.page-teachers .tcx h2 + .lede {
  margin-top: 10px;
}
body.page-teachers .tcx .langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
body.page-teachers .tcx .lang {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(18, 24, 21, 0.05);
  font-size: 14px;
  line-height: 1.3;
  color: var(--body);
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
body.page-teachers .tcx button.lang {
  border: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
body.page-teachers .tcx .lang:not(.is-on):hover {
  background: rgba(18, 24, 21, 0.1);
  color: var(--ink);
}
body.page-teachers .tcx .lang:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-teachers .tcx .lang.is-on {
  background: var(--orange);
  color: var(--paper);
}
body.page-teachers .tcx .tchip {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(18, 24, 21, 0.05);
  font-size: 14px;
  line-height: 1.3;
  color: var(--body);
}
body.page-teachers .tcx .langs-more {
  align-self: center;
  margin-left: 6px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
body.page-teachers .tcx .fcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 4.5vw, 64px);
}
body.page-teachers .tcx .fcard {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 22px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 32px -28px rgba(120, 50, 0, 0.2);
  color: inherit;
  text-decoration: none;
}
body.page-teachers .tcx .fcard h3 {
  margin: 20px 12px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-teachers .tcx .fcard p {
  margin: 4px 12px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
body.page-teachers .tcx .mini {
  position: relative;
  height: 168px;
  border-radius: 11px;
  background: #fcf1e1;
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
}
body.page-teachers .tcx .mini [data-t] {
  transition: opacity 0.3s ease;
}
body.page-teachers .tcx .swap [data-t] {
  opacity: 0;
}
/* mini frames: cream, almost no white */
body.page-teachers .tcx {
  --gray: rgba(255, 255, 255, 0.72);
}
body.page-teachers .tcx .mini {
  position: relative;
  height: 252px;
  padding: 16px;
  background: #f6ead8;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  font-size: 14px;
  color: var(--ink);
}
body.page-teachers .tcx .swap [data-t] {
  opacity: 0;
}
body.page-teachers .tcx .mini [data-t] {
  transition: opacity 0.4s ease;
}
/* tutor: one big chat in the middle. Question, answer, then the graph arrives and the chat scrolls up to it */
body.page-teachers .tcx .mini.tut {
  display: block;
  padding: 0;
}
body.page-teachers .tcx .tc-stack {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(540px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translate(-50%, var(--y, 0px));
  transition: transform 0.8s var(--ease);
}
body.page-teachers .tcx .tc-q {
  display: flex;
  justify-content: flex-end;
}
body.page-teachers .tcx .tut .bub {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 16px -12px rgba(120, 50, 0, 0.25);
}
body.page-teachers .tcx .tut .bub.me {
  align-self: flex-end;
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .tut .bub {
  font-size: 17px;
  line-height: 1.35;
  padding: 12px 18px;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
}
body.page-teachers .tcx .tut .bub.me {
  max-width: 80%;
  border-radius: 20px;
  border-bottom-right-radius: 6px;
}
body.page-teachers .tcx .tc-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
body.page-teachers .tcx .tc-row img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
}
body.page-teachers .tcx .tc-g {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 168px;
  margin-left: 54px;
  padding: 12px 18px;
  border-radius: 16px;
  border-top-left-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px -16px rgba(120, 50, 0, 0.3);
}
body.page-teachers .tcx .tc-q,
body.page-teachers .tcx .tc-a,
body.page-teachers .tcx .tc-g {
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}
body.page-teachers .tcx .tut:not(.s-q) .tc-q,
body.page-teachers .tcx .tut:not(.s-a) .tc-a,
body.page-teachers .tcx .tut:not(.s-g) .tc-g {
  opacity: 0;
  transform: translateY(12px);
}
body.page-teachers .tcx .tut.s-up .tc-q {
  opacity: 0;
  transform: translateY(-8px);
}
body.page-teachers .tcx .gsvg {
  flex: 1;
  min-width: 0;
  height: 100%;
}
body.page-teachers .tcx .gsvg .gd {
  stroke: rgba(18, 24, 21, 0.09);
  stroke-width: 1;
  fill: none;
}
body.page-teachers .tcx .gsvg .ax {
  stroke: rgba(18, 24, 21, 0.4);
  stroke-width: 1.4;
  fill: none;
}
body.page-teachers .tcx .gsvg .ln {
  stroke: var(--orange);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  transition: stroke-dashoffset 1.2s ease 0.5s;
}
body.page-teachers .tcx .gsvg .pt {
  fill: var(--orange);
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-teachers .tcx .gsvg .p1 {
  transition-delay: 1.1s;
}
body.page-teachers .tcx .gsvg .p2 {
  transition-delay: 1.5s;
}
body.page-teachers .tcx .gtab {
  flex: none;
  width: 96px;
  display: grid;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
}
body.page-teachers .tcx .gtab div {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 9px;
  background: #f6ead8;
  opacity: 0;
  transform: translateX(8px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .tcx .gtab div.eq {
  opacity: 1;
  transform: none;
  background: none;
  padding: 0 0 2px;
  margin-bottom: 2px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--orange);
}
body.page-teachers .tcx .gtab div b {
  color: var(--orange);
}
body.page-teachers .tcx .gtab .r1 {
  transition-delay: 1s;
}
body.page-teachers .tcx .gtab .r2 {
  transition-delay: 1.4s;
}
body.page-teachers .tcx .gtab .r3 {
  transition-delay: 1.8s;
}
body.page-teachers .tcx .tut.s-g .gsvg .ln {
  stroke-dashoffset: 0;
}
body.page-teachers .tcx .tut.s-g .gsvg .pt,
body.page-teachers .tcx .tut.s-g .gtab div {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .tut.now * {
  transition: none !important;
}
/* the rotating word keeps its descenders (the g in English) */
body.page-teachers .tcx .cycle {
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
/* lessons: the little up-next card */
body.page-teachers .tcx .ln-up {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.28);
}
body.page-teachers .tcx .ln-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fcf1e1;
}
body.page-teachers .tcx .ln-ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
body.page-teachers .tcx .ln-t {
  flex: 1;
  min-width: 0;
}
body.page-teachers .tcx .ln-k {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .tcx .ln-h {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 1px 0 6px;
}
body.page-teachers .tcx .ln-bar {
  height: 6px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.08);
  overflow: hidden;
}
body.page-teachers .tcx .ln-bar i {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 5px;
  background: var(--orange);
}
body.page-teachers .tcx .ln-go {
  flex: none;
  padding: 9px 13px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-teachers .tcx .ln-parts {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}
body.page-teachers .tcx .ln-p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 8px;
  font-size: 14px;
  color: var(--ink);
}
body.page-teachers .tcx .ln-i {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body.page-teachers .tcx .ln-p small {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(18, 24, 21, 0.06);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .ln-st {
  position: relative;
  margin-left: auto;
  display: grid;
  place-items: center;
  justify-items: end;
  min-width: 58px;
  height: 26px;
}
body.page-teachers .tcx .ln-st > * {
  grid-area: 1/1;
}
body.page-teachers .tcx .ln-start {
  padding: 4px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .ln-ck {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
}
body.page-teachers .tcx .ln-ck::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 4.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body.page-teachers .tcx .ln-p.done .ln-start {
  opacity: 0;
}
body.page-teachers .tcx .ln-p.done .ln-ck {
  opacity: 1;
}
body.page-teachers .tcx .ln-p.done .ln-l {
  color: var(--muted);
}
body.page-teachers .tcx .ln-p.nxt .ln-start {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.16);
}
/* ---- Lessons card: cropped real-screen sheet (banner + roadmap), no nested boxes ---- */
body.page-teachers .tcx .ln2 {
  padding: 0;
  justify-content: flex-start;
  background: #f3e3cc;
}
body.page-teachers .tcx .ln2-sheet {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  bottom: -24px;
  border-radius: 14px 14px 0 0;
  background: #fffdf9;
  box-shadow: 0 10px 28px -16px rgba(120, 50, 0, 0.35);
}
body.page-teachers .tcx .ln2-up {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px 18px 20px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(100deg, #fbeedd, #fffdf9 75%);
}
body.page-teachers .tcx .ln2-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.07);
}
body.page-teachers .tcx .ln2-ico img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
body.page-teachers .tcx .ln2-t {
  flex: 1;
  min-width: 0;
}
body.page-teachers .tcx .ln2-k {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .tcx .ln2-h {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1px 0 7px;
}
body.page-teachers .tcx .ln2-bar {
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.09);
  overflow: hidden;
}
body.page-teachers .tcx .ln2-bar i {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 5px;
  background: var(--orange);
}
body.page-teachers .tcx .ln2-go {
  flex: none;
  padding: 8px 13px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-teachers .tcx .ln2-road {
  display: grid;
  gap: 6px;
  padding: 10px 10px 0;
}
body.page-teachers .tcx .ln2-u {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 11px;
}
body.page-teachers .tcx .ln2-u.cur {
  background: #f8efe2;
}
body.page-teachers .tcx .ln2-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1e6d6;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .ln2-u.cur .ln2-n {
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .ln2-x {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
body.page-teachers .tcx .ln2-x b {
  font-size: 14px;
  font-weight: 600;
}
body.page-teachers .tcx .ln2-x em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
body.page-teachers .tcx .ln2-b {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(18, 24, 21, 0.09);
  overflow: hidden;
}
body.page-teachers .tcx .ln2-b s {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--orange);
}
body.page-teachers .tcx .ln2-u.lock {
  opacity: 0.6;
}
body.page-teachers .tcx .ln2-u.lock .ln2-n {
  background: none;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.18);
}
/* practice test: the real runner, one clean card */
body.page-teachers .tcx .mini.pt {
  justify-content: flex-start;
  gap: 0;
  padding: 18px 18px 16px;
}
body.page-teachers .tcx .pt-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
body.page-teachers .tcx .pnx {
  padding: 7px 18px;
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.4;
}
body.page-teachers .tcx .play .pnx {
  animation: k-nx 8s -3.2s infinite;
}
@keyframes k-nx {
  0%,
  32% {
    opacity: 0.4;
  }
  38%,
  90% {
    opacity: 1;
  }
  97%,
  100% {
    opacity: 0.4;
  }
}
body.page-teachers .tcx .pt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .pt-q {
  margin: 8px 0 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
body.page-teachers .tcx .pt-o {
  display: grid;
  gap: 6px;
}
body.page-teachers .tcx .pt-o span {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 35px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 15px;
}
body.page-teachers .tcx .pt-o span em {
  font-style: normal;
}
body.page-teachers .tcx .pt-o span::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(18, 24, 21, 0.25);
  box-sizing: border-box;
}
body.page-teachers .tcx .pt-o .ok b {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange);
  opacity: 0;
}
body.page-teachers .tcx .play .pt-o .ok {
  animation: k-opt 8s -3.2s infinite;
}
body.page-teachers .tcx .play .pt-o .ok::before {
  animation: k-rad 8s -3.2s infinite;
}
body.page-teachers .tcx .play .pt-o .ok b {
  animation: k-okm 8s -3.2s infinite;
}
@keyframes k-opt {
  0%,
  24% {
    box-shadow: inset 0 0 0 1.5px transparent;
    background: #fff;
  }
  30%,
  90% {
    box-shadow: inset 0 0 0 1.5px var(--orange);
    background: #fdeedd;
  }
  97%,
  100% {
    box-shadow: inset 0 0 0 1.5px transparent;
    background: #fff;
  }
}
@keyframes k-rad {
  0%,
  24% {
    border-color: rgba(18, 24, 21, 0.25);
    background: transparent;
    box-shadow: none;
  }
  30%,
  90% {
    border-color: var(--orange);
    background: var(--orange);
    box-shadow: inset 0 0 0 2.5px #fff;
  }
  97%,
  100% {
    border-color: rgba(18, 24, 21, 0.25);
    background: transparent;
    box-shadow: none;
  }
}
@keyframes k-okm {
  0%,
  32% {
    opacity: 0;
    transform: translateX(-4px);
  }
  38%,
  90% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
  }
}
body.page-teachers .tcx .pt-seg {
  display: flex;
  gap: 4px;
  align-items: center;
}
body.page-teachers .tcx .pt-seg i {
  width: 18px;
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.1);
}
body.page-teachers .tcx .pt-seg i.on {
  background: var(--orange);
}
body.page-teachers .tcx .play .pt-seg i.cu {
  animation: k-seg 8s -3.2s infinite;
}
@keyframes k-seg {
  0%,
  34% {
    background: rgba(18, 24, 21, 0.1);
  }
  40%,
  90% {
    background: var(--orange);
  }
  97%,
  100% {
    background: rgba(18, 24, 21, 0.1);
  }
}
/* pronunciation: the sentence they said, then the flagged word sound by sound */
body.page-teachers .tcx .mini.pr {
  justify-content: center;
  gap: 0;
  padding: 18px;
}
body.page-teachers .tcx .pr-k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .pr-k b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
body.page-teachers .tcx .pr-say {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
body.page-teachers .tcx .pr-say .bad {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--orange);
}
body.page-teachers .tcx .pr-bd {
  margin-top: 18px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}
body.page-teachers .tcx .pr-bh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .pr-bh strong {
  font-size: 15px;
  color: var(--orange);
}
body.page-teachers .tcx .pr-ph {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
body.page-teachers .tcx .pr-ph div {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 8px 4px 7px;
  border-radius: 9px;
  background: #fcf1e1;
}
body.page-teachers .tcx .pr-ph em {
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
body.page-teachers .tcx .pr-ph span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
body.page-teachers .tcx .pr-ph div.lo {
  background: var(--orange);
}
body.page-teachers .tcx .pr-ph div.lo em,
body.page-teachers .tcx .pr-ph div.lo span {
  color: #fff;
}
body.page-teachers .tcx .play .pr-say span {
  animation: k-word 14s infinite;
  animation-delay: calc(var(--i) * 0.35s - 3.4s);
}
body.page-teachers .tcx .play .pr-say .bad {
  animation:
    k-word 14s infinite,
    k-ul 14s infinite;
  animation-delay:
    calc(var(--i) * 0.35s - 3.4s),
    -3.4s;
}
body.page-teachers .tcx .play .pr-bd {
  animation: k-bd 14s -3.4s infinite;
}
body.page-teachers .tcx .play .pr-ph div {
  animation: k-phd 14s infinite;
  animation-delay: calc(var(--i) * 0.15s - 3.4s);
}
@keyframes k-word {
  0% {
    opacity: 0.25;
  }
  4%,
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0.25;
  }
}
@keyframes k-ul {
  0%,
  12% {
    text-decoration-color: transparent;
    color: var(--ink);
  }
  15%,
  94% {
    text-decoration-color: var(--orange);
    color: var(--orange);
  }
  100% {
    text-decoration-color: transparent;
    color: var(--ink);
  }
}
@keyframes k-bd {
  0%,
  13% {
    opacity: 0;
    transform: translateY(10px);
  }
  18%,
  94% {
    opacity: 1;
    transform: none;
  }
  99%,
  100% {
    opacity: 0;
  }
}
@keyframes k-phd {
  0%,
  16% {
    opacity: 0;
    transform: translateY(6px);
  }
  21%,
  94% {
    opacity: 1;
    transform: none;
  }
  99%,
  100% {
    opacity: 0;
  }
}
/* game: the real Platform Pals from the marketing site, answering a curriculum question to revive */
body.page-teachers .tcx .mini.gx {
  padding: 0;
  gap: 0;
  background: #cfe3f2;
}
body.page-teachers .tcx .gx video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* more */
body.page-teachers .tcx .mini.m-more {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
  gap: 9px;
}
body.page-teachers .tcx .m-more span {
  padding: 10px 15px;
  border-radius: 11px;
  background: var(--paper);
  font-size: 15px;
}
body.page-teachers .tcx .fcard.more h3 .arr {
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
body.page-teachers .tcx .fcard.more:hover h3 .arr {
  transform: translateX(4px);
}
@media (max-width: 1024px) {
  body.page-teachers .tcx .fcards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  body.page-teachers .tcx .fcards {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .tcx .ask,
  body.page-teachers .tcx .rep {
    opacity: 1;
  }
  body.page-teachers .tcx .gtab div {
    opacity: 1;
  }
  body.page-teachers .tcx .pr-issue,
  body.page-teachers .tcx .gsvg .pt,
  body.page-teachers .tcx .gsvg text {
    opacity: 1;
  }
  body.page-teachers .tcx .gsvg .ln {
    stroke-dashoffset: 0;
  }
}
/* ---- 2+1 / 1+1+1 layout, wide tutor, cards open on their finished frame ---- */
body.page-teachers .tcx .langs {
  gap: 5px;
  margin-top: 24px;
}
body.page-teachers .tcx .langs-more {
  margin-left: 2px;
}
body.page-teachers .tcx .lang,
body.page-teachers .tcx button.lang {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
}
body.page-teachers .tcx .langs-more {
  font-size: 15px;
}
body.page-teachers .tcx .fcard.wide {
  grid-column: span 2;
}
body.page-teachers .tcx .fcard p {
  text-wrap: pretty;
}
body.page-teachers .tcx .stu-more {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 0 12px;
}
body.page-teachers .tcx .stu-more a {
  flex: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
body.page-teachers .tcx .stu-more a .arr {
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
body.page-teachers .tcx .stu-more a:hover .arr {
  transform: translateX(4px);
}
body.page-teachers .tcx .stu-also {
  font-size: 15px;
  color: var(--muted);
  transition: opacity 0.4s ease;
}
@media (max-width: 600px) {
  body.page-teachers .tcx .fcard.wide {
    grid-column: auto;
  }
  body.page-teachers .tcx .tc-g {
    margin-left: 0;
    gap: 10px;
    padding: 10px 12px;
  }
  body.page-teachers .tcx .gtab {
    width: 84px;
  }
  body.page-teachers .tcx .tut .bub {
    font-size: 15.5px;
  }
}

body.page-teachers .tcx .ta {
  position: relative;
  display: block;
  padding: 0;
  background: #f6ead8;
}
body.page-teachers .tcx .ta-empty,
body.page-teachers .tcx .ta-chat {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  bottom: 70px;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
body.page-teachers .tcx .ta-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
body.page-teachers .tcx .ta-hero {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .tcx .ta-h {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
body.page-teachers .tcx .ta-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 3px;
}
body.page-teachers .tcx .ta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 13px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.12);
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
body.page-teachers .tcx .ta-pill img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
body.page-teachers .tcx .ta-pill.hit {
  box-shadow: 0 0 0 1.5px var(--orange);
  transform: scale(0.96);
}
body.page-teachers .tcx .ta-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
}
body.page-teachers .tcx .ta-me {
  align-self: flex-end;
  max-width: 72%;
  padding: 8px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
body.page-teachers .tcx .ta-ai {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
body.page-teachers .tcx .ta-av {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff;
}
body.page-teachers .tcx .ta-re {
  position: relative;
  padding: 8px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  min-width: 62px;
}
body.page-teachers .tcx .ta-dots {
  display: flex;
  gap: 4px;
  padding: 5px 0;
}
body.page-teachers .tcx .ta-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 24, 21, 0.35);
  animation: ta-d 1s infinite;
}
body.page-teachers .tcx .ta-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-teachers .tcx .ta-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes ta-d {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
body.page-teachers .tcx .ta-say,
body.page-teachers .tcx .ta-file {
  display: none;
}
body.page-teachers .tcx .ta-file {
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 7px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6ead8;
  font-size: 13px;
}
body.page-teachers .tcx .ta-file b {
  font-weight: 600;
}
body.page-teachers .tcx .ta-acts {
  display: flex;
  gap: 6px;
  width: 100%;
  margin-top: 2px;
}
body.page-teachers .tcx .ta-acts em {
  font-style: normal;
  padding: 4px 10px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}
body.page-teachers .tcx .ta-acts em.pri {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
body.page-teachers .tcx .ta-file img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
body.page-teachers .tcx .ta-file small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
body.page-teachers .tcx .ta.s-chat .ta-empty {
  opacity: 0;
  transform: translateY(-10px);
}
body.page-teachers .tcx .ta.s-chat .ta-chat {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .ta.s-me .ta-me,
body.page-teachers .tcx .ta.s-ai .ta-ai {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .ta.s-say .ta-dots {
  display: none;
}
body.page-teachers .tcx .ta.s-say .ta-say {
  display: block;
}
body.page-teachers .tcx .ta.s-say .ta-file {
  display: flex;
  animation: ta-pop 0.4s ease both;
}
@keyframes ta-pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
body.page-teachers .tcx .ta-in {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 7px 0 16px;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.1);
}
body.page-teachers .tcx .ta-ph,
body.page-teachers .tcx .ta-txt {
  flex: 1;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .tcx .ta-txt {
  color: var(--ink);
  display: none;
}
body.page-teachers .tcx .ta.typing .ta-ph {
  display: none;
}
body.page-teachers .tcx .ta.typing .ta-txt {
  display: block;
}
body.page-teachers .tcx .ta-go {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.45;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
body.page-teachers .tcx .ta.typing .ta-go {
  opacity: 1;
}
body.page-teachers .tcx .ta-go.hit {
  transform: scale(0.88);
}
body.page-teachers .tcx .ta-go svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .tcx .ta-cur {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.45, 0, 0.2, 1),
    opacity 0.3s;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
@media (max-width: 600px) {
  body.page-teachers .tcx .ta-pill {
    font-size: 12.5px;
    padding: 0 8px;
    gap: 5px;
  }
  body.page-teachers .tcx .ta-pill img {
    width: 16px;
    height: 16px;
  }
  body.page-teachers .tcx .ta-pills {
    gap: 6px;
  }
  body.page-teachers .tcx .ta-me {
    max-width: 88%;
  }
  body.page-teachers .tcx .ta-h {
    font-size: 20px;
  }
}

/* Class data card: the class list, then one student's strengths and difficulties */
body.page-teachers .tcx .mini.cd {
  display: block;
  padding: 0;
  background: #f6ead8;
}
body.page-teachers .tcx .cd-v {
  position: absolute;
  inset: 0;
  padding: 15px 14px;
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
}
body.page-teachers .tcx .cd-one {
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
}
body.page-teachers .tcx .cd.s-one .cd-list {
  opacity: 0;
  transform: translateX(-24px);
}
body.page-teachers .tcx .cd.s-one .cd-one {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .cd-av {
  flex: none;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
}
body.page-teachers .tcx .cd-av svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* list */
body.page-teachers .tcx .cd-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 6px 8px;
  font-size: 14px;
}
body.page-teachers .tcx .cd-hd b {
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.page-teachers .tcx .cd-hd span {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-teachers .tcx .cd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px 0 6px;
  border-radius: 10px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
body.page-teachers .tcx .cd-nm {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
body.page-teachers .tcx .cd-nm b {
  font-size: 14px;
  font-weight: 600;
}
body.page-teachers .tcx .cd-nm small {
  font-size: 12px;
  color: var(--muted);
}
body.page-teachers .tcx .cd-row.warn small {
  color: #b04600;
  font-weight: 600;
}
body.page-teachers .tcx .cd-g {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
body.page-teachers .tcx .cd-row.warn .cd-g {
  color: #b04600;
}
body.page-teachers .tcx .cd-row.hit {
  background: #fff;
  transform: scale(0.98);
}
/* one student */
body.page-teachers .tcx .cd-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .tcx .cd-bk {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: -4px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
body.page-teachers .tcx .cd-bk svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .tcx .cd-bk.hit {
  background: #fff;
}
body.page-teachers .tcx .cd-pic .cd-av {
  width: 40px;
  height: 40px;
}
body.page-teachers .tcx .cd-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
body.page-teachers .tcx .cd-who b {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
body.page-teachers .tcx .cd-who small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
body.page-teachers .tcx .cd-chip {
  flex: none;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(18, 24, 21, 0.07);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .cd-chip.warn {
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .cd-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 14px;
}
body.page-teachers .tcx .cd-col {
  padding: 12px 11px 14px;
  border-radius: 12px;
  background: #fff;
}
body.page-teachers .tcx .cd-lb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
body.page-teachers .tcx .cd-tp + .cd-tp {
  margin-top: 12px;
}
body.page-teachers .tcx .cd-tl {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  letter-spacing: -0.01em;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
body.page-teachers .tcx .cd-tv {
  font-variant-numeric: tabular-nums;
}
body.page-teachers .tcx .cd-bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(18, 24, 21, 0.08);
  overflow: hidden;
}
body.page-teachers .tcx .cd-bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.35s;
}
body.page-teachers .tcx .cd-col.bad .cd-bar i {
  background: var(--orange);
}
body.page-teachers .tcx .cd-col.bad .cd-tv {
  color: #b04600;
}
body.page-teachers .tcx .cd.s-one .cd-bar i {
  transform: scaleX(var(--v));
}
body.page-teachers .tcx .cd-why {
  margin-top: 12px;
  padding: 0 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--body);
}
body.page-teachers .tcx .cd-why b {
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .cd.now * {
  transition: none !important;
}
@media (max-width: 600px) {
  body.page-teachers .tcx .cd-tl {
    white-space: normal;
    line-height: 1.15;
  }
  body.page-teachers .tcx .cd-tl img {
    width: 20px;
    height: 20px;
  }
  body.page-teachers .tcx .cd-tp + .cd-tp {
    margin-top: 9px;
  }
  body.page-teachers .tcx .cd-chip {
    padding: 3px 7px;
    font-size: 11.5px;
  }
  body.page-teachers .tcx .cd-top {
    gap: 8px;
  }
  body.page-teachers .tcx .cd-col {
    padding: 12px 11px 14px;
  }
  body.page-teachers .tcx .cd-tp + .cd-tp {
    margin-top: 11px;
  }
  body.page-teachers .tcx .cd-why {
    margin-top: 11px;
  }
}
body.page-teachers .tcx .cd-lb img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
body.page-teachers .tcx .cd-tl {
  align-items: center;
}
body.page-teachers .tcx .cd-tl img {
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
body.page-teachers .tcx .cd-tn {
  flex: 1;
  min-width: 0;
  line-height: 1.15;
}
body.page-teachers .tcx .cd-tv {
  flex: none;
}

/* Textbook builder card: the finished book (real Textbook screen layout), photographed book with the cover type set in HTML */
body.page-teachers .tcx .mini.tb {
  display: block;
  padding: 0;
}
body.page-teachers .tcx .tb-book {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px 16px 16px;
}
body.page-teachers .tcx .tb-cover {
  position: relative;
  flex: none;
  width: 128px;
  aspect-ratio: 380/550;
}
body.page-teachers .tcx .tb-cover img {
  display: block;
  width: 100%;
  height: 100%;
}
/* the cover face inside the photo: a 300x450 sheet mapped onto the turned cover's corners, so the type follows the book; type in HTML so it switches language */
body.page-teachers .tcx .tb-st {
  position: absolute;
  left: 0;
  top: 0;
  width: 380px;
  height: 550px;
  transform-origin: 0 0;
  transform: scale(calc(128 / 380));
}
body.page-teachers .tcx .tb-face {
  position: absolute;
  left: 0;
  top: 0;
  width: 300px;
  height: 450px;
  transform-origin: 0 0;
  transform: matrix3d(
    1.1437064,
    -0.026204004,
    0,
    4.2060276e-5,
    -0.00026804596,
    1.1424615,
    0,
    -9.9276283e-6,
    0,
    0,
    1,
    0,
    27,
    19,
    0,
    1
  );
  display: flex;
  flex-direction: column;
  padding: 38px 30px 36px 36px;
  box-sizing: border-box;
  color: #fff;
  opacity: 0.93;
}
body.page-teachers .tcx .tb-face small {
  font-size: 24px;
  line-height: 1.2;
  opacity: 0.75;
}
body.page-teachers .tcx .tb-face strong {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
body.page-teachers .tcx .tb-face .tb-mk {
  margin-top: auto;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}
body.page-teachers .tcx .tb-face em {
  margin-top: 14px;
  width: 90px;
  height: 7px;
  border-radius: 4px;
  background: #fff3e6;
}
body.page-teachers .tcx .tb-face[dir='rtl'] {
  text-align: right;
}
body.page-teachers .tcx .tb-face[dir='rtl'] em {
  margin-left: auto;
}
body.page-teachers .tcx .tb-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
body.page-teachers .tcx .tb-meta b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
body.page-teachers .tcx .tb-meta > span {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-teachers .tcx .tb-meta .tb-ok {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding: 3px 9px 3px 7px;
  border-radius: 7px;
  background: #dcf3e2;
  font-size: 11.5px;
  font-weight: 600;
  color: #1d7a3e;
}
body.page-teachers .tcx .tb-ok::before {
  content: '';
  width: 4px;
  height: 8px;
  margin: 0 3px 2px 2px;
  border: solid currentColor;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
body.page-teachers .tcx .tb-dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
body.page-teachers .tcx .tb-dl span {
  padding: 6px 11px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.16);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-teachers .tcx .tb-dl .pv {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
}
@media (max-width: 600px) {
  body.page-teachers .tcx .tb-book {
    gap: 14px;
    padding: 16px;
  }
  body.page-teachers .tcx .tb-cover {
    width: 112px;
  }
  body.page-teachers .tcx .tb-st {
    transform: scale(calc(112 / 380));
  }
}

/* Live classes card: a class call built from the real meeting room (header, tile grid, focus layout, breakout rooms, control bar) */
body.page-teachers .tcx .mini.lc {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px;
  font-size: 12px;
}
body.page-teachers .tcx .lc-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
  padding: 0 2px;
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d93025;
}
body.page-teachers .tcx .lc-top b {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.page-teachers .tcx .lc-st {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: opacity 0.3s ease;
}
body.page-teachers .tcx .lc-st.out {
  opacity: 0;
}
body.page-teachers .tcx .lc-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  transition: opacity 0.4s ease;
}
body.page-teachers .tcx .lc.reset .lc-stage {
  opacity: 0;
}
/* tiles: one size, moved and scaled by the script */
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc-t.talk {
  box-shadow: inset 0 0 0 2px var(--orange);
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc.admitted .lc-new {
  opacity: 1;
  scale: 1;
}
body.page-teachers .tcx .lc-t {
  place-items: start center;
  align-content: center;
  gap: 3px;
  grid-template-rows: auto auto;
}
body.page-teachers .tcx .lc-av {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: visible;
}
body.page-teachers .tcx .lc-t span {
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: var(--ink);
  transition: opacity 0.3s ease;
}
body.page-teachers .tcx .lc.s-share .lc-t span {
  opacity: 0;
}
/* little people: a slow head tilt and a blink each, the one talking nods */
body.page-teachers .tcx .lc-av .hd {
  transform-origin: 24px 32px;
}
body.page-teachers .tcx .lc-av .ey {
  transform-origin: 24px 23px;
}
body.page-teachers .tcx .lc.play .lc-av .hd {
  animation: lc-tilt var(--hd, 4s) ease-in-out var(--hdl, 0s) infinite;
}
body.page-teachers .tcx .lc.play .lc-av .ey {
  animation: lc-blink var(--bl, 4.6s) linear var(--hdl, 0s) infinite;
}
body.page-teachers .tcx .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 */
body.page-teachers .tcx .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);
}
body.page-teachers .tcx .lc.s-share .lc-slide {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
body.page-teachers .tcx .lc-slide small {
  position: absolute;
  left: 12px;
  top: 9px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .tcx .lc-rule {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
}
body.page-teachers .tcx .lc-eq {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .lc-eq > b {
  font-weight: 500;
  color: var(--muted);
}
body.page-teachers .tcx .fr {
  display: inline-grid;
  justify-items: center;
  line-height: 1.05;
}
body.page-teachers .tcx .fr i {
  font-style: normal;
  padding: 0 2px;
}
body.page-teachers .tcx .fr i + i {
  box-shadow: inset 0 1.6px 0 currentColor;
  padding-top: 2px;
}
body.page-teachers .tcx .fr.fl {
  color: var(--orange);
}
body.page-teachers .tcx .ans {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 19px;
}
body.page-teachers .tcx .ans .fr {
  font-size: 13px;
}
/* breakout rooms */
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc-room span {
  position: absolute;
  left: 9px;
  top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .lc.s-rooms .lc-room {
  opacity: 1;
  transform: none;
}
/* waiting room and the bring-back button live in the header */
body.page-teachers .tcx .lc-top {
  position: relative;
}
body.page-teachers .tcx .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);
}
body.page-teachers .tcx .lc-wait .lc-av {
  width: 20px;
  height: 20px;
}
body.page-teachers .tcx .lc-wait strong {
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc.waiting .lc-wait {
  opacity: 1;
  transform: translateY(-50%);
}
body.page-teachers .tcx .lc.waiting .lc-st {
  opacity: 0;
}
body.page-teachers .tcx .lc.press-admit .lc-wait em {
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .lc-back {
  font-style: normal;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc.show-back .lc-back {
  opacity: 1;
  transform: translateY(-50%);
}
body.page-teachers .tcx .lc.show-back .lc-st {
  opacity: 0;
}
body.page-teachers .tcx .lc.press-back .lc-back {
  transform: translateY(-50%) scale(0.94);
  filter: brightness(0.88);
}
/* control bar, from the real meeting control bar */
body.page-teachers .tcx .lc-ctl {
  flex: none;
  display: flex;
  justify-content: center;
  gap: 6px;
}
body.page-teachers .tcx .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;
}
body.page-teachers .tcx .lc-ctl svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .tcx .lc-ctl .c-end {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  background: #d93025;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
body.page-teachers .tcx .lc.s-share .c-share,
body.page-teachers .tcx .lc.s-rooms .c-rooms {
  background: var(--orange);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .tcx .lc * {
    transition: none !important;
  }
}
/* narrow cards: the waiting knock takes the class name's place, the slide tightens */
body.page-teachers .tcx .mini.lc {
  container-type: inline-size;
}
body.page-teachers .tcx .lc-top b {
  transition: opacity 0.3s ease;
}
body.page-teachers .tcx .lc-rule {
  white-space: nowrap;
}
@container (max-width:360px) {
  body.page-teachers .tcx .lc.waiting .lc-top b {
    opacity: 0;
  }
  body.page-teachers .tcx .lc-slide {
    padding-top: 14px;
    gap: 6px;
  }
  body.page-teachers .tcx .lc-eq {
    gap: 6px;
    font-size: 15px;
  }
  body.page-teachers .tcx .ans {
    font-size: 16px;
    padding: 3px 7px;
  }
  body.page-teachers .tcx .lc-rule {
    font-size: 11px;
  }
}

/* Assignment overview card: a student's chat with the tutor, then the teacher's real "What they showed the tutor" panel (ChatWorkSummary) */
body.page-teachers .tcx .wrap {
  width: 100%;
}
body.page-teachers .tcx .mini.ao {
  display: block;
  padding: 0;
}
body.page-teachers .tcx .ao-chat,
body.page-teachers .tcx .ao-sum {
  position: absolute;
  left: 10px;
  right: 10px;
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ease);
}
/* chat scene */
body.page-teachers .tcx .ao-chat {
  top: 16px;
  bottom: 16px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}
body.page-teachers .tcx .ao-b {
  max-width: 84%;
  padding: 9px 14px;
  border-radius: 17px;
  border-bottom-left-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(120, 50, 0, 0.25);
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--ink);
}
body.page-teachers .tcx .ao-b.me {
  border-radius: 17px;
  border-bottom-right-radius: 6px;
  background: var(--orange);
  color: #fff;
}
body.page-teachers .tcx .ao-r {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
body.page-teachers .tcx .ao-r img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
  box-shadow: 0 0 0 2px #fff;
}
body.page-teachers .tcx [data-s] {
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
/* summary scene: the real panel, white card on the cream frame */
body.page-teachers .tcx .ao-sum {
  top: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px -18px rgba(120, 50, 0, 0.4);
}
body.page-teachers .tcx .ao-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.page-teachers .tcx .ao-h h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
body.page-teachers .tcx .ao-n {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
body.page-teachers .tcx .ao-sum ul {
  list-style: none;
  margin: 10px 0 16px;
  padding: 0;
  display: grid;
  gap: 11px;
}
body.page-teachers .tcx .ao-sum li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.page-teachers .tcx .ao-i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0;
}
body.page-teachers .tcx .ao-i img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .tcx .ao-i .i1 {
  opacity: 0;
  transform: scale(0.4);
}
body.page-teachers .tcx .ao-sum p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.3;
  text-wrap: pretty;
  color: var(--muted);
  transition: color 0.3s ease;
}
body.page-teachers .tcx .ao-sum small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease 0.15s,
    transform 0.45s var(--ease) 0.15s;
}
body.page-teachers .tcx .ao-sum li.on .i0 {
  opacity: 0;
  transform: scale(0.4);
}
body.page-teachers .tcx .ao-sum li.on .i1 {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .ao-sum li.on small {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .ao-sum li.on[data-o='done'] p {
  color: var(--ink);
}
/* scenes: .s-chat shows the chat, .s-sum the panel */
body.page-teachers .tcx .ao.s-sum .ao-chat {
  opacity: 0;
  transform: translateY(-24px);
}
body.page-teachers .tcx .ao:not(.s-sum) .ao-sum {
  opacity: 0;
  transform: translateY(28px);
}
body.page-teachers .tcx .ao.pre [data-s] {
  opacity: 0;
  transform: translateY(10px);
}
body.page-teachers .tcx .ao [data-s].in {
  opacity: 1;
  transform: none;
}
body.page-teachers .tcx .ao.now * {
  transition: none !important;
}
/* whose work this is: the selected student, as in the real student list */
body.page-teachers .tcx .ao-st {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
body.page-teachers .tcx .ao-st b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tcx .ao-ok {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 7px;
  background: #dcf3e2;
  font-size: 11.5px;
  font-weight: 600;
  color: #1d7a3e;
}
/* the real "View Full Conversation" button: pressed at the end of the loop, back to the chat */
body.page-teachers .tcx .ao-go {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  top: 0;
  padding: 7px 13px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}
body.page-teachers .tcx .ao.press .ao-go {
  background: var(--orange);
  color: #fff;
  box-shadow: none;
  transform: scale(0.96);
}
/* the section's own avatars: the illustrated student from the Subject tutor card, its tutor */
body.page-teachers .tcx .ao-r.me {
  justify-content: flex-end;
}
body.page-teachers .tcx .ao-r .ao-b {
  max-width: none;
}
body.page-teachers .tcx .ao-r {
  max-width: 100%;
}
body.page-teachers .tcx .ao-ava {
  flex: none;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
}
body.page-teachers .tcx .ao-ava svg {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-teachers .tcx .ao-st .ao-ava {
  width: 26px;
  height: 26px;
  box-shadow: none;
}
@media (max-width: 600px) {
  body.page-teachers .tcx .ao-b {
    font-size: 14px;
    padding: 9px 13px;
    text-wrap: balance;
  }
  body.page-teachers .tcx .ao-st {
    margin-bottom: 10px;
  }
  body.page-teachers .tcx .ao-sum ul {
    gap: 8px;
    margin-bottom: 12px;
  }
}

/* hero: an iPad running off the right edge of the page (screen left empty for now) */
body.page-teachers .band-hero.side {
  overflow: clip;
}
@media (min-width: 1025px) {
  body.page-teachers .band-hero.side {
    position: relative;
  }
  body.page-teachers .band-hero.side .wrap,
  body.page-teachers .band-hero.side .hero-split {
    position: static;
  }
  body.page-teachers .band-hero.side .hpad {
    position: absolute;
    left: 53.5%;
    top: calc(50% + 25px);
    width: 56.2%;
    translate: 0 -50%;
    margin: 0;
  }
  body.page-teachers .band-hero.side .hero-split > div:first-child {
    translate: var(--tx, 0px) var(--ty, 9px);
  }
}
body.page-teachers .hpad {
  --w: clamp(560px, 48vw, 820px);
  position: relative;
  margin: 0 calc(var(--w) * -0.5) 0 0;
  align-self: center;
  justify-self: end;
  width: var(--w);
  translate: var(--dx, 0px) var(--dy, 0px);
}
body.page-teachers .tuning {
  cursor: grab;
  touch-action: none;
  outline: 2px dashed var(--orange-hi);
  outline-offset: 6px;
}
body.page-teachers .tuning:active {
  cursor: grabbing;
}
body.page-teachers .hpad-tune {
  position: fixed;
  z-index: 9999;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 10px;
  width: 280px;
  padding: 16px;
  border-radius: 14px;
  background: #141414;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
}
body.page-teachers .hpad-tune input {
  width: 100%;
  accent-color: var(--orange-hi);
}
body.page-teachers .hpad-tune code {
  font-family: inherit;
  color: #ffb47a;
}
body.page-teachers .hpad-tune div {
  display: flex;
  gap: 8px;
}
body.page-teachers .hpad-tune button {
  flex: 1;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #141414;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body.page-teachers .hpad-lid {
  aspect-ratio: 1.38;
  padding: clamp(12px, 1.1vw, 18px);
  border-radius: clamp(26px, 2.6vw, 44px);
  background: #1b1c1e;
  box-shadow:
    inset 0 0 0 1.5px #3a3b3e,
    var(--shadow-lg);
}
body.page-teachers .hpad-scr {
  height: 100%;
  border-radius: clamp(14px, 1.5vw, 26px);
  background: #f3f2f0;
}
@media (max-width: 1024px) {
  body.page-teachers .hpad {
    --w: 560px;
    margin: 28px -270px 0 0;
  }
}

/* hero iPad screen: the real teacher Course Curriculum (captured at 1180x855, assets/platform/teacher-curriculum-ipad),
   rebuilt at platform pixel sizes on a fixed canvas and scaled into the screen by --s. Only the dashed links move, as in the app. */
body.page-teachers .hpad-scr {
  position: relative;
  overflow: hidden;
}
body.page-teachers .hp {
  --ink: #0a0a0a;
  --mut: #6a6a6a;
  --line: #e5e5e5;
  --navy: #c44e00;
  position: absolute;
  left: 0;
  top: 0;
  width: 1180px;
  height: 855px;
  transform: scale(var(--s, 0.5));
  transform-origin: 0 0;
  background: #f3f5f4;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
body.page-teachers .hp img {
  display: block;
  object-fit: contain;
}
body.page-teachers .hp svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .hp-side {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 224px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  border-radius: 0 16px 16px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.page-teachers .hp-school {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100px;
  padding: 24px 20px 16px;
}
body.page-teachers .hp-school img {
  flex: none;
  width: 56px;
  height: 56px;
}
body.page-teachers .hp-school b {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.375;
}
body.page-teachers .hp-lbl {
  margin: 0 16px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
}
body.page-teachers .hp-sel {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
body.page-teachers .hp-sel img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .hp-sel b {
  flex: 1;
  font-weight: 700;
}
body.page-teachers .hp-sel svg {
  width: 16px;
  height: 16px;
  color: var(--mut);
}
body.page-teachers .hp-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 12px 12px;
  flex: 1;
}
body.page-teachers .hp-ni {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 51px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}
body.page-teachers .hp-ni img {
  width: 36px;
  height: 36px;
}
body.page-teachers .hp-ni.on {
  background: #e5e9ed;
  color: var(--navy);
  font-weight: 700;
}
body.page-teachers .hp-pow {
  margin: 0;
  padding-bottom: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--mut);
}
body.page-teachers .hp-pow b {
  font-weight: 800;
  color: var(--ink);
}
body.page-teachers .hp-me {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 12px 26px 18px;
  border-top: 1px solid var(--line);
}
body.page-teachers .hp-me > div {
  flex: 1;
  min-width: 0;
  margin-left: 10px;
}
body.page-teachers .hp-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
body.page-teachers .hp-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-teachers .hp-me b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
body.page-teachers .hp-me small {
  display: block;
  font-size: 12px;
  color: var(--mut);
}
body.page-teachers .hp-ic {
  width: 20px;
  height: 20px;
  margin: 12px;
}
body.page-teachers .hp-ic.g {
  opacity: 0.6;
}
body.page-teachers .hp-col {
  position: absolute;
  right: -1px;
  top: 408px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.page-teachers .hp-col svg {
  width: 14px;
  height: 14px;
}
body.page-teachers .hp-head {
  position: absolute;
  left: 235px;
  top: 9px;
  width: 935px;
  height: 87px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.page-teachers .hp-head > img {
  width: 48px;
  height: 48px;
}
body.page-teachers .hp-head > div {
  flex: 1;
  margin-left: 6px;
}
body.page-teachers .hp-head b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
body.page-teachers .hp-head small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--mut);
}
body.page-teachers .hp-b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}
body.page-teachers .hp-b svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .hp-b.rec {
  background: #fdf0e4;
  border: 1px solid #f6d6b9;
  color: var(--orange);
}
body.page-teachers .hp-b.add {
  background: var(--navy);
  color: #fff;
}
body.page-teachers .hp-body {
  position: absolute;
  left: 235px;
  top: 110px;
  width: 935px;
  height: 716px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.page-teachers .hp-grip {
  position: absolute;
  right: 26px;
  top: 24px;
  width: 20px;
  height: 20px;
  color: var(--mut);
}
body.page-teachers .hp-map {
  position: absolute;
  left: 87px;
  top: 6px;
  width: 761px;
  height: 676px;
}
body.page-teachers .hp-lines {
  position: absolute;
  left: 0;
  top: 0;
}
body.page-teachers .hp-lines path {
  stroke: #a16207;
  stroke-width: 2;
}
body.page-teachers .hp-lines circle {
  fill: #a16207;
  stroke: #a16207;
}
body.page-teachers .hp-lines circle.g {
  fill: #047857;
  stroke: #047857;
}
body.page-teachers .hpad.on .hp-dash {
  animation: hp-dash 2s linear infinite;
}
@keyframes hp-dash {
  to {
    stroke-dashoffset: -40;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .hpad.on .hp-dash {
    animation: none;
  }
}
body.page-teachers .hp-u {
  position: absolute;
  width: 308px;
  height: 194px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
}
body.page-teachers .hp-un {
  position: absolute;
  left: -8px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}
body.page-teachers .hp-u h3 {
  margin: 10px 0 0;
  padding-right: 12px;
  font-size: 19px;
  letter-spacing: -0.01em;
  font-weight: 600;
  line-height: 1.375;
}
body.page-teachers .hp-u p {
  margin: 6px 0 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--mut);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.page-teachers .hp-ch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  overflow: hidden;
}
body.page-teachers .hp-ch {
  gap: 4px;
}
body.page-teachers .hp-ch span {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px 3px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: #525252;
  white-space: nowrap;
}
body.page-teachers .hp-ch img {
  width: 16px;
  height: 16px;
}
body.page-teachers .hp-ch em {
  flex: none;
  padding: 0 8px;
  font-style: normal;
  font-size: 12px;
  color: #525252;
}
body.page-teachers .hp-mk {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
body.page-teachers .hp-mk img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28));
}
body.page-teachers .hp-mk b {
  position: absolute;
  right: 2px;
  top: 2px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border: 1px solid #d6dcea;
  border-radius: 999px;
  background: #fff;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--navy);
}
body.page-teachers .hp-leg {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  gap: 16px;
  padding: 12px 8px 0;
  border-top: 1px solid var(--line);
}
body.page-teachers .hp-leg span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mut);
}
body.page-teachers .hp-leg img {
  width: 20px;
  height: 20px;
}
body.page-teachers .hp-bot {
  position: absolute;
  right: 30px;
  bottom: 44px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
body.page-teachers .hp-bot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* setup: the course iPad (moved down from the hero), centred under its heading */
body.page-teachers #setup .cy-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
body.page-teachers #setup .cy-head .lede {
  margin-inline: auto;
}
body.page-teachers #setup .lt {
  margin-top: clamp(36px, 4vw, 56px);
}
@media (min-width: 1025px) {
  body.page-teachers #setup .lt {
    width: min(720px, calc((100vw - 220px) / 1.4));
    margin-inline: auto;
    zoom: 1.4;
  }
}

/* setup: the iPad walk-through swapped for three cards in the schools "How we deliver" style, picture wells empty for now */
body.page-teachers #setup .cy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 4vw, 52px);
}
body.page-teachers #setup .cy-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 26px;
  border-radius: 20px;
  background: #fffaf2;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-teachers #setup .cy-card figure {
  margin: 0;
  aspect-ratio: 4/3.3;
  border-radius: 12px;
  background: #f3e3cc;
}
body.page-teachers #setup .cy-l {
  margin: 24px 16px 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers #setup .cy-card h3 {
  margin: 0 16px;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
body.page-teachers #setup .cy-card p {
  margin: 10px 16px 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  body.page-teachers #setup .cy-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  body.page-teachers #setup .cy-cards {
    grid-template-columns: 1fr;
  }
  body.page-teachers #setup .cy-card h3 {
    font-size: 23px;
  }
}

/* course cards: pictures built from the real teacher screens (syllabus upload, checkpoint, lesson sequence), in Capyo orange.
   Each is a fixed 400x330 canvas scaled into the well by --s; one movement each, only while on screen. */
body.page-teachers #setup .cy-card figure {
  position: relative;
  overflow: hidden;
  background: #f6efe6;
}
body.page-teachers .cyp {
  --ink: #1a1a1a;
  --mut: #75695e;
  --line: #eadfd2;
  --o: #2f8a4f;
  --o-t: #e4f3e9;
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  height: 330px;
  transform: scale(var(--s, 0.87));
  transform-origin: 0 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
body.page-teachers .cyp img {
  display: block;
  object-fit: contain;
}
body.page-teachers .cyp svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .cyp b {
  font-weight: 600;
}
body.page-teachers .cy-grip {
  width: 16px;
  height: 16px;
  color: #b3a698;
  flex: none;
}
body.page-teachers .cs-n {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}
body.page-teachers .cs-n em {
  font-style: normal;
  color: inherit;
  transition: opacity 0.25s;
}
body.page-teachers .cs-n em.alt {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
}
body.page-teachers .cyp i {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--o);
  color: #fff;
}
body.page-teachers .cyp i svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}
body.page-teachers .cyp .run * {
  will-change: auto;
}

/* 1: the syllabus goes in, the units build out in its order, then one is moved */
body.page-teachers .cyp-syl {
  padding: 18px 22px;
}
body.page-teachers .cs-mod {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
body.page-teachers .cs-mh {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .cs-mh img {
  width: 34px;
  height: 34px;
}
body.page-teachers .cs-mh b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
body.page-teachers .cs-mh small {
  display: block;
  font-size: 11.5px;
  color: var(--mut);
}
body.page-teachers .cs-slot {
  display: grid;
  margin-top: 12px;
}
body.page-teachers .cs-slot > div {
  grid-area: 1/1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  transition:
    opacity 0.35s,
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .cs-drop {
  justify-content: center;
  border: 1.5px dashed #c9cfc6;
  background: #faf8f5;
  color: var(--mut);
  font-size: 12px;
}
body.page-teachers .cs-drop img {
  width: 20px;
  height: 20px;
}
body.page-teachers .cs-file {
  border: 1px solid var(--line);
  background: #fffaf5;
}
body.page-teachers .cs-file img {
  width: 22px;
  height: 22px;
}
body.page-teachers .cs-file b {
  display: block;
  font-size: 12.5px;
}
body.page-teachers .cs-file small {
  display: block;
  font-size: 10.5px;
  color: var(--mut);
}
body.page-teachers .cs-units {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
body.page-teachers .cs-units li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  margin-top: 6px;
  padding: 0 10px 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.45s,
    box-shadow 0.3s,
    border-color 0.3s;
}
body.page-teachers .cs-units li b {
  flex: 1;
}
body.page-teachers .cyp-syl.run .cs-file {
  opacity: 0;
  transform: translateY(-14px);
}
body.page-teachers .cyp-syl.run li {
  opacity: 0;
  transform: translateY(8px);
}
body.page-teachers .cyp-syl.run.s1 .cs-drop {
  opacity: 0;
}
body.page-teachers .cyp-syl.run.s1 .cs-file {
  opacity: 1;
  transform: none;
}
body.page-teachers .cyp-syl.run.s2 li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--d) * 150ms);
}
body.page-teachers .cyp-syl.run.s3 li[data-u='4'] {
  z-index: 1;
  transform: translateY(-42px);
  border-color: #e9b98f;
  box-shadow: 0 10px 22px -12px rgba(150, 60, 0, 0.4);
  transition-delay: 0s;
}
body.page-teachers .cyp-syl.run.s3 li[data-u='3'] {
  transform: translateY(42px);
  transition-delay: 0s;
}
body.page-teachers .cyp-syl.run.s3 .cs-n em {
  opacity: 0;
  transition-delay: 0.45s;
}
body.page-teachers .cyp-syl.run.s3 .cs-n em.alt {
  opacity: 1;
}

/* 2: what a student must finish before the next unit opens, added one by one */
body.page-teachers .cyp-path {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 16px 22px;
}
body.page-teachers .cp-u {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  font-size: 13.5px;
}
body.page-teachers .cp-u b {
  flex: 1;
}
body.page-teachers .cp-lock {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--o-t);
  color: var(--o);
}
body.page-teachers .cp-lock svg {
  width: 14px;
  height: 14px;
}
body.page-teachers .cp-box {
  position: relative;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
body.page-teachers .cp-box::before,
body.page-teachers .cp-box::after {
  content: '';
  position: absolute;
  left: 19px;
  width: 0;
  height: 10px;
  border-left: 2px dashed #cfc6bb;
}
body.page-teachers .cp-box::before {
  top: -12px;
}
body.page-teachers .cp-box::after {
  bottom: -12px;
}
body.page-teachers .cp-h {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
body.page-teachers .cp-h img {
  width: 18px;
  height: 18px;
}
body.page-teachers .cp-r {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding: 6px 9px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    opacity 0.35s,
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .cp-r img {
  width: 20px;
  height: 20px;
}
body.page-teachers .cp-r b {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}
body.page-teachers .cp-r small {
  display: block;
  font-size: 10.5px;
  color: var(--mut);
}
body.page-teachers .cyp-path.run .cp-r {
  opacity: 0;
  transform: translateY(6px);
}
body.page-teachers .cyp-path.run.s1 .cp-r[style*='--d:0'],
body.page-teachers .cyp-path.run.s2 .cp-r[style*='--d:1'],
body.page-teachers .cyp-path.run.s3 .cp-r[style*='--d:2'],
body.page-teachers .cyp-path.run.s2 .cp-r[style*='--d:0'],
body.page-teachers .cyp-path.run.s3 .cp-r {
  opacity: 1;
  transform: none;
}
body.page-teachers .cp-next .cp-lock {
  transition: transform 0.3s;
}
body.page-teachers .cyp-path.run.s3 .cp-next .cp-lock {
  animation: cp-nudge 0.5s 0.2s;
}
@keyframes cp-nudge {
  40% {
    transform: scale(1.18);
  }
}

/* 3: readings, activities and tests in one sequence; the unit test is switched to Published */
body.page-teachers .cyp-pub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}
body.page-teachers .pb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
body.page-teachers .pb-bar b {
  font-size: 13px;
}
body.page-teachers .pb-bar span {
  padding: 7px 11px;
  border-radius: 9px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}
body.page-teachers .pb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition:
    box-shadow 0.3s,
    border-color 0.3s;
}
body.page-teachers .pb-row > img {
  width: 22px;
  height: 22px;
}
body.page-teachers .pb-row > div {
  flex: 1;
  min-width: 0;
}
body.page-teachers .pb-row b {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .pb-row small {
  display: block;
  font-size: 11px;
  color: var(--mut);
}
body.page-teachers .pb-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--mut);
}
body.page-teachers .pb-tg i {
  position: relative;
  display: block;
  width: 34px;
  height: 20px;
  margin: 0;
  border-radius: 10px;
  background: var(--o);
  transition: background-color 0.3s;
}
body.page-teachers .pb-tg i::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateX(14px);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .pb-row.off .pb-tg i {
  background: #ddd3c8;
}
body.page-teachers .pb-row.off .pb-tg i::after {
  transform: none;
}
body.page-teachers .pb-row.off b,
body.page-teachers .pb-row.off > img {
  opacity: 0.5;
}
body.page-teachers .pb-ic {
  display: inline-flex;
  color: #5b5047;
}
body.page-teachers .pb-ic svg {
  width: 15px;
  height: 15px;
}
body.page-teachers .cyp-pub.s1 .pb-row.off {
  border-color: var(--line);
  box-shadow: none;
}
body.page-teachers .cyp-pub.s2 .pb-row.off .pb-tg i {
  background: var(--o);
}
body.page-teachers .cyp-pub.s2 .pb-row.off .pb-tg i::after {
  transform: translateX(14px);
}
body.page-teachers .cyp-pub.s2 .pb-row.off b,
body.page-teachers .cyp-pub.s2 .pb-row.off > img {
  opacity: 1;
}
/* the loop restarts behind a quick fade, so the test never reads as switched back off */
body.page-teachers .cyp-pub .pb-row.off {
  transition:
    box-shadow 0.3s,
    border-color 0.3s,
    opacity 0.4s;
}
body.page-teachers .cyp-pub.rs .pb-row.off {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .cyp * {
    transition: none !important;
    animation: none !important;
  }
}
body.page-teachers .cp-add {
  position: absolute;
  left: 50%;
  top: 58%;
  translate: -50% -50%;
  padding: 9px 16px;
  border-radius: 10px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
body.page-teachers .cyp-path.run.s1 .cp-add {
  opacity: 0;
  transform: scale(0.94);
}
body.page-teachers .cyp-path:not(.run) .cp-add {
  display: none;
}

/* card 1 v3: the upload window alone in the middle; once the file is in it steps away and the units build in its place */
body.page-teachers .cyp-syl {
  padding: 0;
}
body.page-teachers .cyp-syl .cs-mod {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  translate: -50% -50%;
  padding: 20px 18px 18px;
  border-radius: 18px;
  box-shadow: 0 18px 40px -22px rgba(120, 50, 0, 0.35);
  transition:
    opacity 0.4s,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .cyp-syl .cs-mh {
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
body.page-teachers .cyp-syl .cs-mh img {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
}
body.page-teachers .cyp-syl .cs-mh b {
  font-size: 19px;
}
body.page-teachers .cyp-syl .cs-mh small {
  font-size: 12px;
}
body.page-teachers .cyp-syl .cs-slot {
  margin-top: 16px;
}
body.page-teachers .cyp-syl .cs-units {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  margin: 0;
}
body.page-teachers .cyp-syl .cs-units li {
  height: 62px;
  margin-top: 8px;
  padding: 0 12px 0 10px;
  align-items: center;
}
body.page-teachers .cyp-syl .cs-units li:first-child {
  margin-top: 0;
}
body.page-teachers .cs-t {
  flex: 1;
  min-width: 0;
}
body.page-teachers .cs-t b {
  display: block;
  font-size: 13.5px;
  line-height: 1.3;
}
body.page-teachers .cs-ch {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--mut);
}
body.page-teachers .cs-ch span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
body.page-teachers .cs-ch img {
  width: 14px;
  height: 14px;
}
body.page-teachers .cyp-syl.run.s2 .cs-mod {
  opacity: 0;
  transform: scale(0.94);
}
body.page-teachers .cyp-syl.run.s2 li {
  opacity: 0;
  transform: translateY(8px);
}
body.page-teachers .cyp-syl.run.s3 li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--d) * 150ms);
}
body.page-teachers .cyp-syl.run.s3 li[data-u='4'],
body.page-teachers .cyp-syl.run.s3 li[data-u='3'] {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}
body.page-teachers .cyp-syl.run.s3 .cs-n em {
  opacity: 1;
}
body.page-teachers .cyp-syl.run.s3 .cs-n em.alt {
  opacity: 0;
}
body.page-teachers .cyp-syl.run.s4 li[data-u='4'] {
  z-index: 1;
  transform: translateY(-70px);
  border-color: #e9b98f;
  box-shadow: 0 10px 22px -12px rgba(150, 60, 0, 0.4);
  transition-delay: 0s;
}
body.page-teachers .cyp-syl.run.s4 li[data-u='3'] {
  transform: translateY(70px);
  transition-delay: 0s;
}
body.page-teachers .cyp-syl.run.s4 .cs-n em {
  opacity: 0;
  transition-delay: 0.45s;
}
body.page-teachers .cyp-syl.run.s4 .cs-n em.alt {
  opacity: 1;
}
body.page-teachers .cyp-syl:not(.run) .cs-mod {
  display: none;
}
/* card 2: just the requirements box, no unit rows around it */
body.page-teachers .cp-box {
  margin: 0;
}
body.page-teachers .cp-box::before,
body.page-teachers .cp-box::after {
  display: none;
}
body.page-teachers .cp-h {
  font-size: 14px;
  margin-bottom: 8px;
}
body.page-teachers .cp-r {
  padding: 8px 10px;
  margin-top: 8px;
}
body.page-teachers .cp-r b {
  font-size: 13px;
}
body.page-teachers .cp-r small {
  font-size: 11px;
}
/* card 1 slowed down per Max */
body.page-teachers .cyp-syl .cs-slot > div {
  transition:
    opacity 0.7s,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .cyp-syl .cs-mod {
  transition:
    opacity 0.8s,
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.page-teachers .cyp-syl .cs-units li {
  transition:
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.9s,
    box-shadow 0.5s,
    border-color 0.5s;
}
body.page-teachers .cyp-syl.run.s3 li {
  transition-delay: calc(var(--d) * 320ms);
}
body.page-teachers .cyp-syl.run.s4 .cs-n em {
  transition-delay: 0.9s;
}

/* Assistant section: what it makes, beside the real AI Chat screen drafting each (from teacher-ai-chat) */
body.page-teachers .cap {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(40px, 4.5vw, 64px);
}

/* the list: platform icons, big names */
body.page-teachers .cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-teachers .cap-list button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 9px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: left;
  color: rgba(18, 24, 21, 0.32);
  cursor: pointer;
  transition: color 0.4s ease;
}
body.page-teachers .cap-list button img {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.5;
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    transform 0.4s var(--ease);
}
body.page-teachers .cap-list button:hover {
  color: rgba(18, 24, 21, 0.6);
}
body.page-teachers .cap-list button:hover img {
  opacity: 0.75;
}
body.page-teachers .cap-list button.on {
  color: var(--ink);
}
body.page-teachers .cap-list button.on img {
  opacity: 1;
  transform: scale(1.08);
}
body.page-teachers .cap-list button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 6px;
}

/* the window: the platform's AI Chat, header panel over chat panel */
body.page-teachers .cap-win {
  padding: 8px;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 40px -32px rgba(120, 50, 0, 0.28);
}
body.page-teachers .cap-scr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 640px;
  padding: 8px;
  border-radius: 14px;
  background: #f4f2ee;
  overflow: hidden;
}
body.page-teachers .cap-hd,
body.page-teachers .cap-body {
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(18, 24, 21, 0.07),
    0 1px 2px rgba(18, 24, 21, 0.04);
}
body.page-teachers .cap-hd {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}
body.page-teachers .cap-hd > img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
body.page-teachers .cap-tt {
  min-width: 0;
}
body.page-teachers .cap-tt b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
body.page-teachers .cap-tt small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .cap-cls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
body.page-teachers .cap-cls svg,
body.page-teachers .cap-new svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .cap-new {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s;
}
body.page-teachers .cap-new.hit {
  transform: scale(0.93);
}
body.page-teachers .cap-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* empty state, as the platform opens */
body.page-teachers .cap-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  transition:
    opacity 0.4s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .cap-hero {
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .cap-empty > b {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
body.page-teachers .cap-empty p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}
body.page-teachers .cap-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 12px;
}
body.page-teachers .cap-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.18);
  font-size: 14.5px;
  color: var(--ink);
  white-space: nowrap;
}
body.page-teachers .cap-pills img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
body.page-teachers .cap-scr.chat .cap-empty {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

/* conversation */
body.page-teachers .cap-chat {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 112px;
  overflow: hidden;
}
body.page-teachers .cap-step {
  position: absolute;
  inset: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px 0 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s 0.35s,
    transform 0.6s var(--ease);
}
body.page-teachers .cap-step.on {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.35s ease,
    transform 0.6s var(--ease);
}
body.page-teachers .cap-mr {
  align-self: flex-end;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 78%;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
body.page-teachers .cap-me {
  padding: 10px 16px;
  border-radius: 22px;
  background: #fff8e6;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}
body.page-teachers .cap-tav {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
body.page-teachers .cap-ai {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s,
    transform 0.4s;
}
body.page-teachers .s-me .cap-mr,
body.page-teachers .s-ai .cap-ai {
  opacity: 1;
  transform: none;
}
body.page-teachers .cap-av {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .cap-re {
  min-width: 0;
  max-width: 580px;
  padding: 12px 16px 14px;
  border-radius: 22px;
  background: #f3f4f6;
}
body.page-teachers .cap-dots {
  display: inline-flex;
  gap: 4px;
  padding: 6px 2px;
}
body.page-teachers .cap-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 24, 21, 0.35);
  animation: cap-d 1s infinite;
}
body.page-teachers .cap-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-teachers .cap-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes cap-d {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
body.page-teachers .cap-say,
body.page-teachers .cap-doc {
  display: none;
}
body.page-teachers .s-say .cap-dots {
  display: none;
}
body.page-teachers .s-say .cap-say {
  display: block;
  animation: cap-pop 0.4s ease both;
}
body.page-teachers .s-doc .cap-doc {
  display: block;
  animation: cap-pop 0.5s ease both;
}
@keyframes cap-pop {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
body.page-teachers .cap-say {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
body.page-teachers .cap-say small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

/* the assistant asks one question before it drafts; earlier messages scroll up out of the window */
body.page-teachers .cap-step .cap-qa,
body.page-teachers .cap-step .cap-ans,
body.page-teachers .cap-step > .cap-ai:not(.cap-qa) {
  display: none;
}
body.page-teachers .s-ask .cap-qa,
body.page-teachers .s-ans .cap-ans,
body.page-teachers .s-ai > .cap-ai:not(.cap-qa) {
  display: flex;
  opacity: 1;
  transform: none;
  animation: cap-pop 0.45s ease both;
}
body.page-teachers .cap-ask {
  display: none;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
body.page-teachers .s-askt .cap-qa .cap-dots {
  display: none;
}
body.page-teachers .s-askt .cap-ask {
  display: block;
  animation: cap-pop 0.4s ease both;
}

/* the reply text sits in a normal chat bubble; the draft arrives after it as its own card */
body.page-teachers .cap-step > .cap-ai:not(.cap-qa) .cap-re {
  padding: 0;
  background: none;
  border-radius: 0;
}
body.page-teachers .cap-step > .cap-ai:not(.cap-qa) .cap-dots {
  padding: 16px 18px;
  border-radius: 22px;
  background: #f3f4f6;
}
body.page-teachers .cap-step > .cap-ai:not(.cap-qa) .cap-say {
  width: fit-content;
  max-width: 100%;
  padding: 11px 16px 12px;
  border-radius: 22px;
  background: #f3f4f6;
}
body.page-teachers .cap-step > .cap-ai:not(.cap-qa) .cap-doc {
  margin-top: 10px;
}
/* drafts that are files: what was made, ready for the teacher to review */
body.page-teachers .cap-files {
  display: none;
  width: 540px;
  max-width: 100%;
}
body.page-teachers .cap-files .cf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #f7f4ef;
}
body.page-teachers .cap-files .cf + .cf {
  margin-top: 8px;
}
body.page-teachers .cap-files .cf img {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
body.page-teachers .cap-files .cf span {
  flex: 1;
  min-width: 0;
}
body.page-teachers .cap-files .cf b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .cap-files .cf small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
body.page-teachers .cap-files .cf em {
  flex: none;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

/* the draft */
body.page-teachers .cap-doc {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.08);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink);
}
body.page-teachers .cap-dh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
}
body.page-teachers .cap-dh img {
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
body.page-teachers .cap-dh b {
  font-size: 15px;
  font-weight: 600;
}
body.page-teachers .cap-dh small {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}
body.page-teachers .cap-acts {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
body.page-teachers .cap-acts span {
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 21, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 16px;
  transition:
    transform 0.2s,
    background 0.3s;
}
body.page-teachers .cap-acts .pri {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
body.page-teachers .cap-acts .pri.hit {
  transform: scale(0.94);
}
body.page-teachers .cap-acts .pri.done {
  background: #9a3d00;
}
/* lesson plan, written out: goal, the lesson as a left-to-right flow with the platform's icons, the rest behind See full plan */
body.page-teachers .cap-re.lp-wide {
  flex: 1;
  max-width: none;
}
body.page-teachers .lp-goal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 11px;
  background: #f7f4ef;
  font-size: 14px;
  line-height: 1.4;
}
body.page-teachers .lp-goal img {
  flex: none;
  width: 30px;
  height: 30px;
  object-fit: contain;
}
body.page-teachers .lp-goal b {
  margin-right: 7px;
}
body.page-teachers .lp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
body.page-teachers .lp-flow li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: start;
  column-gap: 8px;
  min-width: 0;
  padding: 11px 12px 12px;
  border-radius: 12px;
  background: #f7f4ef;
}
body.page-teachers .lp-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -17px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
body.page-teachers .lp-flow img {
  width: 44px;
  height: 44px;
  margin: -4px 0 6px -4px;
  object-fit: contain;
}
body.page-teachers .lp-flow em {
  justify-self: end;
  align-self: start;
  padding: 3px 8px;
  border-radius: 20px;
  background: #fff;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .lp-flow b {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}
body.page-teachers .lp-flow span {
  grid-column: 1 / -1;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #4a4f4c;
}
/* the steps arrive one after another once the draft lands */
body.page-teachers .s-doc .lp-flow li {
  animation: cap-pop 0.45s ease both;
}
body.page-teachers .s-doc .lp-flow li:nth-child(1) {
  animation-delay: 0.35s;
}
body.page-teachers .s-doc .lp-flow li:nth-child(2) {
  animation-delay: 0.6s;
}
body.page-teachers .s-doc .lp-flow li:nth-child(3) {
  animation-delay: 0.85s;
}
body.page-teachers .s-doc .lp-flow li:nth-child(4) {
  animation-delay: 1.1s;
}
body.page-teachers .lp-more {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f7f4ef;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .lp-more small {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .lp-more svg {
  flex: none;
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 1024px) {
  body.page-teachers .lp-flow {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  body.page-teachers .lp-flow li::after {
    display: none;
  }
  body.page-teachers .lp-flow li {
    padding: 10px;
  }
  body.page-teachers .lp-flow img {
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
  }
  body.page-teachers .lp-flow span {
    display: none;
  }
}

body.page-teachers .cap-plan {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
body.page-teachers .cap-plan span {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f7f4ef;
}
body.page-teachers .cap-plan em {
  flex: none;
  width: 52px;
  white-space: nowrap;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .cap-qz p {
  margin: 0 0 6px;
}
body.page-teachers .cap-op {
  display: flex;
  gap: 6px;
  margin-bottom: 11px;
}
body.page-teachers .cap-op span {
  flex: 1;
  padding: 6px 0;
  border-radius: 7px;
  background: #f7f4ef;
  text-align: center;
}
body.page-teachers .cap-op .ok {
  background: #e1f1e5;
  color: #1f6a3d;
  font-weight: 600;
}
body.page-teachers .cap-qz small {
  color: var(--muted);
}
body.page-teachers .cap-tb {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
body.page-teachers .cap-tb div {
  display: grid;
  grid-template-columns: 62px 1fr 26px;
  gap: 10px;
  align-items: center;
}
body.page-teachers .cap-tb span {
  color: var(--muted);
}
body.page-teachers .cap-tb i {
  position: relative;
  height: 10px;
  border-radius: 5px;
  background: #f7f4ef;
  overflow: hidden;
}
body.page-teachers .cap-tb i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  opacity: 0.75;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.35s;
}
body.page-teachers .s-say .cap-tb i::after {
  transform: scaleX(calc(var(--v) / 0.4));
}
body.page-teachers .cap-tb b {
  text-align: right;
  font-weight: 600;
}
body.page-teachers .cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}
body.page-teachers .cap-tags span {
  padding: 4px 9px;
  border-radius: 7px;
  background: #f7f4ef;
  font-size: 12.5px;
  color: var(--body);
}
body.page-teachers .cap-rb {
  display: grid;
  grid-template-columns: 76px repeat(3, 1fr);
  gap: 4px;
  font-size: 12.5px;
}
body.page-teachers .cap-rb > * {
  padding: 6px 8px;
  border-radius: 6px;
}
body.page-teachers .cap-rb > b {
  font-weight: 600;
  font-size: 12px;
}
body.page-teachers .cap-rb > span {
  background: #f7f4ef;
  color: var(--body);
}
body.page-teachers .cap-rb > span:first-child {
  background: none;
}
body.page-teachers .cap-rb > span.hi {
  background: #e1f1e5;
  color: var(--ink);
}
body.page-teachers .cap-ws {
  display: flex;
  gap: 10px;
}
body.page-teachers .cap-pg {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f7f4ef;
  font-size: 13px;
}
body.page-teachers .cap-pg span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}
body.page-teachers .cap-pg p {
  margin: 0 0 3px;
}
body.page-teachers .cap-pg.key {
  flex: 0.6;
  background: #e9f3ec;
}
body.page-teachers .cap-pg.key p {
  color: #1f6a3d;
  font-weight: 600;
}
body.page-teachers .cap-cd {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  align-items: center;
}
body.page-teachers .cap-avg {
  grid-row: span 2;
  padding-right: 4px;
}
body.page-teachers .cap-avg b {
  display: block;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
body.page-teachers .cap-avg span {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-teachers .cap-st {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px 5px 5px;
  border-radius: 9px;
  background: #f7f4ef;
}
body.page-teachers .cap-sa svg {
  display: block;
  width: 26px;
  height: 26px;
}
body.page-teachers .cap-st b {
  font-weight: 600;
}
body.page-teachers .cap-w {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fdecea;
  color: #b42318;
  font-weight: 600;
  font-size: 12.5px;
}
body.page-teachers .cap-why {
  grid-column: 1/-1;
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f7f4ef;
  font-size: 13px;
}
body.page-teachers .cap-why b {
  font-weight: 600;
}

/* input, as on the platform: text on top, mic and send underneath */
body.page-teachers .cap-in {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 8px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(18, 24, 21, 0.12),
    0 1px 2px rgba(18, 24, 21, 0.05);
}
body.page-teachers .cap-ph,
body.page-teachers .cap-txt {
  height: 22px;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .cap-txt {
  display: none;
  color: var(--ink);
}
/* a caret that blinks while the teacher pauses and holds steady while they type */
body.page-teachers .cap-txt::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--orange);
  animation: cap-caret 1s steps(1) infinite;
}
body.page-teachers .cap-txt.k::after {
  animation: none;
}
@keyframes cap-caret {
  50% {
    opacity: 0;
  }
}
body.page-teachers .cap-scr.typing .cap-ph {
  display: none;
}
body.page-teachers .cap-scr.typing .cap-txt {
  display: block;
}
body.page-teachers .cap-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
body.page-teachers .cap-mic {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1efeb;
  color: var(--muted);
  transition:
    color 0.3s,
    background 0.3s;
}
body.page-teachers .cap-mic::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
}
body.page-teachers .cap-mic svg {
  position: relative;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .cap-scr.voice .cap-mic {
  color: #fff;
  background: var(--orange);
}
@keyframes cap-ring {
  from {
    opacity: 0.35;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}
body.page-teachers .cap-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.2s;
}
body.page-teachers .cap-go.hit {
  transform: scale(0.88);
}
body.page-teachers .cap-go svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1024px) {
  body.page-teachers .cap {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  body.page-teachers .cap-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 2px 20px;
  }
  body.page-teachers .cap-list::-webkit-scrollbar {
    display: none;
  }
  body.page-teachers .cap-list button {
    width: auto;
    gap: 8px;
    white-space: nowrap;
    padding: 7px 14px 7px 9px;
    border-radius: 10px;
    font-size: 15px;
    letter-spacing: 0;
    color: var(--body);
    background: rgba(18, 24, 21, 0.05);
  }
  body.page-teachers .cap-list button img {
    width: 22px;
    height: 22px;
    opacity: 1;
  }
  body.page-teachers .cap-list button.on {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.14);
  }
  body.page-teachers .cap-list button.on img {
    transform: none;
  }
}
@media (max-width: 600px) {
  body.page-teachers .cap-scr {
    height: 720px;
    padding: 6px;
    gap: 6px;
  }
  body.page-teachers .cap-hd {
    padding: 10px 12px;
  }
  body.page-teachers .cap-tt small,
  body.page-teachers .cap-cls {
    display: none;
  }
  body.page-teachers .cap-new {
    height: 34px;
    padding: 0 11px;
    margin-left: auto;
  }
  body.page-teachers .cap-step {
    inset: 0 10px;
  }
  body.page-teachers .cap-av {
    display: none;
  }
  body.page-teachers .cap-mr {
    max-width: 92%;
  }
  body.page-teachers .cap-tav {
    display: none;
  }
  body.page-teachers .cap-re {
    padding: 10px 12px 12px;
  }
  body.page-teachers .cap-doc {
    padding: 12px;
  }
  body.page-teachers .cap-dh small {
    display: none;
  }
  body.page-teachers .cap-rb {
    grid-template-columns: 56px repeat(3, minmax(0, 1fr));
    gap: 3px;
    font-size: 11px;
  }
  body.page-teachers .cap-rb > b {
    font-size: 10.5px;
  }
  body.page-teachers .cap-doc {
    padding: 10px;
  }
  body.page-teachers .cap-ai {
    gap: 0;
  }
  body.page-teachers .cap-rb > * {
    padding: 5px 6px;
  }
  body.page-teachers .cap-pills span {
    height: 36px;
    padding: 0 11px;
    font-size: 13.5px;
  }
  body.page-teachers .cap-in {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
}

/* Pace: one class track. Five units with a checkpoint gate between each; Luca behind, Amara ahead.
   Luca hands in overdue work and moves up to this week's unit; Amara passes the Unit 3 checkpoint into Unit 4. */
body.page-teachers #pace .pc-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
}
body.page-teachers #pace .pc-head .lede {
  margin: 0 0 6px;
  max-width: 440px;
  justify-self: end;
}
body.page-teachers .pt {
  max-width: 1120px;
  margin: clamp(36px, 3.6vw, 48px) auto 0;
  padding: 10px;
  border-radius: 24px;
  background: #fffaf2;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 18px 40px -30px rgba(120, 50, 0, 0.28);
}
body.page-teachers .pt-well {
  --lab: 180px;
  --px: 28px;
  position: relative;
  padding: 24px var(--px) 26px;
  border-radius: 16px;
  background: #f9efe2;
}
body.page-teachers .pt-units,
body.page-teachers .pt-lane {
  display: grid;
  grid-template-columns: var(--lab) minmax(0, 1fr);
  align-items: center;
}
body.page-teachers .pt-units {
  grid-template-columns: var(--lab) repeat(5, minmax(0, 1fr));
  align-items: start;
  position: relative;
  z-index: 1;
}
body.page-teachers .pt-cls b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .pt-cls small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #8a7f72;
}
body.page-teachers .pt-u {
  padding: 0 10px;
  text-align: center;
}
body.page-teachers .pt-u small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #8a7f72;
}
body.page-teachers .pt-u b {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
body.page-teachers .pt-u em {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}
body.page-teachers .pt-now {
  position: absolute;
  left: calc(var(--px) + var(--lab) + (100% - 2 * var(--px) - var(--lab)) * 0.4);
  width: calc((100% - 2 * var(--px) - var(--lab)) * 0.2);
  top: 12px;
  bottom: 12px;
  border-radius: 12px;
  background: #f5dfc3;
}
body.page-teachers .pt-lane {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}
body.page-teachers .pt-lane + .pt-lane {
  margin-top: 10px;
}
body.page-teachers .pt-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
body.page-teachers .pt-av {
  flex: none;
  width: 44px;
  height: 44px;
}
body.page-teachers .pt-who b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .pt-st {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fdf0c4;
  color: #7a5200;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.4s,
    color 0.4s;
}
body.page-teachers .pt-st.ok {
  background: #e1f1e5;
  color: #1f6a3d;
}
body.page-teachers .pt-bar {
  position: relative;
  height: 56px;
}
body.page-teachers .pt-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background: #ead9c2;
}
body.page-teachers .pt-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  margin-top: -4px;
  border-radius: 4px;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--x));
  transition: transform 1.4s var(--ease);
}
body.page-teachers .pt-g {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  transform: translateX(0);
  left: calc(var(--g) * 100%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #9a8b78;
  box-shadow: 0 0 0 2px #ead9c2;
  transition:
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}
body.page-teachers .pt-g svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  grid-area: 1/1;
}
body.page-teachers .pt-g .g-ok {
  opacity: 0;
}
body.page-teachers .pt-g.on {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 2px var(--orange);
}
body.page-teachers .pt-g.on .g-lk {
  opacity: 0;
}
body.page-teachers .pt-g.on .g-ok {
  opacity: 1;
}
body.page-teachers .pt-g.pop {
  animation: pt-pop 0.5s var(--ease);
}
body.page-teachers .pt-mv {
  position: absolute;
  inset: 0;
  transform: translateX(calc(var(--x) * 100%));
  transition: transform 1.4s var(--ease);
  pointer-events: none;
}
body.page-teachers .pt-me {
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px #fff,
    0 6px 14px -6px rgba(60, 30, 0, 0.45);
}
body.page-teachers .pt-say {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 24px 28px 18px;
}
body.page-teachers .pt-say .pc-l {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-teachers .pt-say h3 {
  margin-top: 4px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}
body.page-teachers .pt-say p {
  margin-top: 8px;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
@keyframes pt-pop {
  40% {
    transform: scale(1.25);
  }
}
@media (max-width: 1024px) {
  body.page-teachers #pace .pc-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
  body.page-teachers #pace .pc-head .lede {
    justify-self: start;
    margin: 18px 0 0;
  }
  body.page-teachers .pt {
    padding: 8px;
    border-radius: 20px;
  }
  body.page-teachers .pt-well {
    --lab: 0px;
    --px: 14px;
    padding: 16px var(--px) 18px;
    border-radius: 14px;
  }
  body.page-teachers .pt-units {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  body.page-teachers .pt-units > .pt-cls {
    display: none;
  }
  body.page-teachers .pt-u {
    padding: 0 2px;
  }
  body.page-teachers .pt-u b {
    display: none;
  }
  body.page-teachers .pt-u small {
    font-size: 11.5px;
  }
  body.page-teachers .pt-u em {
    padding: 2px 6px;
    font-size: 9.5px;
    margin-top: 5px;
  }
  body.page-teachers .pt-lane {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  body.page-teachers .pt-lane + .pt-lane {
    margin-top: 10px;
  }
  body.page-teachers .pt-who > div {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  body.page-teachers .pt-st {
    margin-top: 0;
  }
  body.page-teachers .pt-bar {
    height: 48px;
  }
  body.page-teachers .pt-g {
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
  }
  body.page-teachers .pt-me {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
  }
  body.page-teachers .pt-say {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px 12px 12px;
  }
  body.page-teachers .pt-say h3 {
    font-size: 21px;
  }
}

/* class at a glance (#work): Capyo open in a browser, three tabs = three screens of one teacher story
   (Classroom data > Luca's tutor work > Gradebook). Screens rebuilt from assets/platform/teacher-insights,
   teacher-assignment-student-work and teacher-gradebook on a 1280x760 canvas scaled by --s. */
body.page-teachers #work .gl-head {
  max-width: 760px;
}
body.page-teachers #work .gl-head .lede {
  max-width: 600px;
}
body.page-teachers .gl {
  position: relative;
  margin: 56px 0 0;
  border-radius: 16px;
  background: #e9e4dc;
  box-shadow:
    0 0 0 1px rgba(18, 24, 21, 0.08),
    var(--shadow-lg);
  overflow: hidden;
}
body.page-teachers .gl-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 44px;
  padding: 0 12px 0 16px;
}
body.page-teachers .gl-dots {
  display: flex;
  gap: 8px;
  align-self: center;
}
body.page-teachers .gl-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d7cfc4;
}
body.page-teachers .gl-tabs {
  display: flex;
  gap: 2px;
  min-width: 0;
}
body.page-teachers .gl-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  min-width: 0;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: #5d564c;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
body.page-teachers .gl-tab img {
  flex: none;
  width: 16px;
  height: 16px;
  object-fit: contain;
}
body.page-teachers .gl-tab span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
body.page-teachers .gl-tab.on {
  background: #fbfaf8;
  color: var(--ink);
}
body.page-teachers .gl-url {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  background: #fbfaf8;
}
body.page-teachers .gl-url > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8a8277;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .gl-om {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin-left: 6px;
  padding: 0 14px;
  border-radius: 15px;
  background: #efebe5;
  font-size: 13px;
  color: #5d564c;
}
body.page-teachers .gl-om svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #8a8277;
  stroke-width: 2.2;
  stroke-linecap: round;
}
body.page-teachers .gl-scr {
  position: relative;
  aspect-ratio: 1280/700;
  overflow: hidden;
  background: #f3f5f4;
}
body.page-teachers .gl-app {
  width: 1280px;
  height: 700px;
}
body.page-teachers .gl-app .hp-me b {
  white-space: nowrap;
}
body.page-teachers .gl-app .hp-ic.g {
  display: none;
}
body.page-teachers .gl-app .hp-school {
  height: 88px;
  padding-top: 18px;
}
body.page-teachers .gl-app .hp-nav {
  gap: 3px;
  padding-top: 14px;
}
body.page-teachers .gl-app .hp-me {
  padding-bottom: 14px;
}
body.page-teachers .gl-app .hp-side {
  border-radius: 0 16px 0 0;
}
body.page-teachers .gl-app .hp-ni {
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
body.page-teachers .gl-app .hp-ni:not(.on) {
  background: transparent;
}
body.page-teachers .gl-main {
  position: absolute;
  left: 236px;
  right: 10px;
  top: 9px;
  bottom: 0;
}
body.page-teachers .gl-v {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
  pointer-events: none;
}
body.page-teachers .gl-app[data-s='0'] .v0,
body.page-teachers .gl-app[data-s='1'] .v1,
body.page-teachers .gl-app[data-s='2'] .v2 {
  opacity: 1;
  transform: none;
}
body.page-teachers .gl .gl-av {
  stroke: none;
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
/* shared platform pieces */
body.page-teachers .g-hd,
body.page-teachers .g-cd {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
body.page-teachers .g-hd {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 87px;
  padding: 0 17px;
}
body.page-teachers .g-hd > img {
  width: 48px;
  height: 48px;
}
body.page-teachers .g-hd > div {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
}
body.page-teachers .g-hd b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
body.page-teachers .g-hd small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--mut);
}
body.page-teachers .g-back {
  width: 22px;
  height: 22px;
  stroke-width: 2.2 !important;
  margin: 0 4px 0 8px;
}
body.page-teachers .g-seg {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 14px;
  background: #f1f1f0;
}
body.page-teachers .g-seg span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
}
body.page-teachers .g-seg span img {
  width: 20px;
  height: 20px;
}
body.page-teachers .g-seg span.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
body.page-teachers .g-seg.sm span {
  height: 38px;
  font-size: 14px;
}
body.page-teachers .g-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-teachers .g-btn img {
  width: 20px;
  height: 20px;
}
body.page-teachers .g-btn.pri {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
body.page-teachers .g-cd {
  padding: 16px 18px;
}
body.page-teachers .g-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body.page-teachers .g-t {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.page-teachers .g-t.sm {
  font-size: 15px;
}
body.page-teachers .g-t small {
  font-size: 12px;
  font-weight: 500;
  color: var(--mut);
}
body.page-teachers .g-s {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--mut);
}
/* v0: classroom data */
body.page-teachers .g-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
body.page-teachers .g-stats span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
body.page-teachers .g-stats img {
  grid-row: span 2;
  width: 30px;
  height: 30px;
}
body.page-teachers .g-stats small {
  font-size: 12.5px;
  color: var(--mut);
}
body.page-teachers .g-stats b {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
body.page-teachers .g-stats em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--mut);
}
body.page-teachers .na {
  padding: 16px 22px 10px;
}
body.page-teachers .na-h,
body.page-teachers .na-r {
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 0.8fr 3.4fr 20px;
  align-items: center;
  gap: 12px;
}
body.page-teachers .na-h {
  margin-top: 14px;
  padding: 0 10px 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mut);
}
body.page-teachers .na-r {
  height: 46px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #444;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
body.page-teachers .na-n {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
body.page-teachers .na-n i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8650b;
}
body.page-teachers .na-n .gl-av {
  width: 28px;
  height: 28px;
}
body.page-teachers .na-n b {
  font-weight: 600;
}
body.page-teachers .na-g {
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .na-w {
  color: #444;
}
body.page-teachers .na-r .ch {
  width: 16px;
  height: 16px;
  color: #999;
}
body.page-teachers .na-r.hit {
  background: #fdf1e6;
  transform: scale(0.99);
}
body.page-teachers .gl-app.play .na-r {
  opacity: 0;
  transform: translateY(6px);
}
body.page-teachers .gl-app.play .na-r.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease),
    background 0.25s ease;
}
body.page-teachers .eng {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
body.page-teachers .eng {
  padding-bottom: 0;
}
body.page-teachers .eng-b {
  flex: 1;
  display: flex;
  gap: 10px;
  margin-top: 10px;
  min-height: 0;
}
body.page-teachers .eng-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2px;
  font-size: 11px;
  color: var(--mut);
  text-align: right;
}
body.page-teachers .eng-p {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 8px;
  background: repeating-linear-gradient(
    to top,
    transparent 0 calc(50% - 1px),
    #ececec calc(50% - 1px) 50%
  );
}
body.page-teachers .eng-p i {
  flex: 1;
  max-width: 14px;
  height: calc(var(--h) * 100%);
  background: #1e3a5f;
}
/* v1: one student's work on an assignment */
body.page-teachers .sw {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 12px;
}
body.page-teachers .sw-l {
  padding: 0;
  overflow: hidden;
}
body.page-teachers .sw-m {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #444;
}
body.page-teachers .sw-m .ok {
  color: #147a3f;
}
body.page-teachers .sw-q {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 12px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  color: #888;
}
body.page-teachers .sw-q svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .sw-r {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  margin: 0 12px 6px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
}
body.page-teachers .sw-r b {
  flex: 1;
  font-weight: 600;
}
body.page-teachers .sw-r.on {
  border-color: var(--navy);
  background: #fdf1e6;
}
body.page-teachers .sw-c {
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
body.page-teachers .sw-c.s {
  background: #e3f4e9;
  color: #147a3f;
}
body.page-teachers .sw-c.p {
  background: #fde9d6;
  color: #a64200;
}
body.page-teachers .sw-c.n {
  background: #f1f1f0;
  color: #666;
}
body.page-teachers .sw-rt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
body.page-teachers .ob {
  flex: none;
}
body.page-teachers .ob-n {
  font-size: 12.5px;
  color: var(--mut);
}
body.page-teachers .ob ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
body.page-teachers .ob li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #555;
}
body.page-teachers .ob-i {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}
body.page-teachers .ob-i img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .ob-i .ok {
  opacity: 0;
  transform: scale(0.4);
}
body.page-teachers .ob li.done {
  color: var(--ink);
}
body.page-teachers .ob li.done .ok {
  opacity: 1;
  transform: none;
}
body.page-teachers .ob li.done .tg {
  opacity: 0;
}
body.page-teachers .ob li.flash {
  animation: gl-flash 1.4s ease;
}
@keyframes gl-flash {
  0%,
  100% {
    background: transparent;
  }
  25% {
    background: #fdf1e6;
  }
}
body.page-teachers .cv {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px 20px;
}
body.page-teachers .cv-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
}
body.page-teachers .cv-h b {
  font-size: 15px;
}
body.page-teachers .cv-h small {
  font-size: 12.5px;
  color: var(--mut);
}
body.page-teachers .cv-r {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 78%;
}
body.page-teachers .cv-r.me {
  align-self: flex-end;
}
body.page-teachers .cv-r p {
  margin: 0;
  padding: 11px 15px;
  border-radius: 16px 16px 16px 4px;
  background: #f3f1ee;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
body.page-teachers .cv-r.me p {
  border-radius: 16px 16px 4px 16px;
  background: var(--navy);
  color: #fff;
}
body.page-teachers .gl-tav {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .gl-app.play .cv-r {
  opacity: 0;
  transform: translateY(8px);
}
body.page-teachers .gl-app.play .cv-r.in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
/* v2: gradebook */
body.page-teachers .gb {
  flex: none;
  padding: 16px 0 6px;
}
body.page-teachers .gb > .g-row {
  padding: 0 18px 12px;
  border-bottom: 1px solid var(--line);
}
body.page-teachers .gb-g,
body.page-teachers .gb-h,
body.page-teachers .gb-r {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  align-items: center;
}
body.page-teachers .gb-g span {
  display: block;
  padding: 10px 12px;
  background: #f7f7f6;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
body.page-teachers .gb-g span:first-child,
body.page-teachers .gb-g span:last-child {
  background: transparent;
}
body.page-teachers .gb-g .w2 {
  grid-column: span 2;
}
body.page-teachers .gb-g small,
body.page-teachers .gb-h small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--mut);
}
body.page-teachers .gb-h span {
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: right;
  line-height: 1.3;
}
body.page-teachers .gb-h span:first-child {
  text-align: left;
  padding-left: 18px;
}
body.page-teachers .gb-r {
  height: 48px;
  font-size: 14.5px;
}
body.page-teachers .gb-r > span {
  padding: 0 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.page-teachers .gb-n {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px !important;
  text-align: left !important;
}
body.page-teachers .gb-n .gl-av {
  width: 28px;
  height: 28px;
}
body.page-teachers .gb-n b {
  font-weight: 500;
}
body.page-teachers .gb-r.me {
  background: #fdf6ee;
}
body.page-teachers .gb-new em {
  display: inline-block;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 8px;
  font-style: normal;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
body.page-teachers .gb-new em.land {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
body.page-teachers .gb-avg {
  font-weight: 600;
}
body.page-teachers .gb-r.avg {
  background: #f7f7f6;
  font-weight: 700;
}
body.page-teachers .gb-r.avg b {
  font-weight: 700;
}
/* the pointer */
body.page-teachers .gl-app .gl-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 26px;
  height: 26px;
  fill: #141414;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  transform: translate(var(--cx, 1100px), var(--cy, 820px));
  transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1);
  pointer-events: none;
}
body.page-teachers .gl-app .gl-cur.down {
  transform: translate(var(--cx), var(--cy)) scale(0.86);
  transition: transform 0.12s ease;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .gl-v,
  body.page-teachers .gl-cur {
    transition: none;
  }
  body.page-teachers .gl-cur {
    display: none;
  }
}
/* phones and tablets: same story, the canvas narrows to the main pane (no sidebar) and stacks */
@media (max-width: 1024px) {
  body.page-teachers .gl {
    margin-top: 36px;
    border-radius: 12px;
  }
  body.page-teachers .gl-dots {
    display: none;
  }
  body.page-teachers .gl-bar {
    padding: 0 6px;
    height: 40px;
  }
  body.page-teachers .gl-tabs {
    flex: 1;
  }
  body.page-teachers .gl-tab {
    width: min(220px, 70%);
    font-size: 12px;
  }
  body.page-teachers .gl-url {
    height: 38px;
  }
  body.page-teachers .gl-url > svg {
    display: none;
  }
  body.page-teachers .gl-om {
    margin: 0;
    font-size: 12px;
  }
  body.page-teachers .gl-scr {
    aspect-ratio: 540/645;
  }
  body.page-teachers .gl-app {
    width: 540px;
    height: 645px;
  }
  body.page-teachers .eng {
    display: none;
  }
  body.page-teachers .gl-app .hp-side,
  body.page-teachers .gl-cur {
    display: none;
  }
  body.page-teachers .gl-main {
    left: 10px;
  }
  body.page-teachers .g-hd {
    height: 76px;
  }
  body.page-teachers .g-hd .g-seg,
  body.page-teachers .g-hd small,
  body.page-teachers .g-btn:not(.pri),
  body.page-teachers .g-row > .g-seg {
    display: none;
  }
  body.page-teachers .g-stats {
    grid-template-columns: 1fr 1fr;
  }
  body.page-teachers .na-h,
  body.page-teachers .na-r {
    grid-template-columns: 1.3fr 0.6fr 2.4fr;
  }
  body.page-teachers .na-h span:nth-child(2),
  body.page-teachers .na-r > span:nth-child(2),
  body.page-teachers .na-r .ch {
    display: none;
  }
  body.page-teachers .na-r {
    height: auto;
    min-height: 50px;
    padding-block: 6px;
    line-height: 1.35;
  }
  body.page-teachers .sw {
    grid-template-columns: 1fr;
  }
  body.page-teachers .sw-l {
    display: none;
  }
  body.page-teachers .cv-r {
    max-width: 88%;
  }
  body.page-teachers .gb-g {
    display: none;
  }
  body.page-teachers .gb-g,
  body.page-teachers .gb-h,
  body.page-teachers .gb-r {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  body.page-teachers .gb-h span:nth-child(2),
  body.page-teachers .gb-h span:nth-child(3),
  body.page-teachers .gb-r > span:nth-child(2),
  body.page-teachers .gb-r > span:nth-child(3) {
    display: none;
  }
}
/* Max 10-25 'a little big', then 'how would Framer do it': the window sits in a rounded art panel (Cursor, Parley
   'From ask to done'), narrower than the panel and running off its bottom edge. Wash = quiet-wash.webp, unused elsewhere. */
body.page-teachers .gl-panel {
  position: relative;
  margin-top: 48px;
  padding: 56px 7.5% 0;
  border-radius: 24px;
  background: #f6d8b6 url('https://assets-dev.capyodev.com/images/marketing-site/524d7727bfbfd29427ec98258a8dd167c978f638d721606bcd9df44e262857fb.webp') center/cover no-repeat;
  background-blend-mode: multiply;
  overflow: hidden;
}
/* the panel edge cuts the window at canvas y 617: below Course Settings, under Mei in the gradebook, under Luca's last message, between rows everywhere */
@media (min-width: 1025px) {
  body.page-teachers .gl-panel .gl-scr {
    aspect-ratio: 1280/617;
  }
  body.page-teachers .gl-panel .hp-pow {
    visibility: hidden;
  }
}
body.page-teachers .gl-panel .gl {
  margin: 0;
  border-radius: 12px 12px 0 0;
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.07),
    0 28px 70px rgba(120, 50, 0, 0.22);
}
@media (max-width: 1024px) {
  body.page-teachers .gl-panel {
    margin-top: 32px;
    padding: 24px 14px 0;
    border-radius: 18px;
    height: auto;
    max-height: 600px;
    background-position: left center;
  }
  body.page-teachers .gl-panel .gl {
    margin: 0;
  }
}
body.page-teachers .gl-panel .eng {
  display: none;
}
body.page-teachers .gl-panel .na {
  flex: 1;
}

/* your whole class (#class): tabs on the left (Teach live / Message / Plan), Capyo on the right in one app window
   bleeding off the right edge. Sidebar from assets/platform/teacher-messages; Messages and Calendar rebuilt from
   teacher-messages and teacher-calendar; the call from the real meeting components (see lab-card-live-classes). */
body.page-teachers #class {
  overflow: clip;
}
body.page-teachers .wc {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(40px, 4.4vw, 72px);
  align-items: start;
}
body.page-teachers .wc-copy h2 + .lede {
  margin-top: 22px;
}
body.page-teachers .wc-w {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: #cdbda6;
  cursor: pointer;
  transition: color 0.4s ease;
}
body.page-teachers .wc-w.on,
body.page-teachers .wc-w:hover {
  color: var(--ink);
}
body.page-teachers .wc-w:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 6px;
}
body.page-teachers .wc-cap {
  display: grid;
  margin-top: 34px;
  padding: 22px 24px;
  border-radius: 20px;
  background: #fffaf2;
  max-width: 440px;
}
body.page-teachers .wc-c {
  grid-area: 1/1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
  pointer-events: none;
}
body.page-teachers .wc-c.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.page-teachers .wc-c img {
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
body.page-teachers .wc-c p {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
}
@keyframes wc-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
body.page-teachers .wc-win {
  position: relative;
  margin: clamp(20px, 2vw, 32px) calc(-1 * var(--bleed, 0px)) 0 0;
  padding: 44px 0 44px 44px;
  border-radius: 24px 0 0 24px;
  background: #f6d8b6 url('https://assets-dev.capyodev.com/images/marketing-site/524d7727bfbfd29427ec98258a8dd167c978f638d721606bcd9df44e262857fb.webp') 80% 30% / cover no-repeat;
  background-blend-mode: multiply;
}
body.page-teachers .wc-scr {
  position: relative;
  width: 100%;
  aspect-ratio: 1180/720;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  background: #f3f5f4;
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.07),
    0 28px 70px rgba(120, 50, 0, 0.22);
}
@media (min-width: 1025px) {
  body.page-teachers .wc-app .hp-pow {
    visibility: hidden;
  }
}
body.page-teachers .wc-app {
  height: 720px;
}
body.page-teachers .wc-app .hp-school {
  height: 88px;
  padding-top: 18px;
}
body.page-teachers .wc-app .hp-nav {
  gap: 3px;
  padding-top: 14px;
}
body.page-teachers .wc-app .hp-me {
  padding-bottom: 14px;
}
body.page-teachers .wc-app .hp-side {
  border-radius: 0 16px 0 0;
}
body.page-teachers .wc-app .hp-ni {
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
body.page-teachers .wc-main {
  position: absolute;
  left: 236px;
  right: 12px;
  top: 9px;
  bottom: 9px;
}
body.page-teachers .wc-v {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(18px);
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
  pointer-events: none;
}
body.page-teachers .wc-app[data-s='0'] .v0,
body.page-teachers .wc-app[data-s='1'] .v1,
body.page-teachers .wc-app[data-s='2'] .v2 {
  opacity: 1;
  transform: none;
}
body.page-teachers .wc-app .g-cd {
  flex: 1;
  min-height: 0;
}
body.page-teachers .wc-av {
  flex: none;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .hp svg.wc-av {
  stroke: none;
}
body.page-teachers .wc-k {
  margin: 0;
  padding: 12px 14px 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mut);
}
/* v0: live class */
body.page-teachers .wc-callhd {
  gap: 14px;
}
body.page-teachers .wc-live {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fde4e1;
  color: #c0322a;
  font-size: 14px;
  font-weight: 700;
}
body.page-teachers .wc-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0352b;
  animation: wc-blink 1.6s ease-in-out infinite;
}
body.page-teachers .wc-callhd > div {
  flex: 1;
}
body.page-teachers .wc-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 10px;
  border-radius: 14px;
  background: #fff7ec;
  box-shadow: 0 0 0 1px #f3dcc0;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .wc-wait em {
  padding: 6px 12px;
  border-radius: 9px;
  background: var(--navy);
  color: #fff;
  font-style: normal;
  font-weight: 600;
}
body.page-teachers .wc-wait.in {
  opacity: 1;
  transform: none;
}
body.page-teachers .wc-back {
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.page-teachers .wc-back.in {
  opacity: 1;
}
body.page-teachers .wc-back.hit,
body.page-teachers .wc-wait em.hit {
  transform: scale(0.94);
}
body.page-teachers .wc-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: #fbf7f1;
}
body.page-teachers .wc-share,
body.page-teachers .wc-rooms {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  bottom: 80px;
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
}
body.page-teachers .wc-share {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-teachers .wc-slide {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
body.page-teachers .wc-slide small {
  align-self: flex-start;
  margin: -10px 0 6px 26px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
body.page-teachers .wc-eq {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 48px;
  font-weight: 700;
}
body.page-teachers .wc-eq .fr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
body.page-teachers .wc-eq .fr i {
  font-style: normal;
}
body.page-teachers .wc-eq .fr i:first-child {
  border-bottom: 3px solid currentColor;
  padding: 0 4px;
}
body.page-teachers .wc-eq .fr.fl {
  color: var(--navy);
}
body.page-teachers .wc-eq b {
  font-weight: 500;
  color: #777;
}
body.page-teachers .wc-eq .ans {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
body.page-teachers .wc-rule {
  font-size: 20px;
  color: #666;
}
body.page-teachers .wc-strip {
  flex: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}
body.page-teachers .wc-tile {
  position: relative;
  display: grid;
  place-items: center;
  height: 92px;
  border-radius: 12px;
  background: #f3ece2;
  overflow: hidden;
  font-size: 12.5px;
}
body.page-teachers .wc-tile .wc-av {
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
}
body.page-teachers .wc-tile img.wc-av {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-position: 50% 30%;
}
body.page-teachers .wc-tile b {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 500;
}
body.page-teachers .wc-tile.me {
  box-shadow: inset 0 0 0 3px var(--navy);
}
body.page-teachers .wc-new {
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-teachers .wc-new.in {
  opacity: 1;
}
body.page-teachers .wc-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  opacity: 0;
  transform: scale(0.97);
  pointer-events: none;
}
body.page-teachers .wc-room {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
body.page-teachers .wc-room > b {
  font-size: 16px;
}
body.page-teachers .wc-room > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-teachers .wc-room .wc-tile {
  flex: 1;
  height: auto;
  font-size: 14px;
}
body.page-teachers .wc-room .wc-tile .wc-av {
  width: 84px;
  height: 84px;
  margin-bottom: 10px;
}
body.page-teachers .wc-room .wc-tile b {
  left: 8px;
  bottom: 8px;
}
body.page-teachers .v0.br .wc-share {
  opacity: 0;
  transform: scale(0.97);
}
body.page-teachers .v0.br .wc-rooms {
  opacity: 1;
  transform: none;
}
body.page-teachers .wc-ctl {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
body.page-teachers .wc-ctl span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.15s ease;
}
body.page-teachers .wc-ctl svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .wc-ctl span.on {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
body.page-teachers .wc-ctl span.hit {
  transform: scale(0.9);
}
body.page-teachers .wc-ctl em {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: #e0352b;
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}
/* v1: messages */
body.page-teachers .wc-msg {
  display: flex;
  padding: 0;
  overflow: hidden;
}
body.page-teachers .wc-ml {
  flex: none;
  width: 320px;
  border-right: 1px solid var(--line);
  background: #fafafa;
}
body.page-teachers .wc-mi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
body.page-teachers .wc-mi img {
  flex: none;
  width: 32px;
  height: 32px;
}
body.page-teachers .wc-mi > span {
  flex: 1;
  min-width: 0;
}
body.page-teachers .wc-mi b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
body.page-teachers .wc-mi b em {
  padding: 1px 8px;
  border-radius: 6px;
  background: #efefef;
  font-style: normal;
  font-size: 12px;
  color: #555;
}
body.page-teachers .wc-mi small {
  display: block;
  font-size: 12.5px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .wc-mi time {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--mut);
}
body.page-teachers .wc-mi.on {
  background: #fdeedd;
}
body.page-teachers .wc-cv .wc-av {
  width: 40px;
  height: 40px;
}
body.page-teachers .wc-mr {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 16px;
}
body.page-teachers .wc-mh {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
body.page-teachers .wc-mh img {
  width: 30px;
  height: 30px;
}
body.page-teachers .wc-mh b {
  flex: 1;
  font-weight: 500;
}
body.page-teachers .wc-mh .g-btn {
  height: 38px;
  font-size: 14px;
  font-weight: 500;
}
body.page-teachers .wc-mh .g-btn.on {
  background: #fdeedd;
  border-color: #f1c79c;
}
body.page-teachers .wc-ann {
  margin: 0 40px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
body.page-teachers .wc-ann > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.page-teachers .wc-ann b {
  font-size: 15px;
  font-weight: 600;
}
body.page-teachers .wc-ann p {
  margin: 4px 0 6px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
body.page-teachers .wc-ann small {
  font-size: 12.5px;
  color: var(--mut);
}
body.page-teachers .wc-tag {
  padding: 2px 9px;
  border-radius: 7px;
  background: #f2f2f2;
  font-size: 12px;
  color: #555;
}
body.page-teachers .wc-post {
  border-color: #f1c79c;
  background: #fffaf4;
}
body.page-teachers .wc-post.hide {
  opacity: 0;
  transform: translateY(-10px);
}
body.page-teachers .wc-post {
  transition:
    opacity 0.45s ease,
    transform 0.55s var(--ease);
}
body.page-teachers .wc-post ~ .wc-ann {
  transition: transform 0.55s var(--ease);
}
/* v2: calendar */
body.page-teachers .wc-cal {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
body.page-teachers .wc-ct {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
  padding: 0 16px 0 26px;
  border-bottom: 1px solid var(--line);
}
body.page-teachers .wc-ar {
  font-size: 24px;
  line-height: 1;
  color: #333;
}
body.page-teachers .wc-ct > b {
  font-size: 18px;
  font-weight: 600;
}
body.page-teachers .wc-ct .wc-today {
  margin-left: 8px;
}
body.page-teachers .wc-ct .g-seg {
  margin-left: auto;
}
body.page-teachers .wc-cb {
  flex: 1;
  min-height: 0;
  display: flex;
}
body.page-teachers .wc-mo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
body.page-teachers .wc-dn {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  height: 38px;
  align-items: center;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
  border-bottom: 1px solid var(--line);
}
body.page-teachers .wc-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
}
body.page-teachers .wc-d {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 6px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
body.page-teachers .wc-d:nth-child(7n) {
  border-right: 0;
}
body.page-teachers .wc-d i {
  align-self: flex-end;
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
  min-width: 24px;
  text-align: center;
}
body.page-teachers .wc-d.out i {
  color: #c4c4c4;
}
body.page-teachers .wc-d.today {
  background: #f6f6f6;
}
body.page-teachers .wc-d.today i {
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
body.page-teachers .wc-e {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 7px 0 4px;
  border-radius: 7px;
  background: #e9f7fb;
  box-shadow:
    inset 3px 0 0 #36b5d4,
    0 0 0 1px #a9dcea;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .wc-e img {
  flex: none;
  width: 15px;
  height: 15px;
}
body.page-teachers .wc-e.l {
  background: #eef9fc;
  box-shadow:
    inset 3px 0 0 #36b5d4,
    0 0 0 1px #a9dcea;
}
body.page-teachers .wc-e.q {
  background: #fdf0e3;
  box-shadow:
    inset 3px 0 0 var(--navy),
    0 0 0 1px #f1c79c;
}
body.page-teachers .wc-e.h {
  background: #f1f1f1;
  box-shadow: 0 0 0 1px #d8d8d8;
  color: #666;
}
body.page-teachers .wc-e.i {
  background: #f1effb;
  box-shadow:
    inset 3px 0 0 #7d6bd6,
    0 0 0 1px #d3ccf2;
}
body.page-teachers .wc-imp {
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-teachers .wc-imp.hide {
  opacity: 0;
  transform: translateY(-8px);
}
body.page-teachers .wc-imb svg {
  width: 18px;
  height: 18px;
}
body.page-teachers .wc-imb {
  transition:
    transform 0.15s ease,
    background 0.3s ease;
}
body.page-teachers .wc-imb.hit {
  transform: scale(0.94);
  background: #f1effb;
}
body.page-teachers .wc-drop {
  background: #fdf0e3;
  box-shadow:
    inset 3px 0 0 var(--navy),
    0 0 0 1px #f1c79c;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-teachers .wc-drop.hide {
  opacity: 0;
  transform: translateY(-14px);
}
body.page-teachers .wc-cs {
  flex: none;
  width: 200px;
  border-left: 1px solid var(--line);
  padding: 6px 12px;
}
body.page-teachers .wc-sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
}
body.page-teachers .wc-sel svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #555;
  stroke-width: 2;
}
@keyframes wc-blink {
  50% {
    opacity: 0.35;
  }
}
@media (max-width: 1024px) {
  body.page-teachers .wc {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  body.page-teachers .wc-win {
    margin: 0 calc(-1 * var(--gutter)) 0 0;
  }
  body.page-teachers .wc-app .hp-side {
    display: none;
  }
  body.page-teachers .wc-main {
    left: 12px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers .wc-win {
    margin-top: 8px;
    padding: 22px 0 22px 14px;
    border-radius: 18px 0 0 18px;
  }
  body.page-teachers .wc-cap {
    margin-top: 24px;
    padding: 18px 18px;
  }
  body.page-teachers .wc-app {
    width: 620px;
    height: 700px;
  }
  body.page-teachers .wc-scr {
    aspect-ratio: 620/700;
  }
  body.page-teachers .wc-ml {
    display: none;
  }
  body.page-teachers .wc-ann {
    margin: 0 16px;
  }
  body.page-teachers .wc-mh .g-btn:not(.on) {
    display: none;
  }
  body.page-teachers .wc-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  body.page-teachers .wc-strip .wc-tile {
    height: 74px;
  }
  body.page-teachers .wc-share,
  body.page-teachers .wc-rooms {
    bottom: 76px;
  }
  body.page-teachers .wc-eq {
    font-size: 36px;
    gap: 12px;
  }
  body.page-teachers .wc-rule {
    font-size: 17px;
  }
  body.page-teachers .wc-wait {
    position: absolute;
    right: 12px;
    top: 50%;
    margin-top: -24px;
  }
  body.page-teachers .wc-back {
    position: absolute;
    right: 12px;
  }
  body.page-teachers .wc-ct {
    gap: 12px;
    padding-left: 16px;
  }
  body.page-teachers .wc-ct .g-seg,
  body.page-teachers .wc-ct .wc-today {
    display: none;
  }
  body.page-teachers .wc-ct .g-btn {
    margin-left: auto;
  }
  body.page-teachers .wc-e img {
    display: none;
  }
  body.page-teachers .wc-e {
    padding-left: 7px;
    font-size: 11px;
  }
}

/* class at a glance (#work), Max's edit 10-25 (Desktop capyo-teachers-class-at-a-glance.html): five students in
   Needs attention with days since active under the name, "Where the class is stuck" beside it, fuller gradebook. */
body.page-teachers .na-h,
body.page-teachers .na-r {
  display: grid;
  grid-template-columns: 1.45fr 0.5fr 2.5fr 16px;
  align-items: center;
  gap: 12px;
}
body.page-teachers .na-r {
  height: 50px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  color: #444;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
body.page-teachers .sw-r {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  margin: 0 12px 4px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14.5px;
}
body.page-teachers .gb-g,
body.page-teachers .gb-h,
body.page-teachers .gb-r {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr 0.8fr;
  align-items: center;
}
body.page-teachers .gb-h span {
  white-space: nowrap;
}
body.page-teachers .gb-r {
  height: 44px;
  font-size: 14.5px;
}
body.page-teachers .gb-new em.land {
  background: #fde9d6;
  color: #a64200;
  font-weight: 700;
}
body.page-teachers .gl-app .gl-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 26px;
  height: 26px;
  fill: #141414;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  transform: translate(var(--cx, 1100px), var(--cy, 820px));
  transition: transform 1.1s cubic-bezier(0.45, 0, 0.2, 1);
  pointer-events: none;
}
body.page-teachers .gl-panel .cls-row {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 10px;
}
body.page-teachers .na-who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
body.page-teachers .na-who small {
  font-size: 12px;
  color: var(--mut);
}
body.page-teachers .na-w {
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-teachers .tp {
  padding: 16px 22px 10px;
}
body.page-teachers .tp-r {
  margin-top: 16px;
}
body.page-teachers .tp-r:first-of-type {
  margin-top: 18px;
}
body.page-teachers .tp-t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
body.page-teachers .tp-t b {
  font-size: 14px;
  font-weight: 600;
}
body.page-teachers .tp-k {
  flex: none;
  padding: 2px 8px;
  border-radius: 7px;
  background: #f1f1f0;
  color: #666;
  font-size: 12px;
  font-weight: 600;
}
body.page-teachers .tp-k.hi {
  background: #fde9d6;
  color: #a64200;
}
body.page-teachers .tp-b {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
body.page-teachers .tp-b span {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #f3efea;
  overflow: hidden;
}
body.page-teachers .tp-b i {
  display: block;
  height: 100%;
  width: calc(var(--w) * 100%);
  border-radius: 4px;
  background: #e9a56c;
  transition: width 0.9s var(--ease);
}
body.page-teachers .tp-b small {
  flex: none;
  width: 86px;
  font-size: 12px;
  color: var(--mut);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.page-teachers .gl-app.play .tp-r:not(.in) .tp-b i {
  width: 0;
}
@media (max-width: 1024px) {
  body.page-teachers .gl-panel .cls-row {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-teachers .tp {
    display: none;
  }
  body.page-teachers .na-h,
  body.page-teachers .na-r {
    grid-template-columns: 1.3fr 0.5fr 2fr;
  }
  body.page-teachers .na-h span:nth-child(2),
  body.page-teachers .na-r > span:nth-child(2) {
    display: block;
  }
}

/* #class, left column pass 10-25: plain headline, three always-visible tool rows (accordion), the active one open and in sync with the app's sidebar */
body.page-teachers .wc-w,
body.page-teachers .wc-w.on,
body.page-teachers .wc-w:hover {
  color: inherit;
  cursor: default;
}
body.page-teachers .wc-cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 30px;
  padding: 0;
  border-radius: 0;
  background: none;
  max-width: 460px;
}
body.page-teachers .wc-c {
  grid-area: auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 20px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  cursor: pointer;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-teachers .wc-c:hover {
  background: rgba(255, 250, 242, 0.55);
}
body.page-teachers .wc-c.on {
  background: #fffaf2;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 14px 30px -22px rgba(120, 50, 0, 0.35);
}
body.page-teachers .wc-c:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-teachers .wc-c img {
  width: 40px;
  height: 40px;
  margin-top: -2px;
  filter: saturate(0.7);
  opacity: 0.8;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease;
}
body.page-teachers .wc-c.on img {
  filter: none;
  opacity: 1;
}
body.page-teachers .wc-c b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 36px;
  margin-top: -2px;
  color: var(--ink);
}
body.page-teachers .wc-x {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
body.page-teachers .wc-x p {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
  transition: opacity 0.35s ease;
}
body.page-teachers .wc-c.on .wc-x {
  grid-template-rows: 1fr;
}
body.page-teachers .wc-c.on .wc-x p {
  opacity: 1;
  padding-bottom: 2px;
}
body.page-teachers .wc-c:not(.on) .wc-x p {
  margin: 0;
}
body.page-teachers .tp-dlg {
  width: min(480px, calc(100vw - 32px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: var(--capyo-cream, #faf8f5);
  color: var(--capyo-dark, #1a1a1a);
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.18);
}
body.page-teachers .tp-dlg::backdrop {
  background: rgba(26, 26, 26, 0.45);
}
body.page-teachers .tp-form,
body.page-teachers .tp-thanks {
  padding: 32px 30px 30px;
  position: relative;
  display: grid;
  gap: 14px;
}
body.page-teachers .tp-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}
body.page-teachers .tp-form h2,
body.page-teachers .tp-thanks h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  font-weight: 600;
}
body.page-teachers .tp-form h2 em,
body.page-teachers .tp-thanks h2 em {
  font-style: normal;
  color: var(--capyo-orange, #d35400);
}
body.page-teachers .tp-lede,
body.page-teachers .tp-thanks p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  color: var(--body, #444);
}
body.page-teachers .tp-f {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
body.page-teachers .tp-f input {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #d9d4cc;
  border-radius: 12px;
  background: #fff;
  color: inherit;
}
body.page-teachers .tp-f input:focus {
  outline: 2px solid var(--capyo-orange, #d35400);
  outline-offset: 1px;
}
body.page-teachers .tp-hint {
  font-size: 13px;
  margin: -6px 0 0;
  color: #6b665e;
}
body.page-teachers .tp-err {
  font-size: 14px;
  margin: 0;
  color: #b3261e;
}
body.page-teachers .tp-act {
  margin-top: 6px;
}
body.page-teachers .tp-act .btn {
  width: 100%;
}
@media (max-width: 1024px) {
  body.page-teachers .tp-form,
  body.page-teachers .tp-thanks {
    padding: 28px 22px 24px;
  }
}
body.page-teachers .wc-par {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
}
/* Learn cards: frame shaped like the pace card (#pace .pt), wells keep the painted washes. */
body.page-teachers .ln-card {
  border-radius: 24px;
}
body.page-teachers .ln .ln-well {
  border-radius: 16px;
}
body.page-teachers .ln > .ln-card:nth-of-type(1) .ln-well {
  background: #fbf1e2 url('https://assets-dev.capyodev.com/images/marketing-site/80ec83f252378f5f13a91ce29eca428031307144da6db13373aae8da2c309f88.webp') center bottom/cover no-repeat;
}
body.page-teachers .ln > .ln-card:nth-of-type(2) .ln-well {
  background: #fbf1e2 url('https://assets-dev.capyodev.com/images/marketing-site/6ee3aa598171b4eb88e34acd0e8653ab4c2efaccea83c55996ae1b03711fac30.webp') center bottom/cover no-repeat;
}
body.page-teachers .ln > .ln-card:nth-of-type(3) .ln-well {
  background: #fbf1e2 url('https://assets-dev.capyodev.com/images/marketing-site/a7079da27f6150d6cab7a4018875ac7a9cb03eb741af381683e47265236127c0.webp') center bottom/cover no-repeat;
}

/* "Watch the setup" plays the demo film in a dialog (same player as /schools/) */
body.page-teachers .sl-film {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  overflow: visible;
  color: #f5f2ec;
}
body.page-teachers .sl-film::backdrop {
  background: rgba(14, 12, 10, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
body.page-teachers .sl-film[open] {
  animation: sl-in 0.35s var(--ease) both;
}
body.page-teachers .sl-film[open]::backdrop {
  animation: sl-fade 0.35s ease both;
}
body.page-teachers .sl-frame {
  position: relative;
  width: min(calc(100vw - 32px), calc(min(84vh, 860px) * 9 / 16));
  aspect-ratio: 9/16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
body.page-teachers .sl-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-teachers .sl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 18, 16, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s;
}
body.page-teachers .sl-close:hover {
  background: rgba(20, 18, 16, 0.8);
}
body.page-teachers .sl-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
body.page-teachers .sl-frame {
  width: min(calc(100vw - 32px), calc(min(84vh, 900px) * 16 / 9), 1400px);
  aspect-ratio: 16/9;
  background: #faf8f5;
}
body.page-teachers .sl-frame video {
  object-fit: contain;
}
@keyframes sl-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}
@keyframes sl-fade {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .sl-film[open],
  body.page-teachers .sl-film[open]::backdrop {
    animation: none;
  }
}
/* Max 10-29: "Researchers grade the tutor" one step smaller */
body.page-teachers .tu-rr {
  max-width: 720px;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
}
/* Max 10-29: class-at-a-glance head truly centred */
body.page-teachers #work .gl-head {
  margin-inline: auto;
  text-align: center;
}
body.page-teachers #work .gl-head .lede {
  margin-inline: auto;
}
/* Max 10-29: "Your whole class" shows the real live class from the demo film, big, on the iPad */
body.page-teachers #class .cl-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 500px);
  gap: 24px 72px;
  align-items: start;
}
body.page-teachers #class .cl-head > div + div {
  padding-top: 34px;
}
body.page-teachers #class .cl-head .lede {
  margin-top: 0;
}
body.page-teachers #class .cl-head .tx-list {
  margin-top: 20px;
}
body.page-teachers #class .cl-film {
  margin: clamp(40px, 4.5vw, 64px) 0 0;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 96px) 0;
  border-radius: 24px;
  background: #f8f7f2;
  overflow: hidden;
}
body.page-teachers #class .cl-film video {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1100/774;
  margin-bottom: -6%;
}
@media (max-width: 1024px) {
  body.page-teachers #class .cl-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  body.page-teachers #class .cl-film {
    padding: 20px 14px 0;
  }
}
/* Max 10-29: the two side avatars stand right behind the one in front, not pushed out to the card edges */
body.page-teachers #learn .ln-boros {
  position: relative;
  flex: none;
  display: block;
  width: 100%;
  height: 262px;
  margin: 0;
}
body.page-teachers #learn .ln-boros figure {
  position: absolute;
  bottom: 34px;
  left: 50%;
  margin: 0;
  z-index: 1;
}
body.page-teachers #learn .ln-boros figure img {
  height: 196px;
  width: auto;
  filter: drop-shadow(0 10px 10px rgba(90, 40, 0, 0.16)) saturate(0.94) brightness(0.97);
}
body.page-teachers #learn .ln-boros figure:first-child {
  transform: translateX(calc(-50% - 60px));
}
body.page-teachers #learn .ln-boros figure:last-child {
  transform: translateX(calc(-50% + 60px));
}
body.page-teachers #learn .ln-boros figure.mid {
  bottom: 0;
  z-index: 3;
  transform: translateX(-50%);
}
body.page-teachers #learn .ln-boros figure.mid img {
  height: 250px;
  filter: drop-shadow(0 16px 14px rgba(90, 40, 0, 0.24));
}
@media (max-width: 1024px) {
  body.page-teachers #learn .ln-boros {
    height: 220px;
  }
  body.page-teachers #learn .ln-boros figure img {
    height: 160px;
  }
  body.page-teachers #learn .ln-boros figure.mid img {
    height: 206px;
  }
  body.page-teachers #learn .ln-boros figure:first-child {
    transform: translateX(calc(-50% - 62px));
  }
  body.page-teachers #learn .ln-boros figure:last-child {
    transform: translateX(calc(-50% + 62px));
  }
}
/* New Platform Pals cover is drawn at the card's exact ratio: show it whole so the title is not cropped */
body.page-teachers .gm-c img {
  height: 100%;
  object-position: center;
}
/* Switching is easy: Capyo's answer ticks in row by row on scroll (page-teachers.js adds .cmp-tick, then .tk per row) */
body.page-teachers .cmp-tick td.c .cell {
  opacity: 0;
  translate: -12px 0;
  transition:
    opacity 0.5s ease,
    translate 0.6s var(--ease);
}
body.page-teachers .cmp-tick td.c .ok {
  scale: 0;
  transition: scale 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.18s;
}
body.page-teachers .cmp-tick tr.tk td.c .cell {
  opacity: 1;
  translate: 0 0;
}
body.page-teachers .cmp-tick tr.tk td.c .ok {
  scale: 1;
}

/* class at a glance: one signal colour. Red marks the problem, everything else stays neutral */
body.page-teachers .tp-b i {
  background: #c9c3bb;
}
body.page-teachers .tp-r:has(.tp-k.hi) .tp-b i {
  background: #d94b3d;
}
body.page-teachers .tp-k.hi {
  background: #fce4e1;
  color: #b42318;
}
body.page-teachers .na-n i {
  background: #d94b3d;
}
body.page-teachers .na-r.hit {
  background: #f5f2ee;
}
body.page-teachers .gl-app.hp,
body.page-teachers .wc-app.hp {
  --navy: #17345e;
}
body.page-teachers .gl-app .sw-r.on {
  background: #eef1f6;
}
body.page-teachers .gl-app .gb-new em.land {
  background: #17345e;
  color: #fff;
}
/* at their own pace: green is done, red is overdue, nothing else is coloured */
body.page-teachers .pt-st {
  background: #efece8;
  color: #5b5349;
}
body.page-teachers .pt-lane[data-lane='luca'] .pt-st:not(.ok) {
  background: #fce4e1;
  color: #b42318;
}
body.page-teachers .pt-st.ok {
  background: #e1f1e5;
  color: #1f6a3d;
}
body.page-teachers .pt-fill {
  background: #2f8a4f;
}
body.page-teachers .pt-g.on {
  background: #2f8a4f;
  box-shadow: 0 0 0 2px #2f8a4f;
}
body.page-teachers .pt-u em {
  background: var(--ink);
}
body.page-teachers .pt-now {
  background: #efe7dc;
}

/* your whole class: the live class as HTML, laid out like the real Live class screen (1100x774 canvas scaled into an iPad) */
body.page-teachers #class .lv-film {
  padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 96px);
}
body.page-teachers .lv-ipad {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 11px;
  border-radius: 28px;
  background: #1d1d1f;
  box-shadow:
    0 0 0 1.5px #3a3a3c inset,
    0 30px 60px -30px rgba(30, 20, 10, 0.4);
}
body.page-teachers .lv-scr {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f5f4;
  aspect-ratio: 1100/774;
}
body.page-teachers .lv-app {
  --ink: #0a0a0a;
  --mut: #6a6a6a;
  --line: #e5e5e5;
  position: absolute;
  left: 0;
  top: 0;
  width: 1100px;
  height: 774px;
  transform: scale(var(--s, 0.8));
  transform-origin: 0 0;
  display: flex;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
body.page-teachers .lv-app img {
  display: block;
  object-fit: contain;
}
body.page-teachers .lv-app svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .lv-side {
  flex: none;
  width: 190px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--line);
  border-radius: 0 16px 16px 0;
}
body.page-teachers .lv-school {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 14px;
  font-size: 14px;
  line-height: 1.2;
}
body.page-teachers .lv-school img {
  width: 48px;
  height: 48px;
}
body.page-teachers .lv-lbl {
  margin: 0 14px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mut);
}
body.page-teachers .lv-sel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
body.page-teachers .lv-sel img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
body.page-teachers .lv-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 12px;
  flex: 1;
}
body.page-teachers .lv-ni {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}
body.page-teachers .lv-ni img {
  width: 30px;
  height: 30px;
}
body.page-teachers .lv-ni.on {
  background: #eef1f6;
}
body.page-teachers .lv-pow {
  margin: 0 0 8px;
  text-align: center;
  font-size: 11.5px;
  color: var(--mut);
}
body.page-teachers .lv-me {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--line);
}
body.page-teachers .lv-me img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-teachers .lv-me small {
  display: block;
  font-size: 12px;
  color: var(--mut);
}
body.page-teachers .lv-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}
body.page-teachers .lv-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
body.page-teachers .lv-hd > img {
  width: 38px;
  height: 38px;
}
body.page-teachers .lv-hd > div {
  flex: 1;
  min-width: 0;
}
body.page-teachers .lv-hd b {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}
body.page-teachers .lv-hd small {
  font-size: 13px;
  color: var(--mut);
}
body.page-teachers .lv-live {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fce4e1;
  color: #b42318;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
body.page-teachers .lv-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d94b3d;
}
body.page-teachers .lv-cnt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 999px;
  background: #f3f1ee;
  font-size: 14px;
  font-weight: 500;
}
body.page-teachers .lv-stack {
  display: flex;
}
body.page-teachers .lv-stack img {
  width: 26px;
  height: 26px;
  margin-right: -8px;
  border-radius: 50%;
  background: #f3ece1;
  box-shadow: 0 0 0 2px #f3f1ee;
  object-fit: cover;
}
body.page-teachers .lv-stack {
  margin-right: 8px;
}
body.page-teachers .lv-end {
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
body.page-teachers .lv-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 12px;
}
body.page-teachers .lv-grid {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
body.page-teachers .lv-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: auto 0;
}
body.page-teachers .lv-t {
  position: relative;
  aspect-ratio: 1.38;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 0 0 0 #2f8a4f;
  transition: box-shadow 0.25s ease;
}
body.page-teachers .lv-t > img {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 78%;
  height: auto;
  transform: translateX(-50%);
}
body.page-teachers .lv-t > img.ph {
  inset: 0;
  left: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  transform: none;
  object-fit: cover;
}
body.page-teachers .lv-t > img.jm {
  width: 62%;
  bottom: -6%;
}
body.page-teachers .lv-t.talk {
  box-shadow: 0 0 0 3px #2f8a4f;
}
body.page-teachers .lv-t b {
  position: absolute;
  left: 7px;
  bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
}
body.page-teachers .lv-t b em {
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 11px;
}
body.page-teachers .lv-hand {
  position: absolute;
  right: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #8a5a00;
  box-shadow: 0 0 0 1.5px #e0b44a;
  opacity: 0;
  transform: translateY(6px) scale(0.8);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-teachers .lv-hand svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .lv-film.on .lv-hand.up {
  opacity: 1;
  transform: none;
}
body.page-teachers .lv-ctl {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 34px;
}
body.page-teachers .lv-c {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 50px;
  padding: 7px 0 5px;
  border-radius: 10px;
  background: #f3f1ee;
  color: #6d4e2a;
}
body.page-teachers .lv-c svg {
  width: 20px;
  height: 20px;
}
body.page-teachers .lv-c small {
  font-size: 10px;
  color: var(--mut);
}
body.page-teachers .lv-c.lv-cc {
  background: #e7e1d8;
}
body.page-teachers .lv-n {
  position: absolute;
  right: -3px;
  top: -6px;
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s;
}
body.page-teachers .lv-film.on [data-hands] .lv-n {
  opacity: 0;
}
body.page-teachers .lv-film.on [data-hands].up .lv-n {
  opacity: 1;
}
body.page-teachers .lv-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
body.page-teachers .lv-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 4px;
  border-radius: 12px;
  background: #f3f1ee;
  text-align: center;
  font-size: 13px;
  color: var(--mut);
}
body.page-teachers .lv-tabs span {
  padding: 8px 0;
  border-radius: 9px;
  transition:
    background 0.25s,
    color 0.25s;
}
body.page-teachers .lv-tabs span.on {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
}
body.page-teachers .lv-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}
body.page-teachers .lv-panel[data-tab='0'] .p0,
body.page-teachers .lv-panel[data-tab='1'] .p1 {
  display: flex;
}
body.page-teachers .lv-panel:not([data-tab]) .p0 {
  display: flex;
}
body.page-teachers .lv-jim-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .lv-jim-h img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dfe6ea;
  object-fit: cover;
}
body.page-teachers .lv-jim-h small {
  display: block;
  font-size: 12px;
  color: var(--mut);
}
body.page-teachers .lv-note {
  margin: 0;
  padding: 11px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #f3f4f6;
  font-size: 14px;
  line-height: 1.4;
}
body.page-teachers .lv-msg {
  max-width: 86%;
  margin: 0;
  padding: 9px 13px;
  border-radius: 14px 14px 14px 4px;
  background: #f3f4f6;
  font-size: 13.5px;
  line-height: 1.4;
}
body.page-teachers .lv-msg b {
  display: block;
  font-size: 11.5px;
  color: var(--mut);
}
body.page-teachers .lv-msg.me {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: #f8f1e6;
}
body.page-teachers .lv-film.on .lv-msg {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.45s var(--ease);
}
body.page-teachers .lv-film.on .lv-msg.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 1024px) {
  body.page-teachers #class .lv-film {
    padding: 20px 12px;
  }
  body.page-teachers .lv-ipad {
    padding: 7px;
    border-radius: 18px;
  }
  body.page-teachers .lv-scr {
    border-radius: 12px;
  }
}
body.page-teachers .lv-grid {
  justify-content: space-between;
  padding: 14px 12px 12px;
}
body.page-teachers .lv-tiles {
  flex: 1;
  align-content: center;
  margin: 0;
}
body.page-teachers .lv-t {
  aspect-ratio: 1.12;
}
body.page-teachers .lv-t > img.ph {
  border-radius: 0;
}
body.page-teachers .lv-ctl {
  align-items: flex-start;
  padding-top: 12px;
}
body.page-teachers .lv-c {
  width: 46px;
  flex: none;
}
body.page-teachers .lv-ctl {
  flex-wrap: nowrap;
  gap: 7px;
}
body.page-teachers .lv-in {
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 13.5px;
  color: var(--mut);
}
/* dress up: the three avatars stand on the bottom edge of the well, larger */
body.page-teachers #learn .ln-rew {
  position: relative;
  overflow: hidden;
}
body.page-teachers #learn .ln-rew .ln-boros {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 290px;
  width: auto;
}
body.page-teachers #learn .ln-boros figure {
  bottom: -6px;
}
body.page-teachers #learn .ln-boros figure img {
  height: 236px;
}
body.page-teachers #learn .ln-boros figure.mid {
  bottom: -8px;
}
body.page-teachers #learn .ln-boros figure.mid img {
  height: 290px;
}
body.page-teachers #learn .ln-boros figure:first-child {
  transform: translateX(calc(-50% - 82px));
}
body.page-teachers #learn .ln-boros figure:last-child {
  transform: translateX(calc(-50% + 82px));
}
@media (max-width: 1024px) {
  body.page-teachers #learn .ln-rew .ln-boros {
    height: 250px;
  }
  body.page-teachers #learn .ln-boros figure img {
    height: 200px;
  }
  body.page-teachers #learn .ln-boros figure.mid img {
    height: 250px;
  }
}
body.page-teachers #learn .ln-rew .ln-coins {
  position: relative;
  z-index: 5;
}
body.page-teachers #learn .ln-boros figure {
  bottom: -34px;
}
body.page-teachers #learn .ln-boros figure.mid {
  bottom: -40px;
}
body.page-teachers #learn .ln-rew .ln-coins {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
body.page-teachers .lv-t {
  aspect-ratio: 0.98;
}
body.page-teachers .lv-t {
  aspect-ratio: 0.9;
}

/* hero buttons: one shared size, a matched pair */
@media (min-width: 1025px) {
  body.page-teachers .band-hero.side .actions:not(#_) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: max-content;
  }
  body.page-teachers .band-hero.side .actions .btn:not(#_) {
    justify-content: center;
  }
}
/* hero type and spacing: the same rhythm as the Capyo for schools hero */
@media (min-width: 1025px) {
  body.page-teachers .band-hero.side .hero-split > div:first-child {
    --tx: 5px;
  }
  body.page-teachers .band-hero.side .label {
    margin-bottom: 14px;
  }
  body.page-teachers .band-hero.side .lede {
    margin-top: 22px;
    max-width: 520px;
    font-size: clamp(17px, 1.44vw, 26px);
    line-height: 1.46;
  }
  body.page-teachers .band-hero.side .actions {
    margin-top: 26px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers .band-hero.side h1 {
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
  body.page-teachers .band-hero.side .lede {
    margin-top: 24px;
    max-width: 480px;
  }
  body.page-teachers .band-hero.side .actions {
    margin-top: 28px;
  }
}
/* course cards on a phone: one swipe row of three, the next card peeking in */
@media (max-width: 600px) {
  body.page-teachers #setup .cy-cards {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 32px;
    margin-bottom: -20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  body.page-teachers #setup .cy-cards::-webkit-scrollbar {
    display: none;
  }
  body.page-teachers #setup .cy-card {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
  body.page-teachers #setup .cy-card p {
    font-size: 15.5px;
  }
}
/* assistant window: no cream frame, the grained grey screen sits on the page with one tight shadow; Add to class is the orange action */
body.page-teachers .cap-win {
  padding: 0;
  background: none;
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.08),
    0 6px 16px -10px rgba(120, 50, 0, 0.22);
}
body.page-teachers .cap-acts .pri {
  background: var(--orange);
}
body.page-teachers .cap-acts .pri.done {
  background: #9a3d00;
}

/* Max 11-05: assistant window lifts off the page, teacher bubbles match the assistant, textbook card type gets weight */
body.page-teachers .cap-win {
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 2.8px 2.2px rgba(60, 40, 20, 0.03),
    0 6.7px 5.3px rgba(60, 40, 20, 0.045),
    0 12.5px 10px rgba(60, 40, 20, 0.055),
    0 22.3px 17.9px rgba(60, 40, 20, 0.065),
    0 41.8px 33.4px rgba(60, 40, 20, 0.08),
    0 100px 80px rgba(60, 40, 20, 0.1);
}
body.page-teachers .cap-win .cap-scr {
  border-radius: 16px;
}
body.page-teachers .cap-me {
  background: #f3f4f6;
}
body.page-teachers .tx-split {
  background: #fff;
  max-width: 1040px;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.05),
    0 1px 1px -0.5px rgba(60, 40, 20, 0.05),
    0 3px 3px -1.5px rgba(60, 40, 20, 0.05),
    0 6px 6px -3px rgba(60, 40, 20, 0.05),
    0 12px 12px -6px rgba(60, 40, 20, 0.05),
    0 24px 24px -12px rgba(60, 40, 20, 0.05);
}
body.page-teachers .tx-split .tx-copy {
  padding: 40px 52px;
}
body.page-teachers .tx-split .tx-h {
  font-size: clamp(32px, 2.9vw, 42px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-top: 14px;
}
body.page-teachers .tx-split .tx-h em {
  font-weight: 600;
}
body.page-teachers .tx-split .lede {
  margin-top: 20px;
  font-size: 17.5px;
  line-height: 1.55;
  font-weight: 450;
  color: var(--ink);
  opacity: 0.82;
}
body.page-teachers .tx-split .tx-frame {
  min-height: 340px;
}
@media (max-width: 1024px) {
  body.page-teachers .tx-split .tx-copy {
    padding: 26px 18px 20px;
  }
  body.page-teachers .tx-split .tx-h {
    font-size: 30px;
  }
  body.page-teachers .tx-split .lede {
    font-size: 16.5px;
  }
}
body.page-teachers #assistant .tx-top .lede {
  text-wrap: balance;
  max-width: 440px;
}
body.page-teachers .tx-split {
  max-width: 1100px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
body.page-teachers .tx-split .tx-h {
  font-size: clamp(30px, 2.6vw, 38px);
}
body.page-teachers .tx-split .lede {
  text-wrap: pretty;
  max-width: 460px;
}
body.page-teachers .tx-split .tx-frame {
  min-height: 320px;
}
@media (max-width: 1024px) {
  body.page-teachers .tx-split {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Max 11-05 b: textbook card back to its original size, keep the heavier type */
body.page-teachers .tx-split {
  max-width: 980px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
body.page-teachers .tx-split .tx-copy {
  padding: 28px 40px;
}
body.page-teachers .tx-split .tx-h {
  font-size: clamp(26px, 2.1vw, 30px);
  margin-top: 10px;
}
body.page-teachers .tx-split .lede {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
}
body.page-teachers .tx-split .tx-frame {
  min-height: 280px;
}
body.page-teachers #tutor .tu-top .lede {
  text-wrap: balance;
}
@media (max-width: 1024px) {
  body.page-teachers .tx-split {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-teachers .tx-split .tx-copy {
    padding: 24px 16px 18px;
  }
  body.page-teachers .tx-split .tx-h {
    font-size: 26px;
  }
}

/* Max 11-05 c: no navy in the glance app, ink buttons and grey chat; "Where the class is stuck" rebuilt as a ranked list; textbook card sits lower */
body.page-teachers #work .gl-app.hp {
  --navy: #141414;
}
body.page-teachers #work .gl-app .sw-r.on {
  border-color: #141414;
  background: #f6f4f1;
}
body.page-teachers #work .gl-app .gb-new em.land {
  background: #141414;
}
body.page-teachers #work .cv-r p,
body.page-teachers #work .cv-r.me p {
  background: #f3f4f6;
  color: var(--ink);
}
body.page-teachers #work .gl-head h2 em {
  display: inline;
}
body.page-teachers #work .gl-head .lede {
  max-width: 560px;
  margin-inline: auto;
  text-wrap: balance;
}
body.page-teachers .tp {
  display: flex;
  flex-direction: column;
}
body.page-teachers .tp-l {
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}
body.page-teachers .tp-r,
body.page-teachers .tp-r:first-of-type {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 11px 0;
}
body.page-teachers .tp-n {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
body.page-teachers .tp-n b {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .tp-n small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--mut);
}
body.page-teachers .tp-r.hi .tp-n b {
  color: #b42318;
}
body.page-teachers .tp-tt {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
body.page-teachers .tp-b {
  margin-top: 8px;
}
body.page-teachers .tp-b span {
  height: 6px;
  border-radius: 3px;
  background: #f1eee9;
}
body.page-teachers .tp-b i,
body.page-teachers .tp-r:has(.tp-k.hi) .tp-b i {
  border-radius: 3px;
  background: #cfc9c1;
}
body.page-teachers .tp-r.hi .tp-b i {
  background: #d94b3d;
}
body.page-teachers .tp-q {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .tx-row.flip.tx-split {
  margin-top: clamp(110px, 11vw, 160px);
}
body.page-teachers .tp-r:nth-child(4) {
  display: none;
}

/* Max 11-05 d: stuck panel without bars, who is stuck as avatars; roomier glance header */
body.page-teachers .tp-l {
  gap: 6px;
  margin-top: 16px;
}
body.page-teachers .tp-r,
body.page-teachers .tp-r:first-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-teachers .gl-app.play .tp-r:not(.in) {
  opacity: 0;
  transform: translateY(6px);
}
body.page-teachers .tp-r.hi {
  background: #fdf1ef;
}
body.page-teachers .tp-m {
  min-width: 0;
}
body.page-teachers .tp-tt {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
body.page-teachers .tp-q {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--mut);
}
body.page-teachers .tp-q b {
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .tp-r.hi .tp-q b {
  color: #b42318;
}
body.page-teachers .tp-av {
  flex: none;
  display: flex;
  align-items: center;
}
body.page-teachers .tp-av .gl-av {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  box-shadow: 0 0 0 2px #fff;
}
body.page-teachers .tp-r.hi .tp-av .gl-av {
  box-shadow: 0 0 0 2px #fdf1ef;
}
body.page-teachers .tp-av .gl-av:first-child {
  margin-left: 0;
}
body.page-teachers .tp-more {
  display: grid;
  place-items: center;
  height: 28px;
  min-width: 28px;
  margin-left: -8px;
  padding: 0 7px;
  border-radius: 999px;
  background: #efebe6;
  box-shadow: 0 0 0 2px #fff;
  font-size: 11.5px;
  font-weight: 700;
  color: #5b5349;
}
body.page-teachers .tp-r.hi .tp-more {
  background: #f8dcd7;
  color: #b42318;
  box-shadow: 0 0 0 2px #fdf1ef;
}
body.page-teachers #work .gl-head h2 {
  line-height: 1.1;
  margin-top: 14px;
}
body.page-teachers #work .gl-head .lede {
  margin-top: 28px;
  line-height: 1.6;
}
body.page-teachers #work .gl-panel {
  margin-top: 64px;
}
body.page-teachers .tp-r:not(.hi) {
  background: #faf8f6;
  box-shadow: inset 0 0 0 1px rgba(60, 40, 20, 0.07);
}
body.page-teachers .tp-r:not(.hi) .tp-av .gl-av,
body.page-teachers .tp-r:not(.hi) .tp-more {
  box-shadow: 0 0 0 2px #faf8f6;
}
body.page-teachers .tp-r.hi {
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.1);
}
body.page-teachers #work .gl-top h2 em {
  display: block;
}
body.page-teachers #work .gl-top .lede {
  margin-top: 0;
  max-width: 420px;
  text-wrap: pretty;
}
body.page-teachers #work .gl-top {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 48px;
}
body.page-teachers #work .gl-top .lede {
  max-width: 360px;
}
@media (max-width: 1024px) {
  body.page-teachers #work .gl-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
body.page-teachers .tp-l {
  gap: 12px;
  margin-top: 20px;
}
body.page-teachers .tp-r,
body.page-teachers .tp-r:first-of-type {
  padding: 20px 18px;
}
body.page-teachers .tp {
  overflow: hidden;
}
/* Max 11-05 e: pace header on two clean lines, lede beside it */
body.page-teachers #pace .pc-head {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
}
body.page-teachers #pace .pc-head h2 em {
  display: block;
}
body.page-teachers #pace .pc-head .lede {
  max-width: 340px;
  text-wrap: pretty;
}
body.page-teachers #work .gl-top .lede {
  max-width: 320px;
}
@media (max-width: 1024px) {
  body.page-teachers #pace .pc-head {
    grid-template-columns: 1fr;
  }
}
body.page-teachers #work .gl-top {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 64px;
}
body.page-teachers #work .gl-top .lede {
  max-width: 440px;
  margin: 0 0 6px;
}
@media (max-width: 1024px) {
  body.page-teachers #work .gl-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
body.page-teachers #work .gl-top .lede {
  max-width: 340px;
  text-wrap: balance;
}

/* Max 11-05 #class v2: the /schools/ lab A format. Feature list with icons on the left (the active one on a paper tile),
   the real live-class screen (assets/embeds/vb/live.html, the demo teacher on video) in one window on the right. */
body.page-teachers #class .cl-head {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
}
body.page-teachers #class .cl-head .lede {
  margin: 0 0 6px;
  max-width: 440px;
  justify-self: end;
}
body.page-teachers .lw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  column-gap: 56px;
  align-items: center;
  max-width: 1120px;
  margin: clamp(40px, 4vw, 56px) auto 0;
}
body.page-teachers .lw-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-teachers .lw-it {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 12px 20px;
  border-radius: 18px;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-teachers .lw-it img {
  grid-row: 1/3;
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
body.page-teachers .lw-it b {
  grid-column: 2;
  align-self: end;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(18, 24, 21, 0.66);
  transition: color 0.3s ease;
}
body.page-teachers .lw-it span {
  grid-column: 2;
  align-self: start;
  padding-top: 4px;
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(18, 24, 21, 0.6);
  text-wrap: pretty;
}
body.page-teachers .lw-it.is-on {
  background: var(--paper);
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.05),
    0 18px 36px -30px rgba(120, 50, 0, 0.35);
}
body.page-teachers .lw-it.is-on b {
  color: var(--ink);
}
body.page-teachers .lw-it.is-on img {
  transform: scale(1.06);
}
body.page-teachers .lw-win {
  position: relative;
  height: 500px;
  border-radius: 24px;
  background: #f6efe6;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(80, 40, 10, 0.05),
    0 2.8px 2.2px rgba(80, 40, 10, 0.02),
    0 6.7px 5.3px rgba(80, 40, 10, 0.03),
    0 12.5px 10px rgba(80, 40, 10, 0.04),
    0 22.3px 17.9px rgba(80, 40, 10, 0.05),
    0 41.8px 33.4px rgba(80, 40, 10, 0.06),
    0 100px 80px rgba(80, 40, 10, 0.08);
}
body.page-teachers .lw-fr {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.page-teachers .lw-fr.on {
  opacity: 1;
}
@media (max-width: 1024px) {
  body.page-teachers #class .cl-head {
    grid-template-columns: 1fr;
    gap: 0;
  }
  body.page-teachers #class .cl-head .lede {
    justify-self: start;
    margin: 18px 0 0;
  }
  body.page-teachers .lw {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    margin-top: 28px;
  }
  body.page-teachers .lw-win {
    order: -1;
    height: auto;
    aspect-ratio: 1.1;
    border-radius: 20px;
  }
  body.page-teachers .lw-fr {
    transform-origin: 0 0;
  }
  body.page-teachers .lw-it {
    min-height: 0;
    padding: 10px 12px;
    column-gap: 14px;
    grid-template-columns: 40px minmax(0, 1fr);
  }
  body.page-teachers .lw-it img {
    width: 40px;
    height: 40px;
  }
  body.page-teachers .lw-it b {
    font-size: 17px;
  }
  body.page-teachers .lw-it span {
    font-size: 14.5px;
  }
}

/* Max 11-05 #learn: the avatar card is a shop shot (one avatar on a plate, two outfits with prices), not three mascots in a row */
body.page-teachers #learn .ln-shop {
  position: absolute;
  inset: 0;
}
body.page-teachers #learn .ln-plate {
  position: absolute;
  left: 50%;
  top: 62px;
  width: 196px;
  height: 196px;
  margin-left: -98px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: inset 0 0 0 1px rgba(120, 50, 0, 0.06);
}
body.page-teachers #learn .ln-plate img {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 172px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 12px rgba(90, 40, 0, 0.18));
}
body.page-teachers #learn .ln-item {
  position: absolute;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 112px;
  padding: 8px 8px 9px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(90, 40, 0, 0.06),
    0 14px 26px -18px rgba(90, 40, 0, 0.45);
}
body.page-teachers #learn .ln-item.a {
  left: 18px;
  transform: rotate(-3deg);
}
body.page-teachers #learn .ln-item.b {
  right: 18px;
  transform: rotate(3deg);
}
body.page-teachers #learn .ln-item > img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
body.page-teachers #learn .ln-item b {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers #learn .ln-item small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #f6f1ea;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers #learn .ln-item small img {
  width: 13px;
  height: 13px;
}
body.page-teachers #learn .ln-item.on {
  box-shadow:
    0 0 0 2px #141414,
    0 14px 26px -18px rgba(90, 40, 0, 0.45);
}
body.page-teachers #learn .ln-item.on small {
  background: #141414;
  color: #fff;
}
@media (max-width: 1024px) {
  body.page-teachers #learn .ln-plate {
    top: 58px;
  }
}

/* Max 11-05: the split cards (#parents message, class textbooks) were pure white; they take the page's paper card colour like #pace and #learn.
   The message window is smaller so it sits in its frame with room around it. */
body.page-teachers .tx-split {
  background: #fffaf2;
}
body.page-teachers #parents .pm-win {
  --k: calc(100cqw / 66);
  left: 12%;
  right: 12%;
  border-radius: 1.8em;
}
@media (max-width: 1024px) {
  body.page-teachers #parents .pm-win {
    --k: calc(100cqw / 60);
    left: 8%;
    right: 8%;
  }
}

/* Max 11-05 #class tighter: shorter window, compact list, less air between header and content */
body.page-teachers .lw {
  margin-top: clamp(28px, 2.8vw, 40px);
  column-gap: 44px;
}
body.page-teachers .lw-list {
  gap: 2px;
}
body.page-teachers .lw-it {
  min-height: 0;
  padding: 9px 16px;
  column-gap: 14px;
  grid-template-columns: 40px minmax(0, 1fr);
  border-radius: 14px;
}
body.page-teachers .lw-it img {
  width: 40px;
  height: 40px;
}
body.page-teachers .lw-it img.lw-jim {
  border-radius: 50%;
  background: #e4eaee;
}
body.page-teachers .lw-it b {
  font-size: 17px;
}
body.page-teachers .lw-it span {
  padding-top: 2px;
  font-size: 14.5px;
}
body.page-teachers .lw-win {
  height: 420px;
}
@media (max-width: 1024px) {
  body.page-teachers .lw-win {
    height: auto;
  }
}

/* Max 11-05: the window was too small. The screen is laid out at 600 wide and scaled up to fill a bigger window (about 1.15x on desktop) */
body.page-teachers .lw {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.4fr);
  column-gap: 40px;
}
body.page-teachers .lw-win {
  height: auto;
  aspect-ratio: 600/455;
}
body.page-teachers .lw-fr {
  transform-origin: 0 0;
}

/* Max 11-05 #learn v2: practice card is one real practice question (wrong pick, right answer, Jim explains, added to review);
   avatar card is a crowd of mini capybaras in every outfit, the one being worn moves along. */
body.page-teachers #learn .pq {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(90, 40, 0, 0.06),
    0 18px 34px -24px rgba(90, 40, 0, 0.5);
  font-size: 13px;
  color: var(--ink);
}
body.page-teachers #learn .ln-prac .ln-well {
  position: relative;
}
body.page-teachers #learn .pq-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}
body.page-teachers #learn .pq-top img {
  width: 30px;
  height: 30px;
}
body.page-teachers #learn .pq-top span {
  flex: 1;
  min-width: 0;
}
body.page-teachers #learn .pq-top b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}
body.page-teachers #learn .pq-top small {
  display: block;
  font-size: 11.5px;
  color: #77736c;
}
body.page-teachers #learn .pq-top em {
  font-style: normal;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f1eee8;
  white-space: nowrap;
}
body.page-teachers #learn .pq-q {
  margin: 0 0 2px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.page-teachers #learn .pq-o {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: #f6f3ee;
  border: 1.5px solid transparent;
  font-size: 14px;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.15s;
}
body.page-teachers #learn .pq-o i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  font-style: normal;
  font-size: 11px;
  color: #77736c;
  transition:
    background-color 0.3s,
    color 0.3s;
}
body.page-teachers #learn .pq-o small {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
}
body.page-teachers #learn .pq-o.bad {
  background: #fbe9e5;
  border-color: #efc3ba;
}
body.page-teachers #learn .pq-o.bad i {
  background: #c43d2b;
  color: #fff;
}
body.page-teachers #learn .pq-o.bad small {
  color: #c43d2b;
}
body.page-teachers #learn .pq-o.good {
  background: #e7f4ea;
  border-color: #bfe0c8;
}
body.page-teachers #learn .pq-o.good i {
  background: #2f9a55;
  color: #fff;
}
body.page-teachers #learn .pq-o.good small {
  color: #22743f;
}
body.page-teachers #learn .pq-o.tap {
  transform: scale(0.97);
}
body.page-teachers #learn .pq-fb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 11px;
  background: #f6f3ee;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
body.page-teachers #learn .pq-fb img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e4eaee;
  flex: none;
}
body.page-teachers #learn .pq-fb p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}
body.page-teachers #learn .pq-fb b {
  font-weight: 600;
}
body.page-teachers #learn .pq-rv {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 99px;
  background: #e7f4ea;
  color: #22743f;
  font-size: 12px;
  font-weight: 600;
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease);
}
body.page-teachers #learn .pq-rv svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers #learn .pq[data-s='0'] .pq-fb,
body.page-teachers #learn .pq[data-s='1'] .pq-fb {
  opacity: 0;
  transform: translateY(6px);
}
body.page-teachers #learn .pq[data-s='0'] .pq-rv,
body.page-teachers #learn .pq[data-s='1'] .pq-rv,
body.page-teachers #learn .pq[data-s='2'] .pq-rv {
  opacity: 0;
  transform: translateY(4px);
}
body.page-teachers #learn .cw {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 66px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
body.page-teachers #learn .cw-t {
  position: relative;
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.86);
  box-shadow: inset 0 0 0 1px rgba(120, 50, 0, 0.05);
  overflow: hidden;
  transition:
    box-shadow 0.35s,
    background-color 0.35s;
}
body.page-teachers #learn .cw-t img {
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 112%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  transition: transform 0.45s var(--ease);
}
body.page-teachers #learn .cw-t.on {
  background: #fff;
  box-shadow:
    0 0 0 2px #141414,
    0 12px 22px -14px rgba(90, 40, 0, 0.5);
}
body.page-teachers #learn .cw-t.on img {
  transform: translateX(-50%) scale(1.06);
}
@media (max-width: 1024px) {
  body.page-teachers #learn .cw {
    top: 60px;
  }
}
body.page-teachers #learn .cw {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.page-teachers #learn .cw-t img {
  width: auto;
  height: 104%;
  bottom: -6%;
}

/* Max 11-05 (2): #learn practice = three students in the same unit, each at their own pace (no question card) */
body.page-teachers #learn .ln-pace {
  position: relative;
}
body.page-teachers #learn .pp {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 18px 16px;
}
body.page-teachers #learn .pp-u {
  align-self: flex-start;
  margin: 0 0 3px 2px;
  font-size: 12.5px;
  font-weight: 650;
  color: #8a5a2b;
}
body.page-teachers #learn .pp-r {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 14px 12px 11px;
  border-radius: 15px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow:
    0 1px 2px rgba(90, 40, 0, 0.05),
    0 14px 26px -22px rgba(90, 40, 0, 0.55);
}
body.page-teachers #learn .pp-av svg {
  display: block;
  width: 40px;
  height: 40px;
}
body.page-teachers #learn .pp-m {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 7px;
  min-width: 0;
}
body.page-teachers #learn .pp-m b {
  font-size: 14px;
  font-weight: 650;
  color: var(--ink);
}
body.page-teachers #learn .pp-m small {
  justify-self: end;
  font-size: 11.5px;
  font-weight: 600;
  color: #77736c;
  white-space: nowrap;
  padding: 2px 0;
  border-radius: 99px;
  transition:
    background-color 0.35s,
    color 0.35s,
    padding 0.35s;
}
body.page-teachers #learn .pp-m small.gap {
  padding: 2px 8px;
  background: #fcefd6;
  color: #93520a;
}
body.page-teachers #learn .pp-m small.ready {
  padding: 2px 8px;
  background: #e7f4ea;
  color: #22743f;
}
body.page-teachers #learn .pp-bar {
  grid-column: 1/-1;
  height: 6px;
  border-radius: 99px;
  background: #efe6da;
  overflow: hidden;
}
body.page-teachers #learn .pp-bar i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(calc(var(--w) / 100));
  transition:
    transform 1s var(--ease),
    background-color 0.35s;
}
body.page-teachers #learn .pp-r.done .pp-bar i {
  background: #2f9a55;
}

/* Max 11-05 (2) #class: the list was too small next to the window. List gets more weight, the window is smaller. */
@media (min-width: 1025px) {
  body.page-teachers .lw {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    column-gap: 48px;
  }
  body.page-teachers .lw-list {
    gap: 6px;
  }
  body.page-teachers .lw-it {
    padding: 16px 20px;
    column-gap: 18px;
    grid-template-columns: 52px minmax(0, 1fr);
    border-radius: 18px;
  }
  body.page-teachers .lw-it img {
    width: 52px;
    height: 52px;
  }
  body.page-teachers .lw-it b {
    font-size: 20px;
  }
  body.page-teachers .lw-it span {
    padding-top: 4px;
    font-size: 16px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers .lw {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-teachers .lw-list {
    gap: 2px;
  }
  body.page-teachers .lw-win {
    aspect-ratio: 480/450;
  }
}

/* Max 11-05 (2) #learn avatar: no backgrounds, the same capybara in three outfits shoulder to shoulder, like a promo shot */
body.page-teachers #learn .ln-crew {
  position: relative;
}
body.page-teachers #learn .ln-crew .ln-coins {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-size: 14px;
  padding: 6px 13px 6px 8px;
}
body.page-teachers #learn .crew {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82%;
}
body.page-teachers #learn .crew img {
  position: absolute;
  bottom: -2%;
  height: 78%;
  width: auto;
  filter: drop-shadow(0 12px 12px rgba(90, 40, 0, 0.2));
}
body.page-teachers #learn .crew .cr-l {
  left: 50%;
  transform: translateX(-112%);
}
body.page-teachers #learn .crew .cr-r {
  left: 50%;
  transform: translateX(12%);
}
body.page-teachers #learn .crew .cr-c {
  z-index: 2;
  left: 50%;
  bottom: -4%;
  height: 92%;
  transform: translateX(-50%);
}

/* Max 11-05 (2) #lang: the students page Languages card (real vocab practice screen, every word scored), teacher copy */
body.page-teachers #lang .lx {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: stretch;
  padding: 12px 12px 12px clamp(28px, 3.4vw, 52px);
  border-radius: 28px;
  background: #fffaf2;
}
body.page-teachers #lang .lx-copy {
  align-self: center;
  padding: 36px 0;
}
body.page-teachers #lang .lx-copy h2 {
  margin-top: 14px;
  max-width: 560px;
}
body.page-teachers #lang .lx-copy .lede {
  max-width: 440px;
  margin-top: 20px;
}
body.page-teachers #lang .lx-well {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px clamp(24px, 3vw, 44px);
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 30% 100% / auto 230% no-repeat;
}
body.page-teachers #lang .lx-win {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: calc(500px * var(--k, 1));
  margin: 0;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 28px 70px -24px rgba(120, 50, 0, 0.32);
  overflow: hidden;
}
body.page-teachers #lang .lx-win iframe {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 560px;
  height: 500px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
  border: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-teachers #lang .lx-win.on iframe {
  opacity: 1;
}
@media (max-width: 1024px) {
  body.page-teachers #lang .lx {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 10px;
    border-radius: 22px;
  }
  body.page-teachers #lang .lx-copy {
    padding: 22px 12px 0;
  }
  body.page-teachers #lang .lx-well {
    padding: 22px 12px;
    border-radius: 14px;
  }
  body.page-teachers #lang .lx-win {
    border-radius: 14px;
  }
}
body.page-teachers #learn .crew img {
  height: 62%;
  bottom: -1%;
}
body.page-teachers #learn .crew .cr-l {
  transform: translateX(calc(-50% - 74px));
}
body.page-teachers #learn .crew .cr-r {
  transform: translateX(calc(-50% + 74px));
}
body.page-teachers #learn .crew .cr-c {
  height: 76%;
  bottom: -3%;
}
body.page-teachers #lang .lx-copy h2 em {
  display: block;
}
body.page-teachers #learn .crew img {
  height: 68%;
}
body.page-teachers #learn .crew .cr-l {
  transform: translateX(calc(-50% - 80px));
}
body.page-teachers #learn .crew .cr-r {
  transform: translateX(calc(-50% + 80px));
}
body.page-teachers #learn .crew .cr-c {
  height: 84%;
}

/* Max 11-05 (2) #switch quick pass: Capyo column takes the page's paper card colour (not pure white), "Not available" said in words
   instead of a dash, rows tighter so the table is shorter */
body.page-teachers .cmp table::before {
  background: #fffaf2;
}
body.page-teachers .cmp th,
body.page-teachers .cmp td {
  padding-block: 13px;
}
body.page-teachers .cmp td.c .cell {
  margin: -13px -14px;
  padding: 13px 14px;
}
body.page-teachers .cmp tbody th.grp {
  padding-top: 20px;
  padding-bottom: 6px;
}
body.page-teachers .cmp tbody tr:first-child th.grp {
  padding-top: 4px;
}
body.page-teachers .cmp thead th {
  height: 64px;
}
body.page-teachers .cmp td.m .na {
  padding: 0;
  margin: 0;
  color: rgba(47, 44, 40, 0.42);
}

/* Max 11-05 (3) #learn practice as a picture, not app rows: three students ride their own lane through Unit 3, each reaches
   the end at their own speed and the lane turns green. Pill on top like the coins pill on the avatar card. */
body.page-teachers #learn .ln-pace .rc-pill {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-size: 14px;
  padding: 7px 15px;
  white-space: nowrap;
}
/* Pace lanes: a small avatar rides each lane and stops just short of the finish tick; the orange fill trails to its centre.
   --tr is the travel distance (lane width minus avatar, tick and a gap), so nothing ever leaves the lane. */
body.page-teachers #learn .rc {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 74px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  container-type: inline-size;
  --a: 34px;
  --e: 24px;
  --tr: calc(100cqw - var(--a) - var(--e) - 8px);
  --mv: cubic-bezier(0.65, 0, 0.35, 1);
}
body.page-teachers #learn .rc-l {
  --p: 0;
  position: relative;
  height: 52px;
}
body.page-teachers #learn .rc-t {
  position: absolute;
  left: calc(var(--a) / 2);
  right: calc(var(--e) / 2);
  top: 14px;
  height: 6px;
  border-radius: 99px;
  background: rgba(160, 90, 30, 0.13);
  overflow: hidden;
}
body.page-teachers #learn .rc-t i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--orange);
  transform: translateX(calc(-100% + var(--p) * var(--tr)));
  transition:
    transform 0.7s var(--mv),
    background-color 0.35s;
}
body.page-teachers #learn .rc-dots {
  position: absolute;
  left: 0;
  right: 0;
  top: 15.5px;
  pointer-events: none;
}
body.page-teachers #learn .rc-dots i {
  position: absolute;
  left: calc(var(--a) / 2 - 1.5px + var(--k) * var(--tr) / 6);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.95);
}
body.page-teachers #learn .rc-dots i:nth-child(1) {
  --k: 1;
}
body.page-teachers #learn .rc-dots i:nth-child(2) {
  --k: 2;
}
body.page-teachers #learn .rc-dots i:nth-child(3) {
  --k: 3;
}
body.page-teachers #learn .rc-dots i:nth-child(4) {
  --k: 4;
}
body.page-teachers #learn .rc-dots i:nth-child(5) {
  --k: 5;
}
body.page-teachers #learn .rc-end {
  position: absolute;
  right: 0;
  top: 5px;
  width: var(--e);
  height: var(--e);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fffaf2;
  box-shadow: inset 0 0 0 1.5px rgba(160, 90, 30, 0.2);
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    opacity 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
body.page-teachers #learn .rc-end svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: rgba(160, 90, 30, 0.35);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
body.page-teachers #learn .rc-ride {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--a);
  pointer-events: none;
}
body.page-teachers #learn .rc-av,
body.page-teachers #learn .rc-l[data-r] .rc-av {
  display: block;
  position: relative;
  width: var(--a);
  transform: translateX(calc(var(--p) * var(--tr)));
  transition:
    transform 0.7s var(--mv),
    opacity 0.3s;
}
body.page-teachers #learn .rc-av svg {
  display: block;
  width: var(--a);
  height: var(--a);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5px #fffaf2,
    0 6px 12px -6px rgba(90, 40, 0, 0.4);
}
body.page-teachers #learn .rc-av b {
  position: absolute;
  left: 50%;
  top: calc(var(--a) + 3px);
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 600;
  color: #6b4a2a;
  white-space: nowrap;
}
body.page-teachers #learn .rc-l.done .rc-t i {
  background: #2f9a55;
}
body.page-teachers #learn .rc-l.done .rc-end {
  background: #2f9a55;
  box-shadow:
    0 0 0 2.5px #fffaf2,
    0 6px 12px -6px rgba(30, 110, 60, 0.5);
  transform: scale(1.12);
}
body.page-teachers #learn .rc-l.done .rc-end svg {
  stroke: #fff;
}
/* loop reset: fade out, jump back with no transition, fade in (never slide backwards) */
body.page-teachers #learn .rc.out .rc-av,
body.page-teachers #learn .rc.out .rc-t i,
body.page-teachers #learn .rc.out .rc-end {
  opacity: 0;
}
body.page-teachers #learn .rc-t i {
  transition:
    transform 0.7s var(--mv),
    background-color 0.35s,
    opacity 0.3s;
}
body.page-teachers #learn .rc.snap * {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #learn .rc * {
    transition: none !important;
  }
}

/* Max 11-05 (3) #lang smaller: one compact band, smaller title, the practice card scaled down */
body.page-teachers #lang {
  padding-top: 28px;
  padding-bottom: 28px;
}
body.page-teachers #lang .lx {
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 40px;
  padding: 10px 10px 10px 44px;
  border-radius: 24px;
}
body.page-teachers #lang .lx-copy {
  padding: 20px 0;
}
body.page-teachers #lang .lx-copy h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.08;
  margin-top: 12px;
}
body.page-teachers #lang .lx-copy .lede {
  margin-top: 14px;
  font-size: 17px;
  max-width: 380px;
}
body.page-teachers #lang .lx-well {
  padding: 20px;
}
body.page-teachers #lang .lx-win {
  max-width: 420px;
  height: calc(500px * var(--k, 1));
}
@media (max-width: 1024px) {
  body.page-teachers #lang .lx {
    grid-template-columns: minmax(0, 1fr);
    padding: 10px;
    gap: 14px;
  }
  body.page-teachers #lang .lx-copy {
    padding: 18px 12px 0;
  }
  body.page-teachers #lang .lx-well {
    padding: 14px;
  }
}
/* Max 11-06 #learn avatar card: one capybara stays put; each outfit (a clothes-only layer cut to fit him) drops on from just
   above and settles, he gives a small squash as it lands, the old one lifts off first. Coins drop by each outfit's price. */
body.page-teachers #learn .crew {
  display: none;
}
body.page-teachers #learn .ow {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  bottom: 14px;
}
body.page-teachers #learn .ow-fig {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  aspect-ratio: 1;
  transform: translateX(-53.3%);
  transform-origin: 53% 96%;
}
body.page-teachers #learn .ow-fig.land {
  animation: owLand 0.5s cubic-bezier(0.3, 0.7, 0.4, 1);
}
@keyframes owLand {
  0% {
    transform: translateX(-53.3%);
  }
  40% {
    transform: translateX(-53.3%) scale(1.01, 0.99);
  }
  100% {
    transform: translateX(-53.3%);
  }
}
body.page-teachers #learn .ow-b,
body.page-teachers #learn .ow-w {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
body.page-teachers #learn .ow-b {
  filter: drop-shadow(0 12px 12px rgba(90, 40, 0, 0.18));
}
body.page-teachers #learn .ow-w {
  opacity: 0;
  transform: translateY(-16%);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.32, 0.64, 1),
    opacity 0.12s;
}
body.page-teachers #learn .ow-w.on {
  opacity: 1;
  transform: none;
}
body.page-teachers #learn .ow-w.off {
  opacity: 0;
  transform: translateY(-6%);
  transition:
    transform 0.45s cubic-bezier(0.5, 0, 0.75, 0.3),
    opacity 0.2s;
}
body.page-teachers #learn [data-ow-coins] {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
body.page-teachers #learn .ln-coins.spend [data-ow-coins] {
  color: var(--orange);
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #learn .ow-w {
    transition: none;
  }
  body.page-teachers #learn .ow-fig.land {
    animation: none;
  }
}
body.page-teachers #learn .ow-w {
  z-index: 1;
}
body.page-teachers #learn .ow-w.x {
  transition: none !important;
}

body.page-teachers #learn .ow-w {
  transform: translateY(-8%);
  transition:
    transform 0.55s cubic-bezier(0.22, 0.7, 0.3, 1),
    opacity 0.2s;
}

/* Max 11-06 #class: shorter window so the video and tiles shrink and nothing floats in empty space */
@media (min-width: 1025px) {
  body.page-teachers .lw-win {
    aspect-ratio: 600/400;
  }
}

/* Tmega2 11-06 header variety test: #tutor opens as a centered one-line statement */
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-top {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    gap: 22px;
  }
  body.page-teachers #tutor .tu-top h2 {
    font-size: clamp(52px, 5.5vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    white-space: nowrap;
  }
  body.page-teachers #tutor .tu-top .lede {
    justify-self: center;
    max-width: 780px;
    text-align: center;
    margin-bottom: 10px;
  }
}

/* ===== Max 11-10 pass (Tb92e) ===== */

/* textbooks: books lying on a desk (photo), shorter card */
body.page-teachers .tbk {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  max-width: 1100px;
}
body.page-teachers .tbk-pic {
  min-height: 0;
  height: 340px;
  background: #d9c3a2;
}
body.page-teachers .tbk-pic::after,
body.page-teachers .tbk-pic::before {
  display: none;
}
body.page-teachers .tbk-pic img {
  position: absolute;
  inset: 0;
  left: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
  transform: none;
  filter: none;
}
body.page-teachers #textbooks .tbk h3 {
  font-size: clamp(26px, 2.3vw, 34px);
}
body.page-teachers #textbooks .tbk .lede {
  max-width: 460px;
  font-size: 16px;
}
@media (max-width: 1024px) {
  body.page-teachers .tbk-pic {
    height: auto;
    aspect-ratio: 3/2;
  }
}

/* tutor: header at the page's normal h2 size, not a poster */
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-top h2 {
    font-size: clamp(36px, 3.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }
}

/* class at a glance: title on one line, lede under it */
body.page-teachers #work .gl-top.gl-one {
  display: block;
}
body.page-teachers #work .gl-one h2 {
  margin-top: 14px;
}
body.page-teachers #work .gl-one h2 em {
  display: inline;
}
body.page-teachers #work .gl-one .lede {
  max-width: none;
  margin: 16px 0 0;
  text-wrap: pretty;
}
@media (min-width: 1025px) {
  body.page-teachers #work .gl-one h2 {
    white-space: nowrap;
    font-size: clamp(36px, 3.6vw, 52px);
  }
}
body.page-teachers #work .gl-panel {
  margin-top: 48px;
}

/* whole class: list pulled left and narrower, wider window in the same browser frame as Class at a glance,
   inside the screen silver panels with real edges so each part reads */
@media (min-width: 1025px) {
  body.page-teachers #class .cl-head,
  body.page-teachers #class .lw {
    max-width: none;
  }
  body.page-teachers #class .lw {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 36px;
    align-items: center;
  }
}
body.page-teachers #class .lw-it {
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  padding: 14px 16px;
}
body.page-teachers #class .lw-it img {
  grid-row: auto;
  width: 44px;
  height: 44px;
}
body.page-teachers #class .lw-it b {
  grid-row: auto;
  align-self: center;
  font-size: 18px;
  line-height: 1.25;
}
body.page-teachers #class .lw-it.is-on {
  background: #fff;
  box-shadow:
    0 0 0 1px #e4e1dc,
    0 10px 24px -18px rgba(40, 30, 20, 0.35);
}
body.page-teachers #class .lw-box {
  border-radius: 16px;
  background: #e9e7e3;
  box-shadow:
    0 0 0 1px rgba(30, 25, 20, 0.1),
    0 2.8px 2.2px rgba(40, 30, 20, 0.02),
    0 6.7px 5.3px rgba(40, 30, 20, 0.03),
    0 30px 60px -28px rgba(40, 30, 20, 0.35);
  overflow: hidden;
}
body.page-teachers #class .lw-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 40px;
  padding: 0 12px 0 16px;
}
body.page-teachers #class .lw-dots {
  display: flex;
  gap: 7px;
  align-self: center;
}
body.page-teachers #class .lw-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfcbc5;
}
body.page-teachers #class .lw-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 210px;
  height: 32px;
  padding: 0 14px;
  border-radius: 10px 10px 0 0;
  background: #fafaf9;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
body.page-teachers #class .lw-tab img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
body.page-teachers #class .lw-win {
  border-radius: 0;
  box-shadow: none;
  background: #f4f3f1;
  aspect-ratio: 640/400;
}
@media (max-width: 1024px) {
  body.page-teachers #class .lw-box {
    order: -1;
    border-radius: 12px;
  }
  body.page-teachers #class .lw-dots {
    display: none;
  }
  body.page-teachers #class .lw-win {
    aspect-ratio: 480/450;
  }
  body.page-teachers #class .lw-it b {
    font-size: 16px;
  }
  body.page-teachers #class .lw-it img {
    width: 36px;
    height: 36px;
  }
  body.page-teachers #class .lw-it {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

/* learn: two small cards on quiet silver wells, no orange washes */
body.page-teachers .ln.ln-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  gap: 16px;
}
body.page-teachers .ln.ln-two > .ln-card .ln-well {
  background: #efedea;
  height: 320px;
}
body.page-teachers .ln.ln-two .ln-text p {
  min-height: 0;
}
body.page-teachers .ln.ln-two .ln-card {
  padding-bottom: 22px;
}
body.page-teachers .ln.ln-two .ln-note {
  grid-column: 1/-1;
}
@media (max-width: 1024px) {
  body.page-teachers .ln.ln-two {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  body.page-teachers .ln.ln-two > .ln-card .ln-well {
    height: 320px;
  }
}

/* languages: a second line of copy */
body.page-teachers #lang .lx-copy .lede {
  max-width: 420px;
}
body.page-teachers #lang .lx-copy .lx-more {
  margin-top: 12px;
  font-size: 16px;
  color: var(--body);
}

/* parents: out of the box. Copy on the page, the message window on a quiet silver well, smaller */
body.page-teachers #parents .tx-split.pm-open {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 980px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
body.page-teachers #parents .pm-open .tx-frame {
  min-height: 280px;
  background: #efedea;
  border-radius: 20px;
}
body.page-teachers #parents .pm-open .tx-copy {
  order: -1;
  padding: 0;
}
@media (max-width: 1024px) {
  body.page-teachers #parents .tx-split.pm-open {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
/* stronger selectors: the page <style> block sets #class .lw-win/.cl-head after this file */
body.page-teachers #class .lw-box .lw-win {
  aspect-ratio: 640/400;
  height: auto;
  border-radius: 0;
}
@media (min-width: 1025px) {
  body.page-teachers #class .wrap > .cl-head {
    max-width: none;
    margin: 0;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #class .lw-box .lw-win {
    aspect-ratio: 480/450;
  }
}
body.page-teachers #textbooks .tbk {
  max-width: none;
}
body.page-teachers #textbooks .tbk-pic {
  height: 300px;
}
@media (max-width: 1024px) {
  body.page-teachers #textbooks .tbk-pic {
    height: auto;
  }
}

/* ===== Max 11-10 round 2 (Tb92e) ===== */

/* #class: the live room rebuilt from the platform's real meeting controls (waiting room, breakout rooms, share requests,
   Mute / Camera / Share screen / Breakout rooms / People / End for all). Silver canvas, white panels, navy platform buttons. No browser frame. */
@media (min-width: 1025px) {
  body.page-teachers #class .wrap > .cl-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 56px;
    align-items: end;
    max-width: none;
    margin: 0;
  }
  body.page-teachers #class .wrap > .cl-head h2 {
    white-space: normal;
    font-size: clamp(36px, 3.6vw, 52px);
    line-height: 1.04;
  }
  body.page-teachers #class .wrap > .cl-head h2 em {
    display: block;
  }
  body.page-teachers #class .wrap > .cl-head p.lede {
    margin: 0 0 6px;
    max-width: 460px;
    justify-self: end;
    text-wrap: pretty;
  }
}
body.page-teachers .lc {
  --nv: #1c2f52;
  --sv: #eceae6;
  --ln: #e2dfda;
  --mt: #7d776e;
  margin-top: clamp(32px, 3.2vw, 48px);
  padding: 12px;
  border-radius: 26px;
  background: var(--sv);
  box-shadow:
    0 0 0 1px rgba(30, 25, 20, 0.07),
    0 3px 4px rgba(40, 30, 20, 0.03),
    0 34px 64px -34px rgba(40, 30, 20, 0.38);
}
body.page-teachers .lc-scr {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.page-teachers .lc-top,
body.page-teachers .lc-stage,
body.page-teachers .lc-side,
body.page-teachers .lc-bar {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--ln);
}
body.page-teachers .lc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 18px;
}
body.page-teachers .lc-top > img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
body.page-teachers .lc-top b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.page-teachers .lc-top small {
  display: block;
  margin-top: 1px;
  font-size: 13.5px;
  color: var(--mt);
}
body.page-teachers .lc-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fdecea;
  font-size: 13.5px;
  font-weight: 600;
  color: #b42318;
}
body.page-teachers .lc-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d92d20;
}
body.page-teachers .lc-count {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f2ef;
  font-size: 13.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .lc-count b {
  display: inline;
  font-size: 13.5px;
  font-weight: 600;
}
body.page-teachers .lc svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .lc-count svg {
  width: 15px;
  height: 15px;
}
body.page-teachers .lc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 12px;
  height: 440px;
}
body.page-teachers .lc-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  min-height: 0;
}
body.page-teachers .lc-vid {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #d9d2c6 url('https://assets-dev.capyodev.com/images/marketing-site/b6a3eded76f21fed49d4c9e32fa4b5cd938ad1866e49beeaee0fdcad55c70962.webp') center/cover;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}
body.page-teachers .lc-vid video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
body.page-teachers .lc-nm {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(24, 22, 20, 0.74);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
body.page-teachers .lc-nm i {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
}
body.page-teachers .lc-brk {
  position: absolute;
  left: 50%;
  top: 14px;
  height: 32px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nv);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}
body.page-teachers .lc[data-s='1'] .lc-brk {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.page-teachers .lc-strip {
  flex: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  height: 88px;
}
body.page-teachers .lc-t {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f0ed;
  transition:
    box-shadow 0.3s ease-out,
    opacity 0.35s ease-out,
    transform 0.35s ease-out;
}
body.page-teachers .lc-t img {
  position: absolute;
  left: 0;
  top: 6px;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: contain;
  object-position: 50% 100%;
}
body.page-teachers .lc-t b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #57514a;
}
body.page-teachers .lc-more b {
  position: static;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  color: var(--mt);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .lc-new {
  opacity: 0;
  transform: scale(0.92);
}
body.page-teachers .lc[data-j='1'] .lc-new {
  opacity: 1;
  transform: none;
}
body.page-teachers .lc[data-q='2'] .lc-am {
  box-shadow: 0 0 0 2px var(--nv);
}
body.page-teachers .lc[data-s='1'] .lc-t:not(.lc-more) {
  opacity: 0.35;
}
body.page-teachers .lc-side {
  position: relative;
  overflow: hidden;
}
body.page-teachers .lc-pane {
  position: absolute;
  inset: 0;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.3s ease-out,
    transform 0.35s ease-out;
}
body.page-teachers .lc-rooms {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
body.page-teachers .lc[data-s='1'] .lc-rooms {
  opacity: 1;
  transform: none;
}
body.page-teachers .lc[data-s='1'] .lc-ppl {
  opacity: 0;
  transform: translateY(-6px);
}
body.page-teachers .lc-pane h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .lc-pane h4 small {
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f3f2ef;
  font-size: 12.5px;
  font-weight: 600;
  color: #57514a;
  font-variant-numeric: tabular-nums;
}
body.page-teachers .lc-wait {
  position: relative;
  margin: 10px 0 18px;
  min-height: 60px;
}
body.page-teachers .lc-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 10px 0 12px;
  border-radius: 12px;
  background: #f6f5f2;
  box-shadow: inset 0 0 0 1px var(--ln);
}
body.page-teachers .lc-ask img,
body.page-teachers .lc-p img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9e7e3;
  object-fit: contain;
  object-position: 50% 100%;
}
body.page-teachers .lc-ask > span:not(.lc-btn),
body.page-teachers .lc-p > span:not(.lc-btn) {
  flex: 1;
  min-width: 0;
}
body.page-teachers .lc-ask b,
body.page-teachers .lc-p b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
body.page-teachers .lc-ask small,
body.page-teachers .lc-req {
  display: block;
  font-size: 12.5px;
  color: var(--mt);
  white-space: nowrap;
}
body.page-teachers .lc-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.16s ease-out,
    background-color 0.2s;
}
body.page-teachers .lc-pri {
  background: var(--nv);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 30, 60, 0.3);
}
body.page-teachers .lc-btn.press {
  transform: scale(0.96);
  background: #132240;
}
body.page-teachers .lc-empty {
  display: none;
  margin: 0;
  height: 60px;
  place-items: center;
  border-radius: 12px;
  background: #f6f5f2;
  font-size: 13.5px;
  color: var(--mt);
}
body.page-teachers .lc[data-j='1'] .lc-noah {
  display: none;
}
body.page-teachers .lc[data-j='1'] .lc-empty {
  display: grid;
}
body.page-teachers .lc-list,
body.page-teachers .lc-rml {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
body.page-teachers .lc-p {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
}
body.page-teachers .lc-p > b {
  flex: 1;
}
body.page-teachers .lc-m {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #aaa59d;
}
body.page-teachers .lc-m svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .lc-tag {
  flex: none;
  height: 24px;
  padding: 0 9px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e7f4ec;
  font-size: 12px;
  font-weight: 600;
  color: #1f7a45;
}
body.page-teachers .lc-join {
  display: none;
}
body.page-teachers .lc[data-j='1'] .lc-join {
  display: flex;
  animation: lcIn 0.4s ease-out both;
}
body.page-teachers .lc[data-j='1'] .lc-list .lc-p:last-child {
  display: none;
}
@keyframes lcIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
body.page-teachers .lc-req,
body.page-teachers .lc-allow,
body.page-teachers .lc-can {
  display: none;
}
body.page-teachers .lc[data-q='1'] .lc-req {
  display: block;
}
body.page-teachers .lc[data-q='1'] .lc-allow {
  display: inline-flex;
  animation: lcIn 0.3s ease-out both;
}
body.page-teachers .lc[data-q='1'] .lc-amr .lc-m,
body.page-teachers .lc[data-q='2'] .lc-amr .lc-m {
  display: none;
}
body.page-teachers .lc[data-q='2'] .lc-can {
  display: grid;
  background: #e4e8f0;
  color: var(--nv);
  animation: lcIn 0.3s ease-out both;
}
body.page-teachers .lc[data-q='1'] .lc-amr {
  margin: 0 -8px;
  padding: 0 8px;
  border-radius: 12px;
  background: #f6f5f2;
  box-shadow: inset 0 0 0 1px var(--ln);
  height: 60px;
}
body.page-teachers .lc-rm {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  margin-top: 8px;
  padding: 0 12px;
  border-radius: 12px;
  background: #f6f5f2;
  box-shadow: inset 0 0 0 1px var(--ln);
}
body.page-teachers .lc-rm b {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
body.page-teachers .lc-avs {
  display: flex;
}
body.page-teachers .lc-avs img {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border-radius: 50%;
  background: #e9e7e3;
  box-shadow: 0 0 0 2px #f6f5f2;
  object-fit: contain;
  object-position: 50% 100%;
}
body.page-teachers .lc-rm small {
  font-size: 13px;
  font-weight: 600;
  color: var(--mt);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .lc-back {
  margin-top: auto;
  height: 42px;
  width: 100%;
}
body.page-teachers .lc-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 72px;
  padding: 0 14px;
}
body.page-teachers .lc-c {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #f3f2ef;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition:
    background-color 0.25s,
    color 0.25s;
}
body.page-teachers .lc-c svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}
body.page-teachers .lc[data-s='1'] .lc-c-rooms,
body.page-teachers .lc:not([data-s='1']) .lc-c-ppl {
  background: #e4e8f0;
  color: var(--nv);
}
body.page-teachers .lc-end {
  margin-left: 14px;
  background: #d92d20;
  color: #fff;
  font-weight: 600;
}
body.page-teachers .lc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin: clamp(28px, 2.6vw, 36px) 0 0;
  padding: 0 12px;
  list-style: none;
}
body.page-teachers .lc-steps li {
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s ease-out;
}
body.page-teachers .lc-steps li.is-on {
  opacity: 1;
}
body.page-teachers .lc-steps b {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
}
body.page-teachers .lc-steps span {
  display: block;
  margin-top: 8px;
  max-width: 320px;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  body.page-teachers .lc {
    padding: 8px;
    border-radius: 20px;
  }
  body.page-teachers .lc-body {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  body.page-teachers .lc-stage {
    height: 300px;
  }
  body.page-teachers .lc-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 64px;
  }
  body.page-teachers .lc-strip .lc-t:nth-child(n + 4):not(.lc-more) {
    display: none;
  }
  body.page-teachers .lc-side {
    height: 330px;
  }
  body.page-teachers .lc-top small,
  body.page-teachers .lc-live {
    display: none;
  }
  body.page-teachers .lc-count {
    margin-left: auto;
  }
  body.page-teachers .lc-bar {
    gap: 6px;
    height: 60px;
    padding: 0 8px;
  }
  body.page-teachers .lc-c {
    font-size: 0;
    gap: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  body.page-teachers .lc-end {
    width: auto;
    padding: 0 12px;
    font-size: 13.5px;
    margin-left: 4px;
  }
  body.page-teachers .lc-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 0 4px;
  }
  body.page-teachers .lc-steps b {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .lc * {
    animation: none !important;
    transition: none !important;
  }
}

/* #learn: title on one line; the games card is a slow shelf of the real game cards from the platform's Games hub */
body.page-teachers #learn .wrap .tu-head h2 em {
  display: inline;
}
@media (min-width: 1025px) {
  body.page-teachers #learn .wrap .tu-head h2 {
    white-space: nowrap;
  }
}
body.page-teachers .ln.ln-two {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  max-width: none;
  gap: 16px;
}
body.page-teachers .ln.ln-two > .ln-card .ln-well {
  height: 350px;
  background: #eceae6;
}
body.page-teachers .ln.ln-two > .ln-avc .ln-well {
  background: radial-gradient(60% 55% at 50% 62%, #f8f7f4 0%, #eceae6 100%);
}
body.page-teachers .ln.ln-two .ln-text h3 {
  font-size: 23px;
}
body.page-teachers .gx {
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
body.page-teachers .gx-track {
  display: flex;
  width: max-content;
  animation: gxGo 60s linear infinite;
  animation-play-state: paused;
}
body.page-teachers .gx.on .gx-track {
  animation-play-state: running;
}
@keyframes gxGo {
  to {
    transform: translateX(-50%);
  }
}
body.page-teachers .gx-c {
  flex: none;
  width: 232px;
  margin-right: 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px #e2dfda,
    0 14px 28px -20px rgba(40, 30, 20, 0.4);
}
body.page-teachers .gx-c img {
  display: block;
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}
body.page-teachers .gx-c h4 {
  margin: 0;
  padding: 12px 14px 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.page-teachers .gx-c p {
  margin: 4px 14px 0;
  height: 36px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.38;
  color: #6d675f;
}
body.page-teachers .gx-m {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #6d675f;
  white-space: nowrap;
}
body.page-teachers .gx-m span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.page-teachers .gx-m svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .gx-d i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7791f;
}
body.page-teachers .gx-d.e i {
  background: #1f9d55;
}
body.page-teachers .gx-d.h i {
  background: #d92d20;
}
body.page-teachers .gx-play {
  margin-left: auto;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e4e8f0;
  color: #1c2f52;
  font-weight: 600;
}
body.page-teachers .gx-play svg {
  fill: currentColor;
  stroke: none;
  width: 11px;
  height: 11px;
}
@media (max-width: 1024px) {
  body.page-teachers .ln.ln-two {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .gx-track {
    animation: none;
  }
}

/* #lang: three short steps instead of a paragraph */
body.page-teachers #lang .lx-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  max-width: 420px;
}
body.page-teachers #lang .lx-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
body.page-teachers #lang .lx-steps i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fbe3cd;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: #a53f00;
}
body.page-teachers #lang .lx-steps span {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--body);
}
body.page-teachers #lang .lx-steps b {
  display: block;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers #lang .lx-avg {
  margin: 18px 0 0 40px;
  font-size: 15px;
  color: var(--body);
}
body.page-teachers #lang .lx-copy {
  padding: 28px 0;
}

/* #parents: no box. One message on the left, the class's 26 families on the right; pressing send delivers to each of them */
body.page-teachers #parents .pf-head {
  text-align: center;
}
body.page-teachers #parents .pf-head h2 {
  margin-top: 14px;
  font-size: clamp(32px, 3.3vw, 46px);
}
body.page-teachers #parents .pf-head .lede {
  margin: 16px auto 0;
  max-width: 560px;
}
body.page-teachers .pf {
  position: relative;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 88px;
  align-items: center;
  max-width: 1010px;
  margin: clamp(36px, 3.6vw, 52px) auto 0;
}
body.page-teachers .pf-msg {
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(60, 40, 20, 0.06),
    0 2px 3px rgba(60, 40, 20, 0.04),
    0 28px 50px -30px rgba(90, 50, 10, 0.45);
}
body.page-teachers .pf-hd {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-teachers .pf-hd img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.page-teachers .pf-hd b {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .pf-to {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  color: #7d776e;
}
body.page-teachers .pf-to span {
  height: 28px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fbe3cd;
  font-size: 13.5px;
  font-weight: 600;
  color: #8a3a06;
}
body.page-teachers .pf-in {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f6f5f2;
}
body.page-teachers .pf-in b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .pf-in p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
}
body.page-teachers .pf-att {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
body.page-teachers .pf-att span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px 0 9px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #e2dfda;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
body.page-teachers .pf-att img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
body.page-teachers .pf-ft {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
body.page-teachers .pf-send {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.16s ease-out;
}
body.page-teachers .pf-send.press {
  transform: scale(0.96);
}
body.page-teachers .pf svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-teachers .pf-send svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .pf-plane {
  position: absolute;
  left: 408px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  color: var(--orange);
  opacity: 0;
}
body.page-teachers .pf-plane svg {
  width: 28px;
  height: 28px;
}
body.page-teachers .pf.fly .pf-plane {
  animation: pfFly 0.7s cubic-bezier(0.3, 0.6, 0.4, 1) both;
}
@keyframes pfFly {
  0% {
    opacity: 0;
    transform: translate(0, 10px) scale(0.7);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(66px, -10px) scale(1);
  }
}
body.page-teachers .pf-fh {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
body.page-teachers .pf-fh > b {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
body.page-teachers .pf-fh span {
  font-size: 15px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}
body.page-teachers .pf-fh span b {
  font-weight: 600;
  color: var(--ink);
}
body.page-teachers .pf-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
body.page-teachers .pf-grid i {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.55);
  box-shadow: inset 0 0 0 1px rgba(120, 80, 30, 0.14);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 600;
  color: #a89a86;
  transition:
    background-color 0.3s ease-out,
    color 0.3s ease-out,
    box-shadow 0.3s ease-out;
  transition-delay: calc(var(--i) * 55ms);
}
body.page-teachers .pf-grid u {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 0 0 2px var(--page, #fdeed9);
  opacity: 0;
  transform: scale(0.25);
  transition:
    opacity 0.25s ease-out,
    transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  transition-delay: calc(var(--i) * 55ms + 80ms);
  text-decoration: none;
}
body.page-teachers .pf-grid u svg {
  width: 11px;
  height: 11px;
  stroke-width: 3.2;
}
body.page-teachers .pf.sent .pf-grid i {
  background: #fff;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgba(120, 80, 30, 0.18),
    0 6px 14px -10px rgba(90, 50, 10, 0.5);
}
body.page-teachers .pf.sent .pf-grid u {
  opacity: 1;
  transform: none;
}
body.page-teachers .pf:not(.sent) .pf-grid i,
body.page-teachers .pf:not(.sent) .pf-grid u {
  transition-delay: 0s;
}
@media (max-width: 1024px) {
  body.page-teachers #parents .pf-head {
    text-align: left;
  }
  body.page-teachers #parents .pf-head .lede {
    margin-left: 0;
  }
  body.page-teachers .pf {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 28px;
  }
  body.page-teachers .pf-plane {
    display: none;
  }
  body.page-teachers .pf-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
  }
  body.page-teachers .pf-grid i {
    font-size: 12px;
  }
  body.page-teachers .pf-fh {
    flex-direction: column;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers .pf * {
    transition: none !important;
    animation: none !important;
  }
}
/* round 2 fixes */
body.page-teachers .ln.ln-two > .ln-card {
  min-width: 0;
}
body.page-teachers .ln.ln-two .gx {
  overflow: hidden;
}
body.page-teachers .ln.ln-two .gx .gx-c img {
  position: static;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 5/3;
  object-fit: cover;
  transform: none;
  filter: none;
  border-radius: 0;
}
body.page-teachers .lc-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #e4e8f0;
  color: var(--nv);
}
body.page-teachers .lc-ic svg {
  width: 20px;
  height: 20px;
}
body.page-teachers .lc-t {
  background: #f3ead9;
}
body.page-teachers .lc-t img {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
body.page-teachers .lc-t b {
  left: 6px;
  right: auto;
  bottom: 6px;
  height: 20px;
  padding: 0 7px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(24, 22, 20, 0.7);
  color: #fff;
  font-size: 11.5px;
}
body.page-teachers .lc-more {
  background: #f1f0ed;
}
body.page-teachers .lc-more b {
  position: static;
  height: 100%;
  padding: 0;
  background: none;
  color: var(--mt);
  font-size: 16px;
}
body.page-teachers .lc-ask img,
body.page-teachers .lc-p img,
body.page-teachers .lc-avs img {
  object-fit: cover;
  object-position: 50% 15%;
}

/* ===== Max 11-10 round 3 (Tb92e) ===== */
/* textbooks: own section near the end, wide desk shot */
body.page-teachers #textbooks .tbk {
  margin-top: 0;
}
body.page-teachers #textbooks .tbk-pic img {
  object-position: 50% 50%;
}

/* tutor: longer body under the centred title */
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-top .lede {
    max-width: 720px;
    text-wrap: balance;
  }
}

/* live class, toned down: no navy, no live pill, smaller, brand ink buttons */
body.page-teachers .lc {
  --nv: #1d1d1b;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border-radius: 22px;
}
body.page-teachers .lc-scr {
  gap: 10px;
}
body.page-teachers .lc-top {
  height: 56px;
  padding: 0 14px;
}
body.page-teachers .lc-top b {
  font-size: 16px;
}
body.page-teachers .lc-top small {
  font-size: 13px;
}
body.page-teachers .lc-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f1efec;
  color: var(--ink);
}
body.page-teachers .lc-ic svg {
  width: 18px;
  height: 18px;
}
body.page-teachers .lc-live {
  display: none;
}
body.page-teachers .lc-count {
  margin-left: auto;
}
body.page-teachers .lc-body {
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 10px;
  height: 380px;
}
body.page-teachers .lc-strip {
  height: 74px;
  gap: 6px;
}
body.page-teachers .lc-brk {
  color: var(--ink);
}
body.page-teachers .lc-pane {
  padding: 16px 14px 14px;
}
body.page-teachers .lc-ask {
  height: 54px;
}
body.page-teachers .lc-btn {
  height: 32px;
  padding: 0 13px;
  font-size: 13.5px;
}
body.page-teachers .lc-pri {
  box-shadow: none;
}
body.page-teachers .lc-btn.press {
  background: #000;
}
body.page-teachers .lc-p {
  height: 44px;
}
body.page-teachers .lc-p b,
body.page-teachers .lc-ask b,
body.page-teachers .lc-rm b {
  font-size: 14px;
}
body.page-teachers .lc-rm {
  height: 48px;
}
body.page-teachers .lc-back {
  height: 38px;
}
body.page-teachers .lc-bar {
  height: 58px;
  gap: 6px;
}
body.page-teachers .lc-c {
  height: 38px;
  padding: 0 13px;
  gap: 7px;
  font-size: 13.5px;
  border-radius: 10px;
}
body.page-teachers .lc-c svg {
  width: 16px;
  height: 16px;
}
body.page-teachers .lc[data-s='1'] .lc-c-rooms,
body.page-teachers .lc:not([data-s='1']) .lc-c-ppl {
  background: #e4e1dc;
  color: var(--ink);
}
body.page-teachers .lc[data-q='2'] .lc-can {
  background: #ece9e4;
  color: var(--ink);
}
body.page-teachers .lc-end {
  margin-left: 10px;
  background: #fbe9e7;
  color: #b42318;
}
body.page-teachers .lc-steps {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  gap: 40px;
}
body.page-teachers .lc-steps b {
  font-size: 18px;
}
body.page-teachers .lc-steps span {
  font-size: 15.5px;
}
@media (max-width: 1024px) {
  body.page-teachers .lc-body {
    height: auto;
  }
  body.page-teachers .lc-stage {
    height: 280px;
  }
  body.page-teachers .lc-c {
    width: 40px;
    height: 40px;
    padding: 0;
  }
  body.page-teachers .lc-end {
    width: auto;
    padding: 0 12px;
  }
}
body.page-teachers #textbooks .tbk-pic img {
  transform: scale(1.45);
  transform-origin: 50% 52%;
}
body.page-teachers .lc,
body.page-teachers .lc-steps {
  max-width: none;
}
body.page-teachers .lc-t:not(.lc-more) img {
  top: 6px;
  height: calc(100% - 6px);
  object-fit: contain;
  object-position: 50% 100%;
}

/* Max 11-10: Languages and Parent messaging read as one pair: same width and left edge, same headline and lede size, room between them */
@media (min-width: 1025px) {
  body.page-teachers #lang {
    padding-bottom: 20px;
  }
  body.page-teachers #parents {
    padding-top: 44px;
  }
  body.page-teachers #parents .tx-split.pm-open {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 10px 0 44px;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }
  body.page-teachers #parents .pm-open .tx-copy .tx-h {
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin-top: 12px;
  }
  body.page-teachers #parents .pm-open .tx-copy .tx-h em {
    display: block;
    font-weight: 500;
  }
  body.page-teachers #parents .pm-open .tx-copy .lede {
    font-size: 17px;
    max-width: 380px;
    margin-top: 14px;
  }
}

/* tutor: example question and the answer in the chosen voice (no character body) */
body.page-teachers #tutor .tq {
  position: absolute;
  left: 0;
  right: 0;
  top: 92px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px -10px rgba(90, 40, 0, 0.28);
  overflow: hidden;
}
body.page-teachers #tutor .tq-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
}
body.page-teachers #tutor .tq-hd b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}
body.page-teachers #tutor .tq-hd small {
  display: block;
  font-size: 12.5px;
  color: #6b7280;
}
body.page-teachers #tutor .tq-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #fbe2c4;
  flex: none;
}
body.page-teachers #tutor .tq-lang {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f4f4f5;
  font-size: 12.5px;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
}
body.page-teachers #tutor .tq-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 18px 18px;
  background: #fff;
}
body.page-teachers #tutor .tq-me {
  align-self: flex-end;
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #fdf1df;
  font-size: 14.5px;
  line-height: 1.45;
  color: #1a1a1a;
}
body.page-teachers #tutor .tq-ai {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 94%;
}
body.page-teachers #tutor .tq-ai .tq-av {
  width: 30px;
  height: 30px;
  margin-top: 2px;
}
body.page-teachers #tutor .tq-col {
  min-width: 0;
}
body.page-teachers #tutor .tq-msg {
  position: relative;
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #f1f1f2;
  font-size: 14.5px;
  line-height: 1.5;
  color: #1a1a1a;
}
body.page-teachers #tutor .tq-dots {
  display: none;
  gap: 4px;
  padding: 6px 0;
}
body.page-teachers #tutor .tq-msg.wait .tq-dots {
  display: inline-flex;
}
body.page-teachers #tutor .tq-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9a9a9a;
  animation: tqDot 1s infinite;
}
body.page-teachers #tutor .tq-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-teachers #tutor .tq-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tqDot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
body.page-teachers #tutor .tq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  min-height: 26px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
body.page-teachers #tutor .tq-chips.on {
  opacity: 1;
  transform: none;
}
body.page-teachers #tutor .tq-chips span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fdf1df;
  font-size: 12px;
  font-weight: 500;
  color: #8a4a12;
}
@media (max-width: 1024px) {
  body.page-teachers #tutor .tq {
    position: relative;
    top: auto;
    bottom: auto;
    margin-top: 70px;
    min-height: 400px;
  }
  body.page-teachers #tutor .tq-lang {
    display: none;
  }
  body.page-teachers #tutor .tu-sel .tu-side {
    height: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #tutor .tq-dots i {
    animation: none;
  }
}
body.page-teachers #tutor .tq {
  bottom: 16px;
}
body.page-teachers #tutor .tq-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 16px 16px;
  padding: 8px 8px 8px 16px;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  font-size: 14px;
  color: #8b8b92;
}
body.page-teachers #tutor .tq-in i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111;
}
body.page-teachers #tutor .tq-in svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well {
    height: 476px;
  }
  body.page-teachers #tutor .tq {
    top: 88px;
  }
  body.page-teachers #tutor .tq-hd {
    padding: 12px 18px;
  }
  body.page-teachers #tutor .tq-body {
    gap: 12px;
    padding-bottom: 12px;
  }
}

/* tutor: settings on the left, one big chat window on the right (the avatar picker sits at the top of the window) */
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    height: 520px;
    padding: 20px clamp(24px, 3vw, 40px);
    gap: clamp(24px, 3vw, 40px);
  }
  body.page-teachers #tutor .tu-well .tu-set {
    order: -1;
    align-self: center;
  }
  body.page-teachers #tutor .tu-sel .tu-side {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px -10px rgba(90, 40, 0, 0.28);
    overflow: hidden;
    min-height: 0;
  }
  body.page-teachers #tutor .tu-rail {
    position: static;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 18px 6px;
    background: #fff;
  }
  body.page-teachers #tutor .tu-rail .tu-fig {
    width: 46px;
    height: 46px;
  }
  body.page-teachers #tutor .tq {
    position: static;
    flex: 1;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
  }
  body.page-teachers #tutor .tq-hd {
    padding: 8px 18px 12px;
  }
  body.page-teachers #tutor .tq-body {
    padding: 10px 22px 14px;
    gap: 16px;
  }
  body.page-teachers #tutor .tq-me,
  body.page-teachers #tutor .tq-msg {
    font-size: 16px;
  }
  body.page-teachers #tutor .tq-me {
    padding: 12px 16px;
  }
  body.page-teachers #tutor .tq-msg {
    padding: 13px 16px;
    line-height: 1.55;
  }
  body.page-teachers #tutor .tq-chips span {
    font-size: 12.5px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #tutor .tu-well .tu-set {
    order: 2;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-rail {
    order: -1;
  }
  body.page-teachers #tutor .tq-body {
    padding-bottom: 10px;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well {
    height: 566px;
  }
}

/* tutor: no scene card. Two white windows straight on the page; settings are live, the answer follows them */
body.page-teachers #tutor .tu-sel {
  padding: 0;
  background: none;
  border-radius: 0;
}
body.page-teachers #tutor .tu-well {
  background: none !important;
  border-radius: 0;
  overflow: visible;
}
body.page-teachers #tutor .tq-lang {
  display: none;
}
body.page-teachers #tutor .tq-msg,
body.page-teachers #tutor .tq-chips {
  transition: opacity 0.17s;
}
body.page-teachers #tutor .tq-msg.swap,
body.page-teachers #tutor .tq-chips.swap {
  opacity: 0;
}
body.page-teachers #tutor .tq-chips {
  opacity: 1;
  transform: none;
}
body.page-teachers #tutor .tu-set {
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.06),
    0 30px 60px -28px rgba(120, 50, 0, 0.32);
}
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well {
    height: auto;
    padding: 0;
    align-items: stretch;
  }
  body.page-teachers #tutor .tu-well .tu-set {
    align-self: stretch;
    zoom: 1;
  }
  body.page-teachers #tutor .tu-sel .tu-side {
    box-shadow:
      0 0 0 1px rgba(120, 50, 0, 0.06),
      0 30px 60px -28px rgba(120, 50, 0, 0.32);
    overflow: visible;
  }
  body.page-teachers #tutor .tq {
    border-radius: 20px;
  }
  body.page-teachers #tutor .tq-hd {
    padding: 18px 22px 10px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #tutor .tu-well {
    padding: 0;
  }
  body.page-teachers #tutor .tq {
    margin-top: 0;
  }
}

/* tutor: student row, and the mode's line set apart inside the answer */
body.page-teachers #tutor .tq-mr {
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 86%;
}
body.page-teachers #tutor .tq-mr .tq-me {
  max-width: none;
}
body.page-teachers #tutor .tq-sav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fbe2c4;
  flex: none;
}
body.page-teachers #tutor .tq-end {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0;
  font-weight: 600;
  color: #7a3a05;
}
body.page-teachers #tutor .tq-ai {
  max-width: 86%;
}
body.page-teachers #tutor .tq-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
body.page-teachers #tutor .tq-msg2 {
  margin: 0;
}
body.page-teachers #tutor .tq-sav {
  display: block;
  overflow: hidden;
}
body.page-teachers #tutor .tq-sav svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: none;
}
body.page-teachers #tutor .tq-end {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: 400;
  color: inherit;
}
body.page-teachers #tutor .tq-msg,
body.page-teachers #tutor .tq-msg2 {
  transition: opacity 0.17s;
}
body.page-teachers #tutor .tq-end {
  display: block;
  margin-top: 10px;
}
body.page-teachers #tutor .tq-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9;
  width: 26px;
  height: 26px;
  margin: -3px 0 0 -5px;
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.8s cubic-bezier(0.45, 0.05, 0.25, 1),
    opacity 0.3s;
}
body.page-teachers #tutor .tq-cur.on {
  opacity: 1;
}
body.page-teachers #tutor .tq-cur svg {
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28));
  transition: transform 0.15s;
}
body.page-teachers #tutor .tq-cur.press svg {
  transform: scale(0.82);
}

/* tutor: no description under the setting names; the name sits centred beside its dropdown (descriptions live in the menus) */
body.page-teachers #tutor .cs-txt > small {
  display: none;
}
body.page-teachers #tutor .cs-txt > b {
  grid-row: 1/3;
  align-self: center;
}
body.page-teachers #tutor .cs-row {
  align-items: center;
}
body.page-teachers #tutor .cs-note {
  background: #fdf1df;
  color: #7a3a05;
}

/* #class quality pass (T-sec 11-11): card + list left, a bigger real screen right; each point explains itself when it is on */
@media (min-width: 1025px) {
  body.page-teachers #class .lw[data-lw] {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    column-gap: 44px;
    align-items: stretch;
    max-width: none;
    margin: 0;
  }
  body.page-teachers #class .lw-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
  }
  body.page-teachers #class .lw-box {
    display: flex;
    flex-direction: column;
    align-self: center;
  }
  body.page-teachers #class .lw-box .lw-win {
    aspect-ratio: auto;
    height: 540px;
    flex: none;
  }
}
body.page-teachers #class .cl-card {
  padding: 30px 30px 28px;
  border-radius: 24px;
  background: #fff7ec;
  box-shadow:
    0 0 0 1px rgba(120, 60, 10, 0.07),
    0 20px 40px -30px rgba(120, 60, 10, 0.3);
}
body.page-teachers #class .cl-card h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 2.9vw, 40px);
  line-height: 1.04;
  white-space: normal;
  text-wrap: balance;
}
body.page-teachers #class .cl-card h2 em {
  display: block;
}
body.page-teachers #class .cl-card .lede {
  margin: 14px 0 0;
  max-width: none;
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}
body.page-teachers #class .lw-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.page-teachers #class .lw-it {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 18px;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-teachers #class .lw-it[data-k] {
  cursor: pointer;
}
body.page-teachers #class .lw-it img {
  grid-row: 1/3;
  width: 44px;
  height: 44px;
}
body.page-teachers #class .lw-it b {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-size: 17px;
  color: rgba(30, 25, 20, 0.78);
}
body.page-teachers #class .lw-it span {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  padding-top: 2px;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(30, 25, 20, 0.62);
}
body.page-teachers #class .lw-it.is-on b {
  color: var(--ink);
}
body.page-teachers #class .lw-it[data-k]:not(.is-on):hover {
  background: rgba(255, 255, 255, 0.55);
}
body.page-teachers #class .lw-it:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-teachers #class .lw-also {
  margin: 0;
  padding: 0 18px;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(30, 25, 20, 0.62);
}
@media (max-width: 1024px) {
  body.page-teachers #class .lw-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  body.page-teachers #class .lw-box {
    order: -1;
  }
  body.page-teachers #class .cl-card {
    padding: 22px 20px;
  }
  body.page-teachers #class .lw-it {
    padding: 12px 14px;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
  }
  body.page-teachers #class .lw-it img {
    width: 36px;
    height: 36px;
  }
  body.page-teachers #class .lw-it b {
    font-size: 16px;
  }
  body.page-teachers #class .lw-also {
    padding: 0 14px;
  }
}

/* #class: one card holds the head and the whole list */
body.page-teachers #class .cl-card {
  padding: 32px 20px 20px;
}
body.page-teachers #class .cl-card > .label,
body.page-teachers #class .cl-card > h2,
body.page-teachers #class .cl-card > .lede {
  margin-inline: 12px;
}
body.page-teachers #class .cl-card .lede {
  margin-bottom: 22px;
}
body.page-teachers #class .cl-card .lw-it.is-on {
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(120, 60, 10, 0.08),
    0 10px 22px -16px rgba(120, 60, 10, 0.35);
}
@media (max-width: 1024px) {
  body.page-teachers #class .cl-card {
    padding: 24px 12px 12px;
  }
}
body.page-teachers #class .cl-card .lw-it {
  padding: 12px 12px;
  column-gap: 14px;
}
body.page-teachers #class .cl-card .lw-it img {
  object-position: left center;
}
/* #class layout: card and screen are one height, head at the top of the card, the list pinned to its bottom */
@media (min-width: 1025px) {
  body.page-teachers #class .lw[data-lw] {
    align-items: stretch;
  }
  body.page-teachers #class .lw-side {
    justify-content: stretch;
  }
  body.page-teachers #class .lw-box {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  body.page-teachers #class .lw-box .lw-win {
    flex: 1;
    height: auto;
    min-height: 540px;
  }
  body.page-teachers #class .cl-card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  body.page-teachers #class .cl-card .lede {
    margin-bottom: auto;
  }
  body.page-teachers #class .cl-card .lw-list {
    gap: 6px;
  }
  body.page-teachers #class .cl-card .lw-it {
    padding: 16px 12px;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #class .cl-card h2 {
    font-size: 48px;
    line-height: 1.02;
  }
  body.page-teachers #class .cl-card .lede {
    font-size: 18px;
  }
}
/* #class card: the three points fill the card under the head, equal rows, no gap */
@media (min-width: 1025px) {
  body.page-teachers #class .cl-card .lede {
    margin-bottom: 24px;
  }
  body.page-teachers #class .cl-card .lw-list {
    flex: 1;
    gap: 6px;
  }
  body.page-teachers #class .cl-card .lw-it {
    flex: 1;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0 14px;
  }
  body.page-teachers #class .cl-card .lw-it img {
    width: 56px;
    height: 56px;
  }
  body.page-teachers #class .cl-card .lw-it b {
    font-size: 20px;
  }
  body.page-teachers #class .cl-card .lw-it span {
    font-size: 16px;
    padding-top: 3px;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #class .cl-card .lw-it {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
    padding: 0 12px;
  }
  body.page-teachers #class .cl-card .lw-it img {
    width: 52px;
    height: 52px;
  }
  body.page-teachers #class .cl-card .lw-it span {
    font-size: 15px;
    white-space: nowrap;
  }
}

/* Hero uses the schools page colour, same as the schools home */
body.page-teachers .band-hero.side:not(#_):not(#_):not(#_) {
  background: var(--page);
  background-image: none;
}

/* Tcl1 11-13: #class title sits in the left column above the card (outside the box); card holds the three points */
body.page-teachers #class .lw-side {
  display: flex;
  flex-direction: column;
}
body.page-teachers #class .cl-top {
  padding: 6px 4px 26px;
}
body.page-teachers #class .cl-top h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 2.9vw, 40px);
  line-height: 1.04;
  white-space: normal;
}
body.page-teachers #class .cl-top h2 em {
  display: block;
}
body.page-teachers #class .cl-top .lede {
  margin: 14px 0 0;
  max-width: none;
  font-size: 16px;
  line-height: 1.5;
}
body.page-teachers #class .cl-card {
  padding: 14px;
}
@media (min-width: 1025px) {
  body.page-teachers #class .cl-top h2 {
    font-size: 48px;
    line-height: 1.02;
  }
  body.page-teachers #class .cl-top .lede {
    font-size: 18px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #class .cl-top {
    padding: 0 0 18px;
  }
  body.page-teachers #class .cl-card {
    padding: 10px;
  }
}
@media (max-width: 1024px) {
  body.page-teachers #class .lw-side {
    display: contents;
  }
  body.page-teachers #class .cl-top {
    order: -2;
  }
}
@media (min-width: 1025px) {
  body.page-teachers #class .cl-top {
    padding: 2px 4px 34px;
  }
  body.page-teachers #class .cl-top h2 {
    font-size: clamp(52px, 4.4vw, 64px);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-top: 14px;
  }
  body.page-teachers #class .cl-top .lede {
    font-size: 19px;
    margin-top: 18px;
  }
  body.page-teachers #class .cl-card {
    padding: 10px;
  }
  body.page-teachers #class .cl-card .lw-list {
    gap: 2px;
  }
}

/* Tcl1 11-13: #tutor answers are blocks (paragraphs + steps); what a setting changed is marked for a moment; a long answer pushes the question up like a real chat */
body.page-teachers #tutor .tq-body {
  justify-content: flex-end;
  overflow: hidden;
  min-height: 0;
}
body.page-teachers #tutor .tq-ai {
  max-width: 94%;
}
body.page-teachers #tutor .tq-msg p {
  margin: 0;
}
body.page-teachers #tutor .tq-msg p + p,
body.page-teachers #tutor .tq-msg ol + p,
body.page-teachers #tutor .tq-msg p + ol {
  margin-top: 9px;
}
body.page-teachers #tutor .tq-msg ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tq;
  display: grid;
  gap: 5px;
}
body.page-teachers #tutor .tq-msg li {
  counter-increment: tq;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
body.page-teachers #tutor .tq-msg li::before {
  content: counter(tq);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #fdebd6;
  color: #a8480a;
  font-size: 12px;
  font-weight: 700;
}
body.page-teachers #tutor .tq-msg[data-len='full'] {
  font-size: 14.5px;
  line-height: 1.5;
}
body.page-teachers #tutor .tq-new {
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: tqNew 2.6s ease-out both;
}
@keyframes tqNew {
  0%,
  45% {
    background-color: rgba(255, 170, 70, 0.38);
    box-shadow: 0 0 0 2px rgba(255, 170, 70, 0.38);
  }
  100% {
    background-color: rgba(255, 170, 70, 0);
    box-shadow: 0 0 0 2px rgba(255, 170, 70, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-teachers #tutor .tq-new {
    animation: none;
  }
}
body.page-teachers #tutor .tq-msg li {
  display: block;
  position: relative;
  padding-left: 30px;
}
body.page-teachers #tutor .tq-msg li::before {
  position: absolute;
  left: 0;
  top: 0;
}

/* 11-15 pacing: the practice cards sit beside the heading on desktop, so they take no top margin (it made this section start 52px lower than every other one) */
@media (min-width: 1025px) {
  body.page-teachers #learn .wrap > .ln {
    margin-top: 0;
  }
}

/* 11-15 T4f10 (Max): the chat reads from the top like a real chat, not pinned to the bottom. Features switches removed from Course Settings, so the settings card is the smaller card beside the chat. */
body.page-teachers #tutor .tq-body:not(#_):not(#_) {
  justify-content: flex-start;
}
/* 11-15 T4f10 (Max): Course Settings is the smaller card beside the chat: it takes the height of the tab that is open (the hidden tab no longer holds space) and sits centred against the chat. */
body.page-teachers #tutor .cs-pane:not(.on):not(#_):not(#_):not(#_) {
  display: none;
}
@media (min-width: 1025px) {
  body.page-teachers #tutor .tu-well .tu-set:not(#_) {
    align-self: center;
  }
  body.page-teachers #tutor .tq:not(#_) {
    min-height: 457px;
  }
}
/* 11-15 T4f10 (Max): Switching is easy: the Capyo card is the same height as the table card, flush with its edges, no longer taller. */
body.page-teachers #switch .cmp table::before {
  top: -9.5px;
  bottom: -9.5px;
  right: -9.5px;
  border-radius: 20px;
}
.js body.page-teachers #switch .cmp.rv:not(.in) table::before {
  top: -9.5px;
  bottom: -9.5px;
}

/* 11-16 site scan: above Max's 1450 window the hero iPad stops growing and stays beside the copy.
   It was sized in % of the window, so on 1920 it slid to the far edge and on ultrawide it filled the hero. */
@media (min-width: 1451px) {
  body.page-teachers .band-hero.side .hpad {
    left: calc(50% + 51px);
    width: 815px;
  }
}
