/* Page-specific styles for api-docs.html — extracted from inline <style> for CSP compliance */
.page-container { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
    .page-header { text-align: center; margin-bottom: 48px; }
    .page-icon { font-size: 2rem; margin-bottom: 16px; }
    .page-title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 300; color: var(--color-text); margin-bottom: 12px; }
    .page-subtitle { font-size: 0.95rem; color: var(--color-text-dim); max-width: 600px; margin: 0 auto; line-height: 1.6; }

    .api-section { background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
    .api-section h2 { font-size: 0.75rem; font-weight: 500; color: var(--color-gold); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.15em; }
    .api-section h3 { font-size: 1rem; color: var(--color-text); margin: 20px 0 8px; }
    .api-section p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 12px; }

    .endpoint-group { margin-bottom: 24px; }
    .endpoint-group-title { font-size: 0.9rem; font-weight: 600; color: var(--color-text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
    .endpoint-group-title .badge { font-size: 0.65rem; padding: 2px 8px; border-radius: 10px; font-weight: 500; }
    .badge-core { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
    .badge-trust { background: rgba(16, 185, 129, 0.15); color: #10b981; }
    .badge-sovereign { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
    .badge-vertical { background: rgba(249, 115, 22, 0.15); color: #f97316; }

    .endpoint { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.8rem; }
    .endpoint:last-child { border-bottom: none; }
    .method { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; min-width: 48px; text-align: center; flex-shrink: 0; }
    .method-get { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
    .method-post { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
    .method-put { background: rgba(249, 115, 22, 0.15); color: #f97316; }
    .method-delete { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
    .endpoint-path { font-family: 'JetBrains Mono', monospace; color: var(--color-text-dim); font-size: 0.75rem; flex-shrink: 0; min-width: 280px; }
    .endpoint-desc { color: var(--color-text-muted); font-size: 0.75rem; }

    .auth-info { background: rgba(234, 179, 8, 0.08); border: 1px solid rgba(234, 179, 8, 0.2); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
    .auth-info h3 { color: #eab308; font-size: 0.85rem; margin: 0 0 8px; }
    .auth-info p { font-size: 0.8rem; color: var(--color-text-dim); margin: 0; line-height: 1.6; }

    .code-block { background: #0d1117; border: 1px solid #30363d; border-radius: 8px; padding: 16px; margin: 12px 0; font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #c9d1d9; overflow-x: auto; line-height: 1.8; }
    .code-block .comment { color: #8b949e; }
    .code-block .key { color: #79c0ff; }
    .code-block .string { color: #a5d6ff; }
    .code-block .number { color: #79c0ff; }

    .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 24px; }
    .stat-item { text-align: center; padding: 16px; background: rgba(0,0,0,0.2); border-radius: 8px; }
    .stat-value { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 700; color: #06b6d4; }
    .stat-label { font-size: 0.7rem; color: var(--color-text-muted); margin-top: 4px; }

    .cta-box { text-align: center; margin-top: 40px; padding: 32px; background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%); border: 1px solid rgba(6, 182, 212, 0.3); border-radius: 12px; }
    .cta-box h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-text); margin-bottom: 8px; }
    .cta-box p { font-size: 0.85rem; color: var(--color-text-dim); margin-bottom: 20px; }
    .cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: linear-gradient(135deg, var(--color-cyan) 0%, #3b82f6 100%); border: none; border-radius: 8px; color: white; font-weight: 600; text-decoration: none; transition: all 0.3s ease; margin: 0 6px; }
    .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3); }
    .cta-btn.secondary { background: transparent; border: 1px solid rgba(6, 182, 212, 0.3); color: var(--color-cyan); }

    @media (max-width: 768px) {
      .endpoint { flex-direction: column; gap: 4px; }
      .endpoint-path { min-width: auto; }
    }