/* CSS Variables */
:root {
  --yr46y-r0y: #4f46e5;
  --ypvm5-qhby: #ffffff;
  --ggc-bhcv: #f9fafb;
  --b4ke-rt: #0f172a;
  --reszg-ip: #6b7280;
  --z17v-bjo8: #e5e7eb;
  --m82-zv: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --setanm-fdt: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --f9tt30-wzz8: 16px;
  --ai209-rt3: 56px;
  --ue830-yp: 12px;
  --mv6ybl-js: 999999;
}

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

/* Main Container */
.j41wok {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--mv6ybl-js);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--b4ke-rt);
}
.j41wok.jxyh83oi { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.fkz0193pac { display: flex; flex-direction: column-reverse; gap: var(--ue830-yp); align-items: center; }
.odmeo90lb {
  width: var(--ai209-rt3); height: var(--ai209-rt3); min-width: var(--ai209-rt3); min-height: var(--ai209-rt3);
  border-radius: 50%; border: none; background: var(--yr46y-r0y); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--m82-zv);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.odmeo90lb:hover { transform: scale(1.05); box-shadow: var(--setanm-fdt); }
.odmeo90lb:active { transform: scale(0.95); }
.odmeo90lb:focus { outline: 2px solid var(--yr46y-r0y); outline-offset: 2px; }
.odmeo90lb svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .odmeo90lb.h_ww048yt7{ animation:none; }
  .odmeo90lb,.nfxkur8,.cztnrva{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.nfxkur8{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--ypvm5-qhby); border-radius: var(--f9tt30-wzz8); box-shadow: var(--setanm-fdt);
  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;
}
.j41wok.jxyh83oi .nfxkur8{ right:auto; left:24px; }
.nfxkur8.lfxzhu2r{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.n3y8cz495u{
  padding:16px 20px; background:var(--ypvm5-qhby); border-bottom:1px solid var(--z17v-bjo8);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.lmtxhhq{ width:10px; height:10px; border-radius:50%; background:var(--yr46y-r0y); flex-shrink:0; }
.qyy86g{ flex:1; min-width:0; }
.y0ts_f{ font-size:16px; font-weight:600; color:var(--b4ke-rt); margin:0 0 2px 0; }
.obuye2g{ font-size:13px; color:var(--reszg-ip); margin:0; }
.v5qmzt{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--reszg-ip);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.v5qmzt:hover{ background:var(--ggc-bhcv); color:var(--b4ke-rt); }
.v5qmzt:focus{ outline:2px solid var(--yr46y-r0y); outline-offset:2px; }
.v5qmzt svg{ width:20px; height:20px; }

/* Body */
.rpm40mkw{
  flex:1; overflow-y:auto; padding:16px; background:var(--ggc-bhcv);
  display:flex; flex-direction:column; gap:12px;
}
.rpm40mkw::-webkit-scrollbar{ width:6px; }
.rpm40mkw::-webkit-scrollbar-track{ background:transparent; }
.rpm40mkw::-webkit-scrollbar-thumb{ background:var(--z17v-bjo8); border-radius:3px; }
.rpm40mkw::-webkit-scrollbar-thumb:hover{ background:var(--reszg-ip); }

/* Messages */
.cztnrva{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.cztnrva.aw651x{ flex-direction:row-reverse; }
.hqt590a{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.hqt590a a{ color:inherit; }
.cztnrva.fhi03sy .hqt590a{ background:var(--ypvm5-qhby); color:var(--b4ke-rt); border-bottom-left-radius:4px; }
.cztnrva.aw651x .hqt590a{ background:var(--yr46y-r0y); color:#fff; border-bottom-right-radius:4px; }
.lc8vuu{ font-size:11px; color:var(--reszg-ip); margin-top:4px; display:block; }

/* Typing Indicator */
.kif8u7{
  display:flex; gap:8px; padding:10px 14px; background:var(--ypvm5-qhby);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.wjo0na7xa{ width:8px; height:8px; border-radius:50%; background:var(--reszg-ip); animation:typingDot 1.4s infinite; }
.wjo0na7xa:nth-child(2){ animation-delay:.2s; }
.wjo0na7xa: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) */
.l6yr4pr{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.fvoirb_xd{
  border:0; border-radius:999px; padding:8px 12px; background:var(--yr46y-r0y); 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(--m82-zv);
}
.fvoirb_xd:is(:hover,:focus){ transform:translateY(-1px); }
a.fvoirb_xd{ text-decoration:none; display:inline-block; }
a.fvoirb_xd:link, a.fvoirb_xd:visited{ color:#fff; }
a.fvoirb_xd:hover, a.fvoirb_xd:focus{ color:#fff; }

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

/* Footer */
.lhxd8bsc75{
  padding:16px; background:var(--ypvm5-qhby); border-top:1px solid var(--z17v-bjo8);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.d1qxoowfa{
  flex:1; padding:10px 14px; border:1px solid var(--z17v-bjo8); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--b4ke-rt);
  background:var(--ggc-bhcv); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.d1qxoowfa:focus{ border-color:var(--yr46y-r0y); }
.d1qxoowfa::placeholder{ color:var(--reszg-ip); }
.d1qxoowfa.mvblr0bp{ border-color:#c00; }
.oxtywsun{
  width:40px; height:40px; min-width:40px; border:none; background:var(--yr46y-r0y); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.oxtywsun:disabled{ opacity:.5; cursor:not-allowed; }
.oxtywsun:not(:disabled):hover{ transform:scale(1.05); }
.oxtywsun:not(:disabled):active{ transform:scale(0.95); }
.oxtywsun:focus{ outline:2px solid var(--yr46y-r0y); outline-offset:2px; }
.oxtywsun svg{ width:20px; height:20px; }

/* Character Counter */
.t9_4hzvmf7{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--reszg-ip); }
.t9_4hzvmf7.wgt93gxuy{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.d72gthrn{
  align-self:flex-start;
  max-width:75%;
  background: var(--ypvm5-qhby);
  color: var(--b4ke-rt);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--m82-zv);
}
.fa3a_60y{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.qp5dru.dgff86yx{
  background: transparent; color: var(--b4ke-rt); border-color: var(--z17v-bjo8);
}
.qp5dru.dgff86yx:hover{
  background: var(--yr46y-r0y); color:#fff; border-color: var(--yr46y-r0y);
}

/* Mobile */
@media (max-width: 768px){
  .j41wok{ bottom:16px; right:16px; }
  .j41wok.jxyh83oi{ left:16px; }
  .odmeo90lb{ --ai209-rt3:60px; }
  .nfxkur8{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--f9tt30-wzz8) var(--f9tt30-wzz8) 0 0; transform: translateY(100%);
  }
  .nfxkur8.lfxzhu2r{ transform: translateY(0); }
  .n3y8cz495u{ padding:20px; }
  .lhxd8bsc75{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.j41wok :focus-visible{ outline:2px solid var(--yr46y-r0y); outline-offset:2px; }

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