/* Local Tools extension: reuse contact-layered's layers, tooltip and profile. */
body.english-home .ph-tools-float.ph-contact {
  --contact-accent:#C98EFF; --contact-soft:#f4e9ff;
  position:fixed; right:20px; width:78px; height:82px; z-index:90; isolation:isolate;
  color:#000035; font:inherit; font-size:14px; font-weight:750; line-height:1.7;
}
body.english-home .ph-tools-float.ph-contact {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:9px;padding:4px;border:0;border-radius:12px;background:transparent;
  text-decoration:none;cursor:pointer;touch-action:manipulation;
}
.ph-tools-float > .ph-contact-layer,.ph-tools-float > .ph-contact-label {pointer-events:none}
.ph-contact-tools .ph-contact-tooltip {pointer-events:none!important}
.ph-contact-tools .ph-contact-label {white-space:normal;text-align:center;line-height:14px;font-size:11px}
/* Shared two-line description area preserves the same padding and divider. */
body.english-home .ph-contact .ph-contact-about {min-height:44.6px;box-sizing:border-box}
.ph-contact-tools .ph-contact-profile {position:relative}
.ph-contact-tools .ph-contact-details {font-weight:750}
@media(min-width:621px) {
 body.english-home a.whatsapp-float.ph-contact-email {top:calc(50% - 104px)!important}
 body.english-home a.whatsapp-float.ph-contact-whatsapp {top:50%!important}
 body.english-home .ph-tools-float.ph-contact {top:calc(50% + 104px);transform:translateY(-50%)}
}
@media(max-width:620px) {
 body.english-home #phinq .ph-contact-ai,body.english-home a.whatsapp-float.ph-contact {width:25%!important;min-width:0!important;transform:none!important}
 body.english-home a.whatsapp-float.ph-contact-email {left:25%!important}
 body.english-home a.whatsapp-float.ph-contact-whatsapp {left:50%!important}
 body.english-home .ph-tools-float.ph-contact {top:auto;bottom:0;left:75%;right:auto;width:25%;height:calc(76px + env(safe-area-inset-bottom,0px));background:#F3F7FD;border-top:1px solid #dce6ee}
 body.english-home .ph-tools-float.ph-contact {padding:9px 4px calc(9px + env(safe-area-inset-bottom,0px));gap:4px;border-radius:0}
 .ph-contact-tools .ph-contact-label {font-size:10px;line-height:12px}
 .ph-contact-tools .ph-contact-tooltip {position:fixed;top:auto;bottom:calc(88px + env(safe-area-inset-bottom,0px));right:12px;width:258px;max-width:calc(100vw - 24px)}
}

.ph-tools-float:focus-visible {outline:2px solid #000035;outline-offset:5px}
