/* Preview mode: block all pointer interaction until elements are enabled individually */
html.rhh-ui-locked #root,
html.rhh-ui-locked #root * {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
}

html.rhh-ui-locked #root a,
html.rhh-ui-locked #root button,
html.rhh-ui-locked #root [role="button"],
html.rhh-ui-locked #root [tabindex]:not([tabindex="-1"]) {
  cursor: default !important;
}

html.rhh-ui-locked #root .rhh-interactive-enabled,
html.rhh-ui-locked #root .rhh-interactive-enabled * {
  pointer-events: auto !important;
  user-select: auto !important;
  -webkit-user-select: auto !important;
}

html.rhh-ui-locked #rhh-ui-lock-shield {
  display: block;
}

#rhh-ui-lock-shield {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: transparent;
  touch-action: pan-y;
  /* Must not capture clicks — language switcher sits under this layer */
  pointer-events: none !important;
}
