.docs-body { background: var(--bg); }

.docs-layout {
  display: flex;
  padding-top: 64px;
  min-height: 100vh;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── Sidebar ── */
.docs-sidebar {
  width: 240px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.docs-sidebar-inner { padding: 32px 0 32px 24px; }
.sb-section { margin-bottom: 28px; }
.sb-title {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--muted); margin-bottom: 10px;
}
.sb-link {
  display: block; padding: 6px 12px; border-radius: 8px;
  font-size: 0.85rem; color: var(--muted);
  transition: all 0.15s; margin-bottom: 2px;
  border-left: 2px solid transparent;
}
.sb-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.sb-link.active { color: var(--blue); border-left-color: var(--blue); background: rgba(79,172,254,0.07); }

/* ── Content ── */
.docs-content {
  flex: 1;
  padding: 48px 60px;
  max-width: 820px;
}

.docs-section {
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.docs-section:last-child { border-bottom: none; }

.docs-tag {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--blue); margin-bottom: 12px;
}
.docs-section h1 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.docs-section h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; }
.docs-section h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 10px; }
.docs-section p  { color: rgba(241,245,249,0.8); line-height: 1.75; margin-bottom: 14px; font-size: 0.95rem; }
.docs-section ul, .docs-section ol { padding-left: 20px; margin-bottom: 14px; }
.docs-section li { color: rgba(241,245,249,0.8); line-height: 1.8; font-size: 0.95rem; }
.docs-section li + li { margin-top: 4px; }

.docs-section .code-block {
  background: #080810; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 24px;
  font-family: 'Courier New', monospace; font-size: 0.83rem;
  line-height: 1.9; color: #e2e8f0;
  margin: 16px 0; white-space: pre;
  overflow-x: auto;
}
.cb-comment { color: #475569; }

.docs-note {
  background: rgba(79,172,254,0.06);
  border: 1px solid rgba(79,172,254,0.2);
  border-radius: 10px; padding: 14px 18px;
  font-size: 0.88rem; color: rgba(241,245,249,0.8);
  line-height: 1.65; margin-top: 16px;
}
.docs-link { color: var(--blue); text-decoration: underline; }

/* ── Command table ── */
.cmd-table { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cmd-row { display: flex; gap: 24px; padding: 14px 20px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cmd-row:last-child { border-bottom: none; }
.cmd-row:hover { background: rgba(255,255,255,0.02); }
.cmd-name { flex-shrink: 0; width: 220px; }
.cmd-name code { font-size: 0.82rem; white-space: nowrap; }
.cmd-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin-bottom: 12px; }
.faq-q { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.faq-a { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ── Contact ── */
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 4px; }
.contact-value { font-size: 1rem; font-weight: 600; color: var(--blue); }
.contact-sub { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .docs-sidebar { display: none; }
  .docs-content { padding: 32px 24px; }
}
