.pipbot,.pipbot *{box-sizing:border-box}.pipbot__launcher{position:fixed;right:20px;bottom:20px;z-index:940;display:flex;align-items:center;gap:0.6rem;border:0;cursor:pointer;padding:0;background:transparent;font-family:inherit}.pipbot__bubble{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,#2563eb,#0d9488);box-shadow:0 12px 28px rgba(15,23,42,0.3);transition:transform 0.15s ease,box-shadow 0.15s ease}.pipbot__launcher:hover .pipbot__bubble{transform:translateY(-2px) scale(1.04)}.pipbot__bubble{position:relative}.pipbot__bubble svg{width:28px;height:28px}.pipbot__launcher-label{order:-1;background:#fff;color:#0f172a;font-size:0.85rem;font-weight:700;line-height:1;padding:0.62rem 0.9rem;border-radius:999px;white-space:nowrap;box-shadow:0 10px 24px rgba(15,23,42,0.22);border:1px solid #e2e8f0;transition:transform 0.15s ease}.pipbot__launcher:hover .pipbot__launcher-label{transform:translateY(-2px)}.pipbot__pulse{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 0 rgba(37,99,235,0.5);animation:pipbot-pulse 2.2s infinite;pointer-events:none}@keyframes pipbot-pulse{0%{box-shadow:0 0 0 0 rgba(37,99,235,0.45)}70%{box-shadow:0 0 0 16px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}@media (prefers-reduced-motion:reduce){.pipbot__pulse{animation:none}}.pipbot__badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ef4444;color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff}.pipbot__launcher-wrap{position:relative}.pipbot__nudge{position:fixed;right:20px;bottom:92px;z-index:939;max-width:250px;background:#fff;color:#0f172a;border-radius:14px 14px 4px 14px;padding:0.75rem 2rem 0.75rem 0.9rem;font-size:0.85rem;line-height:1.35;box-shadow:0 14px 32px rgba(15,23,42,0.22);border:1px solid #e2e8f0;cursor:pointer;animation:pipbot-pop 0.25s ease}.pipbot__nudge-x{position:absolute;top:4px;right:6px;border:0;background:transparent;font-size:1.1rem;line-height:1;color:#94a3b8;cursor:pointer}@keyframes pipbot-pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.pipbot__panel{position:fixed;right:20px;bottom:20px;z-index:950;width:380px;max-width:calc(100vw - 32px);height:560px;max-height:calc(100vh - 40px);display:none;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,0.35);border:1px solid #e2e8f0}.pipbot__panel.is-open{display:flex;animation:pipbot-pop 0.2s ease}.pipbot__header{display:flex;align-items:center;gap:0.7rem;padding:0.85rem 1rem;color:#fff;background:linear-gradient(135deg,#2563eb,#0d9488)}.pipbot__avatar{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,0.2);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.05rem}.pipbot__who{flex:1;min-width:0}.pipbot__who strong{display:block;font-size:0.95rem}.pipbot__status{font-size:0.75rem;opacity:0.9;display:flex;align-items:center;gap:5px}.pipbot__dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,0.3)}.pipbot__close{border:0;background:transparent;color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;padding:4px;opacity:0.9}.pipbot__close:hover{opacity:1}.pipbot__body{flex:1;overflow-y:auto;padding:1rem;background:#f8fafc;display:flex;flex-direction:column;gap:0.6rem}.pipbot__msg{max-width:82%;padding:0.6rem 0.8rem;border-radius:14px;font-size:0.9rem;line-height:1.4;white-space:pre-wrap;word-wrap:break-word}.pipbot__msg--bot{align-self:flex-start;background:#fff;color:#0f172a;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.pipbot__msg--user{align-self:flex-end;background:linear-gradient(135deg,#2563eb,#0d9488);color:#fff;border-bottom-right-radius:4px}.pipbot__msg--rich{white-space:normal;max-width:88%}.pipbot__msg--rich>*{margin:0}.pipbot__msg--rich>* + *{margin-top:0.5rem}.pipbot__msg--rich p{line-height:1.45}.pipbot__msg--rich strong{font-weight:700;color:#0b3fae}.pipbot__msg--rich ul{list-style:none;padding:0;border-left:2px solid #e2e8f0;padding-left:0.65rem}.pipbot__msg--rich li{position:relative;padding-left:0.85rem;line-height:1.4}.pipbot__msg--rich li + li{margin-top:0.3rem}.pipbot__msg--rich li::before{content:"";position:absolute;left:0;top:0.5em;width:5px;height:5px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#0d9488)}.pipbot__msg--rich a{color:#2563eb;text-decoration:underline;word-break:break-word}.pipbot__handoff{padding:0.9rem 1rem 1rem;border-top:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafc,#fff);text-align:center;animation:pipbot-pop 0.25s ease}.pipbot__handoff-title{margin:0 0 0.25rem;font-size:0.95rem;font-weight:700;color:#0f172a}.pipbot__handoff-sub{margin:0 0 0.7rem;font-size:0.78rem;line-height:1.4;color:#475569}.pipbot__handoff-btn{width:100%;padding:0.7rem 1rem;border:0;border-radius:12px;cursor:pointer;color:#fff;font:inherit;font-size:0.9rem;font-weight:600;background:linear-gradient(135deg,#2563eb,#0d9488);box-shadow:0 8px 20px rgba(37,99,235,0.25)}.pipbot__handoff-btn:hover{filter:brightness(1.05)}.pipbot__handoff-link{display:block;margin-top:0.55rem;font-size:0.76rem;color:#64748b;text-decoration:none}.pipbot__handoff-link:hover{color:#2563eb;text-decoration:underline}.pipbot__typing{display:inline-flex;gap:4px;padding:0.7rem 0.85rem}.pipbot__typing span{width:7px;height:7px;border-radius:50%;background:#94a3b8;animation:pipbot-blink 1.2s infinite ease-in-out both}.pipbot__typing span:nth-child(2){animation-delay:0.2s}.pipbot__typing span:nth-child(3){animation-delay:0.4s}@keyframes pipbot-blink{0%,80%,100%{opacity:0.3}40%{opacity:1}}.pipbot__gate{padding:1rem;border-top:1px solid #e2e8f0;background:#fff}.pipbot__gate p{margin:0 0 0.7rem;font-size:0.82rem;color:#475569}.pipbot__gate input{width:100%;padding:0.6rem 0.75rem;margin-bottom:0.55rem;border:1px solid #cbd5e1;border-radius:9px;font:inherit;font-size:0.9rem}.pipbot__gate input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.15)}.pipbot__gate-err{color:#b91c1c;font-size:0.78rem;margin:0 0 0.5rem;display:none}.pipbot__gate-err.is-shown{display:block}.pipbot__composer{display:none;align-items:flex-end;gap:0.5rem;padding:0.7rem;border-top:1px solid #e2e8f0;background:#fff}.pipbot__composer.is-shown{display:flex}.pipbot__input{flex:1;resize:none;max-height:96px;padding:0.6rem 0.75rem;border:1px solid #cbd5e1;border-radius:12px;font:inherit;font-size:0.9rem;line-height:1.35}.pipbot__input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.15)}.pipbot__send,.pipbot__gate-btn{border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#2563eb,#0d9488);font-weight:600;border-radius:12px}.pipbot__send{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.pipbot__send svg{width:20px;height:20px}.pipbot__send:disabled,.pipbot__gate-btn:disabled{opacity:0.55;cursor:default}.pipbot__gate-btn{width:100%;padding:0.7rem 1rem;font-size:0.92rem}.pipbot__fine{margin:0.55rem 0 0;font-size:0.7rem;color:#94a3b8;text-align:center}@media (max-width:480px){.pipbot__panel{right:0;bottom:0;width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.pipbot__launcher{right:16px;bottom:16px}.pipbot__launcher-label{display:none}}