.self-test { max-width: 720px; margin-inline: auto; }
.self-test h1, .test-result-title { margin: 0 0 .5em; }
.test-result-title { font-size: clamp(2rem, 5vw, 3rem); }
.test-intro { font-size: 1.15rem; }
.test-progress { display: grid; gap: .35rem; margin-bottom: 1.9rem; }
.test-progress-heading, .test-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.test-progress-heading { justify-content: space-between; }
.test-progress label { color: #506056; font-size: .9rem; }
.test-progress progress { display: block; width: 100%; accent-color: #244d37; }
.test-course-link { padding: .4rem .65rem; font-size: .875rem; }
.test-question fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.test-question legend { max-width: 100%; margin-bottom: 1.1rem; padding: 0; font: 1.5rem/1.25 Georgia, serif; }
.test-options { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: .38rem; }
.test-choice { position: relative; }
.test-choice input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.test-choice label {
  display: grid; place-items: center; cursor: pointer; min-height: 44px;
  padding: .3rem; border: 1px solid #707e73; border-radius: 6px; color: #20382b;
}
.test-choice input:checked + label { background: #244d37; border-color: #244d37; color: #fff; }
.test-choice input:focus-visible + label { outline: 3px solid #a45726; outline-offset: 2px; }
.test-scale { display: flex; justify-content: space-between; gap: .65rem; margin-top: .6rem; font-size: .84rem; color: #506056; }
.test-actions { padding: 1.1rem 0 0; }
.test-scores { display: grid; gap: .85rem; list-style: none; padding: 0; }
.test-scores li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .25rem .75rem; }
.test-scores meter {
  grid-column: 1 / -1; display: block; width: 100%; height: 1rem; appearance: none; background: transparent;
}
.test-scores meter::-webkit-meter-bar { background: #e4ecdf; border: 0; }
.test-scores meter::-webkit-meter-optimum-value { background: #386348; }
.test-scores meter::-moz-meter-bar { background: #386348; }
.test-summary h3 { margin-top: 0; }
.test-summary p:last-child { margin-bottom: 0; }
.test-course-next { margin-block: 1.35rem; border-color: #a4baa8; }
.test-course-next h3 { margin-top: 0; }
@media (max-width: 620px) {
  .test-options { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .test-question legend { font-size: 1.32rem; }
}
.test-entry-form { display: grid; gap: .55rem; margin-block: 1.15rem; }
.test-entry-form[hidden] { display: none; }
.test-entry-form :is(input:not([type="checkbox"]), select) { width: min(100%, 24rem); }
.test-entry-form .test-mail-course { display: flex; align-items: flex-start; gap: .55rem; font-weight: normal; }
.test-mail-course input { width: auto; margin: .28rem 0 0; flex: none; }
.test-entry-form button { justify-self: start; }
.test-entry-form p { margin: 0; }
.partner-comparison { margin-block: 1.5rem; scroll-margin-top: 1rem; }
.partner-result-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.partner-result .test-scores li { grid-template-columns: minmax(0, 1fr) max-content; }
.partner-result .test-scores meter { grid-column: 1 / -1; }
@media (max-width: 700px) { .partner-result-grid { grid-template-columns: 1fr; } }
