/* Authentication keeps its header in flow on phones, clear of forms and the footer. */
@media (min-width: 861px) {
  .auth-access .gate--soglia .gate__body { align-content: start; padding-block: calc(var(--chrome-cell) + var(--chrome-gap) + var(--s8)) var(--s12); }
}
@media (max-width: 860px) {
  .auth-access { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-access :is(.gate, .gate__body, .shell, .field, .input, .login-password) { min-width: 0; }
  .auth-access .masthead { position: static; inset: auto; padding-block: max(var(--chrome-gap), env(safe-area-inset-top)) var(--chrome-gap); }
  .auth-access .masthead__in { justify-content: space-between; padding-inline: var(--gutter); }
  .auth-access .chrome-right { margin-left: 0; }
  .auth-access .gate { min-height: 0; }
  .auth-access .gate__body { align-content: start; padding-block: var(--s8) var(--s10); }
  .auth-access .gate__foot { padding-bottom: max(var(--s8), env(safe-area-inset-bottom)); }
}

.auth-access .mentor-login-form .input {
  font-weight: var(--weight-regular);
}
@media (max-width: 767px) {
  .auth-access .mentor-login-form .input {
    font-size: var(--text-input);
  }
}

/* Translated recovery actions must fit without clipping their text. */
.auth-access .recovery-request-submit {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
