.test-help {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}

.test-help-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.test-help-heading h2 {
  font-size: 19px;
  letter-spacing: -.4px;
  margin: 0;
}

.test-help-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent-text, #c74320);
  font-size: 12px;
}

.test-help-heading > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.test-help-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 16px;
  align-items: start;
}

.test-help-card {
  min-width: 0;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.test-help-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}

.test-help-card p,
.test-help-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.test-help-how ol {
  counter-reset: help-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.test-help-how li {
  position: relative;
  padding-left: 32px;
  counter-increment: help-step;
}

.test-help-how li + li {
  margin-top: 17px;
}

.test-help-how li::before {
  content: counter(help-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--accent-text, #c74320);
  background: var(--accent-soft, #fff0eb);
  font: 600 11px var(--mono);
}

.test-help-faq details + details {
  border-top: 1px solid var(--line);
}

.test-help-faq summary {
  display: list-item;
  min-height: 44px;
  padding: 12px 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.test-help-faq summary::marker {
  color: var(--accent-text, #c74320);
  font-size: 10px;
}

.test-help-faq details p {
  margin: 0 0 16px;
}

.test-help-tips {
  background: var(--surface2);
}

.test-help-tips ul {
  padding: 0 0 0 17px;
  margin: 0;
}

.test-help-tips li + li {
  margin-top: 17px;
}

.test-help-tips li::marker {
  color: var(--accent-text, #c74320);
}

@media (max-width: 900px) {
  .test-help-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .test-help-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .test-help {
    margin-top: 24px;
    padding-top: 18px;
  }

  .test-help-card {
    padding: 18px;
  }
}
