.report-access-page {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(12px, 2.5vw, 36px);
  background: #07090c;
}

.report-access {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  justify-items: center;
  width: min(100%, 980px);
  min-height: min(560px, calc(100svh - 48px));
  margin-inline: auto;
  padding: clamp(24px, 4vw, 38px) clamp(18px, 5vw, 52px) clamp(110px, 15vw, 140px);
  border: 1px solid #2b333d;
  border-radius: clamp(20px, 3vw, 30px);
  background: radial-gradient(ellipse at 50% 70%, #131b25, #090c10 70%);
  box-shadow: inset 0 1px #ffffff0a, 0 18px 65px #0006;
  text-align: center;
}

.report-access::before {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: min(300px, 54%);
  border-radius: inherit;
  background: url('assets/closing-horizon.webp') center bottom -28px / max(100%, 630px) auto no-repeat;
  mask-image: linear-gradient(transparent 38%, #000 88%);
  opacity: .8;
  content: '';
  pointer-events: none;
}

.report-access-brand { justify-self: center; font-size: 1.28rem; }
.report-access-content { width: min(100%, 480px); margin-top: clamp(36px, 7svh, 66px); }

.report-access h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.report-access-recipient { margin: 12px 0 26px; color: #bdc7d4; line-height: 1.5; overflow-wrap: anywhere; }
.report-access-recipient strong { color: #eef3f8; font-weight: 600; }

.report-code-field { position: relative; }
.report-code-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(6px, 1.6vw, 12px); }
.report-code-slots span {
  display: grid;
  place-items: center;
  height: clamp(51px, 10vw, 69px);
  border: 1px solid #3b4654;
  border-radius: clamp(9px, 1.5vw, 14px);
  background: #090c11;
  box-shadow: inset 0 1px #ffffff09, 0 4px 10px #0003;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.report-code-slots .is-active { border-color: #9ed0ff; box-shadow: 0 0 0 2px #9ed0ff32; }
.report-code-slots .is-selected { background: #1c344b; }
#report-code[aria-invalid="true"] + .report-code-slots span {
  border-color: #f27b82;
  background: #231317;
  box-shadow: 0 0 0 1px #f27b8238;
}

#report-code {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 16px;
  cursor: text;
}

.report-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.report-code-status { min-height: 1.3em; margin: 7px 0; color: #c9d4e2; font-size: .875rem; line-height: 1.3; }
.report-code-status.is-error { color: #ffafb2; }

.report-resend { margin: 8px 0 0; color: #bdc7d4; font-size: .9375rem; }
.report-resend button { padding: 3px 1px; border: 0; background: none; color: #f2f5f8; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.report-resend button:hover { color: #b7d4f7; }
.report-preview-note { margin: 12px 0 0; color: #a4afbd; font-size: .8125rem; }
.report-preview-note strong { color: #dce5ef; font-variant-numeric: tabular-nums; }

@media (max-width: 520px) {
  .report-access::before { background-position: center bottom -21px; }
}

.report-login-email {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  text-align: left;
  color: #e1e7ef;
  font-weight: 600;
}
.report-login-email[hidden] { display: none; }
.report-login-email input {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #3b4654;
  border-radius: 8px;
  background: #090c11;
  color: #eef3f8;
  font: inherit;
  font-weight: 400;
}

.report-login-email .report-access-recipient { margin: 12px 0 18px; text-align: center; font-weight: 400; }
.report-login-email button { justify-self: center; margin-top: 8px; }
.report-login-email button:disabled { cursor: wait; opacity: .65; }
.report-email-status { margin: 0; color: #ffafb2; font-size: .875rem; font-weight: 400; }
.report-email-status:empty { display: none; }
.report-login-email input[aria-invalid="true"] { border-color: #f27b82; }
.report-change-email {
  margin-top: 12px;
  padding: 4px;
  border: 0;
  background: none;
  color: #c9d4e2;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.report-access-embedded { display: block; padding: 0; }
.report-access-embedded .report-access {
  width: 100%;
  min-height: 100dvh;
  padding: 28px clamp(18px, 6vw, 50px) 62px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.report-access-embedded .report-access-brand { font-size: clamp(.94rem, 3.5vw, 1.17rem); }
.report-access-embedded .report-access-brand img { width: 24px; height: 24px; }
.report-access-embedded .report-access-content { margin-top: clamp(26px, 6vh, 34px); }
.report-access-embedded .report-access::before { opacity: .65; }
