.help-page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

/* The Help & FAQ tab of support.html shows the same search inside the page. */
.help-page--embedded {
  width: 100%;
  padding: 0;
}

.help-page__intro {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.help-page__search {
  margin: 24px 0 14px;
}

.help-page__search .legal-search-field {
  max-width: none;
}

.help-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.help-page-filter {
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.help-page-filter[aria-pressed="true"] {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
}

.help-page__status,
.help-page__action-status {
  min-height: 24px;
  margin: 8px 0;
  color: var(--muted);
}

.help-page__action-status.is-error {
  color: var(--danger, #dc2626);
}

.help-page__groups {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.help-page-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: clip;
}

.help-page-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  list-style-position: inside;
}

.help-page-group > summary small {
  min-width: 30px;
  padding: 3px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  text-align: center;
}

.help-page-question-list {
  display: grid;
  gap: 2px;
  padding: 0 10px 10px;
  border-top: 1px solid var(--border);
}

.help-page-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 13px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.help-page-question:hover,
.help-page-question:focus-visible {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.help-page-question__title {
  font-weight: 650;
}

.help-page-question__availability {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .8rem;
}

.help-page-question.is-available .help-page-question__availability {
  color: var(--success, #16803b);
}

@media (max-width: 620px) {
  .help-page {
    width: min(100% - 20px, 1040px);
    padding-top: 24px;
  }

  html[data-mobile-fixed-header="true"] .help-page {
    padding-top: 8px;
  }

  .help-page-question {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
