.mentorship-test-page.has-mobile-consultation-cta {
  padding-bottom: 0;
}

.mentorship-test-page > .floating-cta-group {
  display: none;
}

.test-container {
  max-width: 800px;
}

.test-container [hidden] {
  display: none !important;
}

.test-breadcrumbs,
.test-breadcrumbs a {
  color: var(--color-muted);
}

.test-intro {
  margin-bottom: 32px;
}

.test-intro h1 {
  margin: 0 0 16px;
  font: 700 40px/1.2 var(--font-heading);
}

.test-intro p {
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
}

.test-progress {
  margin-bottom: 28px;
}

.test-progress p {
  margin: 0 0 10px;
  color: var(--color-green);
  font-weight: 700;
}

.test-progress progress {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: var(--color-border);
  accent-color: var(--color-green);
}

.test-progress progress::-webkit-progress-bar {
  background: var(--color-border);
}

.test-progress progress::-webkit-progress-value {
  background: var(--color-green);
}

.test-progress progress::-moz-progress-bar {
  background: var(--color-green);
}

.test-question {
  min-width: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.test-question legend {
  max-width: 100%;
  margin-bottom: 20px;
  padding: 0;
  color: var(--color-green-deep);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: break-word;
  scroll-margin-top: 96px;
}

.test-options {
  display: grid;
  gap: 12px;
}

.test-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  cursor: pointer;
  line-height: 1.6;
  overflow-wrap: break-word;
  transition: border-color 180ms ease-out, background-color 180ms ease-out;
}

.test-option:hover,
.test-option:has(input:checked) {
  border-color: var(--color-green);
  background: #eef3f0;
}

.test-option:focus-within {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.test-option input {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  accent-color: var(--color-green);
}

.test-controls,
.test-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.test-footer form {
  margin: 0;
}

.test-error {
  margin-bottom: 24px;
  padding: 16px;
  border-left: 3px solid var(--color-error);
  color: var(--color-error);
  background: var(--color-white);
}

.test-result {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.test-result .section-kicker {
  margin: 0 0 8px;
}

.test-result h2 {
  margin: 0;
  font: 700 56px/1.1 var(--font-heading);
  scroll-margin-top: 96px;
}

.test-score {
  margin: 12px 0 20px;
  font-weight: 700;
}

.test-result-message {
  margin: 0;
  font-size: 18px;
}

.test-review {
  margin-top: 32px;
}

.test-review h2 {
  font: 700 30px/1.25 var(--font-heading);
}

.test-review-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.test-review-item summary {
  cursor: pointer;
  color: var(--color-green-deep);
  font-weight: 700;
  overflow-wrap: break-word;
}

.test-answer-status {
  display: block;
  margin: 8px 0 0 18px;
  font-size: 14px;
}

.test-correct {
  color: var(--color-success);
}

.test-incorrect {
  color: var(--color-error);
}

.test-review-content {
  padding-top: 8px;
  overflow-wrap: anywhere;
}

.test-review-content dt {
  font-weight: 700;
}

.test-review-content dd {
  margin: 4px 0 16px;
}

.test-review-content p {
  margin-bottom: 0;
}

.test-feedback {
  margin-top: 24px;
  padding: 18px;
  border-left: 3px solid var(--color-gold);
  background: var(--color-white);
  overflow-wrap: anywhere;
  scroll-margin-top: 96px;
}

.test-feedback p:last-child {
  margin-bottom: 0;
}

.test-option:has(input:disabled) {
  cursor: default;
}

.test-owner-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.test-owner-metrics dd {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.test-owner-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.test-owner-table th,
.test-owner-table td {
  padding: 12px 6px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  overflow-wrap: anywhere;
}

@media (max-width: 719px) {
  .test-section {
    padding-top: 28px;
  }

  .test-intro h1 {
    font-size: 30px;
  }

  .test-question legend {
    font-size: 19px;
  }

  .test-option {
    padding: 14px;
  }

  .test-result-message {
    font-size: 17px;
  }

  .test-footer > a,
  .test-footer form,
  .test-footer form .button {
    width: 100%;
  }

  .test-controls .button {
    padding-inline: 16px;
  }

  .test-owner-table {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .test-option {
    transition: none;
  }
}
