.nivella-chat-root{position:fixed;z-index:99999;right:22px;bottom:22px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.nivella-chat-root[data-position="left"]{right:auto;left:22px}.nivella-chat-inline{position:relative;right:auto;bottom:auto;left:auto}.nivella-chat-launcher{border:0;border-radius:999px;padding:14px 18px;background:linear-gradient(135deg,#2563eb,#38bdf8);color:#fff;font-weight:800;box-shadow:0 14px 38px rgba(37,99,235,.32);cursor:pointer}.nivella-chat-box{display:none;width:min(380px,calc(100vw - 28px));height:min(620px,calc(100vh - 110px));background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.28);overflow:hidden;border:1px solid rgba(15,23,42,.12);flex-direction:column}.nivella-chat-root.is-open .nivella-chat-box,.nivella-chat-inline .nivella-chat-box{display:flex}.nivella-chat-root.is-open .nivella-chat-launcher,.nivella-chat-inline .nivella-chat-launcher{display:none}.nivella-chat-header{display:flex;align-items:center;gap:10px;background:#2563eb;color:#fff;padding:13px}.nivella-chat-avatar{width:38px;height:38px;border-radius:50%;background:#fff;color:#2563eb;display:grid;place-items:center;font-weight:800;overflow:hidden}.nivella-chat-avatar img{width:100%;height:100%;object-fit:cover}.nivella-chat-title{flex:1}.nivella-chat-title strong,.nivella-chat-title span{display:block}.nivella-chat-title span{font-size:12px;opacity:.9}.nivella-chat-close{border:0;background:rgba(255,255,255,.15);color:#fff;border-radius:10px;font-size:22px;width:34px;height:34px;cursor:pointer}.nivella-chat-messages{flex:1;overflow:auto;padding:14px;background:#f8fafc}.nivella-msg{max-width:82%;padding:10px 12px;border-radius:16px;margin:7px 0;line-height:1.35}.nivella-msg-bot{background:#fff;border:1px solid #e5e7eb;color:#0f172a}.nivella-msg-user{background:#2563eb;color:#fff;margin-left:auto}.nivella-chat-quick{display:flex;gap:6px;flex-wrap:wrap;padding:10px;border-top:1px solid #e5e7eb}.nivella-chat-quick button{border:1px solid #d0d5dd;background:#fff;border-radius:999px;padding:7px 10px;cursor:pointer}.nivella-handoff-button{background:#fff7ed!important;border-color:#fed7aa!important;color:#9a3412!important}.nivella-chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e5e7eb}.nivella-chat-input{flex:1;resize:none;border:1px solid #d0d5dd;border-radius:14px;padding:10px;height:44px}.nivella-chat-submit{border:0;background:#2563eb;color:#fff;border-radius:14px;padding:0 14px;font-weight:800}.nivella-chat-disclosure{font-size:11px;color:#64748b;padding:0 12px 10px}.nivella-handoff-form{background:#fff;border:1px solid #d0d5dd;border-radius:14px;padding:12px;margin:10px 0}.nivella-handoff-form input,.nivella-handoff-form textarea{display:block;width:100%;margin:6px 0;padding:8px;border:1px solid #d0d5dd;border-radius:10px}.nivella-handoff-form label{font-size:12px;color:#475569}.nivella-handoff-form button{margin-right:6px;border:1px solid #d0d5dd;border-radius:10px;padding:7px 10px;background:#fff;cursor:pointer}.nivella-handoff-form button[type="submit"]{background:#2563eb;color:#fff;border-color:#2563eb}@media(max-width:520px){.nivella-chat-root{right:12px;left:12px}.nivella-chat-box{width:100%;height:calc(100vh - 90px)}}

/* 0.4.5 safe links, emojis and attachments */
.nivella-msg a{color:inherit;text-decoration:underline;word-break:break-word}.nivella-chat-attach{border:1px solid #d0d5dd;background:#fff;border-radius:14px;width:42px;cursor:pointer}.nivella-chat-files{padding:6px 10px;border-top:1px solid #e5e7eb;display:flex;gap:6px;flex-wrap:wrap;background:#f8fafc}.nivella-chat-files[hidden]{display:none}.nivella-chat-files span,.nivella-file-pill{display:inline-flex;gap:4px;align-items:center;border:1px solid #d0d5dd;border-radius:999px;background:#fff;padding:5px 8px;font-size:12px;color:#334155}.nivella-chat-files button{border:0;background:transparent;color:#b91c1c;cursor:pointer}.nivella-msg-attachments{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.nivella-chat-notice{padding:8px 12px;background:#eff6ff;color:#1d4ed8;font-size:12px;border-top:1px solid #dbeafe}

/* 0.4.13 chat UX polish */
.nivella-chat-box{width:min(430px,calc(100vw - 28px));height:min(700px,calc(100vh - 90px));}
.nivella-chat-form{align-items:flex-end;}
.nivella-chat-input{min-height:58px;height:58px;max-height:150px;line-height:1.35;overflow:auto;}
.nivella-chat-submit{min-height:58px;padding:0 18px;}
.nivella-chat-attach{height:58px;min-width:44px;}
@media(max-width:520px){.nivella-chat-box{height:calc(100vh - 70px);}}

/* 0.5 theme application + larger composer */
.nivella-chat-root{--nivella-primary:#2563eb;--nivella-accent:#38bdf8;--nivella-bg:#ffffff;--nivella-text:#0f172a;--nivella-radius:24px;--nivella-panel-w:430px;--nivella-panel-h:700px;--nivella-launcher:linear-gradient(135deg,#2563eb,#38bdf8)}
.nivella-chat-launcher{background:var(--nivella-launcher)!important;box-shadow:0 14px 38px color-mix(in srgb,var(--nivella-primary) 32%,transparent)}
.nivella-chat-box{width:min(var(--nivella-panel-w),calc(100vw - 28px))!important;height:min(var(--nivella-panel-h),calc(100vh - 90px))!important;background:var(--nivella-bg)!important;color:var(--nivella-text)!important;border-radius:var(--nivella-radius)!important}
.nivella-chat-header{background:var(--nivella-primary)!important}.nivella-chat-avatar{color:var(--nivella-primary)!important}.nivella-msg-user,.nivella-chat-submit{background:var(--nivella-primary)!important}.nivella-chat-submit{border-radius:22px!important;min-height:96px!important;padding:0 22px!important}.nivella-preview-user{background:var(--nivella-accent)!important}.nivella-chat-input{min-height:96px!important;height:96px!important;max-height:180px!important;line-height:1.4!important}.nivella-chat-attach{height:96px!important;min-width:48px!important}.nivella-chat-form{align-items:stretch!important}.nivella-chat-form .nivella-chat-file{display:none}

.nivella-chat-disclosure a{color:inherit;text-decoration:underline;font-weight:700}

/* 0.9.0 WhatsApp contact button */
.nivella-whatsapp-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #86efac!important;background:#ecfdf5!important;color:#166534!important;border-radius:999px;padding:7px 10px;text-decoration:none;font-size:13px;line-height:1.2;font-weight:600}
.nivella-whatsapp-button:before{content:"☎";font-size:12px}


/* 0.9.3.2 theme-aware launcher chat icon */
.nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher{
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:58px;
  padding-left:62px!important;
  padding-right:24px!important;
  overflow:visible;
}
.nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:before{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border-radius:999px;
  display:block;
  background:
    radial-gradient(circle at 35% 45%, #ffffff 0 2.4px, transparent 2.9px),
    radial-gradient(circle at 50% 45%, #ffffff 0 2.4px, transparent 2.9px),
    radial-gradient(circle at 65% 45%, #ffffff 0 2.4px, transparent 2.9px),
    var(--nivella-primary,#2563eb);
  border:4px solid #ffffff;
  box-shadow:0 10px 26px color-mix(in srgb,var(--nivella-primary,#2563eb) 30%,transparent);
  z-index:2;
}
.nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:after{
  content:"";
  position:absolute;
  left:36px;
  top:calc(50% + 11px);
  width:11px;
  height:11px;
  background:var(--nivella-primary,#2563eb);
  border-right:4px solid #ffffff;
  border-bottom:4px solid #ffffff;
  border-radius:0 0 9px 0;
  transform:rotate(42deg);
  z-index:3;
}
.nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher{
  padding-left:24px!important;
  padding-right:62px!important;
}
.nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:before{
  left:auto;
  right:10px;
}
.nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:after{
  left:auto;
  right:36px;
  transform:rotate(-132deg);
}
@supports not (color:color-mix(in srgb,#000 50%,#fff)){
  .nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:before{box-shadow:0 10px 26px rgba(37,99,235,.24)}
}
@media(max-width:520px){
  .nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher{min-height:54px;padding-left:58px!important;padding-right:20px!important}
  .nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher{padding-left:20px!important;padding-right:58px!important}
  .nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:before{width:34px;height:34px;left:9px}
  .nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:before{left:auto;right:9px}
  .nivella-chat-root:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:after{left:33px;top:calc(50% + 9px)}
  .nivella-chat-root[data-position="left"]:not(.is-open):not(.nivella-chat-inline) .nivella-chat-launcher:after{left:auto;right:33px}
}


.nivella-chat-modebar{display:flex;gap:8px;padding:10px 14px;border-bottom:1px solid rgba(148,163,184,.22);background:rgba(248,250,252,.86)}
.nivella-chat-mode{flex:1;border:1px solid rgba(148,163,184,.35);border-radius:999px;background:#fff;color:#334155;font-weight:800;font-size:12px;padding:8px 10px;cursor:pointer;transition:.18s ease}
.nivella-chat-mode.is-active{background:var(--nivella-primary,#2563eb);border-color:var(--nivella-primary,#2563eb);color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.18)}
.nivella-chat-root.is-human .nivella-chat-header:after{content:'Operator mode';margin-left:auto;background:#dcfce7;color:#166534;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}

.nivella-product-cards{display:grid;gap:10px;margin-top:10px}.nivella-product-card{border:1px solid #dbeafe;background:#fff;border-radius:14px;padding:10px;color:#0f172a}.nivella-product-card img{width:100%;height:110px;object-fit:cover;border-radius:10px;background:#f8fafc}.nivella-product-card strong{display:block;margin:6px 0}.nivella-product-price{display:inline-block;font-weight:900;color:#1d4ed8;margin-bottom:4px}.nivella-product-card small{display:block;color:#64748b}.nivella-product-card p{font-size:13px;line-height:1.35;margin:6px 0}.nivella-product-card a{font-weight:900;color:#1d4ed8;text-decoration:none}.nivella-msg-products{margin-top:8px}


/* Sprint 0.9.8.3 — proactive widget prompts */
.nivella-chat-proactive{position:fixed;right:24px;bottom:92px;z-index:999998;max-width:320px;display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:12px 14px;box-shadow:0 18px 46px rgba(15,23,42,.18);font-size:14px;color:#0f172a}
.nivella-chat-root.nivella-position-left .nivella-chat-proactive{left:24px;right:auto}
.nivella-chat-proactive[hidden]{display:none!important}.nivella-chat-proactive-text{flex:1;line-height:1.35}.nivella-chat-proactive-btn{border:0;border-radius:999px;background:#1d4ed8;color:#fff;padding:8px 11px;font-weight:800;cursor:pointer;white-space:nowrap}.nivella-chat-proactive-close{border:0;background:#f1f5f9;color:#475569;border-radius:999px;width:24px;height:24px;cursor:pointer}
@media(max-width:600px){.nivella-chat-proactive{left:14px!important;right:14px!important;bottom:84px;max-width:none}}

.nivella-product-cards{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));}.nivella-product-card{box-shadow:0 10px 30px rgba(15,23,42,.08)}.nivella-product-card a{display:inline-flex;margin-top:8px}.nivella-chat-files span{display:inline-flex;align-items:center;gap:6px;max-width:100%;overflow-wrap:anywhere}.nivella-msg{overflow-wrap:anywhere}.nivella-msg-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.nivella-file-pill{background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 8px;font-size:12px}

/* Sprint 0.9.9.6 — compact/expanded chat redesign */
.nivella-chat-root{
  --nivella-panel-w:420px;
  --nivella-panel-h:720px;
}
.nivella-chat-box{
  width:min(420px,calc(100vw - 28px))!important;
  height:min(720px,calc(100vh - 72px))!important;
  display:none;
  min-height:0;
}
.nivella-chat-root.is-expanded .nivella-chat-box{
  width:min(560px,calc(100vw - 28px))!important;
  height:min(820px,calc(100vh - 42px))!important;
}
.nivella-chat-header{
  padding:10px 12px!important;
  gap:9px!important;
  min-height:58px;
}
.nivella-chat-avatar{
  width:36px!important;
  height:36px!important;
  flex:0 0 36px;
}
.nivella-chat-title{
  min-width:0;
  flex:1 1 auto;
}
.nivella-chat-title strong,
.nivella-chat-title span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.nivella-chat-header-tools{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.nivella-chat-modebar{
  display:flex!important;
  gap:2px!important;
  padding:2px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-bottom:1px solid rgba(255,255,255,.24)!important;
  background:rgba(255,255,255,.14)!important;
  border-radius:999px!important;
  max-width:204px;
  min-width:0;
}
.nivella-chat-modebar[hidden]{display:none!important;}
.nivella-chat-mode{
  flex:0 1 auto!important;
  border:0!important;
  background:transparent!important;
  color:rgba(255,255,255,.88)!important;
  font-size:10.5px!important;
  line-height:1!important;
  font-weight:800!important;
  padding:7px 8px!important;
  border-radius:999px!important;
  max-width:98px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  box-shadow:none!important;
}
.nivella-chat-mode.is-active{
  background:#fff!important;
  color:var(--nivella-primary,#2563eb)!important;
  box-shadow:0 6px 14px rgba(15,23,42,.12)!important;
}
.nivella-chat-root.is-human .nivella-chat-header:after{content:none!important;}
.nivella-chat-expand,
.nivella-chat-close{
  flex:0 0 30px;
  width:30px!important;
  height:30px!important;
  min-width:30px;
  border:0;
  border-radius:10px!important;
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-weight:900;
}
.nivella-chat-close{font-size:20px!important;}
.nivella-chat-expand{font-size:15px;}
.nivella-chat-messages{
  flex:1 1 auto!important;
  min-height:0;
  overflow:auto!important;
  padding:12px 12px 8px!important;
  scroll-behavior:smooth;
  overscroll-behavior:contain;
}
.nivella-msg{
  max-width:86%!important;
  margin:6px 0!important;
}
.nivella-chat-quick{
  position:relative;
  display:flex!important;
  justify-content:flex-end;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
  min-height:38px;
  padding:5px 10px!important;
  border-top:1px solid rgba(226,232,240,.92)!important;
  background:rgba(248,250,252,.96);
}
.nivella-chat-quick[hidden]{display:none!important;}
.nivella-chat-actions-toggle{
  border:1px solid rgba(148,163,184,.42)!important;
  background:#fff!important;
  color:#334155!important;
  border-radius:999px!important;
  padding:6px 10px!important;
  font-size:12px;
  line-height:1.15;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}
.nivella-chat-actions-menu{
  position:absolute;
  right:10px;
  bottom:42px;
  z-index:8;
  display:none;
  flex-direction:column;
  gap:6px;
  width:min(260px,calc(100vw - 54px));
  max-height:250px;
  overflow:auto;
  padding:9px;
  background:#fff;
  border:1px solid rgba(148,163,184,.35);
  border-radius:16px;
  box-shadow:0 20px 46px rgba(15,23,42,.18);
}
.nivella-chat-quick.is-open .nivella-chat-actions-menu{display:flex;}
.nivella-chat-actions-menu button,
.nivella-chat-actions-menu .nivella-whatsapp-button{
  width:100%;
  justify-content:flex-start;
  text-align:left;
  border-radius:12px!important;
  padding:9px 10px!important;
  font-size:13px!important;
  line-height:1.2;
  margin:0!important;
}
.nivella-handoff-button{
  background:#fff7ed!important;
  border-color:#fed7aa!important;
  color:#9a3412!important;
}
.nivella-chat-files{
  flex:0 0 auto;
  max-height:52px;
  overflow:auto;
  padding:4px 10px!important;
  gap:5px!important;
}
.nivella-chat-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 58px;
  gap:8px!important;
  align-items:stretch!important;
  flex:0 0 auto;
  padding:8px 10px 6px!important;
  border-top:1px solid rgba(226,232,240,.92)!important;
  background:#fff;
}
.nivella-chat-input{
  min-height:54px!important;
  height:54px!important;
  max-height:116px!important;
  padding:10px 12px!important;
  border-radius:16px!important;
  line-height:1.35!important;
  overflow:auto!important;
}
.nivella-chat-form-actions{
  display:flex;
  flex-direction:column;
  gap:5px;
  width:58px;
  min-width:58px;
}
.nivella-chat-submit{
  width:58px!important;
  min-width:58px!important;
  min-height:34px!important;
  height:34px!important;
  padding:0 8px!important;
  border-radius:14px!important;
  font-size:12px!important;
  line-height:1!important;
}
.nivella-chat-attach{
  width:58px!important;
  min-width:58px!important;
  height:27px!important;
  min-height:27px!important;
  border-radius:12px!important;
  font-size:14px;
  padding:0!important;
}
.nivella-chat-disclosure{
  flex:0 0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:4px 6px;
  align-items:center;
  padding:5px 12px 8px!important;
  border-top:1px solid rgba(226,232,240,.75);
  font-size:10.5px!important;
  line-height:1.25;
  color:#64748b!important;
  background:#f8fafc;
}
.nivella-chat-footer-separator{opacity:.55;}
.nivella-chat-footer-note{color:#475569;}
.nivella-chat-disclosure a{color:var(--nivella-primary,#2563eb)!important;}
.nivella-handoff-form{
  margin:8px 0!important;
}
.nivella-smart-contact-button{
  display:inline-flex;
  width:auto;
  margin:6px 0 4px;
}
.nivella-chat-root.is-expanded .nivella-chat-input{
  min-height:66px!important;
  height:66px!important;
  max-height:140px!important;
}
.nivella-chat-root.is-expanded .nivella-chat-submit{
  min-height:40px!important;
  height:40px!important;
}
.nivella-chat-root.is-expanded .nivella-chat-attach{
  height:31px!important;
  min-height:31px!important;
}
@media(max-width:600px){
  .nivella-chat-root:not(.nivella-chat-inline){
    right:0!important;
    left:0!important;
    bottom:0!important;
  }
  .nivella-chat-root:not(.nivella-chat-inline) .nivella-chat-box{
    width:100%!important;
    height:min(84vh,calc(100vh - 56px))!important;
    border-radius:22px 22px 0 0!important;
  }
  .nivella-chat-root.is-expanded:not(.nivella-chat-inline) .nivella-chat-box{
    height:calc(100vh - 12px)!important;
    border-radius:18px 18px 0 0!important;
  }
  .nivella-chat-header{padding:9px 10px!important;}
  .nivella-chat-title span{font-size:11px!important;}
  .nivella-chat-header-tools{gap:5px;}
  .nivella-chat-modebar{max-width:170px;}
  .nivella-chat-mode{max-width:82px;font-size:9.5px!important;padding:6px 7px!important;}
  .nivella-chat-expand{display:none!important;}
  .nivella-chat-messages{padding:10px 10px 8px!important;}
  .nivella-msg{max-width:90%!important;}
  .nivella-chat-actions-menu{right:10px;left:10px;width:auto;max-height:220px;}
  .nivella-chat-disclosure{font-size:10px!important;padding-bottom:7px!important;}
}
@media(max-width:390px){
  .nivella-chat-avatar{width:32px!important;height:32px!important;flex-basis:32px;}
  .nivella-chat-modebar{max-width:136px;}
  .nivella-chat-mode{max-width:65px;font-size:0!important;padding:6px 9px!important;}
  .nivella-chat-mode-ai:after{content:'AI';font-size:10px;}
  .nivella-chat-mode-human:after{content:'Op';font-size:10px;}
}


/* Sprint 0.9.9.7 — modern proactive product/shop prompt + tighter action UI */
.nivella-chat-proactive{
  right:22px!important;
  bottom:92px!important;
  width:min(360px,calc(100vw - 32px))!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center!important;
  gap:8px!important;
  padding:10px!important;
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  color:#0f172a!important;
  box-shadow:0 22px 58px rgba(15,23,42,.20)!important;
  font-size:13px!important;
}
.nivella-chat-root[data-position="left"] .nivella-chat-proactive{left:22px!important;right:auto!important;}
.nivella-chat-proactive[hidden]{display:none!important;}
.nivella-chat-proactive-text{min-width:0;line-height:1.3!important;font-weight:650;color:#0f172a;}
.nivella-chat-proactive-btn{
  border:0!important;
  border-radius:999px!important;
  background:var(--nivella-primary,#2563eb)!important;
  color:#fff!important;
  padding:8px 10px!important;
  font-size:12px!important;
  font-weight:900!important;
  cursor:pointer!important;
  white-space:nowrap!important;
  box-shadow:0 8px 18px rgba(37,99,235,.20)!important;
}
.nivella-chat-proactive-close{
  width:26px!important;
  height:26px!important;
  border:0!important;
  border-radius:999px!important;
  background:#eef2f7!important;
  color:#475569!important;
  cursor:pointer!important;
  font-size:18px!important;
  line-height:1!important;
}
.nivella-chat-actions-menu button:before,
.nivella-chat-actions-menu .nivella-whatsapp-button:before{opacity:.8;margin-right:2px;}
.nivella-chat-actions-menu .nivella-handoff-button:before{content:'↗';}
@media(max-width:600px){
  .nivella-chat-proactive{
    left:12px!important;
    right:12px!important;
    bottom:72px!important;
    width:auto!important;
    grid-template-columns:minmax(0,1fr) auto 26px;
    border-radius:18px!important;
    padding:9px!important;
  }
  .nivella-chat-proactive-btn{padding:7px 9px!important;font-size:11.5px!important;}
}


/* Sprint 0.9.9.8 — top-layer widget and proactive de-duplication guard */
.nivella-chat-root:not(.nivella-chat-inline),
.nivella-chat-root.nivella-chat-top-layer:not(.nivella-chat-inline){
  z-index:2147483647!important;
  isolation:isolate!important;
}
.nivella-chat-root:not(.nivella-chat-inline) .nivella-chat-launcher,
.nivella-chat-root:not(.nivella-chat-inline) .nivella-chat-box{
  position:relative;
  z-index:2147483647!important;
}
.nivella-chat-root:not(.nivella-chat-inline) .nivella-chat-proactive{
  z-index:2147483646!important;
}
.nivella-chat-root.is-open .nivella-chat-proactive{
  display:none!important;
}
.nivella-chat-inline .nivella-chat-proactive,
.nivella-chat-inline .nivella-chat-launcher{
  display:none!important;
}
