/* CSS Variables */
:root {
  --tzob6-oodb: #4f46e5;
  --v1jx-yd: #ffffff;
  --ar6-ukp: #f9fafb;
  --yza-zc1: #0f172a;
  --ang-ecz: #6b7280;
  --lqp2-g6cl: #e5e7eb;
  --bsj-uo7o: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --qzsv-srj: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ynk1wm-z0: 16px;
  --coa-twix: 56px;
  --f0p5-id: 12px;
  --mbt0-han: 999999;
}

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

/* Main Container */
.xskkou {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--mbt0-han);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--yza-zc1);
}
.xskkou.av4jpv012 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.u3u5yv { display: flex; flex-direction: column-reverse; gap: var(--f0p5-id); align-items: center; }
.u80aci71 {
  width: var(--coa-twix); height: var(--coa-twix); min-width: var(--coa-twix); min-height: var(--coa-twix);
  border-radius: 50%; border: none; background: var(--tzob6-oodb); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--bsj-uo7o);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.u80aci71:hover { transform: scale(1.05); box-shadow: var(--qzsv-srj); }
.u80aci71:active { transform: scale(0.95); }
.u80aci71:focus { outline: 2px solid var(--tzob6-oodb); outline-offset: 2px; }
.u80aci71 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .u80aci71.p4b7n7o{ animation:none; }
  .u80aci71,.geb1ubqe,.ok__n1hwi{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.geb1ubqe{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--v1jx-yd); border-radius: var(--ynk1wm-z0); box-shadow: var(--qzsv-srj);
  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;
}
.xskkou.av4jpv012 .geb1ubqe{ right:auto; left:24px; }
.geb1ubqe.yzk7clylp3{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.ukrcrxly{
  padding:16px 20px; background:var(--v1jx-yd); border-bottom:1px solid var(--lqp2-g6cl);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.suusn5jm{ width:10px; height:10px; border-radius:50%; background:var(--tzob6-oodb); flex-shrink:0; }
.y3w5zq60s{ flex:1; min-width:0; }
.kso_jkefm{ font-size:16px; font-weight:600; color:var(--yza-zc1); margin:0 0 2px 0; }
.ofy3sf{ font-size:13px; color:var(--ang-ecz); margin:0; }
.fl9erie{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--ang-ecz);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.fl9erie:hover{ background:var(--ar6-ukp); color:var(--yza-zc1); }
.fl9erie:focus{ outline:2px solid var(--tzob6-oodb); outline-offset:2px; }
.fl9erie svg{ width:20px; height:20px; }

/* Body */
.nn_rcbz{
  flex:1; overflow-y:auto; padding:16px; background:var(--ar6-ukp);
  display:flex; flex-direction:column; gap:12px;
}
.nn_rcbz::-webkit-scrollbar{ width:6px; }
.nn_rcbz::-webkit-scrollbar-track{ background:transparent; }
.nn_rcbz::-webkit-scrollbar-thumb{ background:var(--lqp2-g6cl); border-radius:3px; }
.nn_rcbz::-webkit-scrollbar-thumb:hover{ background:var(--ang-ecz); }

/* Messages */
.ok__n1hwi{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.ok__n1hwi.p6b89rkh{ flex-direction:row-reverse; }
.rw83746zm{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.rw83746zm a{ color:inherit; }
.ok__n1hwi.ei91djw4x .rw83746zm{ background:var(--v1jx-yd); color:var(--yza-zc1); border-bottom-left-radius:4px; }
.ok__n1hwi.p6b89rkh .rw83746zm{ background:var(--tzob6-oodb); color:#fff; border-bottom-right-radius:4px; }
.iridml84qr{ font-size:11px; color:var(--ang-ecz); margin-top:4px; display:block; }

/* Typing Indicator */
.m6vq3gvr7a{
  display:flex; gap:8px; padding:10px 14px; background:var(--v1jx-yd);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.n2rm5z{ width:8px; height:8px; border-radius:50%; background:var(--ang-ecz); animation:typingDot 1.4s infinite; }
.n2rm5z:nth-child(2){ animation-delay:.2s; }
.n2rm5z: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) */
.ccl62tl12{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.kdu5niorht{
  border:0; border-radius:999px; padding:8px 12px; background:var(--tzob6-oodb); 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(--bsj-uo7o);
}
.kdu5niorht:is(:hover,:focus){ transform:translateY(-1px); }
a.kdu5niorht{ text-decoration:none; display:inline-block; }
a.kdu5niorht:link, a.kdu5niorht:visited{ color:#fff; }
a.kdu5niorht:hover, a.kdu5niorht:focus{ color:#fff; }

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

/* Footer */
.qzr380orjd{
  padding:16px; background:var(--v1jx-yd); border-top:1px solid var(--lqp2-g6cl);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.dyaeoh{
  flex:1; padding:10px 14px; border:1px solid var(--lqp2-g6cl); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--yza-zc1);
  background:var(--ar6-ukp); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.dyaeoh:focus{ border-color:var(--tzob6-oodb); }
.dyaeoh::placeholder{ color:var(--ang-ecz); }
.dyaeoh.uyebal{ border-color:#c00; }
.p4ufh5txv{
  width:40px; height:40px; min-width:40px; border:none; background:var(--tzob6-oodb); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.p4ufh5txv:disabled{ opacity:.5; cursor:not-allowed; }
.p4ufh5txv:not(:disabled):hover{ transform:scale(1.05); }
.p4ufh5txv:not(:disabled):active{ transform:scale(0.95); }
.p4ufh5txv:focus{ outline:2px solid var(--tzob6-oodb); outline-offset:2px; }
.p4ufh5txv svg{ width:20px; height:20px; }

/* Character Counter */
.wki9w5e{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--ang-ecz); }
.wki9w5e.h5318r{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.nslecr48j5{
  align-self:flex-start;
  max-width:75%;
  background: var(--v1jx-yd);
  color: var(--yza-zc1);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--bsj-uo7o);
}
.yd46na{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.l9iuqtkr.kzjsb19r{
  background: transparent; color: var(--yza-zc1); border-color: var(--lqp2-g6cl);
}
.l9iuqtkr.kzjsb19r:hover{
  background: var(--tzob6-oodb); color:#fff; border-color: var(--tzob6-oodb);
}

/* Mobile */
@media (max-width: 768px){
  .xskkou{ bottom:16px; right:16px; }
  .xskkou.av4jpv012{ left:16px; }
  .u80aci71{ --coa-twix:60px; }
  .geb1ubqe{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--ynk1wm-z0) var(--ynk1wm-z0) 0 0; transform: translateY(100%);
  }
  .geb1ubqe.yzk7clylp3{ transform: translateY(0); }
  .ukrcrxly{ padding:20px; }
  .qzr380orjd{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.xskkou :focus-visible{ outline:2px solid var(--tzob6-oodb); outline-offset:2px; }

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