/* MSCAN account entry. Kept separate from the application workspace. */
.auth-page {
  color-scheme: dark;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: #080b10;
  color: #f5f7fa;
}
.auth-page .brand { gap: 12px; }
.auth-page .brand img {
  width: 132px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.auth-page .brand-product {
  padding: 4px 7px;
  border: 1px solid rgba(198,255,0,.27);
  border-radius: 5px;
  color: #c6ff00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
}
.auth-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
  min-width: 0;
  overflow: hidden;
  padding: 42px clamp(32px, 4vw, 72px) 32px;
  border-right: 1px solid rgba(230,237,245,.11);
  background: #0b1016;
}
.auth-visual::before {
  z-index: -2;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  border: 0;
  border-radius: 0;
  background: radial-gradient(ellipse at 85% 46%, rgba(198,255,0,.065), transparent 65%);
}
.auth-visual::after {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  transform: none;
  border: 0;
  border-radius: 0;
  background-image: linear-gradient(rgba(230,237,245,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(230,237,245,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, transparent 8%, #000 55%, transparent);
}
.auth-story {
  width: 100%;
  max-width: 490px;
  margin: 24px auto 30px;
}
.auth-story-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: #a9b3c0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}
.auth-story-kicker > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6ff00;
}
.auth-story h1 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(40px, 4.35vw, 64px);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: 1.04;
}
.auth-story h1 strong { color: #c6ff00; font-weight: inherit; }
.auth-story p {
  max-width: 430px;
  margin: 25px 0 0;
  color: #a9b3c0;
  font-size: 15px;
  line-height: 1.7;
}
.auth-network {
  margin-top: 40px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(230,237,245,.11);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(18,26,36,.9), rgba(15,21,29,.9));
}
.auth-network-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #8d9aa8;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}
.auth-network-topline span:last-child { color: #c6ff00; }
.auth-network-flow { display: flex; align-items: center; padding: 27px 4px 25px; }
.auth-network-node { flex: 0 0 66px; position: relative; text-align: center; }
.auth-network-node > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: auto;
  border: 1px solid rgba(230,237,245,.15);
  border-radius: 16px;
  background: #121a24;
  color: #a9b3c0;
}
.auth-network-node .icon { width: 23px; height: 23px; }
.auth-network-node small {
  display: block;
  margin-top: 10px;
  color: #a9b3c0;
  font-size: 10px;
  font-weight: 650;
}
.auth-network-focus > span {
  border-color: rgba(198,255,0,.4);
  background: rgba(198,255,0,.07);
  color: #c6ff00;
  box-shadow: 0 0 32px rgba(198,255,0,.06);
}
.auth-network-focus small { color: #f5f7fa; }
.auth-network-line {
  position: relative;
  flex: 1;
  margin-top: -25px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198,255,0,.08), rgba(198,255,0,.5), rgba(198,255,0,.08));
}
.auth-network-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6ff00;
}
.auth-network-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(230,237,245,.08);
  color: #8d9aa8;
  font-size: 10px;
}
.auth-network-dot { width: 4px; height: 4px; border-radius: 50%; background: #8d9aa8; }
.auth-visual footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #707d8d;
  font-size: 10px;
  line-height: 1.5;
}
.auth-visual footer > span:first-child { font-weight: 750; letter-spacing: .06em; }
.auth-main {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(28px, 4vw, 64px);
  background: #080b10;
}
.auth-form { width: 100%; max-width: 410px; }
.auth-back {
  display: inline-flex;
  width: fit-content;
  gap: 8px;
  margin-bottom: 40px;
  color: #8d9aa8;
  font-size: 12px;
  text-decoration: none;
}
.auth-back:hover { color: #f5f7fa; }
.auth-back .icon { width: 16px; height: 16px; }
.auth-form .eyebrow {
  margin-bottom: 13px;
  color: #c6ff00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.auth-form h1 {
  margin: 0 0 14px;
  color: #f5f7fa;
  font-size: clamp(30px, 2.75vw, 40px);
  font-weight: 780;
  letter-spacing: -.055em;
  line-height: 1.12;
}
.auth-form .intro { margin: 0 0 30px; color: #a9b3c0; font-size: 13px; line-height: 1.7; }
.auth-form .field { margin-bottom: 20px; }
.auth-form .field label { margin-bottom: 8px; color: #dce3eb; font-size: 12px; font-weight: 650; }
.auth-form .input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(230,237,245,.15);
  border-radius: 12px;
  background: #0f151d;
  color: #f5f7fa;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-form .input::placeholder { color: #707d8d; opacity: 1; }
.auth-form .input:hover { border-color: rgba(230,237,245,.26); }
.auth-form .input:focus { border-color: #c6ff00; outline: none; box-shadow: 0 0 0 3px rgba(198,255,0,.1); }
.auth-form .input:-webkit-autofill { -webkit-text-fill-color: #f5f7fa; -webkit-box-shadow: 0 0 0 1000px #121a24 inset; caret-color: #f5f7fa; }
.auth-form .field small { display: block; margin-top: 8px; color: #8d9aa8; font-size: 11px; line-height: 1.6; }
.auth-form .field .between { align-items: baseline; }
.auth-form .btn-link { padding: 0; color: #a9b3c0; font-size: 11px; font-weight: 550; background: transparent; border: 0; }
.auth-form .btn-link:hover { color: #c6ff00; }
.auth-form .password-wrap .input { padding-right: 50px; }
.auth-form .password-wrap .icon-button {
  top: 5px;
  right: 5px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: transparent;
  color: #8d9aa8;
}
.auth-form .password-wrap .icon-button:hover { background: #17212d; color: #f5f7fa; }
.auth-form .btn-primary {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid #c6ff00;
  border-radius: 12px;
  background: #c6ff00;
  color: #111900;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.auth-form .btn-primary:hover { background: #d4ff3d; border-color: #d4ff3d; box-shadow: 0 8px 25px rgba(198,255,0,.1); }
.auth-form .btn-primary:disabled { opacity: .55; cursor: wait; }
.auth-form .btn-primary .icon { width: 18px; height: 18px; }
.auth-form .btn-primary[aria-busy="true"] .icon { opacity: .4; }
.auth-form .auth-footer { margin: 26px 0; color: #8d9aa8; font-size: 12px; line-height: 1.7; text-align: center; }
.auth-form .auth-footer a { color: #f5f7fa; font-weight: 650; }
.auth-form .auth-footer a:hover { color: #c6ff00; }
.auth-form .auth-security {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(230,237,245,.1);
  color: #707d8d;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
.auth-security .icon { flex-shrink: 0; width: 14px; height: 14px; margin-top: 1px; }
.auth-form .notice { margin: 18px 0; padding: 13px 15px; border: 1px solid rgba(230,237,245,.12); border-radius: 12px; background: #0f151d; color: #a9b3c0; font-size: 11px; line-height: 1.7; }
.auth-form .error-text { margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(255,119,130,.22); border-radius: 10px; background: rgba(255,119,130,.06); color: #ff9aa3; font-size: 12px; line-height: 1.6; }
.auth-form .error-text[hidden], .auth-form .notice[hidden] { display: none; }
.auth-form .auth-pilot-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 27px; border: 1px solid rgba(198,255,0,.24); border-radius: 16px; background: rgba(198,255,0,.06); color: #c6ff00; }
.auth-pilot-icon .icon { width: 24px; height: 24px; }
.auth-mobile-brand { display: none; }
.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 3px solid rgba(198,255,0,.66); outline-offset: 4px; }
@media (min-width: 1600px) {
  .auth-visual { padding-left: max(72px, calc((100vw - 1450px) / 2)); }
  .auth-main { padding-right: max(64px, calc((100vw - 1400px) / 2)); }
}
@media (max-width: 1050px) {
  .auth-page { grid-template-columns: 1fr 1fr; }
  .auth-visual { padding: 34px 30px 28px; }
  .auth-story h1 { font-size: 43px; }
  .auth-story p { font-size: 13px; }
  .auth-story-kicker { font-size: 9px; letter-spacing: .09em; }
  .auth-network { padding: 18px 16px 15px; }
  .auth-visual footer { flex-direction: column; gap: 5px; }
  .auth-main { padding: 44px 32px; }
}
@media (max-width: 780px) {
  .auth-page { display: block; }
  .auth-visual { display: none; }
  .auth-main { min-height: 100vh; min-height: 100svh; padding: 32px 24px 40px; align-items: flex-start; }
  .auth-form { max-width: 440px; }
  .auth-mobile-brand { display: flex; margin: 0 0 44px; }
  .auth-back { margin-bottom: 30px; }
  .auth-form h1 { font-size: 35px; }
  .auth-form .intro { font-size: 14px; }
  .auth-form .input { font-size: 16px; }
}
@media (max-width: 380px) {
  .auth-main { padding: 28px 20px 32px; }
  .auth-form h1 { font-size: 31px; }
  .auth-mobile-brand { margin-bottom: 34px; }
  .auth-form .field .between { gap: 8px; }
}
