/* Floating action button: circle -> pill (on scroll) -> box (on click) */
.pcfab{--fab-bg:linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%);--fab-fg:#fff;--fab-accent:#ff5e14;--fab-h:48px;--fab-pill-w:200px;--fab-open-w:264px;--fab-open-h:360px;
  position:fixed;right:24px;bottom:24px;z-index:9990;width:var(--fab-open-w);height:var(--fab-h);pointer-events:none;font-family:inherit}
.pcfab-box{position:absolute;right:0;bottom:0;width:var(--fab-h);height:var(--fab-h);border-radius:999px;overflow:hidden;pointer-events:auto;
  background:var(--fab-bg);color:var(--fab-fg);box-shadow:0 14px 34px rgba(30,58,138,.45),0 4px 10px rgba(11,18,32,.18);
  transition:width .55s cubic-bezier(.22,.9,.3,1),height .55s cubic-bezier(.22,.9,.3,1),border-radius .55s cubic-bezier(.22,.9,.3,1),box-shadow .3s ease;
  transform:translateZ(0);opacity:0;animation:pcfabIn .6s .6s cubic-bezier(.22,.9,.3,1) forwards}
@keyframes pcfabIn{from{opacity:0;transform:translateY(16px) scale(.8)}to{opacity:1;transform:none}}
.pcfab-box::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(37,99,235,.55);animation:pcfabPulse 2.6s ease-out infinite;pointer-events:none}
.pcfab.is-pill .pcfab-box::after,.pcfab.is-open .pcfab-box::after{animation:none}
@keyframes pcfabPulse{0%{box-shadow:0 0 0 0 rgba(37,99,235,.5)}70%{box-shadow:0 0 0 18px rgba(37,99,235,0)}100%{box-shadow:0 0 0 0 rgba(37,99,235,0)}}
.pcfab.is-pill .pcfab-box{width:var(--fab-pill-w)}
.pcfab.is-open .pcfab-box{width:var(--fab-open-w);height:var(--fab-open-h);border-radius:22px;box-shadow:0 24px 60px rgba(11,18,32,.35),0 6px 16px rgba(11,18,32,.18)}
.pcfab-head{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;height:var(--fab-h);padding:0 18px 0 0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}
.pcfab-head:focus-visible{outline:3px solid #fff;outline-offset:-5px}
.pcfab-ico{position:relative;flex:0 0 var(--fab-h);width:var(--fab-h);height:var(--fab-h);display:grid;place-items:center}
.pcfab-ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .5s cubic-bezier(.22,.9,.3,1)}
.pcfab-label{flex:1 1 auto;white-space:nowrap;font-size:15px;font-weight:700;letter-spacing:.01em;opacity:0;transform:translateX(-8px);transition:opacity .3s ease,transform .45s cubic-bezier(.22,.9,.3,1)}
.pcfab.is-pill .pcfab-label,.pcfab.is-open .pcfab-label{opacity:1;transform:none;transition-delay:.15s}
.pcfab-x{position:absolute;top:0;right:0;width:var(--fab-h);height:var(--fab-h);display:grid;place-items:center;opacity:0;transform:rotate(-90deg) scale(.6);transition:opacity .25s,transform .45s cubic-bezier(.22,.9,.3,1);pointer-events:none}
.pcfab-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.pcfab.is-open .pcfab-x{opacity:1;transform:none;transition-delay:.15s}
.pcfab.is-open .pcfab-ico svg{transform:scale(1.05)}
.pcfab-panel{padding:4px 16px 18px;opacity:0;transform:translateY(10px);transition:opacity .25s ease,transform .45s cubic-bezier(.22,.9,.3,1);visibility:hidden}
.pcfab.is-open .pcfab-panel{opacity:1;transform:none;visibility:visible;transition:opacity .4s ease .2s,transform .5s cubic-bezier(.22,.9,.3,1) .15s,visibility 0s}
.pcfab-title{margin:0 2px 12px;font-size:13px;line-height:1.45;color:rgba(255,255,255,.82)}
.pcfab-act{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-top:8px;border-radius:14px;background:rgba(255,255,255,.12);color:#fff!important;text-decoration:none;font-weight:600;font-size:15px;transition:background .2s,transform .2s}
.pcfab-act:hover{background:rgba(255,255,255,.22);transform:translateX(3px)}
.pcfab-act:focus-visible{outline:2px solid #fff;outline-offset:2px}
.pcfab-act.is-primary{background:var(--fab-accent);box-shadow:0 8px 18px rgba(255,94,20,.35)}
.pcfab-act.is-primary:hover{background:#ff7b3d}
.pcfab-act svg{flex:0 0 22px;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pcfab-act small{display:block;font-weight:400;font-size:12px;opacity:.8;margin-top:1px}
@media(max-width:520px){.pcfab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));--fab-open-w:min(316px,calc(100vw - 32px))}}
@media(prefers-reduced-motion:reduce){.pcfab-box,.pcfab-label,.pcfab-x,.pcfab-panel{transition-duration:.01s!important;animation:none!important;opacity:1}.pcfab-box::after{display:none}}
@media print{.pcfab{display:none}}

/* fancy icon: headset with a live dot, gently floating */
.pcfab-ico svg{width:28px;height:28px;stroke-width:1.7;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25))}
.pcfab-dot{position:absolute;top:10px;right:9px;width:11px;height:11px;border-radius:50%;background:#ff5e14;border:2px solid #fff;box-shadow:0 0 0 0 rgba(255,94,20,.6);animation:pcfabDot 2s ease-out infinite}
@keyframes pcfabDot{0%{box-shadow:0 0 0 0 rgba(255,94,20,.6)}70%{box-shadow:0 0 0 8px rgba(255,94,20,0)}100%{box-shadow:0 0 0 0 rgba(255,94,20,0)}}
.pcfab:not(.is-pill):not(.is-open) .pcfab-ico svg{animation:pcfabFloat 3s ease-in-out infinite}
@keyframes pcfabFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
.pcfab.is-open .pcfab-dot{opacity:0}
/* tighter text inside action buttons */
.pcfab-act span{display:block;line-height:1.2!important;margin:0!important;padding:0!important}
.pcfab-act small{display:block;line-height:1.25!important;margin:2px 0 0!important;padding:0!important}
@media(prefers-reduced-motion:reduce){.pcfab-dot,.pcfab-ico svg{animation:none!important}}

/* compact sizing */
.pcfab{right:20px;bottom:20px}
.pcfab-ico svg{width:22px;height:22px}
.pcfab-dot{top:8px;right:7px;width:9px;height:9px}
.pcfab-head{gap:8px;padding:0 14px 0 0}
.pcfab-label{font-size:13px}
.pcfab-x{width:var(--fab-h);height:var(--fab-h)}
.pcfab-x svg{width:16px;height:16px}
.pcfab-panel{padding:2px 12px 12px}
.pcfab-title{margin:0 2px 8px;font-size:12px}
.pcfab-act{gap:10px;padding:9px 11px;margin-top:6px;border-radius:12px;font-size:13px}
.pcfab-act svg{flex:0 0 18px;width:18px;height:18px}
.pcfab-act small{font-size:11px}
@media(max-width:480px){.pcfab{right:14px;bottom:14px}}
.pcfab{transition:opacity .25s ease,transform .25s ease,visibility .25s}
.pcfab.is-away{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(16px)}
.pcfab.is-away *{pointer-events:none!important}
