/* Numerish ERP360 / R5 — Homepage-only floating-control collision guard.
   Do not edit shared header, footer, megamenus or global styling.
   The homepage already has direct access to the Workflow Navigator.
   Disable duplicate fixed sidebars on this landing page only. */
body[data-page-key="index"]:has(main.erp-flow-home) .ns-workflow-side-cta,
body[data-page-key="index"]:has(main.erp-flow-home) #nsGuide360Launch,
body[data-page-key="index"]:has(main.erp-flow-home) .ns-guide360-launch,
body[data-page-key="index"]:has(main.erp-flow-home) #nsGuide360,
body[data-page-key="index"]:has(main.erp-flow-home) .ns-guide360 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Keep AI support available elsewhere on the page, but never over the hero.
   Its open panel remains usable when opened via an authorized header action. */
body[data-page-key="index"].ne-hero-in-view:has(main.erp-flow-home) .ns-support-launch {
  display: none !important;
}
body[data-page-key="index"]:has(main.erp-flow-home) .ns-support {
  right: max(12px, env(safe-area-inset-right)) !important;
  bottom: calc(14px + env(safe-area-inset-bottom)) !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
body[data-page-key="index"]:has(main.erp-flow-home) .ns-support-launch {
  font-size: 12px !important;
  padding: 10px 14px !important;
  line-height: 1.2 !important;
  min-height: 38px !important;
}
@media(max-width:640px) {
  body[data-page-key="index"]:has(main.erp-flow-home) .ns-support {
    right: calc(12px + env(safe-area-inset-right)) !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    max-width: min(210px, calc(100vw - 32px)) !important;
  }
  body[data-page-key="index"]:has(main.erp-flow-home) .ns-support-launch {
    min-height: 36px !important;
    font-size: 11px !important;
    padding: 9px 12px !important;
  }
}
