/* Widget de chat - hérite des tokens du site via .sgl (voir class-render::tokens). */
/* `--sgl-chat-bottom` est pose par le script quand un element fixe (barre de
   consentement aux temoins, bouton d'appel) recouvre le lanceur. Chaque regle
   garde sa propre valeur par defaut, pour que le telephone conserve la sienne. */
.sgl-chat { position: fixed; right: 20px; bottom: var(--sgl-chat-bottom, 20px); z-index: 99999; }

.sgl-chat-bubble {
  display: flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer;
  background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff);
  font-family: var(--sgl-font-body, inherit); font-size: 15px; font-weight: 600;
  padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sgl-chat-bubble:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.sgl-chat-bubble svg { width: 20px; height: 20px; }

.sgl-chat-panel {
  position: fixed; right: 20px; bottom: var(--sgl-chat-bottom, 20px);
  /* `--sgl-chat-reserve` : hauteur d'un element fixe qui recouvre le bas du
     panneau et qu'on ne peut pas contourner en deplacant celui-ci (ecran court,
     plein ecran du telephone). La zone de saisie remonte au-dessus. */
  padding-bottom: var(--sgl-chat-reserve, 0px);
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 40px));
  display: none; flex-direction: column;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  font-family: var(--sgl-font-body, inherit);
}
.sgl-chat.is-open .sgl-chat-panel { display: flex; }
.sgl-chat.is-open .sgl-chat-bubble { display: none; }

.sgl-chat-head {
  display: flex; align-items: center; gap: 10px;
  background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff); padding: 14px 16px;
}
.sgl-chat-head .sgl-chat-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.sgl-chat-head .sgl-chat-title { font-weight: 700; line-height: 1.1; }
.sgl-chat-head .sgl-chat-sub { font-size: 12px; opacity: .9; }
.sgl-chat-close { margin-left: auto; background: transparent; border: 0; color: #fff; font-size: 24px; cursor: pointer; line-height: 1; }

.sgl-chat-log { flex: 1; overflow-y: auto; padding: 16px; background: #f7f7f8; display: flex; flex-direction: column; gap: 10px; }
.sgl-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.sgl-msg-user { align-self: flex-end; background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff); border-bottom-right-radius: 4px; }
.sgl-msg-bot { align-self: flex-start; background: #fff; color: #1f2937; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; }

.sgl-chat-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 92%; }
.sgl-chip-btn {
  border: 1px solid var(--sgl-color-accent, #333); color: var(--sgl-color-accent, #333);
  background: #fff; border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer;
}
.sgl-chip-btn:hover { background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff); }
.sgl-card-note { align-self: flex-start; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; border-radius: 10px; padding: 8px 12px; font-size: 13px; max-width: 92%; }

.sgl-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; }
.sgl-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; animation: sgl-bounce 1.2s infinite ease-in-out; }
.sgl-typing span:nth-child(2) { animation-delay: .15s; }
.sgl-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sgl-bounce { 0%,80%,100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-5px); opacity: 1; } }

.sgl-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid #e5e7eb; background: #fff; }
.sgl-chat-form textarea {
  flex: 1; resize: none; border: 1px solid #d1d5db; border-radius: 10px; padding: 11px 12px;
  font-family: inherit; font-size: 14px; height: 44px; min-height: 44px; max-height: 168px; line-height: 1.35;
  box-sizing: border-box;
}
.sgl-chat-form textarea:focus { outline: 2px solid var(--sgl-color-accent, #333); outline-offset: 0; border-color: transparent; }
.sgl-chat-send {
  border: 0; background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff); border-radius: 10px;
  width: 44px; height: 44px; flex: 0 0 44px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.sgl-chat-send:disabled { opacity: .5; cursor: default; }

/* Rendu Markdown des messages de Julie */
.sgl-msg-bot p { margin: 0 0 6px; }
.sgl-msg-bot p:last-child { margin-bottom: 0; }
.sgl-msg-bot ul { margin: 6px 0; padding-left: 18px; }
.sgl-msg-bot li { margin: 2px 0; }
.sgl-msg-bot a { color: var(--sgl-color-accent, #333); }

/* Réinitialise le chrome des boutons du thème à l'intérieur du widget */
.sgl-chat .sgl-quick-btn, .sgl-chat .sgl-slot-btn {
  box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
  font-weight: 400; margin: 0; width: auto; min-height: 0; text-decoration: none !important;
}

/* Suggestions rapides */
.sgl-quick { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 94%; }
.sgl-chat .sgl-quick-btn {
  border: 1px solid color-mix(in srgb, var(--sgl-color-accent, #333) 45%, #d1d5db) !important;
  color: var(--sgl-color-accent, #333) !important; background: #fff !important;
  border-radius: 999px !important; padding: 7px 12px; font-size: 13px; cursor: pointer; transition: background .12s, color .12s;
}
.sgl-chat .sgl-quick-btn:hover { background: var(--sgl-color-accent, #333) !important; color: #fff !important; }

/* Cartes de créneaux */
.sgl-slots { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 96%; }
.sgl-chat .sgl-slot-btn {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px;
  border: 1px solid #d7dbe0 !important; border-radius: 12px !important; padding: 8px 13px;
  background: #fff !important; color: var(--sgl-color-heading, #111827) !important;
  cursor: pointer; line-height: 1.2; transition: border-color .12s, background .12s, transform .08s;
}
.sgl-chat .sgl-slot-btn:hover { border-color: var(--sgl-color-accent, #333) !important; transform: translateY(-1px); }
.sgl-chat .sgl-slot-btn:disabled { cursor: default; opacity: .55; transform: none; }
.sgl-chat .sgl-slot-btn.is-selected { border-color: var(--sgl-color-accent, #333) !important; background: color-mix(in srgb, var(--sgl-color-accent, #333) 12%, #fff) !important; opacity: 1; }
.sgl-slot-day { font-size: 12px; color: #6b7280; text-transform: capitalize; }
.sgl-slot-time { font-weight: 700; color: var(--sgl-color-heading, #111827); }

/* Animation d'ouverture + point « en ligne » */
.sgl-chat.is-open .sgl-chat-panel { animation: sgl-pop .2s cubic-bezier(.2,.8,.2,1); }
@keyframes sgl-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sgl-chat-avatar { position: relative; }
.sgl-chat-avatar::after {
  content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px;
  background: #34d399; border: 2px solid var(--sgl-color-accent, #333); border-radius: 50%;
}

/* Effet « réponse en direct » : préserve les sauts de ligne pendant l'écriture + curseur clignotant */
.sgl-msg-bot.sgl-typing-live { white-space: pre-wrap; }
.sgl-msg-bot.sgl-typing-live::after {
  content: '▋'; margin-left: 1px; opacity: .55;
  animation: sgl-caret 1s steps(1) infinite;
}
@keyframes sgl-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sgl-msg-bot.sgl-typing-live::after { animation: none; } }

/* Pied du panneau : demander un humain à tout moment */
.sgl-chat-foot { text-align: center; padding: 4px 12px 10px; }
.sgl-chat-human { background: none !important; border: 0 !important; box-shadow: none !important; padding: 2px 6px; font-size: .8rem; color: var(--sgl-color-accent, #333) !important; text-decoration: underline; cursor: pointer; text-transform: none; letter-spacing: normal; }
.sgl-chat-human:hover { opacity: .8; }

/* Pièce jointe (photo) */
.sgl-chat-attach { background: none !important; border: 0 !important; box-shadow: none !important; font-size: 1.15rem; cursor: pointer; padding: 0 6px; line-height: 1; color: inherit !important; }
.sgl-msg-photo { padding: 4px !important; max-width: 60%; }
.sgl-msg-photo img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; }


/* ---- Robustesse face aux styles globaux du thème (button/textarea/a) : tailles explicites, spécificité renforcée ---- */
.sgl.sgl-chat .sgl-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; margin: 0; }
.sgl.sgl-chat .sgl-chat-form textarea {
  flex: 1 1 auto; min-width: 0; width: auto; max-width: none; margin: 0;
  height: 44px; min-height: 44px; max-height: 168px; padding: 11px 12px; line-height: 20px; font-size: 15px;
  border: 1px solid #d1d5db; border-radius: 12px; background: #fff; color: #1f2937; box-shadow: none; overflow-y: auto; resize: none;
}
.sgl.sgl-chat .sgl-chat-form textarea:focus { outline: none; border-color: var(--sgl-color-accent, #333); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sgl-color-accent, #333) 18%, transparent); }
.sgl.sgl-chat .sgl-chat-attach, .sgl.sgl-chat .sgl-chat-send {
  flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; max-width: 44px; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; line-height: 1; font-size: 18px;
  box-shadow: none; text-transform: none; letter-spacing: 0;
}
.sgl.sgl-chat .sgl-chat-attach { background: #f3f4f6; border: 1px solid #e5e7eb; color: #4b5563; }
.sgl.sgl-chat .sgl-chat-attach:hover { background: #e5e7eb; }
.sgl.sgl-chat .sgl-chat-send { background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff); border: 0; font-weight: 700; }
.sgl.sgl-chat .sgl-chat-send:disabled { opacity: .5; }
.sgl.sgl-chat .sgl-chat-close { width: 32px; height: 32px; min-width: 32px; padding: 0; margin: 0 0 0 auto; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; }
.sgl.sgl-chat .sgl-chat-close:hover { background: rgba(255,255,255,.3); }
.sgl.sgl-chat .sgl-chip-btn { padding: 7px 12px; min-width: 0; width: auto; height: auto; line-height: 1.3; box-shadow: none; text-transform: none; letter-spacing: 0; font-weight: 500; }
.sgl.sgl-chat .sgl-chat-foot { padding: 6px 12px 10px; text-align: center; background: #fff; }
.sgl.sgl-chat .sgl-chat-human { background: transparent; border: 0; padding: 4px 8px; margin: 0; width: auto; min-width: 0; height: auto; color: var(--sgl-color-accent, #333); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; cursor: pointer; text-transform: none; letter-spacing: 0; }
/* Point 25 du client : « le bouton pour faire un appel est bizarre (bleu) ».
   `.elementor-kit-50 button` (fond bleu marine du theme, coins carres, padding
   10/50) battait `.sgl-chat-bubble` en specificite : le lanceur sortait bleu et
   trop large. On reprend l'accent du site avec la specificite du theme. */
.sgl.sgl-chat .sgl-chat-bubble {
  width: auto; height: auto; min-width: 0;
  background: var(--sgl-color-accent, #333); color: var(--sgl-on-accent, #fff);
  padding: 12px 18px; border-radius: 999px; border: 0;
  text-transform: none; letter-spacing: 0;
  /* 2 dec. 2026 : le theme impose line-height/margins aux span et svg des boutons, l icone
     et le texte n etaient plus centres (vu sur votreallie.com) */
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1; margin: 0;
}
.sgl.sgl-chat .sgl-chat-bubble span { display: inline-block; line-height: 1; margin: 0; padding: 0; vertical-align: middle; }
.sgl.sgl-chat .sgl-chat-bubble svg { display: block; flex: 0 0 auto; margin: 0; }
.sgl.sgl-chat .sgl-msg { font-size: 15px; line-height: 1.5; }
/* Panneau : plus généreux sur grand écran, plein écran sur téléphone */
.sgl.sgl-chat .sgl-chat-panel { width: min(420px, calc(100vw - 32px)); height: min(680px, calc(100vh - 40px)); }
@media (max-width: 600px) {
  /* Point 27 : sur iOS le clavier ne retaille pas la fenetre, `100dvh` reste
     la hauteur pleine et le champ de saisie se retrouve sous le clavier. Le
     script recopie la zone reellement visible dans --sgl-vv-h / --sgl-vv-top ;
     les valeurs par defaut gardent le comportement actuel partout ailleurs. */
  .sgl.sgl-chat .sgl-chat-panel {
    right: 0; left: 0; width: 100vw;
    top: var(--sgl-vv-top, 0px);
    bottom: auto;
    height: var(--sgl-vv-h, 100dvh);
    max-height: none; border-radius: 0;
  }
  .sgl.sgl-chat .sgl-chat-head { padding: 12px 14px; }
  .sgl.sgl-chat .sgl-msg { max-width: 88%; }
}

/* Cohabitation avec les boutons « appel » des thèmes (Call Now Button, etc.) sur téléphone :
   bulle remontée, et bouton d'appel masqué pendant que le chat est ouvert en plein écran. */
@media (max-width: 600px) {
  .sgl.sgl-chat { bottom: var(--sgl-chat-bottom, 86px); right: 14px; }
  .sgl.sgl-chat .sgl-chat-panel { z-index: 100000; }
  /* Point 25 : « le bouton nous joindre flotte et prend beaucoup de place
     (cache l'information) ». Sur telephone le libelle part : il reste une
     pastille ronde de 52 px, qui recouvre neuf fois moins de page. Le libelle
     reste dans aria-label pour les lecteurs d'ecran. */
  .sgl.sgl-chat .sgl-chat-bubble {
    width: 52px; height: 52px; padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; gap: 0;
  }
  .sgl.sgl-chat .sgl-chat-bubble span { display: none; }
  .sgl.sgl-chat .sgl-chat-bubble svg { width: 24px; height: 24px; }
}
body:has(.sgl.sgl-chat.is-open) #callnowbutton,
body:has(.sgl.sgl-chat.is-open) .call-now-button,
body:has(.sgl.sgl-chat.is-open) [class*="callnowbutton"] { display: none !important; }
/* Meme raison pour la pastille CookieYes : son z-index de 999999 la posait
   par-dessus le panneau plein ecran, juste sur le trombone des photos. */
body:has(.sgl.sgl-chat.is-open) .cky-btn-revisit-wrapper { display: none !important; }

/* Point 27, deuxieme moitie : quand on arrive au bout de la conversation, le
   defilement continuait sur la page derriere le panneau. Sur iOS c'est ce qui
   donne l'impression que tout saute pendant qu'on ecrit. */
.sgl.sgl-chat .sgl-chat-panel,
.sgl.sgl-chat .sgl-chat-body { overscroll-behavior: contain; }

/* FRM-03 / Loi 25 : case de consentement avant le premier message */
.sgl.sgl-chat .sgl-chat-consent { padding: 8px 12px; background: #f8fafc; border-top: 1px solid #e5e7eb; font-size: 12px; line-height: 1.4; color: #374151; }
.sgl.sgl-chat .sgl-chat-consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; margin: 0; }
.sgl.sgl-chat .sgl-chat-consent input { margin: 2px 0 0; flex: none; width: 16px; height: 16px; accent-color: var(--sgl-accent, #0ea5e9); }
.sgl.sgl-chat .sgl-chat-consent a { color: inherit; text-decoration: underline; }
.sgl.sgl-chat.sgl-need-consent .sgl-chat-consent { background: #fff7ed; border-top-color: #fdba74; animation: sgl-consent-pulse .6s ease; }
@keyframes sgl-consent-pulse { 0% { box-shadow: inset 0 0 0 2px #fb923c; } 100% { box-shadow: none; } }

/* Region lue par les lecteurs d'ecran, invisible a l'oeil. Pas `display:none`
   ni `visibility:hidden` : les deux la retireraient aussi de la restitution
   vocale, ce qui annulerait son seul role. */
.sgl-chat-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Apercu d'une photo que le serveur a refusee. Elle reste visible, pour que le
   visiteur sache de laquelle on parle, mais elle ne doit pas avoir l'air partie. */
.sgl-chat .sgl-msg-echec { opacity: .55; outline: 1px dashed currentColor; outline-offset: 2px; }

/* Point 12 du client : l'avis de validation sous la conversation. Il doit se lire
   sans voler de la place au champ de saisie, donc petit et sur deux lignes au plus. */
.sgl-chat-avis { margin: .45rem 0 0; font-size: .68rem; line-height: 1.4; color: #6b7280; text-align: left; }

/* ---------------------------- bouton de dictee ----------------------------
   Il vit a cote de « joindre » et « envoyer » : meme carre de 44, meme rayon,
   meme gris. Au repos c'est un micro sobre. Pendant qu'on le tient, il devient
   rouge plein et une onde part du bouton : on doit voir d'un coup d'oeil que le
   micro ecoute, sans lire une etiquette. */
/* Au repos il est nu, comme le trombone : la barre reste legere et c'est le
   bouton d'envoi, seul rempli, qui attire l'oeil. Le cadre n'apparait que
   pendant l'ecoute, ou il doit justement se voir. */
.sgl.sgl-chat .sgl-chat-mic {
  flex: 0 0 34px; width: 34px; height: 44px; min-width: 34px; max-width: 34px;
  padding: 0; margin: 0; position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 12px; color: #4b5563;
  cursor: pointer; box-shadow: none; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.sgl.sgl-chat .sgl-chat-mic:hover { background: #f3f4f6; color: #1f2937; }
.sgl.sgl-chat .sgl-chat-mic:focus-visible { outline: 2px solid var(--sgl-color-accent, #333); outline-offset: 2px; }
.sgl-chat-mic-ico { display: block; pointer-events: none; }
/* Ma regle display bat la feuille du navigateur : sans ceci, un bouton
   marque hidden (navigateur sans micro, page en http) restait visible et
   cliquable, pour ne rien faire d'autre qu'afficher un message d'echec. */
.sgl.sgl-chat .sgl-chat-mic[hidden] { display: none !important; }

/* Etat d'ecoute : plein rouge, icone blanche, et le bouton s'enfonce legerement
   comme un bouton qu'on tient vraiment. */
.sgl.sgl-chat .sgl-chat-mic--on { background: #c0392b; color: #fff; transform: scale(.96); }
.sgl.sgl-chat .sgl-chat-mic--on:hover { background: #a93226; color: #fff; }

/* L'onde : un anneau qui s'ecarte du bouton tant qu'on enregistre. */
.sgl-chat-mic-onde { position: absolute; inset: 0; border-radius: 12px; pointer-events: none; }
.sgl-chat-mic--on .sgl-chat-mic-onde::before,
.sgl-chat-mic--on .sgl-chat-mic-onde::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px;
  border: 2px solid rgba(192, 57, 43, .55); animation: sgl-mic-onde 1.6s ease-out infinite;
}
.sgl-chat-mic--on .sgl-chat-mic-onde::after { animation-delay: .8s; }
@keyframes sgl-mic-onde {
  0%   { transform: scale(1);    opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Un visiteur qui a demande moins d'animation garde quand meme le signal : le
   rouge suffit, l'onde disparait. */
@media (prefers-reduced-motion: reduce) {
  .sgl.sgl-chat .sgl-chat-mic { transition: none; }
  .sgl.sgl-chat .sgl-chat-mic--on { transform: none; }
  .sgl-chat-mic--on .sgl-chat-mic-onde::before,
  .sgl-chat-mic--on .sgl-chat-mic-onde::after { animation: none; opacity: 0; }
}

/* Pendant la transcription, la zone de saisie est desactivee : on le montre. */
.sgl.sgl-chat .sgl-chat-form textarea:disabled { background: #f9fafb; color: #6b7280; cursor: progress; }

/* Le trombone suit le micro : dessine, pas un emoji, pour que les deux boutons
   du formulaire aient le meme trait et la meme couleur. */
.sgl.sgl-chat .sgl-chat-attach { display: inline-flex; align-items: center; justify-content: center; }
.sgl-chat-attach-ico { display: block; pointer-events: none; }

/* Sur un petit telephone, la barre porte quatre elements : deux icones, la zone
   de saisie et l'envoi. En ajoutant le micro, la zone est descendue a 150 px et
   le texte d'invite se coupait en deux lignes dans une hauteur qui n'en montre
   qu'une. On resserre les ecarts et on garde l'invite sur une seule ligne. */
.sgl.sgl-chat .sgl-chat-form textarea::placeholder {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 420px) {
  .sgl.sgl-chat .sgl-chat-form { gap: 4px; padding: 10px 8px; }
  .sgl.sgl-chat .sgl-chat-mic,
  .sgl.sgl-chat .sgl-chat-attach { flex-basis: 30px; width: 30px; min-width: 30px; max-width: 30px; }
  .sgl.sgl-chat .sgl-chat-form textarea { padding-left: 10px; padding-right: 10px; font-size: 16px; }
}

/* Bouton « Nouvelle conversation » (1er decembre 2026) : meme pastille que la fermeture, a sa gauche. */
.sgl.sgl-chat .sgl-chat-reset { width: 32px; height: 32px; min-width: 32px; padding: 0; margin: 0 6px 0 auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: none; }
.sgl.sgl-chat .sgl-chat-reset + .sgl-chat-close { margin-left: 0; }
