/* Keep WhatsApp at its current position; give the mascot a separate lane. */
#alltech-sentinel { right:max(100px,calc(env(safe-area-inset-right) + 88px)); }
#alltech-sentinel .sentinel-launcher::before { animation:none; }
#alltech-sentinel.sentinel-greeting-first .sentinel-launcher::before {
  animation:alltech-sentinel-skin-wave 2.6s .6s ease-in-out 1;
}
#alltech-sentinel .sentinel-greeting {
  position:absolute; right:0; bottom:calc(100% + 10px); width:254px; max-width:calc(100vw - 116px);
  display:flex; align-items:flex-start; gap:4px; padding:10px 8px 10px 14px;
  border:1px solid #edcbd0; border-radius:16px 16px 5px 16px;
  background:#fff; color:#202226; box-shadow:0 10px 32px #15171b24;
  font:500 14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  animation:sentinel-greeting-appear .25s ease-out both;
}
#alltech-sentinel .sentinel-greeting[hidden] { display:none!important; }
#alltech-sentinel .sentinel-greeting::after {
  content:""; position:absolute; right:32px; top:100%; width:12px; height:12px;
  background:#fff; border-right:1px solid #edcbd0; border-bottom:1px solid #edcbd0;
  transform:translateY(-6px) rotate(45deg); pointer-events:none;
}
#alltech-sentinel .sentinel-greeting button {
  appearance:none; border:0; margin:0; background:transparent; color:inherit; font:inherit; cursor:pointer;
}
#alltech-sentinel .sentinel-greeting__message { flex:1; padding:5px 2px; text-align:left; }
#alltech-sentinel .sentinel-greeting__message:hover { color:#b30918; }
#alltech-sentinel .sentinel-greeting__close { flex:none; width:30px; min-height:34px; font-size:22px; line-height:1; border-radius:8px; }
#alltech-sentinel .sentinel-greeting button:focus-visible { outline:2px solid #e2091b; outline-offset:2px; border-radius:5px; }
@keyframes sentinel-greeting-appear { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:600px) {
  #alltech-sentinel { right:max(90px,calc(env(safe-area-inset-right) + 78px)); }
  #alltech-sentinel .sentinel-greeting { width:230px; max-width:calc(100vw - 106px); font-size:13px; padding:8px 6px 8px 12px; }
  #alltech-sentinel .sentinel-greeting__message { min-height:44px; }
  #alltech-sentinel .sentinel-greeting__close { width:36px; min-height:44px; }
}
@media(prefers-reduced-motion:reduce) {
  #alltech-sentinel.sentinel-greeting-first .sentinel-launcher::before,
  #alltech-sentinel .sentinel-greeting { animation:none; }
}
