/* Pasivite 2.8.14 — contrôle du bouton d'aide flottant. Complément uniquement. */
.psv-chatbot{
  --psv-chat-safe: 12px;
}
.psv-chatbot.psv-chatbot-positioned{
  position:fixed !important;
  left:var(--psv-chat-left) !important;
  top:var(--psv-chat-top) !important;
  right:auto !important;
  bottom:auto !important;
  z-index:9995;
}
.psv-chatbot.psv-chatbot-dragging,
.psv-chatbot.psv-chatbot-dragging *{
  user-select:none !important;
  -webkit-user-select:none !important;
}
.psv-chatbot.psv-chatbot-dragging .psv-chatbot-launcher{
  cursor:grabbing !important;
}
.psv-chatbot .psv-chatbot-launcher{
  touch-action:none;
  cursor:grab;
}
.psv-chatbot.is-compact .psv-chatbot-launcher{
  width:58px !important;
  min-width:58px !important;
  height:58px !important;
  padding:0 !important;
  border-radius:999px !important;
  justify-content:center !important;
  gap:0 !important;
}
.psv-chatbot.is-compact .psv-chatbot-launcher-label{
  display:none !important;
}
.psv-chatbot.is-compact .chat-launch-icon{
  margin:0 !important;
}
.psv-chatbot.is-docked-left .psv-chatbot-panel{
  left:0 !important;
  right:auto !important;
}
.psv-chatbot.is-docked-right .psv-chatbot-panel{
  right:0 !important;
  left:auto !important;
}
.psv-chatbot.is-upper-half .psv-chatbot-panel{
  top:calc(100% + 10px) !important;
  bottom:auto !important;
}
.psv-chatbot.is-lower-half .psv-chatbot-panel{
  bottom:calc(100% + 10px) !important;
  top:auto !important;
}
.psv-chatbot-header-actions{
  display:flex;
  align-items:center;
  gap:.35rem;
  margin-left:auto;
}
.psv-chatbot-options-button{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.12);
  color:inherit;
  font-size:1.35rem;
  font-weight:800;
  line-height:1;
  cursor:pointer;
}
.psv-chatbot-options{
  margin:0 .8rem;
  padding:.8rem;
  border-radius:14px;
  background:#f4fbff;
  border:1px solid #b9e7ef;
  color:#24154f;
  box-shadow:0 8px 24px rgba(20,25,60,.10);
}
.psv-chatbot-options p{
  margin:.35rem 0 .7rem;
  font-size:.92rem;
  line-height:1.35;
}
.psv-chatbot-options-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.psv-chatbot-options-actions button{
  border:1px solid #6ed9e2;
  background:#fff;
  color:#24154f;
  border-radius:999px;
  padding:.55rem .75rem;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.psv-chatbot-options-actions button:hover,
.psv-chatbot-options-actions button:focus-visible{
  outline:3px solid rgba(28,210,210,.22);
  outline-offset:2px;
}
@media (max-width:700px){
  .psv-chatbot-options-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .psv-chatbot-options-actions button{
    width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  .psv-chatbot,
  .psv-chatbot *{scroll-behavior:auto !important;transition:none !important;}
}

/* Pasivite 2.8.18.1 — correction P0 ouverture chatbot mobile.
   Quand le panneau est ouvert, la position mémorisée du launcher ne doit jamais
   repousser le panneau hors écran. */
@media (max-width:760px){
  .psv-chatbot.psv-chatbot-positioned.is-open{
    position:fixed !important;
    inset:0 !important;
    left:0 !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100vw !important;
    height:100dvh !important;
    z-index:2500 !important;
  }
  .psv-chatbot.is-open.is-docked-left .psv-chatbot-panel,
  .psv-chatbot.is-open.is-docked-right .psv-chatbot-panel,
  .psv-chatbot.is-open.is-upper-half .psv-chatbot-panel,
  .psv-chatbot.is-open.is-lower-half .psv-chatbot-panel,
  .psv-chatbot.psv-chatbot-positioned.is-open .psv-chatbot-panel{
    position:fixed !important;
    inset:0 !important;
    left:0 !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100vw !important;
    height:100dvh !important;
    max-width:none !important;
    max-height:none !important;
    transform:none !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:auto !important;
  }
}
