:root {
  --student-navy: #292965;
  --student-navy-strong: #202052;
  --student-indigo: #5755b9;
  --student-lavender: #e8e8ff;
  --student-lavender-strong: #b8b7fb;
  --student-canvas: #f4f4f4;
  --student-card: #fff;
  --student-text: #101018;
  --student-muted: #62677a;
  --student-border: #d7d8df;
  --student-green: #42c987;
  --student-red: #df5159;
  --student-orange: #f2a000;
  --student-radius: 12px;
  --student-shadow: 0 2px 9px rgba(20, 24, 40, .2);
}
 
/* Formatação rica sem estilos inline: compatível com a CSP de produção. */
.rich-fs-14 { font-size: 14px !important; }
.rich-fs-16 { font-size: 16px !important; }
.rich-fs-18 { font-size: 18px !important; }
.rich-fs-20 { font-size: 20px !important; }
.rich-fs-21 { font-size: 21px !important; }
.rich-fs-22 { font-size: 22px !important; }
.rich-fs-24 { font-size: 24px !important; }
.rich-fs-26 { font-size: 26px !important; }
.rich-fs-28 { font-size: 28px !important; }
.rich-fs-32 { font-size: 32px !important; }
.rich-lh-1-2 { line-height: 1.2 !important; }
.rich-lh-1-25 { line-height: 1.25 !important; }
.rich-lh-1-35 { line-height: 1.35 !important; }
.rich-lh-1-45 { line-height: 1.45 !important; }
.rich-lh-1-55 { line-height: 1.55 !important; }
.rich-lh-1-7 { line-height: 1.7 !important; }
.rich-lh-1-9 { line-height: 1.9 !important; }
.rich-align-left { text-align: left !important; }
.rich-align-center { text-align: center !important; }
.rich-align-right { text-align: right !important; }
.rich-align-justify { text-align: justify !important; }
.rich-image {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 10px 0;
  border-radius: 10px;
}
progress.progress-track {
  display: block !important;
  width: 100% !important;
  height: 8px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 999px !important;
  background: #e6e7ee !important;
  appearance: none;
}
progress.progress-track::-webkit-progress-bar { background: #e6e7ee; border-radius: 999px; }
progress.progress-track::-webkit-progress-value { background: var(--student-indigo); border-radius: 999px; }
progress.progress-track::-moz-progress-bar { background: var(--student-indigo); border-radius: 999px; }

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

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #f4a621 !important;
  outline-offset: 3px !important;
}

body.modal-open { overflow: hidden; }

body.student-home-page,
#page-wrapper {
  background: var(--student-canvas);
  color: var(--student-text);
}

#side-menu {
  background: var(--student-navy);
  border-radius: 0 12px 12px 0;
  box-shadow: 3px 0 14px rgba(24, 25, 73, .12);
}

#studentNameLabel {
  display: block;
  width: 76px;
  height: auto;
  overflow: hidden;
  opacity: 1;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
}

.menu-option {
  position: relative;
  border-radius: 8px !important;
}

.menu-option::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 0;
  border-radius: 0 4px 4px 0;
  background: #fff;
  transition: height .18s ease;
}

.menu-option:hover::before,
.menu-option.active::before { height: 28px; }

.menu-option:hover,
.menu-option.active,
.menu-option:hover i,
.menu-option.active i,
.menu-option:hover .option-description,
.menu-option.active .option-description { color: #fff; }

#wrapper { padding: 48px 20px 44px; }

.aluno-panel-title { margin: -38px 0 18px; }

.aluno-panel-title h1 {
  font-size: 16px;
  font-weight: 500;
}

.aluno-panel-title h1 .fa { font-size: 15px; }

#brasilia-clock,
#examClock,
.official-clock {
  border-color: var(--student-orange);
  background: #fffdf7;
  color: #995100;
  font-size: 12px;
  font-weight: 600;
}

.pf-test-card {
  border: 1px solid rgba(20, 24, 40, .12);
  border-radius: var(--student-radius);
  box-shadow: var(--student-shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}

.pf-test-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 24, 40, .2);
}

.start-evaluation-btn {
  min-height: 38px;
  border: 1px solid #8d8d95;
  border-radius: 999px;
  background: #fff;
  color: var(--student-indigo);
  font-weight: 500;
  padding: 8px 18px;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.start-evaluation-btn:hover {
  color: var(--student-navy);
  border-color: var(--student-navy);
  background: #f7f7ff;
}

.start-evaluation-btn.is-resume {
  border-color: var(--student-navy);
  background: var(--student-navy);
  color: #fff;
}

/* Diálogos */
.modal { backdrop-filter: blur(2px); }

.modal-card {
  border: 1px solid rgba(20, 24, 40, .18);
  border-radius: 16px;
}

.modal-head h2 { font-size: 19px; }

.modal-body label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 600;
}

.modal-body input {
  border-radius: 9px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.modal-body input:focus {
  border-color: var(--student-indigo);
  box-shadow: 0 0 0 3px rgba(87, 85, 185, .13);
  outline: 0;
}

.login-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff0f1;
  color: #9d2028;
  font-size: 13px;
  line-height: 1.45;
}

/* Relatório da tentativa */
.result-screen {
  position: relative;
  min-height: 100vh !important;
  padding: 64px clamp(20px, 4vw, 64px) 56px !important;
  background: var(--student-canvas) !important;
  color: var(--student-text) !important;
}

.result-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 6px clamp(20px, 4vw, 64px);
}

.result-back {
  justify-self: start;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
}

.result-back:hover { color: var(--student-indigo); }

.official-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 13px;
  border: 1px solid var(--student-orange);
  border-radius: 8px;
  white-space: nowrap;
}

.official-clock .fa { color: var(--student-orange); }

.result-top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.result-print {
  min-width: 100px;
  min-height: 35px;
  padding: 7px 18px;
  border-radius: 999px;
  color: var(--student-indigo);
}

.result-content {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.result-evaluation-card {
  padding: 24px clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(20, 24, 40, .15);
  border-radius: 12px;
  background: var(--student-card);
  box-shadow: var(--student-shadow);
}

.result-evaluation-card > h1 {
  margin: 0 0 17px;
  font-size: 15px;
  font-weight: 600;
}

.result-info-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(360px, 1.45fr) minmax(310px, 1fr);
  gap: 20px 36px;
  align-items: start;
}

.result-info-column p {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.35;
}

.result-info-column .fa,
.result-legend > strong .fa { font-size: 16px; text-align: center; }

.result-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}

.result-legend > strong {
  flex: 0 0 100%;
  font-size: 12px;
}

.result-legend > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-pill {
  padding: 3px 7px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.legend-pill.correct { background: var(--student-green); }
.legend-pill.incorrect { background: var(--student-red); }
.legend-pill.blank { background: #858585; }
.legend-pill.pending { background: var(--student-indigo); }

.review-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 17px 12px 10px;
  font-size: 14px;
}

.review-total strong { font-size: 15px; }

.review-total small {
  margin-left: 9px;
  color: var(--student-muted);
  font-size: 10px;
}

.review-question-list {
  display: grid;
  gap: 24px;
}

.review-question-card {
  margin: 0 !important;
  padding: clamp(22px, 2.4vw, 34px) !important;
  border: 1px solid rgba(20, 24, 40, .16) !important;
  border-radius: 14px !important;
  background: var(--student-card) !important;
  box-shadow: var(--student-shadow) !important;
}

.review-question-card.is-correct { border-color: var(--student-green) !important; }
.review-question-card.is-incorrect { border-color: var(--student-red) !important; }
.review-question-card.is-essay { border-color: #aeb1ba !important; }
.review-question-card.is-blank:not(.is-essay) { border-color: var(--student-orange) !important; }

.review-question-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 15px;
}

.review-question-header h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.review-question-header > strong {
  flex: 0 0 auto;
  font-size: 16px;
  white-space: nowrap;
}

.question-kind-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
}

.question-kind-icon.correct { background: var(--student-green); }
.question-kind-icon.incorrect { background: var(--student-red); }
.question-kind-icon.blank { background: #858585; }
.question-kind-icon.pending { background: var(--student-indigo); }

.review-state-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.review-state-label.correct { background: #e8f8ef; color: #087443; }
.review-state-label.incorrect { background: #fff0f1; color: #b4232b; }
.review-state-label.blank { background: #f2f3f5; color: #60646f; }
.review-state-label.essay { background: #eeeefa; color: var(--student-navy); }

.review-statement {
  margin: 0 0 14px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  white-space: normal !important;
}

.review-statement > strong,
.review-answer-title {
  display: block;
  margin: 0 0 7px !important;
  font-size: 12px;
  font-weight: 600 !important;
}

.review-statement.rich-review-content,
.essay-review.rich-review-content {
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.review-statement.rich-review-content div,
.review-statement.rich-review-content p,
.essay-review.rich-review-content div,
.essay-review.rich-review-content p {
  margin-bottom: 8px !important;
}

.review-choice {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px;
  padding: 7px 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.review-choice.correct { background: var(--student-lavender-strong) !important; }
.review-choice.user-wrong { background: #fff1f2 !important; }
.review-choice.user-blank { color: var(--student-muted); }

.review-choice span {
  display: grid !important;
  place-items: center !important;
  width: 36px !important;
  height: 36px !important;
  border: 1px solid var(--student-navy) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--student-navy) !important;
  font-size: 12px;
  font-weight: 500 !important;
}

.review-choice.correct span {
  border-color: var(--student-navy) !important;
  background: var(--student-navy) !important;
  color: #fff !important;
}

.review-choice p { margin: 0; font-size: 12px; line-height: 1.4; }

.essay-review {
  padding: 12px !important;
  border: 1px solid var(--student-border) !important;
  border-radius: 8px !important;
  background: #fafaff !important;
}

.essay-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.essay-comparison-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--student-border);
  border-radius: 12px;
  background: #fff;
}

.essay-comparison-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--student-border);
}

.essay-comparison-header > div {
  display: grid;
  gap: 2px;
}

.essay-comparison-header strong {
  font-size: 12px;
  font-weight: 700;
}

.essay-comparison-header small {
  color: var(--student-muted);
  font-size: 10px;
  line-height: 1.3;
}

.essay-comparison-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
}

.user-essay-panel {
  border-color: rgba(87, 85, 185, .34);
  background: #fbfbff;
}

.user-essay-panel .essay-comparison-header {
  border-color: rgba(87, 85, 185, .22);
  background: rgba(87, 85, 185, .07);
}

.user-essay-panel .essay-comparison-icon {
  background: #e8e8ff;
  color: var(--student-navy);
}

.reference-essay-panel {
  border-color: rgba(20, 128, 74, .35);
  background: #fbfffc;
}

.reference-essay-panel .essay-comparison-header {
  border-color: rgba(20, 128, 74, .22);
  background: rgba(20, 128, 74, .07);
}

.reference-essay-panel .essay-comparison-icon {
  background: #ddf6e8;
  color: #087443;
}

.essay-comparison-panel .essay-review {
  min-height: 150px;
  padding: 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.essay-comparison-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--student-muted);
  font-size: 10px;
  line-height: 1.45;
}

.essay-comparison-note .fa {
  margin-top: 1px;
  color: var(--student-indigo);
}

.result-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 24px;
}

/* Pequenos refinamentos durante a prova */
body.exam-mode #questionArea {
  gap: 30px !important;
}

body.exam-mode .exam-paper-area,
body.exam-mode .student-question-card {
  width: min(980px, 100%) !important;
  max-width: 980px !important;
}

body.exam-mode .student-question-card.answered-question-card {
  border-color: rgba(87, 85, 185, .38) !important;
}

body.exam-mode .exam-question-drawer {
  opacity: 1 !important;
}

body.exam-mode .student-question-card {
  border-radius: 14px !important;
  border-color: rgba(41, 41, 101, .18) !important;
  padding: 32px clamp(26px, 3.2vw, 44px) 34px !important;
  box-shadow: 0 3px 14px rgba(20, 24, 40, .14) !important;
}

body.exam-mode .question-card-header {
  margin-bottom: 24px !important;
}

body.exam-mode .question-card-header h1 {
  font-size: clamp(20px, 1.7vw, 25px) !important;
}

body.exam-mode .question-statement-block {
  margin-bottom: 26px !important;
}

/* Mantém na prova a tipografia e as quebras definidas no editor do admin. */
body.exam-mode .statement {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

body.exam-mode .statement p,
body.exam-mode .statement div {
  min-height: 1.2em !important;
  margin: 0 0 .45em !important;
}

body.exam-mode .statement p:last-child,
body.exam-mode .statement div:last-child {
  margin-bottom: 0 !important;
}

body.exam-mode .statement ul,
body.exam-mode .statement ol {
  margin: 10px 0 16px !important;
  padding-left: 30px !important;
}

body.exam-mode .statement li {
  margin: 0 !important;
}

body.exam-mode .question-options {
  gap: 10px !important;
  margin: 24px 0 0 !important;
}

body.exam-mode .choice {
  grid-template-columns: 50px minmax(0, 1fr) !important;
  min-height: 66px !important;
  padding: 12px 16px !important;
  border: 1px solid var(--exam-border) !important;
  border-radius: 12px !important;
  background: rgba(248, 250, 252, .62) !important;
  transition: background .14s ease, border-color .14s ease, transform .14s ease !important;
}

body.exam-mode .choice:last-child {
  border-bottom: 1px solid var(--exam-border) !important;
}

body.exam-mode .choice .letter {
  width: 40px !important;
  height: 40px !important;
  font-size: 15px !important;
}

body.exam-mode .choice .option-text {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.exam-mode .choice:not(:disabled):hover {
  border-color: rgba(41, 41, 101, .42) !important;
  background: rgba(41, 41, 101, .055) !important;
  transform: translateY(-1px);
}

body.exam-mode .choice.selected {
  border-color: rgba(41, 41, 101, .58) !important;
  background: rgba(41, 41, 101, .09) !important;
}

body.exam-mode .choice.correct-choice { border-color: var(--exam-success) !important; }
body.exam-mode .choice.wrong-choice { border-color: var(--exam-danger) !important; }

body.exam-mode .choice:disabled { cursor: default !important; }

body.exam-mode .essay-input { resize: vertical; }

/* Tema escuro */
body.theme-dark.student-home-page,
body.theme-dark #page-wrapper,
body.theme-dark .result-screen {
  background: #101117 !important;
  color: #f6f6fb !important;
}

body.theme-dark .result-evaluation-card,
body.theme-dark .review-question-card {
  border-color: #373944 !important;
  background: #1c1d24 !important;
  color: #f6f6fb !important;
  box-shadow: 0 2px 11px rgba(0, 0, 0, .32) !important;
}

body.theme-dark .review-question-card.is-correct { border-color: #3daf76 !important; }
body.theme-dark .review-question-card.is-incorrect { border-color: #cb4d56 !important; }
body.theme-dark .review-question-card.is-essay { border-color: #666a76 !important; }
body.theme-dark.exam-mode .student-question-card { border-color: #3c3f4c !important; }
body.theme-dark.exam-mode .choice { background: rgba(255,255,255,.035) !important; }
body.theme-dark.exam-mode .choice:not(:disabled):hover { background: rgba(197,196,255,.075) !important; }
body.theme-dark.exam-mode .choice.selected { background: rgba(197,196,255,.11) !important; }
body.theme-dark.exam-mode .choice.correct-choice { background: rgba(61,175,118,.11) !important; }
body.theme-dark.exam-mode .choice.wrong-choice { background: rgba(203,77,86,.11) !important; }

body.theme-dark .start-evaluation-btn {
  background: transparent;
  color: #c5c4ff;
}

body.theme-dark .review-choice { color: #f6f6fb !important; }
body.theme-dark .review-choice.correct { background: #494987 !important; }
body.theme-dark .review-choice.user-wrong { background: #49282c !important; }
body.theme-dark .review-choice span { background: #1c1d24 !important; color: #fff !important; border-color: #bbbaff !important; }
body.theme-dark .review-choice.correct span { background: #c5c4ff !important; color: #171739 !important; }
body.theme-dark .essay-review { border-color: #40424f !important; background: #242630 !important; }
body.theme-dark .review-state-label.correct { background: rgba(61,175,118,.17); color: #8be0b3; }
body.theme-dark .review-state-label.incorrect { background: rgba(203,77,86,.18); color: #ff9ca3; }
body.theme-dark .review-state-label.blank { background: #30323b; color: #d0d2da; }
body.theme-dark .review-state-label.essay { background: rgba(197,196,255,.14); color: #d8d7ff; }
body.theme-dark .essay-comparison-panel { background: #202129; }
body.theme-dark .user-essay-panel { border-color: #555487; }
body.theme-dark .user-essay-panel .essay-comparison-header { border-color: #484767; background: rgba(197,196,255,.07); }
body.theme-dark .user-essay-panel .essay-comparison-icon { background: #35355f; color: #d8d7ff; }
body.theme-dark .reference-essay-panel { border-color: #356e52; }
body.theme-dark .reference-essay-panel .essay-comparison-header { border-color: #305d48; background: rgba(61,175,118,.07); }
body.theme-dark .reference-essay-panel .essay-comparison-icon { background: #244c38; color: #91e4b8; }
body.theme-dark .essay-comparison-header small,
body.theme-dark .essay-comparison-note { color: #b8bac6; }
body.theme-dark .review-total small { color: #b8bac6; }
body.theme-dark .official-clock { background: #fffdf7; color: #995100; }

@media (max-width: 1180px) {
  .result-info-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .result-legend { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body.showing-panel #wrapper {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    padding: 126px 14px 40px;
  }
  .aluno-content-panel { min-width: 0; max-width: 100%; }
  .aluno-panel-title { margin: 0 0 15px; }
  #top-menu-logo-container {
    display: grid;
    place-items: center;
    padding: 3px 11px;
    border-radius: 8px;
    background: var(--student-navy);
  }
  #top-center-bar,
  body.side-menu-expanded #top-center-bar,
  body.menu-open #top-center-bar {
    justify-content: flex-start;
    padding-left: 14px;
  }
  #brasilia-clock { max-width: calc(100vw - 104px); }
  .result-topbar { position: relative; grid-template-columns: 1fr auto; padding: 8px 12px; }
  .result-topbar .official-clock { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 5px; }
  .result-screen { padding: 0 14px 38px !important; }
  .result-info-grid { grid-template-columns: 1fr; gap: 8px; }
  .result-legend { grid-column: auto; margin-top: 4px; }
  .essay-comparison-grid { grid-template-columns: 1fr; }
  .essay-comparison-panel .essay-review { min-height: auto; }
}

@media (max-width: 700px) {
  .result-evaluation-card,
  .review-question-card { padding: 16px !important; }
  .review-question-header { display: block !important; }
  .review-question-header > strong { display: block; margin-top: 8px; }
  .review-total { flex-wrap: wrap; }
  .review-total small { flex: 0 0 100%; margin: 3px 0 0; text-align: center; }
  body.exam-mode .student-question-card { padding: 24px 18px 26px !important; }
  body.exam-mode .question-options { gap: 8px !important; margin-top: 20px !important; }
  body.exam-mode .choice {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-height: 62px !important;
    padding: 11px 12px !important;
  }
  body.exam-mode .choice .letter { width: 36px !important; height: 36px !important; }
}

@media (max-width: 480px) {
  .result-print { min-width: 42px; padding: 7px 10px; font-size: 0; }
  .result-print .fa { font-size: 14px; }
  .result-top-actions { gap: 8px; }
  .official-clock { font-size: 10px; }
  .review-choice { grid-template-columns: 38px minmax(0, 1fr) !important; padding-left: 4px !important; padding-right: 4px !important; }
  .review-question-card { padding: 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page { margin: 12mm; }
  body,
  body.theme-dark,
  .result-screen,
  body.theme-dark .result-screen {
    background: #fff !important;
    color: #000 !important;
  }
  .result-screen { padding: 0 !important; }
  .result-topbar,
  .result-footer-actions { display: none !important; }
  .result-evaluation-card,
  .review-question-card {
    break-inside: avoid;
    border: 1px solid #bbb !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .review-question-list { gap: 10px; }
  .review-choice.correct {
    background: #e4e4fa !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
