
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: system-ui, -apple-system, sans-serif;
      background: #f8fafc;
      color: #1e293b;
      line-height: 1.65;
    }
    a { color: #2563eb; text-decoration: none; }
    a:hover { text-decoration: underline; }

    /* Layout */
    .layout { display: flex; min-height: 100vh; }
    .sidebar {
      width: 240px; flex-shrink: 0;
      background: #0f172a; color: #94a3b8;
      position: sticky; top: 0; height: 100vh;
      overflow-y: auto; padding: 2rem 0;
    }
    .sidebar-logo {
      padding: 0 1.5rem 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 1rem;
    }
    .sidebar-logo a { color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.4px; }
    .sidebar-logo span { display: block; font-size: 0.7rem; color: #475569; margin-top: 2px; font-weight: 400; }
    .sidebar nav a {
      display: block; padding: 0.45rem 1.5rem;
      color: #94a3b8; font-size: 0.875rem;
      transition: color .15s, background .15s;
    }
    .sidebar nav a:hover, .sidebar nav a.active {
      color: #fff; background: rgba(255,255,255,0.05);
      text-decoration: none;
    }
    .sidebar nav .section-label {
      display: block; padding: 1.2rem 1.5rem 0.4rem;
      font-size: 0.65rem; text-transform: uppercase;
      letter-spacing: 0.1em; color: #334155; font-weight: 700;
    }
    .content { flex: 1; max-width: 860px; padding: 3rem 2.5rem; }

    /* Sections */
    .doc-section { margin-bottom: 4rem; scroll-margin-top: 1.5rem; }
    .doc-section h2 {
      font-size: 1.5rem; font-weight: 800; color: #0f172a;
      margin-bottom: 0.75rem; letter-spacing: -0.4px;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #e2e8f0;
    }
    .doc-section h3 {
      font-size: 1rem; font-weight: 700; color: #1e293b;
      margin: 1.75rem 0 0.5rem;
    }
    .doc-section p { margin-bottom: 0.75rem; color: #475569; font-size: 0.9375rem; }
    .doc-section ul { padding-left: 1.3rem; margin-bottom: 0.75rem; }
    .doc-section li { color: #475569; font-size: 0.9375rem; margin-bottom: 0.3rem; }

    /* Badges */
    .badge {
      display: inline-block; padding: 0.2rem 0.55rem;
      border-radius: 4px; font-size: 0.72rem; font-weight: 700;
      letter-spacing: 0.03em; vertical-align: middle;
    }
    .badge-get    { background: #dbeafe; color: #1d4ed8; }
    .badge-post   { background: #dcfce7; color: #15803d; }
    .badge-patch  { background: #fef9c3; color: #854d0e; }
    .badge-delete { background: #fee2e2; color: #b91c1c; }
    .badge-public { background: #f3e8ff; color: #7c3aed; }

    /* Code blocks */
    .code-block {
      background: #0f172a; color: #e2e8f0;
      border-radius: 10px; padding: 1.2rem 1.4rem;
      font-family: 'Menlo', 'Consolas', monospace; font-size: 0.8rem;
      line-height: 1.7; overflow-x: auto; margin: 0.75rem 0 1.25rem;
      position: relative;
    }
    .code-block .lang {
      position: absolute; top: 0.6rem; right: 0.8rem;
      font-size: 0.65rem; color: #475569; text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .hl-key   { color: #7dd3fc; }
    .hl-str   { color: #86efac; }
    .hl-num   { color: #fbbf24; }
    .hl-cmt   { color: #475569; font-style: italic; }
    .hl-kw    { color: #c084fc; }
    .hl-fn    { color: #f9a8d4; }

    /* Endpoint cards */
    .endpoint {
      border: 1px solid #e2e8f0; border-radius: 10px;
      margin-bottom: 1.5rem; overflow: hidden;
    }
    .endpoint-header {
      display: flex; align-items: center; gap: 0.75rem;
      padding: 0.8rem 1.2rem; background: #f8fafc;
      border-bottom: 1px solid #e2e8f0;
    }
    .endpoint-header code {
      font-family: 'Menlo', 'Consolas', monospace;
      font-size: 0.82rem; color: #0f172a; font-weight: 600;
    }
    .endpoint-body { padding: 1rem 1.2rem; }
    .endpoint-body p { font-size: 0.875rem; color: #475569; margin-bottom: 0.5rem; }

    /* Parameter table */
    .param-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.82rem; }
    .param-table th {
      text-align: left; padding: 0.4rem 0.75rem;
      background: #f1f5f9; color: #64748b;
      font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
    }
    .param-table td { padding: 0.5rem 0.75rem; border-top: 1px solid #f1f5f9; vertical-align: top; }
    .param-table td:first-child { font-family: monospace; color: #0f172a; font-weight: 500; white-space: nowrap; }
    .param-table .req { color: #b91c1c; font-size: 0.7rem; font-weight: 700; }
    .param-table .opt { color: #94a3b8; font-size: 0.7rem; }

    /* Alert boxes */
    .alert {
      padding: 0.875rem 1rem; border-radius: 8px;
      font-size: 0.875rem; margin: 0.75rem 0 1rem;
      display: flex; gap: 0.65rem; align-items: flex-start;
    }
    .alert-info  { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
    .alert-warn  { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

    /* Inline code */
    code:not(.no-style) {
      background: #f1f5f9; padding: 0.1em 0.35em;
      border-radius: 4px; font-size: 0.82em;
      font-family: 'Menlo', 'Consolas', monospace; color: #0f172a;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .sidebar { display: none; }
      .content { padding: 1.5rem 1rem; }
    }
  