/* Compact the existing, backend-connected diagnostic flow when it is hosted in the homepage modal. */
.wx-online-test.is-embedded {
  min-height: 100%;
  overflow-x: hidden;
}

.wx-online-test.is-embedded .test-wrap {
  width: calc(100% - 40px);
  max-width: 1200px;
}

.wx-online-test.is-embedded #main {
  padding: 16px 0 22px;
}

.wx-online-test.is-embedded .test-progress {
  margin-top: 0;
}

.wx-online-test.is-embedded .test-footer {
  display: none;
}

@media (max-width: 600px) {
  .wx-online-test.is-embedded .test-wrap {
    width: calc(100% - 28px);
  }

  .wx-online-test.is-embedded #main {
    padding-top: 10px;
  }
}
