/* CSS Variables */
:root {
  --uo9vv-u5k: #4f46e5;
  --tfb-lu6: #ffffff;
  --n705h8-ophe: #f9fafb;
  --e0n8i-b5: #0f172a;
  --wu79a-eoq: #6b7280;
  --wa83h6-cpr: #e5e7eb;
  --w3w2po-l67: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --qt2k-x5n7: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --mexw-t2x: 16px;
  --ovzyu-kkvv: 56px;
  --ehg-tux: 12px;
  --q8uu9-ys9a: 999999;
}

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

/* Main Container */
.oxzacp {
  position: fixed; bottom: 24px; right: 24px; z-index: var(--q8uu9-ys9a);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--e0n8i-b5);
}
.oxzacp.o9cjw8 { right: auto; left: 24px; }

/* Floating Panel - Buttons */
.uixrnzd5vc { display: flex; flex-direction: column-reverse; gap: var(--ehg-tux); align-items: center; }
.fgfral {
  width: var(--ovzyu-kkvv); height: var(--ovzyu-kkvv); min-width: var(--ovzyu-kkvv); min-height: var(--ovzyu-kkvv);
  border-radius: 50%; border: none; background: var(--uo9vv-u5k); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--w3w2po-l67);
  transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: visible;
}
.fgfral:hover { transform: scale(1.05); box-shadow: var(--qt2k-x5n7); }
.fgfral:active { transform: scale(0.95); }
.fgfral:focus { outline: 2px solid var(--uo9vv-u5k); outline-offset: 2px; }
.fgfral svg { width: 24px; height: 24px; fill: currentColor; }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .fgfral.fmdm35houq{ animation:none; }
  .fgfral,.r_vth7grl,.g3hwu3gs{ transition:none!important; animation:none!important; }
}

/* Chat Window (animate with visibility/pointer-events, not display) */
.r_vth7grl{
  position: fixed; bottom: 96px; right: 24px; width: 360px; height: 480px;
  background: var(--tfb-lu6); border-radius: var(--mexw-t2x); box-shadow: var(--qt2k-x5n7);
  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;
}
.oxzacp.o9cjw8 .r_vth7grl{ right:auto; left:24px; }
.r_vth7grl.vpqwdwtrlv{ opacity:1; transform:translateY(0) scale(1); visibility:visible; pointer-events:auto; }

/* Header */
.ikzh6tf8gh{
  padding:16px 20px; background:var(--tfb-lu6); border-bottom:1px solid var(--wa83h6-cpr);
  display:flex; align-items:center; gap:12px; min-height:64px;
}
.fmvc8x7{ width:10px; height:10px; border-radius:50%; background:var(--uo9vv-u5k); flex-shrink:0; }
.qsoxoon3{ flex:1; min-width:0; }
.k0_c17h336{ font-size:16px; font-weight:600; color:var(--e0n8i-b5); margin:0 0 2px 0; }
.nn67qbo2s{ font-size:13px; color:var(--wu79a-eoq); margin:0; }
.yybmcf6o{
  width:32px; height:32px; min-width:32px; border:none; background:transparent; color:var(--wu79a-eoq);
  cursor:pointer; border-radius:8px; display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease; flex-shrink:0;
}
.yybmcf6o:hover{ background:var(--n705h8-ophe); color:var(--e0n8i-b5); }
.yybmcf6o:focus{ outline:2px solid var(--uo9vv-u5k); outline-offset:2px; }
.yybmcf6o svg{ width:20px; height:20px; }

/* Body */
.odn_f3{
  flex:1; overflow-y:auto; padding:16px; background:var(--n705h8-ophe);
  display:flex; flex-direction:column; gap:12px;
}
.odn_f3::-webkit-scrollbar{ width:6px; }
.odn_f3::-webkit-scrollbar-track{ background:transparent; }
.odn_f3::-webkit-scrollbar-thumb{ background:var(--wa83h6-cpr); border-radius:3px; }
.odn_f3::-webkit-scrollbar-thumb:hover{ background:var(--wu79a-eoq); }

/* Messages */
.g3hwu3gs{ display:flex; gap:8px; animation:slideIn .2s ease; }
@keyframes slideIn{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.g3hwu3gs.srn4wb1wqn{ flex-direction:row-reverse; }
.bajikqkt{
  max-width:75%; padding:10px 14px; border-radius:12px; word-wrap:break-word; word-break:break-word;
}
.bajikqkt a{ color:inherit; }
.g3hwu3gs.tzgu_vkt .bajikqkt{ background:var(--tfb-lu6); color:var(--e0n8i-b5); border-bottom-left-radius:4px; }
.g3hwu3gs.srn4wb1wqn .bajikqkt{ background:var(--uo9vv-u5k); color:#fff; border-bottom-right-radius:4px; }
.f8usumc{ font-size:11px; color:var(--wu79a-eoq); margin-top:4px; display:block; }

/* Typing Indicator */
.i0ellb9{
  display:flex; gap:8px; padding:10px 14px; background:var(--tfb-lu6);
  border-radius:12px; border-bottom-left-radius:4px; max-width:fit-content;
}
.p4gx9olo5{ width:8px; height:8px; border-radius:50%; background:var(--wu79a-eoq); animation:typingDot 1.4s infinite; }
.p4gx9olo5:nth-child(2){ animation-delay:.2s; }
.p4gx9olo5: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) */
.yp7_n7l{
  display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 0; padding:0 2px;
}
.nfapd8{
  border:0; border-radius:999px; padding:8px 12px; background:var(--uo9vv-u5k); 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(--w3w2po-l67);
}
.nfapd8:is(:hover,:focus){ transform:translateY(-1px); }
a.nfapd8{ text-decoration:none; display:inline-block; }
a.nfapd8:link, a.nfapd8:visited{ color:#fff; }
a.nfapd8:hover, a.nfapd8:focus{ color:#fff; }

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

/* Footer */
.jrv9bb{
  padding:16px; background:var(--tfb-lu6); border-top:1px solid var(--wa83h6-cpr);
  display:flex; gap:12px; align-items:flex-end; position:relative;
}
.b8fkestk{
  flex:1; padding:10px 14px; border:1px solid var(--wa83h6-cpr); border-radius:20px;
  font-family:inherit; font-size:14px; line-height:1.5; color:var(--e0n8i-b5);
  background:var(--n705h8-ophe); resize:none; max-height:96px; min-height:40px; outline:none; transition:border-color .2s ease;
}
.b8fkestk:focus{ border-color:var(--uo9vv-u5k); }
.b8fkestk::placeholder{ color:var(--wu79a-eoq); }
.b8fkestk.sxzjm7f{ border-color:#c00; }
.ear09a{
  width:40px; height:40px; min-width:40px; border:none; background:var(--uo9vv-u5k); color:#fff;
  border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:transform .2s ease, opacity .2s ease;
}
.ear09a:disabled{ opacity:.5; cursor:not-allowed; }
.ear09a:not(:disabled):hover{ transform:scale(1.05); }
.ear09a:not(:disabled):active{ transform:scale(0.95); }
.ear09a:focus{ outline:2px solid var(--uo9vv-u5k); outline-offset:2px; }
.ear09a svg{ width:20px; height:20px; }

/* Character Counter */
.v74v6e{ position:absolute; bottom:4px; right:52px; font-size:11px; color:var(--wu79a-eoq); }
.v74v6e.ptfwajn{ color:#c00; font-weight:600; }

/* ---- INLINE CTA BUTTONS ("buttons" payload) ---- */
/* Looks like an operator bubble with pill buttons inside */
.xdwd32lq3{
  align-self:flex-start;
  max-width:75%;
  background: var(--tfb-lu6);
  color: var(--e0n8i-b5);
  border-radius:12px; border-bottom-left-radius:4px;
  padding:10px 12px;
  box-shadow: var(--w3w2po-l67);
}
.xj6d0n269{ display:flex; flex-wrap:wrap; gap:8px; }

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

/* Optional outline variant */
.um48keryl.mtzs9ha4o{
  background: transparent; color: var(--e0n8i-b5); border-color: var(--wa83h6-cpr);
}
.um48keryl.mtzs9ha4o:hover{
  background: var(--uo9vv-u5k); color:#fff; border-color: var(--uo9vv-u5k);
}

/* Mobile */
@media (max-width: 768px){
  .oxzacp{ bottom:16px; right:16px; }
  .oxzacp.o9cjw8{ left:16px; }
  .fgfral{ --ovzyu-kkvv:60px; }
  .r_vth7grl{
    position:fixed; bottom:0; right:0; left:0; width:100%; height:65vh; max-height:65vh;
    border-radius: var(--mexw-t2x) var(--mexw-t2x) 0 0; transform: translateY(100%);
  }
  .r_vth7grl.vpqwdwtrlv{ transform: translateY(0); }
  .ikzh6tf8gh{ padding:20px; }
  .jrv9bb{ padding:16px; padding-bottom:max(16px, env(safe-area-inset-bottom)); }
}

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

/* Focus Visible */
.oxzacp :focus-visible{ outline:2px solid var(--uo9vv-u5k); outline-offset:2px; }

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