.help-page {
  padding: 45px var(--gap) 70px;
}
.help-intro {
  background: var(--identity-blue);
  color: #fff;
  padding: 40px;
}
.help-intro h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 18px 0;
}
.help-intro p {
  font-size: 14px;
}
#help-search {
  max-width: 720px;
  margin-top: 28px;
}
#help-search label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
#help-search > div {
  display: flex;
  gap: 12px;
}
#help-query {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  background: #fffdf9;
  color: var(--ink);
  border: 0;
  padding: 14px;
  font: inherit;
}
#help-search button {
  padding: 14px 24px;
  font-size: 13px;
  white-space: nowrap;
}
.help-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.help-topics button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
}
.help-topics [aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.help-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
#help-status {
  font-size: 12px;
  color: var(--muted);
}
.help-answer {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.help-answer summary {
  min-height: 48px;
  padding: 12px 0;
  font-size: 17px;
  cursor: pointer;
}
.help-answer p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 720px;
}
.help-answer > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  text-decoration: underline;
}
.help-handoff {
  background: #fffdf9;
  padding: 28px;
  align-self: start;
}
.help-handoff h2 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.6px;
}
.help-handoff p {
  font-size: 13px;
  line-height: 1.8;
}
.help-handoff a,
.help-handoff button {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  width: 100%;
}
.help-handoff .help-demo {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.help-empty {
  padding: 28px;
  background: #fffdf9;
}
.help-empty h2 {
  font-size: 25px;
  font-weight: 400;
}
.help-empty button {
  min-height: 44px;
  text-decoration: underline;
}
.history-footer-link {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 650px) {
  .help-page {
    padding: 25px 20px 50px;
  }
  .help-intro {
    padding: 24px;
  }
  .help-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #help-search > div {
    flex-direction: column;
  }
  .help-topics button {
    padding: 10px 12px;
  }
  .help-answer summary {
    font-size: 16px;
  }
}

.help-answer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}
.help-answer summary::-webkit-details-marker {
  display: none;
}
.help-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.help-answer[open] .help-chevron {
  transform: rotate(180deg);
}

/* Shared legacy disclosures rotate span icons; answer titles remain horizontal. */
.help-answer[open] summary > span {
  transform: none;
}
