/* CSS Variables */
:root {
  --o34o7-glaf: #4f46e5;
  --otn-fi: #ffffff;
  --iw9juv-yp: #f9fafb;
  --e06-ix5: #0f172a;
  --lv7r-q8: #6b7280;
  --q6s97-lph: #e5e7eb;
  --okwd-odg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --d2jcxs-x3: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --m0cak-g1ii: 16px;
  --mtt-fu9q: 56px;
  --n4f-ce1: 12px;
  --g7k-kju: 999999;
}

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

/* Main Container */
.l5izaxrzs50-axmx {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--g7k-kju);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--e06-ix5);
}
.l5izaxrzs50-axmx.fk657e5r9synai3q { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.yk6gu-3apywdznsa { display: flex; flex-direction: column-reverse; gap: var(--n4f-ce1); align-items: center; }
.orm9a5stq97e0vgpr {
  width: var(--mtt-fu9q); height: var(--mtt-fu9q); min-width: var(--mtt-fu9q); min-height: var(--mtt-fu9q);
  border-radius: 50%; border: none; background: var(--o34o7-glaf); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--okwd-odg);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.orm9a5stq97e0vgpr:hover { transform: scale(1.05); box-shadow: var(--d2jcxs-x3); }
.orm9a5stq97e0vgpr:active { transform: scale(0.95); }
.orm9a5stq97e0vgpr:focus { outline: 2px solid var(--o34o7-glaf); outline-offset: 2px; }
.orm9a5stq97e0vgpr svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .orm9a5stq97e0vgpr.kxy6jo3m618t6wrs{ animation:none; }
  .orm9a5stq97e0vgpr,.j3uvzsss2fc4on,.zpxg3xspfc20tps{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.j3uvzsss2fc4on{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--otn-fi); border-radius: var(--m0cak-g1ii); box-shadow: var(--d2jcxs-x3);
  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;
}
.l5izaxrzs50-axmx.fk657e5r9synai3q .j3uvzsss2fc4on{ right:auto; left:24px; }
.j3uvzsss2fc4on.yjwur2q3f0h3892y90{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.q2ugba6nwwr1g2gn{
  padding:16px 20px; background:var(--otn-fi); border-bottom:1px solid var(--q6s97-lph);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.v52x745-8xaibu3r53{ width:10px; height:10px; border-radius:50%; background:var(--o34o7-glaf); flex-shrink:0; }
.m-u4uheeqrh4zv-m{ flex:1; min-width:0; }
.x3gdm8jt9g49p1m{ font-size:16px; font-weight:600; color:var(--e06-ix5); margin:0 0 2px 0; }
.riobmeppxdkqccka3{ font-size:13px; color:var(--lv7r-q8); margin:0; }
.ge1d20cdxnjpok762{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--lv7r-q8);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.ge1d20cdxnjpok762:hover{ background:var(--iw9juv-yp); color:var(--e06-ix5); }
.ge1d20cdxnjpok762:focus{ outline:2px solid var(--o34o7-glaf); outline-offset:2px; }
.ge1d20cdxnjpok762 svg{ width:20px; height:20px; }

/* Body */
.igqd467lw9mlc-n3d{
  flex:1; overflow-y:auto; padding:16px; background:var(--iw9juv-yp);
  display:flex; flex-direction:column; gap:12px;
}
.igqd467lw9mlc-n3d::-webkit-scrollbar{ width:6px; }
.igqd467lw9mlc-n3d::-webkit-scrollbar-track{ background:transparent; }
.igqd467lw9mlc-n3d::-webkit-scrollbar-thumb{ background:var(--q6s97-lph); border-radius:3px; }
.igqd467lw9mlc-n3d::-webkit-scrollbar-thumb:hover{ background:var(--lv7r-q8); }

/* Messages */
.zpxg3xspfc20tps{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.zpxg3xspfc20tps.orqj9-6pxdgy7wm2po{ flex-direction:row-reverse; }
.wq4g0h7gc158ygq4ux{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.wq4g0h7gc158ygq4ux a{ color:inherit; }
.zpxg3xspfc20tps.o7on29u8qmsouz .wq4g0h7gc158ygq4ux{ background:var(--otn-fi); color:var(--e06-ix5); border-bottom-left-radius:4px; }
.zpxg3xspfc20tps.orqj9-6pxdgy7wm2po .wq4g0h7gc158ygq4ux{ background:var(--o34o7-glaf); color:#fff; border-bottom-right-radius:4px; }
.wq0s6mtnx91jabwde{ font-size:11px; color:var(--lv7r-q8); margin-top:4px; display:block; }

/* Typing Indicator */
.rla9uuac9quulm{
  display:flex; gap:8px; padding:10px 14px; background:var(--otn-fi);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.qcvz5nwk1ghi78{ width:8px; height:8px; border-radius:50%; background:var(--lv7r-q8); animation:typingDot 1.4s infinite; }
.qcvz5nwk1ghi78:nth-child(2){ animation-delay:.2s; }
.qcvz5nwk1ghi78: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) */
.w-6sishnhncvrk213i{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.unpdz1vy66tef3t7t{
  border:0; border-radius:999px; padding:8px 12px; background:var(--o34o7-glaf); 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(--okwd-odg);
}
.unpdz1vy66tef3t7t:is(:hover,:focus){ transform:translateY(-1px); }
a.unpdz1vy66tef3t7t{ text-decoration:none; display:inline-block; }
a.unpdz1vy66tef3t7t:link, a.unpdz1vy66tef3t7t:visited{ color:#fff; }
a.unpdz1vy66tef3t7t:hover, a.unpdz1vy66tef3t7t:focus{ color:#fff; }

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

/* Footer */
.bn58aysome9nce7wsw{
  padding:16px; background:var(--otn-fi); border-top:1px solid var(--q6s97-lph);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.i8scu64-du6d64jri{
  flex:1; padding:10px 14px; border:1px solid var(--q6s97-lph); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--e06-ix5);
  background:var(--iw9juv-yp); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.i8scu64-du6d64jri:focus{ border-color:var(--o34o7-glaf); }
.i8scu64-du6d64jri::placeholder{ color:var(--lv7r-q8); }
.i8scu64-du6d64jri.sre2chnmdkrvy7agi{ border-color:#c00; }
.uwcknjkgn-38ra45w{
  width:40px; height:40px; min-width:40px; border:none; background:var(--o34o7-glaf); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.uwcknjkgn-38ra45w:disabled{ opacity:.5; cursor:not-allowed; }
.uwcknjkgn-38ra45w:not(:disabled):hover{ transform:scale(1.05); }
.uwcknjkgn-38ra45w:not(:disabled):active{ transform:scale(0.95); }
.uwcknjkgn-38ra45w:focus{ outline:2px solid var(--o34o7-glaf); outline-offset:2px; }
.uwcknjkgn-38ra45w svg{ width:20px; height:20px; }

/* Character Counter */
.s3f9l4p3ccvz8b{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--lv7r-q8); }
.s3f9l4p3ccvz8b.jy6vpwyuop7wwo78{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.n9q1rdjdbscrzs97{
  align-self:flex-start;
  max-width:75%;
  background: var(--otn-fi);
  color: var(--e06-ix5);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--okwd-odg);
}
.y6koh06x8s6r9bey6n{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.pm1bf--hqusbw2.aaxpp5gf4-xqono{
  background: transparent; color: var(--e06-ix5); border-color: var(--q6s97-lph);
}
.pm1bf--hqusbw2.aaxpp5gf4-xqono:hover{
  background: var(--o34o7-glaf); color:#fff; border-color: var(--o34o7-glaf);
}

/* Mobile */
@media (max-width: 768px){
  .l5izaxrzs50-axmx{ bottom:16px; right:16px; }
  .l5izaxrzs50-axmx.fk657e5r9synai3q{ left:16px; }
  .orm9a5stq97e0vgpr{ --mtt-fu9q:60px; }
  .j3uvzsss2fc4on{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--m0cak-g1ii) var(--m0cak-g1ii) 0 0; transform: translateY(100%);
  }
  .j3uvzsss2fc4on.yjwur2q3f0h3892y90{ transform: translateY(0); }
  .q2ugba6nwwr1g2gn{ padding:20px; }
  .bn58aysome9nce7wsw{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.l5izaxrzs50-axmx :focus-visible{ outline:2px solid var(--o34o7-glaf); outline-offset:2px; }

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