/* YAS-RD25-CP4-FIX-001: scoped review corrections; locked copy is untouched. */
html#rd25-page body[data-rd25-template="T5"] main .ra-work{display:block!important;grid-template-columns:none!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work *{position:static!important;inset:auto!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work>.cp4-inner{display:block!important;grid-column:1/-1!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:20px!important;align-items:end!important;width:100%!important;max-width:none!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>h2,html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>p{margin:0!important;grid-column:auto!important;grid-row:1!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>a{grid-column:1/-1!important;grid-row:2!important;display:block!important;font-size:12px!important;font-weight:700!important;letter-spacing:.12em!important;text-transform:uppercase!important;margin:10px 0 0!important;color:#9A4105!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work-items{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))!important;width:100%!important;max-width:none!important;gap:18px!important}
html#rd25-page body[data-rd25-template="T5"] main .ra-work-item{grid-column:auto!important;grid-row:auto!important;width:100%!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T6"] main .method-steps{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;gap:22px!important}
html#rd25-page body[data-rd25-template="T6"] main .method-steps>li{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important;padding:24px!important;background:#fff!important;border:1px solid #E3DED3!important;border-top:2px solid #06213F!important;border-radius:22px!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T6"] main .method-steps>li>*{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important;position:static!important;margin:0!important}
html#rd25-page body[data-rd25-template="T8"]{--text-2:#3A4657;--muted:#5A6473}
html#rd25-page body[data-rd25-template="T8"] main .reading-hero>p{color:var(--text-2)!important}
html#rd25-page body[data-rd25-template="T8"] main .back-link,html#rd25-page body[data-rd25-template="T8"] main .back-link *,html#rd25-page body[data-rd25-template="T8"] main nav[aria-label="Breadcrumb"],html#rd25-page body[data-rd25-template="T8"] main nav[aria-label="Breadcrumb"] *{color:var(--muted)!important}
html#rd25-page body[data-rd25-template="T4"] main .cs-featured>.cs-visual{display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:20px!important;min-width:0!important;min-height:0!important;background:#E8F2F7!important;overflow:hidden!important}
html#rd25-page body[data-rd25-template="T4"] main .cs-featured>.cs-visual img{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important}
@media(max-width:900px){html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro{grid-template-columns:minmax(0,1fr)!important}html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>h2,html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>p,html#rd25-page body[data-rd25-template="T5"] main .ra-work-intro>a{grid-row:auto!important;grid-column:1!important}}
/* Additional real failures found by the required all-82 narrow-text check. */
html#rd25-page body[data-rd25-template="T5"] main #campaign-timeline ol{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))!important;gap:20px!important}
html#rd25-page body[data-rd25-template="T2"] main .brain-books{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;gap:24px!important}
html#rd25-page body[data-rd25-template="T2"] main .brain-books>.brain-book{width:100%!important;max-width:none!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T2"]:has(main .brain-books) .footer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
html#rd25-page body[data-rd25-template="T4"] main .cs-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important}
html#rd25-page body[data-rd25-template="T9"] main .contact-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))!important}
body .drain-footer{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;gap:24px!important}
body .drain-footer>p{width:auto!important;max-width:none!important;min-width:0!important}
html#rd25-page body[data-rd25-template="T8"] main#main .back-link,html#rd25-page body[data-rd25-template="T8"] main#main .back-link *{color:var(--muted)!important}
@layer rd25cp3 {
html#rd25-page[data-rd25-template="T2"] main#main .mr-letter-section.mr-paper>ol{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;gap:24px!important}
}
