/* CSS Variables */
:root {
  --jdsphg-spo: #4f46e5;
  --mc4zj-mjx4: #ffffff;
  --uhh-ii: #f9fafb;
  --ga6-y3: #0f172a;
  --zaroh-yy0: #6b7280;
  --n9kw-wgd: #e5e7eb;
  --bsh96-eoj6: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --z3o-gbkj: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --suvu-rh8w: 16px;
  --afw-zv: 56px;
  --ddc3e-jo64: 12px;
  --mk2ze-gc5s: 999999;
}

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

/* Main Container */
.t1xr5fpq2qdvz7xtls {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--mk2ze-gc5s);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--ga6-y3);
}
.t1xr5fpq2qdvz7xtls.x0eqqqajoqlodoi1z { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.px5sqotxxx2afxyd { display: flex; flex-direction: column-reverse; gap: var(--ddc3e-jo64); align-items: center; }
.o-ii1ajodxrmy41 {
  width: var(--afw-zv); height: var(--afw-zv); min-width: var(--afw-zv); min-height: var(--afw-zv);
  border-radius: 50%; border: none; background: var(--jdsphg-spo); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--bsh96-eoj6);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.o-ii1ajodxrmy41:hover { transform: scale(1.05); box-shadow: var(--z3o-gbkj); }
.o-ii1ajodxrmy41:active { transform: scale(0.95); }
.o-ii1ajodxrmy41:focus { outline: 2px solid var(--jdsphg-spo); outline-offset: 2px; }
.o-ii1ajodxrmy41 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .o-ii1ajodxrmy41.v2d6f5l-3ltlz3vl7{ animation:none; }
  .o-ii1ajodxrmy41,.i6vzb762qc44vuh,.tnjvdihal5c1dx2d{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.i6vzb762qc44vuh{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--mc4zj-mjx4); border-radius: var(--suvu-rh8w); box-shadow: var(--z3o-gbkj);
  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;
}
.t1xr5fpq2qdvz7xtls.x0eqqqajoqlodoi1z .i6vzb762qc44vuh{ right:auto; left:24px; }
.i6vzb762qc44vuh.fbfcvqw33-zrt2r{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.tgjohijv7le6q131j{
  padding:16px 20px; background:var(--mc4zj-mjx4); border-bottom:1px solid var(--n9kw-wgd);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.inb23hxxt1si-ucp0{ width:10px; height:10px; border-radius:50%; background:var(--jdsphg-spo); flex-shrink:0; }
.dzm6d1u02acfd61oba{ flex:1; min-width:0; }
.qd5zzmrzekp2giomr{ font-size:16px; font-weight:600; color:var(--ga6-y3); margin:0 0 2px 0; }
.gt9z-rnxf6jf7l{ font-size:13px; color:var(--zaroh-yy0); margin:0; }
.vpj54rywcx54a3mmg{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--zaroh-yy0);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.vpj54rywcx54a3mmg:hover{ background:var(--uhh-ii); color:var(--ga6-y3); }
.vpj54rywcx54a3mmg:focus{ outline:2px solid var(--jdsphg-spo); outline-offset:2px; }
.vpj54rywcx54a3mmg svg{ width:20px; height:20px; }

/* Body */
.i-6v323d3952ct{
  flex:1; overflow-y:auto; padding:16px; background:var(--uhh-ii);
  display:flex; flex-direction:column; gap:12px;
}
.i-6v323d3952ct::-webkit-scrollbar{ width:6px; }
.i-6v323d3952ct::-webkit-scrollbar-track{ background:transparent; }
.i-6v323d3952ct::-webkit-scrollbar-thumb{ background:var(--n9kw-wgd); border-radius:3px; }
.i-6v323d3952ct::-webkit-scrollbar-thumb:hover{ background:var(--zaroh-yy0); }

/* Messages */
.tnjvdihal5c1dx2d{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.tnjvdihal5c1dx2d.f4w2-qpdku6v0j6{ flex-direction:row-reverse; }
.veb636htxuuezf{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.veb636htxuuezf a{ color:inherit; }
.tnjvdihal5c1dx2d.hwngqk2p3tp2-3zebw .veb636htxuuezf{ background:var(--mc4zj-mjx4); color:var(--ga6-y3); border-bottom-left-radius:4px; }
.tnjvdihal5c1dx2d.f4w2-qpdku6v0j6 .veb636htxuuezf{ background:var(--jdsphg-spo); color:#fff; border-bottom-right-radius:4px; }
.gcyo78e1bseemafj5a{ font-size:11px; color:var(--zaroh-yy0); margin-top:4px; display:block; }

/* Typing Indicator */
.imhmv-oxi0vdsqt{
  display:flex; gap:8px; padding:10px 14px; background:var(--mc4zj-mjx4);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.xtzfihuooe2unoz{ width:8px; height:8px; border-radius:50%; background:var(--zaroh-yy0); animation:typingDot 1.4s infinite; }
.xtzfihuooe2unoz:nth-child(2){ animation-delay:.2s; }
.xtzfihuooe2unoz: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) */
.fyc6zck9-hjw7-t{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.j0uypid4jups01vn{
  border:0; border-radius:999px; padding:8px 12px; background:var(--jdsphg-spo); 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(--bsh96-eoj6);
}
.j0uypid4jups01vn:is(:hover,:focus){ transform:translateY(-1px); }
a.j0uypid4jups01vn{ text-decoration:none; display:inline-block; }
a.j0uypid4jups01vn:link, a.j0uypid4jups01vn:visited{ color:#fff; }
a.j0uypid4jups01vn:hover, a.j0uypid4jups01vn:focus{ color:#fff; }

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

/* Footer */
.kxqa18v06b6r956{
  padding:16px; background:var(--mc4zj-mjx4); border-top:1px solid var(--n9kw-wgd);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.hxvskvj11xpm26p1sj{
  flex:1; padding:10px 14px; border:1px solid var(--n9kw-wgd); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--ga6-y3);
  background:var(--uhh-ii); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.hxvskvj11xpm26p1sj:focus{ border-color:var(--jdsphg-spo); }
.hxvskvj11xpm26p1sj::placeholder{ color:var(--zaroh-yy0); }
.hxvskvj11xpm26p1sj.k69p50tgmwj6r7sq8{ border-color:#c00; }
.rlbllg4t1h1hol{
  width:40px; height:40px; min-width:40px; border:none; background:var(--jdsphg-spo); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.rlbllg4t1h1hol:disabled{ opacity:.5; cursor:not-allowed; }
.rlbllg4t1h1hol:not(:disabled):hover{ transform:scale(1.05); }
.rlbllg4t1h1hol:not(:disabled):active{ transform:scale(0.95); }
.rlbllg4t1h1hol:focus{ outline:2px solid var(--jdsphg-spo); outline-offset:2px; }
.rlbllg4t1h1hol svg{ width:20px; height:20px; }

/* Character Counter */
.qht9bd1qxznjwdqsd{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--zaroh-yy0); }
.qht9bd1qxznjwdqsd.vqqfj6-tw0rriir0{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.hldv3faxdoq9grym{
  align-self:flex-start;
  max-width:75%;
  background: var(--mc4zj-mjx4);
  color: var(--ga6-y3);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--bsh96-eoj6);
}
.n9kvwjilu6rbkhob{ display:flex; flex-wrap:wrap; gap:8px; }

/* Solid pill buttons */
.rkgsbiabid8q1ok82{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 14px; border-radius:999px;
  background: var(--jdsphg-spo); color:#fff; border:1px solid transparent;
  font-size:13px; line-height:1; text-decoration:none;
  box-shadow: var(--bsh96-eoj6);
  transition: transform .08s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.rkgsbiabid8q1ok82:link, .rkgsbiabid8q1ok82:visited{ color:#fff; }
.rkgsbiabid8q1ok82:hover{ transform:translateY(-1px); box-shadow: var(--z3o-gbkj); }
.rkgsbiabid8q1ok82:active{ transform:translateY(0); }
.rkgsbiabid8q1ok82:focus-visible{ outline:2px solid var(--jdsphg-spo); outline-offset:2px; }

/* Optional outline variant */
.rkgsbiabid8q1ok82.gplf4c73q1fcstd4{
  background: transparent; color: var(--ga6-y3); border-color: var(--n9kw-wgd);
}
.rkgsbiabid8q1ok82.gplf4c73q1fcstd4:hover{
  background: var(--jdsphg-spo); color:#fff; border-color: var(--jdsphg-spo);
}

/* Mobile */
@media (max-width: 768px){
  .t1xr5fpq2qdvz7xtls{ bottom:16px; right:16px; }
  .t1xr5fpq2qdvz7xtls.x0eqqqajoqlodoi1z{ left:16px; }
  .o-ii1ajodxrmy41{ --afw-zv:60px; }
  .i6vzb762qc44vuh{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--suvu-rh8w) var(--suvu-rh8w) 0 0; transform: translateY(100%);
  }
  .i6vzb762qc44vuh.fbfcvqw33-zrt2r{ transform: translateY(0); }
  .tgjohijv7le6q131j{ padding:20px; }
  .kxqa18v06b6r956{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

/* High Contrast */
@media (prefers-contrast: high){ .o-ii1ajodxrmy41, .i6vzb762qc44vuh{ border:2px solid currentColor; } }

/* Focus Visible */
.t1xr5fpq2qdvz7xtls :focus-visible{ outline:2px solid var(--jdsphg-spo); outline-offset:2px; }

/* SR-only */
.eohrellsibv0wke2w{
  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 */
.lmhzg4vvdcd-iy8{ display:none !important; }
