.document-grid.server-guide { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.server-guide code { padding: 0.1em 0.35em; border-radius: 5px; background: var(--surface-raised); font: 0.9em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.server-guide pre { margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); overflow-x: auto; }
.server-guide pre code { padding: 0; background: none; font-size: 0.85rem; white-space: pre; overflow-wrap: normal; }
.server-table { overflow-x: auto; }
.server-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.server-table th, .server-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.server-table th { color: var(--muted); font-weight: 650; }
.server-table td:first-child { white-space: nowrap; }
.server-guide ul + p, .server-guide ol + p { margin-top: 14px; }

.server-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; max-width: 860px; margin: 32px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.server-facts dt { margin-bottom: 4px; color: var(--muted); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.server-facts dd { margin: 0; font-size: 0.92rem; line-height: 1.45; }
.server-facts code { font: 0.86em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }

.server-steps { max-width: 860px; margin-bottom: 20px; }
.server-steps > h2 { margin-bottom: 14px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.015em; }
.server-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: server-step; }
.server-steps li { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); counter-increment: server-step; }
.server-steps li::before { content: counter(server-step); display: inline-grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 0.85rem; font-weight: 700; }
.server-steps h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 650; }
.server-steps p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

.server-toc { display: flex; flex-wrap: wrap; gap: 8px; max-width: 860px; margin: 0 0 32px; }
.server-toc a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.server-toc a:hover { color: var(--text); background: var(--surface-raised); }

.server-guide section { scroll-margin-top: 24px; }
.server-guide .server-aside { padding: 12px 14px; border-radius: 10px; background: var(--surface-raised); }
.server-shot { max-width: 300px; margin: 18px 0 20px; }
.server-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; }
.server-shot figcaption { margin-top: 8px; color: var(--muted); font-size: 0.82rem; }

@media (max-width: 720px) {
  .server-steps ol { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .server-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .server-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .server-table td { display: block; padding: 2px 0; border: 0; }
  .server-table td:first-child { margin-bottom: 4px; }
  .server-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 650; }
}
