/* ============================================================================
   VISION ENGLISH — REPASO DEL EXAMEN
   La lista que aparece bajo el resultado: qué respondiste, qué era y por qué.
   ========================================================================= */

.rp-repaso { margin-top: 22px; }

.rp-toggle {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  padding: 15px 20px;
  border: 1.5px solid var(--line, rgba(111,122,157,.2));
  border-radius: 16px;
  background: var(--surface-strong, #fff);
  color: inherit;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, transform .12s;
}
body.dark .rp-toggle { background: rgba(255,255,255,.05); }
.rp-toggle:hover { border-color: var(--purple); transform: translateY(-1px); }
.rp-toggle small { font-weight: 600; font-size: .84rem; color: var(--muted); }

.rp-lista {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rp-lista[hidden] { display: none; }

.rp-item {
  padding: 15px 17px;
  border-radius: 14px;
  border-left: 4px solid;
  background: var(--surface-strong, #fff);
  text-align: left;
}
body.dark .rp-item { background: rgba(255,255,255,.04); }

.rp-ok  { border-left-color: hsl(150,62%,45%); }
.rp-mal { border-left-color: hsl(354,78%,58%); }

.rp-cab {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.rp-num {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--line, rgba(111,122,157,.16));
  color: var(--text);
}
.rp-ok  .rp-estado { color: hsl(150,55%,36%); }
.rp-mal .rp-estado { color: hsl(354,68%,50%); }
body.dark .rp-ok  .rp-estado { color: hsl(150,60%,66%); }
body.dark .rp-mal .rp-estado { color: hsl(354,88%,74%); }
.rp-area { margin-left: auto; color: var(--muted); font-weight: 700; }

.rp-pregunta {
  margin: 0 0 10px;
  font-size: .97rem;
  font-weight: 650;
  line-height: 1.45;
}

.rp-linea {
  margin: 0 0 4px;
  font-size: .9rem;
  line-height: 1.5;
}
.rp-linea span {
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-right: 6px;
  color: var(--muted);
}
.rp-tuya.rp-vacia { color: var(--muted); font-style: italic; }
.rp-buena { color: hsl(150,55%,34%); font-weight: 600; }
body.dark .rp-buena { color: hsl(150,60%,66%); }

.rp-porque {
  margin: 9px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line, rgba(111,122,157,.14));
  font-size: .86rem;
  line-height: 1.5;
  color: var(--text-secondary, var(--muted));
}

@media (prefers-reduced-motion: reduce) {
  .rp-toggle:hover { transform: none; }
}
