/* CSS Variables */
:root {
  --rl519-hele: #4f46e5;
  --zg7p-ne: #ffffff;
  --rv3-ix4: #f9fafb;
  --oiqga-pks: #0f172a;
  --lzuss-uo: #6b7280;
  --sczb-q0kb: #e5e7eb;
  --gxo-b0: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --t927z-i8v8: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --z5v6-lp4: 16px;
  --iqv-ea: 56px;
  --eu35-qr: 12px;
  --kba26-fc3: 999999;
}

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

/* Main Container */
.ttuog5 {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--kba26-fc3);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--oiqga-pks);
}
.ttuog5.sexy2b2wh { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.seuo2g8gi { display: flex; flex-direction: column-reverse; gap: var(--eu35-qr); align-items: center; }
.xl7nza {
  width: var(--iqv-ea); height: var(--iqv-ea); min-width: var(--iqv-ea); min-height: var(--iqv-ea);
  border-radius: 50%; border: none; background: var(--rl519-hele); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--gxo-b0);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.xl7nza:hover { transform: scale(1.05); box-shadow: var(--t927z-i8v8); }
.xl7nza:active { transform: scale(0.95); }
.xl7nza:focus { outline: 2px solid var(--rl519-hele); outline-offset: 2px; }
.xl7nza svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .xl7nza.dzyae2lx{ animation:none; }
  .xl7nza,.wdktf0y,.cmp_ruxwjh{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.wdktf0y{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--zg7p-ne); border-radius: var(--z5v6-lp4); box-shadow: var(--t927z-i8v8);
  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;
}
.ttuog5.sexy2b2wh .wdktf0y{ right:auto; left:24px; }
.wdktf0y.c_ovpi{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.u9n9vmi5{
  padding:16px 20px; background:var(--zg7p-ne); border-bottom:1px solid var(--sczb-q0kb);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.d1ndsu02{ width:10px; height:10px; border-radius:50%; background:var(--rl519-hele); flex-shrink:0; }
.ousg2665kl{ flex:1; min-width:0; }
.qt28jz6ov{ font-size:16px; font-weight:600; color:var(--oiqga-pks); margin:0 0 2px 0; }
.kscm93cptw{ font-size:13px; color:var(--lzuss-uo); margin:0; }
.pzx9_4s89{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--lzuss-uo);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.pzx9_4s89:hover{ background:var(--rv3-ix4); color:var(--oiqga-pks); }
.pzx9_4s89:focus{ outline:2px solid var(--rl519-hele); outline-offset:2px; }
.pzx9_4s89 svg{ width:20px; height:20px; }

/* Body */
.opzswcy{
  flex:1; overflow-y:auto; padding:16px; background:var(--rv3-ix4);
  display:flex; flex-direction:column; gap:12px;
}
.opzswcy::-webkit-scrollbar{ width:6px; }
.opzswcy::-webkit-scrollbar-track{ background:transparent; }
.opzswcy::-webkit-scrollbar-thumb{ background:var(--sczb-q0kb); border-radius:3px; }
.opzswcy::-webkit-scrollbar-thumb:hover{ background:var(--lzuss-uo); }

/* Messages */
.cmp_ruxwjh{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.cmp_ruxwjh.a26_najwe{ flex-direction:row-reverse; }
.nhibkrf2{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.nhibkrf2 a{ color:inherit; }
.cmp_ruxwjh.qon587an .nhibkrf2{ background:var(--zg7p-ne); color:var(--oiqga-pks); border-bottom-left-radius:4px; }
.cmp_ruxwjh.a26_najwe .nhibkrf2{ background:var(--rl519-hele); color:#fff; border-bottom-right-radius:4px; }
.a8w3bvp{ font-size:11px; color:var(--lzuss-uo); margin-top:4px; display:block; }

/* Typing Indicator */
.foqfs9{
  display:flex; gap:8px; padding:10px 14px; background:var(--zg7p-ne);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.nydbfnmvb{ width:8px; height:8px; border-radius:50%; background:var(--lzuss-uo); animation:typingDot 1.4s infinite; }
.nydbfnmvb:nth-child(2){ animation-delay:.2s; }
.nydbfnmvb: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) */
.b9osh2u{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.hwayv9sq7{
  border:0; border-radius:999px; padding:8px 12px; background:var(--rl519-hele); 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(--gxo-b0);
}
.hwayv9sq7:is(:hover,:focus){ transform:translateY(-1px); }
a.hwayv9sq7{ text-decoration:none; display:inline-block; }
a.hwayv9sq7:link, a.hwayv9sq7:visited{ color:#fff; }
a.hwayv9sq7:hover, a.hwayv9sq7:focus{ color:#fff; }

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

/* Footer */
.tevgi_gp1{
  padding:16px; background:var(--zg7p-ne); border-top:1px solid var(--sczb-q0kb);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.rjdvc6e{
  flex:1; padding:10px 14px; border:1px solid var(--sczb-q0kb); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--oiqga-pks);
  background:var(--rv3-ix4); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.rjdvc6e:focus{ border-color:var(--rl519-hele); }
.rjdvc6e::placeholder{ color:var(--lzuss-uo); }
.rjdvc6e.r6ba1cpf1{ border-color:#c00; }
.mryu0qihe{
  width:40px; height:40px; min-width:40px; border:none; background:var(--rl519-hele); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.mryu0qihe:disabled{ opacity:.5; cursor:not-allowed; }
.mryu0qihe:not(:disabled):hover{ transform:scale(1.05); }
.mryu0qihe:not(:disabled):active{ transform:scale(0.95); }
.mryu0qihe:focus{ outline:2px solid var(--rl519-hele); outline-offset:2px; }
.mryu0qihe svg{ width:20px; height:20px; }

/* Character Counter */
.j6pfla853s{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--lzuss-uo); }
.j6pfla853s.jqcfz_u{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.rzxyy8ikx{
  align-self:flex-start;
  max-width:75%;
  background: var(--zg7p-ne);
  color: var(--oiqga-pks);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--gxo-b0);
}
.i_oi2qo6s{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.luiee44ns.o_0ymqcjka{
  background: transparent; color: var(--oiqga-pks); border-color: var(--sczb-q0kb);
}
.luiee44ns.o_0ymqcjka:hover{
  background: var(--rl519-hele); color:#fff; border-color: var(--rl519-hele);
}

/* Mobile */
@media (max-width: 768px){
  .ttuog5{ bottom:16px; right:16px; }
  .ttuog5.sexy2b2wh{ left:16px; }
  .xl7nza{ --iqv-ea:60px; }
  .wdktf0y{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--z5v6-lp4) var(--z5v6-lp4) 0 0; transform: translateY(100%);
  }
  .wdktf0y.c_ovpi{ transform: translateY(0); }
  .u9n9vmi5{ padding:20px; }
  .tevgi_gp1{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.ttuog5 :focus-visible{ outline:2px solid var(--rl519-hele); outline-offset:2px; }

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