.access-page {
  background: #edf3f8;
}

.access-shell {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  width: min(1060px, calc(100% - 64px));
  min-height: 576px;
  margin: max(30px, calc((100svh - 576px) / 2)) auto 30px;
  overflow: hidden;
  border: 1px solid #d6e0e8;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 20px 56px #0b2f4a12, 0 3px 12px #0b2f4a08;
}

.access-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(26px, 4vw, 45px);
  background: radial-gradient(ellipse at 100% 90%, #12446a 0, transparent 60%), #062338;
  color: #f5fbff;
}

.access-brand { display: flex; align-items: center; gap: 13px; }
.access-brand img { display: block; flex: none; border-radius: 12px; }
.access-brand strong { display: block; font: 700 25px/1.08 Cambria, Georgia, serif; }
.access-brand span { color: #afc8db; font-size: .82rem; }

.access-art {
  position: absolute;
  z-index: -1;
  inset: auto -16% -8% auto;
  width: min(138%, 570px);
  pointer-events: none;
}

.access-identity-copy { max-width: 285px; }
.access-eyebrow, .access-step {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.access-eyebrow { color: #91daff; margin-bottom: 13px; }
.access-identity-title {
  margin-bottom: 15px;
  color: #fff;
  font: 700 clamp(2.55rem, 5vw, 4.15rem)/.96 Cambria, Georgia, serif;
  letter-spacing: -.055em;
}
.access-identity-title + p { max-width: 215px; color: #d5e6f1; line-height: 1.5; }

.access-identity-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #8cb3cf48;
  color: #c5dfef;
  font-size: .8rem;
}
.access-identity-foot span { width: 6px; height: 6px; border-radius: 50%; background: #62c8ff; }

.access-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 38px clamp(26px, 5vw, 72px);
}

.access-content { width: min(100%, 390px); }
.access-content h1 {
  font-family: Cambria, Georgia, serif;
  font-size: clamp(2rem, 3.7vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.access-heading { margin-bottom: 8px; }
.access-step { display: flex; align-items: center; gap: 8px; color: #005b91; margin-bottom: 13px; }
.access-step span { width: 20px; height: 3px; border-radius: 2px; background: #0089ce; }
.access-intro { margin: 9px 0 3px; color: #466070; line-height: 1.45; }
.access-fields { gap: 12px; }
.access-fields label { gap: 7px; color: #173549; font-size: .91rem; }
.access-fields input {
  min-height: 48px;
  width: 100%;
  border: 1px solid #c6d5e1;
  border-radius: 8px;
  background: #fbfdff;
  padding: 9px 12px;
  font-size: 1rem;
}
.access-fields input::placeholder { color: #647a8b; }
.access-fields input:focus { border-color: #0075b4; }
#login > label { margin-bottom: -6px; }
.access-password { position: relative; }
.access-password input { padding-right: 75px; }
#show-password {
  position: absolute;
  inset: 5px 5px 5px auto;
  padding-inline: 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #005681;
  font-size: .85rem;
  font-weight: 700;
}
#show-password:hover { background: #eaf3fa; }
.access-content .btn { min-height: 45px; border-radius: 8px; }
.access-content .btn.primary { width: 100%; }
.access-content .access-submit {
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  padding-inline: 14px;
  background: #00548e;
  font-size: .95rem;
}
.access-content .access-submit:hover { background: #073f6b; }
.access-submit span { font-size: 1.18rem; line-height: 1; }
.access-help {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid #e2e9ef;
  color: #4d6473;
  font-size: .86rem;
  line-height: 1.45;
}
.access-content .access-back {
  justify-self: start;
  padding-inline: 3px;
  border-color: transparent;
  color: #005681;
}
#access-status:not(:empty) {
  margin-bottom: 17px;
  padding: 9px 12px;
  border-left: 3px solid #0075b4;
  background: #edf5fb;
  line-height: 1.45;
}
#recovery-codes p { margin-top: 10px; line-height: 1.45; }
#code-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; list-style: none; }
#code-list li { padding: 7px; overflow-wrap: anywhere; background: #edf5fb; font-family: monospace; font-size: .83rem; }

@media (max-width: 720px) {
  .access-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 100%; min-height: 100svh; margin: 0; border: 0; border-radius: 0; }
  .access-identity { padding: 22px 24px; }
  .access-identity-copy, .access-identity-foot { display: none; }
  .access-art { inset: auto -5% -115% auto; width: 260px; }
  .access-main { align-items: start; padding: 34px 24px; }
}

@media (max-width: 370px) {
  .access-main { padding-inline: 18px; }
  .access-content .access-submit { white-space: normal; text-align: left; }
}

/* The internal access journey shares the work application's restrained typography. */
.access-page { font-family: Aptos, "Segoe UI", system-ui, sans-serif; caret-color: #004b87; }
.access-page .access-shell { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); width: min(1040px, calc(100% - 64px)); min-height: 620px; border-radius: 16px; border: 0; box-shadow: 0 16px 48px #0b2f4a16; }
.access-page .access-identity { padding: 36px; background: #062338; }
.access-page .access-art, .access-page .access-eyebrow, .access-page .access-step { display: none; }
.access-page .access-brand strong { font-family: inherit; font-size: 24px; letter-spacing: -.02em; }
.access-page .access-identity-title { font-family: inherit; font-size: 2.5rem; line-height: 1.12; letter-spacing: -.03em; }
.access-page .access-identity-title + p { max-width: 28ch; color: #cfdfeb; line-height: 1.6; }
.access-page .access-main { padding: 40px 56px; }
.access-page .access-content { width: min(100%, 410px); }
.access-page .access-content h1 { font-family: inherit; font-size: 1.8rem; line-height: 1.25; letter-spacing: -.025em; }
.access-page .access-fields { gap: 16px; }
.access-page .access-fields label { font-size: .875rem; }
.access-page .access-fields input { min-height: 48px; border-color: #acbdcc; background: #ffffff; }
.access-page .access-content .btn { min-height: 48px; font-family: inherit; font-size: .875rem; }
.access-page .access-content .access-submit { margin-top: 4px; background: #004b87; }
.access-page .access-content .access-submit:hover { background: #063d69; }
.access-page #show-password { inset: 2px 2px 2px auto; min-height: 44px; min-width: 52px; font-family: inherit; }
.access-page .access-intro { margin-top: 12px; line-height: 1.6; }
.access-page #access-status:not(:empty) { border: 1px solid #c6dbe9; border-radius: 8px; padding: 12px; }
.access-page :is(button, input, a):focus-visible { outline: 2px solid #0075b4; outline-offset: 3px; }
.access-page #code-list { gap: 10px; }
.access-page #code-list li { border: 1px solid #dce5ed; border-radius: 6px; background: #f5f7fa; padding: 10px; }
@media (max-width: 720px) {
  .access-page .access-shell { grid-template-columns: minmax(0, 1fr); width: 100%; min-height: 100svh; border-radius: 0; box-shadow: none; }
  .access-page .access-identity { padding: 20px 24px; }
  .access-page .access-main { padding: 32px 24px; }
}
@media (max-width: 370px) { .access-page .access-main { padding: 28px 18px; } }
