/* Contrast refinements · 1.24.0. Keep light surfaces distinct and text legible. */
html:not([data-cse-theme="dark"]){
 --ink:#153f43;--muted:#222222;--teal:#146d70;--aqua:#00b8b0;--purple:#0b7073;
 --paper:#ffffff;--mint:#e7f2f4;--line:#d1e0e4;
 --wp--preset--color--ink:#153f43;--wp--preset--color--teal:#146d70;
 --wp--preset--color--aqua:#00b8b0;--wp--preset--color--mint:#e7f2f4;
 --wp--preset--color--lilac:#c9efeb;--wp--preset--color--purple:#0b7073;
}
/* Soft teal panels create a clear rhythm beside white content cards. */
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-soft,.cse-journal-tools,.cse-patient-journal,.cse-patient-gallery){background:#e7f2f4;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-inner-hero:not(.cse-visual-hero),.cse-visual-hero){background:#e7f2f4;border-bottom-color:#d1e0e4;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-visual-condition,.cse-visual-article){background:#c9efeb;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-card,.cse-proof,.cse-doctor-card,.cse-location-card,.cse-news-card,.cse-area-tile,.cse-toolkit-card,.cse-placeholder-card){border-color:#d1e0e4;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-proof{background:#ffffff;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-sidebar{background:#e7f2f4;border-color:#d1e0e4;border-left-color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-about-purpose-card{background:#e7f2f4;border-color:#d1e0e4;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-about-vision{background:#c9efeb;border-color:#d1e0e4;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-about-purpose-card:before{background:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-about-vision:before{background:#0b7073;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-visual-stamp,.cse-about-press-note,.cse-about-film-availability,.cse-small,.cse-hero-pill,.cse-breadcrumb,.cse-form-step-count,.cse-form-required){color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-step-number{color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-card-icon,.cse-about-value-number){background:#e7f2f4;color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-footer{background:#e7f2f4;border-top-color:#d1e0e4;}
/* Form outlines and meaningful control boundaries need stronger contrast. */
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),select,textarea){background:#ffffff;color:#146d70;border-color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(input,textarea)::placeholder{color:#146d70;opacity:1;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.is-style-outline .wp-block-button__link,.cse-button-secondary){border-color:#146d70!important;color:#146d70!important;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-hero,.cse-story-section,.cse-cta,.cse-patient-home) :is(.is-style-outline .wp-block-button__link,.cse-button-secondary){border-color:#d1e0e4!important;color:#ffffff!important;}
:is(.cse-site,.editor-styles-wrapper) :is(.cse-lead-form,.cse-quick-booking){border-width:1px;border-style:solid;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-lead-form,.cse-quick-booking){border-color:#d1e0e4;background:#e7f2f4;}
/* Tool options, result notes, and compact cards retain the same palette. */
html:not([data-cse-theme="dark"]) :is(.cse-tools-page,.cse-tool-app){--ct-ink:#153f43;--ct-muted:#222222;--ct-soft:#e7f2f4;--ct-line:#d1e0e4;--ct-purple:#0b7073;--ct-lilac:#c9efeb;--ct-teal:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-journal-tools{--jt-ink:#153f43;--jt-muted:#222222;--jt-line:#d1e0e4;--jt-mint:#e7f2f4;--jt-lilac:#c9efeb;--jt-teal:#146d70;}
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) .cse-patient-section:not(.cse-patient-home){--pv-ink:#153f43;--pv-muted:#222222;--pv-accent:#146d70;--pv-line:#d1e0e4;}
html:not([data-cse-theme="dark"]) .cse-site :is(.cset-option,.cset-secondary,.cset-presets button,.cse-patient-controls button){border-color:#146d70;}
html:not([data-cse-theme="dark"]) .cse-site .cset-option:is(:hover,:has(input:checked)){background:#e7f2f4;border-color:#146d70;}
.cse-site .cse-tool-app :focus-visible,.cse-site .cse-tools-page a:focus-visible{outline-color:#146d70;}
/* Preserve bright text in deliberately dark callouts and nested pale cards. */
html:not([data-cse-theme="dark"]) :is(.cse-site,.editor-styles-wrapper) :is(.cse-hero,.cse-story-section,.cse-cta,.cse-patient-home) .cse-small{color:#caf4f1;}
html:not([data-cse-theme="dark"]) .cse-site .cse-hero .cse-photo-note .cse-small{color:#146d70;}
/* Night mode: tiles must change surface along with their text. */
html[data-cse-theme="dark"] :is(.cse-site,.editor-styles-wrapper) .cse-area-tile{background:#122424;border-color:#427575;}
html[data-cse-theme="dark"] :is(.cse-site,.editor-styles-wrapper) .cse-area-tile :is(h3,p){color:#d8e5e1;}
html[data-cse-theme="dark"] :is(.cse-site,.editor-styles-wrapper) :is(.cse-card,.cse-proof,.cse-doctor-card,.cse-location-card,.cse-news-card,.cse-placeholder-card){border-color:#427575;}
html[data-cse-theme="dark"] :is(.cse-tools-page,.cse-tool-app){--ct-line:#427575;--ct-muted:#d8e5e1;}
html[data-cse-theme="dark"] :is(.cse-site,.editor-styles-wrapper) .cse-journal-tools{--jt-line:#427575;--jt-muted:#d8e5e1;}
html[data-cse-theme="dark"] .cse-site :is(.cset-option,.cset-secondary,.cset-presets button,.cse-patient-controls button){border-color:#7ea59d;}
html[data-cse-theme="dark"] .cse-site .cse-tool-app :focus-visible,html[data-cse-theme="dark"] .cse-site .cse-tools-page a:focus-visible{outline-color:#7ea59d;}
@media print{html :is(.cse-site,.editor-styles-wrapper) :is(.cse-soft,.cse-visual-hero,.cse-journal-tools,.cse-patient-section){background:#ffffff!important;}}
