/* A persistent learning roadmap, scoped to its own component. */
.bf-learning-stages { margin: 24px 0; color: #20242b; font-size: 15px; line-height: 1.75; }
.bf-stage-navigation { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 8px; }
.bf-stage-option { display: flex; flex-direction: column; min-width: 0; }
.bf-learning-stages .bf-stage-link,
.bf-stage-label { display: inline-flex; align-items: center; min-height: 44px; color: #20242b; font-size: 15px; font-weight: 500; }
.bf-learning-stages .bf-stage-link { text-decoration: underline; text-underline-offset: 4px; }
.bf-learning-stages .bf-stage-link[aria-current="page"] { color: #183153; font-weight: 700; }
.bf-stage-status { color: #565e6b; font-size: 13px; font-variant-numeric: tabular-nums; }
.bf-stage-plan summary { box-sizing: border-box; min-height: 44px; padding: 9px 0; cursor: pointer; font-weight: 500; }
.bf-stage-plan[open] { max-width: 72ch; }
.bf-stage-plan .bf-stage-plan-note { margin: 8px 0 20px; color: #565e6b; font-size: 14px; }
.bf-stage-plan-section { margin: 0 0 24px; }
.bf-learning-stages .bf-stage-plan-section h4 { margin: 0 0 8px; padding: 0; border: 0; color: #20242b; font-size: 16px; font-weight: 700; line-height: 1.5; }
.bf-stage-plan-section p { margin: 0 0 8px; }
.bf-stage-plan-section ul,
.bf-stage-empty ul { margin: 0 0 16px 20px; }
.bf-stage-plan-section .bf-stage-topic-label,
.bf-stage-empty .bf-stage-topic-label { margin: 12px 0 4px; font-size: 14px; font-weight: 500; }
.bf-learning-stages a:focus-visible,
.bf-stage-plan summary:focus-visible,
.bf-stage-empty a:focus-visible { outline: 2px solid #20242b; outline-offset: 3px; }
.bf-stage-empty { max-width: 72ch; margin: 8px 0 48px; font-size: 16px; line-height: 1.8; }
.bf-stage-empty h2 { margin: 0 0 16px; padding: 0; border: 0; font-size: 22px; font-weight: 700; }
.bf-stage-empty a { display: inline-flex; align-items: center; min-height: 44px; color: #20242b; text-decoration: underline; text-underline-offset: 4px; }
.bf-learning-stages--compact { margin: 8px 0 16px; font-size: 14px; }
.bf-learning-stages--compact .bf-stage-navigation { gap: 8px 20px; }
@media (max-width: 700px) {
  .bf-stage-navigation,
  .bf-learning-stages--compact .bf-stage-navigation { gap: 12px 24px; }
  .bf-learning-stages { margin-top: 16px; }
  .bf-stage-empty { margin-bottom: 32px; }
}
