/* Setup guides */
.sg-back { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 500; }
.sg-back:hover { color: var(--accent); }
.sg-title { display: flex; align-items: center; gap: 18px; } .sg-title img { border-radius: 18px; box-shadow: var(--shadow); }
.sg-title h1 { margin: 4px 0 0; }
.sg-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sg-meta span { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink-2); }
.sg-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.sg-toc { position: sticky; top: 96px; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sg-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .93rem; } .sg-toc a { color: var(--ink-2); text-decoration: none; } .sg-toc ol a:hover { color: var(--accent); }
.sg-toc .btn { justify-content: center; } .sg-help { font-size: .9rem; text-align: center; }
.sg-steps { max-width: none; counter-reset: sg; }
.sg-step { counter-increment: sg; scroll-margin-top: 96px; padding: 4px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.sg-step h2 { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.sg-step h2::before { content: counter(sg); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--app, var(--accent)); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.sg-anchor { order: 2; margin-left: 4px; color: var(--line); text-decoration: none; font-weight: 400; } .sg-step:hover .sg-anchor { color: var(--muted); }
.sg-step code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: .92em; word-break: break-all; }
.sg-shot { margin: 18px 0 0; } .sg-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.sg-shot figcaption { color: var(--muted); font-size: .88rem; margin-top: 8px; text-align: center; }
@media (max-width: 900px) { .sg-layout { grid-template-columns: 1fr; } .sg-toc { position: static; } .sg-title img { width: 56px; height: 56px; } }
