/* ===== ZENLO AI chat bubble ===== */
.zc-launch{position:fixed;right:20px;bottom:20px;z-index:120;display:flex;align-items:center;gap:10px;border:0;cursor:pointer;
  padding:0 20px 0 6px;height:60px;border-radius:99px;color:#fff;font:800 .95rem "Archivo",system-ui,sans-serif;
  background:linear-gradient(120deg,#2563EB,#7C3AED 60%,#C026D3);box-shadow:0 14px 34px rgba(76,29,149,.45);transition:transform .2s}
.zc-launch:hover{transform:translateY(-3px)}
.zc-launch .zc-ico{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.18);display:grid;place-items:center;position:relative}
.zc-launch .zc-ico::after{content:"";position:absolute;right:4px;top:4px;width:11px;height:11px;border-radius:50%;background:#22C55E;border:2px solid #6D28D9}
.zc-launch svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.zc-launch.hide{transform:scale(.6);opacity:0;pointer-events:none}

.zc-panel{position:fixed;right:20px;bottom:20px;z-index:130;width:min(390px,calc(100vw - 24px));height:min(620px,calc(100dvh - 40px));
  display:flex;flex-direction:column;border-radius:24px;overflow:hidden;background:#F6F7FB;color:#0B1230;
  font-family:"Archivo",system-ui,sans-serif;box-shadow:0 30px 80px rgba(11,18,48,.45),0 0 0 1px rgba(124,58,237,.25);
  transform-origin:bottom right;transform:scale(.85) translateY(20px);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .2s}
.zc-panel.open{transform:none;opacity:1;pointer-events:auto}
.zc-head{display:flex;align-items:center;gap:12px;padding:16px 16px 14px;color:#fff;background:linear-gradient(120deg,#0B1230,#1E1B4B 60%,#3B0764)}
.zc-av{width:40px;height:40px;border-radius:12px;background:#2563EB;display:grid;place-items:center;flex:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.zc-av svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.zc-head b{display:block;font-size:1rem}
.zc-head small{display:flex;align-items:center;gap:6px;font-size:.78rem;opacity:.8}
.zc-head small::before{content:"";width:8px;height:8px;border-radius:50%;background:#22C55E}
.zc-x{margin-left:auto;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:1.3rem;cursor:pointer}
.zc-x:hover{background:rgba(255,255,255,.22)}
.zc-body{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.zc-msg{max-width:85%;padding:10px 14px;border-radius:18px;font-size:.94rem;line-height:1.45;white-space:pre-wrap;word-wrap:break-word;animation:zcpop .3s ease}
.zc-msg.bot{align-self:flex-start;background:#fff;border:1px solid #E1E5EF;border-bottom-left-radius:6px}
.zc-msg.me{align-self:flex-end;color:#fff;background:linear-gradient(110deg,#2563EB,#7C3AED);border-bottom-right-radius:6px}
.zc-msg.note{align-self:stretch;max-width:none;text-align:center;font-size:.78rem;color:#5A6380;background:none;padding:2px}
.zc-msg.ok{align-self:stretch;max-width:none;background:#ECFDF3;border:1px solid #A7F3C4;color:#14532D;font-size:.88rem}
.zc-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 15px;background:#fff;border:1px solid #E1E5EF;border-radius:18px}
.zc-typing i{width:7px;height:7px;border-radius:50%;background:#A3AAC2;animation:zcblink 1s infinite}
.zc-typing i:nth-child(2){animation-delay:.15s}.zc-typing i:nth-child(3){animation-delay:.3s}
.zc-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px}
.zc-chips button{border:1.5px solid #C7CDF5;background:#fff;color:#3730A3;border-radius:99px;padding:7px 12px;font:700 .82rem "Archivo",system-ui,sans-serif;cursor:pointer}
.zc-chips button:hover{background:#EEF0FF}
.zc-form{display:flex;gap:8px;padding:12px;border-top:1px solid #E1E5EF;background:#fff}
.zc-form textarea{flex:1;resize:none;border:1.5px solid #E1E5EF;border-radius:16px;padding:10px 12px;font:inherit;font-size:.95rem;max-height:110px;outline:none;background:#F6F7FB}
.zc-form textarea:focus{border-color:#7C3AED;background:#fff}
.zc-send{width:46px;height:46px;flex:none;border:0;border-radius:50%;cursor:pointer;background:linear-gradient(120deg,#2563EB,#7C3AED);display:grid;place-items:center}
.zc-send:disabled{opacity:.5;cursor:default}
.zc-send svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.zc-lead{display:grid;gap:8px;padding:12px;margin:0 16px 12px;border-radius:16px;background:#fff;border:1px solid #E1E5EF}
.zc-lead b{font-size:.9rem}
.zc-lead input{border:1.5px solid #E1E5EF;border-radius:12px;padding:9px 11px;font:inherit;font-size:.9rem;outline:none}
.zc-lead input:focus{border-color:#7C3AED}
.zc-lead .zc-row{display:flex;gap:8px}
.zc-lead button{border:0;border-radius:99px;padding:10px;font:800 .9rem "Archivo",system-ui,sans-serif;cursor:pointer;background:linear-gradient(100deg,#FDE68A,#F6B90E 45%,#F59E0B);color:#0B1230}
.zc-lead .zc-cancel{background:#EEF0F6;color:#5A6380;flex:0 0 auto;padding:10px 14px}
.zc-foot{font-size:.7rem;color:#8A91A8;text-align:center;padding:0 12px 10px;background:#fff}
@keyframes zcpop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes zcblink{50%{opacity:.25}}
@media (max-width:900px){.zc-launch{bottom:86px;right:14px;padding-right:6px}.zc-launch .zc-txt{display:none}}
@media (max-width:600px){.zc-panel{right:0;bottom:0;width:100vw;height:100dvh;border-radius:0}}
@media (prefers-reduced-motion:reduce){.zc-panel,.zc-launch,.zc-msg{transition:none;animation:none}}
