/* hello.tuxtech.fr — rubrique Grepouille (et sa forme HTag depuis Montparnasse) */
.hl-ico .gp-ico{width:18px;height:18px;vertical-align:-3px}
.gp-tete{display:flex;align-items:center;gap:16px;margin-bottom:8px}
.gp-mascotte{width:84px;height:84px;flex:none;filter:drop-shadow(0 4px 8px rgba(15,42,92,.18))}
.gp-tete h2{margin:0 0 4px;font-size:20px}
.gp-tete p{margin:0}
.gp-res{list-style:none;padding:10px 0;border-bottom:1px solid var(--sa-border)}
.gp-res:last-child{border-bottom:0}
#gp-resultats{margin:0;padding:0}
.gp-titre{text-decoration:none;color:var(--sa-text)}
.gp-titre:hover strong{text-decoration:underline}
.gp-extrait{margin:4px 0 2px;line-height:1.5;color:var(--sa-text);white-space:pre-line}
.gp-extrait mark{background:var(--sa-accent-bg);color:var(--sa-accent-text);border-radius:3px;padding:0 2px}
.gp-chemin{font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.gp-pied{margin-top:8px;font-size:12px}
/* forme HTag : couleurs de la charte HTag (bleu nuit et orange) */
.gp-htag{border-top:4px solid #FA8334}
.gp-htag .gp-tete h2{color:#123C5B}
.gp-htag #gp-bouton{background:#FA8334;border-color:#FA8334;color:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gp-htag .gp-tete h2{color:#FCFDAF}}
:root[data-theme="dark"] .gp-htag .gp-tete h2{color:#FCFDAF}
@media (max-width:560px){.gp-mascotte{width:60px;height:60px}.gp-tete{gap:10px}}
/* option IA : réponse rédigée au fil de l'eau */
.gp-options{margin:-2px 0 8px}
.gp-reponse{border:1px solid var(--sa-border);border-left:4px solid var(--sa-royal);border-radius:var(--sa-radius);
  background:var(--sa-surface-2);padding:10px 14px;margin:8px 0 12px}
.gp-reponse-tete{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.gp-reponse-corps{line-height:1.55}
.gp-reponse-corps p{margin:6px 0}
.gp-reponse-corps .gp-h{margin:10px 0 4px;font-size:15px}
.gp-liste{margin:4px 0 6px;padding-left:22px}
.gp-code{background:var(--sa-surface);border:1px solid var(--sa-border);border-radius:6px;padding:8px 10px;overflow-x:auto;font-size:13px}
.gp-reponse-corps code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}
.gp-reponse-corps :not(pre)>code{background:var(--sa-surface);border:1px solid var(--sa-border);border-radius:4px;padding:0 4px}
.gp-cite{font-size:.8em;vertical-align:super;text-decoration:none;font-weight:700;color:var(--sa-royal)}
.gp-num{font-weight:700;color:var(--sa-royal)}
.gp-attente{font-style:italic}
.gp-avert{font-size:12px;margin:6px 0 0}
/* historique */
.gp-histo{margin-top:12px;border-top:1px solid var(--sa-border);padding-top:8px}
.gp-histo summary{cursor:pointer;font-weight:600}
.gp-histo-liste{list-style:none;margin:6px 0 0;padding:0;max-height:320px;overflow-y:auto}
.gp-histo-item{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--sa-border)}
.gp-histo-item:last-child{border-bottom:0}
.gp-histo-q{flex:1;min-width:0;display:flex;align-items:baseline;gap:8px;background:none;border:0;padding:6px 2px;text-align:left;cursor:pointer;color:var(--sa-text);font:inherit}
.gp-histo-q:hover .gp-histo-txt{text-decoration:underline}
.gp-histo-txt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gp-histo-info{font-size:12px;white-space:nowrap}
.gp-histo-x{background:none;border:0;color:var(--sa-muted);cursor:pointer;padding:4px 6px;border-radius:4px}
.gp-histo-x:hover{color:var(--sa-danger);background:var(--sa-danger-bg)}
