/* Bouton « Poser une question à une IA » (ia.js) ; couleurs de la page (tex2html.css). */
details.ia{margin:.8rem 0 .3rem;font-size:.92rem}
details.ia>summary{cursor:pointer;list-style:none;display:inline-block;padding:.3rem .8rem;
  border:1px solid var(--trait,#e3e0d8);border-radius:999px;color:var(--accent,#1f4e79);
  background:var(--carte,#fff);font-weight:600}
.ia-icone{width:2.4em;height:2em;vertical-align:-.65em;margin-right:.4em}
.ia-icone .bulle{fill:var(--carte,#fff);stroke:currentColor;stroke-width:1.3;stroke-linejoin:round}
.ia-icone text{fill:currentColor;font:bold 9.5px system-ui,sans-serif;text-anchor:middle}
details[open].ia>summary{background:var(--accent-fond,#e8eef5)}
.ia-corps{margin-top:.5rem;padding:.6rem .8rem;border:1px solid var(--trait,#e3e0d8);
  border-radius:8px;background:var(--carte,#fff)}
.ia-corps label{display:block;color:var(--doux,#5b6470);font-size:.85rem}
.ia-corps textarea{display:block;box-sizing:border-box;width:100%;margin-top:.3rem;padding:.4rem;
  font:inherit;font-size:1rem;color:var(--texte,#1d232b);background:var(--fond,#fbfaf7);
  border:1px solid var(--trait,#e3e0d8);border-radius:6px;resize:vertical}
.ia-choix{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 .2rem}
.ia-choix button{font:inherit;font-size:.9rem;padding:.4rem .8rem;cursor:pointer;
  border:1px solid var(--accent,#1f4e79);border-radius:6px;color:var(--accent,#1f4e79);
  background:none}
.ia-choix button:hover{background:var(--accent-fond,#e8eef5)}
.ia-choix button[data-ia="copier"]{border-color:var(--trait,#e3e0d8);color:var(--doux,#5b6470)}
.ia-etat{margin:.3rem 0;color:var(--texte,#1d232b);font-weight:600;min-height:1em}
.ia-etat:empty{display:none}
.ia-note{margin:.3rem 0 0;color:var(--doux,#5b6470);font-size:.8rem}
