/* The native site uses viewport-scaled rem units. Keep the reading measure
   and text sizes independent of screen width on documentation pages. */
.ym-help {
  --help-ink: #202020;
  --help-paper: #d3d1ce;
  --help-muted: #b9b9b9;
  --help-accent: #ff5841;
  --help-line: #535353;
  --help-gutter: clamp(20px, 4vw, 72px);
  --help-mono: "YM Aux Mono Cyrillic", monospace;
  background-color: var(--help-ink);
  color: var(--help-paper);
  font: 400 17px/1.6 "YM Inter", Arial, sans-serif;
  text-transform: none;
  overflow-wrap: break-word;
}

.ym-help .ym-help-hero {
  padding: clamp(106px, 9.5vw, 172px) var(--help-gutter) clamp(36px, 4vw, 76px);
  background-color: var(--help-accent);
  color: var(--help-ink);
}
.ym-help .ym-help-trail,
.ym-help .guide-index-number,
.ym-help .guide-toc > strong,
.ym-help .showcase-switcher button,
.ym-help .obs-status,
.ym-help .file-type {
  font: 400 12px/16px var(--help-mono);
  letter-spacing: .015em;
  text-transform: uppercase;
}
.ym-help .ym-help-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin: 0 0 clamp(26px, 3.2vw, 52px);
}
.ym-help .ym-help-trail a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ym-help .ym-help-hero h1 {
  max-width: 22ch;
  margin: 0;
  font: 450 clamp(42px, 6vw, 104px)/1.02 "YM Inter", Arial, sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.ym-help .ym-help-hero p {
  max-width: 66ch;
  margin: clamp(22px, 2.4vw, 38px) 0 0;
  font: 400 clamp(18px, 1.6vw, 25px)/1.35 "YM Inter", Arial, sans-serif;
  letter-spacing: -.017em;
}
.ym-help .ym-help-body {
  width: 100%;
  max-width: 1540px;
  box-sizing: border-box;
  margin-inline: auto;
  padding: clamp(32px, 4vw, 72px) var(--help-gutter) clamp(56px, 6vw, 106px);
}
.ym-help .ym-help-body h2 {
  margin: 0 0 18px;
  font: 450 clamp(25px, 2.45vw, 40px)/1.12 "YM Inter", Arial, sans-serif;
  letter-spacing: -.035em;
}
.ym-help .ym-help-body :is(p, ol, ul, figure) {
  margin: 0;
}
.ym-help .ym-help-body p + p,
.ym-help .ym-help-body :is(p, ol, ul) + :is(ol, ul, p) {
  margin-top: 14px;
}
.ym-help .ym-help-body :is(ol, ul) {
  padding-inline-start: 1.55em;
  list-style: disc outside;
}
.ym-help .ym-help-body ol {
  list-style-type: decimal;
}
.ym-help .ym-help-body li {
  display: list-item;
  padding-inline-start: .2em;
  list-style: inherit;
}
.ym-help .ym-help-body li + li {
  margin-top: 8px;
}
.ym-help .ym-help-body :is(strong, b) {
  font-weight: 600;
}
.ym-help .ym-help-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .17em;
}
.ym-help .ym-help-body a:hover {
  color: var(--help-accent);
}
.ym-help :is(a, button, summary):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.ym-help .ym-help-body code,
.ym-help .ym-help-body kbd {
  padding: .08em .3em;
  background: #373737;
  font: .9em/1.4 ui-monospace, monospace;
  overflow-wrap: anywhere;
}
.ym-help .ym-help-body [id] {
  scroll-margin-top: 100px;
}

.ym-help .guide-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--help-line);
  border-left: 1px solid var(--help-line);
}
.ym-help .guide-index-list > a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-content: space-between;
  padding: clamp(22px, 2.6vw, 42px);
  border: solid var(--help-line);
  border-width: 0 1px 1px 0;
  text-decoration: none;
}
.ym-help .guide-index-number { grid-area: 1/1; color: var(--help-muted); }
.ym-help .guide-index-arrow { grid-area: 1/2; font-size: 30px; line-height: .8; }
.ym-help .guide-index-copy { grid-area: 2/1/3/3; }
.ym-help .guide-index-copy strong {
  display: block;
  max-width: 29ch;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.12;
  font-weight: 450;
  letter-spacing: -.033em;
}
.ym-help .guide-index-copy > span {
  display: block;
  max-width: 56ch;
  color: var(--help-muted);
  line-height: 1.45;
}
.ym-help .guide-index-list > a:is(:hover, :focus-visible) {
  color: var(--help-ink);
  background: var(--help-accent);
}
.ym-help .guide-index-list > a:is(:hover, :focus-visible) :is(.guide-index-number, .guide-index-copy > span) {
  color: inherit;
}
.ym-help .guide-index-list > a:focus-visible {
  outline-offset: -5px;
}

.ym-help .guide-header-actions,
.ym-help .document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.ym-help .guide-header-actions {
  padding-bottom: 28px;
}
.ym-help .guide-header-actions a.primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--help-accent);
  color: var(--help-ink);
  background-color: var(--help-accent);
  text-decoration: none;
}
.ym-help .guide-header-actions a.primary:is(:hover, :focus-visible) {
  color: var(--help-accent);
  background: var(--help-ink);
}
.ym-help .document-actions {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--help-line);
}
.ym-help .guide-layout {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 800px);
  gap: clamp(32px, 5vw, 100px);
}
.ym-help .guide-toc {
  align-self: start;
  display: grid;
  border-top: 1px solid var(--help-line);
}
.ym-help .guide-toc > strong {
  padding: 18px 0;
  color: var(--help-muted);
  font-weight: 400;
}
.ym-help .guide-toc a,
.ym-help .support-guide-links a,
.ym-help .related-guides a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--help-line);
  line-height: 1.35;
  text-decoration: none;
}
.ym-help .related-guides a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.ym-help .guide-content,
.ym-help .support-item,
.ym-help .document-showcase {
  min-width: 0;
}
.ym-help .guide-section,
.ym-help .related-guides,
.ym-help .support-item {
  margin-block: clamp(30px, 4vw, 56px) 0;
  padding-top: clamp(22px, 2.2vw, 34px);
  border-top: 1px solid var(--help-line);
}
.ym-help .guide-content > .guide-section:first-child,
.ym-help .ym-help-body > .support-item:first-child {
  margin-top: 0;
}
.ym-help[data-help-kind="support"] .ym-help-body {
  max-width: calc(820px + 2 * var(--help-gutter));
}
.ym-help .support-guide-links {
  margin-top: 18px;
}
.ym-help .ym-help-body img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ym-help .ym-help-body figure a:has(img) {
  display: block;
  cursor: zoom-in;
}
.ym-help .ym-help-body figcaption {
  margin-top: 10px;
  color: var(--help-muted);
  font-size: 15px;
}
.ym-help .showcase-switcher,
.ym-help .obs-status,
.ym-help .obs-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.ym-help .layout-showcase {
  margin-top: 22px;
  border: 1px solid var(--help-line);
}
.ym-help .showcase-switcher {
  gap: 0;
  border-bottom: 1px solid var(--help-line);
}
.ym-help .showcase-switcher button {
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-right: 1px solid var(--help-line);
  color: var(--help-paper);
  background: transparent;
  cursor: pointer;
}
.ym-help .showcase-switcher button[aria-selected="true"] {
  background: var(--help-accent);
  color: var(--help-ink);
}
.ym-help .showcase-switcher button:focus-visible {
  outline-offset: -4px;
}
.ym-help .obs-stage { padding: clamp(14px, 2vw, 28px); }
.ym-help .obs-status { margin-bottom: 14px; }
.ym-help .obs-status em { color: var(--help-muted); font-style: normal; }
.ym-help .obs-file-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 10px 0;
  border-top: 1px solid var(--help-line);
}
.ym-help .obs-file-list small { color: var(--help-muted); }
.ym-help .obs-actions,
.ym-help .demo-command { margin-top: 12px; }
.ym-help .demo-command { display: inline-block; }
.ym-help .layout-showcase [hidden] { display: none; }

@media (min-width: 900px) {
  .ym-help .guide-toc {
    position: sticky;
    top: 100px;
  }
}
@media (max-width: 899px) {
  .ym-help .guide-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .ym-help { font-size: 16px; }
  .ym-help .guide-index-list { grid-template-columns: minmax(0, 1fr); }
  .ym-help .ym-help-hero h1 { font-size: clamp(36px, 9vw, 54px); }
  .ym-help .ym-help-body [id] { scroll-margin-top: 82px; }
}
