.access-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f7f8fa;
}
.access-header {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 38px 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e4e7ec;
  background: #fff;
  border-radius: 999px;
  color: #66727f;
  font-size: 12px;
  padding: 7px 12px;
  white-space: nowrap;
}
.access-badge > span {
  width: 6px;
  height: 6px;
  background: #17b26a;
  border-radius: 50%;
}
.access-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 90px;
  width: min(1180px, 100%);
  margin: auto;
  padding: 45px 54px 65px;
}
.access-intro h2 {
  font-size: clamp(34px, 3.5vw, 47px);
  font-weight: 600;
  letter-spacing: -1.7px;
  line-height: 1.18;
  margin: 23px 0 22px;
}
.access-intro > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: #66727f;
}
.access-points {
  margin-top: 38px;
  max-width: 340px;
}
.access-points p {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 23px;
  color: #7a8794;
  font-size: 12px;
  line-height: 1.7;
}
.access-points p > span:first-child {
  flex: 0 0 28px;
  color: #9360ef;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.access-points strong {
  display: block;
  color: #343a41;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}
.access-form-area {
  min-width: 0;
}
.account-settings-card {
  max-width: 520px;
  margin: 24px auto;
}
.access-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 10px 35px #1e212505;
}
.access-card h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 0 0 13px;
  line-height: 1.2;
}
.access-step {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1px;
  color: #8351d9;
  margin-bottom: 15px;
}
.access-description {
  font-size: 13px;
  line-height: 1.75;
  color: #66727f;
  margin: 0 0 23px;
}
.access-note {
  font-size: 12px;
  line-height: 1.7;
  color: #7a8794;
  margin: 19px 0 0;
}
.link-resend form {
  margin-top: 14px;
}
.access-help {
  text-align: center;
  max-width: 360px;
  margin: 22px auto 0;
  font-size: 11px;
  line-height: 1.8;
  color: #7a8794;
}
.access-footer {
  text-align: center;
  font-size: 11px;
  color: #96a0ab;
  padding: 22px;
}
.access-field {
  margin-bottom: 19px;
}
.access-field label,
.manual-setup label,
.recovery-label {
  display: block;
  margin-bottom: 7px;
  color: #343a41;
  font-weight: 550;
  font-size: 12px;
}
.access-field input:not([type="checkbox"]),
.manual-setup input {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #cfd3d8;
  border-radius: 8px;
  min-height: 44px;
  padding: 11px 12px;
  color: #1e2125;
  font-size: 14px;
}
.access-field input::placeholder {
  color: #96a0ab;
}
.access-field.has-error input {
  border-color: #f04438;
}
.access-field.is-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
}
.access-field.is-checkbox label {
  margin: 0;
  font-weight: 400;
}
.access-field input[type="checkbox"],
.saved-codes input {
  accent-color: #6b1aff;
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}
.field-help {
  color: #7a8794;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 8px;
}
.field-help ul {
  padding-left: 17px;
  margin: 0;
}
.field-errors,
.form-errors {
  color: #b42318;
  font-size: 12px;
  line-height: 1.7;
}
.form-errors {
  padding: 11px 13px;
  background: #fff7f6;
  border: 1px solid #fee4e2;
  border-radius: 8px;
  margin-bottom: 18px;
}
.field-errors {
  margin-top: 6px;
}
.field-errors .errorlist,
.form-errors .errorlist {
  margin: 0;
  padding-left: 15px;
}
.access-card .button {
  width: 100%;
  justify-content: center;
  gap: 18px;
  padding: 11px 15px;
  min-height: 43px;
  border-radius: 8px;
  font-size: 13px;
}
.access-card .button-primary {
  margin-top: 4px;
}
.access-card .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.form-link-row {
  display: flex;
  justify-content: flex-end;
  margin: -2px 0 22px;
  font-size: 12px;
}
.access-back {
  display: block;
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
}
.access-cancel {
  text-align: center;
  margin-top: 23px;
}
.access-cancel .button-text {
  font-size: 12px;
}
.access-notice,
.access-messages {
  padding: 13px 15px;
  border: 1px solid #e8defc;
  background: #f9f6ff;
  color: #65518b;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.access-messages p:last-child {
  margin-bottom: 0;
}
.access-status-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f2ebff;
  color: #6b1aff;
  font-size: 22px;
  margin-bottom: 22px;
}
.authenticator-qr {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}
.authenticator-qr img {
  width: 196px;
  height: 196px;
  display: block;
}
.manual-setup {
  margin: 0 0 22px;
}
.manual-setup summary {
  cursor: pointer;
  font-size: 12px;
  color: #6b1aff;
  padding: 5px 0;
}
.manual-setup label {
  margin: 14px 0 7px;
  font-size: 11px;
}
.manual-setup input {
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.manual-setup p {
  margin: 7px 0 0;
  color: #7a8794;
  font-size: 11px;
}
.recovery-codes {
  display: block;
  width: 100%;
  resize: vertical;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafbfc;
  font:
    14px/1.85 ui-monospace,
    monospace;
  padding: 15px 18px;
  color: #343a41;
  max-height: 350px;
}
.recovery-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.recovery-actions .button {
  flex: 1 1 0;
  font-size: 12px;
  padding: 9px;
}
.copy-status {
  color: #079455;
  font-size: 11px;
  min-height: 16px;
  margin: -6px 0 12px;
}
.saved-codes {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #66727f;
  font-size: 12px;
  line-height: 1.5;
  margin: 20px 0;
}
.saved-codes input {
  margin-top: 1px;
}
.security-detail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 0;
  border-top: 1px solid #edf0f3;
}
.security-detail h2 {
  font-size: 14px;
  margin: 0 0 7px;
}
.security-detail p {
  font-size: 12px;
  line-height: 1.6;
  color: #7a8794;
  margin: 0;
}
.security-detail .security-email {
  color: #343a41;
  overflow-wrap: anywhere;
  margin-bottom: 7px;
}
.security-connected {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #079455;
  font-size: 10px;
}
@media (max-width: 1000px) {
  .access-layout {
    gap: 45px;
    padding-left: 35px;
    padding-right: 35px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  }
  .access-intro h2 {
    font-size: 35px;
  }
  .access-header {
    padding: 30px 35px;
  }
}
@media (max-width: 760px) {
  .access-header {
    padding: 26px 24px;
  }
  .access-header .brand-logo {
    width: 225px;
  }
  .access-badge {
    display: none;
  }
  .access-layout {
    display: block;
    max-width: 510px;
    padding: 30px 24px 20px;
  }
  .access-intro {
    display: none;
  }
  .access-card {
    padding: 29px 26px;
  }
  .access-card h1 {
    font-size: 26px;
  }
  .access-footer {
    padding: 28px 20px;
  }
}
@media (max-width: 390px) {
  .access-layout {
    padding-left: 16px;
    padding-right: 16px;
  }
  .access-card {
    padding: 27px 21px;
  }
  .access-card h1 {
    font-size: 24px;
  }
}
