/* CE quiz experience: existing questions and scoring, established visual system. */
body[data-ce-quiz]{--quiz-accent:#3a5a7a;--quiz-tint:#eaf2fc;background:#fafafb;color:#111;font-family:Manrope,Arial,sans-serif}
body[data-ce-quiz=mold-illness]{--quiz-accent:#1e7a58;--quiz-tint:#e8f2ec}
body[data-ce-quiz=lyme-coinfections]{--quiz-accent:#8b6528;--quiz-tint:#f5eee1}
body[data-ce-quiz=mcas]{--quiz-accent:#b02848;--quiz-tint:#f7e9ed}
body[data-ce-quiz=eds]{--quiz-accent:#6c1890;--quiz-tint:#f0e8f5}
body[data-ce-quiz=pans-pandas]{--quiz-accent:#207088;--quiz-tint:#e8f1f4}
body[data-ce-quiz] :is(p,span,button,a,li,div){font-family:Manrope,Arial,sans-serif}
body[data-ce-quiz] :is(h1,h2,h3,h4){font-family:Lora,Georgia,serif!important;font-weight:400!important;letter-spacing:-.025em!important}
body[data-ce-quiz] main>div{background:#fafafb!important}
body[data-ce-quiz] main>div>div:first-child{background:linear-gradient(120deg,#fff,var(--quiz-tint))!important;padding-top:112px!important;padding-bottom:44px!important;border-bottom:1px solid #dce1e7!important}
body[data-ce-quiz] main h1{font-size:clamp(32px,4vw,49px)!important;line-height:1.2!important;max-width:820px}
body[data-ce-quiz] main h2{font-size:clamp(25px,3vw,32px)!important;line-height:1.35!important}
body[data-ce-quiz] main>div>div:nth-child(2){padding-top:36px!important;padding-bottom:60px!important}
body[data-ce-quiz] main .rounded-2xl{background:#fff!important;border:1px solid #dfe2e7!important;border-top:2px solid #111!important;box-shadow:0 4px 20px #1a243607!important;border-radius:12px!important}
body[data-ce-quiz] main p{color:#262626!important;line-height:1.85}
body[data-ce-quiz] main button{min-height:46px;font-size:14px!important;line-height:1.6!important;transition:background .15s,border-color .15s}
body[data-ce-quiz] main button:is([style*="color:#ffffff"],[style*="color: rgb(255, 255, 255)"]){background:var(--quiz-accent)!important;color:#fff!important;border-radius:8px!important}
body[data-ce-quiz] main button.w-full{text-align:left;border-radius:8px!important;padding:16px 20px!important}
body[data-ce-quiz] main button.w-full:hover{background:var(--quiz-tint)!important;border-color:var(--quiz-accent)!important}
body[data-ce-quiz] main a{color:var(--quiz-accent)!important;text-underline-offset:4px}
body[data-ce-quiz] main :is(button,a):focus-visible{outline:2px solid var(--quiz-accent);outline-offset:4px}
body[data-ce-quiz] footer{background:#0a0a0a!important}
@media(max-width:640px){body[data-ce-quiz] main>div>div:first-child{padding-top:96px!important;padding-bottom:32px!important}body[data-ce-quiz] main .rounded-2xl{padding:24px!important}body[data-ce-quiz] main>div>div:nth-child(2){padding-top:24px!important}body[data-ce-quiz] main h1{font-size:33px!important}}
@media(prefers-reduced-motion:reduce){body[data-ce-quiz] *{scroll-behavior:auto!important;transition:none!important}}

body[data-ce-quiz] main label:has(input[type=radio]){border-radius:8px!important}
body[data-ce-quiz] main label:has(input:checked){background:var(--quiz-tint)!important;border-color:var(--quiz-accent)!important}
body[data-ce-quiz] main input[type=radio]{accent-color:var(--quiz-accent)!important}

/* High contrast Next Steps CTAs across all quiz results. */
body[data-ce-quiz] main a[href^="/next-steps"].inline-flex{background:#000!important;color:#fff!important;opacity:1!important}
body[data-ce-quiz] main a[href^="/next-steps"].inline-flex :is(span,svg){color:inherit!important}

/* Filled quiz actions keep white labels in every interaction state. */
body[data-ce-quiz] main :is(a,button).inline-flex:is([style*="background: rgb(26, 36, 54)"],[style*="background:#1a2436"],[style*="background: #1a2436"],[style*="color: rgb(255, 255, 255)"],[style*="color:#ffffff"]),
body[data-ce-quiz] main a[href^="/next-steps"].inline-flex,
body[data-ce-quiz] main :is(a,button).inline-flex:is([style*="background: rgb(26, 36, 54)"],[style*="background:#1a2436"],[style*="background: #1a2436"],[style*="color: rgb(255, 255, 255)"],[style*="color:#ffffff"]) *,
body[data-ce-quiz] main a[href^="/next-steps"].inline-flex *{color:#fff!important;-webkit-text-fill-color:#fff!important}
