/* CSS Variables */
:root {
  --ib5-vuop: #4f46e5;
  --a1vt6l-zjf: #ffffff;
  --x27cxh-ui: #f9fafb;
  --f15-lssx: #0f172a;
  --q7vh-pju: #6b7280;
  --aqu8-qllc: #e5e7eb;
  --zre2-xkh: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --jq5k2-eu17: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --u20-g6: 16px;
  --kds-jyx: 56px;
  --w8lr-tvp: 12px;
  --v2in-jqb: 999999;
}

/* Base Reset */
.b5iezib2box0gkjm-f,
.b5iezib2box0gkjm-f * { box-sizing: border-box; margin: 0; padding: 0; }

/* Main Container */
.b5iezib2box0gkjm-f {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--v2in-jqb);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--f15-lssx);
}
.b5iezib2box0gkjm-f.j0arp0cl-ah4h81em { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.u0jsai90fyhqnw0 { display: flex; flex-direction: column-reverse; gap: var(--w8lr-tvp); align-items: center; }
.curtuc8mwgjtcl {
  width: var(--kds-jyx); height: var(--kds-jyx); min-width: var(--kds-jyx); min-height: var(--kds-jyx);
  border-radius: 50%; border: none; background: var(--ib5-vuop); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--zre2-xkh);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.curtuc8mwgjtcl:hover { transform: scale(1.05); box-shadow: var(--jq5k2-eu17); }
.curtuc8mwgjtcl:active { transform: scale(0.95); }
.curtuc8mwgjtcl:focus { outline: 2px solid var(--ib5-vuop); outline-offset: 2px; }
.curtuc8mwgjtcl svg { width: 24px; height: 24px; fill: currentColor; }

/* Messenger Buttons - Specific Colors */
.curtuc8mwgjtcl[data-wfw0zd="telegram"]{ background:#0088cc; }
.curtuc8mwgjtcl[data-wfw0zd="whatsapp"]{ background:#25d366; }
.curtuc8mwgjtcl[data-wfw0zd="viber"]{ background:#7360f2; }
.curtuc8mwgjtcl[data-wfw0zd="messenger"]{ background:#0084ff; }

/* Pulse Animation */
@keyframes pulse { 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(1.05); opacity:.9;} }
.curtuc8mwgjtcl.k7wfva1atiwslk{ animation:pulse 2s ease-in-out infinite; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .curtuc8mwgjtcl.k7wfva1atiwslk{ animation:none; }
  .curtuc8mwgjtcl,.c7-zana0-4htnn,.fq37846nzf8epci-q{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.c7-zana0-4htnn{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--a1vt6l-zjf); border-radius: var(--u20-g6); box-shadow: var(--jq5k2-eu17);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.95); transition: opacity .2s ease, transform .2s ease;
  visibility: hidden; pointer-events: none;
}
.b5iezib2box0gkjm-f.j0arp0cl-ah4h81em .c7-zana0-4htnn{ right:auto; left:24px; }
.c7-zana0-4htnn.uzqvcgmt68ro39y{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.susp7fe3z86d1s3{
  padding:16px 20px; background:var(--a1vt6l-zjf); border-bottom:1px solid var(--aqu8-qllc);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.m8yeekzx2qginbe3t{ width:10px; height:10px; border-radius:50%; background:var(--ib5-vuop); flex-shrink:0; }
.erqa4u8lnz-bymxw{ flex:1; min-width:0; }
.poqwawunas701g39is{ font-size:16px; font-weight:600; color:var(--f15-lssx); margin:0 0 2px 0; }
.kuokmxy3kdahvfek{ font-size:13px; color:var(--q7vh-pju); margin:0; }
.c86jtjuqg7zdocom8h{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--q7vh-pju);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.c86jtjuqg7zdocom8h:hover{ background:var(--x27cxh-ui); color:var(--f15-lssx); }
.c86jtjuqg7zdocom8h:focus{ outline:2px solid var(--ib5-vuop); outline-offset:2px; }
.c86jtjuqg7zdocom8h svg{ width:20px; height:20px; }

/* Body */
.ly0142l00h1tu1{
  flex:1; overflow-y:auto; padding:16px; background:var(--x27cxh-ui);
  display:flex; flex-direction:column; gap:12px;
}
.ly0142l00h1tu1::-webkit-scrollbar{ width:6px; }
.ly0142l00h1tu1::-webkit-scrollbar-track{ background:transparent; }
.ly0142l00h1tu1::-webkit-scrollbar-thumb{ background:var(--aqu8-qllc); border-radius:3px; }
.ly0142l00h1tu1::-webkit-scrollbar-thumb:hover{ background:var(--q7vh-pju); }

/* Messages */
.fq37846nzf8epci-q{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.fq37846nzf8epci-q.h-lbp4v5pbm1jnne{ flex-direction:row-reverse; }
.kmq4i1jyrt4lib4{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.kmq4i1jyrt4lib4 a{ color:inherit; }
.fq37846nzf8epci-q.tk2vvatb533pme .kmq4i1jyrt4lib4{ background:var(--a1vt6l-zjf); color:var(--f15-lssx); border-bottom-left-radius:4px; }
.fq37846nzf8epci-q.h-lbp4v5pbm1jnne .kmq4i1jyrt4lib4{ background:var(--ib5-vuop); color:#fff; border-bottom-right-radius:4px; }
.kdxd0xq86ip3wvi71b{ font-size:11px; color:var(--q7vh-pju); margin-top:4px; display:block; }

/* Typing Indicator */
.bg3869sfmj27ftj-xf{
  display:flex; gap:8px; padding:10px 14px; background:var(--a1vt6l-zjf);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.gmja25lqtcoeq0r{ width:8px; height:8px; border-radius:50%; background:var(--q7vh-pju); animation:typingDot 1.4s infinite; }
.gmja25lqtcoeq0r:nth-child(2){ animation-delay:.2s; }
.gmja25lqtcoeq0r:nth-child(3){ animation-delay:.4s; }
@keyframes typingDot{ 0%,60%,100%{ transform:translateY(0); opacity:.5;} 30%{ transform:translateY(-8px); opacity:1;} }

/* Quick Replies (chips) */
.wpq7eqsekp-pjbx{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.fyyzp0r1ro9z6fkej3{
  border:0; border-radius:999px; padding:8px 12px; background:var(--ib5-vuop); color:#fff; cursor:pointer;
  font:inherit; line-height:1; transition:transform .08s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-shadow: var(--zre2-xkh);
}
.fyyzp0r1ro9z6fkej3:is(:hover,:focus){ transform:translateY(-1px); }
a.fyyzp0r1ro9z6fkej3{ text-decoration:none; display:inline-block; }
a.fyyzp0r1ro9z6fkej3:link, a.fyyzp0r1ro9z6fkej3:visited{ color:#fff; }
a.fyyzp0r1ro9z6fkej3:hover, a.fyyzp0r1ro9z6fkej3:focus{ color:#fff; }

/* Error Banner */
.quain7ycr5pe-5wz{
  padding:12px 16px; background:#fee; color:#c00; border-radius:8px; font-size:13px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.cgw-imcubtyvoslkr{
  padding:6px 12px; background:#c00; color:#fff; border:none; border-radius:6px; font-size:12px; cursor:pointer; white-space:nowrap;
}

/* Footer */
.egs2qwxkvuf6b27{
  padding:16px; background:var(--a1vt6l-zjf); border-top:1px solid var(--aqu8-qllc);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.x126s-25ihz4h9{
  flex:1; padding:10px 14px; border:1px solid var(--aqu8-qllc); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--f15-lssx);
  background:var(--x27cxh-ui); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.x126s-25ihz4h9:focus{ border-color:var(--ib5-vuop); }
.x126s-25ihz4h9::placeholder{ color:var(--q7vh-pju); }
.x126s-25ihz4h9.dn-utdepja2drodc{ border-color:#c00; }
.e2y7gcqphge59p1{
  width:40px; height:40px; min-width:40px; border:none; background:var(--ib5-vuop); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.e2y7gcqphge59p1:disabled{ opacity:.5; cursor:not-allowed; }
.e2y7gcqphge59p1:not(:disabled):hover{ transform:scale(1.05); }
.e2y7gcqphge59p1:not(:disabled):active{ transform:scale(0.95); }
.e2y7gcqphge59p1:focus{ outline:2px solid var(--ib5-vuop); outline-offset:2px; }
.e2y7gcqphge59p1 svg{ width:20px; height:20px; }

/* Character Counter */
.l6ejyl27sfhzmzg-x9{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--q7vh-pju); }
.l6ejyl27sfhzmzg-x9.mm7ijodgs836b1bou{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.qrxyaqogkqv8m8vqq5{
  align-self:flex-start;
  max-width:75%;
  background: var(--a1vt6l-zjf);
  color: var(--f15-lssx);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--zre2-xkh);
}
.fw6xev0-7fielaxvg4{ display:flex; flex-wrap:wrap; gap:8px; }

/* Solid pill buttons */
.e-3-e-yodtex4ea{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background: var(--ib5-vuop); color:#fff; border:1px solid transparent;
  font-size:13px; line-height:1; text-decoration:none;
  box-shadow: var(--zre2-xkh);
  transition: transform .08s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.e-3-e-yodtex4ea:link, .e-3-e-yodtex4ea:visited{ color:#fff; }
.e-3-e-yodtex4ea:hover{ transform:translateY(-1px); box-shadow: var(--jq5k2-eu17); }
.e-3-e-yodtex4ea:active{ transform:translateY(0); }
.e-3-e-yodtex4ea:focus-visible{ outline:2px solid var(--ib5-vuop); outline-offset:2px; }

/* Optional outline variant */
.e-3-e-yodtex4ea.ya45b0ormyx3bzqm{
  background: transparent; color: var(--f15-lssx); border-color: var(--aqu8-qllc);
}
.e-3-e-yodtex4ea.ya45b0ormyx3bzqm:hover{
  background: var(--ib5-vuop); color:#fff; border-color: var(--ib5-vuop);
}

/* Mobile */
@media (max-width: 768px){
  .b5iezib2box0gkjm-f{ bottom:16px; right:16px; }
  .b5iezib2box0gkjm-f.j0arp0cl-ah4h81em{ left:16px; }
  .curtuc8mwgjtcl{ --kds-jyx:60px; }
  .c7-zana0-4htnn{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--u20-g6) var(--u20-g6) 0 0; transform: translateY(100%);
  }
  .c7-zana0-4htnn.uzqvcgmt68ro39y{ transform: translateY(0); }
  .susp7fe3z86d1s3{ padding:20px; }
  .egs2qwxkvuf6b27{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

/* High Contrast */
@media (prefers-contrast: high){ .curtuc8mwgjtcl, .c7-zana0-4htnn{ border:2px solid currentColor; } }

/* Focus Visible */
.b5iezib2box0gkjm-f :focus-visible{ outline:2px solid var(--ib5-vuop); outline-offset:2px; }

/* SR-only */
.o938kzec2yat0itmys{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0;
}

/* Hidden */
.ibd-xdviiocynbjzik{ display:none !important; }
