/* TransGearHub shared WhatsApp floating chat — scoped, no third-party SDK. */
#tgh-wa{
  position:fixed;
  right:calc(18px + env(safe-area-inset-right,0px));
  bottom:calc(18px + env(safe-area-inset-bottom,0px));
  z-index:70;
  font-family:"Segoe UI",Arial,sans-serif;
  line-height:1.45;
  color:#14213d;
  -webkit-font-smoothing:antialiased;
}
#tgh-wa *{box-sizing:border-box}
#tgh-wa [hidden]{display:none!important}

#tgh-wa .tgh-wa-btn{
  position:relative;
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  border:0;border-radius:50%;
  background:#25D366;color:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.24);
  cursor:pointer;
  transition:background .18s ease, transform .18s ease, box-shadow .18s ease;
}
#tgh-wa .tgh-wa-btn:hover{background:#1ebe5b;transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.26)}
#tgh-wa .tgh-wa-btn:active{transform:translateY(0) scale(.98)}
#tgh-wa .tgh-wa-btn:focus-visible{outline:3px solid #14213d;outline-offset:3px}
#tgh-wa .tgh-wa-btn svg{width:30px;height:30px;display:block;fill:currentColor}

#tgh-wa .tgh-wa-tip{
  position:absolute;right:calc(100% + 10px);top:50%;
  transform:translateY(-50%);
  padding:7px 10px;border-radius:6px;
  background:#14213d;color:#fff;
  font-size:12px;font-weight:600;white-space:nowrap;
  opacity:0;pointer-events:none;transition:opacity .15s ease;
}
#tgh-wa .tgh-wa-btn:hover .tgh-wa-tip,
#tgh-wa .tgh-wa-btn:focus-visible .tgh-wa-tip{opacity:1}

#tgh-wa .tgh-wa-panel{
  position:absolute;right:0;bottom:calc(100% + 14px);
  width:340px;max-width:calc(100vw - 32px);
  background:#fff;
  border:1px solid #e3e9f0;
  border-top:4px solid #25D366;
  border-radius:14px;
  box-shadow:0 18px 50px rgba(15,45,78,.18);
  overflow:hidden;
  animation:tghWaIn .18s ease both;
}
@keyframes tghWaIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}

#tgh-wa .tgh-wa-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:16px 18px 12px;
  background:#fff;
}
#tgh-wa .tgh-wa-head-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#tgh-wa .tgh-wa-head-copy strong{font-size:15px;line-height:1.25;color:#14213d;letter-spacing:-.01em}
#tgh-wa .tgh-wa-head-copy span{font-size:11.5px;line-height:1.3;color:#6b7c8d;font-weight:600;letter-spacing:.01em}
#tgh-wa .tgh-wa-close{
  flex:0 0 auto;width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #e3e9f0;border-radius:50%;
  background:#fff;color:#52657a;font-size:20px;line-height:1;
  cursor:pointer;
}
#tgh-wa .tgh-wa-close:hover{background:#f4f7fa;color:#14213d}
#tgh-wa .tgh-wa-close:focus-visible{outline:3px solid #25D366;outline-offset:2px}

#tgh-wa .tgh-wa-body{padding:0 18px 18px}
#tgh-wa .tgh-wa-hello{margin:0 0 6px;font-size:14px;font-weight:800;color:#14213d}
#tgh-wa .tgh-wa-text{margin:0 0 14px;font-size:13px;line-height:1.55;color:#52657a}
#tgh-wa .tgh-wa-start{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:44px;padding:10px 14px;
  border-radius:8px;background:#25D366;color:#fff;
  font-size:13.5px;font-weight:800;text-decoration:none;
  transition:background .18s ease;
}
#tgh-wa .tgh-wa-start:hover{background:#1ebe5b;color:#fff}
#tgh-wa .tgh-wa-start:focus-visible{outline:3px solid #14213d;outline-offset:2px}

/* Keep the launcher clear of RFQ submit, Turnstile and mobile navigation. */
#tgh-wa.is-suppressed{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px)}
#tgh-wa{transition:opacity .18s ease, transform .18s ease, visibility .18s ease}

@media(max-width:480px){
  #tgh-wa{right:calc(14px + env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  #tgh-wa .tgh-wa-close{width:40px;height:40px}
  #tgh-wa .tgh-wa-btn{width:52px;height:52px}
  #tgh-wa .tgh-wa-btn svg{width:28px;height:28px}
  #tgh-wa .tgh-wa-tip{display:none}
  #tgh-wa .tgh-wa-panel{width:calc(100vw - 28px);max-width:calc(100vw - 28px);border-radius:12px}
}
@media(max-width:360px){
  #tgh-wa{right:calc(10px + env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  #tgh-wa .tgh-wa-btn{width:48px;height:48px}
  #tgh-wa .tgh-wa-btn svg{width:26px;height:26px}
  #tgh-wa .tgh-wa-head{padding:14px 14px 10px}
  #tgh-wa .tgh-wa-body{padding:0 14px 14px}
  #tgh-wa .tgh-wa-panel{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}
}

@media(prefers-reduced-motion:reduce){
  #tgh-wa,#tgh-wa .tgh-wa-btn,#tgh-wa .tgh-wa-tip,#tgh-wa .tgh-wa-start{transition:none!important}
  #tgh-wa .tgh-wa-panel{animation:none!important}
}
