/* Progressive reasoning on standalone QBank and lesson pages. */
.bw-step-controls { display:flex; flex-wrap:wrap; gap:.6rem; margin:.75rem 0 1rem; }
.bw-step-controls button { cursor:pointer; padding:.5rem .85rem; border:1px solid currentColor; border-radius:.5rem; background:transparent; color:inherit; font:inherit; }
.bw-step-controls button:focus-visible, [data-remake-option-steps] dt[role="button"]:focus-visible, .rb-chain[data-bw-sequential] .rb-beat .rb-a:focus-visible, .rb-chain[data-bw-sequential] .rb-elim .rb-a:focus-visible { outline:3px solid #8b5cf6; outline-offset:3px; }
.bw-step-controls[hidden], .bw-step-controls button[hidden], [data-bw-sequential] [hidden], [data-bw-sequential] > [hidden], .rb-chain[data-bw-sequential] .rb-beat.rb-locked { display:none!important; }
.bw-step-enter { animation:bw-step-in .15s ease-out both; }
@keyframes bw-step-in { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .bw-step-enter { animation:none!important; } }
