.entry-report {
  --entry-report-canvas: var(--rostra-canvas, #030507);
  --entry-report-surface: var(--rostra-surface, #0b0f14);
  --entry-report-raised: var(--rostra-surface-raised, #11161d);
  --entry-report-inset: var(--rostra-surface-inset, #070a0f);
  --entry-report-control: var(--rostra-surface-control, #151b23);
  --entry-report-selected: var(--rostra-surface-selected, #121a26);
  --entry-report-text: var(--rostra-text-primary, #ffffff);
  --entry-report-text-secondary: var(--rostra-text-secondary, #c7ced8);
  --entry-report-text-muted: var(--rostra-text-muted, #87919f);
  --entry-report-border: var(--rostra-border, #242a33);
  --entry-report-border-strong: var(--rostra-border-strong, #38414d);
  --entry-report-focus: var(--rostra-focus, #6da8ff);
  --entry-report-success: var(--rostra-success, #42c67a);
  --entry-report-warning: var(--rostra-warning, #f2b84b);
  --entry-report-danger: var(--rostra-danger, #ff6b5f);
  --entry-report-radius: var(--rostra-radius-md, 6px);
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  color: var(--entry-report-text);
  font-family: var(--font-sans, "Avenir Next", "Segoe UI", sans-serif);
}

/* Report controls live in entry-ui/ too, so their cursor URLs must step back
   to the shared asset root in both hosted and file:// builds. */
@media (any-hover: hover) and (any-pointer: fine) and (forced-colors: none) {
  .entry-report {
    --cursor-rostra-default: url("../assets/cursors/rostra-arrow.svg") 7 7, default;
    --cursor-rostra-action: url("../assets/cursors/rostra-action.svg") 14 15, pointer;
    --cursor-rostra-text: url("../assets/cursors/rostra-text.svg") 14 17, text;
    --cursor-rostra-unavailable: url("../assets/cursors/rostra-unavailable.svg") 17 17, not-allowed;
    --cursor-rostra-grab: url("../assets/cursors/rostra-grab.svg") 18 18, grab;
    --cursor-rostra-grabbing: url("../assets/cursors/rostra-grabbing.svg") 18 18, grabbing;
    --cursor-rostra-video: url("../assets/cursors/rostra-video.svg") 19 19, pointer;
  }
}

.entry-report,
.entry-report * {
  box-sizing: border-box;
}

.entry-report h1,
.entry-report h2,
.entry-report h3,
.entry-report p {
  margin: 0;
}

.entry-report button,
.entry-report input,
.entry-report select,
.entry-report textarea {
  font: inherit;
}

.entry-report .entry-report__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.entry-report .entry-report__score-panel > h2,
.entry-report .entry-report__score-heading > h2,
.entry-report .entry-report__correction-labels,
.entry-report .entry-report__activity-name,
.entry-report .entry-report__notes > span {
  color: var(--entry-report-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-report .entry-report__button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-control);
  color: var(--entry-report-text-secondary);
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  cursor: var(--cursor-rostra-action, pointer);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.entry-report .entry-report__button:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--entry-report-focus) 70%, var(--entry-report-border));
  background: color-mix(in srgb, var(--entry-report-control) 82%, var(--entry-report-focus));
  color: var(--entry-report-text);
}

.entry-report .entry-report__button:active:not(:disabled) {
  transform: scale(0.96);
}

.entry-report .entry-report__button:focus-visible,
.entry-report .entry-report__student-select:focus-visible,
.entry-report select:focus-visible,
.entry-report input:focus-visible,
.entry-report textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--entry-report-focus) 76%, transparent);
  outline-offset: 2px;
}

.entry-report .entry-report__button:disabled,
.entry-report .entry-report__student-select:disabled {
  cursor: var(--cursor-rostra-unavailable, not-allowed);
  opacity: 0.43;
}

.entry-report .entry-report__button--primary {
  border-color: var(--entry-report-focus);
  background: var(--entry-report-focus);
  color: var(--entry-report-canvas);
}

.entry-report .entry-report__button--primary:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--entry-report-focus) 80%, white);
  background: color-mix(in srgb, var(--entry-report-focus) 86%, white);
  color: var(--entry-report-canvas);
}

.entry-report .entry-report__button--square,
.entry-report .entry-report__button--square-primary {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

.entry-report .entry-report__button--square-primary {
  border-color: var(--entry-report-focus);
  background: color-mix(in srgb, var(--entry-report-focus) 12%, var(--entry-report-control));
  color: var(--entry-report-text);
}

.entry-report .entry-report__button--square > span:last-child,
.entry-report .entry-report__button--square-primary > span:last-child,
.entry-report .entry-report__button--stepper > span:last-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.entry-report .entry-report__button-icon {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  flex: 0 0 auto;
}

.entry-report .entry-report__button-icon > svg {
  width: 100%;
  height: 100%;
}

.entry-report .entry-report__workspace {
  display: grid;
  height: 100%;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(330px, 372px) minmax(0, 1fr);
  gap: 12px;
}

.entry-report .entry-report__score-panel,
.entry-report .entry-report__correction-panel {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-surface);
}

.entry-report .entry-report__score-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.entry-report .entry-report__score-panel > h2 {
  padding-block: 4px 0;
}

.entry-report .entry-report__score-heading {
  display: flex;
  min-width: 0;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.entry-report .entry-report__score-heading > h2 {
  padding-block: 4px 0;
}

.entry-report .entry-report__heading-controls {
  display: flex;
  min-width: 0;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.entry-report .entry-report__scope-control {
  display: grid;
  min-width: 142px;
  gap: 4px;
}

.entry-report .entry-report__scope-control > span {
  color: var(--entry-report-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.entry-report .entry-report__scope-control select {
  width: 100%;
  min-height: 34px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-canvas);
  color: var(--entry-report-text);
  font-size: 12px;
  font-weight: 680;
}

.entry-report .entry-report__scope-control select:disabled {
  cursor: var(--cursor-rostra-unavailable, not-allowed);
  opacity: 0.5;
}

.entry-report .entry-report__student-list {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.entry-report .entry-report__student-row {
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 5px 8px 5px 10px;
  border: 1px solid var(--entry-report-border);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-inset);
}

.entry-report .entry-report__student-row--selected {
  border-color: var(--entry-report-text);
  box-shadow: inset 3px 0 0 var(--entry-report-activity-accent, var(--entry-report-focus));
}

.entry-report .entry-report__student-row--copy-complete {
  border-color: color-mix(in srgb, var(--entry-report-success) 72%, var(--entry-report-border));
  background: color-mix(in srgb, var(--entry-report-success) 18%, var(--entry-report-inset));
  box-shadow: inset 3px 0 0 var(--entry-report-success);
}

.entry-report .entry-report__student-row--selected.entry-report__student-row--copy-complete {
  border-color: var(--entry-report-text);
  box-shadow: inset 3px 0 0 var(--entry-report-success);
}

.entry-report .entry-report__student-select {
  display: flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: var(--cursor-rostra-action, pointer);
}

.entry-report .entry-report__student-copy {
  display: block;
  min-width: 0;
}

.entry-report .entry-report__student-copy strong {
  overflow: hidden;
  color: var(--entry-report-text);
  font-size: 14px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-report .entry-report__student-score {
  color: var(--entry-report-text-secondary);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 14px;
}

.entry-report .entry-report__row-copy-actions {
  display: flex;
  gap: 8px;
}

.entry-report .entry-report__row-copy-actions .entry-report__button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
}

.entry-report .entry-report__correction-panel {
  --entry-report-activity-accent: var(--entry-report-focus);
  display: grid;
  grid-template-rows: auto auto minmax(0, auto) minmax(104px, 1fr) 28px auto;
  gap: 10px;
  padding: 14px;
  overflow: hidden;
  box-shadow: inset 3px 0 0 color-mix(in srgb, var(--entry-report-activity-accent) 70%, transparent);
}

.entry-report .entry-report__correction-heading {
  display: grid;
  gap: 7px;
}

.entry-report .entry-report__correction-heading h2 {
  color: var(--entry-report-text);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.entry-report .entry-report__correction-heading p {
  max-width: 58ch;
  color: var(--entry-report-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.entry-report .entry-report__activity-name {
  color: var(--entry-report-activity-accent);
}

.entry-report .entry-report__correction-labels,
.entry-report .entry-report__correction-row {
  display: grid;
  grid-template-columns: minmax(132px, 1.1fr) minmax(76px, 0.7fr) minmax(150px, 1.2fr);
  align-items: center;
  gap: 10px;
}

.entry-report .entry-report__correction-labels {
  padding-inline: 10px;
}

.entry-report .entry-report__correction-fields {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 8px;
  overflow: auto;
}

.entry-report .entry-report__correction-row {
  min-height: 58px;
  padding: 7px 9px;
  border: 1px solid var(--entry-report-border);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-inset);
}

.entry-report .entry-report__correction-row--changed {
  border-color: color-mix(in srgb, var(--entry-report-warning) 68%, var(--entry-report-border));
  background: color-mix(in srgb, var(--entry-report-warning) 5%, var(--entry-report-inset));
}

.entry-report .entry-report__correction-row > strong {
  color: var(--entry-report-text);
  font-size: 13px;
}

.entry-report .entry-report__current-field {
  color: var(--entry-report-text-secondary);
  font-size: 13px;
}

.entry-report .entry-report__correction-control {
  min-width: 0;
}

.entry-report .entry-report__correction-control select,
.entry-report .entry-report__correction-control input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-canvas);
  color: var(--entry-report-text);
  font-size: 13px;
  font-weight: 680;
}

.entry-report .entry-report__stepper {
  display: grid;
  grid-template-columns: 36px minmax(44px, 1fr) 36px;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-canvas);
  overflow: hidden;
}

.entry-report .entry-report__button--stepper {
  width: 36px;
  min-width: 36px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.entry-report .entry-report__button--stepper .entry-report__button-icon {
  width: 15px;
  height: 15px;
}

.entry-report .entry-report__stepper output {
  color: var(--entry-report-text);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 14px;
  text-align: center;
}

.entry-report .entry-report__notes {
  display: grid;
  min-height: 104px;
  grid-template-rows: auto minmax(76px, 1fr);
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--entry-report-border);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-inset);
}

.entry-report .entry-report__notes textarea {
  width: 100%;
  height: 100%;
  min-height: 74px;
  padding: 0;
  resize: none;
  border: 0;
  outline-offset: 5px;
  background: transparent;
  color: var(--entry-report-text);
  font-size: 13px;
  line-height: 1.45;
}

.entry-report .entry-report__status-region {
  display: flex;
  min-height: 28px;
  align-items: center;
  color: var(--entry-report-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.entry-report .entry-report__status-region--warning {
  color: var(--entry-report-warning);
}

.entry-report .entry-report__status-region--danger {
  color: var(--entry-report-danger);
}

.entry-report .entry-report__status-region--success {
  color: var(--entry-report-success);
}

.entry-report .entry-report__correction-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 0.75fr);
  gap: 8px;
}

.entry-report .entry-report__correction-actions .entry-report__button {
  width: 100%;
}

.entry-report .entry-report__correction-actions .entry-report__button:disabled {
  border-color: var(--entry-report-border-strong);
  background: var(--entry-report-control);
  color: var(--entry-report-text-muted);
  opacity: 1;
}

.entry-report .entry-report__empty {
  display: grid;
  min-height: 120px;
  place-items: center;
  padding: 20px;
  border: 1px dashed var(--entry-report-border-strong);
  border-radius: var(--entry-report-radius);
  color: var(--entry-report-text-muted);
  font-size: 13px;
  text-align: center;
}

.entry-report .entry-report__empty--fields {
  min-height: 86px;
}

.entry-student-display {
  --entry-display-canvas: var(--rostra-canvas, #030507);
  --entry-display-surface: var(--rostra-surface, #0b0f14);
  --entry-display-control: var(--rostra-surface-control, #151b23);
  --entry-display-text: var(--rostra-text-primary, #ffffff);
  --entry-display-text-muted: var(--rostra-text-muted, #87919f);
  --entry-display-border: var(--rostra-border, #242a33);
  --entry-display-success: var(--rostra-success, #42c67a);
  --entry-display-warning: var(--rostra-warning, #f2b84b);
  --entry-display-danger: var(--rostra-danger, #ff6b5f);
  display: grid;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 40px;
  overflow: hidden;
  background: var(--entry-display-canvas);
  color: var(--entry-display-text);
  font-family: var(--font-sans, "Avenir Next", "Segoe UI", sans-serif);
}

.entry-student-display,
.entry-student-display * {
  box-sizing: border-box;
}

.entry-student-display h1,
.entry-student-display p {
  margin: 0;
}

.entry-student-display .entry-student-display__stage {
  display: grid;
  min-height: 0;
  place-items: center;
  align-content: center;
  gap: 26px;
  padding: 56px 72px;
  overflow: hidden;
  border: 1px solid var(--entry-display-border);
  border-radius: var(--rostra-radius-md, 6px);
  background: var(--entry-display-surface);
  text-align: center;
}

.entry-student-display .entry-student-display__stage--live {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.entry-student-display .entry-student-display__live-grid {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1.58fr) minmax(270px, 0.58fr);
  gap: 18px;
}

.entry-student-display .entry-student-display__live-card {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--entry-display-border);
  border-radius: var(--rostra-radius-md, 6px);
  background: var(--entry-display-surface);
}

.entry-student-display .entry-student-display__live-primary {
  position: relative;
  display: grid;
  grid-template-rows: minmax(108px, auto) minmax(0, 1fr);
  padding: 0;
  border-color: color-mix(in srgb, var(--stage-accent, var(--entry-display-success)) 28%, var(--entry-display-border));
  box-shadow: inset 5px 0 0 var(--stage-accent, var(--entry-display-success));
}

.entry-student-display .entry-student-display__live-speaker {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(24px, 3vh, 36px) clamp(30px, 3.8vw, 52px);
  border-bottom: 1px solid var(--entry-display-border);
}

.entry-student-display .entry-student-display__live-label {
  color: var(--entry-display-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-student-display .entry-student-display__live-speaker strong {
  overflow: hidden;
  color: var(--entry-display-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: clamp(34px, 3.7vw, 54px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-student-display .entry-student-display__live-speaker-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.entry-student-display .entry-student-display__live-cue-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--stage-accent, var(--entry-display-success));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stage-accent, var(--entry-display-success)) 16%, transparent);
}

.entry-student-display .entry-student-display__live-speaker-names--pair {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(10px, 1.4vw, 20px);
}

.entry-student-display .entry-student-display__live-speaker-names--pair strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

.entry-student-display .entry-student-display__live-speaker-join {
  color: var(--entry-display-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: clamp(13px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-student-display .entry-student-display__live-prompt {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, auto) auto;
  align-content: center;
  overflow: hidden;
  gap: clamp(14px, 2vh, 24px);
  padding: clamp(28px, 4vh, 48px) clamp(30px, 3.8vw, 52px);
}

.entry-student-display .entry-student-display__live-prompt-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.entry-student-display .entry-student-display__live-prompt h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--entry-display-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: clamp(40px, 4.65vw, 66px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: none;
  text-wrap: balance;
}

.entry-student-display .entry-student-display__live-prompt--medium h1 {
  font-size: clamp(36px, 4vw, 56px);
}

.entry-student-display .entry-student-display__live-prompt--long h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.entry-student-display .entry-student-display__live-prompt p {
  max-width: 820px;
  color: var(--entry-display-text-muted);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.35;
  text-wrap: balance;
}

.entry-student-display .entry-student-display__live-rail {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.entry-student-display .entry-student-display__live-timer,
.entry-student-display .entry-student-display__live-next {
  display: grid;
  min-height: 0;
  align-content: center;
  gap: 18px;
  padding: clamp(22px, 2.8vw, 38px);
}

.entry-student-display .entry-student-display__live-timer {
  gap: 10px;
  padding: 18px;
  justify-items: center;
  text-align: center;
}

.entry-student-display .entry-student-display__live-timer-ring {
  position: relative;
  display: grid;
  width: clamp(136px, 13vw, 158px);
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
}

.entry-student-display .entry-student-display__live-timer-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.entry-student-display .entry-student-display__live-timer-track,
.entry-student-display .entry-student-display__live-timer-progress {
  fill: none;
  stroke-width: 7;
}

.entry-student-display .entry-student-display__live-timer-track {
  stroke: color-mix(in srgb, var(--entry-display-border) 76%, var(--entry-display-text) 8%);
}

.entry-student-display .entry-student-display__live-timer-progress {
  stroke: var(--stage-accent, var(--entry-display-success));
  stroke-dasharray: 100;
  stroke-dashoffset: var(--entry-display-timer-offset, 100);
  stroke-linecap: square;
}

.entry-student-display .entry-student-display__live-timer-ring--unknown .entry-student-display__live-timer-progress {
  visibility: hidden;
}

.entry-student-display .entry-student-display__live-timer-ring--warning .entry-student-display__live-timer-progress {
  stroke: var(--entry-display-warning);
}

.entry-student-display .entry-student-display__live-timer-ring--complete .entry-student-display__live-timer-progress {
  stroke: var(--entry-display-success);
}

.entry-student-display .entry-student-display__live-timer-ring .entry-student-display__live-timer-value {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 2.8vw, 38px);
  letter-spacing: -0.065em;
}

.entry-student-display .entry-student-display__live-next {
  place-content: center;
  justify-items: center;
  text-align: center;
}

.entry-student-display .entry-student-display__live-next::before {
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--stage-accent, var(--entry-display-success));
  content: "";
}

.entry-student-display .entry-student-display__live-next strong {
  max-width: 11ch;
  overflow-wrap: anywhere;
  color: var(--entry-display-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

@media (forced-colors: active) {
  .entry-student-display .entry-student-display__live-primary {
    box-shadow: inset 5px 0 0 CanvasText;
  }

  .entry-student-display .entry-student-display__live-cue-dot,
  .entry-student-display .entry-student-display__live-next::before {
    background: CanvasText;
  }

  .entry-student-display .entry-student-display__live-timer-track {
    stroke: GrayText;
  }

  .entry-student-display .entry-student-display__live-timer-progress {
    stroke: Highlight;
  }
}

.entry-student-display .entry-student-display__stage-label {
  color: var(--entry-display-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-student-display .entry-student-display__stage > h1 {
  max-width: 1100px;
  color: var(--entry-display-text);
  font-family: var(--font-display, var(--font-sans, sans-serif));
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

.entry-student-display .entry-student-display__speaker-cue {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  padding: 8px 14px;
  color: var(--entry-display-text-muted);
  border: 1px solid var(--entry-display-border);
  border-radius: var(--rostra-radius-sm, 4px);
  background: color-mix(in srgb, var(--entry-display-surface) 84%, var(--entry-display-text) 4%);
}

.entry-student-display .entry-student-display__speaker-cue span {
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-student-display .entry-student-display__speaker-cue strong {
  overflow: hidden;
  color: var(--entry-display-text);
  font-family: var(--font-sans, sans-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 760;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-student-display .entry-student-display__stage > p {
  max-width: 920px;
  color: var(--entry-display-text-muted);
  font-size: clamp(22px, 2.3vw, 31px);
  font-weight: 450;
  line-height: 1.3;
  text-wrap: balance;
}

.entry-student-display .entry-student-display__timer {
  color: var(--entry-display-text);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: clamp(58px, 6.4vw, 86px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.entry-student-display.entry-student-display--waiting .entry-student-display__stage > h1,
.entry-student-display.entry-student-display--disconnected .entry-student-display__stage > h1 {
  max-width: 850px;
  font-size: clamp(40px, 4.4vw, 58px);
  text-transform: none;
}

.entry-student-display.entry-student-display--active-speaker .entry-student-display__stage > h1 {
  font-size: clamp(58px, 7vw, 92px);
}

.entry-student-display.entry-student-display--activity-intro .entry-student-display__stage {
  gap: clamp(18px, 2.5vh, 30px);
}

.entry-student-display.entry-student-display--activity-intro .entry-student-display__stage > h1 {
  max-width: 1100px;
  font-size: clamp(58px, 7vw, 94px);
  text-transform: uppercase;
}

.entry-student-display.entry-student-display--activity-intro .entry-student-display__stage > p {
  max-width: 960px;
}

.entry-student-display .entry-student-display__rules {
  display: grid;
  width: min(100%, 920px);
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--entry-display-text);
  border-block: 1px solid var(--entry-display-border);
  font-size: clamp(19px, 1.8vw, 26px);
  line-height: 1.35;
  list-style: none;
  text-align: left;
}

.entry-student-display .entry-student-display__rules li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 10px 0;
}

.entry-student-display .entry-student-display__rules li + li {
  border-top: 1px solid var(--entry-display-border);
}

.entry-student-display .entry-student-display__rules li::before {
  width: 8px;
  height: 8px;
  background: var(--entry-display-success);
  border-radius: 1px;
  content: "";
}

.entry-student-display.entry-student-display--complete .entry-student-display__stage {
  border-color: color-mix(in srgb, var(--entry-display-success) 32%, var(--entry-display-border));
}

.entry-student-display.entry-student-display--complete .entry-student-display__stage > h1 {
  max-width: 850px;
  font-size: clamp(48px, 5.4vw, 74px);
  text-transform: none;
}

.entry-student-display.entry-student-display--frozen .entry-student-display__stage {
  position: relative;
  border-color: color-mix(in srgb, var(--entry-display-warning) 48%, var(--entry-display-border));
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 5px,
      color-mix(in srgb, var(--entry-display-text) 5%, transparent) 6px
    ),
    var(--entry-display-surface);
}

.entry-student-display.entry-student-display--frozen .entry-student-display__stage > * {
  position: relative;
  z-index: 1;
}

.entry-student-display.entry-student-display--frozen .entry-student-display__stage > h1 {
  max-width: 980px;
  font-size: clamp(48px, 5.8vw, 78px);
}

.entry-student-display .entry-student-display__signal {
  display: grid;
  width: min(420px, 62vw);
  height: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
  padding: 3px;
  border: 1px solid var(--entry-display-border);
  border-radius: 999px;
  background: var(--entry-display-canvas);
}

.entry-student-display .entry-student-display__signal span {
  border-radius: 999px;
}

.entry-student-display .entry-student-display__signal span:nth-child(1) {
  background: var(--entry-display-text);
}

.entry-student-display .entry-student-display__signal span:nth-child(2) {
  background: var(--entry-display-warning);
}

.entry-student-display .entry-student-display__signal span:nth-child(3) {
  background: var(--entry-display-success);
}

.entry-student-display .entry-student-display__signal span:nth-child(4) {
  background: #55b8d8;
}

.entry-student-display .entry-student-display__signal span:nth-child(5) {
  background: #a979d9;
}

.entry-student-display .entry-student-display__signal span:nth-child(6) {
  background: var(--entry-display-danger);
}

.entry-student-display.entry-student-display--disconnected .entry-student-display__stage {
  border-color: color-mix(in srgb, var(--entry-display-danger) 45%, var(--entry-display-border));
}

@media (max-width: 1180px) {
  .entry-report .entry-report__workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 0.8fr) minmax(480px, 1.4fr);
  }

  .entry-student-display {
    gap: 18px;
    padding: 28px;
  }

  .entry-student-display .entry-student-display__stage {
    gap: 20px;
    padding: 36px;
  }

  .entry-student-display .entry-student-display__stage--live {
    padding: 0;
  }

  .entry-student-display .entry-student-display__live-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.68fr);
    gap: 14px;
  }

  .entry-student-display .entry-student-display__live-rail {
    gap: 14px;
  }

  .entry-student-display .entry-student-display__live-timer-ring {
    width: clamp(126px, 14vw, 150px);
  }
}

@media (max-width: 640px) {
  .entry-report .entry-report__correction-labels {
    display: none;
  }

  .entry-report .entry-report__correction-panel {
    grid-template-rows: auto minmax(0, auto) minmax(104px, 1fr) 28px auto;
  }

  .entry-report .entry-report__correction-row {
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr);
  }

  .entry-report .entry-report__current-field {
    display: none;
  }

  .entry-report .entry-report__correction-actions {
    grid-template-columns: 1fr;
  }

  .entry-student-display {
    min-height: 520px;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    padding: 20px;
  }

  .entry-student-display .entry-student-display__stage {
    gap: 16px;
    padding: 24px 18px;
  }

  .entry-student-display .entry-student-display__stage--live {
    padding: 0;
  }

  .entry-student-display .entry-student-display__live-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .entry-student-display .entry-student-display__live-primary {
    padding: 0;
  }

  .entry-student-display .entry-student-display__live-speaker {
    gap: 5px;
    padding: 14px 18px;
  }

  .entry-student-display .entry-student-display__live-speaker strong {
    font-size: clamp(24px, 7.6vw, 38px);
  }

  .entry-student-display .entry-student-display__live-prompt {
    gap: 8px;
    padding: 14px 18px;
  }

  .entry-student-display .entry-student-display__live-prompt h1 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .entry-student-display .entry-student-display__live-prompt p {
    font-size: clamp(15px, 4.6vw, 20px);
  }

  .entry-student-display .entry-student-display__live-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(82px, auto);
    gap: 10px;
  }

  .entry-student-display .entry-student-display__live-timer,
  .entry-student-display .entry-student-display__live-next {
    gap: 6px;
    padding: 12px 14px;
  }

  .entry-student-display .entry-student-display__live-timer-ring {
    width: clamp(76px, 22vw, 94px);
  }

  .entry-student-display .entry-student-display__live-timer-track,
  .entry-student-display .entry-student-display__live-timer-progress {
    stroke-width: 8;
  }

  .entry-student-display .entry-student-display__live-next {
    align-content: center;
  }

  .entry-student-display .entry-student-display__live-timer-value,
  .entry-student-display .entry-student-display__live-next strong {
    font-size: clamp(24px, 8vw, 38px);
  }

  .entry-student-display .entry-student-display__stage > h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .entry-student-display .entry-student-display__stage > p {
    font-size: clamp(17px, 5vw, 23px);
  }

  .entry-student-display .entry-student-display__timer {
    font-size: clamp(48px, 16vw, 68px);
  }

  .entry-student-display .entry-student-display__rules {
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .entry-student-display .entry-student-display__rules li {
    min-height: 44px;
    gap: 12px;
  }

}

/* Pro session-total view inside the shared Standard report workspace. */

.entry-report .entry-report__session-summary-panel {
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.entry-report .entry-report__session-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.entry-report .entry-report__session-metrics article {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 94px;
  padding: 12px;
  border: 1px solid var(--entry-report-border);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-inset);
}

.entry-report .entry-report__session-metrics article > span,
.entry-report .entry-report__session-activity-head {
  color: var(--entry-report-text-muted);
  font-family: var(--font-label, var(--font-mono, monospace));
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.entry-report .entry-report__session-metrics strong {
  overflow: hidden;
  color: var(--entry-report-text);
  font-family: var(--font-numeric, var(--font-mono, monospace));
  font-size: 20px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-report .entry-report__session-metrics p {
  color: var(--entry-report-text-muted);
  font-size: 11px;
}

.entry-report .entry-report__session-activity-table {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--entry-report-border);
  border-radius: var(--entry-report-radius);
  background: var(--entry-report-inset);
}

.entry-report .entry-report__session-activity-head,
.entry-report .entry-report__session-activity-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.1fr) minmax(68px, 0.55fr) minmax(68px, 0.55fr) minmax(140px, 1.2fr);
  align-items: center;
  gap: 8px;
}

.entry-report .entry-report__session-activity-head {
  min-height: 36px;
  padding: 0 10px;
  border-bottom: 1px solid var(--entry-report-border);
}

.entry-report .entry-report__session-activity-body {
  min-height: 0;
  overflow: auto;
}

.entry-report .entry-report__session-activity-row {
  min-height: 48px;
  padding: 0 10px;
  border-bottom: 1px solid var(--entry-report-border);
  color: var(--entry-report-text-secondary);
  font-size: 12px;
}

.entry-report .entry-report__session-activity-row:last-child {
  border-bottom: 0;
}

.entry-report .entry-report__session-activity-row.is-not-run {
  color: var(--entry-report-text-muted);
  background: color-mix(in srgb, var(--entry-report-surface) 78%, var(--entry-report-canvas));
}

.entry-report .entry-report__session-activity-row.is-not-run > span:first-child {
  color: var(--entry-report-text-secondary);
}

.entry-report .entry-report__session-activity-head > span,
.entry-report .entry-report__session-activity-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.entry-report .entry-report__session-activity-row > span:first-child {
  color: var(--entry-report-text);
  font-weight: 720;
}

.entry-report .entry-report__session-empty {
  min-height: 96px;
  margin: 10px;
}

@media (max-width: 640px) {
  .entry-report .entry-report__score-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .entry-report .entry-report__scope-control {
    width: 100%;
  }

  .entry-report .entry-report__heading-controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .entry-report .entry-report__session-metrics {
    grid-template-columns: 1fr;
  }

  .entry-report .entry-report__session-activity-table {
    overflow-x: auto;
  }

  .entry-report .entry-report__session-activity-head,
  .entry-report .entry-report__session-activity-row {
    min-width: 520px;
  }
}
