/* Feature-local styles: the historical shared formula stylesheet is unchanged. */
.derivation-step { margin-block: 1.4rem; padding: 1rem 1.2rem; border: 1px solid var(--line, #ccd7d0); border-radius: .6rem; }
.derivation-step h3 { margin-top: 0; scroll-margin-top: 1rem; }
.derivation-step .readable-formula { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
