:root{
 --agcb-green:#4ade80;
 --agcb-blue:#00b4a8;
 --agcb-bg:#fff;
 --agcb-text:#1b1b1b;
 --agcb-shadow:0 12px 40px rgba(0,0,0,.15);
 --agcb-radius:20px;
 font-family:Inter,Roboto,sans-serif;
}
#agcb-bubble{
 position:fixed;left:50%;bottom:22px;transform:translateX(-50%);
 width:64px;height:64px;border-radius:50%;
 background:linear-gradient(135deg,var(--agcb-blue),var(--agcb-green));
 color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;
 box-shadow:var(--agcb-shadow);cursor:pointer;transition:.3s;
 animation:pulse 3s infinite;
}
@keyframes pulse{0%,100%{transform:translateX(-50%) scale(1)}50%{transform:translateX(-50%) scale(1.08)}}
#agcb-window{
 display:none;position:fixed;left:50%;bottom:96px;transform:translateX(-50%);
 width:90vw;max-width:420px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);
 border-radius:var(--agcb-radius);box-shadow:var(--agcb-shadow);
 overflow:hidden;
 animation:fadeUp .25s ease-out;
}
@keyframes fadeUp{from{opacity:0;transform:translate(-50%,20px);}to{opacity:1;transform:translate(-50%,0);}}
.agcb-header{
 background:linear-gradient(135deg,var(--agcb-blue),var(--agcb-green));
 color:#fff;padding:14px;font-weight:700;text-align:center;
}
.agcb-body{max-height:60vh;overflow:auto;padding:12px;background:var(--agcb-bg);}
.agcb-msg{margin:8px 0;display:flex;}
.agcb-bot .bubble{background:#f3fdf6;border-radius:12px;padding:10px 14px;color:var(--agcb-text);}
.agcb-user{justify-content:flex-end;}
.agcb-user .bubble{background:var(--agcb-green);color:#fff;border-radius:12px;padding:10px 14px;}
.agcb-input{display:flex;gap:6px;padding:10px;border-top:1px solid #eaeaea;background:#fff;}
.agcb-input input{flex:1;padding:10px;border:1px solid #ccc;border-radius:8px;}
.agcb-input button{padding:10px 14px;background:var(--agcb-blue);color:#fff;border:none;border-radius:8px;}
.agcb-typing{padding-left:4px;}
.agcb-typing span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#777;margin-right:3px;animation:blink 1.2s infinite;}
.agcb-typing span:nth-child(2){animation-delay:.2s;}
.agcb-typing span:nth-child(3){animation-delay:.4s;}
@keyframes blink{0%,100%{opacity:.3}50%{opacity:1}}
