.entry-page {
  background: #fcfdfd;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
  color: #172131;
}

.entry-page .account-pane {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 100svh;
}

.entry-page header {
  background: transparent;
  border: 0;
}

.entry-page .brand {
  padding: 25px clamp(24px, 4vw, 58px);
  gap: 11px;
}

.entry-page .brand-symbol i:last-child { background: #fcfdfd; }

.entry-page main {
  align-self: center;
  width: min(100% - 64px, 392px);
  margin: 0 auto;
  padding: 30px 0 36px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.entry-page h1 {
  margin: 0 0 27px;
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.2;
}

.entry-page .intro {
  margin: -13px 0 26px;
  color: #505d71;
  font-size: 15px;
}

.entry-page .field { margin-bottom: 16px; }
.entry-page .field label { margin-bottom: 7px; }
.entry-page .field .hint { margin-top: 6px; }
.entry-page .field .check {
  align-items: baseline;
  font-size: 14px;
  line-height: 1.55;
}
.entry-page input[type=checkbox] {
  flex: none;
  align-self: center;
}

.entry-page .field input:not([type=checkbox]) {
  min-height: 48px;
  padding: 10px 13px;
  border-color: #a8b4c1;
  border-radius: 8px;
  font-size: 16px;
}
.entry-page .field input[aria-invalid=true] { border-color: #ad2636; }
.entry-page .errorlist { line-height: 1.5; margin: 6px 0 0; }
.entry-page .error {
  padding: 11px 12px;
  margin: 0 0 16px;
  background: #fceff0;
  border: 1px solid #e1a5ad;
  border-radius: 8px;
}
.entry-page .error .errorlist {
  padding: 0;
  margin: 0;
  list-style: none;
}

.password-shell { position: relative; }
.entry-page .password-shell.can-reveal input { padding-inline-end: 71px; }
.password-shell.can-reveal input::-ms-reveal { display: none; }
.password-visibility {
  position: absolute;
  inset: 6px 6px 6px auto;
  min-width: 58px;
  min-height: 0;
  padding: 0 8px;
  background: transparent;
  color: #0055a5;
  font-size: 13px;
}
.password-visibility:hover { background: #edf3f9; }

.entry-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  border-radius: 8px;
  font-weight: 600;
}
.entry-form .entry-primary { margin-block-start: 22px; }
.entry-primary span { font-size: 1.13em; }
.entry-page .below {
  margin: 21px 0 0;
  padding: 0;
  border: 0;
  color: #505d71;
  font-size: 14px;
  text-align: center;
}
.entry-page .below a {
  margin-inline-start: 5px;
  font-weight: 600;
}

.entry-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin: 0 0 18px;
  border: 1px solid #d8e1ed;
  border-radius: 10px;
  background: #f0f4fa;
}
.entry-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  background: #dceaff;
  color: #184e9a;
  font-weight: 650;
}
.entry-identity dl { margin: 0; min-width: 0; }
.entry-identity dt { color: #536279; font-size: 12px; }
.entry-identity dd {
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.consent-hint { margin: 0 0 19px; }
.consent-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 11px;
}
.consent-cancel { color: #505d71; }
.entry-page footer {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 14px clamp(24px, 4vw, 58px) 26px;
  font-size: 13px;
}
.entry-page footer a {
  color: #505d71;
  text-decoration-thickness: 1px;
}

.entry-visual {
  position: sticky;
  align-self: start;
  top: 0;
  min-width: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #07132b center / cover no-repeat;
}

@media (width >= 860px) {
  .entry-visual { background-image: url("signin-connection.gif"), url("signin-connection.webp"); }
}

@media (max-aspect-ratio: 5/4) {
  .entry-visual { background-size: contain; }
}

@media (width < 860px) {
  .entry-page { grid-template-columns: minmax(0, 1fr); }
  .entry-page main { width: min(100% - 48px, 392px); }
  .entry-visual { display: none; }
}

@media (max-height: 710px) {
  .entry-page .brand { padding-block: 18px; }
  .entry-page main { padding-block: 20px; }
  .entry-page footer { padding-bottom: 18px; }
}

@media (forced-colors: active) {
  .entry-identity { border-color: ButtonText; }
}
.entry-page .huawei-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-block: 16px 8px;
  border: 1px solid currentColor;
  border-radius: 12px;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
