/* Phone layout for log in, sign up, forgot password, and Commander creation.
   Scoped to the auth shell so Job, Forge, More, and Settings keep their own screens. */
@media (max-width: 640px) {
  body.aq-auth .top a[href="#/search"],
  body.aq-auth .top a[href="#/notifications"],
  body.aq-auth .top .nb-wrap {
    display: none !important;
  }
  body.aq-auth #app .parch,
  body.aq-auth #app .legalfoot,
  body.aq-auth #app .nc-card {
    color: #1a1208;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
  }
  body.aq-auth #app .parch h2,
  body.aq-auth #app .nc-card h2 {
    color: #16225b;
    font-size: 22px;
    font-weight: 800;
    text-shadow: none;
  }
  body.aq-auth #app .parch label,
  body.aq-auth #app .nc-card label {
    color: #16225b;
    font-size: 14px;
    font-weight: 800;
  }
  body.aq-auth #app .mute,
  body.aq-auth #app .tiny,
  body.aq-auth #app .small,
  body.aq-auth #app .nc-card .sub {
    color: #1a1208;
    opacity: 1;
    font-size: 14px;
    font-weight: 800;
  }
  body.aq-auth .auth-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 12px 0 0;
  }
  body.aq-auth .auth-links .btn,
  body.aq-auth .auth-legal .btn,
  body.aq-auth .nc-nav .btn,
  body.aq-auth .nc-outrow .btn {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
  body.aq-auth .nc-nav {
    flex-wrap: wrap;
  }
  body.aq-auth .auth-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  body.aq-auth .auth-terms {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin-top: 12px;
    color: #1a1208;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
  }
  body.aq-auth .auth-terms input {
    width: 24px;
    height: 24px;
    min-height: 24px;
    flex: none;
    margin: 0;
  }
  body.aq-auth .legalfoot {
    background: #e3d4b0;
    color: #1a1208;
  }
}
