html.cq-access-pending body {
  overflow: hidden !important;
}

html.cq-access-pending body > *:not(.cq-access-overlay) {
  filter: blur(7px) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.cq-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  overflow: auto;
  background: #f6f8fb;
  color: #182433;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.cq-access-overlay[hidden] {
  display: none !important;
}

.cq-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  min-height: 100%;
}

.cq-login-story {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 54px clamp(32px, 6vw, 76px);
  background: #0d263b;
  color: #fff;
}

.cq-login-brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
}

.cq-login-brand span {
  color: #90b6d4;
}

.cq-login-brand small {
  display: block;
  margin-top: 7px;
  color: #9eb8ca;
  font-size: 10px;
  letter-spacing: 2px;
}

.cq-login-eyebrow {
  color: #90b6d4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.cq-login-story h1 {
  max-width: 620px;
  margin: 14px 0 22px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.cq-login-story p {
  max-width: 540px;
  margin: 0;
  color: #c8d7e4;
  font-size: 16px;
  line-height: 1.65;
}

.cq-login-rule {
  height: 1px;
  margin: 34px 0;
  background: #2f75b5;
}

.cq-login-foot {
  color: #9eb8ca;
  font-size: 11px;
  letter-spacing: 1px;
}

.cq-login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px clamp(24px, 5vw, 64px);
  background: #f6f8fb;
}

.cq-login-form {
  width: min(430px, 100%);
}

.cq-login-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  background: #e8f2fb;
  color: #1f5f96;
  font-weight: 900;
}

.cq-login-form h2 {
  margin: 18px 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.cq-login-copy {
  margin: 0 0 22px;
  color: #5d6979;
  font-size: 13px;
  line-height: 1.6;
}

.cq-login-form label {
  display: grid;
  gap: 7px;
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 750;
}

.cq-login-form input {
  box-sizing: border-box;
  width: 100%;
  padding: 12px;
  border: 1px solid #aeb9c7;
  border-radius: 6px;
  background: #fff;
  color: #182433;
  font: inherit;
}

.cq-login-form input[readonly] {
  background: #edf2f7;
  color: #5d6979;
}

.cq-login-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.cq-login-actions button {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #1f5f96;
  border-radius: 6px;
  background: #1f5f96;
  color: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.cq-login-actions button:disabled {
  opacity: .55;
  cursor: wait;
}

.cq-login-actions a {
  color: #1f5f96;
  font-size: 13px;
  font-weight: 750;
}

.cq-login-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
}

.cq-login-text-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #1f5f96;
  font: 750 13px/1.4 Inter, "Segoe UI", Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cq-login-error {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #9d403b;
  font-size: 13px;
}

.cq-login-divider {
  height: 1px;
  margin: 22px 0;
  background: #dee5ed;
}

.cq-login-note {
  color: #5d6979;
  font-size: 12px;
  line-height: 1.55;
}

.cq-session-button,
.cq-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 9px 12px;
  border: 1px solid #aeb9c7;
  border-radius: 6px;
  background: #fff;
  color: #173a55;
  font: 800 12px/1 Inter, "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.cq-session-button:hover,
.cq-account-link:hover {
  border-color: #2f75b5;
  background: #e8f2fb;
  color: #0d263b;
}

.cq-session-button-fallback {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2147482000;
  box-shadow: 0 4px 14px rgba(7, 26, 43, .12);
}

@media (max-width: 760px) {
  .cq-login-shell {
    grid-template-columns: 1fr;
  }

  .cq-login-story {
    min-height: 270px;
    padding: 28px;
  }

  .cq-login-story h1 {
    margin-top: 18px;
    font-size: 38px;
  }

  .cq-login-story p {
    font-size: 13px;
  }

  .cq-login-rule,
  .cq-login-foot {
    display: none;
  }

  .cq-login-main {
    padding: 34px 22px;
  }

  .cq-login-form {
    max-width: 540px;
  }

  .cq-login-form h2 {
    font-size: 26px;
  }
}
