/* STA Solutions : panneaux blanc cassé beige sur le fond vert existant.
   Les deux exclusions d’ID donnent priorité aux couleurs de cette version
   sur les anciennes règles !important et sur le récapitulatif injecté. */
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .choice,.sta-service-card,.hp-example,.hp-check-grid>article,.hp-steps>li,.hp-project,
 .pc-benefits>article,.pc-audience,.pd-case-grid>article,.sc-cards>article,.sc-hub-grid>a,
 .why-card,.energy-work-card,.prevention-card,.formcard,.application-card,.application-form,
 .calendar-card,.details-card,.sim-builder,.sim-result,.simulation-contact,.simulation-contact form,
 .legal-section,.sta-feature-panel,.pc-method,.hp-saving,.hp-faq-list details,.pc-faq details,.sc-faq details,
 .sta-facts li,.project-progress li,.sta-optional-fields,.sta-simulation-notice,.sta-pilotage-banner,
 .pc-project,.sta-mobile-contact,#sta-consent,.sta-consent-dialog,.sta-consent-card,dialog,
 .free,.free-badge,.project-trade-dropdown,.project-trade-dropdown summary,.trade-dropdown-panel,.trade-choice,
 .hp-method-note,.hp-project-visual,.hp-trades,.trade-group,.coverage-map-frame,.coverage-map-bar,
 .quote-check-list li,.quote-document-notice,.status,.estimate-warning,.step-badge,.region-note,.trade-tab,
 .quantity-input span,.simulation-method,.legal-notice,.callback,.form-extras,.energy-work-visual,
 .energy-work-label,.update-card,.simulator-box,.support-card,.engagement-detail,.warning-strip,
 .risk-card,.check-item,.check-mark,.alert-box,.alert-symbol,.coordination-panel,.sequence>span,
 .cta-box,.pro-privacy-note,.agenda-notice,.booking-summary,.project-recap,.project-next,.transfer-notice,
 .photo-assistant,.trade-question-group,.useful-link,.selected-work,.source-basis,
 .coverage-result,.coverage-address-choice,.month-button,.calendar-day,.time-choice>span,
 #sta-entry-prefill,.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-tooltip
) {
 background:#f6f2e9!important;background-image:none!important;color:#171b18!important;
 border-color:#d8d0c1!important;box-shadow:0 5px 18px #001b0e12!important;
}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .choice,.sta-service-card,.hp-example,.hp-check-grid>article,.hp-steps>li,.hp-project,
 .pc-benefits>article,.pc-audience,.pd-case-grid>article,.sc-cards>article,.sc-hub-grid>a,
 .why-card,.energy-work-card,.prevention-card,.formcard,.application-card,.application-form,
 .calendar-card,.details-card,.sim-builder,.sim-result,.simulation-contact,.simulation-contact form,
 .legal-section,.sta-feature-panel,.pc-method,.hp-saving,.hp-faq-list details,.pc-faq details,.sc-faq details,
 .sta-facts li,.project-progress li,.sta-optional-fields,.sta-simulation-notice,.sta-pilotage-banner,
 .pc-project,.sta-mobile-contact,#sta-consent,.sta-consent-dialog,.sta-consent-card,dialog,
 .free,.free-badge,.project-trade-dropdown,.trade-dropdown-panel,.trade-choice,
 .hp-method-note,.hp-project-visual,.hp-trades,.trade-group,.coverage-map-frame,.coverage-map-bar,
 .quote-check-list li,.quote-document-notice,.status,.estimate-warning,.step-badge,.region-note,.trade-tab,
 .quantity-input span,.simulation-method,.legal-notice,.callback,.form-extras,.energy-work-visual,
 .energy-work-label,.update-card,.simulator-box,.support-card,.engagement-detail,.warning-strip,
 .risk-card,.check-item,.check-mark,.alert-box,.alert-symbol,.coordination-panel,.sequence>span,
 .cta-box,.pro-privacy-note,.agenda-notice,.booking-summary,.project-recap,.project-next,.transfer-notice,
 .photo-assistant,.trade-question-group,.useful-link,.selected-work,.source-basis,
 .coverage-result,.coverage-address-choice,.month-button,.calendar-day,.time-choice>span,
 #sta-entry-prefill,.leaflet-popup-content-wrapper,.leaflet-tooltip
) :where(*) {color:#171b18!important}

/* Champs et boutons : les états actifs conservent le même contraste. */
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select,option,
 .button,.btn,.hp-button,.pc-button,.sc-button,.pro-home-button,.sta-call,
 .sta-mobile-contact a,.sta-pilotage-banner-link,.sta-optional-action,.sta-choice-toggle,
 .trade-dropdown-done,.sta-entry-prefill-action,.coverage-map-reset,.leaflet-control-zoom a,
 button[type=submit],.time-choice>span,.billing-options>label,.impact-options>label
) {
 background:#f6f2e9!important;background-image:none!important;color:#171b18!important;
 border-color:#34785a!important;caret-color:#171b18!important;
}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .button,.btn,.hp-button,.pc-button,.sc-button,.pro-home-button,.sta-call,
 .sta-mobile-contact a,.sta-pilotage-banner-link,.sta-optional-action,.sta-choice-toggle,
 .trade-dropdown-done,.sta-entry-prefill-action,.coverage-map-reset,.leaflet-control-zoom a,
 button[type=submit]
) :where(*) {color:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(input,textarea)::placeholder {color:#545f57!important;opacity:1}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(input[type=checkbox],input[type=radio]) {accent-color:#126140!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(
 .button,.btn,.hp-button,.pc-button,.sc-button,.pro-home-button,.sta-call,.sta-mobile-contact a,
 .sta-pilotage-banner-link,.sta-optional-action,.sta-choice-toggle,.trade-dropdown-done,
 .sta-entry-prefill-action,.coverage-map-reset,.leaflet-control-zoom a,button[type=submit],
 .trade-choice,.choice,.sc-hub-grid>a,.useful-link,.coverage-address-choice,.month-button,.calendar-day
):is(:hover,:focus-visible,:focus-within) {background:#eee7da!important;background-image:none!important;color:#171b18!important;border-color:#126140!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .trade-choice:has(input:checked),.time-choice:has(input:checked)>span,
 .calendar-day[aria-selected=true],.calendar-day.selected,.trade-tab[aria-pressed=true],
 .trade-tab[aria-selected=true],.trade-tab.active,.billing-options>label:has(input:checked),.impact-options>label:has(input:checked)
) {background:#f6f2e9!important;color:#171b18!important;border-color:#126140!important;box-shadow:inset 0 0 0 2px #126140!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(.calendar-day:disabled,.calendar-day[aria-disabled=true]) {background:#f6f2e9!important;color:#68756d!important;opacity:.7}

/* Petits pictogrammes et encadrés d’information. */
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(
 .choice-icon,.choice-arrow,.card-icon,.hp-example-icon,.warning-icon,.estimate-lock,
 .estimate-warning>span:first-child,.coordination .icon,.pc-timeline li>span,.step-badge
) {background:#f6f2e9!important;background-image:none!important;color:#073e2b!important;border-color:#d8d0c1!important;box-shadow:none!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .choice-icon,.card-icon,.hp-example-icon,.warning-icon,.estimate-lock,.coordination .icon
) :is(svg,path,line,polyline,rect,circle) {color:#073e2b!important;stroke:#073e2b!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .sta-panel-backdrop,
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .sta-panel-backdrop::before,
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .sta-panel-backdrop::after {background:#f6f2e9!important;background-image:none!important;box-shadow:none!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .coverage-map-key::before {background:#126140!important;border-color:#126140!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .prevention-card li::before {background:#126140!important}

/* Les éléments de navigation restent sur une surface blanche. */
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 footer,.site-footer,.footer-mobile-bottom,.orientation-footer,.entry-footer,header,
 header .site-menu,header .nav-dropdown-panel,header .nav-login
) {background:#f6f2e9!important;background-image:none!important;color:#171b18!important;border-color:#d8d0c1!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(footer,header) :where(*) {color:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(header .sta-menu-toggle,header .audience-switch,header .audience-link,header .nav-dropdown-toggle) {background:#f6f2e9!important;background-image:none!important;color:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) header .sta-menu-toggle svg :is(path,line,rect) {stroke:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :is(a,button,summary,input,textarea,select):focus-visible {outline:3px solid #96691a!important;outline-offset:3px}

/* Panneaux secondaires et états ajoutés par les outils du site. */
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .access-card,.result-partial[data-partial=true],.booking-confirmation,.calendar-key span,
 .risk-visual,.quote-check-icon,.support-card .step,.text-button,.sv-duration,
 .coverage-list button,.leaflet-control,.leaflet-control a,.leaflet-control button,
 #sta-consent button,#sta-consent fieldset,#sta-cookie-settings,.project-transfer-action button,
 .audience-route a,.nav-cta,.footer-mobile-service
) {background:#f6f2e9!important;background-image:none!important;color:#171b18!important;border-color:#d8d0c1!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .access-card,.result-partial[data-partial=true],.booking-confirmation,.risk-visual,.quote-check-icon,
 .coverage-list button,.leaflet-control,.project-transfer-action button,.audience-route a,.footer-mobile-service
) :where(*) {color:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .risk-visual svg>rect:first-child {fill:#f6f2e9!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .project-trade-dropdown,.project-trade-dropdown summary,.trade-dropdown-panel,.trade-choice,
 .project-progress li,.sta-optional-fields,.project-next,.project-recap,.trade-question-group,.free,.free-badge
) {box-shadow:none!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .project-trade-dropdown .trade-choice:has(input:checked) {box-shadow:inset 0 0 0 2px #126140!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .hp-faq-list,.pc-faq,.sc-faq,.trade-group,.hp-trades,.formcard,.application-card,.sim-builder,.sim-result
) summary::after,
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) :where(
 .hp-faq-list,.pc-faq,.sc-faq,.trade-group,.hp-trades,.formcard,.application-card,.sim-builder,.sim-result
) summary::before {color:#171b18!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) header .sta-menu-toggle::before {background:#f6f2e9!important}
html body.sta-white-panels:not(#sta-theme-absent):not(#sta-theme-absent-2) .leaflet-popup-close-button {color:#171b18!important;background:transparent!important}
