/* Scoped article components; native PostLayout owns column width and typography. */
.post-body .wbfd { width: 100%; min-width: 0; }
.post-body .wbfd-index { margin: 0 0 3rem; border-block: 1px solid var(--hairline); }
.post-body .wbfd-index > a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; padding: 0.8rem 0; text-decoration: none; color: var(--text); }
.post-body .wbfd-index > a + a { border-top: 1px solid var(--hairline); }
.post-body .wbfd-index > a > span:first-child { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.post-body .wbfd-index a:hover { color: var(--accent); }
.post-body .wbfd-index a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.post-body .wbfd-section-label, .post-body .wbfd-path-label { display: block; margin-block: 2rem 0.75rem; color: var(--accent); font-weight: 600; }
.post-body .wbfd-two-illustrations { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-block: 2rem; }
.post-body .wbfd figure { margin: 2rem auto; }
.post-body .wbfd .wbfd-figure-01 { width: min(12rem, 100%); margin: 0; }
.post-body .wbfd .wbfd-figure-02 { width: min(25rem, 100%); margin: 0; }
.post-body .wbfd .wbfd-figure-03 { max-width: 22rem; }
.post-body .wbfd .wbfd-figure-04 { max-width: 32.5rem; }
.post-body .wbfd .wbfd-figure-05 { max-width: 14rem; }
.post-body .wbfd .wbfd-figure-06 { max-width: 32rem; }
.post-body .wbfd .wbfd-figure-09 { max-width: 32rem; }
.post-body .wbfd-path-heading { margin-block: 2.5rem 1.25rem; }
.post-body .wbfd-path-heading > span, .post-body .wbfd-path-heading > strong { display: block; }
.post-body .wbfd-path-heading > strong { margin-block: 0.5rem; }
.post-body .wbfd-step { display: flex; align-items: baseline; gap: 1rem; padding-block: 1rem; }
.post-body .wbfd-step + .wbfd-step { border-top: 1px solid var(--hairline); }
.post-body .wbfd-step-number { flex: 0 0 1.75rem; font: 0.75rem var(--mono); color: var(--accent); }
.post-body .wbfd-step-body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.post-body .wbfd-step-title { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.post-body .wbfd code { white-space: normal; overflow-wrap: anywhere; }
.post-body .wbfd-fable-reset-rules { margin-block: 2rem; padding: 1.5rem; border: 1px solid var(--hairline); border-radius: 0.5rem; background: var(--bg-alt, #f6f3ed); }
.post-body .wbfd-fable-reset-rules > section { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1.25rem; }
.post-body .wbfd-fable-reset-rules > section > section { flex: 1 1 6rem; min-width: 0; }
.post-body .wbfd-fable-reset-rules > section strong, .post-body .wbfd-fable-reset-rules > section span { display: block; }
.post-body .wbfd-fable-reset-rules > section strong { color: var(--accent); }
.post-body .wbfd-divider { margin-block: 3rem; border-top: 1px solid var(--hairline); }
.post-body .wbfd h2 { scroll-margin-top: calc(var(--hdr-h) + 24px); }
.post-body .wbfd h2::before { content: none; }
.post-body .wbfd-section-label + h2 { margin-top: 0; }
@media (max-width: 480px) {
  .post-body .wbfd-fable-reset-rules { padding: 1rem; }
  .post-body .wbfd-step { gap: 0.65rem; }
}
