/* Laurent, 20 septembre 2026 : un fond distinct par formulaire.
   Les couleurs métier des états, erreurs et validations restent indépendantes. */
:root{--form-teinte:210;--form-fond:hsl(var(--form-teinte) 42% 92%);--form-doux:hsl(var(--form-teinte) 44% 97%);--form-filet:hsl(var(--form-teinte) 30% 80%)}
:root[data-ecran=index]{--form-teinte:158}
:root[data-ecran=agenda]{--form-teinte:330}
:root[data-ecran=agenda-rdv]{--form-teinte:345}
:root[data-ecran=agenda-tache]{--form-teinte:355}
:root[data-ecran=agenda-direction]{--form-teinte:320}
:root[data-ecran=appels]{--form-teinte:50}
:root[data-ecran=appels-depenses]{--form-teinte:58}
:root[data-ecran=banques]{--form-teinte:210}
:root[data-ecran=banques-releves]{--form-teinte:305;--form-fond:hsl(305 25% 93%);--form-doux:hsl(305 30% 98%);--form-filet:hsl(305 22% 80%);--releves-encre:hsl(305 25% 25%);--releves-accent:hsl(305 28% 35%);--releves-bandeau:linear-gradient(110deg,hsl(305 28% 28%),hsl(305 24% 45%));--releves-clair:hsl(305 35% 91%);--releves-survol:hsl(305 30% 95%)}
:root[data-ecran=banques-rattachement]{--form-teinte:225}
:root[data-ecran=banques-saisie]{--form-teinte:218}
:root[data-ecran=honoraires]{--form-teinte:32;--form-fond:#f2eee7;--form-doux:#faf6ef;--form-filet:#dacbb8}
:root[data-ecran=caf]{--form-teinte:150}
:root[data-ecran=caf-depots]{--form-teinte:132}
:root[data-ecran=caf-appel]{--form-teinte:140}
:root[data-ecran=caf-courriers]{--form-teinte:118}
:root[data-ecran=caf-journal]{--form-teinte:166}
:root[data-ecran=personnes]{--form-teinte:282}
:root[data-ecran=coordonnee]{--form-teinte:310}
:root[data-ecran=contrats]{--form-teinte:65}
:root[data-ecran=contrats-valeurs]{--form-teinte:74}
:root[data-ecran=lots]{--form-teinte:195}
:root[data-ecran=immeubles]{--form-teinte:182}
:root[data-ecran=factures]{--form-teinte:38}
:root[data-ecran=reversements]{--form-teinte:172}
:root[data-ecran=mails]{--form-teinte:28}
:root[data-ecran=mail-rediger]{--form-teinte:20}
:root[data-ecran=mail-action]{--form-teinte:44}
:root[data-ecran=mail-document]{--form-teinte:12}
:root[data-ecran=mail-retour]{--form-teinte:5}
:root[data-ecran=modeles]{--form-teinte:300}
:root[data-ecran=signatures]{--form-teinte:260}
:root[data-ecran=scenarios]{--form-teinte:245}
:root[data-ecran=enumerations]{--form-teinte:95}
:root[data-ecran=types-depenses]{--form-teinte:82}
:root[data-ecran=travaux]{--form-teinte:106}
:root[data-ecran=telephone]{--form-teinte:178}
:root[data-ecran=espace]{--form-teinte:232}
:root[data-ecran=specification]{--form-teinte:270}
:root[data-ecran=connexion]{--form-teinte:290}
:root[data-ecran=aide-paiements-diagnostics]{--form-teinte:190}
:root[data-ecran=aide-test-banque]{--form-teinte:238}
html[data-ecran] body,html[data-ecran] main,html[data-ecran] .direction-contenu,html[data-ecran] .ref-plan{background:var(--form-fond)}
html[data-ecran] .enum-titre{background:var(--form-doux);border-bottom-color:var(--form-filet)}
html[data-ecran] .direction-contenu form[method=post],html[data-ecran] main>form[method=post]{background-color:var(--form-doux)}
html[data-ecran] :is(.banques-fiche,.saisie-editeur,.saisie-scroll,.caf-page,.mail-redaction,.mail-formulaire){background-color:var(--form-doux)}
html[data-ecran] .caf-console{background:var(--form-doux)}
html[data-ecran] .caf-console .caf-panneau{background:linear-gradient(var(--form-doux),var(--form-fond))}
