.auth-card{background:#aeb6b2;border:1px solid rgba(255,255,255,.18)}
.admin-access{margin-top:18px;text-align:center;color:var(--muted)}
.admin-access summary{display:inline-block;cursor:pointer;list-style:none;font-size:10px;letter-spacing:.04em;opacity:.42;user-select:none}
.admin-access summary::-webkit-details-marker{display:none}
.admin-access summary:hover,.admin-access summary:focus-visible{opacity:.8}
.admin-login-link{display:inline-block;margin-top:10px;color:var(--muted);font-size:11px;text-decoration:none;border-bottom:1px solid transparent}
.admin-login-link:hover,.admin-login-link:focus-visible{color:var(--green2);border-bottom-color:currentColor}

/* Login only: a stationary page with the original card above the brand backdrop. */
html:has(#authShell:not([hidden])),
html:has(#authShell:not([hidden])) body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
#authShell:not([hidden]) {
  background: #fff;
  position: fixed;
  inset: 0;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
  isolation: isolate;
  padding-top: max(24px, env(safe-area-inset-top));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  padding-left: max(24px, env(safe-area-inset-left));
}
#authShell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('/renovis-logo.png') center calc(50% + 48px) / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}
#authShell > .auth-card {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: none;
  /* Only the card may scroll on short screens or while the keyboard is open. */
  -webkit-overflow-scrolling: touch;
}
