:root {
  --ink: #102033;
  --muted: #64748b;
  --line: #cfe1f2;
  --line-strong: #97b7d7;
  --paper: #f8fbff;
  --panel: rgba(255, 255, 255, 0.9);
  --blue: #1f64b7;
  --blue-dark: #123d73;
  --blue-soft: #e8f2ff;
  --cyan: #2aa7c9;
  --green: #237a57;
  --red: #a73535;
  --black: #0b1220;
  --gold: #f2c94c;
  --shadow: 0 20px 42px rgba(17, 59, 112, 0.12);
}

/* 2026-06-10 投屏精简版：保留功能，降低同屏信息噪声 */
.display-page {
  --ink: #0b1f3a;
  --muted: #52667f;
  --blue: #1167cf;
  --blue-dark: #083b7a;
  --cyan: #14a6c8;
  --paper: #f5f9ff;
  --panel: rgba(255, 255, 255, 0.96);
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 166, 200, 0.10), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.display-page::before {
  opacity: 0.35;
}

.display-page .app-shell {
  width: min(1760px, calc(100vw - 36px));
  padding: 18px 0 24px;
}

.display-page .topbar {
  min-height: 124px;
  align-items: center;
  padding: 20px 28px;
  border: 1px solid rgba(151, 183, 215, 0.68);
  border-top: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 255, 0.96)),
    linear-gradient(90deg, rgba(17, 103, 207, 0.10), transparent 70%);
  box-shadow: 0 16px 38px rgba(8, 59, 122, 0.12);
}

.display-page .eyebrow {
  margin-bottom: 8px;
  color: #2470bc;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.display-page .topbar h1 {
  color: var(--blue-dark);
  font-size: clamp(34px, 3vw, 52px);
  letter-spacing: 0;
  text-shadow: none;
}

.display-page .subtitle {
  margin-top: 8px;
  color: #123f69;
  font-size: 21px;
}

.display-page .lesson-meta {
  margin-top: 12px;
  gap: 8px;
}

.display-page .lesson-meta span,
.display-page .status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 14px;
}

.display-page .status-panel {
  max-width: 380px;
  align-items: center;
}

.display-page .ai-seal {
  width: 78px;
  height: 78px;
  border: 3px solid var(--blue-dark);
  color: var(--blue-dark);
  font-size: 31px;
  box-shadow: inset 0 0 0 8px #fff, 0 10px 22px rgba(8, 59, 122, 0.15);
}

.display-page .judge-strip {
  display: none;
}

.display-page .main-grid {
  grid-template-columns: minmax(420px, 0.78fr) minmax(760px, 1.32fr);
  gap: 18px;
  margin-top: 18px;
}

.display-page .workspace-card {
  min-height: calc(100vh - 190px);
  padding: 20px;
  border: 1px solid rgba(151, 183, 215, 0.75);
  border-top: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(8, 59, 122, 0.10);
}

.display-page .section-title {
  margin-bottom: 14px;
}

.display-page .section-title h2 {
  color: var(--blue-dark);
  font-size: 28px;
}

.display-page .step-mark {
  min-width: 70px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.display-page .class-flow,
.display-page .ai-boundary {
  display: none;
}

.display-page .upload-layout {
  grid-template-columns: 150px 1fr;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f3f9ff);
}

.display-page .qr-code {
  width: 132px;
  height: 132px;
  border-radius: 12px;
}

.display-page .qr-code img {
  width: 118px;
  height: 118px;
}

.display-page .qr-caption,
.display-page .hint {
  font-size: 12px;
}

.display-page .copy-row input {
  height: 40px;
  font-size: 13px;
}

.display-page .group-panel {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
}

.display-page .group-panel-head small {
  display: none;
}

.display-page .group-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.display-page .group-card {
  min-height: 66px;
  padding: 8px 9px;
  border-radius: 12px;
}

.display-page .group-card b {
  font-size: 15px;
}

.display-page .group-card small {
  font-size: 11px;
}

.display-page .live-list-head {
  margin: 14px 0 8px;
}

.display-page .head-actions {
  gap: 6px;
}

.display-page .head-actions .ghost-button {
  display: none;
}

.display-page .primary-lite-button,
.display-page .ghost-button,
.display-page .secondary-button,
.display-page .primary-button {
  border-radius: 12px;
}

.display-page .submission-list {
  max-height: calc(100vh - 570px);
  min-height: 300px;
  gap: 9px;
}

.display-page .submission-card {
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  box-shadow: none;
}

.display-page .submission-card img,
.display-page .thumb-wrap,
.display-page .no-image {
  width: 104px;
  height: 78px;
  border-radius: 10px;
}

.display-page .submission-card h3 {
  font-size: 16px;
}

.display-page .submission-card p,
.display-page .submission-time {
  display: none;
}

.display-page .quick-verdict {
  margin: 7px 0;
  padding: 8px 10px;
  border-left-width: 4px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
}

.display-page .issue-highlight {
  grid-template-columns: 1fr;
  gap: 6px;
}

.display-page .issue-highlight section {
  min-height: 0;
  padding: 8px 10px;
  border-radius: 10px;
}

.display-page .issue-highlight .fix-main {
  display: none;
}

.display-page .issue-highlight small {
  margin-bottom: 3px;
}

.display-page .issue-highlight strong {
  font-size: 14px;
  line-height: 1.35;
}

.display-page .teacher-decision {
  grid-template-columns: 1fr;
  margin: 6px 0;
  padding: 8px;
  border-radius: 10px;
}

.display-page .teacher-decision small {
  display: none;
}

.display-page .teacher-decision div {
  gap: 5px;
}

.display-page .teacher-decision button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 11px;
}

.display-page .process-line,
.display-page .vision-note {
  display: none;
}

.display-page .card-actions {
  gap: 6px;
}

.display-page .small-button {
  padding: 6px 9px;
  border-radius: 10px;
  font-size: 12px;
}

.display-page .small-button.danger {
  display: none;
}

.display-page .mode-tabs {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.display-page .mode-tab {
  min-height: 82px;
  border-radius: 16px;
  border-bottom-width: 0;
  box-shadow: none;
}

.display-page .mode-tab strong {
  font-size: 23px;
}

.display-page .classroom-console {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 10px;
  margin-bottom: 12px;
}

.display-page .console-main {
  padding: 16px 18px;
  border-left-width: 6px;
  border-radius: 16px;
}

.display-page .console-main strong {
  font-size: 30px;
}

.display-page .console-main p {
  font-size: 16px;
}

.display-page .console-side {
  grid-template-columns: 1fr;
}

.display-page .console-side > div {
  min-height: 72px;
  padding: 12px;
  border-radius: 16px;
}

.display-page .console-side strong {
  font-size: 17px;
}

.display-page .prompt-box {
  margin-bottom: 6px;
}

.display-page textarea {
  min-height: 104px;
  border-radius: 14px;
}

.display-page .action-row {
  margin: 10px 0 12px;
}

.display-page .review-output {
  min-height: 260px;
  border-radius: 16px;
}

.display-page .review-output.staged,
.display-page .review-output.experiment-display {
  min-height: 460px;
}

.display-page .stage-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #d9e8f6;
}

.display-page .stage-head h3 {
  margin-top: 6px;
  font-size: 28px;
}

.display-page .step-timeline,
.display-page .revealed-summary {
  display: none;
}

.display-page .step-focus {
  margin-top: 16px;
}

.display-page .step-card {
  padding: 26px 30px;
  border-radius: 18px;
}

.display-page .step-card h4 {
  font-size: 38px;
}

.display-page .step-card p,
.display-page .step-card li {
  font-size: 26px;
  line-height: 1.5;
}

.display-page .score-panel {
  min-width: 98px;
  border-radius: 14px;
}

.display-page .summary-board {
  inset: 2.4vh 2.4vw;
  border-radius: 20px;
}

.display-page .summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.display-page .common-issues-panel {
  border-radius: 18px;
}

.display-page .summary-card {
  grid-template-columns: 170px 1fr;
  border-radius: 16px;
}

.display-page mark {
  padding: 0 4px;
  border-radius: 5px;
  background: linear-gradient(180deg, transparent 46%, rgba(242, 201, 76, 0.66) 46%);
  color: #082a4f;
}

.phone-page .phone-card {
  border-radius: 18px;
}

.phone-page .phone-hero {
  padding: 22px 22px 16px;
}

.phone-page .phone-card h1 {
  font-size: 30px;
  color: var(--blue-dark);
}

.phone-page .phone-ai-badges {
  display: none;
}

.phone-page .phone-form {
  gap: 13px;
  padding: 18px;
}

.phone-page .phone-form label {
  border-radius: 14px;
}

.phone-page .phone-preview-card.free-crop-card {
  border-radius: 14px;
}

@media (max-width: 1200px) {
  .display-page .main-grid {
    grid-template-columns: 1fr;
  }

  .display-page .submission-list {
    max-height: 360px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fbff 0%, #edf5fb 100%),
    linear-gradient(90deg, rgba(18, 61, 115, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(18, 61, 115, 0.045) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(31, 100, 183, 0.06) 46% 47%, transparent 47% 100%);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 86%);
}

button,
input,
textarea,
select {
  font: inherit;
}

.app-shell {
  width: min(1720px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 28px 0 32px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 30px;
  border: 2px solid rgba(11, 18, 32, 0.09);
  border-top: 6px solid var(--blue-dark);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(242,248,255,0.96)),
    linear-gradient(90deg, rgba(18,61,115,0.12), transparent 72%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.topbar::after {
  content: "QWEN · VISION · EVIDENCE";
  display: none;
  position: absolute;
  right: 28px;
  bottom: -8px;
  color: rgba(31, 100, 183, 0.08);
  font-size: 46px;
  font-weight: 900;
  letter-spacing: 0;
}

.judge-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.judge-strip span {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  color: #244461;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17, 59, 112, 0.06);
}

.judge-strip b {
  color: var(--blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.topbar h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(38px, 3.1vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(31, 100, 183, 0.08);
}

.subtitle {
  margin: 10px 0 0;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 900;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.lesson-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(151, 183, 215, 0.72);
  border-radius: 999px;
  background: rgba(232, 242, 255, 0.76);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.status-panel {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  max-width: 560px;
}

.ai-seal {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 4px solid var(--black);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 15px, rgba(18, 61, 115, 0.12) 16px 17px),
    #ffffff;
  color: var(--black);
  font-size: 38px;
  font-weight: 900;
  box-shadow: inset 0 0 0 10px #ffffff, 0 12px 24px rgba(17, 59, 112, 0.12);
}

.status-pill {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.status-pill.ready {
  background: #e7f7ef;
  color: var(--green);
  border-color: #b6dfca;
}

.status-pill.warn {
  background: #fff3df;
  color: #8a5a0a;
  border-color: #f0d39c;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(660px, 1.25fr);
  gap: 22px;
  margin-top: 22px;
}

.workspace-card {
  min-height: 720px;
  padding: 24px;
  border: 1px solid rgba(151, 183, 215, 0.78);
  border-top: 5px solid rgba(18, 61, 115, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.96)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(18,61,115,0.035) 31px 32px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  color: var(--black);
  font-size: 30px;
  letter-spacing: 0;
}

.step-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.class-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: -2px 0 16px;
}

.class-flow span {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #edf6ff);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.class-flow b {
  width: 26px;
  height: 26px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: white;
  font-size: 13px;
}

.upload-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #f1f8ff);
}

.qr-box {
  text-align: center;
}

.qr-code {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: white;
}

.qr-code img {
  width: 154px;
  height: 154px;
}

.qr-fallback {
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

.qr-caption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.url-box label,
.prompt-box label,
.phone-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 100, 183, 0.12);
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 160px;
  padding: 14px;
  line-height: 1.55;
  resize: vertical;
}

.hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.icon-button,
.ghost-button,
.secondary-button,
.primary-lite-button,
.primary-button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.icon-button,
.ghost-button,
.secondary-button {
  height: 42px;
  padding: 0 14px;
  background: #edf5ff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.primary-lite-button {
  height: 42px;
  padding: 0 14px;
  border: 1px solid #9ec6e8;
  background: linear-gradient(135deg, #e8f2ff, #eefbff);
  color: var(--blue-dark);
  font-weight: 900;
}

.primary-button {
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 12px 24px rgba(31, 100, 183, 0.22);
}

.primary-lite-button:disabled,
.primary-button:disabled,
.small-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.auto-button {
  border-color: #90d7e7;
  background: linear-gradient(135deg, #e8fbff, #ffffff);
}

.live-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
  font-weight: 900;
}

.group-panel {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #bcd6ef;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,247,255,0.96)),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(31,100,183,0.025) 20px 21px);
}

.group-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-weight: 900;
}

.group-panel-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.group-card {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #bcd6ef;
  border-radius: 9px;
  background: #ffffff;
  color: var(--blue-dark);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.group-card:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(17, 59, 112, 0.12);
}

.group-card:disabled {
  cursor: default;
}

.group-card b {
  font-size: 16px;
  line-height: 1.1;
}

.group-card span {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.group-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.group-card.empty {
  opacity: 0.68;
  background: #f7fbff;
}

.group-card.empty span {
  background: #e5eef7;
  color: #607086;
}

.group-card.uploaded {
  border-color: #9ec6e8;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}

.group-card.uploaded span {
  background: #e8f2ff;
  color: var(--blue-dark);
}

.group-card.reviewed {
  border-color: #9ed7bd;
  background: linear-gradient(180deg, #ffffff, #eefaf4);
}

.group-card.reviewed span {
  background: #dff5e9;
  color: var(--green);
}

.group-card.display {
  border-color: #9bd8e6;
  background: linear-gradient(180deg, #ffffff, #eefbff);
}

.group-card.display span {
  background: #daf7fd;
  color: #155b6f;
}

.head-actions {
  display: flex;
  gap: 8px;
}

.submission-list {
  display: grid;
  gap: 12px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

.submission-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.submission-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 30px rgba(17, 59, 112, 0.12);
}

.submission-card img {
  width: 128px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #edf5ff;
}

.thumb-wrap {
  position: relative;
  width: 128px;
  height: 96px;
}

.photo-count {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(8, 42, 79, 0.88);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.no-image {
  width: 128px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #edf5ff;
  color: var(--muted);
}

.submission-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.submission-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e7f7ef;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mini-badge.pending {
  background: #fff3df;
  color: #8a5a0a;
}

.mini-badge.reviewed {
  background: #e7f7ef;
  color: var(--green);
}

.mini-badge.display {
  background: #e8fbff;
  color: #155b6f;
}

.vision-note {
  padding: 8px 10px;
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  background: #eefbff;
  color: var(--blue-dark) !important;
}

.quick-verdict {
  margin: 8px 0;
  padding: 10px 12px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f2ff, #f7fcff);
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
}

.quick-verdict.muted {
  border-left-color: var(--cyan);
  color: #315272;
  font-weight: 800;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.process-line span {
  min-height: 42px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f7fbff;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  line-height: 1.15;
}

.process-line b {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue-dark);
  font-size: 11px;
}

.process-line .done {
  background: #eefaf4;
  color: var(--green);
  border-color: #b9e2ca;
}

.process-line .running {
  background: #fff7e6;
  color: #8a5a0a;
  border-color: #f2d69a;
}

.submission-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.submission-time {
  color: #607086 !important;
  font-size: 13px !important;
}

.issue-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 10px;
}

.issue-highlight section {
  min-height: 78px;
  padding: 10px 12px;
  border-radius: 8px;
}

.issue-highlight small {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 900;
}

.issue-highlight strong {
  display: block;
  color: #082a4f;
  font-size: 17px;
  line-height: 1.35;
}

.teacher-decision {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 8px 0 10px;
  padding: 9px 10px;
  border: 1px solid #cfe1f2;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f3f8ff);
}

.teacher-decision small {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.teacher-decision div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.teacher-decision button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #bcd6ef;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.teacher-decision button.active {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #ffffff;
}

.teacher-decision strong,
.teacher-decision em {
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.teacher-decision strong {
  color: var(--green);
}

.teacher-decision em {
  color: var(--muted);
}

.issue-main {
  border: 1px solid #f1d5a2;
  border-left: 5px solid #d9902f;
  background: #fff8ea;
}

.issue-main small {
  color: #8a5a0a;
}

.fix-main {
  border: 1px solid #b8d4ef;
  border-left: 5px solid var(--blue);
  background: #eef7ff;
}

.fix-main small {
  color: var(--blue-dark);
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.small-button {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f5f9ff;
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.small-button.danger {
  color: var(--red);
  background: #fff2f2;
  border-color: #f0c8c8;
}

.hidden {
  display: none !important;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mode-tab {
  min-height: 92px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid #bcd6ef;
  border-bottom: 4px solid #bdd5ed;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #edf6ff);
  color: var(--blue-dark);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(17, 59, 112, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mode-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(17, 59, 112, 0.12);
}

.mode-tab span {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.mode-tab strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.mode-tab em {
  font-style: normal;
  color: #315272;
  font-size: 13px;
  font-weight: 900;
}

.mode-tab.active {
  background:
    linear-gradient(135deg, var(--blue-dark), #1f64b7);
  color: white;
  border-color: var(--blue-dark);
  border-bottom-color: var(--cyan);
}

.mode-tab.active span {
  color: #9ee9ff;
}

.mode-tab.active em {
  color: #d9f6ff;
}

.ai-boundary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -4px 0 16px;
}

.ai-boundary span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px 10px;
  border: 1px dashed #9fc5e8;
  border-radius: 999px;
  background: #f7fbff;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.mode-tab.display-tab {
  border-bottom-color: #8bd0df;
}

.mode-tab.display-tab.active {
  background: linear-gradient(135deg, #155b6f, #2aa7c9);
}

.classroom-console {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 12px;
  margin: 0 0 18px;
}

.console-main,
.console-side > div {
  border: 1px solid #b3cfe9;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(232, 242, 255, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 22px rgba(17, 59, 112, 0.07);
}

.console-main {
  padding: 18px 20px;
  border-left: 8px solid var(--blue);
}

.console-main span,
.console-side span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.console-main strong {
  display: block;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1.1;
}

.console-main p {
  margin: 8px 0 0;
  color: #315272;
  font-size: 17px;
  line-height: 1.45;
}

.console-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.console-side > div {
  min-height: 96px;
  padding: 14px;
}

.console-side strong {
  display: block;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.35;
}

.prompt-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.action-row {
  display: flex;
  gap: 10px;
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

.review-output {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px;
  overflow: hidden;
}

.review-output.staged {
  min-height: 500px;
  background:
    linear-gradient(180deg, #fbfdff, #f4f9ff),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(31,100,183,0.018) 18px 19px);
}

.review-output.experiment-display {
  min-height: 500px;
  background:
    linear-gradient(180deg, #fbfdff, #f2fbff),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(42,167,201,0.025) 18px 19px);
}

.experiment-board {
  display: grid;
  gap: 14px;
}

.experiment-head {
  padding: 18px 20px;
  border: 1px solid #a9d7e3;
  border-left: 8px solid var(--cyan);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #eefbff);
}

.experiment-head h3 {
  margin: 8px 0 6px;
  color: #155b6f;
  font-size: 34px;
  line-height: 1.12;
}

.experiment-head p {
  margin: 0;
  color: #315272;
  font-size: 18px;
  line-height: 1.45;
}

.experiment-photo-wrap {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid #bcd6ef;
  border-radius: 10px;
  background: #eef4fb;
  overflow: hidden;
}

.experiment-photo-wrap.multi {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  overflow: auto;
}

.experiment-photo {
  position: relative;
  min-height: 190px;
  padding: 0;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: white;
  overflow: hidden;
  cursor: zoom-in;
}

.experiment-photo img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
}

.experiment-photo span {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: white;
  font-weight: 900;
}

.experiment-photo-wrap > img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #eef4fb;
}

.teacher-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.teacher-checklist section {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.teacher-checklist section.board {
  border-left: 6px solid var(--cyan);
  background: #eefbff;
}

.teacher-checklist small {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.teacher-checklist ul {
  margin: 0;
  padding-left: 20px;
}

.teacher-checklist li,
.teacher-checklist p {
  margin: 0;
  color: #244461;
  font-size: 18px;
  line-height: 1.55;
}

.empty-state {
  min-height: 230px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.atom-ring {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
  color: var(--blue-dark);
  background: radial-gradient(circle, white 0 50%, #e8f2ff 51% 100%);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid #bdd5ed;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 61, 115, 0.08), rgba(42, 167, 201, 0.08)),
    #ffffff;
  box-shadow: 0 10px 26px rgba(17, 59, 112, 0.08);
}

.stage-head h3 {
  margin: 8px 0 0;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.15;
}

.stage-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.stage-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.score-panel {
  min-width: 104px;
  padding: 10px 12px;
  border: 1px solid #a9ccec;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #ffffff, #e8f2ff);
  color: var(--blue-dark);
  text-align: center;
  box-shadow: 0 10px 24px rgba(17, 59, 112, 0.08);
}

.score-panel b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.score-panel span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 900;
}

.stage-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.step-timeline {
  display: grid;
  grid-template-columns: repeat(var(--step-count, 5), 1fr);
  gap: 8px;
  margin: 16px 0 12px;
}

.timeline-dot {
  min-height: 58px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  text-align: center;
}

.timeline-dot span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5eef7;
  color: var(--blue-dark);
  font-weight: 900;
}

.timeline-dot small {
  font-size: 11px;
  font-weight: 900;
}

.timeline-dot.active {
  border-color: var(--line-strong);
  background: #eef7ff;
  color: var(--blue-dark);
}

.timeline-dot.active span {
  background: var(--blue-dark);
  color: white;
}

.revealed-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.revealed-summary span {
  padding: 6px 10px;
  border: 1px solid #cfe1f2;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.step-focus {
  display: grid;
}

.step-stack {
  display: grid;
  gap: 12px;
}

.step-card {
  padding: 22px 24px;
  border: 1px solid #b8d4ef;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 34px rgba(17, 59, 112, 0.12);
  animation: cardIn 320ms ease both;
  animation-delay: var(--delay);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-card span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f2ff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.step-card h4 {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1.16;
}

.step-card p,
.step-card li {
  margin: 0;
  font-size: 23px;
  line-height: 1.55;
}

.step-card ul {
  margin: 0;
  padding-left: 26px;
}

.step-card li + li {
  margin-top: 8px;
}

.step-card.warn {
  border-left: 8px solid #d9902f;
  background: linear-gradient(180deg, #fffdf8, #ffffff);
}

.step-card.blue {
  border-left: 8px solid var(--blue);
}

.step-card.paper {
  border-left: 8px solid var(--green);
  background: linear-gradient(180deg, #f8fffb, #ffffff);
}

.step-card.board {
  border-left: 8px solid var(--cyan);
  background: #eefbff;
  font-weight: 900;
}

mark {
  padding: 0 0.16em;
  border-radius: 0.22em;
  background: linear-gradient(180deg, transparent 48%, rgba(255, 214, 102, 0.72) 49%);
  color: #082a4f;
  font-weight: 900;
}

.result-hero {
  grid-column: 1 / -1;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f2ff, #eefbff);
  border: 1px solid var(--line);
}

.result-hero h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 24px;
}

.result-hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.result-box {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.result-box h4 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 16px;
}

.result-box ul {
  margin: 0;
  padding-left: 20px;
}

.result-box li,
.result-box p {
  font-size: 15px;
  line-height: 1.52;
}

.board-line {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  background: #eef7ff;
  font-weight: 900;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.evidence-strip article {
  min-height: 110px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.evidence-strip span {
  color: var(--cyan);
  font-weight: 900;
}

.evidence-strip strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--blue-dark);
  font-size: 20px;
}

.evidence-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 42, 0.65);
}

.modal-card {
  position: absolute;
  inset: 3vh 3vw;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  gap: 18px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #f4f9ff);
  box-shadow: 0 30px 80px rgba(8, 24, 42, 0.35);
}

.modal-image-wrap {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(18, 61, 115, 0.08), rgba(42, 167, 201, 0.06)),
    #eef4fb;
  overflow: hidden;
}

.zoom-stage {
  width: 100%;
  height: 100%;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.zoom-stage:active {
  cursor: grabbing;
}

.zoom-stage > img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  transform-origin: center center;
  transition: transform 80ms linear;
  user-select: none;
  pointer-events: none;
}

.zoom-toolbar {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(188, 214, 239, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(17, 59, 112, 0.16);
}

.zoom-toolbar button,
.gallery-nav {
  border: 1px solid #bcd6ef;
  background: white;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}

.zoom-toolbar button {
  min-width: 42px;
  height: 36px;
  border-radius: 999px;
  font-size: 17px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 42px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 26px rgba(17, 59, 112, 0.16);
}

.gallery-nav.prev {
  left: 14px;
}

.gallery-nav.next {
  right: 14px;
}

.gallery-strip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(188, 214, 239, 0.9);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(17, 59, 112, 0.16);
}

.gallery-thumb {
  position: relative;
  flex: 0 0 82px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #eef4fb;
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--blue);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(8, 42, 79, 0.82);
  color: white;
  font-size: 11px;
  font-weight: 900;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
  padding: 10px 4px 10px 0;
  overflow: auto;
}

.modal-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-right: 52px;
}

.modal-info h3 {
  margin: 6px 0 0;
  color: var(--blue-dark);
  font-size: 36px;
  line-height: 1.12;
}

.modal-score {
  flex: 0 0 auto;
  margin-top: 2px;
}

.modal-info p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.modal-verdict {
  padding: 18px 20px;
  border: 1px solid #a9ccec;
  border-left: 8px solid var(--blue);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(31, 100, 183, 0.12), rgba(42, 167, 201, 0.08)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(17, 59, 112, 0.12);
}

.modal-verdict span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: white;
  font-size: 14px;
  font-weight: 900;
}

.modal-verdict strong {
  display: block;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.35;
}

.modal-readout {
  display: grid;
  gap: 12px;
}

.modal-readout section {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
}

.modal-readout section.hot {
  border-left: 6px solid #d9902f;
  background: #fffaf0;
}

.modal-readout section.board {
  border-left: 6px solid var(--cyan);
  background: #eefbff;
}

.modal-readout section.teacher {
  border-left: 6px solid var(--blue-dark);
  background: #f3f8ff;
}

.modal-readout small {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.modal-readout p,
.modal-readout li {
  margin: 0;
  color: #244461;
  font-size: 18px;
  line-height: 1.55;
}

.modal-readout ul {
  margin: 0;
  padding-left: 20px;
}

.modal-readout li + li {
  margin-top: 5px;
}

.close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-dark);
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 2;
}

.summary-board {
  position: absolute;
  inset: 3vh 3vw;
  padding: 24px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,248,255,0.96)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(31,100,183,0.025) 22px 23px);
  box-shadow: 0 30px 80px rgba(8, 24, 42, 0.35);
  overflow: auto;
}

.summary-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-right: 54px;
}

.summary-head h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 42px;
  line-height: 1.05;
}

.summary-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.summary-filter {
  flex: 1 1 100%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.summary-filter button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #bcd6ef;
  border-radius: 999px;
  background: #ffffff;
  color: var(--blue-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.summary-filter button.active {
  border-color: var(--blue-dark);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: white;
  box-shadow: 0 8px 20px rgba(17, 59, 112, 0.18);
}

.summary-stats span {
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--blue-dark);
  text-align: center;
  font-weight: 900;
}

.summary-stats b {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.common-issues-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.25fr) minmax(220px, 0.8fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid #a9ccec;
  border-left: 8px solid var(--blue);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(232,242,255,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(31,100,183,0.03) 18px 19px);
  box-shadow: 0 14px 30px rgba(17, 59, 112, 0.1);
}

.common-issues-head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.common-issues-head h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1.16;
}

.common-issues-head p {
  margin: 0;
  color: #315272;
  font-size: 16px;
  line-height: 1.45;
}

.issue-bars {
  display: grid;
  gap: 8px;
  align-content: center;
}

.issue-bar {
  display: grid;
  grid-template-columns: 128px 1fr 46px;
  gap: 8px;
  align-items: center;
}

.issue-bar strong {
  color: #082a4f;
  font-size: 15px;
}

.issue-bar span {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.issue-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.issue-bar b {
  color: var(--blue-dark);
  font-size: 14px;
  text-align: right;
}

.common-empty {
  min-height: 84px;
  display: grid;
  place-items: center;
  border: 1px dashed #bcd6ef;
  border-radius: 10px;
  background: #ffffff;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.decision-summary {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 12px;
  border: 1px solid #cfe1f2;
  border-radius: 10px;
  background: #ffffff;
}

.decision-summary small {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.decision-summary span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f7fb;
  color: #607086;
  font-weight: 900;
}

.decision-summary span.active {
  background: #e7f7ef;
  color: var(--green);
}

.summary-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  min-height: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 59, 112, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.summary-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(17, 59, 112, 0.14);
}

.summary-card.reviewed {
  border-color: #a9ccec;
}

.summary-card.empty {
  opacity: 0.72;
  background: #f8fbff;
  cursor: default;
}

.summary-card.empty:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(17, 59, 112, 0.08);
}

.summary-image {
  position: relative;
  min-height: 204px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef4fb;
}

.summary-image img,
.summary-no-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-no-image {
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
}

.summary-image span {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(18, 61, 115, 0.92);
  color: white;
  font-weight: 900;
}

.summary-photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(8, 42, 79, 0.86);
  color: white;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.summary-content {
  min-width: 0;
}

.summary-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.summary-card-head h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 24px;
}

.summary-head-tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.summary-card-head em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e7f7ef;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.summary-head-tags strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f2ff;
  color: var(--blue-dark);
  font-size: 12px;
  white-space: nowrap;
}

.summary-head-tags .teacher-decision-tag {
  background: #e7f7ef;
  color: var(--green);
}

.summary-scene {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.summary-verdict {
  padding: 10px 12px;
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: #eaf4ff;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.summary-verdict.muted {
  border-left-color: #9db4ca;
  background: #f3f7fb;
  color: #607086;
}

.summary-gap {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8ea;
}

.summary-gap small {
  display: block;
  margin-bottom: 4px;
  color: #8a5a0a;
  font-size: 13px;
  font-weight: 900;
}

.summary-gap p,
.summary-board-line {
  margin: 0;
  color: #244461;
  font-size: 16px;
  line-height: 1.45;
}

.summary-board-line {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #eefbff;
  font-weight: 900;
}

.summary-empty {
  grid-column: 1 / -1;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--muted);
  font-size: 24px;
  font-weight: 900;
}

.phone-page {
  background:
    linear-gradient(180deg, #f7fbff, #eaf3fb),
    linear-gradient(90deg, rgba(18, 61, 115, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(18, 61, 115, 0.04) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.phone-shell {
  width: min(720px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 22px 0;
}

.phone-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid #bcd6ef;
  border-top: 6px solid var(--blue-dark);
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.phone-hero {
  padding: 24px 24px 20px;
  background:
    linear-gradient(135deg, rgba(18,61,115,0.1), transparent 68%),
    #ffffff;
}

.phone-card h1 {
  margin: 0;
  color: var(--black);
  font-size: 36px;
  line-height: 1.08;
}

.phone-ai-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.phone-ai-badges span {
  padding: 10px 12px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.phone-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid #d7e7f6;
  border-bottom: 1px solid #d7e7f6;
  background: #f8fbff;
}

.phone-flow span {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #c7dff4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-dark);
  font-weight: 900;
}

.phone-flow b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-dark);
  color: white;
  font-size: 13px;
}

.phone-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  margin-top: 0;
}

.phone-form label {
  padding: 14px;
  border: 1px solid #d5e6f6;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 59, 112, 0.06);
}

.phone-form textarea {
  min-height: 130px;
}

.phone-preview {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c7dff4;
  border-radius: 10px;
  background: #f8fbff;
}

.phone-preview.empty {
  display: grid;
  place-items: center;
  min-height: 78px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.phone-preview-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid #bcd6ef;
  border-radius: 9px;
  background: white;
}

.phone-preview-card img {
  width: 112px;
  height: 92px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid #d7e7f6;
  background: #eef4fb;
}

.phone-preview-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 18px;
}

.phone-preview-card label {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  box-shadow: none;
  font-size: 13px;
}

.phone-preview-card select {
  min-height: 42px;
  border-radius: 8px;
}

.phone-preview-card button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #f0c8c8;
  border-radius: 7px;
  background: #fff2f2;
  color: var(--red);
  font-weight: 900;
}

.phone-preview-card.free-crop-card {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
}

.crop-editor {
  position: relative;
  overflow: hidden;
  border: 1px solid #bcd6ef;
  border-radius: 10px;
  background: #e8f0f8;
  touch-action: none;
}

.crop-editor img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: #e8f0f8;
  user-select: none;
}

.crop-box {
  position: absolute;
  border: 3px solid var(--cyan);
  border-radius: 8px;
  background: rgba(42, 167, 201, 0.12);
  box-shadow: 0 0 0 9999px rgba(8, 24, 42, 0.42), 0 8px 22px rgba(8, 24, 42, 0.18);
  cursor: move;
  touch-action: none;
}

.crop-label {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(8, 24, 42, 0.12);
  pointer-events: none;
}

.crop-handle {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  background: white;
  box-shadow: 0 6px 16px rgba(8, 24, 42, 0.2);
  touch-action: none;
}

.crop-handle.nw {
  left: -14px;
  top: -14px;
  cursor: nwse-resize;
}

.crop-handle.ne {
  right: -14px;
  top: -14px;
  cursor: nesw-resize;
}

.crop-handle.sw {
  left: -14px;
  bottom: -14px;
  cursor: nesw-resize;
}

.crop-handle.se {
  right: -14px;
  bottom: -14px;
  cursor: nwse-resize;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.preview-actions strong,
.preview-actions small {
  grid-column: 1 / -1;
}

.preview-actions small {
  color: #315272;
  font-size: 13px;
  font-weight: 800;
}

.preview-actions button {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: #f3f8ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.preview-actions [data-remove] {
  grid-column: 1 / -1;
  border-color: #f0c8c8;
  background: #fff2f2;
  color: var(--red);
}

.phone-result {
  margin: 0 22px 22px;
  padding: 14px;
  border: 1px solid #bcd6ef;
  border-radius: 8px;
  background: #eef7ff;
  color: var(--blue-dark);
  line-height: 1.5;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .main-grid,
  .evidence-strip,
  .modal-card {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
  }

  .judge-strip,
  .ai-boundary {
    grid-template-columns: 1fr;
  }

  .ai-seal {
    width: 78px;
    height: 78px;
    font-size: 30px;
  }

  .mode-tabs {
    grid-template-columns: 1fr;
  }

  .class-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classroom-console,
  .console-side {
    grid-template-columns: 1fr;
  }

  .stage-right {
    flex-direction: column;
    align-items: flex-end;
  }

  .teacher-checklist {
    grid-template-columns: 1fr;
  }

  .summary-head,
  .head-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .common-issues-panel {
    grid-template-columns: 1fr;
  }

  .summary-card {
    grid-template-columns: 140px 1fr;
  }

  .phone-flow {
    grid-template-columns: 1fr;
  }
}

/* 2026-06-10 最终投屏精简版：放在文件末尾，确保覆盖旧样式 */
.display-page {
  background:
    linear-gradient(135deg, rgba(10, 92, 190, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #0b2342;
}

.display-page .app-shell {
  max-width: 1500px;
  padding: 18px;
}

.display-page .topbar {
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(47, 111, 191, 0.24);
  border-left: 8px solid #1058b5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(34, 88, 150, 0.10);
}

.display-page .topbar h1 {
  font-size: clamp(34px, 3vw, 50px);
  color: #082b5f;
}

.display-page .subtitle {
  margin-top: 6px;
  font-size: 20px;
  color: #295174;
}

.display-page .lesson-meta {
  gap: 8px;
  margin-top: 12px;
}

.display-page .lesson-meta span,
.display-page .status-pill {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf6ff;
  color: #123f78;
  font-size: 13px;
  font-weight: 900;
}

.display-page .status-panel {
  min-width: 190px;
  align-items: flex-end;
}

.display-page .ai-seal {
  width: 64px;
  height: 64px;
  font-size: 28px;
  background: linear-gradient(135deg, #0f4fa5, #1aa6c8);
  box-shadow: none;
}

.display-page .judge-strip,
.display-page .class-flow,
.display-page .ai-boundary,
.display-page .process-line,
.display-page .vision-note,
.display-page .revealed-summary,
.display-page .stage-timeline {
  display: none !important;
}

.display-page .main-grid {
  grid-template-columns: minmax(390px, 0.78fr) minmax(720px, 1.35fr);
  gap: 18px;
  margin-top: 18px;
}

.display-page .workspace-card {
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(47, 111, 191, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(34, 88, 150, 0.10);
}

.display-page .section-title {
  align-items: center;
  margin-bottom: 14px;
}

.display-page .step-mark {
  border-radius: 999px;
  background: #0f4fa5;
  color: #fff;
  font-size: 14px;
}

.display-page .section-title h2 {
  font-size: 30px;
  color: #082b5f;
}

.display-page .upload-layout {
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #f3f9ff;
}

.display-page .qr-box {
  padding: 8px;
}

.display-page .qr-code {
  width: 92px;
  height: 92px;
}

.display-page .qr-caption,
.display-page .url-box .hint,
.display-page .submission-card p,
.display-page .submission-time,
.display-page .issue-fix {
  display: none !important;
}

.display-page .group-panel {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f9fcff;
}

.display-page .group-panel-head {
  margin-bottom: 10px;
}

.display-page .group-panel-head span {
  font-size: 17px;
}

.display-page .group-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.display-page .group-card {
  min-height: 72px;
  padding: 10px;
  border-radius: 12px;
}

.display-page .live-list-head {
  margin: 14px 0 10px;
}

.display-page .live-list-head > span {
  font-size: 18px;
  color: #082b5f;
}

.display-page .head-actions {
  gap: 8px;
}

.display-page .head-actions button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
}

.display-page .submission-list {
  max-height: 510px;
  gap: 10px;
}

.display-page .submission-card {
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
}

.display-page .submission-card img {
  width: 108px;
  height: 84px;
  border-radius: 10px;
}

.display-page .submission-card h3 {
  font-size: 18px;
  color: #082b5f;
}

.display-page .submission-actions {
  gap: 6px;
}

.display-page .submission-actions button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
}

.display-page .teacher-decision {
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0;
  padding: 8px;
  border-radius: 12px;
  background: #f5faff;
}

.display-page .teacher-decision div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.display-page .teacher-decision button {
  min-height: 30px;
  padding: 0 6px;
}

.display-page .issue-main {
  margin-top: 8px;
  padding: 10px 12px;
  border-left-width: 6px;
  border-radius: 12px;
}

.display-page .issue-main strong {
  font-size: 14px;
}

.display-page .mode-tabs {
  gap: 10px;
  margin-bottom: 14px;
}

.display-page .mode-tab {
  min-height: 74px;
  padding: 12px;
  border-radius: 16px;
  text-align: left;
}

.display-page .mode-tab span {
  font-size: 14px;
  color: #1387bd;
}

.display-page .mode-tab strong {
  margin-top: 4px;
  font-size: 23px;
}

.display-page .mode-tab em {
  display: none;
}

.display-page .mode-tab.active {
  border-color: #0f4fa5;
  background: linear-gradient(135deg, #0f4fa5, #159bc8);
  box-shadow: 0 14px 28px rgba(15, 79, 165, 0.18);
}

.display-page .classroom-console {
  grid-template-columns: 1.4fr 0.85fr;
  padding: 16px;
  border-radius: 16px;
  background: #f2f8ff;
}

.display-page .console-main strong {
  font-size: 30px;
  color: #082b5f;
}

.display-page .console-main p {
  margin-top: 6px;
  font-size: 18px;
}

.display-page .console-side {
  grid-template-columns: 1fr;
  gap: 8px;
}

.display-page .console-side div {
  padding: 10px;
  border-radius: 12px;
}

.display-page .prompt-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
}

.display-page textarea#studentInput {
  min-height: 128px;
  margin-top: 10px;
  border-radius: 14px;
  font-size: 18px;
}

.display-page .review-output {
  min-height: 300px;
  margin-top: 14px;
  border-radius: 16px;
}

.display-page .result-hero {
  padding: 18px;
  border-radius: 16px;
}

.display-page .result-hero h3 {
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.05;
}

.display-page .score-panel {
  border-radius: 999px;
}

.display-page .result-grid {
  grid-template-columns: 1fr;
}

.display-page .result-card {
  padding: 14px 16px;
  border-radius: 14px;
}

.display-page .result-card h4 {
  font-size: 20px;
}

.display-page .result-card li {
  font-size: 20px;
  line-height: 1.45;
}

.display-page mark {
  padding: 0 4px;
  border-radius: 5px;
  background: linear-gradient(180deg, transparent 48%, rgba(255, 207, 72, 0.65) 48%);
}

.display-page .summary-board {
  max-width: 1420px;
  border-radius: 22px;
}

.display-page .summary-head {
  padding: 22px 26px 12px;
  border-bottom: 1px solid #d7e7f7;
}

.display-page .summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.display-page .summary-card {
  grid-template-columns: 150px 1fr;
  border-radius: 16px;
}

.display-page .summary-card img {
  height: 118px;
  border-radius: 12px;
}

.phone-page .phone-shell {
  background: #f7fbff;
}

.phone-page .phone-card,
.phone-page .phone-flow,
.phone-page .phone-upload-card,
.phone-page .preview-list {
  border-radius: 18px;
}

.phone-page .phone-badge {
  display: none;
}

@media (max-width: 1180px) {
  .display-page .main-grid,
  .display-page .classroom-console {
    grid-template-columns: 1fr;
  }

  .display-page .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-06-10 蓝白讲座同款界面：教师端控制台 + 学生端上传卡片 */
.display-page {
  background:
    radial-gradient(circle at 84% 8%, rgba(24, 141, 220, 0.13), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #f2f8ff 82%, #e2f0ff 100%);
}

.display-page::before {
  content: "";
  position: fixed;
  inset: 0 0 auto auto;
  width: 430px;
  height: 260px;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 20% 25%, #3ab6ff 0 4px, transparent 5px),
    radial-gradient(circle at 52% 12%, #1873d2 0 5px, transparent 6px),
    radial-gradient(circle at 72% 42%, #7bc8ff 0 4px, transparent 5px),
    linear-gradient(35deg, transparent 0 38%, rgba(41, 128, 215, 0.18) 39% 40%, transparent 41%),
    linear-gradient(145deg, transparent 0 48%, rgba(41, 128, 215, 0.16) 49% 50%, transparent 51%);
}

.display-page::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  pointer-events: none;
  opacity: 0.72;
  background:
    radial-gradient(1200px 120px at 42% 120%, rgba(29, 112, 222, 0.28), transparent 62%),
    linear-gradient(160deg, transparent 0 18%, rgba(15, 109, 226, 0.15) 19% 38%, transparent 39%),
    linear-gradient(176deg, transparent 0 28%, rgba(55, 172, 225, 0.18) 29% 44%, transparent 45%);
}

.display-page .app-shell {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  min-height: 100vh;
  padding: 22px 28px 34px;
}

.display-page .topbar {
  min-height: 108px;
  padding: 20px 26px 18px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 20px 48px rgba(33, 91, 168, 0.12),
    inset 0 0 0 1px rgba(39, 106, 205, 0.20);
  backdrop-filter: blur(8px);
}

.display-page .topbar .eyebrow {
  color: #0f58c8;
  font-size: 18px;
}

.display-page .topbar h1 {
  margin-top: 4px;
  font-size: clamp(42px, 3.6vw, 64px);
  color: #052a78;
  line-height: 1.02;
}

.display-page .topbar .subtitle {
  color: #173a62;
  font-size: 22px;
}

.display-page .lesson-meta span {
  background: #e9f2ff;
  color: #063b91;
}

.display-page .status-panel {
  gap: 8px;
}

.display-page .status-pill:first-of-type {
  background: #0f5bd2;
  color: #fff;
}

.display-page .main-grid {
  position: relative;
  grid-template-columns: minmax(510px, 0.9fr) minmax(690px, 1.1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid rgba(20, 88, 190, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 24px 60px rgba(33, 91, 168, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.display-page .workspace-card {
  border-radius: 18px;
  box-shadow: none;
}

.display-page .upload-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.display-page .upload-card .section-title {
  order: 0;
}

.display-page .group-panel {
  order: 1;
  margin-top: 0;
  border: 2px solid rgba(19, 92, 221, 0.24);
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
}

.display-page .group-card {
  min-height: 82px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(35, 99, 180, 0.08);
}

.display-page .group-card b {
  font-size: 17px;
  color: #08347a;
}

.display-page .group-card span {
  justify-self: center;
  padding: 3px 9px;
}

.display-page .upload-layout {
  order: 2;
  grid-template-columns: 108px 1fr;
  border: 1px dashed rgba(16, 91, 210, 0.34);
  background: #f8fbff;
}

.display-page .live-list-head {
  order: 3;
}

.display-page .submission-list {
  order: 4;
}

.display-page .submission-card {
  border-color: rgba(16, 91, 210, 0.18);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.display-page .submission-card.active,
.display-page .submission-card:hover {
  border-color: #0f5bd2;
  box-shadow: 0 14px 34px rgba(16, 91, 210, 0.15);
}

.display-page .review-card {
  display: flex;
  flex-direction: column;
}

.display-page .review-card .section-title::after {
  content: "Qwen图文理解 · 教师裁决";
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0f58c8;
  font-size: 14px;
  font-weight: 900;
}

.display-page .mode-tab {
  position: relative;
  overflow: hidden;
  background: #f7fbff;
}

.display-page .mode-tab::after {
  content: "";
  position: absolute;
  inset: auto 12px 8px 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(17, 112, 230, 0.16);
}

.display-page .mode-tab.active::after {
  background: rgba(255, 255, 255, 0.55);
}

.display-page .classroom-console {
  border: 2px solid rgba(19, 92, 221, 0.20);
  background: linear-gradient(180deg, #f4f9ff, #ffffff);
}

.display-page #worksheetBadge {
  display: inline-grid;
  width: fit-content;
  min-height: 30px;
  place-items: center;
  margin-bottom: 8px;
  padding: 0 12px;
  border-radius: 999px;
  background: #0f5bd2;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.display-page .prompt-box,
.display-page textarea#studentInput {
  display: none;
}

.display-page .action-row {
  margin-top: 12px;
}

.display-page .action-row .primary-button {
  min-height: 52px;
  flex: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f63e6, #05a7d1);
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(15, 99, 230, 0.20);
}

.display-page .action-row .secondary-button {
  min-height: 52px;
  border-radius: 14px;
}

.display-page .review-output {
  flex: 1;
  min-height: 420px;
  border: 2px solid rgba(19, 92, 221, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.display-page .empty-state {
  min-height: 370px;
}

.display-page .result-hero {
  border-left: 8px solid #0f5bd2;
  background: linear-gradient(135deg, #eef6ff, #f9fdff);
}

.display-page .result-card {
  border-color: rgba(16, 91, 210, 0.18);
  background: #ffffff;
}

.display-page .result-card:first-of-type {
  border-left: 6px solid #f0a42a;
  background: #fffaf0;
}

.display-page .result-card:nth-of-type(2) {
  border-left: 6px solid #0f83c5;
}

.display-page .score-panel {
  background: #0f5bd2;
  color: #fff;
}

.display-page .teacher-decision {
  border-color: rgba(16, 91, 210, 0.18);
}

.display-page .teacher-decision small::before {
  content: "教师裁决 · ";
}

.display-page #openSummary {
  background: linear-gradient(135deg, #0f63e6, #0960d2);
  color: #fff;
}

.phone-page {
  background:
    radial-gradient(circle at 78% 18%, rgba(38, 151, 242, 0.16), transparent 24%),
    linear-gradient(180deg, #f6fbff 0%, #eaf4ff 100%);
}

.phone-shell {
  width: min(520px, calc(100vw - 26px));
}

.phone-card {
  border: 0;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(33, 91, 168, 0.18);
}

.phone-hero {
  padding: 0;
  background: linear-gradient(180deg, #0f63e6, #0960d2);
}

.phone-hero .eyebrow,
.phone-hero .subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.phone-hero {
  padding: 22px 22px 20px;
  border-radius: 28px 28px 0 0;
}

.phone-card h1 {
  color: #ffffff;
  font-size: 28px;
}

.phone-flow {
  grid-template-columns: repeat(4, 1fr);
  padding: 16px;
  background: #ffffff;
}

.phone-flow span {
  min-height: 84px;
  flex-direction: column;
  gap: 8px;
  border-color: #cfe2f7;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  font-size: 13px;
  text-align: center;
}

.phone-flow b {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0f63e6, #05a7d1);
  box-shadow: 0 8px 18px rgba(15, 99, 230, 0.22);
}

.phone-form {
  padding: 18px;
}

.phone-form label {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(33, 91, 168, 0.08);
}

.phone-form select,
.phone-form textarea,
.phone-form input[type="file"] {
  border-radius: 14px;
}

.phone-preview {
  border-radius: 18px;
  background: #f7fbff;
}

.crop-editor {
  border-radius: 18px;
  overflow: hidden;
}

.crop-box {
  border-color: #0f63e6;
  box-shadow: 0 0 0 999px rgba(3, 15, 35, 0.28);
}

.phone-form .primary-button {
  min-height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f63e6, #05a7d1);
  font-size: 18px;
}

/* 2026-06-10 UI终稿：低饱和蓝白仪表盘，面向公开课投屏 */
.display-page {
  --ui-bg: #f4f8fc;
  --ui-card: rgba(255, 255, 255, 0.94);
  --ui-ink: #102a56;
  --ui-muted: #5f7188;
  --ui-blue: #1d5fbf;
  --ui-blue-2: #2878dc;
  --ui-cyan: #0f9bb5;
  --ui-line: #d7e3f2;
  --ui-line-strong: #a9c5e8;
  --ui-green: #0f8a68;
  --ui-amber: #c77711;
  --ui-shadow: 0 18px 46px rgba(29, 73, 126, 0.12);
  min-height: 100vh;
  background:
    radial-gradient(circle at 84% 0%, rgba(47, 128, 224, 0.13), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(32, 174, 190, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--ui-bg) 100%);
  color: var(--ui-ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

.display-page::before {
  opacity: 0.22;
}

.display-page::after {
  height: 72px;
  opacity: 0.46;
}

.display-page .app-shell {
  max-width: 1540px;
  padding: 20px 28px 28px;
}

.display-page .topbar {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,255,0.94)),
    var(--ui-card);
  box-shadow: var(--ui-shadow);
}

.display-page .topbar::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 24px;
  width: 6px;
  height: 84px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ui-blue), var(--ui-cyan));
}

.display-page .brand-block {
  padding-left: 24px;
}

.display-page .topbar .eyebrow {
  color: var(--ui-blue);
  font-size: 16px;
  letter-spacing: 0;
}

.display-page .topbar h1 {
  margin-top: 6px;
  color: var(--ui-ink);
  font-size: clamp(40px, 3.7vw, 58px);
  line-height: 1.02;
  text-shadow: none;
}

.display-page .topbar .subtitle {
  margin-top: 8px;
  color: #2f4f72;
  font-size: 20px;
  font-weight: 900;
}

.display-page .lesson-meta {
  gap: 8px;
  margin-top: 14px;
}

.display-page .lesson-meta span {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #c8dcf3;
  background: #f1f7ff;
  color: var(--ui-blue);
  font-size: 13px;
}

.display-page .status-panel {
  align-items: stretch;
  gap: 9px;
}

.display-page .ai-seal {
  align-self: flex-end;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.5);
  background: linear-gradient(135deg, #174f9b, #0b8ba7);
  color: #ffffff;
  font-size: 25px;
  box-shadow: 0 12px 26px rgba(16, 90, 166, 0.20);
}

.display-page .status-pill,
.display-page .status-pill:first-of-type {
  justify-content: center;
  min-height: 32px;
  border: 1px solid #c8dcf3;
  background: #f7fbff;
  color: var(--ui-blue);
  font-size: 12px;
}

.display-page .main-grid {
  grid-template-columns: minmax(500px, 0.84fr) minmax(690px, 1.16fr);
  gap: 18px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.display-page .workspace-card {
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background: var(--ui-card);
  box-shadow: var(--ui-shadow);
}

.display-page .section-title {
  margin-bottom: 14px;
}

.display-page .step-mark {
  min-width: 60px;
  min-height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--ui-blue);
  color: #fff;
  font-size: 13px;
}

.display-page .section-title h2 {
  color: var(--ui-ink);
  font-size: 28px;
  letter-spacing: 0;
}

.display-page .group-panel {
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.display-page .group-panel-head {
  align-items: center;
  margin-bottom: 12px;
}

.display-page .group-panel-head span,
.display-page .live-list-head > span {
  color: var(--ui-ink);
  font-size: 18px;
  font-weight: 950;
}

.display-page .group-panel-head small {
  color: var(--ui-muted);
}

.display-page .group-grid {
  gap: 9px;
}

.display-page .group-card {
  min-height: 76px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 73, 126, 0.06);
}

.display-page .group-card.uploaded {
  border-color: #b8d2f1;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
}

.display-page .group-card.reviewed {
  border-color: #a6dbc8;
  background: linear-gradient(180deg, #ffffff, #f2fbf7);
}

.display-page .group-card b {
  color: var(--ui-ink);
}

.display-page .group-card span {
  background: #edf3fa;
  color: #52667d;
}

.display-page .group-card.reviewed span {
  background: #e4f7ef;
  color: var(--ui-green);
}

.display-page .group-card.uploaded span {
  background: #e8f2ff;
  color: var(--ui-blue);
}

.display-page .upload-layout {
  padding: 12px;
  border: 1px dashed #b9d0ee;
  border-radius: 18px;
  background: #f8fbff;
}

.display-page .qr-code {
  width: 84px;
  height: 84px;
}

.display-page .copy-row input {
  min-height: 38px;
  border-color: var(--ui-line);
  border-radius: 12px;
  color: #183958;
}

.display-page .copy-row button {
  min-height: 38px;
  border-radius: 12px;
}

.display-page .head-actions button {
  border-radius: 12px;
  box-shadow: none;
}

.display-page .primary-lite-button,
.display-page #openSummary {
  border: 1px solid #bcd7f8;
  background: #f4f9ff;
  color: var(--ui-blue);
}

.display-page #openSummary {
  background: var(--ui-blue);
  color: #ffffff;
}

.display-page .submission-list {
  max-height: 476px;
  padding-right: 4px;
}

.display-page .submission-card {
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 73, 126, 0.06);
}

.display-page .submission-card img {
  border-radius: 14px;
}

.display-page .submission-card h3 {
  color: var(--ui-ink);
}

.display-page .submission-actions button {
  border-color: #cfe0f3;
  background: #f7fbff;
  color: var(--ui-blue);
}

.display-page .review-card .section-title::after {
  background: #f1f7ff;
  color: var(--ui-blue);
}

.display-page .mode-tabs {
  gap: 10px;
}

.display-page .mode-tab {
  min-height: 72px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  color: var(--ui-ink);
  box-shadow: 0 8px 18px rgba(29, 73, 126, 0.05);
}

.display-page .mode-tab span {
  color: #6a7d91;
}

.display-page .mode-tab strong {
  color: var(--ui-ink);
  font-size: 22px;
}

.display-page .mode-tab.active {
  border-color: rgba(29, 95, 191, 0.72);
  background: linear-gradient(135deg, #164d9c, #0f8dad);
  box-shadow: 0 14px 30px rgba(18, 85, 171, 0.18);
}

.display-page .mode-tab.active strong,
.display-page .mode-tab.active span {
  color: #ffffff;
}

.display-page .mode-tab::after {
  height: 3px;
  background: rgba(29, 95, 191, 0.12);
}

.display-page .classroom-console {
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.display-page #worksheetBadge {
  min-height: 28px;
  background: #e8f2ff;
  color: var(--ui-blue);
}

.display-page .console-main strong {
  color: var(--ui-ink);
  font-size: 28px;
}

.display-page .console-main p {
  max-width: 620px;
  color: #405a77;
  font-size: 17px;
}

.display-page .console-side div {
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #ffffff;
}

.display-page .console-side span {
  color: var(--ui-cyan);
}

.display-page .console-side strong {
  color: var(--ui-ink);
}

.display-page .action-row {
  gap: 10px;
}

.display-page .action-row .primary-button {
  min-height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ui-blue-2), var(--ui-cyan));
  box-shadow: 0 12px 26px rgba(29, 95, 191, 0.18);
}

.display-page .action-row .secondary-button {
  min-width: 64px;
  border-color: var(--ui-line);
  color: var(--ui-blue);
}

.display-page .review-output {
  min-height: 406px;
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: #ffffff;
}

.display-page .empty-state {
  min-height: 360px;
}

.display-page .atom-ring {
  border-color: var(--ui-blue);
  color: var(--ui-blue);
}

.display-page .result-hero {
  border: 1px solid var(--ui-line);
  border-left: 8px solid var(--ui-blue);
  border-radius: 18px;
  background: linear-gradient(135deg, #eef6ff, #fbfdff);
}

.display-page .result-hero h3 {
  color: var(--ui-ink);
  font-size: clamp(30px, 2.8vw, 46px);
}

.display-page .result-card {
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: #ffffff;
}

.display-page .result-card h4 {
  color: var(--ui-ink);
}

.display-page .result-card li {
  color: #1d3652;
  font-size: 18px;
}

.display-page .result-card:first-of-type {
  border-left: 6px solid var(--ui-amber);
  background: #fffaf2;
}

.display-page .score-panel {
  background: #f1f7ff;
  color: var(--ui-blue);
  border: 1px solid #c9dcf4;
}

.display-page .teacher-decision {
  border: 1px solid var(--ui-line);
  background: #f8fbff;
}

.display-page .teacher-decision button.active {
  background: var(--ui-blue);
}

.display-page .summary-board {
  border: 1px solid var(--ui-line);
  background: #f8fbff;
}

.phone-page {
  --phone-blue: #1763d5;
  --phone-cyan: #0aa6c4;
  background:
    radial-gradient(circle at 78% 12%, rgba(23, 99, 213, 0.16), transparent 22%),
    linear-gradient(180deg, #fbfdff, #edf5ff);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

.phone-card {
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(29, 73, 126, 0.16);
}

.phone-hero {
  background: linear-gradient(135deg, var(--phone-blue), #0b7fb2);
}

.phone-card h1 {
  font-size: 27px;
}

.phone-flow {
  gap: 9px;
}

.phone-flow span {
  min-height: 80px;
  border-radius: 18px;
  background: #ffffff;
  color: #183958;
}

.phone-flow b {
  background: linear-gradient(135deg, var(--phone-blue), var(--phone-cyan));
}

.phone-form label {
  border: 1px solid #d7e5f5;
  border-radius: 18px;
}

.display-page .submission-list .empty-state.compact {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed #c7d9ee;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(247,251,255,0.92));
}

.display-page .submission-list .empty-state.compact p {
  max-width: 260px;
  margin: 0;
  color: var(--ui-muted);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  text-align: center;
}

.display-page .review-output.empty .empty-state.compact {
  min-height: 410px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(29, 95, 191, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #fbfdff);
}

.display-page .review-output.empty .empty-state.compact p {
  max-width: 430px;
  margin: 0;
  color: var(--ui-muted);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
}

/* 2026-06-10 软件感精修：顶部改为紧凑导航，修复二维码备用文字 */
.display-page .topbar {
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 18px;
  border-radius: 20px;
}

.display-page .topbar::before {
  left: 18px;
  top: 18px;
  width: 5px;
  height: 44px;
}

.display-page .brand-block {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding-left: 18px;
}

.display-page .topbar .eyebrow {
  grid-column: 1 / 2;
  align-self: end;
  font-size: 14px;
  color: var(--ui-muted);
}

.display-page .topbar h1 {
  grid-column: 1 / 2;
  margin: 0;
  font-size: 29px;
  line-height: 1.1;
}

.display-page .topbar .subtitle {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: #f7fbff;
  color: #254e73;
  font-size: 14px;
}

.display-page .lesson-meta {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
  justify-self: start;
  margin: 0;
}

.display-page .lesson-meta span {
  min-height: 28px;
  font-size: 12px;
}

.display-page .status-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 8px 10px;
}

.display-page .ai-seal {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  font-size: 21px;
}

.display-page .status-pill {
  min-height: 28px;
  padding: 0 10px;
}

.display-page .main-grid {
  margin-top: 14px;
}

.display-page .qr-code > span.qr-fallback {
  display: none !important;
}

.display-page .qr-code > div.qr-fallback {
  display: grid !important;
}

.display-page .qr-box {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0;
}

.display-page .qr-code {
  position: relative;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border-radius: 14px;
}

.display-page .qr-code img {
  position: absolute;
  inset: 5px;
  width: 76px;
  height: 76px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.display-page .qr-code.qr-ready img {
  opacity: 1;
}

.display-page .qr-code.qr-ready .qr-fallback {
  opacity: 0;
}

.display-page .qr-code.qr-error img {
  display: none;
}

.display-page .qr-code .qr-fallback,
.display-page .qr-code > div.qr-fallback {
  position: absolute;
  inset: 8px;
  display: grid !important;
  place-items: center;
  padding: 0;
  border-radius: 10px;
  background: #f3f8ff;
  color: var(--ui-blue);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
}

.display-page .qr-code .qr-fallback small {
  display: block;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ui-muted);
  font-size: 10px;
}

.display-page .review-output {
  min-height: 456px;
}

.display-page .empty-state {
  min-height: 410px;
}

@media (max-width: 1280px) {
  .display-page .brand-block {
    grid-template-columns: 1fr;
  }

  .display-page .topbar .eyebrow,
  .display-page .topbar h1,
  .display-page .topbar .subtitle,
  .display-page .lesson-meta {
    grid-column: auto;
    grid-row: auto;
  }

  .display-page .topbar .subtitle {
    display: none;
  }
}
