/* Load after lesson/page stylesheets. Keep list markers in normal flow rather than
   positioning them over the first line of a reasoning step. */
:is(dl[data-remake-option-steps], ol[data-remake-option-steps], .bwcr-option-steps > ol) {
  box-sizing: border-box;
  max-inline-size: 100%;
  padding-inline-start: 2.75rem;
}
:is(dl[data-remake-option-steps], ol[data-remake-option-steps], .bwcr-option-steps > ol) > li {
  position: static;
  min-inline-size: 0;
  padding-inline-start: .35rem;
}
:is(ol[data-remake-option-steps], .bwcr-option-steps > ol) > li::before {
  position: static;
}
dl[data-remake-option-steps] > div {
  position: static;
  min-inline-size: 0;
}
dl[data-remake-option-steps] > div > :is(dt, dd) {
  position: static;
  margin-inline-start: 0;
}
/* Do not change summary display: native disclosure triangle and keyboard behavior remain intact. */
:is(dl[data-remake-option-steps], ol[data-remake-option-steps], .bwcr-option-steps > ol) :is(summary, dt, dd, p) {
  overflow-wrap: anywhere;
}
/* QBank reveal questions carry their Q badge inline; reserve its width in the
   line box rather than allowing a positioned badge to cover the question. */
.rb-beat .rb-q::before {
  position: static;
  float: none;
  vertical-align: middle;
  margin-inline-end: .6rem;
  margin-right: 0;
}
.rb-beat .rb-q { min-inline-size: 0; overflow-wrap: anywhere; }

/* The remake mobile rule uses body[data-bw-content-remake] .bwcr specificity. */
body[data-bw-content-remake] .bwcr .bwcr-option-steps > ol,
body[data-bw-content-remake] .bwcr ol[data-remake-option-steps] {
  padding-inline-start: 2.75rem;
}
