.setup-toc nav { gap: 0; }
.setup-toc .guide-group { margin: 0; padding: 12px 0; border-top: 1px solid #e5e1f3; }
.setup-toc .guide-group h2 { margin: 0 0 5px; font-size: .9rem; line-height: 1.4; }
.setup-toc .guide-group a { padding: 7px 9px; }
.setup-toc a .guide-label { font-weight: inherit; color: inherit; }
.setup-toc summary [data-current-label] { white-space: normal; text-align: right; line-height: 1.3; }
.guide-panel { margin-bottom: 12px; border: 1px solid #ded9ef; border-radius: 14px; background: #fff; }
.guide-panel > summary { padding: 17px 20px; cursor: pointer; }
.guide-panel summary h3 { display: inline; margin: 0; font-size: 1.125rem; }
.guide-panel .v4-content { padding: 0 20px 18px; }
.guide-section-title { margin: 1.8rem 0 1rem; }
@media (max-width: 900px) {
  .header .menu-toggle { gap: 5px; width: auto; white-space: nowrap; font: inherit; font-size: 14px; font-weight: 600; }
  .setup-toc summary [data-current-label] { flex: 1; }
}
@media (max-width: 380px) {
  body .header .brand img { width: 95px; }
  body .header .wrap { width: calc(100% - 16px); gap: 4px; }
  body .header .header-account-tools .fn-language,
  body .header .header-account-tools .fn-language summary { width: 90px; }
}

.setup-before .guide-compat { margin-top: .75rem; }
.guide-compat > summary, .setup-toc .guide-options > summary { cursor: pointer; color: #493caf; font-weight: 600; }
.guide-compat > summary { width: fit-content; padding: .35rem 0; }
.setup-toc .guide-options > summary { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; padding: 7px 9px; }
.setup-toc .guide-options > summary::after { content: '+'; }
.setup-toc .guide-options[open] > summary::after { content: '−'; }
.setup-toc .guide-group { padding-block: 8px; }
@media (min-width: 901px) {
  .setup-toc[open] > summary [data-current-label] { display: none; }
}
@media (max-width: 900px) {
  .setup-toc .guide-options > summary { min-height: 44px; }
}

/* Reserve the final image size before a lazy screenshot is downloaded. */
.setup-guide :is(.setup-shot, .v4-figure) {
  width: min(100%, var(--shot-width), calc(min(600px, 100svh - 190px) * var(--shot-ratio)));
}
.setup-guide :is(.setup-shot, .v4-figure) img { width: 100%; height: auto; }
