/* Chat visiteur : même charte que l'invitation (cadre blanc, bleu ciel doux, texte sombre, boutons sobres). Présentation seulement : moteur, conversations et règles inchangés. */
body .chat-bulle{width:auto;height:56px;padding:0 20px 0 6px;gap:10px;border-radius:999px;background:#fff;color:#111;border:1px solid #d8dde6;box-shadow:0 8px 28px rgba(0,0,0,.18);font:600 15px/20px "Segoe UI","Montserrat",system-ui,sans-serif}
body .chat-bulle::before{content:"";flex:none;width:44px;height:44px;border-radius:50%;background:url(/assets/photos/salle-de-cours-delta-960.jpg) center/cover}
body .chat-bulle svg{display:none}
body .chat-bulle .lib{display:inline}
body .chat-bulle:hover{border-color:#111}
body .chat-bulle:focus-visible{outline:3px solid #1b5fd1;outline-offset:3px}
body .chat-bulle .pastille-notif{background:#c0262d;color:#fff;border-color:#fff}
.v9-invit.reduit{display:none}
body .chat-panneau{background:#fff;border:1px solid #d8dde6;border-radius:20px;box-shadow:0 10px 40px rgba(0,0,0,.28);font-family:"Segoe UI","Montserrat",system-ui,sans-serif}
body .chat-tete{background:#fff;color:#111;border-bottom:1px solid #e6eaf0}
body .chat-tete strong{font:600 17px/24px "Segoe UI","Montserrat",system-ui,sans-serif;letter-spacing:0;color:#111}
body .chat-tete small{color:#333}
body .chat-fermer{color:#111;border-radius:50%}
body .chat-fermer:hover{background:#eef1f6}
body .chat-corps{background:#f6f9fc;color:#111}
body .chat-heure{background:#e4f1fb;color:#111}
body .chat-corps .bot{align-self:flex-start;background:#e4f1fb;color:#111;border-radius:16px 16px 16px 4px;padding:11px 14px;max-width:86%;line-height:1.45;font-size:.95rem}
body .chat-corps .bot a{color:#111}
body .chat-corps .bot-note{font-size:.75rem;color:#555}
body .chat-corps .visiteur{align-self:flex-end;background:#fff;color:#111;border:1px solid #cfd6e0;border-radius:16px 16px 4px 16px;padding:10px 14px;max-width:86%;line-height:1.45}
body .chat-choix-btn{background:#fff;color:#111;border:1.5px solid #111}
body .chat-choix-btn:hover{background:#e4f1fb}
body .chat-saisie{border-top:1px solid #e6eaf0;background:#fff}
body .chat-saisie textarea{color:#111}
body .chat-saisie textarea::placeholder{color:#555}
body .chat-envoyer{background:#111;color:#fff}
body .chat-mention,body .chat-mention a,body .chat-rappel-choix{color:#444}
body .chat-choix-btn:focus-visible,body .chat-envoyer:focus-visible,body .chat-fermer:focus-visible,body .chat-saisie textarea:focus-visible{outline:3px solid #1b5fd1;outline-offset:2px}
body .chat-tete strong:focus,body .chat-tete strong:focus-visible{outline:none}
/* le lanceur reste toujours disponible : le repli automatique du moteur (chevauchement d'une commande) ne le rend plus introuvable */
body .chat-bulle.chat-replie{opacity:1;visibility:visible;pointer-events:auto}
@media (max-width:600px){body .chat-bulle{height:52px;padding:0 16px 0 5px;font-size:14px}body .chat-bulle::before{width:42px;height:42px}body.ad main{padding-bottom:84px}
/* défilement : le lanceur se réduit à son rond (accès au chat conservé, nom accessible gardé) pour ne pas masquer les boutons des cartes */
/* barre basse mobile : le chat y devient un bouton (le lanceur flottant ne recouvre plus aucun contenu ; accès manuel conservé) */
html.chat-dans-barre body .chat-bulle{opacity:0;pointer-events:none}
.r9-barre-bas.avec-chat{grid-template-columns:.85fr 1.2fr 1.05fr 1.1fr}.r9-barre-bas.avec-chat a[href^="tel:"]{white-space:nowrap;font-size:13px;padding-left:2px;padding-right:2px}.r9-barre-bas .barre-chat{background:#fff;border-right:0;border-left:1px solid #d8dde6}html.chat-dans-barre .v9-pastille{display:none!important}.r9-barre-bas .barre-chat i{width:24px;height:24px;border-radius:50%;background:url(/assets/photos/salle-de-cours-delta-960.jpg) center/cover;display:block}
html.chat-defile body .chat-bulle{width:52px;padding:0;justify-content:center;gap:0}html.chat-defile body .chat-bulle .lib{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
