/* Shared first-paint shell. Original team mark; no simulated percentage. */
html,html:has(>body.unified-page) { background: #0a1026; }
html.page-loading,html.page-loading:has(>body.unified-page) { overflow: hidden; }
html body.unified-page .page-loader[aria-hidden] {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  width: auto;
  height: auto;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  touch-action: none;
  color: #eee7e5;
  background: radial-gradient(ellipse at 73% 29%,#34305c66,transparent 58%),
    radial-gradient(ellipse at 25% 77%,#71324e35,transparent 58%),
    linear-gradient(155deg,#091123,#17152e 54%,#102234);
  opacity: 1;
  transition: opacity .12s ease;
}
html.page-loading body.unified-page .page-loader[aria-hidden],
html body.unified-page .page-loader[aria-hidden][data-loader-active] { display: grid; }
html body.unified-page .page-loader[aria-hidden]::before,
html body.unified-page .page-loader[aria-hidden]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  transform: none;
  transition: none;
  will-change: auto;
}
html body.unified-page .page-loader[aria-hidden]::before {
  background-image: radial-gradient(circle,#f4e6d8a8 0 .7px,transparent 1px),
    radial-gradient(circle,#a2c3e58c 0 .8px,transparent 1.2px),
    radial-gradient(circle,#e9b39e78 0 .6px,transparent 1px);
  background-size: 127px 113px,233px 181px,173px 251px;
  background-position: 16px 23px,67px 86px,112px 47px;
  opacity: .6;
}
html body.unified-page .page-loader[aria-hidden]::after {
  background: radial-gradient(ellipse at 48% 54%,#1c1a3480,transparent 47%),
    linear-gradient(125deg,transparent 29%,#9c79b00c 47%,transparent 68%);
}
html body.unified-page .page-loader[aria-hidden] .loader-stage {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  width: min(280px,82vw);
  aspect-ratio: auto;
  margin: 0;
  padding: 24px 16px;
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
html body.unified-page .page-loader[aria-hidden] .loader-logo {
  display: block;
  width: clamp(112px,18vw,146px);
  height: auto;
  margin: 0 auto 2px;
  opacity: 1;
  transform: none;
  filter: drop-shadow(0 8px 24px #bc87b125);
  animation: none;
}
.loader-brand { color: #f3e8df; font: 500 19px/1.4 "Segoe UI",Arial,sans-serif; letter-spacing: .025em; }
.loader-status { color: #bcb7cc; font: 400 12px/1.5 "Segoe UI",Arial,sans-serif; letter-spacing: .04em; }
.loader-progress { position: relative; display: block; width: 132px; height: 2px; margin-top: 8px; overflow: hidden; background: #d9bed12b; border-radius: 2px; }
.loader-progress::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 36%; background: linear-gradient(90deg,#a7d4e1,#e8b397); animation: a2p-loader-progress 1.25s ease-in-out infinite; }
html body.unified-page .page-loader[aria-hidden].is-leaving { opacity: 0; pointer-events: none; }
@keyframes a2p-loader-progress { from { transform: translateX(-110%); } to { transform: translateX(390%); } }
@media (prefers-reduced-motion:reduce) {
  html body.unified-page .page-loader[aria-hidden] { transition: none; }
  .loader-progress::after { animation: none; width: 100%; opacity: .65; }
}
@media print { html body.unified-page .page-loader[aria-hidden] { display:none !important; } }
