.mgc-manie-site{--a:#ad6d36;--ink:#514a43;position:fixed;right:28px;bottom:30px;z-index:999999;font-family:Arial,sans-serif}.mgc-manie-site.mgc-home-hero-hidden{opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease}.mgc-manie-site:not(.mgc-home-hero-hidden){transition:opacity .22s ease,transform .22s ease}
.mgc-manie-site .ms-launch{box-sizing:border-box!important;width:405px!important;height:74px!important;min-height:74px!important;max-height:74px!important;position:relative!important;display:flex!important;align-items:center!important;margin:0!important;padding:0 74px 0 112px!important;overflow:visible!important;border:1px solid #e4b78f!important;border-radius:999px!important;background:linear-gradient(100deg,#efd9c6 0%,#dfb792 100%)!important;box-shadow:0 12px 28px rgba(89,58,38,.16)!important;color:var(--ink)!important;cursor:pointer!important;isolation:isolate!important}
.mgc-manie-site .ms-launch:before,.mgc-manie-site .ms-launch:after{content:none!important;display:none!important}
.mgc-manie-site .ms-launch>.ms-avatar{box-sizing:border-box!important;position:absolute!important;left:-42px!important;top:50%!important;transform:translateY(-50%)!important;width:144px!important;height:126px!important;min-width:144px!important;max-width:144px!important;min-height:126px!important;max-height:126px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;z-index:6!important;pointer-events:none!important}
.mgc-manie-site .ms-launch>.ms-avatar:before,.mgc-manie-site .ms-launch>.ms-avatar:after{content:none!important;display:none!important}
.mgc-manie-site .ms-launch>.ms-avatar img{box-sizing:border-box!important;position:absolute!important;left:4px!important;top:4px!important;width:138px!important;height:118px!important;min-width:138px!important;max-width:138px!important;min-height:118px!important;max-height:118px!important;margin:0!important;padding:0!important;border:0!important;object-fit:contain!important;object-position:center!important;filter:drop-shadow(0 5px 7px rgba(74,48,31,.11))!important}
.mgc-manie-site .ms-launch>.ms-launch-copy{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;height:100%!important;min-width:0!important;margin:0!important;padding:0 8px 0 0!important;position:relative!important;z-index:3!important;text-align:left!important}
.mgc-manie-site .ms-launch>.ms-launch-copy strong{display:block!important;margin:0!important;padding:0!important;white-space:nowrap!important;font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;font-weight:400!important;line-height:1!important;letter-spacing:0!important;color:#9f622f!important}
.mgc-manie-site .ms-launch>.ms-launch-copy small{display:none!important}
.mgc-manie-site .ms-launch>.ms-launch-icon,.mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{box-sizing:border-box!important;position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:50px!important;height:50px!important;min-width:50px!important;max-width:50px!important;min-height:50px!important;max-height:50px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fffaf5!important;box-shadow:0 2px 8px rgba(80,50,30,.08)!important;z-index:5!important;line-height:0!important}
.mgc-manie-site .ms-launch>.ms-launch-icon svg{display:block!important;width:23px!important;height:23px!important;margin:0!important;padding:0!important;fill:none!important;stroke:#ad6d36!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.mgc-manie-site .ms-launch>.ms-launch-icon svg circle{fill:#ad6d36!important;stroke:none!important}

.mgc-manie-site .ms-panel{display:none;position:absolute;right:0;bottom:0;width:366px;height:min(612px,calc(100vh - 30px));background:#fff;border:1px solid #ead7c7;border-radius:15px;box-shadow:0 20px 60px #0002;overflow:hidden;grid-template-rows:auto auto 1fr auto auto auto;font-size:14px!important;line-height:1.4!important}.mgc-manie-site.open .ms-panel{display:grid}.mgc-manie-site.open .ms-launch{display:none!important}.mgc-manie-site .ms-panel header{display:flex;align-items:center;padding:10px 15px;border-bottom:1px solid #ead7c7;min-height:78px}.mgc-manie-site .ms-panel header .ms-avatar{width:94px;height:58px;display:block;position:relative;flex:0 0 94px}.mgc-manie-site .ms-panel header .ms-avatar img{position:absolute;width:84px;height:84px;object-fit:contain;left:0;top:-13px}.mgc-manie-site .ms-panel header>div{padding-left:10px}.mgc-manie-site .ms-panel header strong{display:block;font:26px Georgia,serif;color:var(--a);font-weight:400}.mgc-manie-site .ms-panel header small{color:#777}.mgc-manie-site .ms-close{margin-left:auto;border:0;background:#f7f0e9;border-radius:50%;width:37px;height:37px;font-size:24px;color:#765;cursor:pointer}.mgc-manie-site .ms-context{margin:12px 14px 0;padding:12px;border-radius:10px;background:#faf6f2;color:var(--a);position:relative;z-index:2}.mgc-manie-site .ms-context span{color:#756d65}.mgc-manie-site .ms-messages{overflow:auto;padding:12px 14px;min-height:0;scroll-behavior:smooth;overscroll-behavior:contain;position:relative;z-index:1}.mgc-manie-site .ms-msg{display:flex;flex-direction:column;margin:7px 0}.mgc-manie-site .ms-msg.user{align-items:flex-end}.mgc-manie-site .ms-bubble{max-width:88%;padding:10px 12px;border-radius:12px;background:#f6f1ed;color:#4d4742;line-height:1.45;font-size:14px!important}.mgc-manie-site .user .ms-bubble{background:var(--a);color:#fff}.mgc-manie-site .ms-actions{display:flex;flex-direction:column;gap:6px;margin-top:6px;max-width:88%}.mgc-manie-site .ms-actions button,.mgc-manie-site .ms-suggestions button{background:#fff;border:1px solid #d9b99e;border-radius:999px;padding:8px 10px;color:#76503a;cursor:pointer;text-align:left;font-size:13px!important;line-height:1.25!important}.mgc-manie-site .ms-actions button{border:2px solid #c9956c;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px}.mgc-manie-site .ms-action-mouse{display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;color:#ad6d36}.mgc-manie-site .ms-action-mouse svg{display:block;width:18px;height:18px;fill:currentColor}.mgc-manie-site .ms-suggestions{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}.mgc-manie-site .ms-panel form{margin:0 14px 10px;border:1px solid #c9956c;border-radius:14px;display:flex;padding:6px}.mgc-manie-site .ms-panel textarea{border:0;outline:0;resize:none;flex:1;padding:8px;font:13px Arial;background:transparent;line-height:1.35!important}.mgc-manie-site .ms-panel form button{border:0;border-radius:10px;background:var(--a);color:white;width:48px;font-size:22px}.mgc-manie-site .ms-panel footer{font-size:10px;color:#b09b8b;padding:0 15px 12px;text-align:center}

/* Coches et points de saisie */
.mgc-manie-site .ms-seen{display:inline-block;margin-left:6px;font-size:10px!important;line-height:1;opacity:.88;letter-spacing:-2px!important;white-space:nowrap!important;vertical-align:baseline}.mgc-manie-site .ms-typing-row{flex-direction:row;align-items:center;gap:7px;margin:4px 0 8px}.mgc-manie-site .ms-typing-avatar{display:block;width:34px;height:34px;position:relative;flex:0 0 34px}.mgc-manie-site .ms-typing-avatar>.ms-avatar{width:34px;height:34px;display:block;position:relative}.mgc-manie-site .ms-typing-avatar>.ms-avatar img{position:absolute;width:46px;height:46px;left:-6px;top:-7px;object-fit:contain}.mgc-manie-site .ms-typing{display:flex;align-items:center;gap:5px;padding:11px 13px;border-radius:13px;background:#f6f1ed;min-width:52px}.mgc-manie-site .ms-typing i{display:block;width:7px;height:7px;border-radius:50%;background:#ad6d36;opacity:.38;animation:mgcManieDot 1.15s infinite ease-in-out}.mgc-manie-site .ms-typing i:nth-child(2){animation-delay:.16s}.mgc-manie-site .ms-typing i:nth-child(3){animation-delay:.32s}@keyframes mgcManieDot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}

@media(prefers-reduced-motion:reduce){.mgc-manie-site .ms-typing i{animation:none;opacity:.7}}
@media(max-width:600px){.mgc-manie-site{right:14px;bottom:18px}.mgc-manie-site .ms-launch{width:min(340px,calc(100vw - 28px))!important;height:64px!important;min-height:64px!important;max-height:64px!important;padding-left:96px!important;padding-right:60px!important}.mgc-manie-site .ms-launch>.ms-avatar{left:-30px!important;width:122px!important;height:108px!important;min-width:122px!important;max-width:122px!important;min-height:108px!important;max-height:108px!important}.mgc-manie-site .ms-launch>.ms-avatar img{left:3px!important;top:4px!important;width:116px!important;height:100px!important;min-width:116px!important;max-width:116px!important;min-height:100px!important;max-height:100px!important}.mgc-manie-site .ms-launch>.ms-launch-copy strong{font-size:16px!important}.mgc-manie-site .ms-launch>.ms-launch-icon,.mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;right:10px!important}.mgc-manie-site .ms-panel{width:calc(100vw - 24px);height:calc(100vh - 24px)}}

/* ==========================================================
   V134 - Lanceur ferme cale sur la maquette validee
   Geometrie cible : Manie largement hors pilule a gauche,
   texte centre dans la zone libre, icone ronde separee.
   ========================================================== */
@media (min-width:601px){
  .mgc-manie-site{right:34px!important;bottom:48px!important;}
  .mgc-manie-site .ms-launch{
    width:430px!important;
    height:84px!important;
    min-width:430px!important;
    max-width:430px!important;
    min-height:84px!important;
    max-height:84px!important;
    padding:0 82px 0 132px!important;
    overflow:visible!important;
    border:1px solid #e4b78f!important;
    border-radius:999px!important;
    background:linear-gradient(100deg,#f0dcc9 0%,#e2bb97 100%)!important;
    box-shadow:0 14px 34px rgba(89,58,38,.18)!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar{
    left:-96px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:174px!important;
    height:154px!important;
    min-width:174px!important;
    max-width:174px!important;
    min-height:154px!important;
    max-height:154px!important;
    z-index:10!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar img{
    left:0!important;
    top:0!important;
    width:174px!important;
    height:154px!important;
    min-width:174px!important;
    max-width:174px!important;
    min-height:154px!important;
    max-height:154px!important;
    object-fit:contain!important;
    object-position:center!important;
    filter:drop-shadow(0 6px 9px rgba(74,48,31,.12))!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-copy{
    height:84px!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    overflow:visible!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:20px!important;
    line-height:1!important;
    font-weight:400!important;
    white-space:nowrap!important;
    color:#9f622f!important;
    transform:translateY(1px)!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon,
  .mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{
    right:13px!important;
    width:58px!important;
    height:58px!important;
    min-width:58px!important;
    max-width:58px!important;
    min-height:58px!important;
    max-height:58px!important;
    border-radius:50%!important;
    background:#fffaf5!important;
    box-shadow:0 3px 10px rgba(80,50,30,.08)!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon svg{
    width:27px!important;
    height:27px!important;
  }
}

/* V135 - proportions finales du lanceur ferme */
@media (min-width:601px){
  .mgc-manie-site{right:28px!important;bottom:34px!important;}
  .mgc-manie-site .ms-launch{
    width:350px!important;min-width:350px!important;max-width:350px!important;
    height:66px!important;min-height:66px!important;max-height:66px!important;
    padding:0 66px 0 100px!important;
    border-radius:999px!important;
    overflow:visible!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar{
    left:-50px!important;top:50%!important;transform:translateY(-50%)!important;
    width:126px!important;height:112px!important;
    min-width:126px!important;max-width:126px!important;min-height:112px!important;max-height:112px!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar img{
    left:0!important;top:0!important;width:126px!important;height:112px!important;
    min-width:126px!important;max-width:126px!important;min-height:112px!important;max-height:112px!important;
    object-fit:contain!important;object-position:center!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-copy{height:66px!important;padding:0!important;align-items:center!important;}
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    font-size:17px!important;line-height:1!important;white-space:nowrap!important;transform:none!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon,
  .mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{
    right:10px!important;width:46px!important;height:46px!important;
    min-width:46px!important;max-width:46px!important;min-height:46px!important;max-height:46px!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon svg{width:22px!important;height:22px!important;}
}

/* V136 - lanceur ferme: geometrie de la maquette de reference */
@media (min-width:601px){
  .mgc-manie-site{right:28px!important;bottom:30px!important;}
  .mgc-manie-site .ms-launch{
    width:320px!important;min-width:320px!important;max-width:320px!important;
    height:60px!important;min-height:60px!important;max-height:60px!important;
    padding:0 60px 0 88px!important;
    overflow:visible!important;
    border-radius:999px!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar{
    left:-54px!important;
    top:auto!important;
    bottom:0!important;
    transform:none!important;
    width:122px!important;height:108px!important;
    min-width:122px!important;max-width:122px!important;
    min-height:108px!important;max-height:108px!important;
    overflow:visible!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar img{
    left:0!important;top:0!important;
    width:122px!important;height:108px!important;
    min-width:122px!important;max-width:122px!important;
    min-height:108px!important;max-height:108px!important;
    object-fit:contain!important;object-position:center bottom!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-copy{
    height:60px!important;padding:0!important;align-items:center!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    font-size:16px!important;line-height:1!important;white-space:nowrap!important;transform:none!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon,
  .mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{
    right:9px!important;width:42px!important;height:42px!important;
    min-width:42px!important;max-width:42px!important;min-height:42px!important;max-height:42px!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon svg{width:20px!important;height:20px!important;}
}

/* V137 - finitions visuelles du lanceur ferme */
@media (min-width:601px){
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    color:#fff!important;
    font-size:17px!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon,
  .mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon svg{
    width:23px!important;
    height:23px!important;
    display:block!important;
    margin:0!important;
    transform:none!important;
  }
}

/* V138 - finitions definitives lanceur ferme */
@media (min-width:601px){
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    color:#a95f2a!important;
    font-size:17px!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon,
  .mgc-manie-site .ms-launch>span.ms-launch-icon:last-child{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .mgc-manie-site .ms-launch>.ms-launch-icon svg{
    width:23px!important;height:23px!important;
    display:block!important;margin:0!important;transform:none!important;
  }
}

/* V140 - finitions demandees sans modifier le design valide */
@media (min-width:601px){
  .mgc-manie-site .ms-launch>.ms-launch-copy strong{
    color:#87471f!important;
    font-size:18px!important;
    font-weight:500!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar{
    animation:none!important;
    transform:none!important;
  }
  .mgc-manie-site .ms-launch>.ms-avatar img{
    opacity:1!important;
    animation:none;
    transform:translateY(0);
    will-change:transform;
  }
  .mgc-manie-site.mgc-manie-nudge:not(.open) .ms-launch>.ms-avatar img{
    animation:mgcManieNudge .82s cubic-bezier(.25,.75,.35,1) 1!important;
  }
}
@keyframes mgcManieNudge{
  0%,100%{transform:translateY(0)}
  24%{transform:translateY(-5px)}
  46%{transform:translateY(0)}
  66%{transform:translateY(-3px)}
  84%{transform:translateY(0)}
}
@media (prefers-reduced-motion:reduce){
  .mgc-manie-site .ms-launch>.ms-avatar img{animation:none!important;transform:none!important}
}

.mgc-manie-site .ms-seen{display:none!important}


/* V143 - finitions chat ouvert : CTA produit et bouton d'envoi */
.mgc-manie-site .ms-actions button{
  justify-content:flex-start!important;
  gap:7px!important;
  border-width:2px!important;
  border-color:#b86f35!important;
  font-weight:600!important;
}
.mgc-manie-site .ms-action-mouse{
  flex:0 0 20px!important;
  width:20px!important;
  height:20px!important;
  color:#a95f2a!important;
  margin-left:1px!important;
}
.mgc-manie-site .ms-action-mouse svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mgc-manie-site .ms-panel form .ms-send{
  box-sizing:border-box!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  padding:0!important;
  border:1.5px solid #ad6d36!important;
  border-radius:11px!important;
  background:transparent!important;
  color:#ad6d36!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}
.mgc-manie-site .ms-panel form .ms-send svg{
  width:26px!important;
  height:26px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.45!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.mgc-manie-site .ms-panel form .ms-send:hover{background:#fbf5ef!important;}


/* V144 - finitions chat ouvert : libellé naturel, curseur épuré, formulaire recentré */
.mgc-manie-site .ms-panel form{
  width:auto!important;
  max-width:calc(100% - 28px)!important;
  box-sizing:border-box!important;
  align-self:stretch!important;
}
.mgc-manie-site .ms-action-mouse{
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  margin-left:2px!important;
}
.mgc-manie-site .ms-action-mouse svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}


/* V145 - chat ouvert : zone de saisie compacte, suggestions plus discrètes, footer retire */
.mgc-manie-site .ms-panel form{
  width:calc(100% - 56px)!important;
  max-width:none!important;
  margin:0 auto 10px!important;
  align-self:center!important;
  box-sizing:border-box!important;
}
.mgc-manie-site .ms-suggestions{
  gap:5px!important;
  padding:0 18px 8px!important;
}
.mgc-manie-site .ms-suggestions button{
  padding:6px 9px!important;
  font-size:11.5px!important;
  line-height:1.2!important;
}

/* V146 - zone de saisie plus large, plus fine et centrage vertical corrige */
.mgc-manie-site .ms-panel form{
  width:calc(100% - 28px)!important;
  max-width:none!important;
  margin:0 14px 10px!important;
  padding:3px 5px!important;
  min-height:0!important;
  align-items:center!important;
  box-sizing:border-box!important;
}
.mgc-manie-site .ms-panel textarea{
  min-height:38px!important;
  height:38px!important;
  padding:0 9px!important;
  margin:0!important;
  line-height:38px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  align-self:center!important;
}
.mgc-manie-site .ms-panel form .ms-send{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  margin:0!important;
  align-self:center!important;
}

/* V147 - derniers ajustements chat ouvert : respiration saisie + contexte sur une ligne */
.mgc-manie-site .ms-panel form{
  margin:6px 14px 10px!important;
}
.mgc-manie-site .ms-context{
  font-size:11.5px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  padding:11px 10px!important;
}

/* V148 - harmonisation des marges du chat ouvert */
.mgc-manie-site .ms-context{
  margin:12px 14px 6px!important;
}
.mgc-manie-site .ms-suggestions{
  padding:5px 18px 8px!important;
}
.mgc-manie-site .ms-panel form{
  margin:3px 14px 10px!important;
}

/* V149 - micro-interactions discrètes sur les boutons cliquables de Manie */
.mgc-manie-site .ms-actions button,
.mgc-manie-site .ms-suggestions button,
.mgc-manie-site .ms-close,
.mgc-manie-site .ms-panel form .ms-send{
  transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease!important;
}

.mgc-manie-site .ms-actions button:hover,
.mgc-manie-site .ms-suggestions button:hover{
  transform:translateY(-1px)!important;
  background:#fbf5ef!important;
  border-color:#ad6d36!important;
  box-shadow:0 4px 12px rgba(173,109,54,.14)!important;
}

.mgc-manie-site .ms-actions button:hover .ms-action-mouse{
  transform:translate(1px,-1px)!important;
}
.mgc-manie-site .ms-action-mouse{
  transition:transform .16s ease!important;
}

.mgc-manie-site .ms-close:hover{
  transform:translateY(-1px) scale(1.03)!important;
  background:#f1e6dc!important;
}

.mgc-manie-site .ms-panel form .ms-send:hover{
  transform:translateY(-1px)!important;
  background:#fbf5ef!important;
  box-shadow:0 3px 10px rgba(173,109,54,.12)!important;
}

@media (prefers-reduced-motion:reduce){
  .mgc-manie-site .ms-actions button,
  .mgc-manie-site .ms-suggestions button,
  .mgc-manie-site .ms-close,
  .mgc-manie-site .ms-panel form .ms-send,
  .mgc-manie-site .ms-action-mouse{
    transition:none!important;
    transform:none!important;
  }
}

/* V153 - configurateur : petite marge de securite a droite du chat */
body:has(.mgc-shell) .mgc-manie-site{
  right:34px!important;
}
@media(max-width:600px){
  body:has(.mgc-shell) .mgc-manie-site{
    right:14px!important;
  }
}

/* V170 - Mobile : lanceur ferme plus compact et centre */
@media (max-width:600px){
  .mgc-manie-site:not(.open){
    left:50%!important;
    right:auto!important;
    bottom:14px!important;
    transform:translateX(-50%)!important;
    width:min(300px,calc(100vw - 48px))!important;
    overflow:visible!important;
  }
  .mgc-manie-site:not(.open) .ms-launch{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:54px!important;
    min-height:54px!important;
    max-height:54px!important;
    padding:0 50px 0 72px!important;
    border-radius:999px!important;
    overflow:visible!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar{
    left:-20px!important;
    top:auto!important;
    bottom:0!important;
    transform:none!important;
    width:96px!important;
    height:86px!important;
    min-width:96px!important;
    max-width:96px!important;
    min-height:86px!important;
    max-height:86px!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar img{
    left:0!important;
    top:0!important;
    width:96px!important;
    height:86px!important;
    min-width:96px!important;
    max-width:96px!important;
    min-height:86px!important;
    max-height:86px!important;
    object-position:center bottom!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy{
    height:54px!important;
    padding:0!important;
    align-items:center!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy strong{
    font-size:15px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon,
  .mgc-manie-site:not(.open) .ms-launch>span.ms-launch-icon:last-child{
    display:flex!important;
    right:8px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    min-height:38px!important;
    max-height:38px!important;
  }
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon svg{
    width:20px!important;
    height:20px!important;
  }
}

/* V172 - Mobile : centrage du libelle du lanceur ferme */
@media (max-width:600px){
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy{
    position:absolute!important;
    left:72px!important;
    right:50px!important;
    top:0!important;
    width:auto!important;
    justify-content:center!important;
    text-align:center!important;
  }
}

/* V173 - Lanceur ferme encore plus compact, site + mobile */
@media (min-width:601px){
  .mgc-manie-site:not(.open) .ms-launch{width:300px!important;min-width:300px!important;max-width:300px!important;height:54px!important;min-height:54px!important;max-height:54px!important;padding:0 54px 0 82px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar{left:-44px!important;width:108px!important;height:96px!important;min-width:108px!important;max-width:108px!important;min-height:96px!important;max-height:96px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar img{left:0!important;top:0!important;width:108px!important;height:96px!important;min-width:108px!important;max-width:108px!important;min-height:96px!important;max-height:96px!important;object-position:center bottom!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy{height:54px!important;padding:0!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy strong{font-size:16px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon,.mgc-manie-site:not(.open) .ms-launch>span.ms-launch-icon:last-child{right:8px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;min-height:38px!important;max-height:38px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon svg{width:20px!important;height:20px!important;}
}
@media (max-width:600px){
  .mgc-manie-site:not(.open){width:min(270px,calc(100vw - 56px))!important;}
  .mgc-manie-site:not(.open) .ms-launch{height:48px!important;min-height:48px!important;max-height:48px!important;padding:0 44px 0 64px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar{left:-16px!important;width:86px!important;height:77px!important;min-width:86px!important;max-width:86px!important;min-height:77px!important;max-height:77px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-avatar img{width:86px!important;height:77px!important;min-width:86px!important;max-width:86px!important;min-height:77px!important;max-height:77px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy{left:64px!important;right:44px!important;height:48px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-copy strong{font-size:14px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon,.mgc-manie-site:not(.open) .ms-launch>span.ms-launch-icon:last-child{right:7px!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;min-height:34px!important;max-height:34px!important;}
  .mgc-manie-site:not(.open) .ms-launch>.ms-launch-icon svg{width:18px!important;height:18px!important;}
}

/* ==========================================================
   V186 - MOBILE : panneau ouvert compact et toujours entierement visible
   Utilise le viewport visuel mobile (dvh) afin de tenir compte des barres
   Safari/Chrome. Le desktop et le lanceur ferme restent inchanges.
   ========================================================== */
@media (max-width:600px){
  .mgc-manie-site.open .ms-panel{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    width:min(340px,calc(100vw - 36px))!important;
    max-width:calc(100vw - 36px)!important;
    height:min(620px,calc(100dvh - 32px))!important;
    max-height:calc(100dvh - 32px)!important;
    border-radius:15px!important;
  }
  .mgc-manie-site .ms-panel header{min-height:64px!important;padding:7px 12px!important;}
  .mgc-manie-site .ms-panel header .ms-avatar{width:76px!important;height:50px!important;flex-basis:76px!important;}
  .mgc-manie-site .ms-panel header .ms-avatar img{width:72px!important;height:72px!important;top:-11px!important;}
  .mgc-manie-site .ms-panel header>div{padding-left:6px!important;}
  .mgc-manie-site .ms-panel header strong{font-size:23px!important;}
  .mgc-manie-site .ms-close{width:34px!important;height:34px!important;min-width:34px!important;}
  .mgc-manie-site .ms-context{margin:8px 10px 4px!important;padding:9px 8px!important;font-size:11px!important;}
  .mgc-manie-site .ms-messages{padding:8px 10px!important;}
  .mgc-manie-site .ms-suggestions{padding:4px 12px 6px!important;}
  .mgc-manie-site .ms-panel form{width:calc(100% - 20px)!important;margin:3px 10px 8px!important;}
}
