/* Native radio state and native form reset; all figures remain readable without CSS. */
#cftr-treatment-lab fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#cftr-treatment-lab legend { font-weight: 700; margin-bottom: 12px; }
#cftr-treatment-lab label { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; }
#cftr-treatment-lab input { flex: 0 0 auto; width: 22px; height: 22px; accent-color: #183149; }
#cftr-treatment-lab button { min-height: 44px; padding: 10px 18px; font: inherit; color: #183149; background: #fbfaf7; border: 2px solid #183149; border-radius: 8px; cursor: pointer; }
#cftr-treatment-lab :focus-visible { outline: 3px solid #7854a1; outline-offset: 4px; }
@supports selector(form:has(input:checked)) {
  #cftr-treatment-lab:has(#cf-state-baseline:checked) figure:not([data-cf-state="baseline"]),
  #cftr-treatment-lab:has(#cf-state-corrector:checked) figure:not([data-cf-state="corrector"]),
  #cftr-treatment-lab:has(#cf-state-combination:checked) figure:not([data-cf-state="combination"]) { display: none; }
}

@media (max-width: 600px) {
  .bwcr-cf-regimens, .bwcr-cf-regimens tbody { display: block; width: 100%; min-width: 0; }
  .bwcr-cf-regimens caption { display: block; text-align: left; font-weight: 700; line-height: 1.45; margin-bottom: 14px; }
  .bwcr-cf-regimens thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bwcr-cf-regimens tbody tr { display: block; margin: 0 0 18px; border: 1px solid #bdcbd5; border-radius: 8px; overflow: hidden; }
  .bwcr-cf-regimens tbody th[scope="row"], .bwcr-cf-regimens td { display: block; width: auto; border: 0; padding: 12px 14px; text-align: left; overflow-wrap: break-word; }
  .bwcr-cf-regimens tbody th[scope="row"] { background: #eaf0f4; color: #183149; }
/* The regimen table is light in both schemes (round 8): the lesson dark rules were overriding its row headers (navy on dark, 1.09:1). */
.bwcr-cf-regimens tbody th[scope="row"] { background: #eaf0f4 !important; color: #183149 !important; }
  .bwcr-cf-regimens td { border-top: 1px solid #c7d2db; }
  .bwcr-cf-regimens td::before { content: attr(data-label); display: block; font-weight: 700; margin-bottom: 6px; }
}
