/* EconollamaAI V8.8 — unification des titres et des surfaces.
   Conserve la couleur du titre principal de l'accueil V8.2 (#093b20).
   Feuille volontairement chargee en dernier apres les styles historiques. */
:root{--v88-title:#093b20;--v88-page:#fff;--v88-surface:#f8fbf7;--v88-ink:#172e20;--v88-border:#d3e3d3}
/* Titres principaux, sans modifier les sous-titres et les elements de navigation. */
body[data-v81-page="atlas"] main h1,
body[data-v81-page="encyclopedie"] main h1,
body[data-v81-page="economistes"] main h1,
body[data-v81-page="courants"] main h1,
body[data-v81-page="chronologie"] main h1,
body[data-v81-page="quiz"] main h1,
body[data-v81-page="admin"] main h1,
body[data-v81-page="admin"] main h1 span{
 color:var(--v88-title)!important;-webkit-text-fill-color:var(--v88-title)!important;
 background-image:none!important;text-shadow:none!important;opacity:1!important
}
/* Fond de page identique a l'accueil, avec des panneaux interieurs clairs. */
body[data-v81-page="quiz"],body[data-v81-page="consultation"],
body[data-v81-page="account"],body[data-v81-page="login"],
body[data-v81-page="admin"],body[data-v81-page="users-admin"],
body[data-v81-page="dictionary-admin"]{
 background:#fff!important;background-image:none!important;color:var(--v88-ink)!important
}
body[data-v81-page="quiz"] :is(main,.shell),
body[data-v81-page="consultation"] :is(main,.shell),
body[data-v81-page="account"] :is(main,.shell,.auth-shell),
body[data-v81-page="login"] :is(main,.shell,.auth-shell),
body[data-v81-page="admin"] :is(main,.shell),
body[data-v81-page="users-admin"] :is(main,.shell),
body[data-v81-page="dictionary-admin"] :is(main,.shell){
 background:#fff!important;background-image:none!important;color:var(--v88-ink)!important
}
body[data-v81-page="quiz"] :is(.admin-panel,.dictionary,#setup,#questions,#items,#correction,#history),
body[data-v81-page="consultation"] :is(.consult-panel,.answer-zone,.tabs,.section-heading,.dictionary-filters,.dictionary-results),
body[data-v81-page="account"] :is(.auth-card,#profile,main>section),
body[data-v81-page="login"] :is(.auth-card,.auth-shell section),
body[data-v81-page="admin"] :is(.admin-panel,.dictionary,#versions),
body[data-v81-page="users-admin"] :is(.admin-panel,.dictionary,#users),
body[data-v81-page="dictionary-admin"] :is(.admin-panel,.dictionary,main>section){
 background:var(--v88-surface)!important;background-image:none!important;
 color:var(--v88-ink)!important;border-color:var(--v88-border)!important;
 box-shadow:none!important
}
/* Onglet Dictionnaire : contraste renforce lorsqu'il n'est pas actif. */
body[data-v81-page="consultation"] #tab-dictionary:not(.selected):not([aria-selected="true"]){
 background:#e5f1e4!important;color:#123923!important;border:1px solid #a9c8ae!important;
 -webkit-text-fill-color:#123923!important;opacity:1!important;text-shadow:none!important
}
body[data-v81-page="consultation"] #tab-dictionary.selected,
body[data-v81-page="consultation"] #tab-dictionary[aria-selected="true"]{
 background:#0b5c31!important;color:#fff!important;-webkit-text-fill-color:#fff!important
}
/* Meme fond pour le champ Votre question et la reponse de l'assistant. */
body[data-v81-page="consultation"] #question,
body[data-v81-page="consultation"] #answer{
 background:#fff!important;background-image:none!important;color:#172e20!important;
 border:1px solid #a9c8ae!important;border-radius:10px!important;
 padding:20px!important;box-shadow:none!important
}
body[data-v81-page="consultation"] #answer{min-height:210px;white-space:pre-wrap;overflow-wrap:anywhere}
/* Correction du fond de la réponse EconollamaAI */

html body[data-v81-page="consultation"]
main.consultation-v123
section.answer-zone
article#answer {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}
/* V8.8 — Fond blanc de toute la zone de réponse */

html body[data-v81-page="consultation"]
main.consultation-v123 section.answer-zone {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

html body[data-v81-page="consultation"]
main.consultation-v123 section.answer-zone article#answer {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}
/* Correction définitive du fond de la fenêtre de réponse */

body[data-v81-page="consultation"]
#panel-chat.consult-panel
section.answer-zone {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}
/* V8.8 — Harmonisation de la zone de réponse */

body[data-v81-page="consultation"] {
    --v84-bg: #ffffff;
}
