/* Portal ROSES v24ETG2W - Production Guard with global DEBUG allowlist */
:root{--roses-production-guard:v24ETG2W;}
body:not([data-erph-debug="visible"]) [id*="debug" i],
body:not([data-erph-debug="visible"]) [class*="debug" i],
body:not([data-erph-debug="visible"]) [data-debug],
body:not([data-erph-debug="visible"]) [aria-label*="debug" i],
body:not([data-erph-debug="visible"]) [title*="debug" i],
body:not([data-erph-debug="visible"]) [id*="diagnostik" i],
body:not([data-erph-debug="visible"]) [class*="diagnostik" i],
body:not([data-erph-debug="visible"]) details[class*="debug" i],
body:not([data-erph-debug="visible"]) details[id*="debug" i],
body:not([data-erph-debug="visible"]) .roses-global-debug-menu,
body:not([data-erph-debug="visible"]) #rosesGlobalDebugMenu,
body:not([data-erph-debug="visible"]) #rosesDebugFab,
body:not([data-erph-debug="visible"]) #globalDebugMenu,
body:not([data-erph-debug="visible"]) .debug-menu,
body:not([data-erph-debug="visible"]) .debug-panel,
body:not([data-erph-debug="visible"]) .debug-card,
body:not([data-erph-debug="visible"]) .rkp-debug-panel,
body:not([data-erph-debug="visible"]) .tm-debug-panel,
body:not([data-erph-debug="visible"]) .slot-f4-debug,
body:not([data-erph-debug="visible"]) .notification-admin-debug-details,
body:not([data-erph-debug="visible"]) .notification-admin-teachersday-debug,
body:not([data-erph-debug="visible"]) .admin-debug,
body:not([data-erph-debug="visible"]) .super-debug,
body:not([data-erph-debug="visible"]) .dev-debug{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  max-height:0!important;
  overflow:hidden!important;
}
body:not([data-erph-debug="visible"]) button[id*="debug" i],
body:not([data-erph-debug="visible"]) a[id*="debug" i],
body:not([data-erph-debug="visible"]) summary[id*="debug" i],
body:not([data-erph-debug="visible"]) button[class*="debug" i],
body:not([data-erph-debug="visible"]) a[class*="debug" i],
body:not([data-erph-debug="visible"]) summary[class*="debug" i]{display:none!important;}
img{max-width:100%;}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important;}}


/* v24ETG2W: allow global DEBUG menu even when legacy debug panels are hidden */
body .roses-rdm-root,body .roses-rdm-root *,body #rosesRdmRoot,body #rosesRdmRoot *{
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;max-height:none!important;overflow:visible!important;
}
body .roses-rdm-root{display:block!important;}
body .roses-rdm-root .roses-rdm-btn{display:inline-flex!important;}
body .roses-rdm-root:not(.is-open) .roses-rdm-panel{display:none!important;}
body .roses-rdm-root.is-open .roses-rdm-panel{display:block!important;max-height:min(74vh,650px)!important;overflow:hidden!important;}
