:root {
  --r2t-navy: #102A43;
  --r2t-orange: #ff8a2a;
  --r2t-blue: #8fd3ff;
  --r2t-green: #91e6a8;
  --r2t-yellow: #ffe066;
  --r2t-purple: #d6b4ff;
  --r2t-teal: #76e3dc;
  --r2t-red: #ff9b8f;
  --r2t-review: #e2e8f0;
  --r2t-text: #081826;
  --r2t-card: #ffffff;
}

html:has(.r2t-tv-noscreen-scroll),
body:has(.r2t-tv-noscreen-scroll) {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.r2t-tv,
.r2t-station-screen {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #F7FAFC;
  color: var(--r2t-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: clamp(12px, 1.6vw, 28px);
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(10px, 1.2vw, 18px);
}

.r2t-tv-header {
  display: grid;
  grid-template-columns: 1fr minmax(150px, 18vw);
  gap: clamp(12px, 1.5vw, 24px);
  align-items: center;
  background: var(--r2t-navy);
  color: white;
  border-radius: clamp(18px, 2vw, 28px);
  padding: clamp(14px, 2vw, 28px);
  box-shadow: 0 18px 50px rgba(16, 42, 67, 0.20);
  min-height: 0;
}

.r2t-tv-title-block { min-width: 0; }

.r2t-kicker {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: clamp(0.72rem, 1vw, 1rem);
  font-weight: 900;
  color: #ffb16d;
  margin: 0 0 0.35rem;
}

.r2t-tv-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.r2t-visual-timer {
  --progress: 100;
  --timer-color: #22c55e;
  justify-self: end;
  width: clamp(128px, 15vw, 210px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: conic-gradient(var(--timer-color) calc(var(--progress) * 1%), rgba(255,255,255,0.18) 0);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,0.16);
}

.r2t-visual-timer-inner {
  width: 74%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: white;
  color: var(--r2t-navy);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.r2t-visual-timer strong {
  font-size: clamp(1.8rem, 3.3vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.r2t-visual-timer span {
  font-size: clamp(0.74rem, 1vw, 1.1rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #486581;
}

.r2t-visual-timer.is-timer-off {
  background: #e2e8f0 !important;
  box-shadow: inset 0 0 0 8px rgba(148, 163, 184, 0.18);
}

.r2t-visual-timer.is-timer-off .r2t-visual-timer-inner {
  color: #64748b;
}

.r2t-tv-main {
  min-height: 0;
  display: grid;
  gap: clamp(10px, 1.2vw, 18px);
}

.r2t-tv-grid-compact {
  grid-template-columns: 0.92fr 1.08fr;
  grid-template-rows: minmax(0, 0.76fr) minmax(0, 1.24fr);
}

.r2t-tv-learning,
.r2t-tv-success,
.r2t-tv-now,
.r2t-tv-groups,
.r2t-station-task-card {
  background: var(--r2t-card);
  border-radius: clamp(18px, 2vw, 28px);
  padding: clamp(16px, 2vw, 30px);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
  overflow: hidden;
}

.r2t-tv-now,
.r2t-tv-groups {
  grid-column: 1 / -1;
}

.r2t-tv-groups[hidden] { display: none; }

.r2t-tv-main h2,
.r2t-station-task-card h2 {
  font-size: clamp(1.7rem, 3vw, 4rem);
  line-height: 1;
  margin: 0 0 clamp(8px, 1vw, 16px);
  color: var(--r2t-navy);
}

.r2t-tv-main p,
.r2t-tv-main li,
.r2t-station-task-card p {
  font-size: clamp(1.25rem, 2vw, 3rem);
  line-height: 1.18;
  margin: 0.35rem 0;
}

.r2t-tv-success ul {
  margin: 0;
  padding-left: 1.25em;
}

.r2t-step-station-line { margin-bottom: 0.65rem !important; }

.r2t-tv-footer {
  background: #FFF3E8;
  border-radius: clamp(14px, 1.6vw, 22px);
  padding: clamp(12px, 1.5vw, 22px) clamp(14px, 2vw, 26px);
  font-size: clamp(1.1rem, 1.65vw, 2.2rem);
  font-weight: 800;
  color: var(--r2t-navy);
  min-height: 0;
}

.r2t-group-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}

.r2t-group-chip {
  border-radius: clamp(16px, 1.8vw, 26px);
  padding: clamp(12px, 1.6vw, 22px);
  text-align: center;
  color: #111827;
  border: 3px solid rgba(0,0,0,0.1);
  min-height: clamp(90px, 10vw, 150px);
  display: grid;
  align-content: center;
}

.r2t-group-chip strong,
.r2t-group-chip span {
  display: block;
  line-height: 1;
}

.r2t-group-chip strong {
  font-size: clamp(1.25rem, 2vw, 3rem);
  margin-bottom: 0.45rem;
}

.r2t-group-chip span {
  font-size: clamp(1rem, 1.55vw, 2.3rem);
  font-weight: 950;
  text-transform: uppercase;
}

.r2t-station-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.38em 0.75em;
  font-weight: 950;
  color: #111827;
  border: 3px solid rgba(0,0,0,0.08);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.station-orange { background-color: var(--r2t-orange) !important; color: #111827 !important; }
.station-blue { background-color: var(--r2t-blue) !important; color: #111827 !important; }
.station-green { background-color: var(--r2t-green) !important; color: #111827 !important; }
.station-yellow { background-color: var(--r2t-yellow) !important; color: #111827 !important; }
.station-purple { background-color: var(--r2t-purple) !important; color: #111827 !important; }
.station-teal { background-color: var(--r2t-teal) !important; color: #111827 !important; }
.station-red { background-color: var(--r2t-red) !important; color: #111827 !important; }
.station-white { background-color: #f8fafc !important; color: #111827 !important; border-color: #cbd5e1 !important; }
.station-review { background-color: var(--r2t-review) !important; color: #111827 !important; }

.r2t-tv.station-orange,
.r2t-station-screen.station-orange { background: #fff7ed !important; }
.r2t-tv.station-blue,
.r2t-station-screen.station-blue { background: #e6f6ff !important; }
.r2t-tv.station-green,
.r2t-station-screen.station-green { background: #effdf3 !important; }
.r2t-tv.station-yellow,
.r2t-station-screen.station-yellow { background: #fff9db !important; }
.r2t-tv.station-purple,
.r2t-station-screen.station-purple { background: #f5edff !important; }
.r2t-tv.station-teal,
.r2t-station-screen.station-teal { background: #e7fffd !important; }
.r2t-tv.station-red,
.r2t-station-screen.station-red { background: #fff0ed !important; }
.r2t-tv.station-white,
.r2t-station-screen.station-white { background: #f8fafc !important; }

.r2t-station-main {
  min-height: 0;
  display: grid;
  place-items: stretch;
}

.r2t-station-task-card {
  display: grid;
  align-content: center;
}

.r2t-station-task-card h2 {
  font-size: clamp(3rem, 8vw, 9rem);
  letter-spacing: -0.06em;
}

.r2t-station-task-card p:last-child {
  font-size: clamp(1.6rem, 3.4vw, 4.4rem);
}

.r2t-move-prompt {
  position: fixed;
  inset: clamp(28px, 4vw, 70px);
  z-index: 9999;
  border-radius: clamp(28px, 4vw, 60px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.28);
  border: 10px solid rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4vw;
  animation: r2tPromptIn 220ms ease-out;
}

.r2t-move-prompt[hidden] { display: none; }

.r2t-move-prompt strong,
.r2t-move-prompt span {
  display: block;
  color: #111827;
  font-weight: 950;
  line-height: 0.95;
}

.r2t-move-prompt strong { font-size: clamp(4rem, 10vw, 12rem); }
.r2t-move-prompt span { font-size: clamp(3rem, 7vw, 9rem); margin-top: 0.15em; }

@keyframes r2tPromptIn {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 950px) {
  .r2t-tv-header { grid-template-columns: 1fr auto; }
  .r2t-tv-grid-compact { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  .r2t-tv-now, .r2t-tv-groups { grid-column: auto; }
  .r2t-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v0.5 mode-aware classroom screens */
.r2t-tv-main,
.r2t-station-main {
  overflow: hidden;
}

.r2t-tv-now h2,
.r2t-tv-groups h2 {
  overflow-wrap: anywhere;
}

.r2t-group-chip {
  box-shadow: 0 12px 24px rgba(16, 42, 67, 0.10);
}

.r2t-tv-groups .r2t-group-grid {
  align-items: stretch;
}

.r2t-station-task-card {
  border: 4px solid rgba(0,0,0,0.06);
}

.r2t-station-screen .r2t-tv-header h1 .r2t-station-pill {
  font-size: clamp(1.7rem, 4.2vw, 5rem);
}

.r2t-tv-learning p,
.r2t-tv-success li,
.r2t-tv-now p {
  max-height: 100%;
}

@media (max-height: 720px) {
  .r2t-tv,
  .r2t-station-screen {
    padding: 10px;
    gap: 8px;
  }
  .r2t-tv-header {
    padding: 12px;
  }
  .r2t-tv-learning,
  .r2t-tv-success,
  .r2t-tv-now,
  .r2t-tv-groups,
  .r2t-station-task-card {
    padding: 12px;
  }
  .r2t-tv-main h2,
  .r2t-station-task-card h2 {
    font-size: clamp(1.35rem, 2.5vw, 2.8rem);
  }
  .r2t-tv-main p,
  .r2t-tv-main li,
  .r2t-station-task-card p {
    font-size: clamp(1rem, 1.6vw, 2rem);
  }
  .r2t-tv-footer {
    padding: 10px 12px;
  }
}

/* v0.6 station alerts and teacher-aide station display */
.r2t-station-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(16px, 2.2vw, 32px);
}

.r2t-station-actions[hidden] { display: none; }

.r2t-station-action-button {
  border: 4px solid rgba(0,0,0,0.12);
  border-radius: clamp(18px, 2vw, 30px);
  padding: clamp(14px, 2vw, 28px) clamp(18px, 3vw, 42px);
  background: #ffffff;
  color: #111827;
  font-size: clamp(1.2rem, 2.4vw, 3.4rem);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.12);
}

.r2t-teacher-aide-station .r2t-tv-header {
  background: #533f03;
}

.r2t-teacher-aide-station .r2t-station-task-card {
  border: 6px solid rgba(255, 224, 102, 0.65);
}

.r2t-teacher-aide-station [data-r2t-station-group] {
  font-size: clamp(2.4rem, 6vw, 7rem);
}

.r2t-teacher-aide-station [data-r2t-station-task] {
  font-size: clamp(1.4rem, 3vw, 4rem);
}

/* v1.0 explicit and engaging classroom screen polish */
.r2t-tv-now h2::before { content: "Now: "; color: var(--r2t-orange); }
.r2t-tv-now { border-left: clamp(8px, 1vw, 14px) solid var(--r2t-orange); }
.r2t-tv.station-green .r2t-tv-now { border-left-color: var(--r2t-green); }
.r2t-tv.station-yellow .r2t-tv-now { border-left-color: var(--r2t-yellow); }
.r2t-tv.station-purple .r2t-tv-now { border-left-color: var(--r2t-purple); }
.r2t-tv.station-teal .r2t-tv-now { border-left-color: var(--r2t-teal); }
.r2t-tv.station-red .r2t-tv-now { border-left-color: var(--r2t-red); }
.r2t-tv.station-white .r2t-tv-now { border-left-color: #cbd5e1; }
.r2t-group-chip strong { display: block; font-size: clamp(1.25rem, 2vw, 2.4rem); }
.r2t-group-chip span { display: block; font-size: clamp(1rem, 1.5vw, 1.7rem); font-weight: 900; }
.r2t-station-task-card { display: grid; align-content: center; text-align: center; border: 6px solid rgba(0,0,0,.08); }
.r2t-station-task-card .r2t-kicker { color: rgba(0,0,0,.65); }
.r2t-station-actions { margin-top: clamp(18px, 3vw, 36px); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.r2t-station-action-button { border: 0; border-radius: 999px; padding: clamp(14px, 2vw, 24px) clamp(20px, 3vw, 38px); font-size: clamp(1.1rem, 1.7vw, 2.2rem); font-weight: 950; cursor: pointer; background: var(--r2t-navy); color: #fff; box-shadow: 0 12px 34px rgba(16,42,67,.22); }
.r2t-station-action-button:hover { transform: translateY(-1px); }

/* v1.2.6 live display resource cards */
.r2t-station-resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: clamp(12px, 1.8vw, 24px);
}
.r2t-station-resources[hidden] { display: none; }
.r2t-station-resources a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  border-radius: 999px;
  padding: clamp(10px, 1.4vw, 18px) clamp(14px, 2vw, 26px);
  background: #ffffff;
  color: var(--r2t-navy);
  text-decoration: none;
  font-size: clamp(1rem, 1.45vw, 2rem);
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(16,42,67,.12);
}
.r2t-tv-resources {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: clamp(18px, 2vw, 28px);
  padding: clamp(12px, 1.6vw, 22px);
  box-shadow: 0 12px 32px rgba(16,42,67,.08);
  overflow: hidden;
}
.r2t-tv-resources[hidden] { display: none; }
.r2t-tv-resources h2 { margin: 0 0 .55rem; font-size: clamp(1.3rem, 2vw, 2.5rem); color: var(--r2t-navy); }

/* v1.2.7-safe display fit: keep classroom screens inside the visible viewport */
body:has(.r2t-tv-noscreen-scroll) {
  overflow: hidden !important;
}

.r2t-tv-noscreen-scroll {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.r2t-tv,
.r2t-station-screen {
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(8px, 1.2vw, 18px);
  gap: clamp(8px, 1vw, 14px);
}

.r2t-tv-header {
  grid-template-columns: minmax(0, 1fr) clamp(112px, 14vw, 180px);
  padding: clamp(10px, 1.3vw, 18px);
  border-radius: clamp(16px, 1.6vw, 24px);
}

.r2t-tv-header h1 {
  font-size: clamp(1.6rem, 3.2vw, 4.1rem);
  line-height: 1.02;
  max-height: 28vh;
  overflow: hidden;
}

.r2t-visual-timer {
  width: clamp(108px, 13vw, 176px);
}

.r2t-tv-main,
.r2t-station-main {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.r2t-tv-learning,
.r2t-tv-success,
.r2t-tv-now,
.r2t-tv-groups,
.r2t-tv-resources,
.r2t-station-task-card {
  overflow: visible;
}

.r2t-station-task-card {
  align-content: start;
  min-height: 100%;
}

.r2t-station-task-card h2 {
  font-size: clamp(2.1rem, 5.2vw, 6.8rem);
}

.r2t-station-task-card p:last-child,
.r2t-station-task-card p {
  font-size: clamp(1.25rem, 2.4vw, 3.4rem);
}

.r2t-tv-footer {
  flex-shrink: 0;
  padding: clamp(9px, 1.2vw, 16px) clamp(12px, 1.6vw, 22px);
}

@media (max-width: 760px), (max-height: 720px) {
  .r2t-tv-header {
    grid-template-columns: minmax(0, 1fr) clamp(96px, 24vw, 138px);
  }
  .r2t-tv-header h1 {
    font-size: clamp(1.35rem, 6.4vw, 2.8rem);
    max-height: 24vh;
  }
  .r2t-visual-timer {
    width: clamp(92px, 24vw, 132px);
  }
  .r2t-visual-timer strong {
    font-size: clamp(1.4rem, 6vw, 2.4rem);
  }
  .r2t-tv-main p,
  .r2t-tv-main li,
  .r2t-station-task-card p {
    font-size: clamp(1rem, 4.5vw, 1.6rem);
  }
  .r2t-tv-main h2,
  .r2t-station-task-card h2 {
    font-size: clamp(1.3rem, 6.2vw, 2.5rem);
  }
}


/* v1.2.8 safe: reduce display crowding and make Student TV station rotation fit one screen */
.r2t-tv.r2t-tv-rotation {
  overflow: hidden !important;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-header {
  grid-template-columns: minmax(0, 1fr) clamp(96px, 11vw, 158px);
  padding: clamp(8px, 1vw, 16px);
}

.r2t-tv.r2t-tv-rotation .r2t-tv-header h1 {
  font-size: clamp(1.55rem, 2.8vw, 3.85rem);
  line-height: 1.02;
  max-height: 18vh;
  overflow: hidden;
}

.r2t-tv.r2t-tv-rotation .r2t-visual-timer {
  width: clamp(92px, 10vw, 158px);
}

.r2t-tv.r2t-tv-rotation .r2t-tv-main {
  overflow: hidden !important;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(8px, 1vw, 14px);
  min-height: 0;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-now {
  display: none !important;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-learning,
.r2t-tv.r2t-tv-rotation .r2t-tv-success,
.r2t-tv.r2t-tv-rotation .r2t-tv-groups {
  min-height: 0;
  overflow: hidden;
  padding: clamp(10px, 1.1vw, 18px);
}

.r2t-tv.r2t-tv-rotation .r2t-tv-learning,
.r2t-tv.r2t-tv-rotation .r2t-tv-success {
  grid-column: auto;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-groups {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.r2t-tv.r2t-tv-rotation .r2t-tv-main h2 {
  font-size: clamp(1.25rem, 2vw, 2.8rem);
  margin-bottom: clamp(4px, .6vw, 10px);
}

.r2t-tv.r2t-tv-rotation .r2t-tv-main p,
.r2t-tv.r2t-tv-rotation .r2t-tv-main li {
  font-size: clamp(1rem, 1.45vw, 2rem);
  line-height: 1.12;
  margin: .18rem 0;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-success ul {
  padding-left: 1.05em;
}

.r2t-tv.r2t-tv-rotation .r2t-group-grid {
  height: 100%;
  min-height: 0;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(7px, .8vw, 12px);
}

.r2t-tv.r2t-tv-rotation .r2t-group-chip {
  min-height: 0;
  padding: clamp(8px, 1vw, 14px);
  border-width: 2px;
  align-content: center;
}

.r2t-tv.r2t-tv-rotation .r2t-group-chip strong {
  font-size: clamp(1rem, 1.65vw, 2.1rem);
  margin-bottom: .25rem;
}

.r2t-tv.r2t-tv-rotation .r2t-group-chip span {
  font-size: clamp(.82rem, 1.25vw, 1.55rem);
  line-height: 1.05;
}

.r2t-tv.r2t-tv-rotation .r2t-tv-footer {
  padding: clamp(7px, .8vw, 12px) clamp(10px, 1.2vw, 18px);
  font-size: clamp(.9rem, 1.25vw, 1.65rem);
}

/* Station screens may scroll their task card if a task is long, but timer/header stay visible. */
.r2t-station-screen .r2t-station-main {
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 760px), (max-height: 680px) {
  .r2t-tv.r2t-tv-rotation .r2t-tv-main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, .38fr) minmax(0, .62fr);
  }
  .r2t-tv.r2t-tv-rotation .r2t-tv-header h1 {
    font-size: clamp(1.2rem, 5vw, 2.4rem);
    max-height: 16vh;
  }
  .r2t-tv.r2t-tv-rotation .r2t-visual-timer {
    width: clamp(76px, 18vw, 112px);
  }
  .r2t-tv.r2t-tv-rotation .r2t-group-grid {
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  }
  .r2t-tv.r2t-tv-rotation .r2t-group-chip strong {
    font-size: clamp(.86rem, 3.8vw, 1.45rem);
  }
  .r2t-tv.r2t-tv-rotation .r2t-group-chip span {
    font-size: clamp(.72rem, 3vw, 1.08rem);
  }
}


/* v1.3.0 whole-class classroom display fit: keep learning, success criteria and current activity contained */
.r2t-tv.r2t-tv-whole-class {
  overflow: hidden !important;
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-header {
  grid-template-columns: minmax(0, 1fr) clamp(96px, 11vw, 158px);
  padding: clamp(8px, 1vw, 16px);
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-header h1 {
  font-size: clamp(1.45rem, 2.75vw, 3.65rem);
  line-height: 1.02;
  max-height: 17vh;
  overflow: hidden;
}

.r2t-tv.r2t-tv-whole-class .r2t-visual-timer {
  width: clamp(92px, 10vw, 158px);
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-main {
  overflow: hidden !important;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-rows: minmax(0, .36fr) minmax(0, .64fr);
  gap: clamp(8px, 1vw, 14px);
  min-height: 0;
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-learning,
.r2t-tv.r2t-tv-whole-class .r2t-tv-success,
.r2t-tv.r2t-tv-whole-class .r2t-tv-now,
.r2t-tv.r2t-tv-whole-class .r2t-tv-resources {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: clamp(10px, 1.1vw, 18px);
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-learning,
.r2t-tv.r2t-tv-whole-class .r2t-tv-success {
  grid-column: auto;
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-now {
  grid-column: 1 / -1;
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-main h2 {
  font-size: clamp(1.25rem, 2vw, 2.8rem);
  margin-bottom: clamp(4px, .6vw, 10px);
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-main p,
.r2t-tv.r2t-tv-whole-class .r2t-tv-main li {
  font-size: clamp(1rem, 1.45vw, 2rem);
  line-height: 1.14;
  margin: .18rem 0;
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-now p[data-r2t-step-instruction] {
  font-size: clamp(1.05rem, 1.65vw, 2.25rem);
}

.r2t-tv.r2t-tv-whole-class .r2t-tv-footer {
  padding: clamp(7px, .8vw, 12px) clamp(10px, 1.2vw, 18px);
  font-size: clamp(.9rem, 1.25vw, 1.65rem);
}

@media (max-width: 760px), (max-height: 680px) {
  .r2t-tv.r2t-tv-whole-class .r2t-tv-main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, .38fr) minmax(0, .62fr);
  }
  .r2t-tv.r2t-tv-whole-class .r2t-tv-header h1 {
    font-size: clamp(1.2rem, 5vw, 2.4rem);
    max-height: 15vh;
  }
  .r2t-tv.r2t-tv-whole-class .r2t-visual-timer {
    width: clamp(76px, 18vw, 112px);
  }
  .r2t-tv.r2t-tv-whole-class .r2t-tv-main p,
  .r2t-tv.r2t-tv-whole-class .r2t-tv-main li {
    font-size: clamp(.86rem, 3vw, 1.2rem);
  }
}


/* Orange Station group reveal */
.r2t-tv-groups{position:relative;overflow:hidden}
.r2t-tv-groups.is-revealing:before{content:'Getting groups ready...';position:absolute;inset:0;display:grid;place-items:center;background:rgba(255,255,255,.94);z-index:5;font-size:clamp(28px,5vw,64px);font-weight:950;color:#102f47;letter-spacing:-.04em;animation:r2tGroupRevealFade 1.1s ease forwards}.r2t-group-chip small{display:block;margin-top:8px;font-size:clamp(15px,1.5vw,22px);font-weight:800;line-height:1.25;color:rgba(15,23,42,.82)}.r2t-tv-groups.is-revealing .r2t-group-chip{animation:r2tGroupCardPop .8s ease both}.r2t-tv-groups.is-revealing .r2t-group-chip:nth-child(2){animation-delay:.08s}.r2t-tv-groups.is-revealing .r2t-group-chip:nth-child(3){animation-delay:.16s}.r2t-tv-groups.is-revealing .r2t-group-chip:nth-child(4){animation-delay:.24s}.r2t-tv-groups.is-revealing .r2t-group-chip:nth-child(5){animation-delay:.32s}@keyframes r2tGroupRevealFade{0%,70%{opacity:1}100%{opacity:0;visibility:hidden}}@keyframes r2tGroupCardPop{0%{transform:scale(.94);opacity:.15}100%{transform:scale(1);opacity:1}}

/* ---------------------------------------------------------
   Green Station worksheet preview
   Green Station should show the independent worksheet on screen
   like a large print preview, not as a list of links.
--------------------------------------------------------- */

.r2t-station-screen.station-green .r2t-station-main {
  overflow: hidden !important;
}

.r2t-station-screen.station-green .r2t-station-task-card {
  display: grid !important;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  align-content: stretch !important;
  text-align: left !important;
  height: 100%;
  min-height: 0;
  padding: clamp(12px, 1.6vw, 24px);
}

.r2t-station-screen.station-green [data-r2t-station-task] {
  font-size: clamp(1rem, 1.35vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: clamp(8px, 1vw, 16px);
}

.r2t-station-screen.station-green .r2t-station-resources.r2t-green-preview-resources {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: clamp(10px, 1vw, 18px);
  min-height: 0;
  height: 100%;
  margin-top: 0;
}

.r2t-green-worksheet-preview {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  height: 100%;
  background: #ffffff;
  border: 2px solid rgba(16, 42, 67, .12);
  border-radius: clamp(16px, 1.6vw, 26px);
  box-shadow: 0 14px 34px rgba(16, 42, 67, .12);
  overflow: hidden;
}

.r2t-green-worksheet-preview:not(.is-primary) {
  max-height: 28vh;
}

.r2t-green-worksheet-preview header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(8px, 1vw, 14px) clamp(12px, 1.4vw, 20px);
  background: #f8fafc;
  color: #13294b;
  border-bottom: 1px solid rgba(16, 42, 67, .1);
  font-size: clamp(.95rem, 1.1vw, 1.35rem);
  font-weight: 900;
}

.r2t-green-worksheet-preview header a {
  color: #13294b;
  text-decoration: none;
  background: #e6f6ff;
  border-radius: 999px;
  padding: .45em .8em;
  font-size: .85em;
  white-space: nowrap;
}

.r2t-green-preview-frame {
  min-height: 0;
  height: 100%;
  background: #eef3f8;
  overflow: hidden;
}

.r2t-green-preview-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 58vh;
  border: 0;
  background: #ffffff;
}

.r2t-green-preview-frame.is-image {
  display: grid;
  place-items: center;
  padding: clamp(8px, 1vw, 18px);
  background: #eaf8ee;
}

.r2t-green-preview-frame.is-image img {
  display: block;
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
}

.r2t-green-preview-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 32vh;
  padding: clamp(18px, 2vw, 32px);
  text-align: center;
  color: #13294b;
  font-size: clamp(1rem, 1.4vw, 1.8rem);
  font-weight: 800;
}

.r2t-green-preview-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #13294b;
  color: #ffffff;
  padding: .75em 1.1em;
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 760px), (max-height: 680px) {
  .r2t-green-preview-frame iframe {
    min-height: 50vh;
  }

  .r2t-green-preview-frame.is-image img {
    max-height: 56vh;
  }

  .r2t-green-worksheet-preview header {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* v1.5.22 AI schema inline task cards */
.r2t-station-inline-resource {
  width: min(100%, 980px);
  text-align: left;
  background: #ffffff;
  border: 2px solid rgba(16, 42, 67, .12);
  border-radius: clamp(16px, 1.6vw, 26px);
  padding: clamp(14px, 2vw, 28px);
  box-shadow: 0 14px 34px rgba(16, 42, 67, .12);
  color: var(--r2t-navy);
}
.r2t-station-inline-resource header { display: grid; gap: .25rem; margin-bottom: .75rem; }
.r2t-station-inline-resource header span { text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.72rem, .8vw, 1rem); font-weight: 950; color: #64748b; }
.r2t-station-inline-resource header strong { font-size: clamp(1.25rem, 2vw, 2.5rem); line-height: 1.05; }
.r2t-station-inline-instructions,
.r2t-station-inline-success,
.r2t-station-inline-note { font-size: clamp(1rem, 1.35vw, 1.6rem); line-height: 1.25; }
.r2t-station-inline-body { font-size: clamp(1.08rem, 1.55vw, 1.9rem); line-height: 1.28; font-weight: 750; }
.r2t-station-inline-note { color: #475569; font-weight: 650; }

/* Hard Lock v5: on-screen worksheet viewers and full-height Student TV carousel */
.r2t-station-screen .r2t-station-pdf-preview,
.r2t-station-screen .r2t-station-interactive {
  width: 100%;
}
.r2t-station-screen .r2t-station-pdf-preview iframe,
.r2t-station-screen .r2t-station-interactive iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #ffffff;
}
.r2t-station-screen .r2t-station-worksheet-viewer iframe {
  background: #eef3f8;
}
.r2t-tv-intro-shell {
  height: 100%;
  min-height: 0 !important;
  grid-template-rows: minmax(0, 1fr) !important;
}
.r2t-tv-intro-shell .r2t-tv-carousel {
  height: 100%;
  min-height: 0 !important;
}
.r2t-tv-intro-shell .r2t-tv-carousel-track {
  height: 100%;
  min-height: 0 !important;
}
.r2t-tv-intro-shell .r2t-tv-slide {
  min-height: 0;
}
.r2t-tv-intro-shell .r2t-tv-resources {
  display: none !important;
}


/* Hard Lock v6: Student TV post-orange station guide carousel */
.r2t-tv-station-guide[hidden] { display: none !important; }
.r2t-tv.is-showing-station-guide .r2t-tv-intro-shell {
  grid-template-rows: minmax(0, 1fr) !important;
}
.r2t-tv-station-guide {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15,39,66,.12);
  border-radius: 30px;
  box-shadow: 0 14px 44px rgba(15,39,66,.12);
}
.r2t-tv-station-guide-track {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.r2t-tv-station-guide-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(34px) scale(.985);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  text-align: center;
  padding: clamp(22px, 4vw, 60px);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  overflow: auto;
}
.r2t-tv-station-guide-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.r2t-tv-station-guide-slide .r2t-tv-slide-kicker {
  margin: 0;
}
.r2t-tv-station-guide-slide h2 {
  margin: 0;
  color: #0f2742;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .9;
  letter-spacing: -.06em;
}
.r2t-station-guide-names {
  max-width: min(1100px, 92%);
  margin: 0;
  font-size: clamp(24px, 3vw, 46px);
  line-height: 1.12;
  color: #334155;
  font-weight: 850;
}
.r2t-station-guide-task,
.r2t-station-guide-tip {
  width: min(1100px, 94%);
  border-radius: 26px;
  padding: clamp(18px, 2.2vw, 34px);
  border: 2px solid rgba(15,39,66,.10);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15,39,66,.08);
  text-align: left;
}
.r2t-station-guide-task strong,
.r2t-station-guide-tip strong {
  display: block;
  margin-bottom: 8px;
  color: #0f2742;
  font-size: clamp(18px, 1.6vw, 28px);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.r2t-station-guide-task p,
.r2t-station-guide-tip p {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 42px);
  line-height: 1.12;
  color: #1e293b;
  font-weight: 780;
}
.r2t-station-guide-tip {
  background: #fff7ed;
  border-color: #fed7aa;
}
.r2t-tv-station-guide-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 22px;
  background: #0f2742;
  color: #ffffff;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
@media (max-width: 760px), (max-height: 680px) {
  .r2t-tv-station-guide { border-radius: 22px; }
  .r2t-tv-station-guide-slide { padding: 22px; gap: 14px; }
  .r2t-tv-station-guide-slide h2 { font-size: clamp(36px, 10vw, 70px); }
  .r2t-station-guide-names { font-size: clamp(19px, 5vw, 30px); }
  .r2t-station-guide-task p,
  .r2t-station-guide-tip p { font-size: clamp(18px, 4.8vw, 28px); }
  .r2t-tv-station-guide-meta { font-size: 12px; padding: 10px 14px; }
}


/* Hard Lock v8: Student TV content container uses the full available width and height.
   This overrides older whole-class grid rules that squeezed the carousel into a card-sized panel. */
.r2t-tv[data-r2t-student-tv] {
  overflow: hidden !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-main.r2t-tv-intro-shell {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-track,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-track {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-slide,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-slide {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class .r2t-tv-main.r2t-tv-intro-shell,
.r2t-tv[data-r2t-student-tv].r2t-tv-rotation .r2t-tv-main.r2t-tv-intro-shell {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
}

@media (max-width: 760px), (max-height: 680px) {
  .r2t-tv[data-r2t-student-tv] .r2t-tv-main.r2t-tv-intro-shell {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }
}


/* Hard Lock v9: Student TV single-panel display.
   Orange intro carousel uses the whole available space.
   After Orange, the station guide carousel replaces it and also uses the whole available space. */
.r2t-tv[data-r2t-student-tv] {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-footer {
  display: none !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-main.r2t-tv-intro-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel[hidden],
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide[hidden],
.r2t-tv[data-r2t-student-tv].is-showing-station-guide .r2t-tv-carousel,
.r2t-tv[data-r2t-student-tv]:not(.is-showing-station-guide) .r2t-tv-station-guide {
  display: none !important;
}

.r2t-tv[data-r2t-student-tv]:not(.is-showing-station-guide) .r2t-tv-carousel,
.r2t-tv[data-r2t-student-tv].is-showing-station-guide .r2t-tv-station-guide {
  display: grid !important;
  grid-column: 1 / -1 !important;
  grid-row: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-track,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-track {
  min-height: 0 !important;
}

.r2t-tv[data-r2t-student-tv] .r2t-tv-slide,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-slide {
  min-height: 0 !important;
}


/* Hard Lock v11: Whole-class Student TV never shows group reveal. Orange intro remains manual until station rotation begins. */
.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class [data-r2t-tv-slide="groups"] {
  display: none !important;
}
.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class .r2t-tv-station-guide {
  display: none !important;
}


/* Hard Lock v21: keep Student TV carousel controls away from top-right dashboard/logout/timer buttons. */
.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel{position:relative!important;grid-template-rows:minmax(0,1fr)!important}
.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls{position:absolute!important;left:50%!important;right:auto!important;bottom:clamp(14px,3vh,32px)!important;transform:translateX(-50%)!important;z-index:80!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;width:min(720px,calc(100% - 220px))!important;max-width:calc(100% - 220px)!important;padding:10px 14px!important;border-radius:999px!important;background:rgba(15,39,66,.94)!important;box-shadow:0 16px 42px rgba(15,39,66,.25)!important}
.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls button{white-space:nowrap!important}
.r2t-tv[data-r2t-student-tv] .r2t-tv-slide{padding-bottom:clamp(90px,12vh,130px)!important}
@media(max-width:760px){.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;bottom:12px!important;gap:8px!important}.r2t-tv[data-r2t-student-tv] .r2t-tv-slide{padding-bottom:110px!important}}

/* Hard Lock v23: Teal quiz and Purple game on station screens */
.r2t-station-screen .r2t-generated-interactive {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.1rem;
  padding: clamp(14px, 2vw, 26px);
  border: 2px solid rgba(15,39,66,.12);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15,39,66,.12);
  text-align: left;
  color: #102a43;
}
.r2t-station-screen .r2t-generated-interactive header {
  display: grid;
  gap: .35rem;
  margin-bottom: 1rem;
}
.r2t-station-screen .r2t-generated-interactive header span {
  width: fit-content;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #fff3ea;
  color: #9a4c24;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.r2t-station-screen .r2t-generated-interactive header strong {
  font-size: clamp(1.35rem, 2.2vw, 2.55rem);
  line-height: 1.02;
}
.r2t-station-screen .r2t-generated-interactive header p,
.r2t-station-screen .r2t-generated-interactive footer span {
  margin: 0;
  color: #526171;
  font-weight: 700;
}
.r2t-station-screen .r2t-generated-interactive footer {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15,39,66,.12);
}
.r2t-station-screen .r2t-generated-interactive footer strong {
  font-size: 1.15rem;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: #eaf7ef;
  color: #0f6b3c;
}
.r2t-station-screen .r2t-generated-quiz-list {
  display: grid;
  gap: .9rem;
}
.r2t-station-screen .r2t-generated-question {
  border: 1px solid rgba(15,39,66,.12);
  border-radius: 20px;
  background: #f8fbff;
  padding: clamp(12px, 1.5vw, 20px);
}
.r2t-station-screen .r2t-generated-question h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
  line-height: 1.2;
}
.r2t-station-screen .r2t-generated-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .65rem;
}
.r2t-station-screen .r2t-generated-options button,
.r2t-station-screen .r2t-generated-match-card,
.r2t-station-screen .r2t-generated-drop-zone {
  min-height: 50px;
  border: 2px solid rgba(15,39,66,.14);
  border-radius: 16px;
  background: #ffffff;
  color: #102a43;
  font-weight: 900;
  font-size: 1rem;
  padding: .75rem .9rem;
  box-shadow: 0 8px 18px rgba(15,39,66,.08);
}
.r2t-station-screen .r2t-generated-options button.is-selected {
  border-color: #0f2742;
}
.r2t-station-screen .r2t-generated-options button.is-correct {
  background: #dcfce7;
  border-color: #16a34a;
}
.r2t-station-screen .r2t-generated-options button.is-incorrect,
.r2t-station-screen .r2t-generated-drop-zone.is-incorrect {
  background: #fee2e2;
  border-color: #ef4444;
}
.r2t-station-screen .r2t-generated-feedback {
  min-height: 1.25rem;
  margin: .65rem 0 0;
  color: #475569;
  font-weight: 800;
}
.r2t-station-screen .r2t-generated-game-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.r2t-station-screen .r2t-generated-card-bank,
.r2t-station-screen .r2t-generated-drop-bank {
  display: grid;
  align-content: start;
  gap: .75rem;
  padding: .75rem;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid rgba(15,39,66,.1);
  min-height: 280px;
}
.r2t-station-screen .r2t-generated-match-card {
  background: #efe7ff;
  cursor: grab;
}
.r2t-station-screen .r2t-generated-match-card.is-selected {
  outline: 4px solid rgba(124,58,237,.22);
  border-color: #7c3aed;
}
.r2t-station-screen .r2t-generated-match-card.is-matched {
  cursor: default;
  opacity: .98;
  background: #dcfce7;
  border-color: #16a34a;
}
.r2t-station-screen .r2t-generated-drop-zone {
  min-height: 70px;
  background: #ffffff;
  border-style: dashed;
}
.r2t-station-screen .r2t-generated-drop-zone.is-matched {
  border-style: solid;
  background: #f0fdf4;
  border-color: #16a34a;
}
.r2t-station-screen .r2t-generated-drop-zone.is-matched span {
  display: block;
  margin-bottom: .4rem;
  color: #166534;
}
@media (max-width: 760px) {
  .r2t-station-screen .r2t-generated-game-board {
    grid-template-columns: 1fr;
  }
  .r2t-station-screen .r2t-generated-card-bank,
  .r2t-station-screen .r2t-generated-drop-bank {
    min-height: 0;
  }
}


/* v1.5.50 Student-facing age-appropriate typography only
   Applies only to Student TV and Station screens. Dashboard, planner, teacher mode,
   lesson launch and admin pages deliberately keep their existing typography. */
.r2t-tv[data-r2t-age-band],
.r2t-station-screen[data-r2t-age-band] {
  font-family: var(--r2t-age-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif) !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --r2t-age-title: clamp(1.7rem, 3.4vw, 4.2rem);
  --r2t-age-slide-title: clamp(2rem, 4.4vw, 5rem);
  --r2t-age-heading: clamp(1.45rem, 2.8vw, 3.1rem);
  --r2t-age-body: clamp(1.15rem, 2vw, 2.35rem);
  --r2t-age-small: clamp(.92rem, 1.2vw, 1.2rem);
  --r2t-age-choice: clamp(1.05rem, 1.55vw, 1.45rem);
  --r2t-age-touch: 58px;
  --r2t-age-line-height: 1.36;
  --r2t-age-main-weight: 700;
  --r2t-age-letter-spacing: -0.025em;
}

.r2t-tv.r2t-age-early-primary,
.r2t-station-screen.r2t-age-early-primary {
  --r2t-age-font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --r2t-age-title: clamp(2rem, 4.6vw, 4.9rem);
  --r2t-age-slide-title: clamp(2.35rem, 5.6vw, 6rem);
  --r2t-age-heading: clamp(1.85rem, 3.8vw, 3.8rem);
  --r2t-age-body: clamp(1.35rem, 2.6vw, 2.9rem);
  --r2t-age-small: clamp(1.02rem, 1.45vw, 1.45rem);
  --r2t-age-choice: clamp(1.28rem, 2vw, 2.05rem);
  --r2t-age-touch: 74px;
  --r2t-age-line-height: 1.28;
  --r2t-age-main-weight: 800;
  --r2t-age-letter-spacing: -0.018em;
}

.r2t-tv.r2t-age-upper-primary,
.r2t-station-screen.r2t-age-upper-primary {
  --r2t-age-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --r2t-age-title: clamp(1.8rem, 3.8vw, 4.15rem);
  --r2t-age-slide-title: clamp(2rem, 4.5vw, 4.8rem);
  --r2t-age-heading: clamp(1.55rem, 3vw, 3.1rem);
  --r2t-age-body: clamp(1.15rem, 2.05vw, 2.25rem);
  --r2t-age-small: clamp(.96rem, 1.3vw, 1.25rem);
  --r2t-age-choice: clamp(1.1rem, 1.65vw, 1.7rem);
  --r2t-age-touch: 64px;
  --r2t-age-line-height: 1.36;
  --r2t-age-main-weight: 700;
}

.r2t-tv.r2t-age-junior-secondary,
.r2t-station-screen.r2t-age-junior-secondary {
  --r2t-age-font-family: "Inter", "Segoe UI", Arial, sans-serif;
  --r2t-age-title: clamp(1.55rem, 3vw, 3.45rem);
  --r2t-age-slide-title: clamp(1.75rem, 3.65vw, 3.8rem);
  --r2t-age-heading: clamp(1.35rem, 2.35vw, 2.55rem);
  --r2t-age-body: clamp(1rem, 1.58vw, 1.75rem);
  --r2t-age-small: clamp(.88rem, 1.1vw, 1.05rem);
  --r2t-age-choice: clamp(1rem, 1.35vw, 1.3rem);
  --r2t-age-touch: 54px;
  --r2t-age-line-height: 1.45;
  --r2t-age-main-weight: 600;
  --r2t-age-letter-spacing: -0.012em;
}

.r2t-tv.r2t-age-senior-secondary,
.r2t-station-screen.r2t-age-senior-secondary {
  --r2t-age-font-family: "Inter", "Segoe UI", Arial, sans-serif;
  --r2t-age-title: clamp(1.42rem, 2.55vw, 3rem);
  --r2t-age-slide-title: clamp(1.55rem, 3vw, 3.25rem);
  --r2t-age-heading: clamp(1.22rem, 2vw, 2.15rem);
  --r2t-age-body: clamp(.96rem, 1.35vw, 1.45rem);
  --r2t-age-small: clamp(.84rem, 1vw, 1rem);
  --r2t-age-choice: clamp(.95rem, 1.15vw, 1.18rem);
  --r2t-age-touch: 48px;
  --r2t-age-line-height: 1.5;
  --r2t-age-main-weight: 500;
  --r2t-age-letter-spacing: -0.006em;
}

.r2t-tv[data-r2t-age-band] .r2t-tv-header h1,
.r2t-station-screen[data-r2t-age-band] .r2t-tv-header h1,
.r2t-station-screen[data-r2t-age-band] .r2t-tv-header h1 .r2t-station-pill {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-title) !important;
  line-height: 1.04 !important;
  letter-spacing: var(--r2t-age-letter-spacing) !important;
}

.r2t-tv[data-r2t-age-band] .r2t-tv-slide h2,
.r2t-tv[data-r2t-age-band] .r2t-topic-card h2,
.r2t-tv[data-r2t-age-band] .r2t-tv-station-guide-slide h2,
.r2t-station-screen[data-r2t-age-band] .r2t-station-task-card h2 {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-slide-title) !important;
  line-height: 1.05 !important;
  letter-spacing: var(--r2t-age-letter-spacing) !important;
}

.r2t-tv[data-r2t-age-band] .r2t-tv-main h2,
.r2t-station-screen[data-r2t-age-band] .r2t-response-title,
.r2t-station-screen[data-r2t-age-band] .r2t-online-activity-card h3,
.r2t-station-screen[data-r2t-age-band] .r2t-station-inline-resource header strong,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-interactive header strong {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-heading) !important;
  line-height: 1.12 !important;
  letter-spacing: var(--r2t-age-letter-spacing) !important;
}

.r2t-tv[data-r2t-age-band] .r2t-tv-slide p,
.r2t-tv[data-r2t-age-band] .r2t-tv-slide li,
.r2t-tv[data-r2t-age-band] .r2t-tv-main p,
.r2t-tv[data-r2t-age-band] .r2t-tv-main li,
.r2t-tv[data-r2t-age-band] .r2t-tv-footer,
.r2t-station-screen[data-r2t-age-band] .r2t-station-task-card p,
.r2t-station-screen[data-r2t-age-band] .r2t-station-inline-body,
.r2t-station-screen[data-r2t-age-band] .r2t-online-activity-card p,
.r2t-station-screen[data-r2t-age-band] .r2t-response-help,
.r2t-station-screen[data-r2t-age-band] .r2t-response-question-prompt,
.r2t-station-screen[data-r2t-age-band] .r2t-response-question-field .r2t-response-field-label,
.r2t-station-screen[data-r2t-age-band] .r2t-response-drawing-question .r2t-response-field-label,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-question h3,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-feedback,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-interactive header p,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-interactive footer span {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-body) !important;
  line-height: var(--r2t-age-line-height) !important;
  font-weight: var(--r2t-age-main-weight) !important;
}

.r2t-tv[data-r2t-age-band] .r2t-kicker,
.r2t-tv[data-r2t-age-band] .r2t-tv-slide-kicker,
.r2t-station-screen[data-r2t-age-band] .r2t-kicker,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-interactive header span,
.r2t-station-screen[data-r2t-age-band] .r2t-print-note {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-small) !important;
}

.r2t-station-screen[data-r2t-age-band] .r2t-generated-options button,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-match-card,
.r2t-station-screen[data-r2t-age-band] .r2t-generated-drop-zone,
.r2t-station-screen[data-r2t-age-band] .r2t-station-resource-button,
.r2t-station-screen[data-r2t-age-band] .r2t-response-name-pill,
.r2t-station-screen[data-r2t-age-band] .r2t-response-submit,
.r2t-station-screen[data-r2t-age-band] .r2t-station-action-button {
  font-family: var(--r2t-age-font-family) !important;
  font-size: var(--r2t-age-choice) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  min-height: var(--r2t-age-touch) !important;
}

.r2t-station-screen.r2t-age-early-primary .r2t-generated-options,
.r2t-station-screen.r2t-age-early-primary .r2t-generated-card-bank,
.r2t-station-screen.r2t-age-early-primary .r2t-generated-drop-bank,
.r2t-station-screen.r2t-age-early-primary .r2t-response-name-grid {
  gap: clamp(.8rem, 1.6vw, 1.25rem) !important;
}

.r2t-station-screen.r2t-age-early-primary .r2t-generated-question,
.r2t-station-screen.r2t-age-early-primary .r2t-generated-interactive,
.r2t-station-screen.r2t-age-early-primary .r2t-station-inline-resource,
.r2t-station-screen.r2t-age-early-primary .r2t-online-activity-card,
.r2t-station-screen.r2t-age-early-primary .r2t-response-question-field {
  border-radius: 28px !important;
}

.r2t-tv.r2t-age-junior-secondary .r2t-tv-slide,
.r2t-tv.r2t-age-senior-secondary .r2t-tv-slide {
  text-align: left !important;
}

.r2t-tv.r2t-age-junior-secondary .r2t-tv-slide h2,
.r2t-tv.r2t-age-senior-secondary .r2t-tv-slide h2,
.r2t-tv.r2t-age-junior-secondary .r2t-topic-card,
.r2t-tv.r2t-age-senior-secondary .r2t-topic-card {
  text-align: left !important;
  place-items: start !important;
}

/* GPT-5.5 v1.5.52: Student TV teacher controls stay compact so they do not cover student text. */
.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: clamp(10px, 1.4vh, 18px) !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 320px) !important;
  gap: 7px !important;
  padding: 6px 8px !important;
  border-radius: 999px !important;
  background: rgba(15,39,66,.88) !important;
  box-shadow: 0 10px 28px rgba(15,39,66,.20) !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls button {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(12px, .95vw, 16px) !important;
  line-height: 1.05 !important;
  font-weight: 850 !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-slide-count {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-size: clamp(12px, .9vw, 15px) !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .04em !important;
  min-width: 58px !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-slide {
  padding-bottom: clamp(60px, 7vh, 82px) !important;
}
@media (max-width: 760px), (max-height: 680px) {
  .r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls {
    bottom: 8px !important;
    max-width: calc(100% - 26px) !important;
    gap: 5px !important;
    padding: 5px 6px !important;
  }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-carousel-controls button {
    font-size: 12px !important;
    padding: 7px 9px !important;
  }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-slide-count {
    font-size: 11px !important;
    min-width: 48px !important;
  }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-slide {
    padding-bottom: 58px !important;
  }
}

/* GPT-5.5 v1.5.52: Station guide auto-carousel uses a classroom-display two-column layout. */
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-slide {
  align-content: stretch !important;
  justify-items: stretch !important;
  text-align: left !important;
  padding: clamp(18px, 2.5vw, 42px) !important;
  gap: 0 !important;
}
.r2t-station-guide-layout {
  width: min(1680px, 100%) !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(240px, .34fr) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 34px) !important;
  align-items: stretch !important;
}
.r2t-station-guide-left,
.r2t-station-guide-right {
  min-height: 0 !important;
  border: 2px solid rgba(15,39,66,.10) !important;
  border-radius: clamp(22px, 2vw, 34px) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 34px rgba(15,39,66,.09) !important;
}
.r2t-station-guide-left {
  display: grid !important;
  align-content: center !important;
  gap: clamp(12px, 1.5vw, 22px) !important;
  padding: clamp(18px, 2vw, 34px) !important;
  border-top-width: 10px !important;
}
.r2t-station-guide-left.station-blue { border-top-color: var(--r2t-blue) !important; }
.r2t-station-guide-left.station-yellow { border-top-color: var(--r2t-yellow) !important; }
.r2t-station-guide-left.station-green { border-top-color: var(--r2t-green) !important; }
.r2t-station-guide-left.station-purple { border-top-color: var(--r2t-purple) !important; }
.r2t-station-guide-left.station-teal { border-top-color: var(--r2t-teal) !important; }
.r2t-station-guide-left.station-red { border-top-color: var(--r2t-red) !important; }
.r2t-station-guide-left.station-white { border-top-color: #cbd5e1 !important; }
.r2t-station-guide-left .r2t-tv-slide-kicker {
  justify-self: start !important;
  margin: 0 !important;
}
.r2t-station-guide-colour {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  padding: .45em .75em !important;
  border: 3px solid rgba(0,0,0,.08) !important;
  color: #111827 !important;
  font-size: clamp(18px, 1.65vw, 30px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}
.r2t-tv[data-r2t-age-band] .r2t-tv-station-guide-slide .r2t-station-guide-left h2,
.r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-slide .r2t-station-guide-left h2 {
  margin: 0 !important;
  font-size: clamp(34px, 5.4vw, 86px) !important;
  line-height: .95 !important;
  letter-spacing: -.05em !important;
}
.r2t-tv[data-r2t-age-band] .r2t-station-guide-names,
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-names {
  max-width: 100% !important;
  margin: 0 !important;
  font-size: clamp(20px, 2vw, 34px) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
}
.r2t-station-guide-right {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) minmax(0, .72fr) !important;
  gap: clamp(14px, 1.6vw, 24px) !important;
  padding: clamp(16px, 1.8vw, 30px) !important;
}
.r2t-station-guide-right .r2t-station-guide-task,
.r2t-station-guide-right .r2t-station-guide-tip {
  width: 100% !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  align-content: center !important;
  margin: 0 !important;
}
.r2t-station-guide-right .r2t-station-guide-task strong,
.r2t-station-guide-right .r2t-station-guide-tip strong {
  font-size: clamp(15px, 1.2vw, 24px) !important;
}
.r2t-tv[data-r2t-age-band] .r2t-station-guide-right .r2t-station-guide-task p,
.r2t-tv[data-r2t-age-band] .r2t-station-guide-right .r2t-station-guide-tip p,
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-right .r2t-station-guide-task p,
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-right .r2t-station-guide-tip p {
  font-size: clamp(22px, 2.4vw, 42px) !important;
  line-height: 1.16 !important;
  font-weight: 780 !important;
}
@media (max-width: 900px), (max-height: 620px) {
  .r2t-station-guide-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
  }
  .r2t-station-guide-left {
    align-content: start !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
  }
  .r2t-station-guide-left .r2t-tv-slide-kicker { display: none !important; }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-station-guide-slide .r2t-station-guide-left h2 {
    font-size: clamp(28px, 7vw, 54px) !important;
  }
  .r2t-tv[data-r2t-student-tv] .r2t-station-guide-names {
    grid-column: 1 / -1 !important;
    font-size: clamp(16px, 4.2vw, 26px) !important;
  }
}



/* v1.5.53: obvious fullscreen control for student-facing classroom displays. */
.r2t-tv-header.r2t-has-fullscreen {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

.r2t-tv-header-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: clamp(10px, 1vw, 16px);
  min-width: 0;
  justify-self: end;
}

.r2t-fullscreen-button {
  appearance: none;
  border: 2px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #0f2742;
  box-shadow: 0 12px 26px rgba(15,39,66,.18);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: clamp(.88rem, 1vw, 1.08rem);
  font-weight: 1000;
  line-height: 1;
  padding: clamp(10px, .9vw, 13px) clamp(13px, 1.2vw, 18px);
  white-space: nowrap;
  user-select: none;
}

.r2t-fullscreen-button:hover,
.r2t-fullscreen-button:focus-visible {
  background: #fff7ed;
  border-color: #ffb16d;
  outline: 3px solid rgba(255,177,109,.32);
  outline-offset: 2px;
}

.r2t-fullscreen-button span {
  font-size: 1.2em;
  line-height: .9;
}

.r2t-fullscreen-button strong {
  font-weight: 1000;
}

.r2t-fullscreen-button.is-fullscreen {
  background: #dcfce7;
  border-color: rgba(34,197,94,.55);
}

.r2t-tv:fullscreen,
.r2t-station-screen:fullscreen {
  width: 100vw;
  height: 100vh;
  background: #eaf7ff;
}

.r2t-tv:-webkit-full-screen,
.r2t-station-screen:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #eaf7ff;
}

@media (max-width: 900px), (max-height: 700px) {
  .r2t-tv-header-actions {
    align-items: center;
    gap: 8px;
  }
  .r2t-fullscreen-button {
    padding: 9px 12px;
    font-size: .82rem;
  }
  .r2t-fullscreen-button strong {
    display: none;
  }
}


/* v1.5.54: station-page fullscreen and kiosk-friendly display guardrails. */
body.r2t-student-display-active .r2t-global-account-bar,
body.r2t-student-display-fullscreen .r2t-global-account-bar,
body.r2t-student-kiosk-ready .r2t-global-account-bar {
  display: none !important;
}

.r2t-kiosk-ready .r2t-fullscreen-button {
  background: #fff7ed;
  border-color: #ffb16d;
  box-shadow: 0 14px 30px rgba(255,112,32,.20);
}

.r2t-kiosk-ready .r2t-fullscreen-button::after {
  content: "best display";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  padding: 4px 7px;
  font-size: .72em;
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.r2t-tv.is-display-fullscreen,
.r2t-station-screen.is-display-fullscreen {
  border-radius: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.r2t-tv.is-display-fullscreen .r2t-tv-header,
.r2t-station-screen.is-display-fullscreen .r2t-tv-header {
  border-radius: 0 0 18px 18px !important;
}

.r2t-station-screen .r2t-fullscreen-button {
  position: relative;
  z-index: 25;
}

@media (max-width: 900px), (max-height: 760px) {
  .r2t-kiosk-ready .r2t-fullscreen-button::after {
    display: none;
  }
}

/* v1.5.56: concise student-facing banner without changing station resource rendering. */
.r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header,
.r2t-station-screen .r2t-tv-header.r2t-simple-display-header {
  min-height: 0 !important;
  padding: clamp(8px, 1vw, 16px) clamp(14px, 1.8vw, 28px) !important;
  border-radius: 0 0 clamp(16px, 1.8vw, 26px) clamp(16px, 1.8vw, 26px) !important;
  align-items: center !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-simple-display-banner,
.r2t-station-screen .r2t-simple-display-banner {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: clamp(8px, 1vw, 16px) !important;
}
.r2t-simple-station-label,
.r2t-simple-group-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: 100% !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 20px rgba(15,39,66,.16) !important;
}
.r2t-simple-station-label {
  color: #0f2742 !important;
  background: #fff !important;
  border: 3px solid rgba(255,255,255,.55) !important;
  font-family: var(--r2t-age-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
  font-size: clamp(24px, 3vw, 52px) !important;
  font-weight: 1000 !important;
  letter-spacing: -.025em !important;
  padding: .28em .58em !important;
}
.r2t-simple-group-label {
  background: rgba(255,255,255,.18) !important;
  border: 2px solid rgba(255,255,255,.32) !important;
  color: #fff !important;
  font-family: var(--r2t-age-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif) !important;
  font-size: clamp(20px, 2.2vw, 40px) !important;
  font-weight: 950 !important;
  padding: .36em .7em !important;
}
.r2t-simple-group-label[hidden] { display: none !important; }
.r2t-simple-station-label.station-blue { background: var(--r2t-blue, #8ed3ff) !important; }
.r2t-simple-station-label.station-yellow { background: var(--r2t-yellow, #ffe082) !important; }
.r2t-simple-station-label.station-green { background: var(--r2t-green, #86efac) !important; }
.r2t-simple-station-label.station-purple { background: var(--r2t-purple, #d8b4fe) !important; }
.r2t-simple-station-label.station-teal { background: var(--r2t-teal, #5eead4) !important; }
.r2t-simple-station-label.station-orange,
.r2t-simple-station-label.station-transition { background: #ffb16d !important; }
.r2t-simple-station-label.station-red { background: var(--r2t-red, #fca5a5) !important; }
.r2t-simple-station-label.station-white { background: #f8fafc !important; }
.r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header .r2t-kicker,
.r2t-station-screen .r2t-tv-header.r2t-simple-display-header .r2t-kicker,
.r2t-station-screen .r2t-station-task-card-simple > .r2t-kicker,
.r2t-station-screen .r2t-station-task-card-simple > h2 {
  display: none !important;
}
.r2t-station-screen .r2t-station-task-card-simple {
  align-content: start !important;
  text-align: center !important;
  padding-top: clamp(18px, 2.5vh, 34px) !important;
}
.r2t-station-students-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto clamp(12px, 2vh, 24px);
  max-width: 100%;
}
.r2t-station-students-strip[hidden] { display: none !important; }
.r2t-station-students-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #dbe4ef;
  color: #0f2742;
  font-weight: 950;
  padding: 9px 14px;
  font-size: clamp(16px, 1.6vw, 24px);
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer,
.r2t-station-screen .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer {
  width: clamp(74px, 7vw, 118px) !important;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.16) !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer strong,
.r2t-station-screen .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer strong {
  font-size: clamp(1.35rem, 2.05vw, 2.55rem) !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer span,
.r2t-station-screen .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer span {
  font-size: clamp(.52rem, .72vw, .82rem) !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-left {
  justify-content: center !important;
  align-content: center !important;
  text-align: center !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-left .r2t-tv-slide-kicker,
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-colour,
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-left h2 {
  display: none !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-names {
  margin: 0 !important;
  font-size: clamp(24px, 3.4vw, 56px) !important;
  line-height: 1.05 !important;
  color: #0f2742 !important;
  font-weight: 1000 !important;
}
.r2t-tv[data-r2t-student-tv] .r2t-station-guide-layout-simple .r2t-station-guide-names.is-empty {
  font-size: clamp(18px, 2.2vw, 32px) !important;
  color: #64748b !important;
}
.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class .r2t-simple-group-label,
.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class .r2t-station-guide-left,
.r2t-tv[data-r2t-student-tv].r2t-tv-whole-class .r2t-station-guide-names {
  display: none !important;
}
@media (max-width: 900px), (max-height: 720px) {
  .r2t-simple-station-label { font-size: clamp(20px, 4vw, 40px) !important; }
  .r2t-simple-group-label { font-size: clamp(18px, 3vw, 30px) !important; }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header,
  .r2t-station-screen .r2t-tv-header.r2t-simple-display-header { padding: 8px 12px !important; }
  .r2t-tv[data-r2t-student-tv] .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer,
  .r2t-station-screen .r2t-tv-header.r2t-simple-display-header .r2t-visual-timer { width: 72px !important; }
}
