/* Match the existing service night palette when the visitor toggles appearance.
   Explicit data-theme rules also work when the operating system stays light. */
html[data-theme=dark] body #site #content :is(.vn-hero,.arche-hero){background:#19122b!important}
html[data-theme=dark] body #site #content .vn-hero::before,
html[data-theme=dark] body #site #content .arche-hero::after{background:linear-gradient(90deg,rgba(25,18,43,.99) 0%,rgba(25,18,43,.95) 36%,rgba(25,18,43,.65) 60%,rgba(25,18,43,.08) 82%)!important}
html[data-theme=dark] body #site #content :is(.vn-hero,.arche-hero) :is(h1,h2){color:#f8f2ff!important}
html[data-theme=dark] body #site #content :is(.vn-hero,.arche-hero) p{color:#e2d6ec!important}
html[data-theme=dark] body #site #content :is(.vn-hero,.arche-hero) :is(.ed-kicker,.vn-secondary,.vn-breadcrumb,.vn-breadcrumb a,.medi-hero-crumbs,.medi-hero-crumbs *){color:#d6b5ff!important;opacity:1!important}
html[data-theme=dark] body #site #content .arche-hero .hero-outline{background:#2c2040!important;color:#f8f2ff!important;border-color:#9873bd!important}
html[data-theme=dark] body #site #content .arche-compare article,
html[data-theme=dark] body #site #content .arche-quiz{background:#251b37!important;border-color:#584568!important}
html[data-theme=dark] body #site #content .arche-quiz button{background:#382941!important;color:#eee4fa!important;border-color:#705983!important}
html[data-theme=dark] body #site #content .arche-quiz button[aria-pressed=true]{background:#7043b5!important;color:#fff!important}
html[data-theme=dark] body #site #content :is(.arche-compare a,.arche-sources a,.vn-sources a,.ed-prose a,.ed-detail-link,.ed-care-comparison tbody th span,.vn-page .ed-step){color:#d3acee!important}
/* Plain prose links have no button class; preserve filled action buttons. */
html[data-theme=dark] body #site #content a:not([class]){color:#d3acee!important}
html[data-theme=dark] body #site #content .ed-treatment-copy .ed-detail-link,
html[data-theme=dark] body #site #content.clinic-tool .ct-tabs a[aria-current]{color:#fff!important}
html[data-theme=dark] body #site #content .ed-photo figcaption{background:#251b37!important;color:#d7cadd!important}
html[data-theme=dark] body #site #content :is(.service-card-classification small,.service-results span,.section-kicker,.ed-kicker,#serviceClear){color:#d3acee!important}
html[data-theme=dark] body #site #content .rd-main .quiz-progress span,
html[data-theme=dark] body #site #content.rd-main .quiz-progress span{background:#332b37!important;color:#eee4fa!important;border-color:#705983!important}
html[data-theme=dark] body #site #content .rd-main .quiz-progress span.active,
html[data-theme=dark] body #site #content.rd-main .quiz-progress span.active{background:#825274!important;color:#fff!important}
html[data-theme=dark] body #site #content :is(.calc-submit){background:#7043b5!important;color:#fff!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-table tr[data-active]{color:#eee4fa!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-links a{color:#d3acee!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-pen :is(strong,small){color:#42205f!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-pen-slots span.used{color:#22533f!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-status{background:color-mix(in srgb,var(--state) 20%,#21192a)!important;color:#f3edfa!important;border-color:color-mix(in srgb,var(--state) 55%,#705983)!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-error{background:#4a242b!important;color:#ffd8d4!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-dial svg{color:#d7cadd!important}
html[data-theme=dark] body #site #content.clinic-tool .ct-needle{background:linear-gradient(90deg,#cfa7f0,#f4e9ff)!important}
html[data-theme=dark] body #site .drawer-languages a.active span{color:#fff!important;opacity:1!important}
html[data-theme=dark] body #site [data-care-search-clear]{color:#d3acee!important}
html[data-theme=dark] body #site .offcanvas .drawer-whatsapp{background:#136d5b!important;color:#fff!important}
html[data-theme=dark] body.eco-utility{background:#19122b;color:#f8f2ff;color-scheme:dark}
html[data-theme=dark] body.eco-utility p{color:#e2d6ec}
html[data-theme=light] body.eco-utility{background:#f8f7fb;color:#2b1b49;color-scheme:light}
html[data-theme=light] body.eco-utility p{color:#62586d}
@media(min-width:761px) and (max-width:1000px){html[data-theme=dark] body #site #content .vn-hero::before,html[data-theme=dark] body #site #content .arche-hero::after{background:linear-gradient(90deg,rgba(25,18,43,.99) 0%,rgba(25,18,43,.97) 55%,rgba(25,18,43,.87) 75%,rgba(25,18,43,.25) 100%)!important}}
@media(max-width:760px){html[data-theme=dark] body #site #content .vn-hero::before,html[data-theme=dark] body #site #content .arche-hero::after{display:none!important}}
@media print{html[data-theme=dark] body #site #content.clinic-tool{--ct-ink:#30203f;--ct-muted:#766c83;--ct-line:#e4dced;--ct-surface:#fff;--ct-soft:#f6f1fb;background:#fff!important;color:#30203f!important}html[data-theme=dark] body #site #content.clinic-tool .ct-table tr[data-active]{color:#63388e!important}}
