html[data-editor-session] body > :not(#editor-session-notice) {
  visibility: hidden !important;
  pointer-events: none !important;
}
#editor-session-notice {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: #fff;
  color: #17251e;
  font-family: system-ui, sans-serif;
}
#editor-session-notice p { max-width: 520px; }
#editor-session-notice button {
  background: #087b45;
  color: #fff;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
html[data-editor-session="pending"]::after {
  content: "Sprawdzanie dostępu do edytora…";
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
  color: #17251e;
  font: 18px system-ui, sans-serif;
}
