/* Article-specific extension. Brand tokens approximate the approved artwork. */
.article-prose .rw-objectives,
.article-prose .rw-worked-example,
.article-prose .rw-practice,
.article-prose .rw-equation { margin: 2rem 0; border-radius: 12px; }
.article-prose .rw-objectives { padding: 1.5rem 1.6rem; background: #edf4ed; border-left: 4px solid #78954d; }
.article-prose .rw-objectives h2,
.article-prose .rw-worked-example h3 { margin: 0 0 .8rem; color: #052a22; font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
.article-prose .rw-objectives li { margin: .35rem 0; }
.article-prose .rw-equation { border: 1px solid #d7e5df; background: #f7faf8; padding: 1.1rem 1.35rem; }
.article-prose .rw-equation p { margin: .5rem 0 0; }
.rw-math-label { font-size: .85rem; font-weight: 700; color: #28594b; letter-spacing: .01em; }
.rw-katex-display { display: block; overflow-x: auto; overflow-y: hidden; max-width: 100%; padding: 1rem 0; font-size: clamp(1rem, 1.7vw, 1.3rem); color: #052a22; }
.rw-worked-example { padding: 1.35rem 1.55rem; background: #fffaf0; border: 1px solid #e5d0a9; }
.rw-worked-example ol { padding-left: 1.5rem; }
.rw-worked-example li { padding: .25rem 0; }
.rw-worked-example .rw-answer { margin-top: 1rem; border-top: 1px solid #e5d0a9; padding-top: .8rem; }
.rw-practice { border: 1px solid #c9dcd2; padding: 1.1rem 1.4rem; background: #fff; }
.rw-practice details summary { font-weight: 700; cursor: pointer; color: #0a494b; }
.rw-practice .rw-practice-answer { padding-top: .75rem; }
.rw-diagram { margin: 2.4rem auto; width: 100%; }
.rw-diagram img { width: 100%; height: auto; border: 1px solid #dbe8e1; border-radius: 10px; background: #fff; }
.rw-diagram figcaption { font-size: .91rem; line-height: 1.55; color: #41645b; margin-top: .65rem; }
@media (prefers-reduced-motion: reduce) { .rw-practice details { scroll-behavior: auto; } }
@media print { .rw-worked-example, .rw-equation, .rw-objectives { break-inside: avoid; } .rw-practice details .rw-practice-answer { display: block !important; } }
