/* CSS Variables */
:root {
  --n3sdai-g0jn: #4f46e5;
  --k68-v179: #ffffff;
  --qnl3-g5y: #f9fafb;
  --kjvn-f70: #0f172a;
  --bzfq0-az: #6b7280;
  --o9u-qlz7: #e5e7eb;
  --m1f-pye: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --v8uahn-x5: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --w0vqj-kvmj: 16px;
  --a5wj6-dh: 56px;
  --cg3-d5: 12px;
  --jhqofv-sy9: 999999;
}

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

/* Main Container */
.i6dkxpesa3cypqf {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--jhqofv-sy9);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--kjvn-f70);
}
.i6dkxpesa3cypqf.af0pqz6a2pi6n-y { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.xgfgdxvdfkd902d { display: flex; flex-direction: column-reverse; gap: var(--cg3-d5); align-items: center; }
.fssisjanz20t458t {
  width: var(--a5wj6-dh); height: var(--a5wj6-dh); min-width: var(--a5wj6-dh); min-height: var(--a5wj6-dh);
  border-radius: 50%; border: none; background: var(--n3sdai-g0jn); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--m1f-pye);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.fssisjanz20t458t:hover { transform: scale(1.05); box-shadow: var(--v8uahn-x5); }
.fssisjanz20t458t:active { transform: scale(0.95); }
.fssisjanz20t458t:focus { outline: 2px solid var(--n3sdai-g0jn); outline-offset: 2px; }
.fssisjanz20t458t svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fssisjanz20t458t.urpvool4dahp136{ animation:none; }
  .fssisjanz20t458t,.s38m4f6838mhe8svh,.x2130of4u1p09e{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.s38m4f6838mhe8svh{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--k68-v179); border-radius: var(--w0vqj-kvmj); box-shadow: var(--v8uahn-x5);
  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;
}
.i6dkxpesa3cypqf.af0pqz6a2pi6n-y .s38m4f6838mhe8svh{ right:auto; left:24px; }
.s38m4f6838mhe8svh.jc0sf5vfy51ild6mtv{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.ct6p0s42r-i0jmh{
  padding:16px 20px; background:var(--k68-v179); border-bottom:1px solid var(--o9u-qlz7);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.jgb5nhpz6aneujt{ width:10px; height:10px; border-radius:50%; background:var(--n3sdai-g0jn); flex-shrink:0; }
.cmum1yjmzmx4m7bnuk{ flex:1; min-width:0; }
.b4hmpcc8y8nq4ue{ font-size:16px; font-weight:600; color:var(--kjvn-f70); margin:0 0 2px 0; }
.sa5vwqz6v5-8q1r0re{ font-size:13px; color:var(--bzfq0-az); margin:0; }
.q0kysuwz1jmf0n6{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--bzfq0-az);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.q0kysuwz1jmf0n6:hover{ background:var(--qnl3-g5y); color:var(--kjvn-f70); }
.q0kysuwz1jmf0n6:focus{ outline:2px solid var(--n3sdai-g0jn); outline-offset:2px; }
.q0kysuwz1jmf0n6 svg{ width:20px; height:20px; }

/* Body */
.pjsy7h3gm3e4w0{
  flex:1; overflow-y:auto; padding:16px; background:var(--qnl3-g5y);
  display:flex; flex-direction:column; gap:12px;
}
.pjsy7h3gm3e4w0::-webkit-scrollbar{ width:6px; }
.pjsy7h3gm3e4w0::-webkit-scrollbar-track{ background:transparent; }
.pjsy7h3gm3e4w0::-webkit-scrollbar-thumb{ background:var(--o9u-qlz7); border-radius:3px; }
.pjsy7h3gm3e4w0::-webkit-scrollbar-thumb:hover{ background:var(--bzfq0-az); }

/* Messages */
.x2130of4u1p09e{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.x2130of4u1p09e.rikucyqaa-483opk5{ flex-direction:row-reverse; }
.dfoqpsrvr2igmle{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.dfoqpsrvr2igmle a{ color:inherit; }
.x2130of4u1p09e.fqq-8l0rlylxft4 .dfoqpsrvr2igmle{ background:var(--k68-v179); color:var(--kjvn-f70); border-bottom-left-radius:4px; }
.x2130of4u1p09e.rikucyqaa-483opk5 .dfoqpsrvr2igmle{ background:var(--n3sdai-g0jn); color:#fff; border-bottom-right-radius:4px; }
.r1l3h16o43kwm-eead{ font-size:11px; color:var(--bzfq0-az); margin-top:4px; display:block; }

/* Typing Indicator */
.sgnejdz10o-ta8o{
  display:flex; gap:8px; padding:10px 14px; background:var(--k68-v179);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.g9d2uztk22p8wzd90c{ width:8px; height:8px; border-radius:50%; background:var(--bzfq0-az); animation:typingDot 1.4s infinite; }
.g9d2uztk22p8wzd90c:nth-child(2){ animation-delay:.2s; }
.g9d2uztk22p8wzd90c: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) */
.y7ngkptqvsadd4{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.zirzclt6y9i9scbf6w{
  border:0; border-radius:999px; padding:8px 12px; background:var(--n3sdai-g0jn); 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(--m1f-pye);
}
.zirzclt6y9i9scbf6w:is(:hover,:focus){ transform:translateY(-1px); }
a.zirzclt6y9i9scbf6w{ text-decoration:none; display:inline-block; }
a.zirzclt6y9i9scbf6w:link, a.zirzclt6y9i9scbf6w:visited{ color:#fff; }
a.zirzclt6y9i9scbf6w:hover, a.zirzclt6y9i9scbf6w:focus{ color:#fff; }

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

/* Footer */
.snm4kscshv87a12gg{
  padding:16px; background:var(--k68-v179); border-top:1px solid var(--o9u-qlz7);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.yr019g6nu0ey8nw{
  flex:1; padding:10px 14px; border:1px solid var(--o9u-qlz7); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--kjvn-f70);
  background:var(--qnl3-g5y); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.yr019g6nu0ey8nw:focus{ border-color:var(--n3sdai-g0jn); }
.yr019g6nu0ey8nw::placeholder{ color:var(--bzfq0-az); }
.yr019g6nu0ey8nw.dcem61emki-z1b{ border-color:#c00; }
.n0yrow9l-araoca{
  width:40px; height:40px; min-width:40px; border:none; background:var(--n3sdai-g0jn); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.n0yrow9l-araoca:disabled{ opacity:.5; cursor:not-allowed; }
.n0yrow9l-araoca:not(:disabled):hover{ transform:scale(1.05); }
.n0yrow9l-araoca:not(:disabled):active{ transform:scale(0.95); }
.n0yrow9l-araoca:focus{ outline:2px solid var(--n3sdai-g0jn); outline-offset:2px; }
.n0yrow9l-araoca svg{ width:20px; height:20px; }

/* Character Counter */
.mbf1jyfzwg34hs{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--bzfq0-az); }
.mbf1jyfzwg34hs.z8s3d7uity11b0vksh{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.bf3czlzqb-n2t-7{
  align-self:flex-start;
  max-width:75%;
  background: var(--k68-v179);
  color: var(--kjvn-f70);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--m1f-pye);
}
.lvpjya99h0pyp6h7{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.c97r19u33imv9dsvdh.ityqsr8bf0me6r6mdt{
  background: transparent; color: var(--kjvn-f70); border-color: var(--o9u-qlz7);
}
.c97r19u33imv9dsvdh.ityqsr8bf0me6r6mdt:hover{
  background: var(--n3sdai-g0jn); color:#fff; border-color: var(--n3sdai-g0jn);
}

/* Mobile */
@media (max-width: 768px){
  .i6dkxpesa3cypqf{ bottom:16px; right:16px; }
  .i6dkxpesa3cypqf.af0pqz6a2pi6n-y{ left:16px; }
  .fssisjanz20t458t{ --a5wj6-dh:60px; }
  .s38m4f6838mhe8svh{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--w0vqj-kvmj) var(--w0vqj-kvmj) 0 0; transform: translateY(100%);
  }
  .s38m4f6838mhe8svh.jc0sf5vfy51ild6mtv{ transform: translateY(0); }
  .ct6p0s42r-i0jmh{ padding:20px; }
  .snm4kscshv87a12gg{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.i6dkxpesa3cypqf :focus-visible{ outline:2px solid var(--n3sdai-g0jn); outline-offset:2px; }

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