/* V38: targeted production fixes. No overhaul of unrelated V37 sections. */
:root{--rf38-ink:#262126;--rf38-magenta:#cc0066;--rf38-border:#e8dfe4}
/* Real reading sequence instead of two staggered checklist columns. */
body.ed-body main .ed-checklist{max-width:1230px!important;padding-inline:clamp(18px,4vw,52px)!important}
body.ed-body main .ed-checklist-top{max-width:1080px;margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(190px,225px);align-items:center;gap:28px;margin-bottom:30px;padding-bottom:26px}
body.ed-body main .ed-check-groups{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;max-width:1080px;margin:0 auto;align-items:stretch}
body.ed-body main .rf38-check-step{display:grid;grid-template-columns:minmax(215px,33%) minmax(0,1fr);background:#fff;border:1px solid var(--rf38-border);border-radius:10px;box-shadow:0 4px 15px rgba(37,28,35,.035);overflow:hidden;min-width:0}
body.ed-body main .rf38-step-head{background:#faf7f8;padding:31px clamp(24px,2.7vw,36px);border-right:1px solid var(--rf38-border);display:flex;flex-direction:column;align-items:flex-start;gap:10px}
body.ed-body main .rf38-step-number{color:var(--rf38-magenta);font-weight:750;font-size:12px;letter-spacing:.12em}
body.ed-body main .rf38-step-eyebrow{font-size:10px;line-height:1.4;text-transform:uppercase;color:#8b4667;letter-spacing:.115em;font-weight:730;margin:0}
body.ed-body main .rf38-step-head h3{font:750 clamp(19px,2.1vw,25px)/1.26 Inter,Arial,sans-serif!important;letter-spacing:-.025em;color:var(--rf38-ink);margin:5px 0 0;max-width:23ch}
body.ed-body main .rf38-step-body{padding:19px clamp(20px,2.65vw,34px) 17px;min-width:0}
body.ed-body main .rf38-step-task{display:flex;align-items:flex-start;gap:14px;padding:13px 0;line-height:1.59;color:#413941;font-size:15px;cursor:pointer;border-bottom:1px solid #ede7eb}
body.ed-body main .rf38-step-task input{accent-color:var(--rf38-magenta);width:20px;height:20px;margin:1px 0 0;flex:0 0 20px;cursor:pointer}
body.ed-body main .rf38-step-task:has(input:checked) span{text-decoration:line-through;color:#77717a;text-decoration-color:#aaa0a7}
body.ed-body main .rf38-step-task:focus-within{outline:2px solid var(--rf38-magenta);outline-offset:3px}
body.ed-body main .rf38-step-further{font-size:12px;line-height:1.75;color:#68616a;background:#fff;padding:17px 0 0!important;margin:0!important}
body.ed-body main .rf38-step-further a{color:var(--rf38-magenta);font-weight:650;text-decoration:underline;text-underline-offset:3px}
body.ed-body main .ed-check-bottom{max-width:1080px;margin:28px auto 14px;gap:20px}
body.ed-body main .ed-check-bottom .btn-solid{background:var(--rf38-magenta)!important}
body.ed-body main .ed-footnote{max-width:1080px;margin:0 auto;color:#6c636b}
/* Honest file:// review: no false YouTube play or black error screen. */
body main .rf38-local-playback-note{display:none;max-width:100%;background:#342a32;border:1px solid #66505f;border-radius:6px;padding:13px 18px;margin:0 0 22px;color:#f2e4ed;font-size:13px;line-height:1.6}
body main .rf38-local-playback-note strong{color:#fff}
body main .rf38-local-playback-note code{color:#fff;background:#57404e;padding:2px 5px;border-radius:3px}
body main .rf37-video-play:disabled{cursor:not-allowed;opacity:.85}
body main .rf37-video-play:disabled .rf37-video-play-icon{background:#ddd!important;color:#6c4c5f!important;box-shadow:none}
@media(max-width:780px){body.ed-body main .ed-checklist-top{grid-template-columns:minmax(0,1fr)}body.ed-body main .ed-check-groups{gap:14px!important}body.ed-body main .rf38-check-step{grid-template-columns:minmax(0,1fr)}body.ed-body main .rf38-step-head{padding:21px 22px 18px;border-right:0;border-bottom:1px solid var(--rf38-border)}body.ed-body main .rf38-step-head h3{font-size:22px!important;max-width:none}body.ed-body main .rf38-step-body{padding:12px 22px 22px}body.ed-body main .rf38-step-task{font-size:14px;padding:12px 0}body.ed-body main .rf38-step-further{font-size:12px;padding:16px 0 0!important}}
@media(max-width:420px){body.ed-body main .ed-checklist{padding-left:16px!important;padding-right:16px!important}body.ed-body main .rf38-step-head{padding-inline:18px}body.ed-body main .rf38-step-body{padding-inline:18px}}
@media print{body.ed-body main .rf38-check-step{box-shadow:none;break-inside:avoid;page-break-inside:avoid}body.ed-body main .rf38-step-head{background:white}body.ed-body main .rf38-step-further a{color:#333}}
