:root{
  --ola-chat-width:420px;
  --ola-chat-navy:#071b4d;
  --ola-chat-border:#dfe3ea;
  --ola-chat-bg:#fff;
  --ola-chat-muted:#697386;
}

.ola-chat-root{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:10050;
  font-family:inherit;
}

.ola-chat-launcher{
  min-height:44px;
  padding:0 16px;
  border:0;
  border-radius:22px;
  background:var(--ola-chat-navy);
  color:#fff;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow:0 8px 30px rgba(0,0,0,.22);
  cursor:pointer;
  font-weight:700;
}

.ola-chat-launcher b{
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:#ff2f92;
  font-size:11px;
}

.ola-chat-panel{
  position:fixed;
  right:12px;
  bottom:12px;
  width:min(var(--ola-chat-width),calc(100vw - 24px));
  height:min(760px,calc(100vh - 24px));
  background:var(--ola-chat-bg);
  border:1px solid var(--ola-chat-border);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 70px rgba(0,0,0,.28);
}

.ola-chat-header{
  height:54px;
  padding:0 14px;
  background:var(--ola-chat-navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.ola-chat-header>div:first-child{
  display:flex;
  align-items:baseline;
  gap:7px;
}

.ola-chat-header span{
  font-size:11px;
  letter-spacing:.14em;
  opacity:.75;
}

.ola-chat-header-actions{
  display:flex;
  gap:4px;
}

.ola-chat-header button,
.ola-chat-section-title button,
.ola-chat-tools button,
.ola-chat-thread button{
  border:0;
  background:transparent;
  cursor:pointer;
}

.ola-chat-header button{
  color:#fff;
  font-size:20px;
}

.ola-chat-layout{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  height:calc(100% - 54px);
}

.ola-chat-sidebar{
  overflow:auto;
  border-right:1px solid var(--ola-chat-border);
  background:#f7f8fa;
  padding:10px 7px;
}

.ola-chat-current-user{
  display:flex;
  gap:8px;
  align-items:center;
  padding:7px;
  margin-bottom:12px;
}

.ola-chat-current-user div{
  min-width:0;
}

.ola-chat-current-user strong,
.ola-chat-current-user small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ola-chat-current-user small{
  color:var(--ola-chat-muted);
  font-size:10px;
  text-transform:uppercase;
}

.ola-chat-presence{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#20a464;
  flex:0 0 auto;
}

.ola-chat-section-title{
  padding:8px 7px 5px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  color:#737b8c;
}

.ola-chat-channel{
  width:100%;
  border:0;
  background:transparent;
  border-radius:7px;
  padding:7px;
  display:flex;
  gap:6px;
  align-items:center;
  text-align:left;
  cursor:pointer;
  color:#252a34;
}

.ola-chat-channel:hover,
.ola-chat-channel.active{
  background:#e8ebf2;
}

.ola-chat-channel .name{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ola-chat-unread{
  min-width:18px;
  height:18px;
  padding:0 4px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#ff2f92;
  color:#fff;
  font-size:10px;
}

.ola-chat-search{
  padding:0 4px 8px;
}

.ola-chat-search input{
  width:100%;
  box-sizing:border-box;
  border:1px solid var(--ola-chat-border);
  border-radius:7px;
  padding:7px;
}

.ola-chat-conversation{
  min-width:0;
  display:grid;
  grid-template-rows:auto 1fr auto auto;
  background:#fff;
}

.ola-chat-conversation-header{
  padding:11px 14px;
  border-bottom:1px solid var(--ola-chat-border);
}

.ola-chat-conversation-header strong,
.ola-chat-conversation-header small{
  display:block;
}

.ola-chat-conversation-header small{
  margin-top:2px;
  color:var(--ola-chat-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ola-chat-messages{
  overflow:auto;
  padding:10px 12px;
}

.ola-chat-empty{
  height:100%;
  display:grid;
  place-content:center;
  text-align:center;
  gap:5px;
  color:var(--ola-chat-muted);
}

.ola-chat-message{
  position:relative;
  padding:8px 4px;
}

.ola-chat-message:hover{
  background:#fafbfc;
}

.ola-chat-message-head{
  display:flex;
  align-items:baseline;
  gap:7px;
}

.ola-chat-message-head strong{
  font-size:13px;
}

.ola-chat-message-head time{
  font-size:10px;
  color:var(--ola-chat-muted);
}

.ola-chat-message-body{
  margin-top:3px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

.ola-chat-message-actions{
  display:flex;
  gap:5px;
  margin-top:5px;
}

.ola-chat-message-actions button{
  border:1px solid var(--ola-chat-border);
  background:#fff;
  border-radius:12px;
  cursor:pointer;
  padding:2px 7px;
  font-size:11px;
}

.ola-chat-composer{
  margin:8px;
  border:1px solid #cfd5df;
  border-radius:10px;
  overflow:hidden;
}

.ola-chat-composer textarea{
  width:100%;
  min-height:38px;
  max-height:140px;
  resize:none;
  box-sizing:border-box;
  border:0;
  outline:0;
  padding:10px;
  font:inherit;
}

.ola-chat-composer footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:4px 6px;
}

.ola-chat-tools{
  display:flex;
}

.ola-chat-tools button{
  width:28px;
  height:28px;
  border-radius:6px;
  font-size:16px;
}

.ola-chat-tools button:hover{
  background:#f0f2f5;
}

.ola-chat-send{
  width:30px;
  height:30px;
  border:0;
  border-radius:7px;
  background:var(--ola-chat-navy);
  color:#fff;
  cursor:pointer;
}

.ola-chat-send:disabled{
  opacity:.35;
  cursor:default;
}

.ola-chat-loading{
  padding:10px 7px;
  color:var(--ola-chat-muted);
  font-size:11px;
}

.ola-chat-typing{
  padding:2px 12px;
  color:var(--ola-chat-muted);
  font-size:10px;
}

.ola-chat-thread{
  position:absolute;
  inset:54px 0 0 150px;
  background:#fff;
  z-index:5;
}

.ola-chat-thread>header{
  height:46px;
  padding:0 12px;
  border-bottom:1px solid var(--ola-chat-border);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.ola-chat-resizer{
  position:absolute;
  left:0;
  top:54px;
  bottom:0;
  width:5px;
  cursor:ew-resize;
}

body.ola-chat-open{
  --ola-chat-safe-space:0px;
}

@media(max-width:700px){
  .ola-chat-root{
    right:10px;
    bottom:10px;
  }

  .ola-chat-panel{
    inset:0;
    width:100vw;
    height:100dvh;
    max-width:none;
    border:0;
    border-radius:0;
  }

  .ola-chat-layout{
    grid-template-columns:118px minmax(0,1fr);
  }

  .ola-chat-sidebar{
    padding-left:4px;
    padding-right:4px;
  }

  .ola-chat-thread{
    inset:54px 0 0 0;
  }
}

/* ==========================================================
   OLA NEXT CHAT — Composer V2
   ========================================================== */

.ola-chat-composer-v2 {
  margin: 12px 16px 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cfd5df;
  border-radius: 12px;
  background: #fff;
}

.ola-chat-composer-v2 textarea {
  display: block;
  width: 100%;
  min-height: 62px;
  max-height: 180px;
  padding: 14px 16px 8px;
  resize: none;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #172033;
  font: inherit;
}

.ola-chat-composer-v2 textarea::placeholder {
  color: #7b8494;
}

.ola-chat-composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 5px 8px;
}

.ola-chat-format-tools,
.ola-chat-message-tools {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ola-chat-composer-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0 !important;
  border-radius: 6px;
  background: transparent !important;
  color: #566071 !important;
  box-shadow: none !important;
  font: inherit;
  cursor: pointer;
}

.ola-chat-composer-action:hover {
  background: #eef1f5 !important;
  color: #111827 !important;
}

.ola-chat-composer-action:disabled {
  opacity: .35;
  cursor: default;
}

.ola-chat-toolbar-separator {
  width: 1px;
  height: 24px;
  margin: 0 5px;
  background: #d9dee7;
}

.ola-chat-send {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 34px;
  margin-left: 5px;
  padding: 0;
  border: 0 !important;
  border-radius: 7px;
  background: #071b4d !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
}

.ola-chat-send:disabled {
  opacity: .45;
  cursor: default;
}

/* Boutons sous les messages : plus de capsules blanches */

.ola-chat-message button,
.ola-chat-message-actions button,
.ola-chat-reaction,
.ola-chat-reply {
  background: transparent !important;
  color: #697386 !important;
  border-color: #d5dae2 !important;
  box-shadow: none !important;
}

.ola-chat-message button:hover,
.ola-chat-message-actions button:hover,
.ola-chat-reaction:hover,
.ola-chat-reply:hover {
  background: #eef1f5 !important;
  color: #172033 !important;
}

/* Reply preview */

.ola-chat-reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #d9dee7;
  background: #f5f7fa;
}

.ola-chat-reply-preview[hidden] {
  display: none !important;
}

.ola-chat-reply-preview-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ola-chat-reply-preview-content span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* DARK */

html[data-theme="dark"] .ola-chat-composer-v2 {
  background: #151617 !important;
  border-color: #45494f !important;
}

html[data-theme="dark"] .ola-chat-composer-v2 textarea {
  background: transparent !important;
  color: #f0f1f2 !important;
}

html[data-theme="dark"] .ola-chat-composer-v2 textarea::placeholder {
  color: #92979f !important;
}

html[data-theme="dark"] .ola-chat-composer-action {
  background: transparent !important;
  color: #aeb3bb !important;
  border: 0 !important;
}

html[data-theme="dark"] .ola-chat-composer-action:hover {
  background: #292b2f !important;
  color: #fff !important;
}

html[data-theme="dark"] .ola-chat-toolbar-separator {
  background: #3a3d42 !important;
}

html[data-theme="dark"] .ola-chat-send {
  background: #263039 !important;
  color: #d7d9dc !important;
}

html[data-theme="dark"] .ola-chat-send:not(:disabled) {
  background: #249bd3 !important;
  color: #fff !important;
}

html[data-theme="dark"] .ola-chat-message button,
html[data-theme="dark"] .ola-chat-message-actions button,
html[data-theme="dark"] .ola-chat-reaction,
html[data-theme="dark"] .ola-chat-reply {
  background: transparent !important;
  color: #9da2aa !important;
  border-color: #3c4045 !important;
}

html[data-theme="dark"] .ola-chat-message button:hover,
html[data-theme="dark"] .ola-chat-message-actions button:hover,
html[data-theme="dark"] .ola-chat-reaction:hover,
html[data-theme="dark"] .ola-chat-reply:hover {
  background: #25272a !important;
  color: #fff !important;
}

html[data-theme="dark"] .ola-chat-reply-preview {
  background: #1c1e21 !important;
  border-color: #34373b !important;
  color: #e7e8ea !important;
}

@media (max-width: 700px) {
  .ola-chat-format-tools {
    overflow-x: auto;
    max-width: calc(100vw - 150px);
    scrollbar-width: none;
  }

  .ola-chat-format-tools::-webkit-scrollbar {
    display: none;
  }

  .ola-chat-composer-v2 {
    margin: 8px;
  }
}

/* =========================================================
   OLA NEXT CHAT V3
   ========================================================= */

.ola-chat-message-actions button,
.ola-chat-message-action,
.ola-chat-message button[data-chat-reaction],
.ola-chat-message button[data-chat-reply] {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  color: #697386 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  border-radius: 6px !important;
  min-width: 0 !important;
  width: auto !important;
  height: 28px !important;
  padding: 3px 7px !important;
  font: inherit !important;
}

.ola-chat-message-actions button:hover,
.ola-chat-message-action:hover {
  background: #eef1f5 !important;
  color: #182033 !important;
  border-color: #d8dde6 !important;
}

.ola-chat-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 10px;
}

.ola-chat-format-tools,
.ola-chat-action-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ola-chat-format,
.ola-chat-action,
.ola-chat-icon-button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #657086;
  border-radius: 6px;
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  cursor: pointer;
  font: inherit;
}

.ola-chat-format:hover,
.ola-chat-action:hover,
.ola-chat-icon-button:hover {
  background: #eef1f5;
  color: #172033;
}

.ola-chat-tool-separator {
  width: 1px;
  height: 22px;
  background: #d7dce5;
  margin: 0 3px;
}

.ola-chat-popover-wrap {
  position: relative;
}

.ola-chat-emoji-picker {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: 290px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  background: #fff;
  border: 1px solid #d8dde6;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  z-index: 100;
}

.ola-chat-emoji-picker[hidden] {
  display: none !important;
}

.ola-chat-emoji-picker button {
  appearance: none;
  border: 0;
  background: transparent;
  border-radius: 6px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
}

.ola-chat-emoji-picker button:hover {
  background: #eef1f5;
}

.ola-chat-reply-preview {
  margin: 8px 10px 0;
  padding: 8px 10px;
  border-left: 3px solid #249bd3;
  background: #f3f5f8;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ola-chat-reply-preview[hidden] {
  display: none !important;
}

.ola-chat-reply-copy {
  overflow: hidden;
}

.ola-chat-reply-copy strong,
.ola-chat-reply-copy span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* DARK */

html[data-theme="dark"] .ola-chat-message-actions button,
html[data-theme="dark"] .ola-chat-message-action,
html[data-theme="dark"] .ola-chat-message button[data-chat-reaction],
html[data-theme="dark"] .ola-chat-message button[data-chat-reply] {
  background: transparent !important;
  color: #8d929a !important;
  border-color: transparent !important;
}

html[data-theme="dark"] .ola-chat-message-actions button:hover,
html[data-theme="dark"] .ola-chat-message-action:hover,
html[data-theme="dark"] .ola-chat-format:hover,
html[data-theme="dark"] .ola-chat-action:hover,
html[data-theme="dark"] .ola-chat-icon-button:hover {
  background: #242629 !important;
  color: #f0f1f2 !important;
  border-color: #34373c !important;
}

html[data-theme="dark"] .ola-chat-format,
html[data-theme="dark"] .ola-chat-action,
html[data-theme="dark"] .ola-chat-icon-button {
  color: #a5a9b0 !important;
  background: transparent !important;
}

html[data-theme="dark"] .ola-chat-tool-separator {
  background: #34373c;
}

html[data-theme="dark"] .ola-chat-emoji-picker {
  background: #191a1c;
  border-color: #34373c;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}

html[data-theme="dark"] .ola-chat-emoji-picker button:hover {
  background: #27292d;
}

html[data-theme="dark"] .ola-chat-reply-preview {
  background: #191a1c;
  color: #f0f1f2;
}


/* ==========================================================
   OLA NEXT CHAT — MATTERMOST NATIVE DOCK
   ========================================================== */

.ola-native-chat-root {
  position: relative;
  z-index: 9990;
}

.ola-native-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 20px;
  z-index: 9992;

  display: flex;
  align-items: center;
  gap: 8px;

  height: 42px;
  padding: 0 15px;

  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;

  background: #fff;
  color: #202124;

  box-shadow:
    0 4px 14px rgba(0,0,0,.10),
    0 1px 3px rgba(0,0,0,.08);

  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.ola-native-chat-launcher:hover {
  background: #f5f6f7;
}

.ola-native-chat-icon {
  font-size: 16px;
}

.ola-native-chat-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;

  width: min(760px, 62vw);
  min-width: 420px;

  z-index: 9991;

  background: #fff;
  border-left: 1px solid #dfe1e5;

  box-shadow: -8px 0 30px rgba(0,0,0,.13);
}

.ola-native-chat-panel[hidden] {
  display: none !important;
}

.ola-native-chat-header {
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 12px 0 16px;

  background: #fff;
  border-bottom: 1px solid #e1e4e8;
}

.ola-native-chat-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ola-native-chat-brand > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.ola-native-chat-brand strong {
  font-size: 13px;
  letter-spacing: .03em;
}

.ola-native-chat-brand span:not(.ola-native-chat-status) {
  font-size: 11px;
  color: #737982;
  letter-spacing: .08em;
}

.ola-native-chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3db887;
}

.ola-native-chat-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ola-native-chat-actions a,
.ola-native-chat-actions button {
  display: grid;
  place-items: center;

  width: 30px;
  height: 30px;

  padding: 0;
  border: 0;
  border-radius: 6px;

  background: transparent;
  color: #666d76;

  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
}

.ola-native-chat-actions a:hover,
.ola-native-chat-actions button:hover {
  background: #f0f1f3;
  color: #111;
}

.ola-native-chat-body {
  position: absolute;
  top: 49px;
  right: 0;
  bottom: 0;
  left: 0;

  overflow: hidden;
  background: #fff;
}

.ola-native-chat-frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
  opacity: 0;

  background: #fff;
}

.ola-native-chat-frame.is-loaded {
  opacity: 1;
}

.ola-native-chat-loading {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5px;

  color: #656b74;
  background: #fff;
}

.ola-native-chat-loading[hidden] {
  display: none !important;
}

.ola-native-chat-loading strong {
  color: #202124;
}

.ola-native-chat-loading span {
  font-size: 12px;
}

.ola-native-chat-resizer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;

  width: 8px;

  cursor: ew-resize;
  z-index: 5;
}

.ola-native-chat-resizer:hover {
  background: rgba(90,110,255,.12);
}

body.ola-chat-resizing {
  user-select: none;
  cursor: ew-resize;
}


/* OLA dark mode — cadre uniquement.
   Mattermost conserve son propre thème interne. */

html[data-theme="dark"] .ola-native-chat-launcher,
html[data-theme="dark"] .ola-native-chat-panel,
html[data-theme="dark"] .ola-native-chat-header,
html[data-theme="dark"] .ola-native-chat-body,
html[data-theme="dark"] .ola-native-chat-loading {
  background: #151617;
  color: #e7e8ea;
}

html[data-theme="dark"] .ola-native-chat-launcher {
  border-color: #34363a;
}

html[data-theme="dark"] .ola-native-chat-launcher:hover,
html[data-theme="dark"] .ola-native-chat-actions a:hover,
html[data-theme="dark"] .ola-native-chat-actions button:hover {
  background: #25272a;
}

html[data-theme="dark"] .ola-native-chat-panel {
  border-left-color: #303236;
}

html[data-theme="dark"] .ola-native-chat-header {
  border-bottom-color: #303236;
}

html[data-theme="dark"] .ola-native-chat-brand strong,
html[data-theme="dark"] .ola-native-chat-loading strong {
  color: #f3f3f3;
}

html[data-theme="dark"] .ola-native-chat-actions a,
html[data-theme="dark"] .ola-native-chat-actions button {
  color: #b7bbc1;
}


@media (max-width: 720px) {

  .ola-native-chat-panel {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    width: 100% !important;
    min-width: 0;

    border: 0;
  }

  .ola-native-chat-resizer {
    display: none;
  }

  .ola-native-chat-launcher {
    right: 14px;
    bottom: 14px;
  }
}


/* ==========================================================
   OLA NEXT CHAT — POSITION LIVE BANNER
   Launcher dans le Live Banner.
   Fenêtre Mattermost au-dessus du Live Banner.
   ========================================================== */

.ola-native-chat-panel {
  bottom: 74px;
}

/* Le bouton reste dans la zone Live Banner */
.ola-native-chat-launcher {
  bottom: 20px;
}

/* Sur mobile le Chat reste plein écran */
@media (max-width: 720px) {
  .ola-native-chat-panel {
    bottom: 0;
  }

  .ola-native-chat-launcher {
    bottom: 14px;
  }
}


/* ==========================================================
   OLA NEXT CHAT — GEOMETRIE DEFINITIVE DESKTOP
   480px minimum / extensible / marge scrollbar
   ========================================================== */

@media (min-width: 721px) {

  .ola-native-chat-panel {
    width: 480px;
    min-width: 480px;
    max-width: calc(100vw - 40px);

    right: 16px;
    bottom: 74px;
  }

  /*
   * Le launcher reste volontairement dans le Live Banner.
   */
  .ola-native-chat-launcher {
    right: 22px;
    bottom: 20px;
  }
}


/* ==========================================================
   OLA NEXT CHAT — FINAL DESKTOP
   Launcher dans Live Banner
   Fenêtre au-dessus du Live Banner
   Largeur minimum 480 px
   ========================================================== */

@media (min-width: 721px) {

  .ola-native-chat-panel {
    width: 480px !important;
    min-width: 480px !important;

    /*
     * Le panneau peut être agrandi par JS.
     * 32 px de réserve évitent de recouvrir
     * la scrollbar du navigateur.
     */
    max-width: calc(100vw - 32px) !important;

    right: 18px !important;

    /*
     * Le Live Banner reste visible sous le Chat.
     */
    bottom: 82px !important;
  }

  .ola-native-chat-launcher {
    /*
     * Le bouton reste DANS la zone Live Banner.
     */
    right: 24px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 720px) {

  .ola-native-chat-panel {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    right: 0 !important;
  }

}
