/* Pilot global launcher uses the existing widget.js and widget.css — no second chat engine. */
.p2ba-root.p2ba--global{--p2ba-bg:#e7def4;--p2ba-accent:#b592d9;--p2ba-ink:#211a28;--p2ba-violet:#7953a0;--p2ba-card:#fff;--p2ba-line:#e2d6ed}
.p2ba--global>.p2ba-global-launcher{position:fixed!important;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));left:auto;z-index:2139998;padding:13px 20px;background:#211a28;color:white;border-radius:999px;box-shadow:0 8px 32px rgba(33,26,40,.27);min-height:50px}
.p2ba--global>.p2ba-global-launcher:hover{background:#553a6b;color:white}
.p2ba--global.p2ba-open>.p2ba-global-launcher{visibility:hidden;pointer-events:none}
.p2ba--global .p2ba-panel{background:#e7def4}
.p2ba--global .p2ba-header{background:#fff}
.p2ba--global .p2ba-brand-icon{display:grid;place-items:center}
.p2ba--global .p2ba-global-logo{display:block;max-width:42px;max-height:42px;width:auto;height:auto;object-fit:contain}
.p2ba--global .p2ba-send{background:#211a28;color:white}
.p2ba--global .p2ba-msg--assistant{background:#fff}
.p2ba--global .p2ba-close:focus-visible{outline:2px solid #7953a0;outline-offset:3px}
@media (max-width:640px){.p2ba--global>.p2ba-global-launcher{right:max(15px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:52px;height:52px;padding:0;gap:0}.p2ba--global>.p2ba-global-launcher span+span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
@media (prefers-reduced-motion:reduce){.p2ba--global>.p2ba-global-launcher{transition:none}}

/* P2BA_LAVENDER_FAB_058 — launcher only; original chat panel styles untouched. */
.p2ba-root.p2ba--global > button.p2ba-global-launcher {
    position:fixed!important;z-index:2139998; box-sizing:border-box;
    display:grid!important;place-items:center!important; flex:initial;
    width:var(--p2ba-fab-size,52px)!important;height:var(--p2ba-fab-size,52px)!important;
    min-width:0!important;min-height:0!important;max-width:none;
    padding:0!important;margin:0!important;border:0!important;
    border-radius:50%!important;background:var(--p2ba-fab-bg,#BBA4E3)!important;
    color:var(--p2ba-fab-icon,#fff)!important;
    bottom:max(var(--p2ba-fab-bottom,20px),env(safe-area-inset-bottom));
    right:max(var(--p2ba-fab-edge,18px),env(safe-area-inset-right)); left:auto;
    box-shadow:0 5px 18px rgba(59,33,89,.14)!important;
    transition:transform .18s ease,box-shadow .18s ease;
}
.p2ba-root.p2ba--global.p2ba-fab-left > button.p2ba-global-launcher {
    right:auto!important;left:max(var(--p2ba-fab-edge,18px),env(safe-area-inset-left))!important;
}
.p2ba-root.p2ba--global > button.p2ba-global-launcher:hover { transform:translateY(-2px);background:var(--p2ba-fab-bg,#BBA4E3)!important;box-shadow:0 7px 20px rgba(59,33,89,.23)!important; }
.p2ba-root.p2ba--global > button.p2ba-global-launcher:focus-visible { outline:3px solid #69438c;outline-offset:3px; }
.p2ba-root.p2ba--global > button.p2ba-global-launcher .p2ba-fab-art {
    width:67%;height:67%;display:grid;place-items:center;line-height:0;
}
.p2ba-root.p2ba--global > button.p2ba-global-launcher .p2ba-fab-svg,
.p2ba-root.p2ba--global > button.p2ba-global-launcher .p2ba-fab-image {
    display:block;width:100%;height:100%;object-fit:contain;
}
.p2ba-root.p2ba--global > button.p2ba-global-launcher .p2ba-fab-status {
    position:absolute;width:10px;height:10px;right:0;bottom:0;
    background:var(--p2ba-fab-status,#70C96F);border-radius:50%;border:2px solid #fff;
}
.p2ba-root.p2ba--global.p2ba-open > button.p2ba-global-launcher {visibility:hidden!important;pointer-events:none!important;}
@media (min-width:768px) and (max-width:1024px) {
    .p2ba-root.p2ba--global > button.p2ba-global-launcher {
        width:var(--p2ba-fab-size-tablet,52px)!important;height:var(--p2ba-fab-size-tablet,52px)!important;
        right:max(var(--p2ba-fab-edge-tablet,18px),env(safe-area-inset-right));
        bottom:max(var(--p2ba-fab-bottom-tablet,20px),env(safe-area-inset-bottom));
    }
    .p2ba-root.p2ba--global.p2ba-fab-left > button.p2ba-global-launcher {
        left:max(var(--p2ba-fab-edge-tablet,18px),env(safe-area-inset-left))!important;
    }
}
@media (max-width:767px) {
    .p2ba-root.p2ba--global > button.p2ba-global-launcher {
        width:var(--p2ba-fab-size-mobile,50px)!important;height:var(--p2ba-fab-size-mobile,50px)!important;
        right:max(var(--p2ba-fab-edge-mobile,16px),env(safe-area-inset-right));
        bottom:max(var(--p2ba-fab-bottom-mobile,16px),env(safe-area-inset-bottom));
    }
    .p2ba-root.p2ba--global.p2ba-fab-left > button.p2ba-global-launcher {
        left:max(var(--p2ba-fab-edge-mobile,16px),env(safe-area-inset-left))!important;
    }
    .p2ba-root.p2ba--global.p2ba-fab-show-desktop > button.p2ba-global-launcher {display:none!important}
}
@media (min-width:768px) {
    .p2ba-root.p2ba--global.p2ba-fab-show-mobile > button.p2ba-global-launcher {display:none!important}
}
@media (prefers-reduced-motion:reduce){.p2ba-root.p2ba--global > button.p2ba-global-launcher {transition:none;transform:none}}
/* Keep the status dot visible on phones: legacy mobile CSS hid all second spans. */
.p2ba-root.p2ba--global > button.p2ba-global-launcher .p2ba-fab-status {
    clip:auto!important; overflow:visible!important; white-space:normal!important;
}
