:root{
  --whl-a-text:#141414;
  --whl-a-muted:#626762;
  --whl-a-border:#dedfd9;
  --whl-a-border-strong:#c9cbc4;
  --whl-a-primary:#6557e8;
  --whl-a-primary-hover:#5144cc;
  --whl-a-primary-soft:#efedff;
}
.whl-assistant-root{position:fixed;right:22px;bottom:108px;z-index:9999;font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.whl-assistant-root *{box-sizing:border-box}
.whl-launcher-wrap{position:relative;width:72px;height:72px}
.whl-launcher{position:absolute;inset:0;border:0;border-radius:22px;background:linear-gradient(145deg,#7567f4,#5b4fdc);color:#fff;display:grid;place-items:center;box-shadow:0 18px 42px rgba(101,87,232,.28),inset 0 1px 0 rgba(255,255,255,.35);transform-origin:center;transition:transform .18s ease,box-shadow .18s ease;animation:whlFloat 3.8s ease-in-out infinite;cursor:pointer}
.whl-launcher:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 22px 50px rgba(101,87,232,.34),inset 0 1px 0 rgba(255,255,255,.35)}
.whl-launcher svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.whl-idle-icon,.whl-chat-icon{position:absolute;inset:0;margin:auto;transition:opacity .22s ease,transform .22s ease}
.whl-idle-icon{opacity:1;transform:scale(1)}
.whl-chat-icon{opacity:0;transform:scale(.86)}
.whl-assistant-root.open .whl-idle-icon{opacity:0;transform:scale(.86)}
.whl-assistant-root.open .whl-chat-icon{opacity:1;transform:scale(1)}
.whl-eye{transform-box:fill-box;transform-origin:center;animation:whlBlink 5.2s infinite}
.whl-eye.right{animation-delay:.03s}
@keyframes whlBlink{0%,44%,48%,100%{transform:scaleY(1);opacity:1}45%,47%{transform:scaleY(.08);opacity:.9}}
@keyframes whlFloat{0%,100%{translate:0 0}50%{translate:0 -3px}}
.whl-assistant-root.shake .whl-launcher{animation:whlShake .52s ease,whlFloat 3.8s ease-in-out infinite .52s}
@keyframes whlShake{0%{transform:rotate(0)}18%{transform:rotate(-7deg)}36%{transform:rotate(6deg)}54%{transform:rotate(-4deg)}72%{transform:rotate(3deg)}100%{transform:rotate(0)}}
.whl-assistant-root.attention .whl-launcher::after{content:"";position:absolute;inset:-10px;border:1px solid rgba(101,87,232,.32);border-radius:28px;animation:whlPulse 1.25s ease-out 2}
@keyframes whlPulse{0%{transform:scale(.92);opacity:.8}100%{transform:scale(1.18);opacity:0}}
.whl-nudge{position:absolute;right:0;bottom:88px;min-width:180px;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--whl-a-border);border-radius:14px;background:#fff;color:var(--whl-a-text);box-shadow:0 18px 50px rgba(28,28,28,.12);opacity:0;transform:translateY(10px) scale(.97);pointer-events:none;transition:opacity .22s ease,transform .22s ease;white-space:nowrap}
.whl-nudge::after{content:"";position:absolute;right:26px;bottom:-7px;width:14px;height:14px;background:#fff;border-right:1px solid var(--whl-a-border);border-bottom:1px solid var(--whl-a-border);transform:rotate(45deg)}
.whl-nudge svg{width:19px;height:19px;color:var(--whl-a-primary);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.whl-nudge strong{font-size:14px}
.whl-assistant-root.nudging:not(.open) .whl-nudge{opacity:1;transform:translateY(0) scale(1)}
.whl-panel{position:absolute;right:0;bottom:88px;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 130px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(101,87,232,.18);border-radius:22px;background:rgba(255,255,255,.985);box-shadow:0 28px 80px rgba(24,24,24,.20);opacity:0;transform:translateY(14px) scale(.975);transform-origin:bottom right;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.whl-assistant-root.open .whl-panel{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}
.whl-panel-head{display:flex;align-items:center;gap:12px;padding:16px 16px 15px;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.20),transparent 25%),linear-gradient(135deg,#6557e8,#5144cc);color:#fff}
.whl-head-icon{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.14);display:grid;place-items:center;border:1px solid rgba(255,255,255,.18)}
.whl-head-icon svg,.whl-avatar svg,.whl-close svg,.whl-send svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.whl-head-icon svg{width:22px;height:22px}
.whl-head-copy{min-width:0;flex:1}
.whl-head-copy strong{display:block;font-size:15px}
.whl-head-copy span{display:block;margin-top:3px;font-size:12px;color:rgba(255,255,255,.78)}
.whl-close{width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:#fff;display:grid;place-items:center;cursor:pointer}
.whl-close:hover{background:rgba(255,255,255,.12)}
.whl-close svg{width:20px;height:20px}
.whl-messages{flex:1;overflow:auto;padding:18px;background:linear-gradient(rgba(101,87,232,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(101,87,232,.025) 1px,transparent 1px),#fbfbf9;background-size:28px 28px;scroll-behavior:smooth}
.whl-message{
  display:flex;
  gap:9px;
  align-items:flex-end;
  margin-bottom:14px;
  min-height:0;
}
.whl-message.user{justify-content:flex-end}
.whl-avatar{width:28px;height:28px;border-radius:9px;background:var(--whl-a-primary-soft);color:var(--whl-a-primary);display:grid;place-items:center;flex:0 0 auto}
.whl-avatar svg{width:15px;height:15px}
.whl-bubble{
  display:inline-block;
  width:auto;
  max-width:82%;
  min-height:0;
  padding:11px 13px;
  border-radius:14px 14px 14px 4px;
  background:#fff;
  border:1px solid var(--whl-a-border);
  color:var(--whl-a-text);
  font-size:14px;
  line-height:1.55;
  box-shadow:0 8px 18px rgba(28,28,28,.04);
  white-space:normal;
  overflow-wrap:anywhere;
  align-self:flex-end;
}
.whl-bubble a{color:var(--whl-a-primary);text-decoration:underline;text-underline-offset:2px}
.whl-message.user .whl-bubble{
  display:inline-block;
  width:auto;
  max-width:82%;
  border:0;
  border-radius:14px 14px 4px 14px;
  background:var(--whl-a-primary);
  color:#fff;
}
.whl-typing{display:inline-flex;gap:4px;align-items:center;min-height:17px}
.whl-typing span{width:5px;height:5px;border-radius:50%;background:#9ca19c;animation:whlDot 1.1s infinite ease-in-out}
.whl-typing span:nth-child(2){animation-delay:.15s}.whl-typing span:nth-child(3){animation-delay:.3s}
@keyframes whlDot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}




.whl-input-wrap{padding:12px;background:#fff;border-top:1px solid var(--whl-a-border)}
.whl-input-row{display:flex;align-items:center;gap:8px;padding:7px 7px 7px 12px;border:1px solid var(--whl-a-border-strong);border-radius:14px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.whl-input-row:focus-within{border-color:rgba(101,87,232,.50);box-shadow:0 0 0 4px rgba(101,87,232,.08)}
.whl-input{flex:1;border:0;outline:0;min-width:0;background:transparent;color:var(--whl-a-text);font-size:14px}
.whl-input::placeholder{color:#9ca19c}
.whl-send{width:38px;height:38px;border:0;border-radius:10px;background:var(--whl-a-primary);color:#fff;display:grid;place-items:center;cursor:pointer}
.whl-send:hover{background:var(--whl-a-primary-hover)}
.whl-send:disabled{opacity:.55;cursor:wait}
.whl-send svg{width:18px;height:18px}
.whl-footnote{margin:7px 4px 0;text-align:center;color:#8e938e;font-size:10px}
.whatsapp-float{bottom:22px !important}
@media(max-width:620px){
  .whl-assistant-root{right:14px;bottom:96px}
  .whl-panel{position:fixed;left:10px;right:10px;bottom:92px;width:auto;height:min(72vh,590px);transform-origin:bottom center}
  .whl-launcher-wrap{width:66px;height:66px}
  .whl-launcher{border-radius:20px}
  .whl-nudge{right:0;bottom:82px}
  .whatsapp-float{bottom:16px !important}
}
@media(prefers-reduced-motion:reduce){
  .whl-launcher,.whl-eye,.whl-assistant-root.shake .whl-launcher,.whl-assistant-root.attention .whl-launcher::after,.whl-typing span{animation:none !important}
  .whl-panel,.whl-nudge,.whl-idle-icon,.whl-chat-icon{transition:none !important}
}

.whl-answer-text{white-space:pre-wrap}
.whl-answer-action{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  padding:8px 11px;
  border:1px solid rgba(101,87,232,.20);
  border-radius:10px;
  background:var(--whl-a-primary-soft);
  color:var(--whl-a-primary) !important;
  text-decoration:none !important;
  font-size:12px;
  font-weight:600;
  transition:background .18s ease,transform .18s ease,border-color .18s ease;
}
.whl-answer-action:hover{
  background:#e6e2ff;
  border-color:rgba(101,87,232,.34);
  transform:translateY(-1px);
}
