/* v1.15.31 first-paint privacy boundary.
   This file intentionally lives at a release-specific root URL so a pre-v1.15.31
   service worker cannot satisfy it from an older /static or precache entry. */
html {
  min-height: 100%;
  background: #F4F7FA;
}

body[data-auth-boundary="pending"],
body[data-auth-boundary="locked"],
body[data-auth-locked="true"] {
  margin: 0;
  min-height: 100vh;
  background: #F4F7FA;
  color: #17312d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

[data-clinical-protected-shell][hidden],
body[data-auth-boundary="pending"] > [data-clinical-protected-shell],
body[data-auth-boundary="locked"] > [data-clinical-protected-shell],
body[data-auth-locked="true"] > [data-clinical-protected-shell] {
  display: none !important;
  visibility: hidden !important;
}

.clinical-protected-shell { display: contents; }

.auth-bootstrap {
  display: none;
}

body[data-auth-boundary="pending"] > .auth-bootstrap,
body[data-auth-boundary="locked"] > .auth-bootstrap,
body[data-auth-locked="true"] > .auth-bootstrap {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #F4F7FA;
}

.auth-bootstrap-card {
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
  padding: 24px;
  border: 1px solid #d7e6e2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(14, 71, 61, 0.12);
  text-align: center;
}

.auth-bootstrap-card strong {
  font-size: 1.2rem;
}

.auth-bootstrap-card span {
  color: #5d6f6b;
  font-size: 0.9rem;
}

body:not([data-auth-boundary]) > .auth-bootstrap {
  display: none !important;
}
