body.page-students .stx .stu-head {
  align-items: start;
}
body.page-students .stx .stu-head > div + div {
  padding-top: var(--stu-off, 33px);
}
@media (max-width: 1024px) {
  body.page-students .stx .stu-head > div + div {
    padding-top: 0;
  }
}
body.page-students .stx h2 + .lede {
  margin-top: 10px;
}
body.page-students .stx .langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
body.page-students .stx .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-students .stx button.lang {
  border: 0;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
body.page-students .stx .lang:not(.is-on):hover {
  background: rgba(18, 24, 21, 0.1);
  color: var(--ink);
}
body.page-students .stx .lang:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-students .stx .lang.is-on {
  background: var(--orange);
  color: var(--paper);
}
body.page-students .stx .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-students .stx .langs-more {
  align-self: center;
  margin-left: 6px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
body.page-students .stx .fcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 4.5vw, 64px);
}
body.page-students .stx .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-students .stx .fcard h3 {
  margin: 20px 12px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students .stx .fcard p {
  margin: 4px 12px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
body.page-students .stx .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-students .stx .mini [data-t] {
  transition: opacity 0.3s ease;
}
body.page-students .stx .swap [data-t] {
  opacity: 0;
}
/* mini frames: cream, almost no white */
body.page-students .stx {
  --gray: rgba(255, 255, 255, 0.72);
}
body.page-students .stx .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-students .stx .swap [data-t] {
  opacity: 0;
}
body.page-students .stx .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 */
/* the rotating word keeps its descenders (the g in English) */
body.page-students .stx .cycle {
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
/* lessons: the little up-next card */
body.page-students .stx .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-students .stx .ln-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fcf1e1;
}
body.page-students .stx .ln-ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
body.page-students .stx .ln-t {
  flex: 1;
  min-width: 0;
}
body.page-students .stx .ln-k {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-students .stx .ln-h {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 1px 0 6px;
}
body.page-students .stx .ln-bar {
  height: 6px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.08);
  overflow: hidden;
}
body.page-students .stx .ln-bar i {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 5px;
  background: var(--orange);
}
body.page-students .stx .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-students .stx .ln-parts {
  display: grid;
  gap: 2px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}
body.page-students .stx .ln-p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 8px;
  font-size: 14px;
  color: var(--ink);
}
body.page-students .stx .ln-i {
  flex: none;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body.page-students .stx .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-students .stx .ln-st {
  position: relative;
  margin-left: auto;
  display: grid;
  place-items: center;
  justify-items: end;
  min-width: 58px;
  height: 26px;
}
body.page-students .stx .ln-st > * {
  grid-area: 1/1;
}
body.page-students .stx .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-students .stx .ln-ck {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
}
body.page-students .stx .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-students .stx .ln-p.done .ln-start {
  opacity: 0;
}
body.page-students .stx .ln-p.done .ln-ck {
  opacity: 1;
}
body.page-students .stx .ln-p.done .ln-l {
  color: var(--muted);
}
body.page-students .stx .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-students .stx .ln2 {
  padding: 0;
  justify-content: flex-start;
  background: #f3e3cc;
}
body.page-students .stx .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-students .stx .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-students .stx .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-students .stx .ln2-ico img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
body.page-students .stx .ln2-t {
  flex: 1;
  min-width: 0;
}
body.page-students .stx .ln2-k {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-students .stx .ln2-h {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1px 0 7px;
}
body.page-students .stx .ln2-bar {
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.09);
  overflow: hidden;
}
body.page-students .stx .ln2-bar i {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 5px;
  background: var(--orange);
}
body.page-students .stx .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-students .stx .ln2-road {
  display: grid;
  gap: 6px;
  padding: 10px 10px 0;
}
body.page-students .stx .ln2-u {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: 11px;
}
body.page-students .stx .ln2-u.cur {
  background: #f8efe2;
}
body.page-students .stx .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-students .stx .ln2-u.cur .ln2-n {
  background: var(--orange);
  color: #fff;
}
body.page-students .stx .ln2-x {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
body.page-students .stx .ln2-x b {
  font-size: 14px;
  font-weight: 600;
}
body.page-students .stx .ln2-x em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
body.page-students .stx .ln2-b {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(18, 24, 21, 0.09);
  overflow: hidden;
}
body.page-students .stx .ln2-b s {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--orange);
}
body.page-students .stx .ln2-u.lock {
  opacity: 0.6;
}
body.page-students .stx .ln2-u.lock .ln2-n {
  background: none;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.18);
}
/* practice test: the runner plays all 5 questions, then shows the result */
body.page-students .stx .mini.pt {
  display: grid;
  height: 376px;
  padding: 0;
  gap: 0;
  justify-content: stretch;
}
body.page-students .stx .pt-view {
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 22px;
  transition:
    opacity 0.45s ease,
    transform 0.5s var(--ease);
}
body.page-students .stx .pt-res {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
body.page-students .stx .pt.s-res .pt-run {
  opacity: 0;
  transform: translateY(-12px);
}
body.page-students .stx .pt.s-res .pt-res {
  opacity: 1;
  transform: none;
}
body.page-students .stx .pt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .pt-seg {
  display: flex;
  gap: 5px;
  align-items: center;
}
body.page-students .stx .pt-seg i {
  width: 24px;
  height: 6px;
  border-radius: 6px;
  background: rgba(18, 24, 21, 0.1);
  transition: background 0.4s ease;
}
body.page-students .stx .pt-seg i.on {
  background: var(--orange);
}
body.page-students .stx .pt-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-students .stx .pt-body.sw {
  opacity: 0;
  transform: translateX(14px);
}
body.page-students .stx .pt-q {
  margin: 12px 0 16px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
}
body.page-students .stx .pt-o {
  display: grid;
  gap: 8px;
}
body.page-students .stx .pt-o span {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 16px;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .stx .pt-o span::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(18, 24, 21, 0.25);
  box-sizing: border-box;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .stx .pt-o span.sel {
  background: #fdeedd;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .stx .pt-o span.sel::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .stx .pt-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
body.page-students .stx .pnx {
  padding: 9px 22px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.4;
  transition:
    opacity 0.3s ease,
    transform 0.15s ease;
}
body.page-students .stx .pnx.on {
  opacity: 1;
}
body.page-students .stx .pnx.press {
  transform: scale(0.94);
}
body.page-students .stx .pt-hint {
  margin: 10px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--orange);
}
body.page-students .stx .pt-q {
  margin: 4px 0 16px;
}
body.page-students .stx .pt-o.tf {
  grid-template-columns: 1fr 1fr;
}
body.page-students .stx .pt-o.tf span {
  justify-content: center;
  height: 56px;
  font-size: 18px;
  font-weight: 600;
}
body.page-students .stx .pt-o.tf span::before {
  display: none;
}
body.page-students .stx .pt-o.ck span::before {
  border-radius: 6px;
}
body.page-students .stx .pt-o.ck span.sel::before {
  box-shadow: none;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
body.page-students .stx .pt-fill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 6px;
}
body.page-students .stx .pt-fill .bx {
  display: flex;
  align-items: center;
  min-width: 150px;
  height: 48px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.14);
  font-size: 20px;
  color: var(--ink);
  transition: box-shadow 0.25s ease;
}
body.page-students .stx .pt-o .pt-fill .bx::before {
  display: none;
}
body.page-students .stx .pt-o .pt-fill .bx {
  height: 48px;
  padding: 0 16px;
  gap: 0;
  font-size: 20px;
  font-weight: 600;
}
body.page-students .stx .pt-fill .bx.on {
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .stx .pt-fill .bx::after {
  content: '';
  width: 2px;
  height: 22px;
  margin-left: 2px;
  background: var(--orange);
  animation: pt-caret 1s steps(1) infinite;
}
@keyframes pt-caret {
  50% {
    opacity: 0;
  }
}
body.page-students .stx .pt-o.od span::before {
  display: grid;
  place-items: center;
  content: '';
  border-radius: 8px;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-color: rgba(18, 24, 21, 0.2);
}
body.page-students .stx .pt-o.od span.sel::before {
  content: attr(data-n);
  box-shadow: none;
}
/* result */
body.page-students .stx .rs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.page-students .stx .rs-k {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .rs-seg {
  display: flex;
  gap: 5px;
}
body.page-students .stx .rs-seg i {
  width: 24px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.35s ease;
  transition-delay: calc(var(--n) * 0.1s + 0.3s);
}
body.page-students .stx .rs-seg i.no {
  background: var(--ink);
}
body.page-students .stx .pt.s-res .rs-seg i {
  opacity: 1;
}
body.page-students .stx .rs-sc {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 16px;
}
body.page-students .stx .rs-sc b {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
body.page-students .stx .rs-sc span {
  font-size: 17px;
  color: var(--muted);
}
body.page-students .stx .rs-miss {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -16px rgba(120, 50, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease 0.7s,
    transform 0.6s var(--ease) 0.7s;
}
body.page-students .stx .rs-miss small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .rs-miss h4 {
  margin: 4px 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
body.page-students .stx .rs-ans {
  display: flex;
  gap: 18px;
  font-size: 15px;
}
body.page-students .stx .rs-ans div {
  display: grid;
  gap: 2px;
}
body.page-students .stx .rs-ans em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .rs-ans s {
  text-decoration-thickness: 1.5px;
  color: var(--muted);
}
body.page-students .stx .rs-ans b {
  color: var(--orange);
  font-weight: 700;
}
body.page-students .stx .rs-fb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease 1.2s,
    transform 0.6s var(--ease) 1.2s;
}
body.page-students .stx .rs-fb img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
}
body.page-students .stx .rs-fb p {
  flex: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink);
}
body.page-students .stx .rs-fb .go {
  flex: none;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-students .stx .pt.s-res .rs-miss,
body.page-students .stx .pt.s-res .rs-fb {
  opacity: 1;
  transform: none;
}
body.page-students .stx .pt-nav {
  justify-content: flex-end;
  gap: 10px;
}
body.page-students .stx .pbk {
  padding: 9px 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.18);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  opacity: 0.35;
  transition:
    opacity 0.3s ease,
    transform 0.15s ease;
}
body.page-students .stx .pbk.on {
  opacity: 1;
}
body.page-students .stx .pt-long {
  min-height: 124px;
  padding: 14px 16px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.14);
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  transition: box-shadow 0.25s ease;
}
body.page-students .stx .pt-long.on {
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .stx .pt-long::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--orange);
  animation: pt-caret 1s steps(1) infinite;
}
@media (max-width: 600px) {
  body.page-students .stx .pt-view {
    padding: 20px 16px 18px;
  }
  body.page-students .stx .pt-q {
    font-size: 22px;
  }
  body.page-students .stx .rs-sc b {
    font-size: 40px;
  }
  body.page-students .stx .rs-fb {
    flex-wrap: wrap;
  }
  body.page-students .stx .rs-fb .go {
    width: 100%;
    justify-content: center;
  }
}
/* compact: the card keeps the original 420 x 252 frame */
body.page-students .stx .mini.pt {
  height: 252px;
}
body.page-students .stx .pt-view {
  padding: 16px 18px 14px;
}
body.page-students .stx .pt-top {
  font-size: 12.5px;
}
body.page-students .stx .pt-seg {
  gap: 4px;
}
body.page-students .stx .pt-seg i {
  width: 18px;
  height: 5px;
}
body.page-students .stx .pt-hint {
  margin: 6px 0 0;
  font-size: 12px;
}
body.page-students .stx .pt-q {
  margin: 0 0 8px;
  font-size: 19px;
}
body.page-students .stx .pt-nav {
  padding-top: 8px;
}
body.page-students .stx .pt-o {
  gap: 5px;
}
body.page-students .stx .pt-o span {
  height: 32px;
  padding: 0 13px;
  font-size: 15px;
  gap: 11px;
  border-radius: 10px;
}
body.page-students .stx .pt-o span::before {
  width: 16px;
  height: 16px;
}
body.page-students .stx .pt-o.tf span {
  height: 48px;
  font-size: 16px;
}
body.page-students .stx .pt-o.od span::before {
  width: 20px;
  height: 20px;
  font-size: 12px;
}
body.page-students .stx .pt-fill {
  margin-top: 2px;
}
body.page-students .stx .pt-o .pt-fill .bx {
  height: 42px;
  font-size: 18px;
  min-width: 130px;
}
body.page-students .stx .pt-long {
  min-height: 80px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.4;
}
body.page-students .stx .pt-long::after {
  height: 15px;
  vertical-align: -2px;
}
body.page-students .stx .pnx,
body.page-students .stx .pbk {
  padding: 7px 16px;
  font-size: 13px;
  border-radius: 9px;
}
body.page-students .stx .pt-nav {
  gap: 8px;
}
body.page-students .stx .rs-sc {
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
body.page-students .stx .rs-sc b {
  font-size: 34px;
}
body.page-students .stx .rs-sc span {
  font-size: 15px;
}
body.page-students .stx .rs-sc .rs-seg {
  margin-left: auto;
  gap: 4px;
}
body.page-students .stx .rs-seg i {
  width: 18px;
  height: 5px;
}
body.page-students .stx .rs-miss {
  padding: 11px 14px;
  border-radius: 12px;
}
body.page-students .stx .rs-miss small {
  font-size: 12px;
}
body.page-students .stx .rs-miss h4 {
  margin: 2px 0 8px;
  font-size: 16px;
}
body.page-students .stx .rs-ans {
  font-size: 14px;
  gap: 22px;
}
body.page-students .stx .rs-ans em {
  font-size: 11.5px;
}
body.page-students .stx .rs-fb {
  gap: 10px;
}
body.page-students .stx .rs-fb img {
  width: 34px;
  height: 34px;
}
body.page-students .stx .rs-fb p {
  font-size: 14px;
}
body.page-students .stx .rs-fb .go {
  padding: 9px 14px;
  font-size: 13px;
}
@media (max-width: 600px) {
  body.page-students .stx .pt-view {
    padding: 14px 14px 12px;
  }
  body.page-students .stx .pt-q {
    font-size: 18px;
  }
  body.page-students .stx .rs-sc b {
    font-size: 30px;
  }
  body.page-students .stx .rs-fb {
    flex-wrap: nowrap;
  }
  body.page-students .stx .rs-fb .go {
    width: auto;
  }
  body.page-students .stx .rs-fb p {
    display: none;
  }
  body.page-students .stx .rs-fb {
    justify-content: flex-end;
  }
}

/* pronunciation: the sentence they said, then the flagged word sound by sound */
body.page-students .stx .mini.pr {
  justify-content: center;
  gap: 0;
  padding: 18px;
}
body.page-students .stx .pr-k {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .pr-k b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
body.page-students .stx .pr-say {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
body.page-students .stx .pr-say .bad {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--orange);
}
body.page-students .stx .pr-bd {
  margin-top: 18px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}
body.page-students .stx .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-students .stx .pr-bh strong {
  font-size: 15px;
  color: var(--orange);
}
body.page-students .stx .pr-ph {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
body.page-students .stx .pr-ph div {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 8px 4px 7px;
  border-radius: 9px;
  background: #fcf1e1;
}
body.page-students .stx .pr-ph em {
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
body.page-students .stx .pr-ph span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
body.page-students .stx .pr-ph div.lo {
  background: var(--orange);
}
body.page-students .stx .pr-ph div.lo em,
body.page-students .stx .pr-ph div.lo span {
  color: #fff;
}
body.page-students .stx .play .pr-say span {
  animation: k-word 14s infinite;
  animation-delay: calc(var(--i) * 0.35s - 3.4s);
}
body.page-students .stx .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-students .stx .play .pr-bd {
  animation: k-bd 14s -3.4s infinite;
}
body.page-students .stx .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-students .stx .mini.gx {
  padding: 0;
  gap: 0;
  background: #cfe3f2;
}
body.page-students .stx .gx video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* more */
body.page-students .stx .mini.m-more {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
  gap: 9px;
}
body.page-students .stx .m-more span {
  padding: 10px 15px;
  border-radius: 11px;
  background: var(--paper);
  font-size: 15px;
}
body.page-students .stx .fcard.more h3 .arr {
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
body.page-students .stx .fcard.more:hover h3 .arr {
  transform: translateX(4px);
}
@media (max-width: 1024px) {
  body.page-students .stx .fcards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  body.page-students .stx .fcards {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .stx .ask,
  body.page-students .stx .rep {
    opacity: 1;
  }
}
/* Subject tutor card: two examples (graph, explanation); chat opens centered, then gives way */
body.page-students .stx .mini.tut {
  display: block;
  padding: 0;
}
body.page-students .stx .mini.tut {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 14px;
  padding: 12px;
}
body.page-students .stx .tc-chat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 0 8px 0 10px;
}
body.page-students .stx .tut .bub {
  text-wrap: balance;
  background: #fff;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.35;
  padding: 12px 17px;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 6px 16px -12px rgba(120, 50, 0, 0.25);
}
body.page-students .stx .tut .bub.me {
  align-self: flex-start;
  background: #f2ece3;
  color: #24211d;
  border-radius: 20px;
  border-bottom-left-radius: 6px;
}
body.page-students .stx .tc-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
body.page-students .stx .tc-row img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
}
body.page-students .stx .gsvg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
body.page-students .stx .gsvg .gd {
  stroke: rgba(18, 24, 21, 0.07);
  stroke-width: 1;
  fill: none;
}
body.page-students .stx .gsvg .ax {
  stroke: rgba(18, 24, 21, 0.38);
  stroke-width: 1.3;
  fill: none;
}
body.page-students .stx .gsvg .tk text {
  font: 600 10px var(--font-body, inherit);
  fill: rgba(18, 24, 21, 0.42);
}
body.page-students .stx .gsvg .ln {
  stroke: var(--orange);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s linear 0.2s;
}
body.page-students .stx .gsvg .eq {
  font: 700 14px var(--font-body, inherit);
  fill: var(--orange);
  opacity: 0;
  transition: opacity 0.4s ease 1.7s;
}
body.page-students .stx .gsvg .pt {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.25s ease,
    transform 0.45s var(--ease);
}
body.page-students .stx .gsvg .pt circle {
  fill: var(--orange);
}
body.page-students .stx .gsvg .pt .ring {
  fill: rgba(211, 84, 0, 0.16);
}
body.page-students .stx .gsvg .pt text {
  font: 700 11px var(--font-body, inherit);
  fill: var(--ink);
}
body.page-students .stx .gsvg .p1 {
  transition-delay: 0.6s;
}
body.page-students .stx .gsvg .p2 {
  transition-delay: 1s;
}
body.page-students .stx .gsvg .p3 {
  transition-delay: 1.4s;
}
body.page-students .stx .tc-q,
body.page-students .stx .tc-a {
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}
body.page-students .stx .tut:not(.s-q) .tc-q,
body.page-students .stx .tut:not(.s-a) .tc-a {
  opacity: 0;
  transform: translateY(10px);
}
body.page-students .stx .tut:not(.s-g) .gsvg {
  opacity: 0;
}
body.page-students .stx .gsvg {
  transition: opacity 0.4s ease;
}
body.page-students .stx .tut.s-g .gsvg .ln {
  stroke-dashoffset: 0;
}
body.page-students .stx .tut.s-g .gsvg .eq {
  opacity: 1;
}
body.page-students .stx .tut.s-g .gsvg .pt {
  opacity: 1;
  transform: none;
}
body.page-students .stx .tut.now * {
  transition: none !important;
}
body.page-students .stx .gsvg {
  overflow: hidden;
}
body.page-students .stx .gsvg .gd {
  stroke: rgba(10, 10, 10, 0.08);
}
body.page-students .stx .gsvg .ax {
  stroke: rgba(10, 10, 10, 0.28);
  stroke-width: 1.5;
}
body.page-students .stx .gsvg .tk text {
  font: 500 11px var(--font-body, inherit);
  fill: #737373;
}
body.page-students .stx .gsvg .ttl {
  font: 600 15px var(--font-body, inherit);
  fill: #0a0a0a;
}
body.page-students .stx .gsvg .atl {
  font: 500 12px var(--font-body, inherit);
  fill: #0a0a0a;
}
body.page-students .stx .gsvg .ln {
  stroke-width: 2.5;
}
body.page-students .stx .gsvg circle.pt {
  fill: var(--orange);
  stroke: #fff;
  stroke-width: 1.5;
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.25s ease,
    transform 0.45s var(--ease);
}
body.page-students .stx .tut.s-g .gsvg circle.pt {
  opacity: 1;
  transform: none;
}
body.page-students .stx .gsvg .p1 {
  transition-delay: 0.55s;
}
body.page-students .stx .gsvg .p2 {
  transition-delay: 0.95s;
}
body.page-students .stx .gsvg .p3 {
  transition-delay: 1.35s;
}
/* hero graph: the graph is the card; chat is one caption slot */
body.page-students .stx .mini.tut {
  display: block;
  padding: 0;
  background: #f6ead8;
}
body.page-students .stx .tut .gsvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body.page-students .stx .tc-chat {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  padding: 0;
  gap: 0;
  z-index: 2;
}
body.page-students .stx .tc-q,
body.page-students .stx .tc-a {
  grid-area: 1/1;
  align-self: start;
  justify-self: start;
}
body.page-students .stx .tut .bub {
  font-size: 15.5px;
  padding: 10px 16px;
  box-shadow: 0 8px 20px -14px rgba(120, 50, 0, 0.35);
  text-wrap: wrap;
  white-space: nowrap;
}
body.page-students .stx .tc-row {
  gap: 8px;
  align-items: center;
}
body.page-students .stx .tc-row img {
  width: 34px;
  height: 34px;
}
body.page-students .stx .tut.s-a .tc-q {
  opacity: 0;
  transform: translateY(-6px);
}
body.page-students .stx .tut .gsvg {
  opacity: 1;
}
body.page-students .stx .gsvg .gd {
  stroke: rgba(18, 24, 21, 0.085);
}
body.page-students .stx .gsvg .ax {
  stroke: rgba(18, 24, 21, 0.34);
  stroke-width: 1.4;
}
body.page-students .stx .gsvg .tk text {
  font: 600 11px var(--font-body, inherit);
  fill: rgba(18, 24, 21, 0.42);
}
body.page-students .stx .gsvg .ln {
  stroke-width: 3.5;
}
body.page-students .stx .gsvg .eq {
  font: 700 17px var(--font-body, inherit);
  fill: var(--orange);
}
body.page-students .stx .gsvg .pt text {
  font: 700 12.5px var(--font-body, inherit);
  fill: var(--ink);
}
body.page-students .stx .gsvg g.pt circle {
  stroke: none;
}
body.page-students .stx .gsvg g.pt {
  opacity: 0;
  transform: scale(0.3);
  transform-box: fill-box;
  transform-origin: center;
}
body.page-students .stx .tut.s-g .gsvg g.pt {
  opacity: 1;
  transform: none;
}
body.page-students .stx .gsvg g.pt .ring {
  fill: rgba(211, 84, 0, 0.16);
}
body.page-students .stx .tut .tc-a .bub {
  background: #f6ead8;
  box-shadow: none;
}
body.page-students .stx .tc-row img {
  box-shadow: 0 0 0 2px #fff;
}
body.page-students .stx .gsvg .eq {
  font-size: 19px;
  font-weight: 700;
}
/* chat opens centered in the card, then gives way to the graph */
body.page-students .stx .tc-chat {
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: max-content;
  max-width: 88%;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.5s ease,
    transform 0.7s var(--ease);
}
body.page-students .stx .tc-q,
body.page-students .stx .tc-a {
  grid-area: auto;
  align-self: auto;
  justify-self: auto;
}
body.page-students .stx .tc-q {
  align-self: flex-end;
}
body.page-students .stx .tut .bub {
  font-size: 17.5px;
  padding: 12px 19px;
  white-space: normal;
  text-wrap: balance;
}
body.page-students .stx .tut .bub.me {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 6px;
}
body.page-students .stx .tc-row img {
  width: 54px;
  height: 54px;
}
body.page-students .stx .tut.s-a .tc-q {
  opacity: 1;
  transform: none;
}
body.page-students .stx .tut.s-g .tc-chat {
  opacity: 0;
  transform: translate(-50%, -56%) scale(0.97);
  pointer-events: none;
}
body.page-students .stx .tut .gsvg {
  opacity: 0;
  transition: opacity 0.6s ease;
}
body.page-students .stx .tut.s-g .gsvg {
  opacity: 1;
}
body.page-students .stx .tc-row img {
  object-position: 50% 50%;
  background: #efdcc0;
  box-shadow:
    0 0 0 2px #fff,
    0 6px 14px -8px rgba(120, 50, 0, 0.4);
}
body.page-students .stx .tc-q .ava {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #fff,
    0 6px 14px -8px rgba(120, 50, 0, 0.4);
}
body.page-students .stx .tc-q .ava svg {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-students .stx .scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}
body.page-students .stx .scene.on {
  opacity: 1;
  visibility: visible;
}
body.page-students .stx .gsvg .tl-base {
  stroke: rgba(18, 24, 21, 0.1);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}
body.page-students .stx .gsvg .lb {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-students .stx .tut.s-g .gsvg .lb {
  opacity: 1;
  transform: none;
}
body.page-students .stx .gsvg .lb text {
  font: 500 15px var(--font-body, inherit);
  fill: rgba(18, 24, 21, 0.62);
}
body.page-students .stx .gsvg .lb .yr {
  font-weight: 700;
  font-size: 23px;
  fill: var(--orange);
}
body.page-students .stx .tc-q .bub {
  max-width: 290px;
}
body.page-students .stx .gsvg .tl-base,
body.page-students .stx .gsvg .sc-hist .ln {
  stroke-width: 4;
}
body.page-students .stx .xp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  max-width: 90%;
  opacity: 0;
  transition:
    opacity 0.6s ease 0.2s,
    transform 0.8s var(--ease) 0.2s;
  pointer-events: none;
}
body.page-students .stx .tut.s-g .xp {
  opacity: 1;
  transform: translate(-50%, -50%);
}
body.page-students .stx .xp img {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #efdcc0;
  box-shadow:
    0 0 0 2px #fff,
    0 6px 14px -8px rgba(120, 50, 0, 0.4);
}
body.page-students .stx .xp .xb {
  background: #f6ead8;
  box-shadow: none;
  border-radius: 22px;
  border-bottom-left-radius: 6px;
  padding: 20px 26px 20px;
  font-size: 18px;
  line-height: 1.35;
  white-space: normal;
}
body.page-students .stx .xp .xh {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
body.page-students .stx .xp ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  counter-reset: n;
}
body.page-students .stx .xp li {
  counter-increment: n;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(18, 24, 21, 0.78);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease var(--d, 0s),
    transform 0.6s var(--ease) var(--d, 0s);
}
body.page-students .stx .xp li b {
  color: var(--ink);
  font-weight: 700;
}
body.page-students .stx .tut.s-g .xp li {
  opacity: 1;
  transform: none;
}
body.page-students .stx .xp .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -10px rgba(120, 50, 0, 0.45);
  transform: scale(0.6);
  transition: transform 0.6s var(--ease) var(--d, 0s);
}
body.page-students .stx .xp .ic img {
  width: 25px;
  height: 25px;
  display: block;
}
body.page-students .stx .tut.s-g .xp .ic {
  transform: none;
}
body.page-students .stx .xp ol {
  gap: 11px;
}
body.page-students .stx .xp .xb {
  padding: 18px 26px 18px 18px;
}
body.page-students .stx .xp .ic {
  width: 48px;
  height: 48px;
}
body.page-students .stx .xp .ic img {
  width: 32px;
  height: 32px;
}
body.page-students .stx .xp ol {
  gap: 12px;
}
body.page-students .stx .xp .ic svg {
  width: 30px;
  height: 30px;
  display: block;
  color: var(--orange);
}
body.page-students .stx .xp .xcol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
body.page-students .stx .xp .xb {
  padding: 14px 24px 14px 14px;
}
body.page-students .stx .xp .ic {
  width: 42px;
  height: 42px;
}
body.page-students .stx .xp .ic svg {
  width: 25px;
  height: 25px;
}
body.page-students .stx .xp ol {
  gap: 8px;
}
body.page-students .stx .xp .xq {
  background: #f6ead8;
  box-shadow: none;
  border-radius: 22px;
  border-bottom-left-radius: 6px;
  padding: 11px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 2.6s,
    transform 0.6s var(--ease) 2.6s;
}
body.page-students .stx .tut.s-g .xp .xq {
  opacity: 1;
  transform: none;
}
body.page-students .stx .xp .xb {
  padding: 12px 24px 12px 12px;
}
body.page-students .stx .xp .ic {
  width: 40px;
  height: 40px;
}
body.page-students .stx .xp ol {
  gap: 6px;
}
body.page-students .stx .xp .xq {
  padding: 10px 20px;
  font-size: 16.5px;
}
body.page-students .stx .tut .tc-a .bub,
body.page-students .stx .xp .xb,
body.page-students .stx .xp .xq {
  background: #fff;
  box-shadow: 0 6px 16px -12px rgba(120, 50, 0, 0.25);
}
body.page-students .stx .xp .ic {
  background: #f6ead8;
  box-shadow: none;
}
/* ---- 2+1 / 1+1+1 layout, wide tutor, cards open on their finished frame ---- */
body.page-students .stx .langs {
  gap: 5px;
  margin-top: 24px;
}
body.page-students .stx .langs-more {
  margin-left: 2px;
}
body.page-students .stx .lang,
body.page-students .stx button.lang {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 15px;
}
body.page-students .stx .langs-more {
  font-size: 15px;
}
body.page-students .stx .fcard.wide {
  grid-column: span 2;
}
body.page-students .stx .fcard p {
  text-wrap: pretty;
}
body.page-students .stx .stu-more {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 0 12px;
}
body.page-students .stx .stu-more a {
  flex: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
body.page-students .stx .stu-more a .arr {
  display: inline-block;
  margin-left: 6px;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
body.page-students .stx .stu-more a:hover .arr {
  transform: translateX(4px);
}
body.page-students .stx .stu-also {
  font-size: 15px;
  color: var(--muted);
  transition: opacity 0.4s ease;
}
@media (max-width: 600px) {
  body.page-students .stx .fcard.wide {
    grid-column: auto;
  }
  body.page-students .stx .tut .bub {
    font-size: 15.5px;
  }
}
/* language practice: sound pickup line while speaking, then green/orange underlines (from lab-card-language-practice) */
/* sound pickup line: bars bounce while the sentence is spoken, then settle flat */
body.page-students .stx .pr-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 26px;
  margin-top: 10px;
  transform-origin: center;
  transform: scaleY(0.12);
  opacity: 0;
}
body.page-students .stx .pr-wave i {
  flex: 1;
  max-width: 4px;
  height: 100%;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleY(0.5);
  opacity: 0.85;
}
body.page-students .stx .play .pr-wave {
  animation: lcp-gate 14s -3.4s infinite;
}
body.page-students .stx .play .pr-wave i {
  animation: lcp-bar calc(0.38s + (var(--i) * 37ms) - (var(--i) / 5 * 185ms)) ease-in-out infinite
    alternate;
  animation-delay: calc(var(--i) * -53ms);
}
body.page-students .stx .pr-wave i:nth-child(3n) {
  --m: 0.55;
}
body.page-students .stx .pr-wave i:nth-child(4n + 1) {
  --m: 0.85;
}
body.page-students .stx .pr-wave i:nth-child(5n + 2) {
  --m: 1;
}
@keyframes lcp-gate {
  0% {
    transform: scaleY(0.12);
    opacity: 0;
  }
  3%,
  15% {
    transform: scaleY(1);
    opacity: 1;
  }
  19%,
  100% {
    transform: scaleY(0.12);
    opacity: 0;
  }
}
@keyframes lcp-bar {
  from {
    transform: scaleY(0.18);
  }
  to {
    transform: scaleY(var(--m, 0.7));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .stx .pr-wave {
    display: none;
  }
}
/* order: speak first, THEN the score and breakdown appear and hold. Loop starts at 0 (drops the shared -3.4s offsets). */
body.page-students .stx .play .pr-say span {
  animation-delay: calc(var(--i) * 0.35s);
}
body.page-students .stx .play .pr-say .bad {
  animation-delay: calc(var(--i) * 0.35s), 0s;
}
body.page-students .stx .play .pr-bd {
  animation: k-bd 14s 0s infinite;
}
body.page-students .stx .play .pr-ph div {
  animation-delay: calc(var(--i) * 0.15s);
}
body.page-students .stx .play .pr-wave {
  animation: lcp-gate 14s 0s infinite;
}
body.page-students .stx .play .pr-k b {
  animation: k-bd 14s 0s infinite;
}
/* one long green underline under the words said well; the flagged word keeps its orange one */
body.page-students .stx .pr-say span {
  position: relative;
  padding-inline-end: 0.28em;
}
body.page-students .stx .pr-say span:last-child,
body.page-students .stx .pr-say span:has(+ .bad) {
  padding-inline-end: 0;
  margin-inline-end: 0.28em;
}
body.page-students .stx .pr-say span.bad {
  padding-inline-end: 0;
  margin-inline-end: 0.28em;
}
body.page-students .stx .pr-say span:last-child {
  margin-inline-end: 0;
}
body.page-students .stx .pr-say.nogap span {
  padding-inline-end: 0;
  margin-inline-end: 0;
}
body.page-students .stx .pr-say span::after {
  content: '';
  position: absolute;
  left: 0;
  right: -1px;
  bottom: -3px;
  height: 3px;
  background: #3f9a5a;
}
body.page-students .stx .pr-say span.bad {
  text-decoration: none;
}
body.page-students .stx .pr-say span.bad::after {
  right: 0;
  background: var(--orange);
}
body.page-students .stx .play .pr-say span::after {
  animation: lcp-good 14s 0s infinite;
}
@keyframes lcp-good {
  0%,
  13% {
    opacity: 0;
  }
  18%,
  94% {
    opacity: 1;
  }
  99%,
  100% {
    opacity: 0;
  }
}
body.page-students .stx .play .pr-say .bad {
  animation:
    k-word 14s infinite,
    lcp-ink 14s infinite;
  animation-delay: calc(var(--i) * 0.35s), 0s;
}
@keyframes lcp-ink {
  0%,
  12% {
    color: var(--ink);
  }
  15%,
  94% {
    color: var(--orange);
  }
  100% {
    color: var(--ink);
  }
}
/* the pickup line borrows the breakdown's spot while speaking, so no gap is left once it fades */
body.page-students .stx .pr-wave {
  position: relative;
  z-index: 1;
  margin: 26px 0 -52px;
}
body.page-students .stx .pr-bd {
  margin-top: 24px;
}
body.page-students .stx .pr-say.nogap span.bad {
  margin-inline: 0.14em;
}
/* lessons: Reading's Start is pressed, it ticks done, the unit bar fills, Practice tests lights up as next */
body.page-students .stx .lnm .ln-bar i {
  width: 100%;
  transform: scaleX(0.34);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
}
body.page-students .stx .lnm[dir='rtl'] .ln-bar i {
  transform-origin: right center;
}
body.page-students .stx .lnm.ln-on .ln-bar i {
  transform: scaleX(0.67);
}
body.page-students .stx .lnm .ln-start {
  transition:
    opacity 0.25s ease,
    transform 0.15s ease,
    background-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}
body.page-students .stx .lnm .ln-ck {
  transform: scale(0.5);
  transition:
    opacity 0.25s ease,
    transform 0.35s var(--ease);
}
body.page-students .stx .lnm .ln-p.done .ln-ck {
  transform: none;
}
body.page-students .stx .lnm .ln-l {
  transition: color 0.35s ease;
}
body.page-students .stx .lnm .ln-p.press .ln-start {
  transform: scale(0.9);
}
body.page-students .stx .lnm.ln-now * {
  transition: none !important;
}
/* practice test: long answer fits the card */
body.page-students .stx .pt-long {
  min-height: 0;
  height: 74px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
}
/* practice test result: one centered column, no boxes in boxes */
body.page-students .stx .pt-res.rz {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}
body.page-students .stx .rz-marks {
  display: flex;
  gap: 8px;
}
body.page-students .stx .rz-marks i {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
  transition-delay: calc(var(--n) * 0.14s + 0.2s);
}
body.page-students .stx .rz-marks i::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 6.5px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
body.page-students .stx .rz-marks i.no {
  background: rgba(18, 24, 21, 0.1);
}
body.page-students .stx .rz-marks i.no::before,
body.page-students .stx .rz-marks i.no::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  width: 2.5px;
  height: 14px;
  border: 0;
  border-radius: 2px;
  background: rgba(18, 24, 21, 0.5);
  transform: rotate(45deg);
}
body.page-students .stx .rz-marks i.no::before {
  transform: rotate(-45deg);
}
body.page-students .stx .pt.s-res .rz-marks i {
  opacity: 1;
  transform: none;
}
body.page-students .stx .rz-sc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
body.page-students .stx .rz-sc b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
body.page-students .stx .rz-miss {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink);
}
body.page-students .stx .rz-ans {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 9px;
  font-size: 15px;
}
body.page-students .stx .rz-ans s {
  color: var(--muted);
  text-decoration-thickness: 1.5px;
}
body.page-students .stx .rz-ans b {
  color: var(--orange);
  font-weight: 700;
}
body.page-students .stx .rz-go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
body.page-students .stx .rz-go img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
}
body.page-students .stx .rz-sc,
body.page-students .stx .rz-miss,
body.page-students .stx .rz-go {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.5s var(--ease);
}
body.page-students .stx .pt.s-res .rz-sc {
  opacity: 1;
  transform: none;
  transition-delay: 0.55s;
}
body.page-students .stx .pt.s-res .rz-miss {
  opacity: 1;
  transform: none;
  transition-delay: 0.8s;
}
body.page-students .stx .pt.s-res .rz-go {
  opacity: 1;
  transform: none;
  transition-delay: 1.05s;
}
body.page-students .stx .fcards[data-minis] .fcard {
  cursor: pointer;
}
body.page-students .stx .fcards[data-minis] .fcard:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
/* practice test result: score, then one card with the missed question and the way to review it */
body.page-students .stx .pt-res {
  justify-content: center;
}
body.page-students .stx .rs-seg i.no {
  background: rgba(18, 24, 21, 0.16);
}
body.page-students .stx .rs-sc {
  margin: 0 0 14px;
}
body.page-students .stx .rs-miss {
  padding: 14px 16px 14px;
}
body.page-students .stx .rs-ans s {
  text-decoration: none;
}
body.page-students .stx .rs-miss .rs-fb {
  margin-top: 14px;
  gap: 10px;
}
body.page-students .stx .rs-miss .rs-fb p {
  display: none;
}
body.page-students .stx .rs-miss .rs-fb .go {
  flex: 1;
  text-align: center;
}
body.page-students .stx .rs-miss h4 {
  margin-bottom: 8px;
}
/* the turn highlight: a still outline sits on the card that is playing, then slides over to the next */
body.page-students .stx .fcards[data-minis] {
  position: relative;
}
body.page-students .stx .turn-frame {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  box-sizing: border-box;
  border: 2px solid var(--orange);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
body.page-students .stx .turn-frame.on {
  opacity: 1;
}
body.page-students .stx .turn-frame.go {
  transition:
    opacity 0.45s ease,
    transform 0.75s var(--ease),
    width 0.75s var(--ease),
    height 0.75s var(--ease);
}
/* ================= students page layout (10-22, the teachers page system) ================= */
.page-students .section h2 em,
.page-students .band-hero h1 em,
.page-students .closing h2 em {
  font-style: normal;
  color: var(--orange);
}
.page-students .section > .wrap,
.page-students .closing > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
.page-students .section {
  padding-block: clamp(64px, 7vw, 112px);
}
.page-students .section + .section {
  padding-top: 0;
}
.page-students .tu-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-students .tu-head .lede {
  margin: 22px auto 0;
  max-width: 560px;
}

/* hero: the schools/teachers split, soft painted shade, the student app on an iPad */
@media (min-width: 1025px) {
  .page-students .band-hero.side {
    padding-top: calc(var(--head) + 32px);
    padding-bottom: 7vw;
  }
  .page-students .band-hero.side > .wrap {
    max-width: 1600px;
    padding-inline: clamp(40px, 6.75vw, 128px);
  }
  .page-students .band-hero.side .hero-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(32px, 3.1vw, 60px);
    align-items: center;
  }
  .page-students .band-hero.side .label {
    font-size: 13px;
    letter-spacing: 0.24em;
    margin-bottom: 20px;
  }
  .page-students .band-hero.side h1 {
    font-size: clamp(47px, 4.6vw, 84px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -0.045em;
  }
  .page-students .band-hero.side h1 span {
    display: block;
    white-space: nowrap;
  }
  .page-students .band-hero.side .lede {
    margin-top: 36px;
    max-width: 520px;
    font-size: clamp(18px, 1.5vw, 26px);
    line-height: 1.46;
    color: var(--body);
  }
  .page-students .band-hero.side .actions {
    margin-top: 40px;
    gap: 16px;
  }
}
@media (max-width: 1024px) {
  .page-students .sh {
    margin-top: 40px;
  }
}

/* the iPad: screen laid out at 960 x 696 and scaled to fit (--s set by the script) */
.page-students .sh {
  position: relative;
  margin: 0;
  --s: 0.6;
}
.page-students .sh-lid {
  position: relative;
  padding: clamp(9px, 1vw, 14px);
  border-radius: clamp(18px, 2.2vw, 32px);
  background: #1d1f1e;
  box-shadow:
    inset 0 0 0 1.5px #34312d,
    0 1px 2px rgba(60, 25, 0, 0.12),
    0 40px 70px -44px rgba(60, 25, 0, 0.55);
}
.page-students .sh-scr {
  position: relative;
  aspect-ratio: 960/696;
  border-radius: clamp(10px, 1.3vw, 19px);
  overflow: hidden;
  background: #f4efe7;
}
.page-students .sh-app {
  position: absolute;
  left: 0;
  top: 0;
  width: 960px;
  height: 696px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  color: #151515;
  font-size: 14px;
  line-height: 1.3;
}
.page-students .sh-view {
  position: absolute;
  inset: 0;
  display: flex;
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
.page-students .sh-view.off {
  opacity: 0;
  transform: scale(0.985);
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}
.page-students .sh-rail {
  flex: none;
  width: 206px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 12px 14px;
  background: #fffdf9;
}
.page-students .sh-school {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 18px;
}
.page-students .sh-school img {
  width: 38px;
  height: 48px;
  object-fit: contain;
}
.page-students .sh-school b {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.page-students .sh-rail > span {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 50px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1f1f1f;
}
.page-students .sh-rail > span img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.page-students .sh-rail > span.on {
  background: #fbe9dc;
  color: #7a3300;
}
.page-students .sh-me-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 6px 0;
}
.page-students .sh-me-row img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.page-students .sh-me-row b {
  font-size: 14.5px;
  font-weight: 600;
}
.page-students .sh-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 16px 16px 14px;
}
.page-students .sh-hi,
.page-students .sh-tut,
.page-students .sh-chat {
  background: #fffdf9;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(60, 35, 10, 0.06);
}
.page-students .sh-hi-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 14px;
}
.page-students .sh-av {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  object-fit: cover;
}
.page-students .sh-hi h3 {
  flex: 1;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-students .sh-lv {
  width: 220px;
  padding-left: 20px;
  box-shadow: -1px 0 0 rgba(60, 35, 10, 0.08);
}
.page-students .sh-lv span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.page-students .sh-lv span img {
  width: 18px;
  height: 18px;
}
.page-students .sh-lv em {
  margin-left: auto;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
}
.page-students .sh-lv i {
  display: block;
  height: 7px;
  margin-top: 9px;
  border-radius: 5px;
  background: #f1e8dc;
  overflow: hidden;
}
.page-students .sh-lv s {
  display: block;
  width: 71%;
  height: 100%;
  border-radius: 5px;
  background: var(--orange);
}
.page-students .sh-stats {
  display: flex;
  gap: 6px;
  padding: 11px 20px 13px;
  background: #fbf6ee;
  border-radius: 0 0 16px 16px;
}
.page-students .sh-stats span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #7a746c;
  white-space: nowrap;
}
.page-students .sh-stats span.c {
  flex: none;
}
.page-students .sh-stats img {
  width: 20px;
  height: 20px;
}
.page-students .sh-stats b {
  font-size: 14px;
  font-weight: 700;
  color: #151515;
}
.page-students .sh-tut {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 16px 16px;
}
.page-students .sh-tut-h {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 4px 12px;
}
.page-students .sh-tut-h img {
  width: 24px;
  height: 24px;
}
.page-students .sh-tut-h b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.page-students .sh-join {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1.5px rgba(21, 21, 21, 0.16);
  font-size: 13px;
  font-weight: 600;
}
.page-students .sh-cls {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 0;
}
.page-students .sh-cls > div {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto auto;
  column-gap: 10px;
  padding: 7px 7px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(60, 35, 10, 0.07);
  min-height: 0;
}
.page-students .sh-cls img {
  grid-column: 1/-1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 16%;
  border-radius: 9px;
}
.page-students .sh-cls b {
  grid-column: 1;
  margin: 10px 6px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-students .sh-cls small {
  grid-column: 1;
  margin: 2px 6px 0;
  font-size: 12.5px;
  color: #7a746c;
}
.page-students .sh-enter {
  grid-column: 2;
  grid-row: 2/4;
  align-self: end;
  padding: 9px 13px;
  border-radius: 10px;
  background: #f4ede3;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background 0.2s ease;
}
.page-students .hit {
  transform: scale(0.93) !important;
  background: #fbe0cb !important;
}
.page-students .sh-crail {
  gap: 2px;
  padding-top: 14px;
}
.page-students .sh-homebtn {
  width: 44px;
  height: 40px !important;
  padding: 0 4px !important;
  transition: transform 0.15s ease;
}
.page-students .sh-homebtn img {
  width: 30px !important;
  height: 30px !important;
}
.page-students .sh-tutor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 0 16px;
  margin-bottom: 6px;
  box-shadow: 0 1px 0 rgba(60, 35, 10, 0.07);
}
.page-students .sh-tutor b {
  font-size: 15px;
  font-weight: 700;
}
.page-students .sh-tutor img {
  width: 84px;
  height: 84px;
  margin: 8px 0 4px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4px rgba(60, 35, 10, 0.1);
}
.page-students .sh-tutor strong {
  font-size: 14.5px;
  font-weight: 700;
}
.page-students .sh-tutor small {
  font-size: 12px;
  color: #7a746c;
}
.page-students .sh-crail > span:not(.sh-homebtn) {
  height: 43px;
  font-size: 14.5px;
  white-space: nowrap;
}
.page-students .sh-crail > span img {
  width: 30px;
  height: 30px;
}
.page-students .sh-main.sh-chat {
  margin: 16px 16px 16px 14px;
  padding: 0;
  gap: 0;
}
.page-students .sh-ch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  box-shadow: 0 1px 0 rgba(60, 35, 10, 0.07);
}
.page-students .sh-ch b {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.page-students .sh-focus {
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.14);
  font-size: 12.5px;
  color: #4a4540;
}
.page-students .sh-focus em {
  font-style: normal;
  font-weight: 600;
  color: #151515;
}
.page-students .sh-ov {
  margin-left: auto;
  font-size: 13px;
  color: #7a746c;
}
.page-students .sh-msgs {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 30px;
}
.page-students .sh-chat {
  position: relative;
}
.page-students .sh-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-bottom: 20px;
  transition:
    opacity 0.2s ease,
    transform 0.3s var(--ease);
}
.page-students .sh-empty img {
  width: 86px;
  height: 86px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 4px rgba(60, 35, 10, 0.1);
}
.page-students .sh-empty b {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-students .sh-empty small {
  font-size: 14.5px;
  color: #7a746c;
}
.page-students .sh-empty div {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.page-students .sh-empty span {
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(21, 21, 21, 0.16);
  font-size: 14px;
  font-weight: 500;
}
.page-students .sh-msgs.s-me ~ .sh-in {
}
.page-students .sh-chat.s-on .sh-empty {
  opacity: 0;
  transform: translateY(-12px);
}
.page-students .sh-me {
  align-self: flex-end;
  max-width: 70%;
  padding: 14px 20px;
  border-radius: 22px 22px 6px 22px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
.page-students .sh-ai {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
.page-students .sh-ai img {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 28%;
  box-shadow: 0 0 0 2px #fff;
}
.page-students .sh-re {
  max-width: 82%;
  padding: 16px 22px;
  border-radius: 22px 22px 22px 6px;
  background: #f6ede1;
  font-size: 20px;
  line-height: 1.45;
}
.page-students .sh-ans {
  display: none;
}
.page-students .sh-dots {
  display: flex;
  gap: 5px;
  padding: 6px 2px;
}
.page-students .sh-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(21, 21, 21, 0.35);
  animation: sh-d 1s infinite;
}
.page-students .sh-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.page-students .sh-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes sh-d {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
.page-students .sh-msgs.s-me .sh-me,
.page-students .sh-msgs.s-ai .sh-ai {
  opacity: 1;
  transform: none;
}
.page-students .sh-msgs.s-say .sh-dots {
  display: none;
}
.page-students .sh-msgs.s-say .sh-ans {
  display: inline;
  animation: sh-in 0.45s ease both;
}
@keyframes sh-in {
  from {
    opacity: 0;
  }
}
.page-students .sh-in {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 16px;
  height: 56px;
  padding: 0 9px 0 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(60, 35, 10, 0.1);
}
.page-students .sh-ph,
.page-students .sh-txt {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: #8a837a;
  white-space: nowrap;
  overflow: hidden;
}
.page-students .sh-txt {
  display: none;
  color: #151515;
}
.page-students .sh.typing .sh-ph {
  display: none;
}
.page-students .sh.typing .sh-txt {
  display: block;
}
.page-students .sh-txt::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--orange);
  animation: pt-caret 1s steps(1) infinite;
}
.page-students .sh-mic,
.page-students .sh-send {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition:
    transform 0.15s ease,
    opacity 0.2s ease;
}
.page-students .sh-mic {
  background: #f4ede3;
}
.page-students .sh-send {
  background: var(--orange);
  opacity: 0.4;
}
.page-students .sh.typing .sh-send {
  opacity: 1;
}
.page-students .sh-mic svg,
.page-students .sh-send svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #151515;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.page-students .sh-send svg {
  stroke: #fff;
}
.page-students .sh-cur {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 24px;
  height: 32px;
  margin: -3px 0 0 -3px;
  pointer-events: none;
  opacity: 0;
  transform: translate(700px, 560px);
  transition:
    transform 0.9s cubic-bezier(0.45, 0, 0.2, 1),
    opacity 0.3s ease;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
.page-students .sh-cur.on {
  opacity: 1;
}
.page-students .sh-cur svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ported cards: the schools page frames, shown larger */
body.page-students .stx {
  --z: 1.3;
}
body.page-students .stx .one {
  width: 383.33px;
  max-width: 100%;
  margin: 0 auto;
  zoom: var(--z);
}
body.page-students .stx .one.w {
  width: 786.67px;
}
body.page-students .stx .fcards {
  display: block;
  margin: 0;
}
body.page-students .stx .fcard.solo {
  padding: 8px;
  cursor: pointer;
}
body.page-students .stx .fcard:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
body.page-students.st-swap .stx [data-t] {
  opacity: 0;
}
body.page-students .stx-tut {
  --z: 1.36;
  margin-top: clamp(36px, 4vw, 56px);
}

/* tutor: languages under the heading, the active one shows its 10s clock */
.page-students .st-langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
}
.page-students .st-langs .lang {
  position: relative;
  overflow: hidden;
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  background: rgba(18, 24, 21, 0.05);
  font: inherit;
  font-size: 15px;
  line-height: 1.3;
  color: var(--body);
  cursor: pointer;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
.page-students .st-langs .lang:not(.is-on):hover {
  background: rgba(18, 24, 21, 0.1);
  color: var(--ink);
}
.page-students .st-langs .lang:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.page-students .st-langs .lang.is-on {
  background: var(--orange);
  color: var(--paper);
}
.page-students .st-langs .lang.is-on::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transform-origin: left;
}
.page-students .st-langs.tick .lang.is-on::after {
  animation: st-clock 10s linear forwards;
}
@keyframes st-clock {
  to {
    transform: scaleX(1);
  }
}
.page-students .st-langs .langs-more {
  align-self: center;
  margin-left: 4px;
  font-size: 15px;
  color: var(--muted);
}
.page-students .st-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  max-width: 1070px;
  margin: clamp(36px, 4vw, 56px) auto 0;
}
.page-students .st-points p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.page-students .st-points b {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* unit: two cards side by side, captions under */
.page-students .st-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(40px, 4.5vw, 64px);
}
.page-students .st-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-students .st-fig figcaption {
  margin-top: 26px;
  max-width: 470px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.page-students .st-fig figcaption b {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* every day: copy beside the language card, then the game and the shop */
.page-students .tx-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.page-students .tx-copy .lede {
  max-width: 480px;
}
.page-students .tx-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 480px;
}
.page-students .tx-list li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--body);
}
.page-students .tx-list li b {
  font-weight: 600;
  color: var(--ink);
}
.page-students .tx-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.page-students .lg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(64px, 7vw, 104px) auto 0;
}
.page-students .lg-card {
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: var(--page-2);
  overflow: hidden;
}
.page-students .lg-media {
  height: 500px;
  display: grid;
  place-items: center;
  padding: 28px;
}
.page-students .lg-game {
  background: radial-gradient(120% 90% at 50% 0%, #fde3c4 0%, #f8d2aa 100%);
}
.page-students .lg-frame {
  position: relative;
  width: 296px;
  height: 444px;
  border-radius: 22px;
  overflow: hidden;
  background: #1f8fd6;
  box-shadow:
    0 30px 60px -30px rgba(120, 50, 0, 0.55),
    0 10px 22px -14px rgba(18, 24, 21, 0.35);
}
.page-students .lg-frame iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 444px;
  height: 666px;
  border: 0;
  transform: scale(0.6667);
  transform-origin: 0 0;
}
.page-students .lg-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0 0 34px;
  cursor: pointer;
  background: url('https://assets-dev.capyodev.com/images/marketing-site/195c0fbc6c4af90315ab0a9a0e7f9a2c3e30cb310eb070d1033366783a6fe1bb.webp') center 30% / cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: opacity 0.35s;
}
.page-students .lg-cover.off {
  opacity: 0;
  pointer-events: none;
}
.page-students .lg-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: #fff8ec;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease);
}
.page-students .lg-cover:hover .lg-cta {
  transform: scale(1.04);
}
.page-students .lg-play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
}
.page-students .lg-play svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-left: 2px;
}
.page-students .lg-shop {
  align-content: center;
  gap: 16px;
  background: radial-gradient(120% 90% at 50% 0%, #fde3c4 0%, #f8d2aa 100%);
}
.page-students .lg-coins {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 6px 16px -10px rgba(120, 50, 0, 0.45);
}
.page-students .lg-coins img {
  width: 20px;
  height: 20px;
}
.page-students .lg-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 148px));
  gap: 12px;
}
.page-students .lg-tiles figure {
  margin: 0;
  padding: 6px 6px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px -18px rgba(120, 50, 0, 0.5);
}
.page-students .lg-tiles img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 11px;
}
.page-students .lg-tiles figcaption {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 7px;
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.page-students .lg-tiles figcaption span {
  color: var(--orange);
  font-weight: 600;
}
.page-students .lg-text {
  flex: 1;
  padding: 28px 32px 32px;
  background: #fff;
}
.page-students .lg-text h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
.page-students .lg-text p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

/* results */
.page-students .st-results .proof {
  --n: 3;
}
.page-students .st-results .proof small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.page-students .st-results .proof span {
  display: block;
  margin-top: 18px;
  max-width: 300px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
}

/* FAQ and closing as on the schools and teachers pages */
@media (min-width: 1025px) {
  .page-students section[aria-labelledby='faq-h'] > .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
    gap: 48px;
    align-items: start;
  }
  .page-students section[aria-labelledby='faq-h'] .head-row {
    display: block;
    position: sticky;
    top: calc(var(--head) + 32px);
  }
  .page-students section[aria-labelledby='faq-h'] .head-row .link {
    display: inline-flex;
    margin-top: 24px;
  }
  .page-students section[aria-labelledby='faq-h'] .faq {
    margin-top: 0;
  }
}
.page-students section[aria-labelledby='faq-h'] .faq details {
  background: var(--paper);
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.05),
    0 14px 32px -26px rgba(120, 50, 0, 0.3);
}
.page-students .closing {
  background: var(--page);
  padding-block: clamp(40px, 5vw, 72px) clamp(72px, 8vw, 120px);
}
.page-students .closing::before {
  display: none;
}
.page-students .closing > .wrap {
  padding: clamp(56px, 6vw, 88px) clamp(28px, 5vw, 80px) clamp(80px, 8vw, 116px);
  border-radius: 24px;
  background: #fff1e0 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') center bottom/cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.page-students .closing h2 {
  max-width: 760px;
  margin-inline: auto;
}
.page-students .closing .actions {
  justify-content: center;
}

@media (max-width: 1024px) {
  body.page-students .stx,
  body.page-students .stx-tut {
    --z: 1;
  }
  body.page-students .stx .one,
  body.page-students .stx .one.w {
    width: 100%;
    max-width: 420px;
  }
  .page-students .st-points,
  .page-students .st-pair,
  .page-students .tx-row,
  .page-students .lg {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-students .st-points {
    text-align: left;
    gap: 20px;
  }
  .page-students .lg-media {
    height: auto;
    padding: 22px 16px;
  }
  .page-students .lg-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .page-students .lg-tiles figcaption {
    font-size: 11px;
    flex-direction: column;
    white-space: normal;
  }
  .page-students .st-results .proof {
    --n: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-students .st-langs .lang.is-on::after {
    display: none;
  }
}

/* hero: two panels, your class materials above and every way to learn below. One orange line runs out of
   the materials and snakes through every feature, lighting each as it passes: all of it is built from your class. */
body.page-students .sx {
  --sx-ext: 36px;
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 660px;
  justify-self: end;
  display: grid;
  gap: 96px;
}
body.page-students .sx-box {
  position: relative;
  padding: 18px 24px 34px;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(120, 50, 0, 0.06),
    0 26px 52px -36px rgba(120, 50, 0, 0.45);
}
body.page-students .sx-cap {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #7a7470;
}
body.page-students .sx-cap b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .sx-shelf {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
body.page-students .sx-file {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
body.page-students .sx-file i {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #fdf1e6;
  box-shadow: inset 0 0 0 1px rgba(211, 84, 0, 0.1);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s ease;
}
body.page-students .sx-file i img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
body.page-students .sx-file em {
  position: absolute;
  right: -6px;
  bottom: -5px;
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--orange-hi);
  color: #fff;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow: 0 0 0 2px #fff;
}
body.page-students .sx-file.up i {
  box-shadow:
    inset 0 0 0 1.5px rgba(211, 84, 0, 0.35),
    0 12px 20px -12px rgba(150, 55, 0, 0.55);
}
body.page-students .sx-file b {
  font-size: 12.5px;
  font-weight: 500;
  color: #4f4f4f;
  white-space: nowrap;
}
body.page-students .sx-file.up i {
  transform: translateY(-5px);
}
body.page-students .sx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
}
body.page-students .sx-use {
  padding: 20px 32px 28px;
}
body.page-students .sx-use .sx-cap {
  margin-bottom: 20px;
}
body.page-students .sx-cap {
  position: relative;
  z-index: 2;
}
body.page-students .sx-f {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  background: #faf5ef;
}
body.page-students .sx-fill {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, #e0681a, var(--orange-hi) 60%, #c24a00);
  opacity: 0;
  transition: opacity 0.4s ease;
}
body.page-students .sx-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
}
body.page-students .sx-ic img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
body.page-students .sx-f b {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.4s ease;
}
body.page-students .sx-f.on {
  background: #fdebdc;
}
body.page-students .sx-f.on b {
  color: #a63f00;
}
body.page-students .sx-f.now .sx-fill {
  opacity: 1;
}
body.page-students .sx-f.now b {
  color: #fff;
}
body.page-students .sx-f.now {
  animation: sx-hit 0.5s var(--ease);
}
@keyframes sx-hit {
  35% {
    transform: scale(0.96);
  }
}
body.page-students .sx-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
body.page-students .sx-line path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .sx-base {
  stroke: rgba(211, 84, 0, 0.3);
  stroke-width: 1.5;
}
body.page-students .sx-pulse {
  stroke: var(--orange-hi);
  stroke-width: 2.5;
  stroke-dasharray: 18 100;
  stroke-dashoffset: 18;
  opacity: 0;
}
body.page-students .sx.flow .sx-pulse {
  opacity: 1;
  animation: sx-pulse 3.2s cubic-bezier(0.45, 0, 0.3, 1) infinite;
  animation-delay: calc(var(--k) * 90ms);
}
@keyframes sx-pulse {
  0% {
    stroke-dashoffset: 18;
  }
  60%,
  100% {
    stroke-dashoffset: -100;
  }
}
body.page-students .sx-ports circle {
  fill: var(--orange-hi);
  stroke: #fff;
  stroke-width: 2;
}
@media (max-width: 1024px) {
  body.page-students .sx {
    margin-top: 44px;
    max-width: none;
    gap: 72px;
  }
  body.page-students .sx {
    --sx-ext: 10px;
    --sx-x0: 0.64;
  }
  body.page-students .sx-box {
    padding: 14px 14px 22px;
    border-radius: 20px;
  }
  body.page-students .sx-use {
    padding: 14px 22px 18px;
  }
  body.page-students .sx-cap {
    font-size: 12.5px;
    margin-bottom: 12px;
    padding-left: 4px;
  }
  body.page-students .sx-shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 12px;
  }
  body.page-students .sx-grid {
    gap: 14px 16px;
  }
  body.page-students .sx-f {
    flex-direction: column;
    gap: 6px;
    padding: 10px 4px 9px;
    text-align: center;
  }
  body.page-students .sx-f b {
    font-size: 12px;
    white-space: normal;
    line-height: 1.2;
  }
  body.page-students .sx-ic {
    width: 32px;
    height: 32px;
  }
  body.page-students .sx-ic img {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .sx-f.now {
    animation: none;
  }
}

/* tutor: one panel. Copy and four things the tutor can do on the left, the student's tutor chat on the
   schools brush-wash on the right. The chat reads top down like the real one: the tutor in the header,
   the student in a dark bubble, the tutor in a light one, Capyo icons. */
body.page-students .tz {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: center;
  padding: 12px 12px 12px clamp(28px, 3.4vw, 52px);
  border-radius: 28px;
  background: var(--paper);
}
body.page-students .tz-copy {
  padding: 36px 0;
}
body.page-students .tz-copy h2 {
  max-width: 560px;
}
body.page-students .tz-copy .lede {
  max-width: 500px;
  margin-top: 20px;
}
body.page-students .tz-exs {
  display: grid;
  gap: 4px;
  margin-top: 28px;
}
body.page-students .tz-ex {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.45s ease;
}
body.page-students .tz-ex:hover:not(.is-on) {
  opacity: 0.75;
}
body.page-students .tz-ex.is-on {
  opacity: 1;
}
body.page-students .tz-ex:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 8px;
}
body.page-students .tz-ex > img {
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
body.page-students .tz-ex.is-on > img {
  transform: scale(1.08);
}
body.page-students .tz-ex > span {
  display: grid;
  gap: 2px;
}
body.page-students .tz-ex b {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
}
body.page-students .tz-note {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

body.page-students .tz-well {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(28px, 3.2vw, 52px);
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 30% 100% / auto 230% no-repeat;
}
body.page-students .tz-win {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 28px 70px -24px rgba(120, 50, 0, 0.32);
  overflow: hidden;
}
body.page-students .tz-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  background: #fffdf9;
  box-shadow: 0 10px 18px -16px rgba(60, 35, 10, 0.25);
  position: relative;
  z-index: 3;
}
body.page-students .tz-top > img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: #efe6da;
}
body.page-students .tz-top > span {
  display: grid;
  line-height: 1.25;
  flex: 1;
}
body.page-students .tz-top b {
  font-size: 16px;
  font-weight: 700;
}
body.page-students .tz-top small {
  font-size: 13px;
  color: var(--muted);
}
body.page-students .tz-top .tz-top-ic {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: none;
  object-fit: contain;
}
body.page-students .tz-top > * {
  transition: opacity 0.3s ease;
}
body.page-students .tz-win.t-swap .tz-top > img,
body.page-students .tz-win.t-swap .tz-top > span {
  opacity: 0;
}

body.page-students .tz-feed {
  position: relative;
  flex: none;
  height: 300px;
  overflow: hidden;
  transition: height 0.5s var(--ease);
}
body.page-students .tz-scene {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s 0.4s;
}
body.page-students .tz-scene.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}
body.page-students .tz-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.page-students .tz-row > img,
body.page-students .tz-ava {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  object-position: 50% 20%;
  background: #efe6da;
}
body.page-students .tz-ava svg {
  display: block;
  width: 100%;
  height: 100%;
}
body.page-students .tz-q {
  justify-content: flex-end;
}
body.page-students .tz-bub {
  max-width: 86%;
  padding: 11px 16px;
  border-radius: 6px 18px 18px 18px;
  background: #f3eee6;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
body.page-students .tz-bub.me {
  max-width: 76%;
  background: #2a2622;
  color: #fbf7f1;
  border-radius: 18px 6px 18px 18px;
}
body.page-students .tz-a .tz-bub {
  flex: 1;
  max-width: none;
  padding: 13px 16px 15px;
}
body.page-students .tz-body p {
  margin: 0;
}
body.page-students .tz-body ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
body.page-students .tz-body li {
  padding-left: 16px;
  position: relative;
  color: rgba(18, 24, 21, 0.8);
}
body.page-students .tz-body li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 24, 21, 0.3);
}
body.page-students .tz-body li b {
  color: var(--ink);
  font-weight: 700;
}
body.page-students .tz-back {
  margin-top: 10px !important;
  font-weight: 600;
}
body.page-students .tz-tag {
  display: block;
  width: max-content;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fffdf9;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

/* heart model inside the answer: blood flows round, the ventricles beat */
body.page-students .tz-tool {
  margin-top: 10px;
  padding: 10px 12px 8px;
  border-radius: 12px;
  background: #fffdf9;
}
body.page-students .tz-tool-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
body.page-students .tz-tool-h img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body.page-students .tz-tool-h span {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}
body.page-students .tz-heart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 190px;
  margin-top: 4px;
  overflow: visible;
}
body.page-students .tz-heart .vs {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
}
body.page-students .tz-heart .vs.b {
  stroke: #c6dbee;
}
body.page-students .tz-heart .vs.r {
  stroke: #f0c9bf;
}
body.page-students .tz-heart .ra,
body.page-students .tz-heart .rv {
  fill: #cddff0;
}
body.page-students .tz-heart .la,
body.page-students .tz-heart .lv {
  fill: #f3cdc4;
}
body.page-students .tz-heart .sep {
  stroke: #fff;
  stroke-width: 5;
  stroke-linecap: round;
}
body.page-students .tz-heart .vt {
  transform-box: fill-box;
  transform-origin: 50% 0;
}
body.page-students .tz-heart .lb text {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  fill: rgba(18, 24, 21, 0.78);
  text-anchor: middle;
}
body.page-students .tz-heart .vl text {
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  fill: var(--muted);
  text-anchor: middle;
}
body.page-students .tz-heart .fl circle {
  offset-rotate: 0deg;
  opacity: 0;
}
body.page-students .tz-heart .fl.b circle {
  fill: #3f6ea3;
  offset-path: path('M108 50V136Q108 168 140 168H166Q180 168 180 154V72Q180 54 152 50');
}
body.page-students .tz-heart .fl.b circle:nth-child(2) {
  offset-path: path('M108 50V136Q108 168 140 168H166Q180 168 180 154V72Q180 54 208 50');
}
body.page-students .tz-heart .fl.r circle {
  fill: #c0503f;
  offset-path: path('M252 50V132H270V72Q270 48 294 48Q318 48 318 72V110');
}
body.page-students .tz-heart .fl.r circle:nth-child(2) {
  offset-path: path('M228 50V132H270V72Q270 48 294 48Q318 48 318 72V110');
}
body.page-students .tz-win.live .tz-scene.on .tz-heart .fl circle {
  animation: tz-flow 3.6s linear infinite;
  animation-delay: calc(var(--k) * -1.2s);
}
body.page-students .tz-win.live .tz-scene.on .tz-heart .vt {
  animation: tz-beat 1.2s ease-in-out infinite;
}
@keyframes tz-flow {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
@keyframes tz-beat {
  0%,
  55%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(0.965, 0.95);
  }
}

/* the composer */
body.page-students .tz-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 9px 9px 9px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(60, 35, 10, 0.1);
  font-size: 16px;
  z-index: 3;
}
body.page-students .tz-ph {
  flex: 1;
  min-width: 0;
  color: #9a9188;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .tz-type {
  position: absolute;
  left: 18px;
  right: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}
body.page-students .tz-type:not(:empty) + .tz-ph {
  visibility: hidden;
}
body.page-students .tz-mic,
body.page-students .tz-send {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s var(--ease);
}
body.page-students .tz-mic {
  background: #f3eee6;
  color: var(--body);
}
body.page-students .tz-send {
  background: #cfc6bb;
  color: #fff;
}
body.page-students .tz-mic svg,
body.page-students .tz-send svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .tz-win.t-ready .tz-send {
  background: #2a2622;
}
body.page-students .tz-win.t-press .tz-send {
  transform: scale(0.88);
}
body.page-students .tz-win.t-listen .tz-mic {
  background: #2a2622;
  color: #fff;
}
body.page-students .tz-rec {
  display: none;
  flex: none;
  align-items: center;
  gap: 3px;
  height: 22px;
}
body.page-students .tz-rec i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleY(0.25);
  animation: tz-rec 1s ease-in-out infinite;
}
body.page-students .tz-rec i:nth-child(2) {
  animation-delay: -0.2s;
}
body.page-students .tz-rec i:nth-child(3) {
  animation-delay: -0.45s;
}
body.page-students .tz-rec i:nth-child(4) {
  animation-delay: -0.7s;
}
body.page-students .tz-rec i:nth-child(5) {
  animation-delay: -0.1s;
}
body.page-students .tz-win.t-listen .tz-rec {
  display: flex;
}
body.page-students .tz-win.t-listen .tz-ph {
  visibility: hidden;
}
body.page-students .tz-win.t-listen .tz-type {
  right: 150px;
}
@keyframes tz-rec {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}

/* voice: an orb opens in the middle of the chat and the words appear under it as they are said */

body.page-students .tz-vrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-students .tz-vrow small {
  flex: none;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}
body.page-students .tz-play {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}
body.page-students .tz-play svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
body.page-students .tz-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  min-width: 0;
}
body.page-students .tz-wave i {
  flex: 1;
  max-width: 4px;
  height: 100%;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.85;
  transform: scaleY(var(--h));
}
body.page-students .tz-vm {
  display: grid;
  gap: 8px;
  min-width: 270px;
}
body.page-students .tz-tr {
  font-size: 15px;
  opacity: 0.88;
}
body.page-students .tz-say {
  margin-bottom: 10px;
  color: #2a2622;
}
body.page-students .tz-say .tz-play {
  background: #fffdf9;
  color: #2a2622;
}
body.page-students .tz-win.t-speak .tz-say .tz-wave i {
  animation: tz-bar 0.5s ease-in-out calc(var(--i) * -70ms) infinite alternate;
}
@keyframes tz-bar {
  from {
    transform: scaleY(calc(var(--h) * 0.35));
  }
  to {
    transform: scaleY(var(--h));
  }
}
body.page-students .tz-stream span {
  display: none;
}
body.page-students .tz-stream span.on {
  display: inline;
  animation: tz-word 0.3s ease both;
}
@keyframes tz-word {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* the answer in motion */
body.page-students .tz-q,
body.page-students .tz-a {
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}
body.page-students .tz-win.t-0 .tz-q,
body.page-students .tz-win.t-0 .tz-a,
body.page-students .tz-win.t-listen .tz-q,
body.page-students .tz-win.t-listen .tz-a,
body.page-students .tz-win.t-q .tz-a {
  opacity: 0;
  transform: translateY(12px);
}
body.page-students .tz-dots {
  display: none;
  gap: 5px;
  padding: 5px 2px;
}
body.page-students .tz-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(18, 24, 21, 0.35);
  animation: tz-dot 1s ease-in-out infinite;
}
body.page-students .tz-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-students .tz-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tz-dot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
body.page-students .tz-win.t-dots .tz-dots {
  display: flex;
}
body.page-students .tz-win.t-dots .tz-body {
  display: none;
}
body.page-students .tz-win.t-run .tz-body > p:first-child,
body.page-students .tz-win.t-run .tz-body > .tz-vrow {
  animation: tz-in 0.5s ease both;
}
body.page-students .tz-win.t-run .tz-tool {
  animation: tz-in 0.6s ease both 0.5s;
}
body.page-students .tz-win.t-run .tz-body li,
body.page-students .tz-win.t-run .tz-back {
  animation: tz-in 0.6s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes tz-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.page-students .tz-win.now * {
  transition: none !important;
}

@media (max-width: 1024px) {
  body.page-students .tz {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 10px;
    border-radius: 22px;
  }
  body.page-students .tz-copy {
    padding: 22px 12px 0;
  }
  body.page-students .tz-exs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 22px 0 0;
  }
  body.page-students .tz-ex {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 4px 0;
  }
  body.page-students .tz-ex > img {
    width: 36px;
    height: 36px;
  }
  body.page-students .tz-ex b {
    font-size: 16px;
    line-height: 1.3;
  }
  body.page-students .tz-note {
    display: none;
  }
  body.page-students .tz-well {
    padding: 22px 12px;
    border-radius: 14px;
  }
  body.page-students .tz-win {
    height: 560px;
    border-radius: 14px;
  }
  body.page-students .tz-top {
    padding: 12px 14px;
  }
  body.page-students .tz-scene {
    padding: 14px 12px;
    gap: 12px;
  }
  body.page-students .tz-bub {
    font-size: 15px;
  }
  body.page-students .tz-a .tz-bub {
    padding: 11px 13px 13px;
  }
  body.page-students .tz-row > img,
  body.page-students .tz-ava {
    width: 30px;
    height: 30px;
  }
  body.page-students .tz-vm {
    min-width: 0;
  }
  body.page-students .tz-in {
    margin: 0 10px 10px;
    font-size: 15px;
  }
  body.page-students .tz-tool-h span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .tz-win * {
    animation: none !important;
  }
}

/* gaps pass (10-25): hero sign-in line, share button, read-aloud "Work on this" list and the flashcard card.
   The list is the platform's PracticeFocusPanel (rows); the flashcard is FlashcardCard: Term face, speaker,
   "Tap to flip", Still learning / Know. Both in the warm student colours. */
body.page-students .st-signin {
  margin-top: 22px;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
body.page-students .st-share {
  cursor: pointer;
}
body.page-students .st-share.done {
  pointer-events: none;
}
body.page-students #daily .st-pair {
  margin-top: clamp(40px, 4.5vw, 64px);
}
body.page-students #daily .st-points {
  margin-top: clamp(48px, 5vw, 72px);
  max-width: 1190px;
}

body.page-students .stx .mini.pr {
  padding: 16px 18px;
}
body.page-students .stx .pr-bd {
  margin-top: 20px;
  padding: 10px 10px 11px;
}
body.page-students .stx .pr-bh {
  margin-bottom: 8px;
}
body.page-students .stx .pr-bh strong {
  font-size: 13px;
  color: var(--ink);
}
body.page-students .stx .pr-fx {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-students .stx .pr-fx li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid rgba(201, 120, 10, 0.28);
  background: #fdf3e1;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: #8a4b06;
}
body.page-students .stx .pr-fx li b {
  font-weight: 700;
  color: var(--orange);
}
body.page-students .stx .pr-fx li.pc {
  border-color: rgba(46, 105, 170, 0.25);
  background: #eaf1fa;
  color: #24507f;
}
body.page-students .stx .pr-fx svg {
  flex: none;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .stx .play .pr-fx li {
  animation: k-phd 14s infinite;
  animation-delay: calc(var(--i) * 0.25s);
}

body.page-students .stx .mini.fc {
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 16px;
}
body.page-students .stx .fc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .fc-n b {
  font-weight: 700;
  color: var(--ink);
}
body.page-students .stx .fc-stage {
  position: relative;
  flex: 1;
  display: flex;
  perspective: 600px;
}
body.page-students .stx .fc-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 18px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.08),
    0 10px 22px -16px rgba(120, 50, 0, 0.4);
  text-align: center;
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s;
}
body.page-students .stx .fc-card.out {
  transform: translateX(70%) rotate(8deg);
  opacity: 0;
}
body.page-students .stx .fc-card.in {
  transform: translateY(10px) scale(0.96);
  opacity: 0;
  transition: none;
}
body.page-students .stx .fc-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform-origin: 50% 50%;
}
body.page-students .stx .fc-face.flip {
  animation: fc-flip 0.22s ease-out;
}
@keyframes fc-flip {
  from {
    transform: rotateX(-70deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
body.page-students .stx .fc-face small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
body.page-students .stx .fc-face b {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
body.page-students .stx .fc-face.def b {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}
body.page-students .stx .fc-spk {
  position: absolute;
  right: 8px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(211, 84, 0, 0.1);
}
body.page-students .stx .fc-spk svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .stx .fc-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
}
body.page-students .stx .fc-hint svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .stx .fc-marks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.page-students .stx .fc-marks span {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition:
    transform 0.15s,
    background 0.2s,
    color 0.2s;
}
body.page-students .stx .fc-l {
  border: 1px solid rgba(201, 120, 10, 0.35);
  background: #fdf3e1;
  color: #8a4b06;
}
body.page-students .stx .fc-kn {
  border: 1px solid rgba(47, 133, 77, 0.35);
  background: #e8f5ec;
  color: #256b3e;
}
body.page-students .stx .fc-kn.hit {
  transform: scale(0.95);
  background: #2f854d;
  color: #fff;
}
@media (max-width: 1024px) {
  body.page-students #daily .st-points {
    margin-top: 36px;
  }
}
.page-students .st-fig figcaption {
  text-wrap: pretty;
}
body.page-students .stx .fc-top {
  gap: 10px;
}
body.page-students .stx .fc-top > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-students .stx .fc-n {
  flex: none;
}

/* round 2 (10-26): "A test on Friday". Framer tabbed showcase: the week from the real student calendar is the
   tab strip (day cells, class chips, the test chip, today's circle), and one art well below swaps the copy and
   the real card for each day. Panel r28 frame 12 on paper, wells r18, tone steps only. Then one dark band. */
body.page-students .rd-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
body.page-students .rd-head h2 {
  margin-top: 14px;
}
body.page-students .rd-head .lede {
  margin: 0 0 6px;
  font-size: 18px;
}
body.page-students .rd {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students .rd-week {
  padding: 14px 12px 4px;
}
body.page-students .rd-cal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 14px;
}
body.page-students .rd-cal b {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
body.page-students .rd-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fde2c6;
  font-size: 14px;
  font-weight: 600;
  color: #a33f00;
  transition: transform 0.3s var(--ease);
}
body.page-students .rd-left::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
body.page-students .rd-left.bump {
  transform: scale(1.06);
}
body.page-students .rd-days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) minmax(0, 1fr);
  gap: 8px;
}
body.page-students .rd-day.is-next {
  margin-left: 14px;
}
body.page-students .rd-day {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 12px 12px 14px;
  border: 0;
  border-radius: 16px;
  background: #f9eedf;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition:
    background 0.35s,
    box-shadow 0.35s;
}
body.page-students .rd-day:hover {
  background: #f6e6d1;
}
body.page-students .rd-day.is-on {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.06),
    0 12px 24px -18px rgba(120, 50, 0, 0.35);
}
body.page-students .rd-day:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
body.page-students .rd-dn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.page-students .rd-dn small {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
body.page-students .rd-dn b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.35s,
    color 0.35s;
}
body.page-students .rd-day.is-on .rd-dn b {
  background: var(--orange);
  color: #fff;
}
body.page-students .rd-day.done .rd-dn b {
  color: var(--muted);
}
/* each day's chip is its step in the study plan; the plan steps start as empty slots and land on Sunday */
body.page-students .rd-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 32px;
  padding: 0 9px 0 7px;
  border-radius: 8px;
  background: #fde9d3;
  font-size: 12.5px;
  font-weight: 600;
  color: #7a3300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .rd-chip i {
  flex: none;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #f08a3c;
}
body.page-students .rd-plan img {
  flex: none;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
body.page-students .rd-tut img {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #efdcc0;
}
/* plan chips: icon at the same 20px as Mei, and a long label wraps to two lines instead of being cut off */
body.page-students .rd-plan img {
  flex: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
body.page-students .rd-chip {
  height: auto;
  min-height: 40px;
  padding-top: 5px;
  padding-bottom: 5px;
  white-space: normal;
  line-height: 1.15;
}
/* the pale video icon reads as a smudge at 20px; Thursday is practice, so it gets the practice-test clipboard used in the plan */
body.page-students .rd-plan img[src*='lesson-video'] {
  content: url('https://assets-dev.capyodev.com/images/marketing-site/62d11de13b3f782003000f3aea6ee63d15d9ea9b9be6a45a4cf55635b9409488.webp');
}
body.page-students .rd-test {
  background: var(--orange);
  color: #fff;
}
body.page-students .rd-test i {
  background: #fff;
}
body.page-students .rd-chip[data-n] {
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
body.page-students .rd-chip[data-n]:not(.in) {
  background: transparent;
  color: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(176, 96, 30, 0.18);
}
body.page-students .rd-chip[data-n]:not(.in) > * {
  opacity: 0;
}
body.page-students .rd-chip[data-n].in > * {
  animation: rd-in 0.45s var(--ease) both;
}
@keyframes rd-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.page-students [data-road].live .rd-test {
  animation: rd-land 0.7s var(--ease) both;
}
@keyframes rd-land {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.page-students .rd-fill {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}
body.page-students .rd-fill {
  display: none;
}
@keyframes rd-fill {
  to {
    transform: scaleX(1);
  }
}

body.page-students .rd-well {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  margin-top: 12px;
  min-height: 600px;
  padding: 44px clamp(32px, 4vw, 64px);
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 70% 100% / auto 210% no-repeat;
}
body.page-students .rd-copies {
  display: grid;
}
body.page-students .rd-copy {
  grid-area: 1/1;
  align-self: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s,
    transform 0.5s var(--ease);
  pointer-events: none;
}
body.page-students .rd-copy.on {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
  pointer-events: auto;
}
body.page-students .rd-count {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  font-weight: 600;
  color: #a33f00;
}
body.page-students .rd-copy h3 {
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
body.page-students .rd-copy p {
  margin-top: 16px;
  max-width: 400px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
body.page-students .rd-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}
body.page-students .rd-scene {
  grid-area: 1/1;
  width: 100%;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition:
    opacity 0.45s,
    transform 0.55s var(--ease);
  pointer-events: none;
}
body.page-students .rd-scene.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
body.page-students .rd-scene .fcard {
  box-shadow:
    0 30px 60px -34px rgba(120, 50, 0, 0.5),
    0 8px 18px -12px rgba(120, 50, 0, 0.2);
}

/* Wednesday: review with the tutor, from the practice test's "Review with tutor" */
body.page-students .stx .mini.rvw {
  justify-content: flex-start;
  gap: 9px;
  padding: 12px 14px;
}
body.page-students .stx .rvw-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.page-students .stx .rvw-top img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #efdcc0;
}
body.page-students .stx .rvw-top span {
  display: grid;
  line-height: 1.2;
}
body.page-students .stx .rvw-top b {
  font-size: 13px;
}
body.page-students .stx .rvw-top small {
  font-size: 11px;
  color: var(--muted);
}
body.page-students .stx .rvw-tag {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .rvw-miss {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  font-weight: 600;
}
body.page-students .stx .rvw-ans {
  display: flex;
  gap: 7px;
  white-space: nowrap;
}
body.page-students .stx .rvw-ans s {
  color: var(--muted);
  font-weight: 500;
}
body.page-students .stx .rvw-ans b {
  color: var(--orange);
}
body.page-students .stx .rvw-feed {
  display: grid;
  gap: 6px;
}
body.page-students .stx .rvw-b {
  max-width: 88%;
  margin: 0;
  padding: 7px 10px;
  border-radius: 11px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--ink);
}
body.page-students .stx .rvw-b.me {
  justify-self: end;
  background: #2b2724;
  color: #fff;
}
body.page-students .stx .rvw.play .rvw-b {
  animation: rvw-in 0.45s var(--ease) both;
  animation-delay: calc(var(--k) * 1.5s + 0.4s);
}
@keyframes rvw-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Friday: the practice test result on a retry, the real result view with all three marks */
body.page-students .stx .mini.rsx {
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}
body.page-students .stx .rsx-k {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .rsx-k span + span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
}
body.page-students .stx .rsx-marks {
  display: flex;
  gap: 8px;
}
body.page-students .stx .rsx-marks i {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
}
body.page-students .stx .rsx-marks i::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 6.5px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
body.page-students .stx .rsx-sc {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
body.page-students .stx .rsx-sc b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
body.page-students .stx .rsx-was {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}
body.page-students .stx .rsx-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .stx .rsx-go img {
  width: 22px;
  height: 22px;
}
body.page-students .stx .rsx.play .rsx-marks i {
  animation: rsx-pop 0.5s var(--ease) both;
  animation-delay: calc(var(--n) * 0.18s + 0.3s);
}
body.page-students .stx .rsx.play .rsx-sc,
body.page-students .stx .rsx.play .rsx-was,
body.page-students .stx .rsx.play .rsx-go {
  animation: rvw-in 0.5s var(--ease) both;
  animation-delay: 1s;
}
body.page-students .stx .rsx.play .rsx-go {
  animation-delay: 1.3s;
}
@keyframes rsx-pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Sunday, one card in three beats: Mei asks for a quick check-in (a cursor taps Start), the check-in is only teased
   (three answers tick in, Submit, 2 of 3 with the miss flagged), then the plan for the week is built around that miss
   and scrolls down to Friday and the review. White card; colour only on day labels, buttons and checks. */
body.page-students .rd-scene .fcard.solo:has(.mini.pln) {
  padding: 0;
  background: #fff;
  border-radius: 16px;
}
body.page-students .stx .mini.pln {
  display: grid;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  color: var(--ink);
}
body.page-students .stx .pln-ask,
body.page-students .stx .chk,
body.page-students .stx .pln-set {
  position: relative;
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 18px;
  min-width: 0;
  min-height: 0;
}
body.page-students .stx .pln-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-students .stx .pln-av {
  display: flex;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fdecd8;
  overflow: hidden;
}
body.page-students .stx .pln-av img {
  flex: none;
  width: 31px;
  height: auto;
  margin-top: 4px;
}
body.page-students .stx .pln-who span {
  display: grid;
  line-height: 1.2;
}
body.page-students .stx .pln-who b {
  font-size: 14px;
}
body.page-students .stx .pln-who small {
  font-size: 11.5px;
  color: var(--muted);
}
body.page-students .stx .pln-msg {
  align-self: flex-start;
  max-width: 90%;
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 4px 13px 13px 13px;
  background: #f8f1e8;
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--ink);
}
body.page-students .stx .pln-btns {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
/* the card's generic paragraph rule outranks .pln-msg; restate its margin so the bubble and the buttons share one left edge */
body.page-students .stx .fcard .pln-msg {
  margin: 10px 0 0;
}
body.page-students .stx .fcard .pln-btns {
  margin: 10px 0 0;
  padding: 0;
}
body.page-students .stx .pln-btns span {
  position: relative;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
body.page-students .stx .pln-yes {
  background: var(--orange);
  color: #fff;
}
body.page-students .stx .pln-no {
  background: #f4ede4;
  color: var(--muted);
}
body.page-students .stx .pln-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px 2px;
}
body.page-students .stx .pln-head b {
  font-size: 15px;
  letter-spacing: -0.01em;
}
body.page-students .stx .pln-head span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
/* the cursor lives inside the button it taps, so it lands right at every size */
body.page-students .stx .pln-cur {
  position: absolute;
  right: 4px;
  bottom: -12px;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
}
body.page-students .stx .pln-cur path {
  fill: #1d1813;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
@keyframes pln-cur {
  0% {
    opacity: 0;
    transform: translate(110px, 64px);
  }
  15% {
    opacity: 1;
  }
  65% {
    opacity: 1;
    transform: none;
  }
  74% {
    transform: scale(0.84);
  }
  84%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes pln-tap {
  40% {
    transform: scale(0.92);
    box-shadow: 0 0 0 7px rgba(196, 78, 0, 0.16);
  }
  100% {
    transform: none;
    box-shadow: 0 0 0 0 rgba(196, 78, 0, 0);
  }
}
@keyframes pln-out {
  to {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes pln-pop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* beat 2: the check-in, teased with the real practice-test screens: last question answered, Submit, then the result */
body.page-students .stx .chk {
  display: grid;
  opacity: 0;
}
body.page-students .stx .mini.pln .chk {
  padding: 0;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-content: stretch;
}
body.page-students .stx .chk .pt-view {
  min-height: 0;
}
body.page-students .stx .chk-res {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
}
body.page-students .stx .chk .pt-o span {
  background: #faf5ef;
}
body.page-students .stx .chk .pt-o span.sel {
  background: #fdeedd;
}
body.page-students .stx .chk-sub {
  position: relative;
}
body.page-students .stx .chk .rz-go {
  padding: 5px 15px 5px 5px;
}
body.page-students .stx .chk .rz-go img {
  object-position: 50% 0;
}
/* beat 3: the plan list scrolls, four days in view, then glides to Friday and the review */
body.page-students .stx .pln-set {
  justify-content: flex-start;
  gap: 8px;
  opacity: 0;
}
body.page-students .stx .pln-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
}
body.page-students .stx .pln-rows {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
}
body.page-students .stx .pln-r {
  display: grid;
  grid-template-columns: 30px 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 8px;
  border-radius: 11px;
  background: #faf5ef;
}
body.page-students .stx .pln-r small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
body.page-students .stx .pln-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
body.page-students .stx .pln-ic img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
body.page-students .stx .pln-game .pln-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-students .stx .pln-mei .pln-ic {
  background: #fdecd8;
  align-items: start;
}
body.page-students .stx .pln-mei .pln-ic img {
  width: 26px;
  height: auto;
  margin-top: 3px;
}
body.page-students .stx .pln-tx {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}
body.page-students .stx .pln-tx b {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .stx .pln-tx span {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .stx .pln-ok {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}
body.page-students .stx .pln-ok::after {
  content: '';
  position: absolute;
  left: 6.5px;
  top: 3.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body.page-students .stx .pln-done {
  opacity: 0.7;
}
body.page-students .stx .pln-test {
  background: #fde3c8;
}
body.page-students .stx .pln-test .pln-ok {
  background: none;
  box-shadow: inset 0 0 0 2px var(--orange);
}
body.page-students .stx .pln-test .pln-ok::after {
  display: none;
}
/* timeline */
body.page-students .stx .pln.play .pln-msg {
  animation: rvw-in 0.45s var(--ease) both;
  animation-delay: 0.3s;
}
body.page-students .stx .pln.play .pln-btns {
  animation: rvw-in 0.45s var(--ease) both;
  animation-delay: 0.8s;
}
body.page-students .stx .pln.play .pln-yes .pln-cur {
  animation: pln-cur 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}
body.page-students .stx .pln.play .pln-yes {
  animation: pln-tap 0.5s var(--ease) 1.95s both;
}
body.page-students .stx .pln.play .pln-ask {
  animation: pln-out 0.4s var(--ease) 2.6s forwards;
}
body.page-students .stx .pln.play .chk {
  animation: rvw-in 0.4s var(--ease) 2.8s forwards;
}
body.page-students .stx .pln.play .chk-sub .pln-cur {
  animation: pln-cur 1.3s cubic-bezier(0.4, 0, 0.2, 1) 3.1s forwards;
}
body.page-students .stx .pln.play .chk-sub {
  animation: pln-tap 0.5s var(--ease) 4.05s both;
}
body.page-students .stx .pln.play .chk-run {
  animation: pln-out 0.4s var(--ease) 4.6s forwards;
}
body.page-students .stx .pln.play .chk-res {
  animation: rvw-in 0.45s var(--ease) 4.8s forwards;
}
body.page-students .stx .pln.play .chk .rz-marks i {
  animation: pln-pop 0.4s var(--ease) both;
  animation-delay: calc(var(--n) * 0.14s + 5s);
}
body.page-students .stx .pln.play .chk .rz-sc {
  animation: rvw-in 0.45s var(--ease) 5.4s forwards;
}
body.page-students .stx .pln.play .chk .rz-miss {
  animation: rvw-in 0.45s var(--ease) 5.7s forwards;
}
body.page-students .stx .pln.play .chk .rz-go {
  animation: rvw-in 0.45s var(--ease) 6s forwards;
}
body.page-students .stx .pln.play .chk {
  animation:
    rvw-in 0.4s var(--ease) 2.8s forwards,
    pln-out 0.4s var(--ease) 7.3s forwards;
}
body.page-students .stx .pln.play .pln-set {
  animation: rvw-in 0.45s var(--ease) 7.55s forwards;
}
body.page-students .stx .pln.play .pln-r {
  animation: rvw-in 0.45s var(--ease) both;
  animation-delay: calc(var(--r) * 0.28s + 7.8s);
}
body.page-students .stx .pln.play .pln-ok {
  animation: pln-pop 0.35s var(--ease) both;
  animation-delay: calc(var(--r) * 0.28s + 8.1s);
}
body.page-students .stx .pln.play .pln-rows {
  animation: pln-scroll 1.6s cubic-bezier(0.45, 0, 0.2, 1) 10.5s forwards;
}
body.page-students .stx .pln.play .pln-view {
  animation: pln-mask 0.3s linear 12s forwards;
}
@keyframes pln-scroll {
  to {
    transform: translateY(calc(-100% + 186px));
  }
}
@keyframes pln-mask {
  to {
    -webkit-mask-image: linear-gradient(transparent, #000 18%);
    mask-image: linear-gradient(transparent, #000 18%);
  }
}
@media (max-width: 600px) {
  body.page-students .stx .pln-ask,
  body.page-students .stx .chk,
  body.page-students .stx .pln-set {
    padding: 14px;
  }
  body.page-students .stx .pln-r {
    grid-template-columns: 28px 32px minmax(0, 1fr) 16px;
    gap: 8px;
  }
  body.page-students .stx .pln-ic {
    width: 32px;
    height: 32px;
  }
  body.page-students .stx .pln-head span {
    display: none;
  }
}

/* Thursday: explain it out loud; the student's reply is a voice note with its transcript */
body.page-students .stx .xpl-v {
  display: grid;
  gap: 5px;
  max-width: 84%;
}
body.page-students .stx .xpl-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
body.page-students .stx .xpl-wave i {
  width: 2.5px;
  height: 30%;
  border-radius: 2px;
  background: #ff9a52;
}
body.page-students .stx .xpl.play .xpl-wave i {
  animation: xpl-w 0.9s ease-in-out infinite alternate;
  animation-delay: calc(var(--w) * -0.13s);
}
@keyframes xpl-w {
  from {
    height: 25%;
  }
  to {
    height: 100%;
  }
}
body.page-students .stx .xpl-tr {
  line-height: 1.38;
}
body.page-students .stx .mini.xpl {
  gap: 8px;
}
body.page-students .stx .xpl .rvw-feed {
  gap: 5px;
}
body.page-students .stx .xpl .rvw-b,
body.page-students .stx .xpl .xpl-tr {
  font-size: 14px;
  line-height: 1.38;
}
body.page-students .stx .xpl .rvw-b.t {
  max-width: 92%;
}
/* Friday: plan complete, a send-off from Mei */
body.page-students .stx .mini.rdy {
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
}
body.page-students .stx .rdy-done {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 12px 10px 10px;
  border-radius: 12px;
  background: #fff;
}
body.page-students .stx .rdy-done b {
  font-size: 16px;
  letter-spacing: -0.01em;
}
body.page-students .stx .rdy-days {
  display: flex;
  gap: 12px;
}
body.page-students .stx .rdy-days span {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
body.page-students .stx .rdy-days i {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
}
body.page-students .stx .rdy-days i::after {
  content: '';
  position: absolute;
  left: 9.5px;
  top: 5.5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}
body.page-students .stx .rdy-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.page-students .stx .rdy-foot .rvw-b {
  margin: 0;
}
body.page-students .stx .rdy-coin {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  color: #a33f00;
}
body.page-students .stx .rdy-coin img {
  width: 20px;
  height: 20px;
}
body.page-students .stx .rdy.play .rdy-days i {
  animation: pln-pop 0.4s var(--ease) both;
  animation-delay: calc(var(--n) * 0.15s + 0.3s);
}
body.page-students .stx .rdy.play .rdy-foot {
  animation: rvw-in 0.45s var(--ease) 1.3s both;
}

/* Thursday: the unit's game, real cover art */
body.page-students .stx .mini.gm {
  padding: 0;
  justify-content: flex-end;
}
body.page-students .stx .gm-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-students .stx .gm-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 8px 10px 8px 14px;
  border-radius: 12px;
  background: #fff;
}
body.page-students .stx .gm-bar span:first-child {
  display: grid;
  line-height: 1.25;
}
body.page-students .stx .gm-bar b {
  font-size: 14px;
}
body.page-students .stx .gm-bar small {
  font-size: 11.5px;
  color: var(--muted);
}
body.page-students .stx .gm-coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #fdecd8;
  font-size: 13px;
  font-weight: 700;
  color: #a33f00;
}
body.page-students .stx .gm-coin img {
  width: 22px;
  height: 22px;
}
body.page-students .stx .gm.play .gm-coin {
  animation: pln-pop 0.45s var(--ease) 1s both;
}

/* Test week: only the date cards and the flashcard card are white; every other surface keeps its own colour. */
body.page-students .rd-day {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #f3e8da;
}
body.page-students .rd-day:hover {
  background: #fffaf4;
}
body.page-students .rd-day.is-on {
  background: #fff;
  box-shadow:
    0 1px 2px rgba(120, 50, 0, 0.06),
    0 12px 24px -18px rgba(120, 50, 0, 0.35);
}
body.page-students .rd-well {
  padding-inline: clamp(24px, 3vw, 48px);
}
@media (min-width: 1025px) {
  body.page-students .rd-well {
    min-height: 0;
    padding-block: 28px 36px;
  }
  body.page-students .rd-stage {
    min-height: 380px;
  }
}
body.page-students .rd-scene .fcard.solo:has(.mini.fc) {
  padding: 0;
  background: #fff;
  border-radius: 16px;
}
body.page-students [data-road] .stx .mini.fc {
  background: #fff;
  border-radius: 16px;
}

/* the one dark band: games and coins */
body.page-students .st-band {
  padding: clamp(96px, 9vw, 136px) 0;
  background: #1f1813;
  color: #e9dfd3;
}
body.page-students .st-band > .wrap {
  width: min(1190px, 100% - 2 * var(--gutter));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
body.page-students .st-band h2 {
  color: #fff8ef;
}
body.page-students .st-band h2 em {
  font-style: normal;
  color: #ff8a3d;
}
body.page-students .st-band .label {
  color: #ff8a3d;
}
body.page-students .st-band .lede {
  color: #c9bcae;
}
body.page-students .st-band .lg {
  margin: 0;
  gap: 16px;
}
body.page-students .st-band .lg-card {
  padding: 10px;
  border-radius: 28px;
  background: #2b221b;
}
body.page-students .st-band .lg-media {
  border-radius: 18px;
}
body.page-students .st-band .lg-text {
  padding: 24px 22px 18px;
  background: transparent;
}
body.page-students .st-band .lg-text h3 {
  color: #fff8ef;
}
body.page-students .st-band .lg-text p {
  color: #c9bcae;
}
body.page-students .st-band + section {
  padding-top: clamp(96px, 9vw, 136px);
}

@media (max-width: 1024px) {
  body.page-students .rd-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.page-students .rd {
    padding: 8px;
    border-radius: 22px;
  }
  body.page-students .rd-week {
    padding: 10px 4px 2px;
  }
  body.page-students .rd-cal {
    padding: 0 6px 10px;
  }
  body.page-students .rd-cal b {
    font-size: 16px;
  }
  body.page-students .rd-days {
    gap: 5px;
  }
  body.page-students .rd-days {
    gap: 4px;
  }
  body.page-students .rd-day.is-next {
    margin-left: 6px;
  }
  body.page-students .rd-dn small {
    letter-spacing: 0.02em;
  }
  body.page-students .rd-day {
    padding: 8px 6px 12px;
    gap: 6px;
    border-radius: 12px;
  }
  body.page-students .rd-dn {
    flex-direction: column;
    gap: 4px;
  }
  body.page-students .rd-dn small {
    font-size: 10.5px;
  }
  body.page-students .rd-dn b {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  body.page-students .rd-chip {
    display: none;
  }
  body.page-students .rd-day.is-test {
    background: #fde0c4;
  }
  body.page-students .rd-fill {
    left: 6px;
    right: 6px;
    bottom: 4px;
  }
  body.page-students .rd-well {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 24px 12px 28px;
    border-radius: 14px;
    gap: 18px;
  }
  body.page-students .rd-copy {
    padding: 0 8px;
  }
  body.page-students .rd-copy h3 {
    margin-top: 12px;
    font-size: 26px;
  }
  body.page-students .rd-copy p {
    font-size: 16px;
    margin-top: 10px;
  }
  body.page-students .rd-stage {
    min-height: 0;
  }
  body.page-students .st-band .lg {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 1025px) {
  body.page-students .rd-well {
    min-height: 470px;
    padding: 36px clamp(32px, 4vw, 64px);
  }
  body.page-students .rd-stage {
    min-height: 400px;
  }
}
body.page-students .rd-count {
  padding: 0;
  background: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
body.page-students .rd-stage {
  grid-template-columns: minmax(0, 1fr);
}

/* hero tools: a short caption under each name */
body.page-students .sx-t {
  display: grid;
  gap: 1px;
  min-width: 0;
}
body.page-students .sx-f small {
  font-size: 11.5px;
  line-height: 1.25;
  color: #7a7470;
  transition: color 0.4s ease;
}
body.page-students .sx-f.on small {
  color: #a8541c;
}
body.page-students .sx-f.now small {
  color: rgba(255, 255, 255, 0.88);
}
body.page-students .sx-grid {
  gap: 12px 14px;
}
body.page-students .sx-f {
  align-items: flex-start;
  padding: 9px 10px 9px 8px;
}
@media (max-width: 1024px) {
  body.page-students .sx-t {
    gap: 3px;
  }
  body.page-students .sx-f {
    align-items: center;
  }
  body.page-students .sx-f small {
    font-size: 10.5px;
  }
}

/* progress: three stacked cards from the real grades screen (every class, work to fix, term goal) on the brush wash.
   Classes renamed to school subjects; the next-unit row is the lessons roadmap's locked unit. */
body.page-students .pg-well {
  margin-top: clamp(28px, 3vw, 44px);
}
body.page-students .pg-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  align-items: stretch;
}
body.page-students .pg-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  box-shadow: 0 24px 50px -34px rgba(120, 50, 0, 0.45);
}
body.page-students .pg-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
body.page-students .pg-card header img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
body.page-students .pg-card header b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
body.page-students .pg-card header small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #6b6b6b;
}
body.page-students .pg-cls {
  display: grid;
  gap: 8px;
}
body.page-students .pg-cl {
  display: grid;
  grid-template-columns: 24px 62px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f4f0;
}
body.page-students .pg-cl img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
body.page-students .pg-cl b {
  font-weight: 500;
}
body.page-students .pg-cl em {
  font-style: normal;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
body.page-students .pg-tr,
body.page-students .pg-gt {
  display: block;
  position: relative;
  height: 8px;
  border-radius: 9px;
  background: #e8e3dd;
}
body.page-students .pg-tr i,
body.page-students .pg-gt i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: #2b2724;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.3s var(--ease) calc(var(--k, 0) * 0.12s + 0.3s);
}
body.page-students .pg-cl.low .pg-tr i {
  background: #d35400;
}
body.page-students .pg-cl.low em {
  color: #a63f00;
}
body.page-students .pg.play .pg-tr i,
body.page-students .pg.play .pg-gt i {
  transform: none;
}
body.page-students .pg-list {
  display: grid;
  gap: 10px;
}
body.page-students .pg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f4f0;
}
body.page-students .pg-row b {
  display: block;
  font-weight: 500;
}
body.page-students .pg-row small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: #6b6b6b;
}
body.page-students .pg-card em {
  flex: none;
  padding: 4px 9px;
  border-radius: 7px;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
}
body.page-students .pg-cl em {
  padding: 0;
  border-radius: 0;
  color: #1a1a1a;
}
body.page-students .pg-card em.warn {
  background: #fdf3d0;
  color: #8a5a00;
}
body.page-students .pg-card em.miss {
  background: #fde4e1;
  color: #a3261a;
}
body.page-students .pg-next {
  justify-content: flex-start;
  margin-top: auto;
  background: #fdf1e6;
}
body.page-students .pg-next > span:nth-child(2) {
  flex: 1;
}
body.page-students .pg-next em {
  background: #fff;
  color: #a63f00;
}
body.page-students .pg-lock {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
}
body.page-students .pg-lock img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
body.page-students .pg-big {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 26px;
}
body.page-students .pg-big b {
  font-size: clamp(56px, 5.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #d35400;
}
body.page-students .pg-big small {
  font-size: 14px;
  color: #6b6b6b;
}
body.page-students .pg-gt {
  height: 12px;
  margin-top: auto;
}
body.page-students .pg-gt i {
  background: #2b2724;
}
body.page-students .pg-pin {
  position: absolute;
  right: 15%;
  top: -5px;
  width: 3px;
  height: 22px;
  border-radius: 3px;
  background: #d35400;
}
body.page-students .pg-gs {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #6b6b6b;
}
body.page-students .pg-gs b {
  color: #1a1a1a;
  font-weight: 600;
}
body.page-students .pg-gn {
  margin: 22px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #fdf1e6;
  color: #6b4a2a;
  line-height: 1.45;
}
body.page-students .pg-row,
body.page-students .pg-gn {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s var(--ease);
  transition-delay: calc(var(--k, 3) * 0.2s + 0.9s);
}
body.page-students .pg.play .pg-row,
body.page-students .pg.play .pg-gn {
  opacity: 1;
  transform: none;
}
body.page-students .pg-coin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: clamp(16px, 1.8vw, 24px) 0 0;
  font-size: 16px;
  color: #4a2a10;
}
body.page-students .pg-coin img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
body.page-students .pg-coin b {
  font-weight: 600;
}
@media (max-width: 1024px) {
  body.page-students .pg-stack {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-students .pg-card {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .pg-tr i,
  body.page-students .pg-gt i,
  body.page-students .pg-row,
  body.page-students .pg-gn {
    transition: none;
  }
}

/* a real student: PLACEHOLDER until Max has a real quote and a photo the family agreed to. Cut if none. */
body.page-students .sq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  margin: 0;
}
body.page-students .sq-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4/5;
  border-radius: 28px;
  background: #f3ece4;
  outline: 2px dashed #d9c6b2;
  outline-offset: -14px;
  color: #a8927c;
  font-size: 15px;
  font-weight: 600;
}
body.page-students .sq-q {
  margin: 20px 0 0;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #a8927c;
}
body.page-students .sq-by {
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}
body.page-students .sq-by b {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 1024px) {
  body.page-students .sq {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  body.page-students .sq-photo {
    aspect-ratio: 4/3;
  }
}

@media (min-width: 1025px) {
  body.page-students .sx-grid {
    grid-auto-rows: 64px;
  }
  body.page-students .sx-f {
    height: 64px;
    align-items: center;
    padding: 0 12px 0 10px;
  }
}

/* Class hub: three cards (files, the to-do list, the reminder). One 9s loop while on screen: the lab report lights up
   as due, gets handed in and the To do count drops; the reminders arrive in the third card. Transforms and opacity only. */
body.page-students .hb {
  padding: 0;
}
body.page-students .hb-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}
body.page-students .hb-head .lede {
  max-width: 480px;
}
body.page-students .hb-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 3.4vw, 48px);
}
body.page-students .hb-card {
  padding: 12px 12px 26px;
  border-radius: 24px;
  background: var(--paper);
}
body.page-students .hb-card h3 {
  margin: 22px 14px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students .hb-card p {
  margin: 5px 14px 0;
  max-width: 340px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
body.page-students .hb-well {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 372px;
  padding: 24px 22px;
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 70% 100% / auto 230% no-repeat;
  overflow: hidden;
}
body.page-students .hb-win {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 16px;
  background: #fffdf9;
  box-shadow: 0 24px 54px -22px rgba(120, 50, 0, 0.34);
}
body.page-students .hb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px;
}
body.page-students .hb-top span {
  display: grid;
  line-height: 1.25;
}
body.page-students .hb-top b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
body.page-students .hb-top small {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-students .hb-files {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 6px;
  padding: 6px 14px 12px;
}
body.page-students .hb-files span {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #4f4f4f;
  white-space: nowrap;
}
body.page-students .hb-files i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #fdf1e6;
}
body.page-students .hb-files img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
body.page-students .hb-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 14px 10px;
}
body.page-students .hb-tabs span {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6d6761;
  background: #faf5ef;
  white-space: nowrap;
}
body.page-students .hb-tabs .on {
  background: #8a3a00;
  color: #fff;
}
body.page-students .hb-n {
  position: relative;
  display: inline-grid;
  margin-left: 5px;
  padding: 0 6px;
  border-radius: 99px;
  background: #fff;
  color: #8a3a00;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
body.page-students .hb-n i {
  grid-area: 1/1;
  font-style: normal;
}
body.page-students .hb-n .b {
  opacity: 0;
}
body.page-students .hb-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 14px;
  display: grid;
  gap: 6px;
}
body.page-students .hb-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 9px;
  border-radius: 12px;
  background: #faf5ef;
}
body.page-students .hb-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
}
body.page-students .hb-ic img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
body.page-students .hb-t {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.3;
}
body.page-students .hb-t small {
  font-size: 11px;
  color: #7a7470;
}
body.page-students .hb-t b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .hb-due {
  display: grid;
  font-size: 12px;
  font-weight: 600;
  color: #6d6761;
  white-space: nowrap;
  text-align: right;
}
body.page-students .hb-due .a,
body.page-students .hb-due .b {
  grid-area: 1/1;
}
body.page-students .hb-due .b {
  opacity: 0;
  color: #a63f00;
}
body.page-students .hb-done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #fdebdc;
  color: #a63f00;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
}
body.page-students .hb-done svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #a63f00;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .hb-win-note {
  background: none;
  box-shadow: none;
  display: grid;
  gap: 12px;
}
body.page-students .hb-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 18px 40px -16px rgba(120, 50, 0, 0.45);
  opacity: 0;
  transform: translateY(-14px);
}
body.page-students .hb-note img {
  flex: none;
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #fdf1e6;
  padding: 4px;
}
body.page-students .hb-note span {
  display: grid;
  line-height: 1.3;
}
body.page-students .hb-note small {
  font-size: 11.5px;
  font-weight: 600;
  color: #a63f00;
}
body.page-students .hb-note b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .hb.play .hb-note {
  animation: hb-note 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-note2 {
  animation-name: hb-note2;
}
body.page-students .hb.play .hb-hit {
  animation: hb-hit 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-hit .hb-due .a {
  animation: hb-a 9s linear infinite;
}
body.page-students .hb.play .hb-hit .hb-due .b {
  animation: hb-b 9s linear infinite;
}
body.page-students .hb.play .hb-done {
  animation: hb-done 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-n .a {
  animation: hb-a2 9s linear infinite;
}
body.page-students .hb.play .hb-n .b {
  animation: hb-b2 9s linear infinite;
}
@keyframes hb-note {
  0%,
  10% {
    opacity: 0;
    transform: translateY(-14px);
  }
  16%,
  80% {
    opacity: 1;
    transform: none;
  }
  88%,
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes hb-note2 {
  0%,
  34% {
    opacity: 0;
    transform: translateY(-14px);
  }
  40%,
  80% {
    opacity: 1;
    transform: none;
  }
  88%,
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}
@keyframes hb-hit {
  0%,
  24% {
    background: #faf5ef;
    transform: none;
  }
  30%,
  56% {
    background: #fdebdc;
    transform: scale(1.015);
  }
  62%,
  100% {
    background: #faf5ef;
    transform: none;
  }
}
@keyframes hb-a {
  0%,
  24% {
    opacity: 1;
  }
  28%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes hb-b {
  0%,
  24% {
    opacity: 0;
  }
  28%,
  56% {
    opacity: 1;
  }
  60%,
  100% {
    opacity: 0;
  }
}
@keyframes hb-done {
  0%,
  58% {
    opacity: 0;
  }
  64%,
  86% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}
@keyframes hb-a2 {
  0%,
  66% {
    opacity: 1;
  }
  70%,
  92% {
    opacity: 0;
  }
  96%,
  100% {
    opacity: 1;
  }
}
@keyframes hb-b2 {
  0%,
  66% {
    opacity: 0;
  }
  70%,
  92% {
    opacity: 1;
  }
  96%,
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .hb.play * {
    animation: none !important;
  }
  body.page-students .hb-note {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1024px) {
  body.page-students .hb-head {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }
  body.page-students .hb-cards {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

body.page-students .hb-files i {
  transition: none;
}
body.page-students .hb-find {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #faf5ef;
  font-size: 13px;
  color: var(--ink);
}
body.page-students .hb-find svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--orange-hi);
  stroke-width: 2;
  stroke-linecap: round;
}
body.page-students .hb-q {
  display: block;
  white-space: nowrap;
  overflow: hidden;
}
body.page-students .hb-q span {
  display: block;
  clip-path: inset(0 100% 0 0);
}
body.page-students .hb.play .hb-q span {
  animation: hb-type 9s steps(34, end) infinite;
}
body.page-students .hb.play .hb-target i {
  animation: hb-find 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-target {
  animation: hb-lift 9s var(--ease) infinite;
}
@keyframes hb-type {
  0%,
  8% {
    clip-path: inset(0 100% 0 0);
  }
  38%,
  90% {
    clip-path: inset(0 0 0 0);
  }
  96%,
  100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes hb-find {
  0%,
  42% {
    background: #fdf1e6;
    box-shadow: none;
  }
  46%,
  56% {
    background: #fdebdc;
    box-shadow:
      0 0 0 2px var(--orange-hi),
      0 14px 22px -12px rgba(150, 55, 0, 0.6);
  }
  62%,
  100% {
    background: #fdf1e6;
    box-shadow: none;
  }
}
@keyframes hb-lift {
  0%,
  42% {
    transform: none;
  }
  46%,
  56% {
    transform: translateY(-4px);
  }
  62%,
  100% {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .hb-q span {
    clip-path: none;
  }
}
body.page-students .hb-find img {
  flex: none;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
body.page-students .hb-open {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 66px;
  bottom: 74px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
}
body.page-students .hb-res {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 18px 36px -16px rgba(120, 50, 0, 0.4),
    0 0 0 1px rgba(211, 84, 0, 0.14);
}
body.page-students .hb-res i {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fdf1e6;
}
body.page-students .hb-res img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
body.page-students .hb-res span {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.3;
}
body.page-students .hb-res b {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.012em;
}
body.page-students .hb-res small {
  font-size: 12px;
  color: #7a7470;
}
body.page-students .hb-res em {
  flex: none;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--orange-hi);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
body.page-students .hb.play .hb-open {
  animation: hb-open 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-win-files .hb-files {
  animation: hb-files 9s var(--ease) infinite;
}
@keyframes hb-open {
  0%,
  54% {
    opacity: 0;
    transform: translateY(10px);
  }
  62%,
  88% {
    opacity: 1;
    transform: none;
  }
  94%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes hb-files {
  0%,
  50% {
    opacity: 1;
  }
  58%,
  88% {
    opacity: 0;
  }
  94%,
  100% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .hb-open {
    display: none;
  }
}

/* Practice tests: one wide tutor window. Chat left, the test sheet right, both on the tutor's own surfaces (cream window, sand bubble colour) so nothing changes colour mid-story. */
body.page-students .pq-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 3.6vw, 52px);
  text-align: center;
}
body.page-students .pq-head h2 {
  margin-top: 14px;
  text-wrap: balance;
}
body.page-students .pq-head .lede {
  margin: 20px auto 0;
  max-width: 34em;
}
body.page-students .pq-frame {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students .pq-well {
  display: grid;
  place-items: center;
  padding: clamp(24px, 3.4vw, 48px) clamp(16px, 4vw, 64px);
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 70% 100% / auto 210% no-repeat;
}
body.page-students .pq-win {
  max-width: 1000px;
}
body.page-students .pq-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  height: 410px;
}
body.page-students .pq-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.page-students .pq-chat {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 20px);
  mask-image: linear-gradient(#0000, #000 20px);
}
body.page-students .pq-log {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 12px;
  transition: transform 0.5s var(--ease);
}
body.page-students .pq-log .tz-row {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.5s var(--ease);
}
body.page-students .pq-log .tz-row.in {
  opacity: 1;
  transform: none;
}
body.page-students .pq-log .tz-bub {
  font-size: 15px;
  padding: 10px 14px;
}
body.page-students .pq-log .tz-bub p {
  margin: 0;
}
body.page-students .pq-log .tz-a .tz-bub {
  flex: none;
  max-width: 86%;
}
body.page-students .pq-pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
body.page-students .pq-pill.press {
  transform: scale(0.94);
}
body.page-students .pq-win .tz-in {
  margin: 0 14px 14px;
}
body.page-students .pq-pane {
  position: relative;
  margin: 14px 14px 14px 0;
  border-radius: 14px;
  background: #f3eee6;
  overflow: hidden;
}
body.page-students .pq-res,
body.page-students .pq-test {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s 0.4s;
}
body.page-students .pq-win.s-res .pq-res,
body.page-students .pq-win.s-test .pq-test {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}
body.page-students .pq-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .pq-hint {
  color: var(--orange);
}
body.page-students .pq-sc {
  margin-top: 22px;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
body.page-students .pq-rs {
  margin-top: 8px;
  font-size: 16px;
  color: var(--muted);
}
body.page-students .pq-marks {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin-top: 24px;
}
body.page-students .pq-marks i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #3f7d2a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
body.page-students .pq-marks i.no {
  background: #b3402a;
}
body.page-students .pq-miss {
  margin-top: auto;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fffdf9;
}
body.page-students .pq-miss span {
  font-size: 13px;
  color: var(--muted);
}
body.page-students .pq-miss b {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .pq-seg {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}
body.page-students .pq-seg i {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.1);
  transition: background 0.4s ease;
}
body.page-students .pq-seg i.on {
  background: var(--orange);
}
body.page-students .pq-q {
  margin: 20px 0 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-students .pq-o {
  display: grid;
  gap: 8px;
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-students .pq-test.sw .pq-q,
body.page-students .pq-test.sw .pq-o {
  opacity: 0;
  transform: translateX(14px);
}
body.page-students .pq-o span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fffdf9;
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 16px;
  color: var(--ink);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pq-o span::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(18, 24, 21, 0.25);
  box-sizing: border-box;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pq-o span[data-tag]::after {
  content: attr(data-tag);
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 600;
  color: #b3402a;
}
body.page-students .pq-o span.sel {
  background: #fdeedd;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .pq-o span.sel::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pq-o span.ok {
  background: #e9f3e2;
  box-shadow: inset 0 0 0 1.5px #3f7d2a;
}
body.page-students .pq-o span.ok::before {
  border-color: #3f7d2a;
  background: #3f7d2a;
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pq-o span.no {
  background: #fbe6e0;
  box-shadow: inset 0 0 0 1.5px #b3402a;
}
body.page-students .pq-o span.no::before {
  border-color: #b3402a;
  background: #b3402a;
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pq-o.od span::before {
  display: grid;
  place-items: center;
  border-radius: 8px;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-color: rgba(18, 24, 21, 0.2);
}
body.page-students .pq-o.od span.sel::before {
  content: attr(data-n);
  box-shadow: none;
}
body.page-students .pq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}
body.page-students .pq-chk {
  padding: 9px 24px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.4;
  transition:
    opacity 0.3s ease,
    transform 0.15s ease;
}
body.page-students .pq-chk.on {
  opacity: 1;
}
body.page-students .pq-test.marked .pq-chk {
  visibility: hidden;
}
body.page-students .pq-pts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 56px);
}
body.page-students .pq-pt {
  display: grid;
  gap: 6px;
  align-content: start;
  opacity: 0.45;
  transition: opacity 0.45s ease;
}
body.page-students .pq-pt.on {
  opacity: 1;
}
body.page-students .pq-pt img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 6px;
  transition: transform 0.5s var(--ease);
}
body.page-students .pq-pt.on img {
  transform: scale(1.08);
}
body.page-students .pq-pt b {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students .pq-pt span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
@media (max-width: 1024px) {
  body.page-students .pq-main {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  body.page-students .pq-col {
    height: 340px;
  }
  body.page-students .pq-pane {
    height: 350px;
    margin: 0 10px 10px;
  }
  body.page-students .pq-res,
  body.page-students .pq-test {
    padding: 18px;
  }
  body.page-students .pq-sc {
    font-size: 56px;
  }
  body.page-students .pq-pts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-students .pq-frame {
    padding: 8px;
    border-radius: 22px;
  }
  body.page-students .pq-win .tz-in {
    margin: 0 10px 10px;
  }
  body.page-students .pq-log {
    padding: 14px 12px 10px;
  }
  body.page-students .pq-win {
    height: auto;
  }
  body.page-students .pq-q {
    font-size: 20px;
    margin: 16px 0 12px;
  }
  body.page-students .pq-pt {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  body.page-students .pq-pts {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Mei's photo is a tall half-body portrait: in every round avatar show the top of it, zoomed out so the whole head and headband fit */
body.page-students img.mei-portrait {
  object-fit: cover;
  object-position: 50% 0;
  padding: 3px 3px 0;
  box-sizing: border-box;
}
body.page-students .tz-top > img.mei-portrait {
  padding: 4px 4px 0;
}
body.page-students .stx .pln-av img,
body.page-students .stx .pln-mei .pln-ic img,
body.page-students .rd-chip img {
  padding: 0;
}
/* the Friday test chip gets a Capyo icon like the other days instead of the bare bar */
body.page-students .rd-test i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff3e4 url('https://assets-dev.capyodev.com/images/marketing-site/a4793d567ea87eef679304c37930e31cbed556e72000511495c909af9a1beb83.webp') 50% 60%/86% no-repeat;
}
/* Friday and next Monday are messages from Mei, in the same card as Sunday's check-in */
body.page-students .stx .pln-who .pln-tag {
  display: block;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8f1e8;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .stx .pln.fri.play .pln-ask {
  animation: none;
}
body.page-students .stx .fri-week {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8f1e8;
}
body.page-students .stx .fri-week .rdy-days {
  gap: 10px;
}
body.page-students .stx .fri-week .rdy-days i {
  width: 24px;
  height: 24px;
}
body.page-students .stx .fri-week .rdy-days i::after {
  left: 8.5px;
  top: 5px;
}
body.page-students .stx .pln.fri.play .fri-week {
  animation: rvw-in 0.45s var(--ease) 0.7s both;
}
body.page-students .stx .pln.fri.play .rdy-days i {
  animation: pln-pop 0.4s var(--ease) both;
  animation-delay: calc(var(--n) * 0.15s + 1.1s);
}
body.page-students .stx .pln.fri.play .rdy-coin {
  animation: pln-pop 0.45s var(--ease) 2s both;
}
body.page-students .stx .tbk-rv {
  position: relative;
  grid-area: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px 18px;
  min-width: 0;
  opacity: 0;
}
body.page-students .stx .tbk .rvw-miss {
  background: #f8f1e8;
}
body.page-students .stx .tbk .rvw-b.t {
  background: #f8f1e8;
}
body.page-students .stx .pln.tbk.play .tbk-rv {
  animation: rvw-in 0.45s var(--ease) 2.8s forwards;
}
body.page-students .stx .pln.tbk.play .tbk-rv .rvw-b {
  animation: rvw-in 0.45s var(--ease) both;
  animation-delay: calc(var(--k) * 1.5s + 3.4s);
}
body.page-students .stx .fcard .tbk .rvw-b {
  margin: 0;
}
@media (max-width: 600px) {
  body.page-students .stx .fri-week {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  body.page-students .stx .fri-week .rdy-days {
    gap: 7px;
  }
}

/* Practice tests flow (Tprc1): tutor conversation, silent test, results + review */
/* Practice tests: one wide window, tutor chat left, the test right */
body.page-students .pf-head {
  max-width: 700px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}
body.page-students .pf-head h2 {
  margin-top: 14px;
  text-wrap: balance;
}
body.page-students .pf-head .lede {
  margin: 20px auto 0;
  max-width: 34em;
}
body.page-students .pf-frame {
  padding: 12px;
  border-radius: 28px;
  background: var(--paper);
}
body.page-students .pf-well {
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 64px);
  border-radius: 18px;
  background: #fbe4c8 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') 70% 100% / auto 210% no-repeat;
}
body.page-students .pf-win {
  max-width: 1000px;
}
body.page-students .pf-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  height: 440px;
}
body.page-students .pf-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.page-students .pf-chat {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#0000, #000 28px);
  mask-image: linear-gradient(#0000, #000 28px);
}
body.page-students .pf-log {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 12px;
  transition: transform 0.5s var(--ease);
}
body.page-students .pf-log .tz-row {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.5s var(--ease);
}
body.page-students .pf-log .tz-row.in {
  opacity: 1;
  transform: none;
}
body.page-students .pf-log .tz-bub {
  font-size: 15px;
  padding: 10px 14px;
}
body.page-students .pf-log .tz-bub p {
  margin: 0;
}
body.page-students .pf-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
body.page-students .pf-chips span {
  padding: 6px 16px;
  border-radius: 999px;
  background: #fffdf9;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1.5px transparent;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pf-chips span.sel {
  background: #fdeedd;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .pf-pill {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.15s ease;
}
body.page-students .pf-pill.press {
  transform: scale(0.94);
}
body.page-students .pf-win .tz-in {
  margin: 0 14px 14px;
}
body.page-students .pf-win.t-ready .tz-send {
  background: #2a2622;
}
body.page-students .pf-win.t-press .tz-send {
  transform: scale(0.88);
}
body.page-students .pf-pane {
  position: relative;
  margin: 0 14px 14px 0;
  border-radius: 14px;
  background: #f7efe3;
  overflow: hidden;
}
body.page-students .pf-ready,
body.page-students .pf-test,
body.page-students .pf-res {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0s 0.4s;
}
body.page-students .pf-win.s-ready .pf-ready,
body.page-students .pf-win.s-test .pf-test,
body.page-students .pf-win.s-res .pf-res {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}
body.page-students .pf-k {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
body.page-students .pf-rt {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  transition: opacity 0.4s ease;
}
body.page-students .pf-rt:not(.set) {
  color: rgba(18, 24, 21, 0.35);
}
body.page-students .pf-rs {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
body.page-students .pf-rl {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
body.page-students .pf-rl li {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}
body.page-students .pf-rl li.in {
  opacity: 1;
  transform: none;
}
body.page-students .pf-rl i,
body.page-students .pf-marks i {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}
body.page-students .pf-go,
body.page-students .pf-chk {
  margin-top: auto;
  align-self: flex-end;
  padding: 9px 24px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.4;
  transition:
    opacity 0.3s ease,
    transform 0.15s ease;
}
body.page-students .pf-go.on,
body.page-students .pf-chk.on {
  opacity: 1;
}
body.page-students .pf-go.press,
body.page-students .pf-chk.press {
  transform: scale(0.94);
}
body.page-students .pf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .pf-hint {
  color: var(--orange);
}
body.page-students .pf-seg {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
body.page-students .pf-seg i {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(18, 24, 21, 0.1);
  transition: background 0.4s ease;
}
body.page-students .pf-seg i.on {
  background: var(--orange);
}
body.page-students .pf-q {
  margin: 20px 0 14px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--ink);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-students .pf-o {
  display: grid;
  gap: 8px;
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--ease);
}
body.page-students .pf-test.sw .pf-q,
body.page-students .pf-test.sw .pf-o {
  opacity: 0;
  transform: translateX(14px);
}
body.page-students .pf-sc {
  margin-top: 10px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
body.page-students .pf-marks {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
body.page-students .pf-marks i {
  width: 34px;
  height: 34px;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
body.page-students .pf-marks i.ok {
  background: #3f7d2a;
}
body.page-students .pf-marks i.no {
  background: #b3402a;
}
body.page-students .pf-win.s-res .pf-marks i {
  opacity: 1;
  transform: none;
}
body.page-students .pf-win.s-res .pf-marks i:nth-child(2) {
  transition-delay: 0.12s;
}
body.page-students .pf-win.s-res .pf-marks i:nth-child(3) {
  transition-delay: 0.24s;
}
body.page-students .pf-win.s-res .pf-marks i:nth-child(4) {
  transition-delay: 0.36s;
}
body.page-students .pf-win.s-res .pf-marks i:nth-child(5) {
  transition-delay: 0.48s;
}
body.page-students .pf-win.s-res .pf-marks i:nth-child(6) {
  transition-delay: 0.6s;
}
body.page-students .pf-miss {
  margin-top: auto;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
}
body.page-students .pf-miss span {
  font-size: 13px;
  color: var(--muted);
}
body.page-students .pf-miss b {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .pf-pts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 56px);
}
body.page-students .pf-pt {
  display: grid;
  gap: 6px;
  align-content: start;
}
body.page-students .pf-pt img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 6px;
}
body.page-students .pf-pt b {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students .pf-pt span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}
body.page-students .pf-o span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 16px;
  color: var(--ink);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pf-o span::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(18, 24, 21, 0.25);
  box-sizing: border-box;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pf-o span.sel {
  background: #fdeedd;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .pf-o span.sel::before {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pf-o.tf {
  grid-template-columns: 1fr 1fr;
}
body.page-students .pf-o.tf span {
  justify-content: center;
  height: 56px;
  font-size: 18px;
  font-weight: 600;
}
body.page-students .pf-o.tf span::before {
  display: none;
}
body.page-students .pf-o.ck span::before {
  border-radius: 6px;
}
body.page-students .pf-o.ck span.sel::before {
  box-shadow: none;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
body.page-students .pf-o.od span::before {
  display: grid;
  place-items: center;
  content: '';
  border-radius: 8px;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border-color: rgba(18, 24, 21, 0.2);
}
body.page-students .pf-o.od span.sel::before {
  content: attr(data-n);
  box-shadow: none;
}
body.page-students .pf-o span.ok {
  background: #e9f3e2;
  box-shadow: inset 0 0 0 1.5px #3f7d2a;
}
body.page-students .pf-o span.ok::before {
  border-color: #3f7d2a;
  background: #3f7d2a;
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pf-o.ck span.ok::before {
  box-shadow: none;
  background: #3f7d2a
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
body.page-students .pf-o.od span.ok::before {
  box-shadow: none;
  background: #3f7d2a;
}
body.page-students .pf-o span.no {
  background: #fbe6e0;
  box-shadow: inset 0 0 0 1.5px #b3402a;
}
body.page-students .pf-o span.no::before {
  border-color: #b3402a;
  background: #b3402a;
  box-shadow: inset 0 0 0 2.5px #fff;
}
body.page-students .pf-o.ck span.no::before,
body.page-students .pf-o.od span.no::before {
  box-shadow: none;
  background-color: #b3402a;
}
body.page-students .pf-o span {
  height: 52px;
  font-size: 17px;
}
body.page-students .pf-o.tf span {
  height: 104px;
  font-size: 22px;
}
body.page-students .pf-o span {
  height: 46px;
  font-size: 16px;
}
body.page-students .pf-o.tf span {
  height: 90px;
  font-size: 22px;
}
body.page-students .pf-box {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 16px;
  border-radius: 11px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(18, 24, 21, 0.14);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}
body.page-students .pf-box.long {
  display: block;
  min-height: 112px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}
body.page-students .pf-box.on {
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .pf-box.on::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--orange);
  animation: pt-caret 1s steps(1) infinite;
}
body.page-students .pf-box.ok {
  background: #e9f3e2;
  box-shadow: inset 0 0 0 1.5px #3f7d2a;
}
body.page-students .pf-box.ok::after,
body.page-students .pf-box.part::after {
  display: none;
}
body.page-students .pf-box.part {
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .pf-sub {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
body.page-students .pf-o span {
  height: 44px;
  font-size: 16px;
}
body.page-students .pf-o.tf span {
  height: 84px;
  font-size: 22px;
}
body.page-students .pf-box {
  min-height: 56px;
}
body.page-students .pf-box.long {
  min-height: 120px;
}
@media (max-width: 1024px) {
  body.page-students .pf-main {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  body.page-students .pf-col {
    height: 360px;
  }
  body.page-students .pf-pane {
    height: 430px;
    margin: 0 10px 10px;
  }
  body.page-students .pf-pts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.page-students .pf-frame {
    padding: 8px;
    border-radius: 22px;
  }
}
@media (max-width: 600px) {
  body.page-students .pf-pts {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-students .pf-pane {
    height: 450px;
  }
}
body.page-students .pf-main {
  height: 480px;
}
body.page-students .pf-chat {
  -webkit-mask-image: linear-gradient(#0000, #000 16px);
  mask-image: linear-gradient(#0000, #000 16px);
}
body.page-students .pf-rl {
  gap: 6px;
  margin-top: 18px;
}
body.page-students .pf-rl li {
  height: 36px;
}
body.page-students .pf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}
body.page-students .pf-foot .pf-chk {
  margin-top: 0;
}
body.page-students .pf-o span {
  height: 52px;
  font-size: 17px;
}
body.page-students .pf-o.tf span {
  height: 112px;
  font-size: 24px;
}
body.page-students .pf-box {
  min-height: 64px;
  font-size: 24px;
}
body.page-students .pf-box.long {
  min-height: 150px;
  font-size: 17px;
}
@media (max-width: 1024px) {
  body.page-students .pf-main {
    height: auto;
  }
  body.page-students .pf-o span {
    height: 46px;
  }
  body.page-students .pf-o.tf span {
    height: 80px;
  }
  body.page-students .pf-box.long {
    min-height: 120px;
  }
}
body.page-students .pf-miss {
  gap: 8px;
  padding: 16px 18px;
}
body.page-students .pf-miss b {
  font-size: 16px;
}
@media (max-width: 1024px) {
  body.page-students .pf-win {
    height: auto;
  }
  body.page-students .pf-main {
    height: auto;
  }
}
body.page-students .pf-ready {
  display: none;
}
body.page-students .pf-main {
  transition: opacity 0.3s ease;
}
body.page-students .pf-win.t-swap .pf-main {
  opacity: 0;
}
body.page-students .pf-win.s-chat .pf-main {
  grid-template-columns: minmax(0, 1fr);
}
body.page-students .pf-win.s-chat .pf-pane {
  display: none;
}
body.page-students .pf-win.s-chat .pf-log {
  padding: 24px clamp(20px, 5vw, 72px) 14px;
  gap: 16px;
}
body.page-students .pf-win.s-chat .pf-log .tz-bub {
  font-size: 17px;
  padding: 12px 18px;
}
body.page-students .pf-win.s-chat .pf-log .tz-row > img {
  width: 38px;
  height: 38px;
}
body.page-students .pf-win.s-chat .tz-in {
  margin: 0 clamp(14px, 5vw, 72px) 18px;
}
body.page-students .pf-chips {
  flex-wrap: wrap;
}
body.page-students .pf-win.s-chat .pf-chips span {
  font-size: 15.5px;
}
body.page-students .pf-chips span {
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}
body.page-students .pf-log .tz-a .tz-bub {
  flex: 0 1 auto;
  max-width: 82%;
}
body.page-students .pf-log .tz-bub.me {
  max-width: 70%;
}
body.page-students .pf-win.s-chat .pf-log {
  padding-inline: max(20px, calc((100% - 640px) / 2));
}
body.page-students .pf-win.s-chat .tz-in {
  margin-inline: max(14px, calc((100% - 640px) / 2));
}
body.page-students .pf-win.s-chat .pf-chips {
  max-width: 100%;
}

body.page-students .pf-win.s-test .pf-main {
  grid-template-columns: minmax(0, 1fr);
}
body.page-students .pf-win.s-test .pf-col {
  display: none;
}
body.page-students .pf-win.s-test .pf-pane {
  margin: 0 14px 14px;
}
body.page-students .pf-win.s-test .pf-test {
  padding: 28px clamp(24px, 9vw, 140px) 24px;
}
body.page-students .tz-top > img {
  transition: none;
}

body.page-students .pf-res {
  gap: 0;
}
body.page-students .pf-rtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.page-students .pf-rk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body.page-students .pf-rk img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
body.page-students .pf-rseg {
  display: flex;
  gap: 5px;
}
body.page-students .pf-rseg i {
  width: 24px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.page-students .pf-rseg i.no {
  background: var(--ink);
}
body.page-students .pf-win.s-res .pf-rseg i {
  opacity: 1;
}
body.page-students .pf-win.s-res .pf-rseg i:nth-child(2) {
  transition-delay: 0.1s;
}
body.page-students .pf-win.s-res .pf-rseg i:nth-child(3) {
  transition-delay: 0.2s;
}
body.page-students .pf-win.s-res .pf-rseg i:nth-child(4) {
  transition-delay: 0.3s;
}
body.page-students .pf-win.s-res .pf-rseg i:nth-child(5) {
  transition-delay: 0.4s;
}
body.page-students .pf-win.s-res .pf-rseg i:nth-child(6) {
  transition-delay: 0.5s;
}
body.page-students .pf-rsc {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 20px;
}
body.page-students .pf-rsc b {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}
body.page-students .pf-rsc span {
  font-size: 17px;
  color: var(--muted);
}
body.page-students .pf-rmiss {
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px -16px rgba(120, 50, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}
body.page-students .pf-win.s-res .pf-rmiss {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.5s + var(--n) * 0.25s);
}
body.page-students .pf-rmiss small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .pf-rmiss h4 {
  margin: 4px 0 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: var(--ink);
}
body.page-students .pf-rans {
  display: flex;
  gap: 28px;
  font-size: 15px;
}
body.page-students .pf-rans div {
  display: grid;
  gap: 2px;
}
body.page-students .pf-rans em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
body.page-students .pf-rans s {
  text-decoration-thickness: 1.5px;
  color: var(--muted);
}
body.page-students .pf-rans b {
  color: var(--orange);
  font-weight: 700;
}
body.page-students .pf-rk {
  white-space: nowrap;
}
@media (max-width: 1024px) {
  body.page-students .pf-win.s-res .pf-pane {
    height: 600px;
  }
  body.page-students .pf-res {
    padding: 20px 18px;
  }
}
@media (max-width: 600px) {
  body.page-students .pf-rseg i {
    width: 14px;
  }
  body.page-students .pf-rsc b {
    font-size: 44px;
  }
  body.page-students .pf-rans {
    gap: 18px;
  }
  body.page-students .pf-rmiss h4 {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  body.page-students .pf-rk {
    font-size: 13px;
    gap: 8px;
  }
  body.page-students .pf-rk img {
    width: 28px;
    height: 28px;
  }
  body.page-students .pf-rseg {
    gap: 3px;
  }
  body.page-students .pf-rseg i {
    width: 11px;
  }
}

body.page-students .tz-top > img {
  transition: none;
}

/* ---- Ask about the textbook (ported from lab-card-textbook-tutor) ---- */
/* Ask about the textbook: two cards. Left, the class textbook open on a page (StudentTextbookReader); right, the chat its Ask the tutor button opens (TextbookTutorPopover) */
body.page-students .tbt-sec {
  padding: clamp(72px, 8vw, 120px) 0;
}
body.page-students .tbt-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
}
body.page-students .tbt-head h2 {
  margin: 12px 0 0;
}
body.page-students .tbt-head .lede {
  margin: 0;
  max-width: 30em;
}
body.page-students .tbt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1120px;
  margin: clamp(32px, 3.5vw, 48px) auto 0;
}

/* card shell, same as the schools feature cards */
body.page-students .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);
}
body.page-students .fcard > h3 {
  margin: 20px 12px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
body.page-students .fcard > p {
  margin: 4px 12px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
body.page-students .mini {
  position: relative;
  height: 380px;
  border-radius: 11px;
  background: #f6ead8;
  overflow: hidden;
  color: var(--ink);
}

/* left card: reader bar + the page */
body.page-students .tbt-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 8px 0 12px;
  border-radius: 12px;
  background: #fff;
}
body.page-students .tbt-bar > img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
body.page-students .tbt-tt {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.25;
}
body.page-students .tbt-tt b {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
body.page-students .tbt-tt small {
  font-size: 12px;
  color: var(--muted);
}
body.page-students .tbt-ask {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, 0.2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
body.page-students .tbt-ask img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
body.page-students .tbt-ask.on {
  background: #fdf0e4;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}
body.page-students .tbt-ask.press {
  transform: scale(0.95);
}
@font-face {
  font-family: 'Capyo Book Serif';
  src: url('/assets/fonts/IBMPlexSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Capyo Book Serif';
  src: url('/assets/fonts/IBMPlexSerif-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Capyo Book Sans';
  src: url('/assets/fonts/InstrumentSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
/* The page is a real Capyo textbook page: Math 6, section 1.4, black and white, IBM Plex Serif, as printed */
body.page-students .tbt-page {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 78px;
  bottom: 0;
  padding: 14px 26px 0;
  border-radius: 0;
  background: #fbf9f5;
  box-shadow: 0 16px 30px -26px rgba(120, 50, 0, 0.35);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 14px), transparent);
  color: #1a1a1a;
  font:
    400 13.5px/1.55 'Capyo Book Serif',
    Georgia,
    serif;
}
body.page-students .tbt-run {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 8px;
  font:
    700 9px/1 'Capyo Book Sans',
    Arial,
    sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6a6660;
}
body.page-students .tbt-run b {
  font:
    400 12px/1 'Capyo Book Serif',
    Georgia,
    serif;
  letter-spacing: 0;
  color: #1a1a1a;
}
body.page-students .tbt-sn {
  display: block;
  font:
    700 9px/1 'Capyo Book Sans',
    Arial,
    sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #1a1a1a;
}
body.page-students .tbt-page h3 {
  margin: 6px 0 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #1a1a1a;
  font:
    700 21px/1.1 'Capyo Book Serif',
    Georgia,
    serif;
  letter-spacing: -0.012em;
}
body.page-students .tbt-page p {
  margin: 8px 0 0;
  color: #1a1a1a;
}
body.page-students .tbt-page strong {
  font-weight: 700;
}
/* stacked fraction, numerator over denominator */
body.page-students .fr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  margin: 0 1px;
  font-weight: 700;
  font-size: 0.78em;
  line-height: 1.05;
}
body.page-students .fr i {
  font-style: normal;
  padding: 0 2px;
}
body.page-students .fr i:first-child {
  border-bottom: 1px solid currentColor;
}
/* figure: the book's bars, black for shaded parts, paper for the rest */
body.page-students .tbt-fig {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 10px 0 0;
}
body.page-students .tbt-bars {
  display: grid;
  grid-template-columns: 22px 210px;
  align-items: center;
  gap: 3px 10px;
}
body.page-students .tbt-bars .fr {
  font-size: 11px;
  justify-self: end;
}
body.page-students .tbt-bar-row {
  display: flex;
  height: 12px;
  border: 1px solid #1a1a1a;
}
body.page-students .tbt-bar-row i {
  flex: 1;
  border-left: 1px solid #1a1a1a;
  background: #fbf9f5;
}
body.page-students .tbt-bar-row i:first-child {
  border-left: 0;
}
body.page-students .tbt-bar-row i.on {
  background: #1a1a1a;
}
body.page-students .tbt-bar-row i.on + i.on {
  border-left-color: #fbf9f5;
}
body.page-students .tbt-same {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  font-size: 12px;
  line-height: 1.3;
}
body.page-students .tbt-same::before {
  content: '';
  align-self: stretch;
  width: 7px;
  margin: 6px 0;
  border: 1px solid #1a1a1a;
  border-left: 0;
}
/* Practice box, as in the book: ink frame, tracked label over a rule */
body.page-students .tbt-try {
  margin: 9px 0 0;
  padding: 9px 14px 10px;
  border: 1px solid #1a1a1a;
  background: #fff;
}
body.page-students .tbt-try > span {
  display: block;
  padding: 0 0 6px;
  border-bottom: 1px solid #1a1a1a;
  font:
    700 9px/1 'Capyo Book Sans',
    Arial,
    sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
body.page-students .tbt-try ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
  margin: 6px 0 0;
  padding: 0 0 0 16px;
}
body.page-students .tbt-try li {
  padding: 1px 6px;
  border-radius: 3px;
  transition: background-color 0.4s ease;
}
body.page-students .tbt.s-q2 .tbt-try li[data-q2] {
  background: #fbe3cf;
  box-shadow: 0 0 0 1.5px #f3b585;
}

/* right card: the tutor window */
body.page-students .tbt-win {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px -26px rgba(120, 50, 0, 0.45);
  overflow: hidden;
}
body.page-students .tbt-wh {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 10px;
  background: #fbf6ef;
}
body.page-students .tbt-wh img {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  background: #efdcc0;
  box-shadow: 0 0 0 2px #f3c79a;
}
body.page-students .tbt-wh div {
  flex: 1;
  display: grid;
  line-height: 1.25;
  min-width: 0;
}
body.page-students .tbt-wh b {
  font-size: 15px;
  font-weight: 600;
}
body.page-students .tbt-wh small {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-students .tbt-grip,
body.page-students .tbt-x {
  flex: none;
  width: 20px;
  height: 20px;
  background: center/18px no-repeat;
  opacity: 0.5;
}
body.page-students .tbt-grip {
  width: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23121815'%3E%3Ccircle cx='9' cy='6' r='1.6'/%3E%3Ccircle cx='15' cy='6' r='1.6'/%3E%3Ccircle cx='9' cy='12' r='1.6'/%3E%3Ccircle cx='15' cy='12' r='1.6'/%3E%3Ccircle cx='9' cy='18' r='1.6'/%3E%3Ccircle cx='15' cy='18' r='1.6'/%3E%3C/svg%3E");
}
body.page-students .tbt-x {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121815' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
body.page-students .tbt-log {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
body.page-students .tbt-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-students .tbt-log .m {
  margin: 0;
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  animation: tbt-in 0.45s var(--ease) both;
}
body.page-students .tbt-log .m:not(.on) {
  display: none;
}
body.page-students .tbt-log .me {
  align-self: flex-end;
  background: #f2ece3;
  color: #24211d;
  border-bottom-right-radius: 5px;
}
body.page-students .tbt-log .ai {
  align-self: flex-start;
  background: #f3efe9;
  border-bottom-left-radius: 5px;
}
@keyframes tbt-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
body.page-students .tbt-empty {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3efe9;
  font-size: 14px;
  line-height: 1.45;
  transition: opacity 0.3s ease;
}
body.page-students .tbt-empty p {
  margin: 0;
}
body.page-students .tbt-empty small {
  font-size: 12.5px;
  color: var(--muted);
}
body.page-students .tbt.s-chat .tbt-empty {
  opacity: 0;
}
body.page-students .tbt-dots {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  background: #f3efe9;
}
body.page-students .tbt:not(.s-dots) .tbt-dots {
  display: none;
}
body.page-students .tbt-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(18, 24, 21, 0.35);
  animation: tbt-dot 1s infinite;
}
body.page-students .tbt-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-students .tbt-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tbt-dot {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}
body.page-students .tbt-in {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 0 6px 0 14px;
  height: 46px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, 0.14);
  font-size: 14px;
  color: var(--ink);
}
body.page-students .tbt-in span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
body.page-students .tbt-in span:empty::before {
  content: 'Type your question';
  color: var(--muted);
}
body.page-students .tbt.s-type .tbt-in span::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 16px;
  margin-left: 1px;
  vertical-align: -3px;
  background: var(--orange);
  animation: tbt-caret 1s steps(1) infinite;
}
@keyframes tbt-caret {
  50% {
    opacity: 0;
  }
}
body.page-students .tbt-send {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E")
    center/17px no-repeat;
  opacity: 0.3;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
}
body.page-students .tbt.s-type .tbt-send {
  opacity: 1;
}
body.page-students .tbt-send.press {
  transform: scale(0.88);
}
body.page-students .tbt.now * {
  transition: none !important;
}

@media (max-width: 1024px) {
  body.page-students .tbt-head {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 560px;
  }
  body.page-students .tbt-cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
@media (max-width: 600px) {
  body.page-students .mini {
    height: 360px;
  }
  body.page-students .tbt-book {
    height: 440px;
  }
  body.page-students .tbt-chat {
    height: 470px;
  }
  body.page-students .tbt-tt small {
    display: none;
  }
  body.page-students .tbt-tt b {
    font-size: 14px;
  }
  body.page-students .tbt-page {
    padding: 14px 16px 0;
  }
  body.page-students .tbt-page h3 {
    font-size: 20px;
  }
  body.page-students .tbt-bars {
    grid-template-columns: 22px minmax(0, 170px);
  }
}
body.page-students .tbt-feed {
  transition: opacity 0.4s ease;
}
body.page-students .tbt.fade .tbt-feed {
  opacity: 0;
}

body.page-students .st-band .band-head {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 16px;
}
body.page-students .st-band .band-head .lede {
  max-width: 560px;
  margin-inline: auto;
}
body.page-students .st-band .band-head h2 {
  max-width: 11em;
  margin-inline: auto;
  text-wrap: balance;
}
body.page-students .st-band .band-head .lede {
  text-wrap: balance;
}
/* card titles carry a small platform icon */
body.page-students .hb-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-students .hb-feature-icon {
  flex: none;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
/* Max 10-29: student and tutor messages in the tutor chat match: same avatar size and alignment, same bubble padding and corner language */
body.page-students #tutor .tz-row {
  align-items: flex-start;
  gap: 12px;
}
body.page-students #tutor .tz-row > img,
body.page-students #tutor .tz-ava {
  width: 34px;
  height: 34px;
  margin-top: 2px;
}
body.page-students #tutor .tz-bub,
body.page-students #tutor .tz-a .tz-bub {
  padding: 12px 16px 13px;
  font-size: 16px;
  line-height: 1.45;
  background: #f3eee6;
  color: var(--ink);
}
body.page-students #tutor .tz-q .tz-bub {
  flex: 0 1 auto;
  max-width: 78%;
  border-radius: 18px 6px 18px 18px;
}
body.page-students #tutor .tz-a .tz-bub {
  border-radius: 6px 18px 18px 18px;
}
/* Max 10-29: hero panel titles centred; the orange shade at the foot of the hero toned down */
body.page-students .sx-cap {
  text-align: center;
  padding-left: 0;
}
/* Max 10-29: the tutor's face sits beside each tutor reply in the textbook chat */
body.page-students .tbt-log .ai {
  position: relative;
  margin-left: 36px;
  max-width: calc(88% - 36px);
}
body.page-students .tbt-log .ai::before {
  content: '';
  position: absolute;
  left: -36px;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efe6da url('https://assets-dev.capyodev.com/images/marketing-site/b1e9845944c158dba8c2904ed058e03a01aae84eb79d3f265ecaf2b901a774a3.webp') 50% 20% / cover no-repeat;
}
/* Max 10-29: the line lights each tool softly instead of flooding it orange */
body.page-students .sx-fill {
  background: #fbdcc2;
}
body.page-students .sx-f.now b {
  color: #8a3a00;
}
body.page-students .sx-f.now small {
  color: #a35a2a;
}
/* Max 10-29: the week reads like a real calendar: one grid with day columns, date top-left, events as calendar entries with a colour bar.
   The Friday test is the same kind of entry as the tutor's, just in the deeper orange, so the card speaks one colour language. */
@media (min-width: 1025px) {
  body.page-students .rd-days {
    gap: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 0 0 1.5px #f1e4d3;
    overflow: hidden;
  }
  body.page-students .rd-day,
  body.page-students .rd-day:hover,
  body.page-students .rd-day.is-on {
    min-height: 132px;
    border-radius: 0;
    background: #fff;
    box-shadow: inset -1px 0 0 #f4e9dc;
  }
  body.page-students .rd-day:hover {
    background: #fffaf4;
  }
  body.page-students .rd-day.is-on {
    background: #fff6ec;
  }
  body.page-students .rd-day.is-next {
    margin-left: 0;
    box-shadow: inset 6px 0 0 #fdf6ec;
  }
  body.page-students .rd-day.is-next .rd-dn {
    padding-left: 6px;
  }
  body.page-students .rd-day:last-child {
    box-shadow: inset 6px 0 0 #fdf6ec;
  }
}
body.page-students .rd-chip,
body.page-students .rd-chip[data-n].in {
  position: relative;
  padding-left: 10px;
  border-radius: 6px;
  background: #fdeee0;
  color: #7a3300;
  box-shadow: inset 3px 0 0 #f2a066;
}
body.page-students .rd-day.is-test .rd-chip,
body.page-students .rd-chip.rd-test {
  background: #fde0c6;
  color: #8a3a00;
  box-shadow: inset 3px 0 0 var(--orange);
}
/* Max 10-29: the tutor chats under the calendar sit on white like the calendar above, and stay a compact window instead of filling the card */
body.page-students #road .stx .mini {
  background: #fff;
}
body.page-students #road .stx .fcard.solo {
  background: #fffaf2;
  box-shadow: 0 18px 40px -26px rgba(120, 50, 0, 0.35);
}
body.page-students #road .stx .one {
  max-width: 420px;
  margin-inline: auto;
}
body.page-students #road .stx .mini .rvw-miss,
body.page-students #road .stx .mini [class*='-q']:not(.pt-q) {
  background: #faf5ef;
}
body.page-students #road .rvw-b.t {
  padding: 10px 14px;
  border-radius: 6px 16px 16px 16px;
  background: #f5efe7;
  color: var(--ink);
}
body.page-students #road .rvw-b.me {
  background: #fde9d3 !important;
  color: #3a1d06 !important;
}
body.page-students #road .xpl-wave i,
body.page-students #road .xpl-wave span {
  background: #e0782f;
}
@media (max-width: 1024px) {
  body.page-students .hb-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-students .hb-card {
    min-width: 0;
  }
  body.page-students .hb-card h3 {
    flex-wrap: wrap;
  }
}

/* ---- Max 10-29 pass ---- */
/* Your classes, card 1: the class library, unit by unit back to September. It scrolls back through the term, then returns to today's new file. */
body.page-students .hb-lib .hb-top {
  padding-bottom: 6px;
}
body.page-students .hb-shelf {
  position: relative;
  height: 248px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 82%, #0000);
  mask-image: linear-gradient(#000 82%, #0000);
}
body.page-students .hb-roll {
  padding: 0 12px 12px;
}
body.page-students .hb-card .hb-u {
  margin: 10px 6px 6px;
  max-width: none;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #7a7470;
}
body.page-students .hb-roll ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
body.page-students .hb-f {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 7px;
  border-radius: 12px;
  background: #faf5ef;
}
body.page-students .hb-f i {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fde9d3;
}
body.page-students .hb-f img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
body.page-students .hb-f span {
  flex: 1;
  min-width: 0;
  display: grid;
  line-height: 1.3;
}
body.page-students .hb-f b {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .hb-f small {
  font-size: 11.5px;
  color: #7a7470;
}
body.page-students .hb.play .hb-roll {
  animation: hb-roll 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-new {
  animation: hb-new 9s var(--ease) infinite;
}
@keyframes hb-roll {
  0%,
  14% {
    transform: none;
  }
  40%,
  62% {
    transform: translateY(-196px);
  }
  86%,
  100% {
    transform: none;
  }
}
@keyframes hb-new {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  6%,
  100% {
    opacity: 1;
    transform: none;
  }
}

/* card 2: the real AI Assistant chat (teacher-ai-chat: grey assistant bubble, cream student bubble, dark send) */
body.page-students .hb-asst {
  display: flex;
  flex-direction: column;
  height: 316px;
  overflow: hidden;
}
body.page-students .hb-ah {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fbf8f4;
  border-radius: 16px 16px 0 0;
}
body.page-students .hb-ah img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
body.page-students .hb-ah span {
  display: grid;
  line-height: 1.25;
}
body.page-students .hb-ah b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.page-students .hb-ah small {
  font-size: 12px;
  color: #7a7470;
}
body.page-students .hb-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 12px 0;
}
body.page-students .hb-card .hb-me {
  align-self: flex-end;
  max-width: 86%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 14px;
  background: #fef3dc;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
body.page-students .hb-card .hb-dots {
  display: flex;
  gap: 4px;
  margin: 0;
  max-width: none;
  padding: 10px 12px;
  align-self: flex-start;
  border-radius: 14px;
  background: #f3f4f6;
}
body.page-students .hb-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ca3af;
}
body.page-students .hb-ai {
  align-self: flex-start;
  width: 94%;
  padding: 9px 10px 10px;
  border-radius: 14px;
  background: #f3f4f6;
}
body.page-students .hb-card .hb-ai p {
  margin: 0 2px 8px;
  max-width: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
body.page-students .hb-asst .hb-res {
  gap: 10px;
  padding: 8px;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}
body.page-students .hb-asst .hb-res i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fde9d3;
}
body.page-students .hb-asst .hb-res img {
  width: 24px;
  height: 24px;
}
body.page-students .hb-asst .hb-res b {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-students .hb-asst .hb-res small {
  font-size: 11px;
}
body.page-students .hb-asst .hb-res em {
  padding: 6px 12px;
  border-radius: 8px;
  background: #17345e;
  font-size: 12px;
}
body.page-students .hb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px #e7e2db;
  font-size: 13px;
  color: #9a948e;
}
body.page-students .hb-in i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1f1f1f;
}
body.page-students .hb-in svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-students .hb-me,
body.page-students .hb-dots,
body.page-students .hb-ai {
  opacity: 0;
}
body.page-students .hb.play .hb-me {
  animation: hb-me 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-dots {
  animation: hb-dots 9s linear infinite;
}
body.page-students .hb.play .hb-ai {
  animation: hb-ai 9s var(--ease) infinite;
}
body.page-students .hb.play .hb-dots i {
  animation: hb-blink 1s ease-in-out infinite;
}
body.page-students .hb.play .hb-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
body.page-students .hb.play .hb-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes hb-me {
  0%,
  6% {
    opacity: 0;
    transform: translateY(8px);
  }
  11%,
  90% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}
@keyframes hb-dots {
  0%,
  16% {
    opacity: 0;
  }
  19%,
  36% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
  }
}
body.page-students .hb-reply {
  display: grid;
  align-items: start;
}
body.page-students .hb-reply > * {
  grid-area: 1/1;
}
@keyframes hb-ai {
  0%,
  37% {
    opacity: 0;
    transform: translateY(8px);
  }
  42%,
  90% {
    opacity: 1;
    transform: none;
  }
  96%,
  100% {
    opacity: 0;
  }
}
@keyframes hb-blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-students .hb-me,
  body.page-students .hb-ai {
    opacity: 1;
  }
  body.page-students .hb-dots {
    display: none;
  }
}

/* card 3: the real Assignments tabs (navy To Do), handed in turns green */
body.page-students .hb-tabs .on {
  background: #17345e;
  color: #fff;
}
body.page-students .hb-n {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
body.page-students .hb-due .b {
  color: #b3402a;
}
body.page-students .hb-done {
  background: #e9f3e2;
  color: #2f6b1f;
}
body.page-students .hb-done svg {
  stroke: #2f6b1f;
}
body.page-students .hb.play .hb-hit {
  animation-name: hb-hit2;
}
@keyframes hb-hit2 {
  0%,
  24% {
    background: #faf5ef;
    transform: none;
  }
  30%,
  56% {
    background: #fff;
    transform: scale(1.015);
    box-shadow: 0 10px 22px -14px rgba(120, 50, 0, 0.4);
  }
  62%,
  100% {
    background: #faf5ef;
    transform: none;
  }
}

/* practice test: right is green, missed is red, buttons are plain dark */
body.page-students .pf-rseg i {
  background: #3f8a2c;
}
body.page-students .pf-rseg i.no {
  background: #c2412d;
}
body.page-students .pf-rans s {
  color: #c2412d;
  text-decoration-color: #c2412d;
}
body.page-students .pf-rans b {
  color: #2f7a21;
}
body.page-students .pf-pill {
  background: var(--ink);
}
body.page-students .pf-go,
body.page-students .pf-chk {
  background: var(--ink);
}
body.page-students .pf-chips span.sel {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
body.page-students .pf-o span.sel {
  background: #f4efe8;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
body.page-students .pf-o span.sel::before {
  border-color: var(--ink);
  background: var(--ink);
}
body.page-students .pf-o.ck span.sel::before {
  background-color: var(--ink);
}

/* test week calendar: days that aren't planned yet are just empty days, no ghost boxes; the week reads as one even strip */
body.page-students .rd-chip[data-n]:not(.in) {
  box-shadow: none;
  background: transparent;
}
body.page-students .rd-day,
body.page-students .rd-day:hover,
body.page-students .rd-day.is-on {
  min-height: 104px;
}
body.page-students .rd-day.is-next,
body.page-students .rd-day:last-child {
  box-shadow: inset -1px 0 0 #f4e9dc;
}
body.page-students .rd-day.is-next .rd-dn {
  padding-left: 0;
}
body.page-students .rd-day.is-next:last-child {
  box-shadow: none;
}

/* textbook: plain tutor avatar, the Ask the tutor button stays a plain button */
body.page-students .tbt-wh img {
  box-shadow: none;
}
body.page-students .tbt-ask.on {
  background: #f4efe8;
  box-shadow: inset 0 0 0 1px rgba(18, 24, 21, 0.35);
}
body.page-students .hb-card .hb-dots {
  justify-self: start;
}
body.page-students .hb-ai {
  width: 100%;
  box-sizing: border-box;
}
body.page-students .hb-asst .hb-res {
  gap: 8px;
}
body.page-students .hb-asst .hb-res em {
  padding: 6px 10px;
}
/* hero buttons the same size as the schools hero */
@media (min-width: 1025px) {
  body.page-students .band-hero.side .btn {
    padding: 12px 26px;
    font-size: clamp(15px, 1.2vw, 20px);
  }
  body.page-students .band-hero.side .btn svg {
    width: 20px;
    height: 20px;
  }
  body.page-students .band-hero.side .actions {
    gap: 20px;
  }
}
/* calendar strip lines up with the panel below it */
body.page-students .rd-week {
  padding: 14px 0 0;
}
body.page-students .rd-cal {
  padding: 0 16px 14px;
}
body.page-students .stx .pln-yes {
  background: var(--ink);
}
/* plan ticks are done ticks: green; day labels in ink; the textbook send button dark like the other chats */
body.page-students .stx .pln-ok {
  background: #3f8a2c;
}
body.page-students .stx .pln-test .pln-ok {
  background: none;
  box-shadow: inset 0 0 0 2px #3f8a2c;
}
body.page-students .stx .pln-r small {
  color: var(--muted);
}
body.page-students .tbt-send {
  background-color: var(--ink);
}
/* hero background: the same painted wash as the schools hero (Max 10-29: every school hero the same colour) */
body.page-students .band-hero.side {
  background: #fff1e0 url('https://assets-dev.capyodev.com/images/marketing-site/8865231cec5cd3111760c246ad252e657035432eb0b3f52adc3a2b34f841d7ac.webp') center bottom/cover no-repeat;
}

/* match the schools page beige */
body.page-students {
  --page: #f6ebdc;
  --page-2: #f0e2cf;
  background: var(--page);
}
