/* ══ DAC chatbot ══ (all classes prefixed .dacb- so nothing on the page clashes) */
.dacb-fab{position:fixed;right:1.25rem;bottom:1.25rem;z-index:80;
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  height:56px;min-width:56px;padding:0;border:none;border-radius:999px;cursor:pointer;
  background:#B026FF;color:#fff;
  box-shadow:0 10px 30px -8px rgba(176,38,255,.55),0 2px 8px rgba(0,0,0,.12);
  font-family:'Outfit',system-ui,sans-serif;font-size:.9rem;font-weight:600;
  transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,background .2s}
.dacb-fab:hover{transform:translateY(-3px) scale(1.04);background:#9a1fe0}
.dacb-fab:active{transform:scale(.96)}
.dacb-fab img{width:30px;height:30px;pointer-events:none}
.dacb-fab .dacb-x{display:none;font-size:1.3rem;line-height:1}
.dacb-fab.open .dacb-ic{display:none}
.dacb-fab.open .dacb-x{display:block}
.dacb-fab .dacb-ping{position:absolute;top:3px;right:3px;width:11px;height:11px;border-radius:999px;
  background:#22C55E;border:2px solid #fff}
.dacb-fab.open .dacb-ping{display:none}
@media(max-width:640px){.dacb-fab{right:1rem;bottom:1rem;height:52px;min-width:52px}}

/* teaser bubble */
.dacb-teaser{position:fixed;right:5.5rem;bottom:2rem;z-index:80;max-width:min(230px,60vw);
  background:#fff;border:1px solid rgba(176,38,255,.25);border-radius:1rem;border-bottom-right-radius:.3rem;
  padding:.7rem .9rem;box-shadow:0 14px 40px -12px rgba(0,0,0,.25);
  font-family:'Inter',system-ui,sans-serif;font-size:.82rem;line-height:1.5;color:#1a1a1a;
  opacity:0;transform:translateY(8px) scale(.94);pointer-events:none;transition:.35s cubic-bezier(.22,1,.36,1)}
.dacb-teaser.on{opacity:1;transform:none;pointer-events:auto;cursor:pointer}
.dacb-teaser b{color:#8A12D8}
@media(max-width:640px){.dacb-teaser{right:4.6rem;bottom:1.6rem}}

/* panel */
.dacb-panel{position:fixed;right:1.25rem;bottom:5.75rem;z-index:85;
  width:min(390px,calc(100vw - 2.5rem));height:min(580px,calc(100vh - 8rem));
  display:flex;flex-direction:column;overflow:hidden;
  background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:1.25rem;
  box-shadow:0 30px 70px -20px rgba(0,0,0,.35);
  font-family:'Inter',system-ui,sans-serif;
  opacity:0;transform:translateY(14px) scale(.97);pointer-events:none;
  transition:opacity .28s cubic-bezier(.22,1,.36,1),transform .28s cubic-bezier(.22,1,.36,1)}
.dacb-panel.on{opacity:1;transform:none;pointer-events:auto}
@media(max-width:640px){
  .dacb-panel{right:0;left:0;bottom:0;width:100vw;height:100dvh;max-height:100dvh;
    border-radius:0;border:none;transform:translateY(100%)}
  .dacb-panel.on{transform:none}
}

.dacb-head{display:flex;align-items:center;gap:.65rem;padding:.9rem 1rem;
  background:linear-gradient(135deg,#B026FF,#8A12D8);color:#fff;flex-shrink:0}
.dacb-head img{width:34px;height:34px;border-radius:999px;background:rgba(255,255,255,.15);padding:2px;flex-shrink:0}
.dacb-head .dacb-t{flex:1;min-width:0}
.dacb-head b{display:block;font-family:'Outfit',system-ui,sans-serif;font-size:1rem;font-weight:600;line-height:1.2}
.dacb-head span{display:flex;align-items:center;gap:.3rem;font-size:.7rem;opacity:.9}
.dacb-head span i{width:6px;height:6px;border-radius:999px;background:#4ADE80;display:inline-block;
  animation:dacb-pulse 2s ease-in-out infinite}
@keyframes dacb-pulse{0%,100%{opacity:1}50%{opacity:.35}}
.dacb-head button{width:32px;height:32px;flex-shrink:0;border:none;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,.15);color:#fff;font-size:1rem;line-height:1;
  display:flex;align-items:center;justify-content:center;transition:background .2s}
.dacb-head button:hover{background:rgba(255,255,255,.3)}

.dacb-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
  padding:1rem;background:#F7F7FB;display:flex;flex-direction:column;gap:.7rem}
.dacb-body::-webkit-scrollbar{width:6px}
.dacb-body::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:99px}

.dacb-msg{max-width:86%;font-size:.87rem;line-height:1.6;animation:dacb-in .3s cubic-bezier(.22,1,.36,1)}
@keyframes dacb-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.dacb-bot{align-self:flex-start;background:#fff;color:#1a1a1a;
  border:1px solid rgba(0,0,0,.07);border-left:3px solid #B026FF;
  border-radius:.9rem;border-bottom-left-radius:.25rem;padding:.7rem .9rem;
  box-shadow:0 2px 10px -4px rgba(0,0,0,.08)}
.dacb-me{align-self:flex-end;background:#1a1a1a;color:#fff;
  border-radius:.9rem;border-bottom-right-radius:.25rem;padding:.6rem .9rem}
.dacb-bot b{color:#1a1a1a;font-weight:600}
.dacb-bot a{color:#8A12D8;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.dacb-bot a:hover{color:#B026FF}
.dacb-bot ul{margin:.45rem 0 .1rem;padding-left:0;list-style:none}
.dacb-bot li{position:relative;padding-left:.9rem;margin-bottom:.25rem}
.dacb-bot li::before{content:'';position:absolute;left:0;top:.6rem;width:5px;height:5px;
  border-radius:99px;background:#B026FF}
.dacb-bot .dacb-hi{color:#8A12D8;font-weight:700}

/* typing */
.dacb-typing{align-self:flex-start;display:flex;gap:4px;padding:.75rem .9rem;background:#fff;
  border:1px solid rgba(0,0,0,.07);border-left:3px solid #B026FF;
  border-radius:.9rem;border-bottom-left-radius:.25rem}
.dacb-typing i{width:6px;height:6px;border-radius:99px;background:#B026FF;opacity:.4;
  animation:dacb-dot 1.2s infinite}
.dacb-typing i:nth-child(2){animation-delay:.15s}
.dacb-typing i:nth-child(3){animation-delay:.3s}
@keyframes dacb-dot{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

/* chips */
.dacb-chips{display:flex;flex-wrap:wrap;gap:.35rem;align-self:flex-start;max-width:100%}
.dacb-chip{background:#fff;border:1px solid rgba(176,38,255,.35);color:#8A12D8;
  border-radius:999px;padding:.4rem .8rem;font-family:'Inter',system-ui,sans-serif;
  font-size:.76rem;font-weight:500;cursor:pointer;transition:.18s;line-height:1.3}
.dacb-chip:hover{background:#B026FF;color:#fff;border-color:#B026FF;transform:translateY(-1px)}


/* browse-all menu (replaces the old text input) */
.dacb-menu{flex-shrink:0;background:#fff;border-top:1px solid rgba(0,0,0,.07);
  max-height:0;overflow:hidden;transition:max-height .32s cubic-bezier(.22,1,.36,1)}
.dacb-menu.on{max-height:300px;overflow-y:auto}
.dacb-menu-in{padding:.9rem .9rem 1rem}
.dacb-cat{font-family:'Inter',system-ui,sans-serif;font-size:.6rem;letter-spacing:.16em;
  text-transform:uppercase;color:#a8a8b3;font-weight:700;margin:.95rem 0 .45rem}
.dacb-menu-in > .dacb-cat:first-child{margin-top:0}
.dacb-q{display:block;width:100%;text-align:left;background:#F7F7FB;
  border:1px solid rgba(0,0,0,.06);border-radius:.7rem;padding:.52rem .72rem;
  margin-bottom:.3rem;cursor:pointer;font-family:'Inter',system-ui,sans-serif;
  font-size:.79rem;line-height:1.35;color:#1a1a1a;transition:.15s}
.dacb-q:hover{background:#B026FF;border-color:#B026FF;color:#fff;transform:translateX(2px)}
.dacb-browse{display:flex;width:100%;align-items:center;gap:.55rem;cursor:pointer;
  background:#F7F7FB;border:1px solid rgba(0,0,0,.09);border-radius:999px;
  padding:.68rem 1rem;font-family:'Inter',system-ui,sans-serif;font-size:.85rem;
  font-weight:500;color:#1a1a1a;transition:.2s}
.dacb-browse:hover{border-color:#B026FF;background:#fff;color:#8A12D8}
.dacb-browse svg{width:16px;height:16px;flex:none}
.dacb-browse span:first-of-type{flex:1;text-align:left}
.dacb-caret{font-size:.7rem;color:#a8a8b3;transition:transform .25s}
.dacb-browse[aria-expanded="true"] .dacb-caret{transform:rotate(180deg)}

.dacb-foot{flex-shrink:0;padding:.75rem;background:#fff;border-top:1px solid rgba(0,0,0,.07)}
.dacb-in{display:flex;gap:.5rem;align-items:center}
.dacb-in input{flex:1;min-width:0;background:#F7F7FB;border:1px solid rgba(0,0,0,.09);
  border-radius:999px;padding:.7rem 1rem;font-family:'Inter',system-ui,sans-serif;
  font-size:.87rem;color:#1a1a1a;outline:none;transition:.2s}
.dacb-in input::placeholder{color:#b4b4c0}
.dacb-in input:focus{border-color:#B026FF;box-shadow:0 0 0 3px rgba(176,38,255,.12);background:#fff}
.dacb-in button{width:40px;height:40px;flex-shrink:0;border:none;border-radius:999px;cursor:pointer;
  background:#B026FF;color:#fff;display:flex;align-items:center;justify-content:center;transition:.2s}
.dacb-in button:hover{background:#1a1a1a}
.dacb-in button svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2}
.dacb-note{text-align:center;font-size:.64rem;color:#a8a8b3;margin-top:.5rem;letter-spacing:.02em}

@media(prefers-reduced-motion:reduce){
  .dacb-fab,.dacb-panel,.dacb-teaser,.dacb-msg,.dacb-typing i{transition:none!important;animation:none!important}
}
