/*
 * Soft Blueprint backdrop, adapted from Gautammsharma (Gautam Sharma).
 * https://uiverse.io/Gautammsharma/perfect-insect-42
 * Copyright - 2026 Gautammsharma (Gautam Sharma). MIT license.
 * Full notice: THIRD-PARTY-NOTICES.txt.
 */
body[data-soft-blueprint] {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background-color: #f8fafc;
}
body[data-soft-blueprint]::before {
  content: "";
  position: fixed;
  inset: 0;
  /* Fill the fixed viewport; svh would cap this at the toolbar-expanded height. */
  height: auto;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 20px 30px;
  background-position: center bottom;
  /* Grid A: keep the top quarter clear and fade evenly up from the viewport bottom. */
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 20%, rgba(0,0,0,.45) 45%, transparent 75%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.85) 20%, rgba(0,0,0,.45) 45%, transparent 75%);
}
/* Keep the account shell height, solid working surfaces and every control unchanged. */
#account-app { min-height: 100svh; }
/* The role preview has its own full-page canvas; retain its solid cards. */
body[data-soft-blueprint] .demo-entry { background: transparent; }
@media (max-width: 760px) {
  body[data-soft-blueprint]::before { opacity: .65; }
}
@media (forced-colors: active), print {
  body[data-soft-blueprint]::before { display: none; }
}
