/* Critical bootstrap paint — must load before app bundle (no blank gap). */
html[data-medi-bootstrapping] .app-shell {
  visibility: hidden !important;
  pointer-events: none !important;
}

html[data-medi-bootstrapping]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: linear-gradient(180deg, #ddedff 0.32%, #f5f9fd 34.07%);
}

body.app-initial-loading {
  overflow: hidden;
}

#medi-bootstrap-static-loader {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  background: linear-gradient(180deg, #ddedff 0.32%, #f5f9fd 34.07%);
}

#medi-bootstrap-static-loader .medi-bootstrap-static-loader__mark {
  display: block;
  width: 100px;
  height: 122px;
  overflow: visible;
  filter: drop-shadow(0 8px 24px rgba(0, 74, 174, 0.18));
  transform: translateZ(0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  #medi-bootstrap-static-loader animate,
  #medi-bootstrap-static-loader animateTransform {
    display: none;
  }
}
