/* Chatbot Team Griffe */
.tgc,.tgc *{box-sizing:border-box}
.tgc{--tgc-ink:#0c0c0f;--tgc-bone:#f3f1ec;--tgc-accent:#e23b2a;--tgc-accent-d:#b32d1f;--tgc-line:rgba(12,12,15,.14);position:fixed;right:1rem;bottom:1rem;z-index:90;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.45;color:var(--tgc-ink)}
.tgc-btn{display:flex;align-items:center;gap:.55rem;border:0;cursor:pointer;background:var(--tgc-accent);color:#fff;font:inherit;font-weight:600;padding:.8rem 1.1rem;border-radius:999px;box-shadow:0 8px 24px rgba(12,12,15,.35)}
.tgc-btn:hover{background:var(--tgc-accent-d)}
.tgc-btn:focus-visible,.tgc-x:focus-visible,.tgc-send:focus-visible,.tgc-chip:focus-visible,.tgc-in:focus-visible{outline:3px solid #c9a24b;outline-offset:2px}
.tgc-btn svg{width:22px;height:22px;flex:none}
.tgc-panel{position:absolute;right:0;bottom:calc(100% + .7rem);width:min(380px,calc(100vw - 2rem));height:min(560px,calc(100vh - 6.5rem));background:var(--tgc-bone);border-radius:16px;box-shadow:0 18px 50px rgba(12,12,15,.45);display:none;flex-direction:column;overflow:hidden;border:1px solid var(--tgc-line)}
.tgc.open .tgc-panel{display:flex}
.tgc.open .tgc-btn .tgc-lbl{display:none}
.tgc-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;background:var(--tgc-ink);color:var(--tgc-bone);padding:.8rem 1rem}
.tgc-head strong{display:block;font-size:1rem}
.tgc-head span{font-size:.8rem;opacity:.75}
.tgc-x{background:transparent;border:0;color:inherit;cursor:pointer;font-size:1.6rem;line-height:1;padding:.2rem .5rem;border-radius:8px}
.tgc-log{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem;scroll-behavior:smooth}
.tgc-m{max-width:86%;padding:.6rem .85rem;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.tgc-m.bot{align-self:flex-start;background:#fff;border:1px solid var(--tgc-line);border-bottom-left-radius:4px}
.tgc-m.user{align-self:flex-end;background:var(--tgc-ink);color:var(--tgc-bone);border-bottom-right-radius:4px}
.tgc-m a{color:var(--tgc-accent-d);font-weight:600;text-decoration:underline}
.tgc-dots{display:inline-flex;gap:4px;padding:.15rem 0}
.tgc-dots i{width:7px;height:7px;border-radius:50%;background:var(--tgc-ink);opacity:.35;animation:tgcb 1s infinite ease-in-out}
.tgc-dots i:nth-child(2){animation-delay:.15s}.tgc-dots i:nth-child(3){animation-delay:.3s}
@keyframes tgcb{0%,80%,100%{opacity:.25}40%{opacity:.9}}
.tgc-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:0 1rem .6rem}
.tgc-chip{border:1px solid var(--tgc-ink);background:transparent;color:var(--tgc-ink);font:inherit;font-size:.85rem;padding:.35rem .7rem;border-radius:999px;cursor:pointer}
.tgc-chip:hover{background:var(--tgc-ink);color:var(--tgc-bone)}
.tgc-form{display:flex;gap:.5rem;padding:.7rem;border-top:1px solid var(--tgc-line);background:#fff}
.tgc-in{flex:1;min-width:0;font:inherit;font-size:16px;border:1px solid var(--tgc-line);border-radius:10px;padding:.6rem .75rem;background:var(--tgc-bone);color:var(--tgc-ink)}
.tgc-send{border:0;background:var(--tgc-accent);color:#fff;font:inherit;font-weight:600;border-radius:10px;padding:0 1rem;cursor:pointer}
.tgc-send:hover{background:var(--tgc-accent-d)}
.tgc-send:disabled{opacity:.5;cursor:default}
.tgc-note{font-size:.72rem;opacity:.65;text-align:center;padding:0 .8rem .55rem;background:#fff}
@media (max-width:520px){
 .tgc{right:.75rem;bottom:.75rem}
 .tgc.open{right:0;bottom:0}
 .tgc.open .tgc-panel{position:fixed;inset:0;width:100%;height:100%;border-radius:0}
 .tgc.open .tgc-btn{display:none}
}
@media (prefers-reduced-motion:reduce){.tgc-log{scroll-behavior:auto}.tgc-dots i{animation:none;opacity:.6}}
