/* R123: one compact feedback style across public, account and workspace pages. */
body .raxni-shell-messages[data-rx-toast-host] {
  position: fixed !important;
  top: calc(max(80px, env(safe-area-inset-top)) + var(--r51-feedback-offset, 0px)) !important;
  right: max(24px, env(safe-area-inset-right)) !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2000 !important;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px) !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}
body .raxni-shell-messages[data-rx-toast-host]:empty,
body .raxni-shell-messages[data-rx-toast-host][hidden] { display: none !important; }
body [data-rx-toast] {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 44px;
  min-width: 0;
  margin: 0 !important;
  padding: 8px 10px 8px 12px !important;
  border: 1px solid #dcdde3 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #25262c !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  pointer-events: auto;
  animation: none !important;
  transition: opacity 160ms ease;
  transform: none !important;
}
body [data-rx-toast] > svg { flex: 0 0 18px; width: 18px !important; height: 18px !important; margin: 0 !important; color: inherit !important; }
body [data-rx-toast] .raxni-toast-copy { display: block; flex: 1; min-width: 0; }
body [data-rx-toast] .raxni-toast-copy strong { display: none; }
body [data-rx-toast] .raxni-toast-copy p,
body [data-rx-toast] > span { margin: 0; min-width: 0; overflow-wrap: anywhere; white-space: normal; color: inherit; font-size: 13px; font-weight: 400; line-height: 1.45; }
body [data-rx-toast] > span { flex: 1; }
body [data-rx-toast] [data-rx-toast-dismiss] {
  display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; min-height: 0;
  padding: 0; border: 0; border-radius: 5px; background: transparent; color: inherit;
  font: inherit; font-size: 21px; cursor: pointer; box-shadow: none;
}
body [data-rx-toast] [data-rx-toast-dismiss]:hover { background: #f0f1f4; }
body [data-rx-toast] [data-rx-toast-dismiss]:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
body [data-rx-toast].is-leaving { opacity: 0; }
/* Validation summaries and security instructions remain persistent and keep their IDs. */
body .r123-inline-feedback,
body.r86-auth-page .raxni-auth-alert { border: 1px solid #dcdde3; border-radius: 9px; background: #f7f7f9; color: #25262c; box-shadow: none; }
body .r123-inline-feedback { margin: 16px 0; padding: 12px 14px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
body .r123-inline-feedback ul { margin: 6px 0 0; padding-left: 20px; }
body.raxni-theme-dark [data-rx-toast] { background: #202127 !important; color: #f4f4f6 !important; border-color: #555762 !important; }
body.raxni-theme-dark [data-rx-toast] [data-rx-toast-dismiss]:hover { background: #34353d; }
body.raxni-prefers-high-contrast [data-rx-toast] { border-color: currentColor !important; }
@media (max-width: 760px) {
  body .raxni-shell-messages[data-rx-toast-host] {
    top: calc(max(72px, env(safe-area-inset-top)) + var(--r51-feedback-offset, 0px)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    width: min(380px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
  }
}
@media (prefers-reduced-motion: reduce) { body [data-rx-toast] { transition: none !important; } }
body[data-reduced-motion="true"] [data-rx-toast] { transition: none !important; }
@media print { body .raxni-shell-messages[data-rx-toast-host], body .rx-feedback-host { display: none !important; } }
