.doc-edition {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
}

.installation-intro {
  margin-bottom: 54px;
  max-width: 930px;
}

.installation-intro p,
.install-section p {
  color: #43515d;
  overflow-wrap: anywhere;
}

.installation-guide {
  align-items: start;
}

.installation-guide .toc {
  max-height: calc(100vh - 140px);
  overflow: auto;
  position: sticky;
  top: 112px;
}

.installation-manual {
  min-width: 0;
}

.install-section {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 35px 0;
  scroll-margin-top: 110px;
}

.install-section:first-child {
  padding-top: 0;
}

.install-section h2 {
  font-size: 29px;
  margin-bottom: 24px;
}

.install-section h3 {
  font-size: 20px;
  letter-spacing: -.02em;
  margin: 34px 0 15px;
}

.install-step {
  display: grid;
  gap: 12px;
  grid-template-columns: 30px minmax(0, 1fr);
  margin: 17px 0;
}

.install-step > span {
  background: var(--pale);
  border-radius: 50%;
  color: var(--red);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  height: 26px;
  place-items: center;
  width: 26px;
}

.install-step p {
  margin: 0;
}

.install-result {
  border-top: 1px solid var(--line);
  margin-top: 26px !important;
  padding-top: 18px;
}

.install-result strong {
  color: var(--ink);
  margin-right: 5px;
}

.user-note {
  color: var(--muted) !important;
  font-size: 15px;
  margin-top: 24px;
}

.user-note strong {
  color: var(--ink);
  margin-right: 5px;
}

.code-block {
  background: #15232e;
  border-radius: 7px;
  color: #eef3f6;
  contain: inline-size;
  font: 14px/1.6 Consolas, "Courier New", monospace;
  margin: 20px 0 26px;
  max-width: 100%;
  overflow: auto;
  padding: 20px 22px;
  tab-size: 4;
  white-space: pre;
}

.installation-manual a {
  color: var(--red);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .installation-guide .toc {
    max-height: none;
    overflow: visible;
    position: static;
  }

  .install-section {
    gap: 12px;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .install-section h2 {
    font-size: 24px;
  }

  .code-block {
    font-size: 12px;
    overflow-wrap: anywhere;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-word;
  }
}
