.app-help[hidden],
.app-sidebar > [hidden] {
  display: none;
}

.app-help {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}

.app-help__header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--divider);
  direction: ltr;
}

.app-help__header h2 {
  font-size: 16px;
}

.app-help__button {
  padding: 0;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--divider);
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: 600 18px/1 var(--font-ui);
  cursor: pointer;
}

.app-help__body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  padding: 14px 12px;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.app-help__body h2 {
  font-size: 16px;
  color: #2FB5B0;
}

.app-help__body h3 {
  font-size: 14px;
  color: #111827;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.app-help__body :where(h2, h3, p, ul, ol) + :where(h2, h3, p, ul, ol) {
  margin-block-start: 8px;
}

.app-help__body :where(ul, ol) {
  padding-inline-start: 20px;
}

.app-help__body :where(h2, h3, p):empty {
  display: none;
}
