.webauthn__no-js {
  .js-enabled & {
    display: none;
  }
}

.webauthn__api-missing {
  display: none;

  .js-enabled & {
    display: block;
  }

  .js-enabled.webauthn-api-enabled & {
    display: none;
  }
}

.webauthn__api-required {
  display: none;

  .webauthn-api-enabled & {
    display: block;
  }
}

.webauthn-illustration {

  @include media-down(mobile) {
    box-sizing: border-box;
    margin: govuk-spacing(6) auto 0 auto;
    padding: 0 govuk-spacing(9) 0 govuk-spacing(9);
  }

  width: 100%;
  margin: govuk-spacing(9) auto 0 auto;

}

.webauthn__no-js {
  .js-enabled & {
    display: none;
  }
}

.webauthn__api-missing {
  display: none;

  .js-enabled & {
    display: block;
  }

  .js-enabled.webauthn-api-enabled & {
    display: none;
  }
}

.webauthn__api-required {
  display: none;

  .webauthn-api-enabled & {
    display: block;
  }
}

.webauthn-illustration {

  @include govuk-media-query($from: tablet) {
    margin: govuk-spacing(9) auto 0 auto;
    padding: 0;
  }

  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: govuk-spacing(6) auto 0 auto;
  padding: 0 govuk-spacing(9) 0 govuk-spacing(9);

}

Rewrite media queries to be mobile-first
Rewrite media queries to be mobile-first

Also adds height: 100% which forces the SVG to scale, rather than just
setting width which widens the viewbox.
