/* CSS Variables */
:root {
  --lhbl-vvx0: #4f46e5;
  --ice-j5f: #ffffff;
  --iu9uu-k89: #f9fafb;
  --los-h7: #0f172a;
  --zq8-yfl: #6b7280;
  --n5k-hca: #e5e7eb;
  --m1d-gzn: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --i1po9-k29: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --q3v-zhfw: 16px;
  --jswca-ouk: 56px;
  --thbpa5-h3: 12px;
  --opf-y3: 999999;
}

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

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

/* Floating Panel - Buttons */
.dlnqd6ojc175ta0 { display: flex; flex-direction: column-reverse; gap: var(--thbpa5-h3); align-items: center; }
.ixb0jef-gwkfwkl {
  width: var(--jswca-ouk); height: var(--jswca-ouk); min-width: var(--jswca-ouk); min-height: var(--jswca-ouk);
  border-radius: 50%; border: none; background: var(--lhbl-vvx0); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--m1d-gzn);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.ixb0jef-gwkfwkl:hover { transform: scale(1.05); box-shadow: var(--i1po9-k29); }
.ixb0jef-gwkfwkl:active { transform: scale(0.95); }
.ixb0jef-gwkfwkl:focus { outline: 2px solid var(--lhbl-vvx0); outline-offset: 2px; }
.ixb0jef-gwkfwkl svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ixb0jef-gwkfwkl.g-isphyrytjr4tiyn5{ animation:none; }
  .ixb0jef-gwkfwkl,.skka3okzl03uzy94x3,.e55a6ydwr1e7bteycy{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.skka3okzl03uzy94x3{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--ice-j5f); border-radius: var(--q3v-zhfw); box-shadow: var(--i1po9-k29);
  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;
}
.k1-pacmqwf6uokc8.fbmao1ielusxblb .skka3okzl03uzy94x3{ right:auto; left:24px; }
.skka3okzl03uzy94x3.rjhl404balmhbc0cff{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.g3bf73h84i3w5v4us8{
  padding:16px 20px; background:var(--ice-j5f); border-bottom:1px solid var(--n5k-hca);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.jr32aicpow4wdtm{ width:10px; height:10px; border-radius:50%; background:var(--lhbl-vvx0); flex-shrink:0; }
.el4491edv2y571dbe{ flex:1; min-width:0; }
.im5xu-e55xdmidh{ font-size:16px; font-weight:600; color:var(--los-h7); margin:0 0 2px 0; }
.l5yhiipokyz3hff{ font-size:13px; color:var(--zq8-yfl); margin:0; }
.pdctw6363h8k4h{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--zq8-yfl);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.pdctw6363h8k4h:hover{ background:var(--iu9uu-k89); color:var(--los-h7); }
.pdctw6363h8k4h:focus{ outline:2px solid var(--lhbl-vvx0); outline-offset:2px; }
.pdctw6363h8k4h svg{ width:20px; height:20px; }

/* Body */
.cc0-0dj68dvctm{
  flex:1; overflow-y:auto; padding:16px; background:var(--iu9uu-k89);
  display:flex; flex-direction:column; gap:12px;
}
.cc0-0dj68dvctm::-webkit-scrollbar{ width:6px; }
.cc0-0dj68dvctm::-webkit-scrollbar-track{ background:transparent; }
.cc0-0dj68dvctm::-webkit-scrollbar-thumb{ background:var(--n5k-hca); border-radius:3px; }
.cc0-0dj68dvctm::-webkit-scrollbar-thumb:hover{ background:var(--zq8-yfl); }

/* Messages */
.e55a6ydwr1e7bteycy{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.e55a6ydwr1e7bteycy.bu7a7l78hbzlre8m{ flex-direction:row-reverse; }
.sn4iv07dm2-dud1f{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.sn4iv07dm2-dud1f a{ color:inherit; }
.e55a6ydwr1e7bteycy.ucgomuackb4c58gl .sn4iv07dm2-dud1f{ background:var(--ice-j5f); color:var(--los-h7); border-bottom-left-radius:4px; }
.e55a6ydwr1e7bteycy.bu7a7l78hbzlre8m .sn4iv07dm2-dud1f{ background:var(--lhbl-vvx0); color:#fff; border-bottom-right-radius:4px; }
.w0343lwzcn437v{ font-size:11px; color:var(--zq8-yfl); margin-top:4px; display:block; }

/* Typing Indicator */
.j1s2969735t3wq3ytj{
  display:flex; gap:8px; padding:10px 14px; background:var(--ice-j5f);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.jjpgx8c83pwi21o{ width:8px; height:8px; border-radius:50%; background:var(--zq8-yfl); animation:typingDot 1.4s infinite; }
.jjpgx8c83pwi21o:nth-child(2){ animation-delay:.2s; }
.jjpgx8c83pwi21o: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) */
.xdejz0jd4nd4y4hrw{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.wnq5z8n33ait2770n{
  border:0; border-radius:999px; padding:8px 12px; background:var(--lhbl-vvx0); 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(--m1d-gzn);
}
.wnq5z8n33ait2770n:is(:hover,:focus){ transform:translateY(-1px); }
a.wnq5z8n33ait2770n{ text-decoration:none; display:inline-block; }
a.wnq5z8n33ait2770n:link, a.wnq5z8n33ait2770n:visited{ color:#fff; }
a.wnq5z8n33ait2770n:hover, a.wnq5z8n33ait2770n:focus{ color:#fff; }

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

/* Footer */
.ux2a-tkac0md-q5qor{
  padding:16px; background:var(--ice-j5f); border-top:1px solid var(--n5k-hca);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.rnzph12joj5uas{
  flex:1; padding:10px 14px; border:1px solid var(--n5k-hca); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--los-h7);
  background:var(--iu9uu-k89); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.rnzph12joj5uas:focus{ border-color:var(--lhbl-vvx0); }
.rnzph12joj5uas::placeholder{ color:var(--zq8-yfl); }
.rnzph12joj5uas.to-hvsk712r15s{ border-color:#c00; }
.o9ckti93vounpwa76{
  width:40px; height:40px; min-width:40px; border:none; background:var(--lhbl-vvx0); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.o9ckti93vounpwa76:disabled{ opacity:.5; cursor:not-allowed; }
.o9ckti93vounpwa76:not(:disabled):hover{ transform:scale(1.05); }
.o9ckti93vounpwa76:not(:disabled):active{ transform:scale(0.95); }
.o9ckti93vounpwa76:focus{ outline:2px solid var(--lhbl-vvx0); outline-offset:2px; }
.o9ckti93vounpwa76 svg{ width:20px; height:20px; }

/* Character Counter */
.jsaj6pblv8eruwczbn{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--zq8-yfl); }
.jsaj6pblv8eruwczbn.u22k9la0hncgqz{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.btninb5ubuztyay{
  align-self:flex-start;
  max-width:75%;
  background: var(--ice-j5f);
  color: var(--los-h7);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--m1d-gzn);
}
.m-xxshxejl1khm{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.bazuxkvfq476g2b.b3f1g0bgpjrf84-a{
  background: transparent; color: var(--los-h7); border-color: var(--n5k-hca);
}
.bazuxkvfq476g2b.b3f1g0bgpjrf84-a:hover{
  background: var(--lhbl-vvx0); color:#fff; border-color: var(--lhbl-vvx0);
}

/* Mobile */
@media (max-width: 768px){
  .k1-pacmqwf6uokc8{ bottom:16px; right:16px; }
  .k1-pacmqwf6uokc8.fbmao1ielusxblb{ left:16px; }
  .ixb0jef-gwkfwkl{ --jswca-ouk:60px; }
  .skka3okzl03uzy94x3{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--q3v-zhfw) var(--q3v-zhfw) 0 0; transform: translateY(100%);
  }
  .skka3okzl03uzy94x3.rjhl404balmhbc0cff{ transform: translateY(0); }
  .g3bf73h84i3w5v4us8{ padding:20px; }
  .ux2a-tkac0md-q5qor{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.k1-pacmqwf6uokc8 :focus-visible{ outline:2px solid var(--lhbl-vvx0); outline-offset:2px; }

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