
/* APG Scout Global Surface v110.0 compatibility fallback. */
body[data-apg-premium-v107="true"] .apg-assistant-launcher{
  left:auto!important;
  right:max(20px,env(safe-area-inset-right))!important;
  display:flex!important;
}
body[data-apg-premium-v107="true"] .apg-assistant-panel{
  left:auto!important;
  right:max(20px,env(safe-area-inset-right))!important;
}
@media(max-width:760px){
  body[data-apg-premium-v107="true"] .apg-assistant-launcher{
    left:auto!important;
    right:max(var(--apg-premium-gutter),env(safe-area-inset-right))!important;
    display:flex!important;
  }
  body[data-apg-premium-v107="true"] .apg-assistant-panel{
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
  }
}
@media(max-width:380px){
  body[data-apg-premium-v107="true"] .apg-assistant-launcher{
    left:auto!important;
    right:max(var(--apg-premium-gutter),env(safe-area-inset-right))!important;
  }
}

/* APG Scout Global Surface v111.1 — visible/clickable globally, footer-safe. */
html body:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher{
  position:fixed!important;
  left:auto!important;
  right:max(20px,env(safe-area-inset-right))!important;
  bottom:max(20px,env(safe-area-inset-bottom))!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  z-index:980!important;
}
/* The existing footer observer owns this class. Optional Scout must yield while the
   footer interaction zone is active, then automatically return when the guard clears. */
html body:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher.apg-footer-overlap-guard{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body #apgAssistantPanel.apg-assistant-panel{
  position:fixed!important;
  left:auto!important;
  right:max(20px,env(safe-area-inset-right))!important;
  z-index:1050!important;
}
html body #apgAssistantPanel.apg-assistant-panel:not([hidden]){
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}
html body #apgAssistantPanel.apg-assistant-panel[hidden]{display:none!important}
html body.apg-compare-tray-active:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher{
  bottom:calc(92px + env(safe-area-inset-bottom))!important;
}
@media(max-width:760px){
  html body:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher{
    left:auto!important;
    right:max(18px,env(safe-area-inset-right))!important;
    bottom:max(14px,env(safe-area-inset-bottom))!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  html body:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher.apg-footer-overlap-guard{
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  html body.apg-compare-tray-active:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher{
    bottom:calc(88px + env(safe-area-inset-bottom))!important;
  }
  html body #apgAssistantPanel.apg-assistant-panel:not([hidden]){
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    max-width:none!important;
    max-height:none!important;
  }
}
@media(max-width:380px){
  html body:not(.scout-v5-open) #apgAssistantLauncher.apg-assistant-launcher{
    right:max(16px,env(safe-area-inset-right))!important;
  }
}
