/* Panneaux éditoriaux clairs. La couleur du sujet vient de pb-article-pilot.css. */
body.pb-brand-article .art-hero{background:#F4F1EC!important}
body.pb-brand-article .art-hero h1{color:#1F2A37!important}
body.pb-brand-article .art-hero p{color:#344250!important}
body.pb-brand-article .lead-box{background:var(--pb-accent-soft);border:1px solid var(--pb-accent);color:#1F2A37}
body.pb-brand-article .lead-box h4,
body.pb-brand-article .lead-box p{color:#1F2A37}
body.pb-brand-article .lead-box .btn{background:#FFFDF9;border:1px solid var(--pb-accent);color:var(--pb-accent-text)}

/* Réponses directes et limites : fond teinté et texte toujours foncé. */
body.pb-brand-article .prose :is(section,div)[class$="-answer"],
body.pb-brand-article .prose [class$="-limit"]{background:var(--pb-accent-soft);border:1px solid var(--pb-accent);box-shadow:none;color:#1F2A37}
body.pb-brand-article .prose :is(section,div)[class$="-answer"] :is(h2,h3,p,span,strong,b,small),
body.pb-brand-article .prose [class$="-limit"] :is(h2,h3,p,span,strong,b,small){color:#1F2A37}
body.pb-brand-article .prose :is(section,div)[class$="-answer"] > span{color:var(--pb-accent-text)}
body.pb-brand-article .prose [class$="-limit"] strong{color:var(--pb-accent-text)}

/* Calculateurs et outils qui utilisaient un bloc bleu nuit. */
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool){background:var(--pb-accent-soft);border:1px solid var(--pb-accent);box-shadow:0 10px 28px rgba(31,42,55,.07);color:#1F2A37}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is([class$="__head"],[class$="-head"]){background:transparent;color:#1F2A37}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is(h2,h3,p,label,small){color:#1F2A37}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is([class$="__head"],[class$="-head"]) span{color:var(--pb-accent-text)}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is(input,select,textarea){background:#FFFDF9;color:#1F2A37;border:1px solid #C7BFB4}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is(input,select,textarea):focus-visible{outline:3px solid var(--pb-accent);outline-offset:2px}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is([class$="__foot"],[class$="-foot"]){background:rgba(255,253,249,.55);color:#344250;border-top:1px solid #D8D1C7}
body.pb-brand-article .prose :is(.pri-calc,.dr-calc,.bc-calc,.ry-calc,.buy-calc,.fh-calc,.rb-calc,.fb-calc,.lr-tool,.ap-tool,.cc-tool,.ve-tool,.mk-dash,.hi-contract,.pp-tool) :is([class$="__foot"],[class$="-foot"]) :is(p,small,span){color:#344250}
body.pb-brand-article .prose :is(.pri-result__total,.dr-result strong,.bc-result strong,.ry-result strong,.fh-result strong,.fb-result strong){color:var(--pb-accent-text)}

/* En-têtes de mini-outils et panneaux de synthèse particuliers. */
body.pb-brand-article .prose :is(.cc-tool-head,.ac-tool-head,.ic-tool-head,.is-tool-head,.la-tool-head,.ls-head,.ip-head,.cl-head,.ca-head,.ci-head,.fi-head,.pv-head,.ir-head,.kt-tool-head,.pg-tool-head){background:var(--pb-accent-soft);border-bottom:2px solid var(--pb-accent);color:#1F2A37}
body.pb-brand-article .prose :is(.cc-tool-head,.ac-tool-head,.ic-tool-head,.is-tool-head,.la-tool-head,.ls-head,.ip-head,.cl-head,.ca-head,.ci-head,.fi-head,.pv-head,.ir-head,.kt-tool-head,.pg-tool-head) :is(h2,h3,p,span,small,strong){color:#1F2A37}
body.pb-brand-article .prose :is(.ab-chooser,.charge-test,.sc-hero,.ri-hero,.ri-result,.so-flow,.is-house,.iv-check-head){background:var(--pb-accent-soft);border:1px solid var(--pb-accent);color:#1F2A37}
body.pb-brand-article .prose :is(.ab-chooser,.charge-test,.sc-hero,.ri-hero,.ri-result,.so-flow,.is-house,.iv-check-head) :is(h2,h3,p,span,small,strong,b,label){color:#1F2A37}
body.pb-brand-article .prose table th{background:var(--pb-accent-soft);color:#1F2A37}

/* Quelques modules utilisent leur propre composition et demandent un réglage précis. */
body.pb-brand-article .prose :is(.ra-nav,.cc-delegation,.tw-cass,.ab-total,.ri-equation){background:var(--pb-accent-soft);border:1px solid var(--pb-accent);box-shadow:none;color:#1F2A37}
body.pb-brand-article .prose :is(.ra-nav,.cc-delegation,.tw-cass,.ab-total,.ri-equation) :is(h2,h3,p,span,small,strong,b,label){color:#1F2A37}
body.pb-brand-article .prose .ra-nav__head h2,
body.pb-brand-article .prose .ra-nav__head p,
body.pb-brand-article .prose .ra-field label{color:#1F2A37}
body.pb-brand-article .prose .ra-field select{background:#FFFDF9;color:#1F2A37;border:1px solid #C7BFB4}
body.pb-brand-article .prose .ra-nav__foot{background:rgba(255,253,249,.55);color:#344250;border-top:1px solid #D8D1C7}
body.pb-brand-article .prose .ri-result__label,
body.pb-brand-article .prose .ri-result__change{color:#344250}
body.pb-brand-article .prose .ri-result__value{color:var(--pb-accent-text)}
body.pb-brand-article .prose .ri-result__item{background:#FFFDF9;border:1px solid #D8D1C7}
body.pb-brand-article .prose .ri-result__status span{color:var(--pb-accent-text)}

/* Derniers panneaux propres à certains guides. */
body.pb-brand-article .hi-status,
body.pb-brand-article .iv-case-head,
body.pb-brand-article .sa-threshold,
body.pb-brand-article .pb-loc .sample,
body.pb-brand-article .ri-preview,
body.pb-brand-article .ri-equation{background:var(--pb-accent-soft);border:1px solid var(--pb-accent);box-shadow:none;color:#1F2A37}
body.pb-brand-article .hi-status :is(strong,p,a),
body.pb-brand-article .iv-case-head :is(h2,p,span),
body.pb-brand-article .sa-threshold :is(h3,p,label,b),
body.pb-brand-article .pb-loc .sample :is(h3,p),
body.pb-brand-article .ri-preview :is(div,span){color:#1F2A37}
body.pb-brand-article .hi-status a{border-bottom-color:var(--pb-accent-text);color:var(--pb-accent-text)}
body.pb-brand-article .sa-threshold__result{background:#FFFDF9;border:1px solid #D8D1C7}
body.pb-brand-article .sa-threshold button{background:var(--pb-accent);color:#FFFDF9}
body.pb-brand-article .pb-loc .sample p[style]{color:#344250!important}
body.pb-brand-article .ri-preview:before{border-color:#D8D1C7}
body.pb-brand-article .ri-preview__track{background:#E7D8F1}
body.pb-brand-article .ri-preview__track i{background:var(--pb-accent)}
body.pb-brand-article .prose :is(.sy-tool,.ir-tool-head,.cg-cta){background:var(--pb-accent-soft);border:1px solid var(--pb-accent);box-shadow:none;color:#1F2A37}
body.pb-brand-article .prose :is(.sy-tool,.ir-tool-head,.cg-cta) :is(h2,h3,p,span){color:#1F2A37}
body.pb-brand-article .prose .sy-tool__tag{color:var(--pb-accent-text)}
body.pb-brand-article .prose :is(.sy-tool__button,.cg-cta a){background:#FFFDF9;border:1px solid var(--pb-accent);color:var(--pb-accent-text);box-shadow:none}
/* Anciens libellés blancs forcés dans des modules désormais clairs. */
body.pb-brand-article .prose .cc-tool__bar p,
body.pb-brand-article .prose .ap-tool .ap-summary,
body.pb-brand-article .prose .so-flow :is(h2,p),
body.pb-brand-article .prose .is-house :is(h2,p,.is-step),
body.pb-brand-article .prose .is-house .is-step b{color:#1F2A37!important}
body.pb-brand-article .prose .ap-summary strong,
body.pb-brand-article .prose .pp-tool__tag{color:var(--pb-accent-text)}
body.pb-brand-article .prose #ap-budget-value{color:var(--pb-accent-text)!important}

/* Recette vague A : libellés hérités du gabarit sombre, désormais sur papier clair. */
body.pb-brand-article .art-hero .btn-ghost{background:#FFFDF9;color:#1F2A37;border:1px solid #1F2A37}
body.pb-brand-article .art-hero .btn-ghost:hover{background:#EAE5DD;color:#1F2A37}
body.pb-brand-article .aside .pb-steps a,
body.pb-brand-article .aside .pb-steps a[aria-current]{color:#1F2A37;border-top-color:#D8D1C7}
body.pb-brand-article .aside .pb-steps a:hover{color:#0A6F73;text-decoration:underline}
body.pb-brand-article .art-hero-meta > span{color:#3D4654!important}
body.pb-brand-article .art-hero .crumb .c{color:#1F2A37!important}
body.pb-brand-article .prose :is(.pri-reset,.dr-reset,.bc-reset,.ry-reset,.fh-reset,.fb-reset,.cc-reset,.ap-showall,.mk-tabs button){color:#1F2A37;background:#FFFDF9;border:1px solid #1F2A37}
body.pb-brand-article .prose .mk-tabs button[aria-pressed="true"]{background:#1F2A37;color:#FFFDF9}
body.pb-brand-article .prose .ry-input-error{grid-column:1/-1;padding:10px 12px;background:#FFFDF9;border:1px solid #9E2A5C;border-radius:8px;color:#1F2A37}
body.pb-brand-article .prose .bc-warning{grid-column:1/-1;padding:10px 12px;background:#FFFDF9;border:1px solid #1C4BA6;border-radius:8px;color:#1F2A37}
body.pb-brand-article .prose .rb-line__name{color:#1F2A37}
body.pb-brand-article .prose .rb-reset{color:#1F2A37;background:#FFFDF9;border:1px solid #1F2A37}
body.pb-brand-article .prose .rb-reset:hover{background:#EAE5DD;color:#1F2A37}
body.pb-brand-article .ri-field small,
body.pb-brand-article .ri-privacy{color:#3D4654}
body.pb-brand-article .prose .ry-plausibility-warning{grid-column:1/-1;padding:10px 12px;background:#FFFDF9;border:1px solid #9E2A5C;border-radius:8px;color:#1F2A37}
