/* Quantic AI — landing chat widget. Self-contained: no site CSS assumed. */
.qdA-btn{position:fixed;right:20px;bottom:20px;z-index:99990;width:56px;height:56px;border-radius:50%;
  border:0;cursor:pointer;background:radial-gradient(120% 120% at 30% 20%,#1c2f63 0%,#0b1020 70%);
  box-shadow:0 10px 30px -8px rgba(11,16,32,.55),0 0 0 1px rgba(109,92,255,.25);
  display:flex;align-items:center;justify-content:center;transition:transform .15s ease}
.qdA-btn:hover{transform:scale(1.06)}
.qdA-btn svg{width:34px;height:34px}
.qdA-badge{position:absolute;top:-2px;right:-2px;min-width:19px;height:19px;border-radius:999px;background:#ff5470;
  color:#fff;font:700 11px/19px ui-sans-serif,system-ui;text-align:center;padding:0 5px;
  box-shadow:0 0 0 2px #fff;display:none}
.qdA-btn[data-unread="1"] .qdA-badge{display:block}
@media (prefers-reduced-motion:no-preference){
  .qdA-btn[data-unread="1"]{animation:qdA-pulse 2.4s ease-in-out infinite}
  @keyframes qdA-pulse{0%,100%{box-shadow:0 10px 30px -8px rgba(11,16,32,.55),0 0 0 1px rgba(109,92,255,.25)}
    50%{box-shadow:0 10px 30px -8px rgba(11,16,32,.55),0 0 0 6px rgba(37,227,194,.18)}}
}
.qdA-preview{position:fixed;right:20px;bottom:88px;z-index:99990;max-width:260px;background:#fff;color:#101528;
  border:1px solid #e6e9f2;border-radius:14px 14px 4px 14px;padding:10px 13px;font:500 13px/1.45 ui-sans-serif,system-ui;
  box-shadow:0 14px 34px -12px rgba(16,21,40,.25);cursor:pointer;display:none}
.qdA-preview.show{display:block}
.qdA-panel{position:fixed;right:20px;bottom:88px;z-index:99991;width:min(344px,calc(100vw - 24px));height:min(480px,70vh);
  background:#0a0f1e;border:1px solid rgba(109,92,255,.28);border-radius:16px;display:none;flex-direction:column;
  overflow:hidden;box-shadow:0 24px 60px -18px rgba(5,8,18,.7);font-family:ui-sans-serif,system-ui,-apple-system,sans-serif}
.qdA-panel.open{display:flex}
.qdA-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:linear-gradient(135deg,#101a3a,#0a0f1e);
  border-bottom:1px solid rgba(255,255,255,.07)}
.qdA-head svg{width:30px;height:30px;flex:none}
.qdA-head .n{color:#f1f4ff;font-size:14px;font-weight:700}
.qdA-head .s{display:flex;align-items:center;gap:5px;color:#8fe3cf;font-size:11px}
.qdA-head .s::before{content:"";width:7px;height:7px;border-radius:50%;background:#25e3c2}
.qdA-x{margin-left:auto;background:none;border:0;color:#9aa3c0;font-size:20px;cursor:pointer;line-height:1;padding:4px}
.qdA-x:hover{color:#fff}
.qdA-msgs{flex:1;overflow-y:auto;padding:14px 12px;display:flex;flex-direction:column;gap:9px}
.qdA-m{max-width:85%;padding:9px 12px;border-radius:13px;font-size:13px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.qdA-m.a{background:#161f3d;color:#e8ecfa;border-bottom-left-radius:4px;align-self:flex-start}
.qdA-m.u{background:#25e3c2;color:#04231c;border-bottom-right-radius:4px;align-self:flex-end}
.qdA-m a{color:#6ff0d9;text-decoration:underline}
.qdA-m.u a{color:#04443a}
.qdA-typing{align-self:flex-start;display:flex;gap:4px;padding:11px 14px;background:#161f3d;border-radius:13px;border-bottom-left-radius:4px}
.qdA-typing i{width:6px;height:6px;border-radius:50%;background:#8b93c7;animation:qdA-b 1.1s infinite}
.qdA-typing i:nth-child(2){animation-delay:.18s}.qdA-typing i:nth-child(3){animation-delay:.36s}
@keyframes qdA-b{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.qdA-in{display:flex;gap:8px;padding:10px;border-top:1px solid rgba(255,255,255,.07);background:#0c1226}
.qdA-in input{flex:1;background:#131b36;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#eef1ff;
  font-size:13px;padding:10px 12px;outline:none}
.qdA-in input:focus{border-color:rgba(37,227,194,.5)}
.qdA-in button{background:#25e3c2;color:#04231c;border:0;border-radius:10px;font-weight:700;font-size:13px;
  padding:0 14px;cursor:pointer}
.qdA-in button:disabled{opacity:.5;cursor:default}
.qdA-note{padding:6px 12px 10px;color:#6d76a0;font-size:10.5px;text-align:center;background:#0c1226}
@media (max-width:480px){
  .qdA-panel{right:8px;left:8px;width:auto;bottom:82px;height:min(520px,72vh)}
  .qdA-preview{right:14px}
}
