/*
  PUBLIC CLI DOCUMENTATION (#5111): /cli and /cli/<object_type>, on layouts/landing. Page-scoped
  arrangement only: the page header, copy snippet, table, disclosure and source line are the cataloged
  components. Tokens only.
*/

.p-cli__h2 {
  margin-top: var(--space-6);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
  scroll-margin-top: calc(var(--topbar-height) + var(--space-4));
}

.p-cli__h3 {
  font-size: var(--text-lg);
  scroll-margin-top: calc(var(--topbar-height) + var(--space-4));
}

.p-cli__text {
  line-height: var(--leading-normal);
}

.p-cli__text code,
.p-cli__list code {
  font-family: var(--font-mono);
  font-size: 0.95em;
}

.p-cli__list {
  padding-left: var(--space-6);
  line-height: var(--leading-normal);
}

.p-cli__alt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* A long command wraps inside its block rather than widening the page. */
.p-cli .c-copy__code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
