/* CSS Variables */
:root {
  --ax2msq-ia: #4f46e5;
  --cppc-xy: #ffffff;
  --w0yg-d8go: #f9fafb;
  --dw2-vvv8: #0f172a;
  --mhag-yhe: #6b7280;
  --cyymo-mx: #e5e7eb;
  --bxh-hr: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --lkty-vk: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --esqu6n-zk: 16px;
  --rrw-vuv: 56px;
  --opwy-kky: 12px;
  --nlp-jmz4: 999999;
}

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

/* Main Container */
.bpo22_jro {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--nlp-jmz4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--dw2-vvv8);
}
.bpo22_jro.vykjpa { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.oqsb5x { display: flex; flex-direction: column-reverse; gap: var(--opwy-kky); align-items: center; }
.k7degn8t68 {
  width: var(--rrw-vuv); height: var(--rrw-vuv); min-width: var(--rrw-vuv); min-height: var(--rrw-vuv);
  border-radius: 50%; border: none; background: var(--ax2msq-ia); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--bxh-hr);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.k7degn8t68:hover { transform: scale(1.05); box-shadow: var(--lkty-vk); }
.k7degn8t68:active { transform: scale(0.95); }
.k7degn8t68:focus { outline: 2px solid var(--ax2msq-ia); outline-offset: 2px; }
.k7degn8t68 svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .k7degn8t68.c7hbrea{ animation:none; }
  .k7degn8t68,.lci1o51,.l2sq70{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.lci1o51{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--cppc-xy); border-radius: var(--esqu6n-zk); box-shadow: var(--lkty-vk);
  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;
}
.bpo22_jro.vykjpa .lci1o51{ right:auto; left:24px; }
.lci1o51.iomdln{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.upl_jxbe{
  padding:16px 20px; background:var(--cppc-xy); border-bottom:1px solid var(--cyymo-mx);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.vg_e10xb{ width:10px; height:10px; border-radius:50%; background:var(--ax2msq-ia); flex-shrink:0; }
.yk0gino{ flex:1; min-width:0; }
.z9xo6mne{ font-size:16px; font-weight:600; color:var(--dw2-vvv8); margin:0 0 2px 0; }
.v4k2oyhx{ font-size:13px; color:var(--mhag-yhe); margin:0; }
.demkbz6m2c{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--mhag-yhe);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.demkbz6m2c:hover{ background:var(--w0yg-d8go); color:var(--dw2-vvv8); }
.demkbz6m2c:focus{ outline:2px solid var(--ax2msq-ia); outline-offset:2px; }
.demkbz6m2c svg{ width:20px; height:20px; }

/* Body */
.d3uste{
  flex:1; overflow-y:auto; padding:16px; background:var(--w0yg-d8go);
  display:flex; flex-direction:column; gap:12px;
}
.d3uste::-webkit-scrollbar{ width:6px; }
.d3uste::-webkit-scrollbar-track{ background:transparent; }
.d3uste::-webkit-scrollbar-thumb{ background:var(--cyymo-mx); border-radius:3px; }
.d3uste::-webkit-scrollbar-thumb:hover{ background:var(--mhag-yhe); }

/* Messages */
.l2sq70{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.l2sq70.dd13m5ps{ flex-direction:row-reverse; }
.yids9o_exp{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.yids9o_exp a{ color:inherit; }
.l2sq70.kd986lzzdw .yids9o_exp{ background:var(--cppc-xy); color:var(--dw2-vvv8); border-bottom-left-radius:4px; }
.l2sq70.dd13m5ps .yids9o_exp{ background:var(--ax2msq-ia); color:#fff; border-bottom-right-radius:4px; }
.kk223w{ font-size:11px; color:var(--mhag-yhe); margin-top:4px; display:block; }

/* Typing Indicator */
.svzwd14bjb{
  display:flex; gap:8px; padding:10px 14px; background:var(--cppc-xy);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.ha_o877{ width:8px; height:8px; border-radius:50%; background:var(--mhag-yhe); animation:typingDot 1.4s infinite; }
.ha_o877:nth-child(2){ animation-delay:.2s; }
.ha_o877: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) */
.y8wphis{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.xb7r7y5il{
  border:0; border-radius:999px; padding:8px 12px; background:var(--ax2msq-ia); 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(--bxh-hr);
}
.xb7r7y5il:is(:hover,:focus){ transform:translateY(-1px); }
a.xb7r7y5il{ text-decoration:none; display:inline-block; }
a.xb7r7y5il:link, a.xb7r7y5il:visited{ color:#fff; }
a.xb7r7y5il:hover, a.xb7r7y5il:focus{ color:#fff; }

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

/* Footer */
.lb5j1tf{
  padding:16px; background:var(--cppc-xy); border-top:1px solid var(--cyymo-mx);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.kvd7qmx{
  flex:1; padding:10px 14px; border:1px solid var(--cyymo-mx); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--dw2-vvv8);
  background:var(--w0yg-d8go); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.kvd7qmx:focus{ border-color:var(--ax2msq-ia); }
.kvd7qmx::placeholder{ color:var(--mhag-yhe); }
.kvd7qmx.sn25_02_n{ border-color:#c00; }
.xcl6l7i1s{
  width:40px; height:40px; min-width:40px; border:none; background:var(--ax2msq-ia); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.xcl6l7i1s:disabled{ opacity:.5; cursor:not-allowed; }
.xcl6l7i1s:not(:disabled):hover{ transform:scale(1.05); }
.xcl6l7i1s:not(:disabled):active{ transform:scale(0.95); }
.xcl6l7i1s:focus{ outline:2px solid var(--ax2msq-ia); outline-offset:2px; }
.xcl6l7i1s svg{ width:20px; height:20px; }

/* Character Counter */
.w6_zzh8ut{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--mhag-yhe); }
.w6_zzh8ut.z6g67f{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.uf0ubr{
  align-self:flex-start;
  max-width:75%;
  background: var(--cppc-xy);
  color: var(--dw2-vvv8);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--bxh-hr);
}
.y5giuu{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.focr2pn0g.ojkdb01{
  background: transparent; color: var(--dw2-vvv8); border-color: var(--cyymo-mx);
}
.focr2pn0g.ojkdb01:hover{
  background: var(--ax2msq-ia); color:#fff; border-color: var(--ax2msq-ia);
}

/* Mobile */
@media (max-width: 768px){
  .bpo22_jro{ bottom:16px; right:16px; }
  .bpo22_jro.vykjpa{ left:16px; }
  .k7degn8t68{ --rrw-vuv:60px; }
  .lci1o51{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--esqu6n-zk) var(--esqu6n-zk) 0 0; transform: translateY(100%);
  }
  .lci1o51.iomdln{ transform: translateY(0); }
  .upl_jxbe{ padding:20px; }
  .lb5j1tf{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.bpo22_jro :focus-visible{ outline:2px solid var(--ax2msq-ia); outline-offset:2px; }

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