/* These rules are active before the deferred staff styles arrive. */
html.admin-route body {
  margin:0;
  background:#f5f3ed;
  color:#23241f;
}
html.admin-route.admin-theme-dark body {
  background:#191a17;
  color:#f5f1e7;
}
html.admin-route :is(.site-header,.site-footer,.mobile-nav,.search-panel,.sale-banner,.research-strip,.pbrx-support) {
  display:none!important;
}
html.admin-route #main {
  min-height:100vh;
  min-height:100svh;
}
html.admin-route #main>.admin-boot {
  display:grid;
  place-content:center;
  min-height:100vh;
  min-height:100svh;
  padding:24px;
  color:inherit;
  font:600 13px/1.5 system-ui,sans-serif;
  text-align:center;
}
html.admin-route #main>.admin-boot>.admin-boot__mark {
  display:none!important;
}
/* Reserve the storefront's loading viewport without affecting staff page content. */
html:not(.admin-route) #main:has(>.admin-boot),
html:not(.admin-route) #main>.admin-boot {
  min-height:calc(100vh - 94px);
  min-height:max(0px,calc(100svh - 94px));
}
html:not(.admin-route) #main>.admin-boot {
  display:grid;
  place-content:center;
  padding:32px;
}
/* First-time visitors see a neutral surface until the acknowledgment is mounted. */
html.pbrx-entry-pending:not(.admin-route) body>* {
  visibility:hidden;
}
html.pbrx-entry-pending:not(.admin-route)::before {
  content:'';
  position:fixed;
  inset:0;
  z-index:2147483646;
  background:#f4f3ef;
}
@media(max-width:760px) {
  html:not(.admin-route) #main:has(>.admin-boot),
  html:not(.admin-route) #main>.admin-boot {
    min-height:calc(100vh - 82px);
    min-height:max(0px,calc(100svh - 82px));
  }
}
