:root { --class-ink: #20232b; --class-muted: #626d7a; --class-line: #d9dde5; --class-accent: #923b60; --class-green: #256351; }
.classroom-account { display: flex; align-items: center; gap: 8px; }
.classroom-account img, .classroom-explore img, .classroom-next img, .question-feedback img, .report-button img { width: 18px; height: 18px; flex: 0 0 auto; }
.classroom-progress { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 65px; height: 32px; padding: 0 9px; color: #fff; border: 1px solid #536074; border-radius: 5px; background: #26313f; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.classroom-progress.is-complete { background: #d9efe5; color: #1c5745; border-color: #9bccb7; }
.classroom-saving { color: #d0d8e4; font-size: 12px; }
.classroom-account-menu { position: relative; }
.classroom-account-menu summary { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 5px; color: #fff; cursor: pointer; list-style: none; }
.classroom-account-menu summary::-webkit-details-marker { display: none; }
.classroom-account-menu summary > img { filter: invert(1); width: 22px; height: 22px; }
.classroom-account-popover { position: absolute; top: 40px; right: 0; z-index: 130; display: grid; gap: 8px; width: min(300px, calc(100vw - 24px)); padding: 16px; border: 1px solid var(--class-line); border-radius: 6px; background: #fff; color: var(--class-ink); box-shadow: 0 8px 24px #19233426; overflow-wrap: anywhere; }
.classroom-account-popover > span { font-size: 12px; color: var(--class-muted); }
.classroom-account-popover > a { color: var(--class-accent); padding-top: 10px; }
.classroom-account-popover > button { display: flex; align-items: center; gap: 9px; padding: 9px 0 0; border: 0; border-top: 1px solid var(--class-line); background: transparent; color: var(--class-ink); text-align: left; font: inherit; cursor: pointer; }
.classroom-account-popover > p:empty { display: none; }
.classroom-explore, .classroom-next { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 12px 0 16px; line-height: 1.4; }
.classroom-next img { filter: invert(1); }
.classroom-answer-form { margin-top: 12px; }
.classroom-answer-form fieldset { display: grid; gap: 10px; min-width: 0; padding: 0; margin: 0; border: 0; }
.classroom-answer.question-option { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px; font-size: 13px; line-height: 1.55; cursor: pointer; }
.classroom-answer input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--class-accent); }
.classroom-answer-form fieldset:disabled .classroom-answer { cursor: default; }
.classroom-submit { width: 100%; margin-top: 14px; }
.classroom-scene-note { margin: 12px 0; padding: 13px 0; border-block: 1px solid var(--class-line); color: var(--class-muted); font-size: 13px; line-height: 1.65; }
.classroom-scene-note strong { color: var(--class-ink); font-size: 14px; }
.classroom-scene-note p { margin: 5px 0 0; }
.classroom-situation-note { margin-top: 22px; font-size: 13px; line-height: 1.65; }
.classroom-situation-note h3 { margin: 14px 0 8px; font-size: 15px; line-height: 1.45; }
.classroom-situation-note p { margin: 0 0 14px; color: var(--class-muted); }
.classroom-situation-boundary { padding-top: 14px; border-top: 1px solid var(--class-line); }
.classroom-situation-note .science-link { font-size: 12px; }
.classroom-error { color: #92332f; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.classroom-completion { margin-top: 18px; padding-top: 18px; border-top: 1px solid #b5d8c8; color: var(--class-green); font-size: 14px; }
.classroom-completion p { margin: 6px 0 0; line-height: 1.6; }
.classroom-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#questionPanel .question-feedback.correct { display: flex; align-items: flex-start; gap: 9px; }
#questionPanel .question-feedback.correct img { margin-top: 2px; }

.signin-page, .report-page { margin: 0; background: #f7f8fa; color: var(--class-ink); font-family: Arial, sans-serif; letter-spacing: 0; }
.signin-page *, .report-page * { box-sizing: border-box; }
.classroom-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 12px 28px; background: #171e28; color: #fff; }
.classroom-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.classroom-mark { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 5px; background: var(--class-accent); color: white; font-size: 11px; font-weight: 800; }
.classroom-header a { color: #e4eaf3; font-size: 13px; text-decoration: none; }
.signin-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); align-items: center; gap: 72px; max-width: 1080px; margin: 70px auto; padding: 0 32px; }
.signin-intro h1 { margin: 14px 0 12px; font-size: 38px; line-height: 1.2; }
.signin-intro > p:not(.eyebrow) { font-size: 17px; color: var(--class-muted); line-height: 1.6; }
.eyebrow { font-size: 11px; font-weight: 700; color: var(--class-accent); line-height: 1.6; }
.signin-visual { display: block; width: 100%; max-width: 480px; height: 210px; object-fit: contain; margin-top: 24px; }
.signin-form { border-left: 1px solid var(--class-line); padding-left: 40px; }
.signin-form h2 { font-size: 23px; line-height: 1.3; margin: 0 0 14px; }
.signin-form > p { color: var(--class-muted); font-size: 15px; line-height: 1.75; }
.signin-form > .classroom-error { color: #92332f; }
.microsoft-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 16px; margin-top: 26px; border: 1px solid #8791a0; border-radius: 5px; background: white; color: #232b36; text-decoration: none; font-weight: 600; font-size: 14px; }
.microsoft-button:hover { background: #eef2f6; border-color: #374355; }
.microsoft-mark { display: grid; grid-template-columns: 9px 9px; grid-template-rows: 9px 9px; gap: 2px; }
.microsoft-mark i:nth-child(1) { background: #f25022; }.microsoft-mark i:nth-child(2) { background: #7fba00; }.microsoft-mark i:nth-child(3) { background: #00a4ef; }.microsoft-mark i:nth-child(4) { background: #ffb900; }
.signin-form .signin-note { font-size: 12px; margin-top: 12px; }
.report-main { max-width: 1240px; margin: 30px auto 80px; padding: 0 24px; }
.report-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.report-heading h1 { font-size: 28px; margin: 0 0 8px; }
.report-heading p { font-size: 14px; color: var(--class-muted); margin: 0; }
.report-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 13px; border: 1px solid var(--class-line); background: white; color: var(--class-ink); border-radius: 5px; font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.report-button:disabled { opacity: .55; cursor: wait; }
.report-icon-button { width: 40px; padding: 8px; }
.report-actions { display: flex; gap: 8px; }
.report-stats { display: flex; gap: 48px; padding: 24px 0; margin: 20px 0; border-block: 1px solid var(--class-line); }
.report-stats div { display: grid; gap: 7px; }
.report-stats strong { font-size: 27px; }
.report-stats span { font-size: 12px; color: var(--class-muted); }
.report-filters { display: flex; gap: 10px; margin: 18px 0; }
.report-filters input, .report-filters select { height: 40px; border: 1px solid var(--class-line); border-radius: 5px; background: white; padding: 8px 12px; font: inherit; font-size: 13px; }
.report-filters input { width: min(340px, 100%); }
.report-table-wrap { overflow-x: auto; border-block: 1px solid var(--class-line); background: white; }
.report-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.report-table th { font-size: 11px; color: var(--class-muted); background: #f0f3f6; padding: 13px 16px; white-space: nowrap; }
.report-table td { padding: 16px; border-top: 1px solid #e9ecf1; line-height: 1.5; }
.report-table td strong { display: block; }
.report-email { display: block; color: var(--class-muted); margin-top: 3px; }
.report-status { display: inline-block; padding: 3px 7px; border-radius: 4px; background: #f1e8d1; color: #6e571e; white-space: nowrap; font-size: 12px; }
.report-status.complete { background: #e1f0e8; color: var(--class-green); }
.report-date { white-space: nowrap; color: var(--class-muted); }
.report-empty { padding: 42px 16px; text-align: center; color: var(--class-muted); font-size: 14px; }
.report-empty[hidden], .report-table-wrap[hidden] { display: none; }
.report-footnote { font-size: 12px; color: var(--class-muted); margin-top: 14px; }
.report-error { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #92332f; }
.report-error[hidden] { display: none; }
.classroom-account-popover > a[hidden], #dashboardLink[hidden] { display: none; }
.report-header-actions { display: flex; align-items: center; gap: 18px; }
.report-filters select { max-width: 100%; }
.report-topic { min-width: 155px; max-width: 220px; }
.report-status.opened { background: #e8eef6; color: #3b526f; }
.signin-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.signin-topics .signin-visual { height: 130px; margin: 0; border: 1px solid var(--class-line); border-radius: 5px; background: white; }
.topic-neural .topbar { flex-direction: row; align-items: center; }
.topic-neural .topbar .top-actions { width: auto; flex-wrap: nowrap; }

@media (max-width: 900px) {
  .topic-neural .topbar .brand-subtitle { display: none; }
  body.topic-dna.lab-portal-mode .lab-visual { order: 2; }
  body.topic-dna.lab-portal-mode .lab-graph { order: 3; }
  body.topic-dna.lab-portal-mode .lab-controls { order: 4; }
}

@media (max-width: 700px) {
  .classroom-progress-label { display: none; }
  .classroom-progress { min-width: 42px; padding: 0 6px; height: 30px; font-size: 11px; }
  .classroom-progress > img { display: none; }
  .classroom-account { gap: 3px; }
  .classroom-account-menu summary { width: 28px; height: 30px; }
  .topic-dna .topbar { padding-inline: 8px; gap: 7px; }
  .topic-dna .topbar-actions { gap: 6px; }
  body.topic-dna.lab-portal-mode .question-tab { width: 44px; height: 44px; min-width: 44px; }
  .classroom-header { padding: 12px 16px; }
  .signin-main { display: block; margin: 30px auto; padding: 0 24px; max-width: 480px; }
  .signin-intro h1 { font-size: 32px; }
  .signin-visual { height: 145px; margin: 12px 0 24px; }
  .signin-form { border-left: 0; border-top: 1px solid var(--class-line); padding: 24px 0 0; }
  .report-main { padding: 0 16px; }
  .report-heading { flex-wrap: wrap; }
  .report-stats { gap: 30px; }
  .report-filters { flex-wrap: wrap; }
  .report-filters select { flex: 1 1 180px; min-width: 0; }
  .report-filters input { flex: 1; min-width: 180px; }
  .report-table td, .report-table th { padding: 12px; }
}
