.cybot,.cy-edit{--anth:#1d2022;--anth-3:#3a3f42;--brand:#53d2ff;--text:#24272a;--text-2:#5d6266;--line:rgba(36,39,42,.12);--body:"Manrope",system-ui,sans-serif}
.cybot{position:fixed;right:18px;bottom:18px;z-index:70;font-family:var(--body)}
.cybot__fab{position:relative;width:64px;height:64px;border-radius:50%;border:0;cursor:pointer;background:var(--anth);color:var(--brand);display:grid;place-items:center;box-shadow:0 14px 34px -10px rgba(0,0,0,.55),0 0 0 3px rgba(83,210,255,.35);transition:transform .3s cubic-bezier(.3,1.4,.5,1),box-shadow .3s}
.cybot__fab::before{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid var(--brand);opacity:0;animation:cyPulse 2.8s ease-out infinite}
.cybot__fab:hover{transform:translateY(-3px) scale(1.05)}
.cybot__fab:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.cybot__robot{width:40px;height:40px;transition:transform .35s,opacity .25s}
.cybot__ant{fill:var(--brand);animation:cyAnt 2.4s ease-in-out infinite}
.cybot__eyes{transform-origin:32px 31px;animation:cyBlink 4.5s infinite}
.cybot__fab .cybot__robot{animation:cyBob 3.2s ease-in-out infinite}
.cybot__close{position:absolute;inset:0;display:grid;place-items:center;font-size:34px;line-height:1;color:#fff;opacity:0;transform:rotate(-90deg);transition:.3s}
.cybot.is-open .cybot__fab .cybot__robot{opacity:0;transform:scale(.5)}
.cybot.is-open .cybot__close{opacity:1;transform:none}
.cybot.is-open .cybot__fab::before{animation:none}
@keyframes cyPulse{0%{transform:scale(1);opacity:.7}70%,100%{transform:scale(1.45);opacity:0}}
@keyframes cyBlink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes cyAnt{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes cyBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.cybot__tip{position:absolute;right:0;bottom:78px;width:250px;background:#fff;color:var(--text);border-radius:14px 14px 4px 14px;padding:14px 30px 14px 16px;font-size:14px;line-height:1.5;box-shadow:0 18px 40px -16px rgba(38,41,43,.45);border:1px solid var(--line);cursor:pointer;animation:cyIn .45s cubic-bezier(.2,1.2,.4,1) both}
.cybot__tip b{display:block;margin-bottom:2px}
.cybot__tip button{position:absolute;top:6px;right:8px;border:0;background:none;font-size:18px;line-height:1;color:var(--muted,#888);cursor:pointer}
.cybot__panel{position:absolute;right:0;bottom:80px;width:min(380px,calc(100vw - 32px));height:min(600px,calc(100vh - 120px));background:#f7f5f1;border-radius:18px;box-shadow:0 30px 80px -20px rgba(20,22,24,.55);display:flex;flex-direction:column;overflow:hidden;transform-origin:100% 100%;opacity:0;visibility:hidden;transform:translateY(16px) scale(.92);transition:opacity .25s,transform .35s cubic-bezier(.2,1.1,.4,1),visibility 0s .35s}
.cybot.is-open .cybot__panel{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .35s cubic-bezier(.2,1.1,.4,1)}
.cybot__hd{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 16px;background:var(--anth);color:#fff;position:relative}
.cybot__hd::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--brand),transparent)}
.cybot__av{width:42px;height:42px;border-radius:50%;background:var(--anth-3,#3a3f42);color:var(--brand);display:grid;place-items:center;flex:none}
.cybot__av .cybot__robot{width:30px;height:30px}
.cybot__hd b{display:block;font-size:16px}
.cybot__hd small{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.65)}
.cybot__hd small i{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.2)}
.cybot__x{margin-left:auto;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.cybot__x:hover{background:rgba(255,255,255,.18)}
.cybot__log{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth;overscroll-behavior:contain}
.cybot__msg{max-width:86%;padding:11px 14px;border-radius:14px;font-size:14.5px;line-height:1.55;animation:cyIn .35s cubic-bezier(.2,1.1,.4,1) both}
.cybot__msg p{margin:0}.cybot__msg p+p,.cybot__msg ol+p,.cybot__msg p+ol{margin-top:8px}
.cybot__msg ol{margin:6px 0 0;padding-left:18px}
.cybot__msg--bot{align-self:flex-start;background:#fff;color:var(--text);border:1px solid var(--line);border-bottom-left-radius:4px}
.cybot__msg--user{align-self:flex-end;background:var(--brand);color:#0f2a35;font-weight:600;border-bottom-right-radius:4px}
.cybot__msg a{color:#0a7fa8;font-weight:700}
.cybot__links{display:grid;gap:6px;margin-top:10px}
.cybot__links a{display:block;padding:8px 12px;border-radius:8px;background:#eef9fe;color:#0a6f93;text-decoration:none;font-size:13.5px;transition:background .2s,transform .2s}
.cybot__links a:hover{background:#d9f3fd;transform:translateX(3px)}
.cybot__wa{display:block;margin-top:10px;text-align:center;padding:10px 12px;border-radius:9px;background:#1fa855;color:#fff!important;text-decoration:none}
.cybot__small{font-size:12.5px;color:var(--text-2)}
.cybot__typing{display:flex;gap:4px;padding:14px 16px}
.cybot__typing i{width:7px;height:7px;border-radius:50%;background:#9aa3a8;animation:cyDot 1s infinite}
.cybot__typing i:nth-child(2){animation-delay:.15s}.cybot__typing i:nth-child(3){animation-delay:.3s}
@keyframes cyDot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
@keyframes cyIn{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.cybot__chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 10px}
.cybot__chips:empty{display:none}
.cybot__chip{border:1px solid rgba(83,210,255,.7);background:#fff;color:var(--text);border-radius:999px;padding:7px 12px;font:600 13px var(--body);cursor:pointer;transition:background .2s,color .2s}
.cybot__chip:hover{background:var(--anth);color:#fff;border-color:var(--anth)}
.cybot__form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:#fff}
.cybot__in{flex:1;min-width:0;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font:15px var(--body);background:#f7f5f1;color:var(--text)}
.cybot__in:focus{outline:2px solid var(--brand);outline-offset:0;border-color:transparent}
.cybot__form button{width:42px;height:42px;flex:none;border:0;border-radius:50%;background:var(--brand);color:#0f2a35;display:grid;place-items:center;cursor:pointer}
.cybot__ft{margin:0;padding:0 12px 10px;background:#fff;font-size:11.5px;color:#8a9296;text-align:center}
.cybot__ft a{color:#1fa855;font-weight:700}
@media (max-width:560px){
  .cybot{right:14px;bottom:14px}
  .cybot__fab{width:58px;height:58px}
  .cybot__panel{position:fixed;left:8px;right:8px;bottom:84px;width:auto;height:min(560px,calc(100dvh - 100px))}
  .cybot__in{font-size:16px}
}
@media (prefers-reduced-motion:reduce){.cybot *,.cybot *::before{animation:none!important;transition:none!important}}
.cy-edit{position:fixed;left:16px;bottom:16px;z-index:60;background:var(--anth);color:#fff;font-size:13px;font-weight:700;padding:10px 14px;border-radius:4px;box-shadow:0 6px 20px rgba(0,0,0,.25)}
.cy-edit:hover{background:var(--brand);color:var(--anth)}
