/* Help page only: kept separate so the submission pages stay lightweight. */
.help-hero {
  background: linear-gradient(135deg, #0f5c9c, #0a3d69);
  color: #fff;
  border-radius: 14px;
  padding: 30px 32px;
  margin-bottom: 20px;
  box-shadow: 0 10px 26px rgba(10, 61, 105, 0.16);
}
.help-hero h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.help-hero p {
  margin: 0;
  max-width: 720px;
  opacity: 0.92;
}
.help-toc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.help-toc a {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  color: var(--brand-dark);
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.help-toc a:hover {
  border-color: var(--brand);
  box-shadow: 0 5px 14px rgba(15, 92, 156, 0.12);
  text-decoration: none;
  transform: translateY(-1px);
}
.help-toc small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.help-section {
  scroll-margin-top: 18px;
}
.help-section > h2 {
  margin-bottom: 8px;
}
.help-section-intro {
  margin: 0 0 18px;
  color: var(--muted);
}
.help-step {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.help-step:first-of-type {
  border-top: 0;
}
.help-step img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7fafc;
}
.help-step-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}
.help-step h3 {
  margin: 0 0 7px;
  color: var(--brand-dark);
}
.help-step p {
  margin: 0;
}
.help-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0 4px;
}
.help-rule {
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fbfdff;
}
.help-rule strong {
  color: var(--brand-dark);
}
.help-rule p {
  margin: 4px 0 0;
  font-size: 14px;
}
.help-code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.help-code {
  display: inline-block;
  background: #eaf2fb;
  color: var(--brand-dark);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
}
.help-note {
  padding: 13px 16px;
  margin: 16px 0 0;
  border-radius: 8px;
  background: #fef9e7;
  border: 1px solid #f9e79f;
  color: #795b0b;
}
.help-footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 0 16px;
}
@media (max-width: 760px) {
  .help-hero {
    padding: 24px 20px;
  }
  .help-hero h2 {
    font-size: 24px;
  }
  .help-toc {
    grid-template-columns: repeat(2, 1fr);
  }
  .help-step {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .help-step img {
    max-width: 420px;
  }
  .help-rules {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .help-toc {
    grid-template-columns: 1fr;
  }
}
