/* Aula Instituto DPC */
.aula-body {
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(202, 35, 63, 0.08), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(25, 33, 38, 0.06), transparent 50%),
    #f4f2f3;
  min-height: 100vh;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.aula-body.aula-is-login { background: #192126; }

.aula-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1.75rem 0 4.5rem;
}
@media (max-width: 600px) {
  .aula-shell { width: calc(100% - 24px); padding: 1.25rem 0 3rem; }
}

/* —— Login (sin cambios de comportamiento) —— */
.aula-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(25, 33, 38, 0.92), rgba(202, 35, 63, 0.55)),
    #192126;
}
.aula-login-wrap[hidden] { display: none !important; }
.aula-login-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.aula-login-logo { height: 48px; margin-bottom: 16px; display: block; }
.aula-login-card h1 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #192126;
}
.aula-login-card .muted { color: #666; margin: 0 0 16px; font-size: 0.9rem; line-height: 1.4; }
.aula-login-field {
  display: block;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
}
.aula-login-field input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid #cfd4d7;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}
.aula-login-card .error {
  color: #CA233F;
  font-size: 0.85rem;
  margin: 0 0 10px;
}
.aula-login-btn {
  width: 100%;
  min-height: 44px;
  background: #CA233F !important;
  border-color: #CA233F !important;
  color: #fff !important;
  font-weight: 700;
}
.aula-login-links { margin: 14px 0 0; font-size: 0.85rem; }
.aula-login-links a { color: #CA233F; }
#aulaApp[hidden] { display: none !important; }

.aula-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #CA233F;
}
.aula-kicker-light { color: rgba(255, 255, 255, 0.85); }
.aula-page-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  color: #192126;
  line-height: 1.2;
}
.aula-page-lead { margin: 0; max-width: 36rem; font-size: 0.95rem; }
.aula-list-header { margin-bottom: 1.5rem; }
.aula-empty {
  grid-column: 1 / -1;
  padding: 2rem 1rem;
  text-align: center;
}
.muted { color: #666; }
.error { color: #CA233F; }

.aula-section-nav {
  grid-column: 1 / -1;
  margin: 0 0 0.25rem;
}

/* —— Hub Tu Aula (secciones) —— */
.aula-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.aula-hub-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(25, 33, 38, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 8px 24px rgba(25, 33, 38, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.aula-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 35, 63, 0.35);
  box-shadow: 0 14px 36px rgba(25, 33, 38, 0.1);
}
.aula-hub-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.aula-hub-media.tone-cert {
  background: linear-gradient(145deg, #2a1218 0%, #CA233F 100%);
  color: #CA233F;
}
.aula-hub-media.tone-cong {
  background: linear-gradient(145deg, #12202a 0%, #2a6f97 100%);
  color: #3d8fbc;
}
.aula-hub-media.tone-sem {
  background: linear-gradient(145deg, #2a1c0e 0%, #c47a1a 100%);
  color: #e09a35;
}
.aula-hub-media.tone-cur {
  background: linear-gradient(145deg, #12241a 0%, #2d7a4f 100%);
  color: #3fa86a;
}
.aula-hub-media.tone-live {
  background: linear-gradient(145deg, #2a0f14 0%, #CA233F 100%);
  color: #CA233F;
}

/* CTA transmisión vinculada dentro del programa */
.aula-linked-live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.1rem;
  margin: 0 0 1.1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(202, 35, 63, 0.28);
  background:
    linear-gradient(120deg, rgba(202, 35, 63, 0.08), transparent 55%),
    #fff;
}
.aula-linked-live[hidden] { display: none !important; }
.aula-linked-live-text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  flex: 1 1 220px;
}
.aula-linked-live-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #CA233F;
  background: rgba(202, 35, 63, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.aula-linked-live-text strong {
  font-size: 1rem;
  color: #192126;
}
.aula-linked-live-text .muted {
  margin: 0;
  font-size: 0.86rem;
}
.aula-linked-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aula-hub-icon {
  display: flex;
  width: 7.25rem;
  height: 7.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.94);
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.aula-hub-icon svg {
  width: 4.25rem;
  height: 4.25rem;
  display: block;
}
.aula-hub-card.is-loading {
  opacity: 0.72;
  pointer-events: none;
}
.aula-hub-body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
}
.aula-hub-body strong {
  font-size: 1.08rem;
  color: #192126;
  font-weight: 800;
}
.aula-hub-meta {
  font-size: 0.82rem;
  color: #CA233F;
  font-weight: 700;
}
.aula-hub-meta.is-loading {
  color: #666;
  font-weight: 600;
}
.aula-hub-meta.is-error {
  color: #888;
  font-weight: 600;
}

/* —— Rejilla de programas —— */
.aula-program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}
.aula-program-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(25, 33, 38, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 8px 24px rgba(25, 33, 38, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.aula-program-card:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 35, 63, 0.35);
  box-shadow: 0 14px 36px rgba(25, 33, 38, 0.1);
}
.aula-program-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #192126, #3a454c);
  overflow: hidden;
}
.aula-program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aula-program-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
}
.aula-program-body {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.15rem;
}
.aula-program-body strong {
  font-size: 1.02rem;
  color: #192126;
  line-height: 1.3;
}
.aula-program-body .muted {
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aula-program-cta {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #CA233F;
}

/* —— Detalle —— */
.aula-detail[hidden] { display: none !important; }
.aula-back {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: #CA233F !important;
  border-color: #CA233F !important;
  background: #fff !important;
}
.aula-back:hover {
  background: #CA233F !important;
  color: #fff !important;
}

.aula-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 200px;
  margin-bottom: 1.25rem;
  background: linear-gradient(120deg, #192126 0%, #3a1a22 55%, #CA233F 130%);
  box-shadow: 0 16px 40px rgba(25, 33, 38, 0.18);
}
.aula-hero[hidden] { display: none !important; }
.aula-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(0.95);
}
.aula-hero-bg[hidden] { display: none !important; }
.aula-hero-img { display: none !important; }
.aula-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 28, 0.88) 0%, rgba(20, 24, 28, 0.55) 48%, rgba(20, 24, 28, 0.25) 100%),
    linear-gradient(0deg, rgba(20, 24, 28, 0.55), transparent 45%);
}
.aula-hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem 1.85rem;
  max-width: 40rem;
}
.aula-hero-title {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* Player + capítulos */
.aula-learn {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 1.15rem;
  align-items: stretch;
  margin-bottom: 1.35rem;
}
@media (max-width: 900px) {
  .aula-learn {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.aula-player-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.aula-player-wrap {
  background: #141a1e;
  border-radius: 16px;
  padding: 0.85rem 0.85rem 1rem;
  box-shadow: 0 14px 36px rgba(25, 33, 38, 0.16);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}
.aula-now {
  font-weight: 600;
  margin: 0 0 0.55rem;
  min-height: 1.25em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  padding: 0 0.25rem;
  flex-shrink: 0;
}
.aula-now:empty { display: none; }

.aula-stage {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 14rem;
}
.aula-stage.has-media {
  /* Misma altura que Capítulos; el video/iframe rellena el área */
  aspect-ratio: auto;
  background: #0b0e10;
  min-height: 14rem;
}
.aula-stage #playerEmpty {
  margin: 0;
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #1a2126;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
}
.aula-stage #playerEmpty[hidden],
.aula-stage .aula-player:not(.is-on) {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: absolute !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.aula-stage .aula-player.is-on {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #111;
  object-fit: contain;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Sin botón Descargar en el reproductor nativo (Chrome/Edge/Safari) */
.aula-player::-webkit-media-controls-download-button {
  display: none !important;
}
.aula-player::-internal-media-controls-download-button {
  display: none !important;
}
.aula-stage video {
  -webkit-user-select: none;
  user-select: none;
}

.aula-chapters-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.aula-side-card {
  background: #fff;
  border: 1px solid rgba(25, 33, 38, 0.08);
  border-radius: 16px;
  padding: 1rem 0.85rem 0.85rem;
  box-shadow: 0 10px 28px rgba(25, 33, 38, 0.06);
  max-height: min(70vh, 640px);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.aula-side-title {
  margin: 0 0 0.75rem;
  padding: 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: #192126;
}
.aula-session-field {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0 0.35rem;
  font-size: 0.82rem;
}
.aula-session-select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(25, 33, 38, 0.16);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  color: #192126;
  background: #fff;
  box-sizing: border-box;
}
.aula-session-select:focus {
  outline: 2px solid rgba(202, 35, 63, 0.35);
  outline-offset: 1px;
}
.chapter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  overflow: auto;
  flex: 1;
}
.chapter-list li { margin: 0; }
.aula-chapter {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  font: inherit;
  background: #f7f5f6;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.aula-chapter:hover:not(.is-disabled) {
  border-color: rgba(202, 35, 63, 0.35);
  background: #fff5f7;
}
.aula-chapter.is-active {
  border-color: #CA233F;
  background: #fff5f7;
  box-shadow: inset 3px 0 0 #CA233F;
}
.aula-chapter.is-disabled { opacity: 0.5; cursor: not-allowed; }
.aula-chapter .cap-num {
  flex: 0 0 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #192126;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.aula-chapter.is-active .cap-num { background: #CA233F; }
.aula-chapter .cap-body { display: grid; gap: 0.12rem; min-width: 0; }
.aula-chapter .cap-body strong {
  font-size: 0.88rem;
  line-height: 1.3;
  color: #192126;
}
.aula-chapter .cap-body .muted { font-size: 0.78rem; }

/* Exámenes */
.aula-materials-band {
  background: #fff;
  border: 1px solid rgba(25, 33, 38, 0.08);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(25, 33, 38, 0.05);
  margin-bottom: 1rem;
}
.aula-material-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.aula-material-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #ebe4e6;
  background: #faf8f9;
}
.aula-material-main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.aula-material-main strong {
  color: #192126;
}
.aula-trab-instrucciones {
  margin: 0.45rem 0 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #f7f8f9;
  border: 1px solid rgba(25, 33, 38, 0.08);
  color: #2a343b;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 52rem;
}
.aula-trab-instrucciones p {
  margin: 0 0 0.65rem;
}
.aula-trab-instrucciones p:last-child {
  margin-bottom: 0;
}
.aula-trab-instrucciones .aula-trab-h,
.aula-trab-instrucciones h3,
.aula-trab-instrucciones h4,
.aula-trab-instrucciones h5 {
  margin: 0.85rem 0 0.4rem;
  color: #192126;
  font-size: 1rem;
  line-height: 1.3;
}
.aula-trab-instrucciones .aula-trab-h:first-child,
.aula-trab-instrucciones h3:first-child,
.aula-trab-instrucciones h4:first-child {
  margin-top: 0;
}
.aula-trab-instrucciones ul,
.aula-trab-instrucciones ol {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.25rem;
}
.aula-trab-instrucciones li {
  margin: 0.2rem 0;
}
.aula-trab-instrucciones hr {
  border: 0;
  border-top: 1px solid rgba(25, 33, 38, 0.12);
  margin: 0.85rem 0;
}
.aula-trab-instrucciones strong {
  color: #192126;
}
.aula-trabajo-item {
  display: block;
}
.aula-trabajo-item .aula-material-main {
  width: 100%;
}
.aula-trab-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(25, 33, 38, 0.08);
}
.aula-trab-hint {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: 36rem;
}
.aula-trab-upload {
  cursor: pointer;
  margin: 0;
}
.aula-access-expired {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #f0d0d6;
  background: #fff8f9;
  color: #8a1f32;
  font-size: 0.92rem;
  line-height: 1.4;
}
.aula-access-expired strong {
  font-weight: 700;
}

.aula-eval-panel {
  display: grid;
  gap: 0.85rem;
}
.aula-eval-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.aula-eval-final {
  font-size: 2rem;
  font-weight: 700;
  color: #CA233F;
  line-height: 1.1;
}
.aula-eval-parts,
.aula-eval-days {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.aula-eval-part {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #ebe4e6;
  background: #faf8f9;
}
.aula-eval-days {
  margin-top: 0.25rem;
}
.aula-eval-days li {
  font-size: 0.88rem;
  color: #5a636a;
}
.aula-eval-days li.is-present {
  color: #1b6b3a;
}
.aula-eval-days li.is-absent {
  color: #8a4b18;
}
.aula-trabajo-item.is-uploading {
  opacity: 0.6;
  pointer-events: none;
}

.aula-admin-preview {
  background: #fff4e5;
  border: 1px solid #f0c36d;
  color: #5c3b00;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.aula-admin-preview[hidden] { display: none !important; }
.aula-admin-preview .btn-sm {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.aula-exams-band {
  background: #fff;
  border: 1px solid rgba(25, 33, 38, 0.08);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(25, 33, 38, 0.05);
}
.aula-exams-head { margin-bottom: 0.85rem; }
.aula-exams-head .muted { margin: 0.25rem 0 0; font-size: 0.88rem; }
.exam-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.exam-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid #ebe4e6;
  background: #faf8f9;
}
.exam-card.is-ready {
  border-color: rgba(202, 35, 63, 0.35);
  background: linear-gradient(180deg, #fff, #fff8f9);
}
.exam-card.is-done { border-color: #cfe8d5; background: #f5fbf6; }
.exam-card.is-locked { opacity: 0.85; }
.exam-card-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.25rem;
}
.exam-card-main { display: grid; gap: 0.2rem; }
.exam-card-main strong { font-size: 0.95rem; color: #192126; }
.exam-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.exam-list .badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eee;
  color: #444;
  font-weight: 700;
}
.exam-list .badge.ok { background: #e7f6ea; color: #1b6b2c; }
.exam-list .badge.lock { background: #fde8ec; color: #CA233F; }

.btn-sm { min-height: 36px; padding: 0 12px; font-size: 0.85rem; }
.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.is-active { color: #CA233F !important; font-weight: 700; }

/* Examen (página examen.html) */
.aula-main {
  padding: 1.5rem 0 4rem;
  max-width: 720px;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
}
.aula-card {
  background: #fff;
  border: 1px solid #e8e0e2;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(25, 33, 38, 0.04);
}
.exam-timer {
  font-weight: 700;
  font-size: 1.15rem;
  color: #CA233F;
  font-variant-numeric: tabular-nums;
}
.exam-briefing-title {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  color: #192126;
}
.exam-briefing-list {
  margin: 1rem 0 1.25rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
  color: #192126;
  line-height: 1.45;
  font-size: 0.95rem;
}
.exam-briefing-list li::marker {
  color: #CA233F;
}
.exam-briefing-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 1px solid #e0d5d8;
  border-radius: 10px;
  background: #fff8f9;
  font-size: 0.92rem;
  line-height: 1.4;
  cursor: pointer;
}
.exam-briefing-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #CA233F;
}
.exam-briefing-actions {
  margin-top: 1.25rem;
}
.exam-briefing-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.exam-question {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #192126;
}
.exam-options { display: grid; gap: 0.65rem; margin: 1.25rem 0; }
.exam-open-label { display: block; margin-bottom: 0.35rem; }
.exam-open-answer {
  width: 100%;
  min-height: 9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cfd5d9;
  border-radius: 8px;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}
.exam-open-answer:focus {
  outline: 2px solid rgba(202, 35, 63, 0.35);
  border-color: #CA233F;
}
.exam-review-open {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.8rem;
  background: #f7f8f9;
  border-radius: 6px;
  white-space: pre-wrap;
}
.exam-options label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  border: 1px solid #e0d5d8;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
}
.exam-options label:has(input:checked) {
  border-color: #CA233F;
  background: #fff5f7;
}
.exam-actions .btn[hidden] { display: none !important; }
.result-score { font-size: 2rem; font-weight: 800; color: #CA233F; }

.exam-review {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #ebe4e6;
}
.exam-review-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}
.exam-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.exam-review-q {
  border: 1px solid #ebe4e6;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #faf8f9;
}
.exam-review-q.is-ok { border-color: #cfe8d5; background: #f5fbf6; }
.exam-review-q.is-bad { border-color: #f0d0d6; background: #fff8f9; }
.exam-review-qhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-bottom: 0.55rem;
}
.exam-review-mark {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  align-self: flex-start;
}
.exam-review-mark.is-ok { background: #e7f6ea; color: #1b6b2c; }
.exam-review-mark.is-bad { background: #fde8ec; color: #CA233F; }
.exam-review-opts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.exam-review-opt {
  font-size: 0.9rem;
  line-height: 1.35;
  color: #445056;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.exam-review-opt em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  margin-left: 0.35rem;
  opacity: 0.85;
}
.exam-review-opt.is-correct {
  background: #e7f6ea;
  color: #1b6b2c;
  font-weight: 600;
}
.exam-review-opt.is-wrong {
  background: #fde8ec;
  color: #8a1f32;
}
.exam-review-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #e0d5d8;
  background: #fff;
  color: #192126;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
}
.exam-review-icon:hover {
  border-color: #CA233F;
  color: #CA233F;
}

@media (max-width: 600px) {
  .aula-hero-content { padding: 1.5rem 1.15rem 1.35rem; }
  .aula-side-card { max-height: none; }
  .aula-card { padding: 1.1rem 1.15rem; }
}
