/* test.css — el test de diagnóstico público (017). Sólo usa los colores de sitio.css; los pares nuevos están en
   tests/contraste.py («opción del test»). Botones de respuesta de 48 px: se contesta con el pulgar. */
.test .test-imagen { border-radius: var(--radio); margin: 1rem 0; max-height: 420px; width: auto; }
.test-preguntas { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; }
.test-pregunta { border: 1px solid var(--borde); border-radius: var(--radio); padding: 1.1rem 1.1rem 1.25rem; margin: 0; background: #fff; box-shadow: var(--sombra); }
.test-pregunta.con-error { border-color: var(--error); border-width: 2px; }
.test-pregunta legend { font-weight: 700; color: var(--azul); font-size: 1.1rem; padding: 0 .3rem; }
.test-num { color: var(--verde-texto); }
.test-opciones { display: grid; gap: .55rem; margin-top: .75rem; }
.test-opcion { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .55rem .9rem; border: 1px solid var(--tinta-suave);
  border-radius: 12px; cursor: pointer; font-weight: 400; color: var(--tinta); background: #fff; }
.test-opcion input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--azul); }
.test-opcion:has(input:checked) { background: var(--papel-azul); border-color: var(--azul); border-width: 2px; font-weight: 600; }
.test-opcion:has(input:focus-visible) { outline: 3px solid var(--naranja-texto); outline-offset: 2px; }
.test-correo h2 { margin-top: 0; }
.test-acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
@media (min-width: 720px) { .test-opciones { grid-template-columns: repeat(5, 1fr); } .test-opcion { flex-direction: column; text-align: center; justify-content: center; } }
