.tdl-ep128-state.is-done{background:var(--tdl-progreso-realizado-fondo,#dcecff)!important;color:var(--tdl-progreso-realizado-texto,#174f91)!important;border-color:var(--tdl-progreso-realizado-borde,#83b2e1)!important;font-weight:600}
.tdl-ep128-state.is-passed{background:var(--tdl-progreso-aprobado-fondo,#d7f1e1)!important;color:var(--tdl-progreso-aprobado-texto,#165b36)!important;border-color:var(--tdl-progreso-aprobado-borde,#68ac83)!important;font-weight:600}
.tdl-ep128-state:is(.is-done,.is-passed) .bi{color:inherit!important}
.bfavorita{touch-action:manipulation;-webkit-tap-highlight-color:transparent;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;vertical-align:middle}
.bfavorita[aria-busy="true"]{cursor:progress}.bfavorita.bi-star-fill{color:var(--tdl-favorita-estrella,#2474c6)!important}
.bfavorita:focus-visible{outline:2px solid var(--bprimario,#62aff1);outline-offset:3px;border-radius:8px}
.fav256-error{margin:8px 0 0;padding:8px 12px;border-radius:9px;background:var(--tdl-descartar-fondo,#fff0f0);color:var(--tdl-descartar-texto,#a62f38);font-size:.8rem;line-height:1.5}
/* v257: repaso destacado en el marco; el texto mantiene su aspecto normal. */
#pregunta #textpregunta.subrayado-success.bg-warning{background:transparent!important;background-image:none!important;color:inherit!important;padding:0;border-radius:0;text-decoration:none!important;box-shadow:none!important}
#pregunta #tpregunta:has(>#textpregunta.subrayado-success){box-shadow:inset 0 0 0 2px var(--tdl-repaso-enunciado-borde,#ffc107),inset 5px 0 0 var(--tdl-repaso-enunciado-borde,#ffc107)!important}

/* v258: bandera y marco comparten exactamente el mismo color. */
.brepasar.bi-flag-fill.text-warning{color:var(--tdl-repaso-enunciado-borde,#ffc107)!important}
