/* «База знань»: the list of articles and an article. Layout only; components come from the design system. */
.help {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-space-5);
  font-size: var(--ds-text-md);
  line-height: 1.6;
}
.help h1,
.help h2,
.help p {
  margin: 0;
}
.help-lead,
.help-crumb {
  color: var(--ds-muted);
  font-size: var(--ds-text-sm);
}
.help-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
}
.help-crumb a,
.help-contents a,
.help-link {
  color: var(--ds-ink);
}
.help-list {
  display: grid;
  gap: var(--ds-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.help-card {
  display: grid;
  gap: var(--ds-space-1);
  padding: var(--ds-space-5);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
  background: var(--ds-paper);
  color: var(--ds-ink);
  text-decoration: none;
}
.help-card span {
  color: var(--ds-muted);
  font-size: var(--ds-text-sm);
}
.help-contents {
  display: grid;
  gap: var(--ds-space-1);
  margin: 0;
  padding-left: var(--ds-space-5);
  font-size: var(--ds-text-sm);
}
.help-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-space-3);
  padding-top: var(--ds-space-5);
  border-top: 1px solid var(--ds-line);
  scroll-margin-top: var(--ds-space-4);
}
.help-section h2 {
  font-size: var(--ds-text-lg);
}
.help-sub {
  font-weight: var(--ds-weight-semibold);
}
.help-open {
  justify-self: start;
  text-decoration: none;
}
.help-steps {
  display: grid;
  gap: var(--ds-space-4);
  margin: 0;
  padding-left: var(--ds-space-5);
}
/* List items keep their numbers; the picture sits under the step's sentence. */
.help-steps li > * + * {
  margin-top: var(--ds-space-2);
}
.help-platform {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ds-space-4);
  padding-bottom: var(--ds-space-2);
}
.help-notes {
  display: grid;
  gap: var(--ds-space-2);
  margin: 0;
  padding-left: var(--ds-space-5);
  font-size: var(--ds-text-sm);
}
.help-platform > .ds-alert {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.help-shot {
  display: grid;
  gap: var(--ds-space-1);
  margin: 0;
}
.help-shot-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
}
.help-shot figcaption {
  color: var(--ds-muted);
  font-size: var(--ds-text-xs);
}
/* Articles written as blocks: bullets, the table of states, a phone screenshot, the closing lines. */
.help-bullets {
  display: grid;
  gap: var(--ds-space-3);
  margin: 0;
  padding-left: var(--ds-space-5);
}
.help-section > .ds-alert {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.help-shot[data-kind='phone'] .help-shot-image {
  width: min(100%, 18rem);
}
.help-states {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-panel);
}
.help-states > li {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(0, 11rem);
  gap: var(--ds-space-3);
  align-items: center;
  padding: var(--ds-space-3) var(--ds-space-4);
  font-size: var(--ds-text-sm);
}
.help-states > li + li {
  border-top: 1px solid var(--ds-line);
}
.help-states .ds-badge {
  justify-self: start;
}
.help-states-head {
  color: var(--ds-muted);
  font-size: var(--ds-text-xs);
}
.help-state-turn {
  color: var(--ds-muted);
}
.help-outro,
.help-support {
  padding-top: var(--ds-space-5);
  border-top: 1px solid var(--ds-line);
}
.help-support {
  color: var(--ds-muted);
  font-size: var(--ds-text-sm);
}
@media (max-width: 700px) {
  .help-open {
    justify-self: stretch;
    min-height: var(--ds-touch-target);
  }
  .help-states-head,
  .help-state-turn.is-empty {
    display: none;
  }
  .help-states > li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ds-space-1);
  }
}
