/* SUNDEX p216 — keep Sonner notifications below the fixed global header. */

[data-sonner-toaster][data-y-position="top"] {
  top: calc(var(--suh-height, var(--sx127-header-h, 76px)) + 12px) !important;
  z-index: 2147483000 !important;
}

[data-sonner-toast] {
  max-width: min(420px, calc(100vw - 32px)) !important;
}

@media (max-width: 640px) {
  [data-sonner-toaster][data-y-position="top"] {
    top: calc(var(--suh-height, var(--sx127-header-h, 64px)) + 8px) !important;
    width: min(420px, calc(100vw - 24px)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
}
