.docs-sec { padding-top: 24px; }
.docs-body { max-width: 860px; margin: 0 auto; }

.docs-body h2 {
    margin: 2.75rem 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    scroll-margin-top: 90px;
}
.docs-body h2:first-of-type { margin-top: 0; }
.docs-body p { margin: 0 0 0.9rem; line-height: 1.75; }
.docs-body ul { margin: 0 0 1.1rem; padding-left: 1.15rem; display: grid; gap: 0.5rem; }
.docs-body li { line-height: 1.7; }

.docs-body code {
    padding: 0.12em 0.42em;
    border-radius: 5px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 0.85em;
    white-space: nowrap;
}
.docs-method {
    background: rgba(0,255,106,0.1) !important;
    border-color: rgba(0,255,106,0.28) !important;
    color: #00ff6a;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.docs-code {
    margin: 0 0 1.35rem;
    padding: 1.1rem 1.25rem;
    border-radius: 12px;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
}
.docs-code pre {
    margin: 0;
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 0.82rem;
    line-height: 1.75;
    white-space: pre;
}

.docs-table-wrap {
    margin: 0 0 1.35rem;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.docs-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.docs-table th, .docs-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.docs-table tbody tr:last-child td { border-bottom: none; }
.docs-table th {
    background: rgba(255,255,255,0.04);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}
.docs-table td code { white-space: nowrap; }
.docs-model-desc { display: block; margin-top: 0.25rem; font-size: 0.78rem; opacity: 0.7; line-height: 1.5; }

.docs-note {
    margin: 2rem 0 0;
    padding: 1.15rem 1.35rem;
    border-radius: 12px;
    background: rgba(0,255,106,0.05);
    border: 1px solid rgba(0,255,106,0.2);
}
.docs-note strong { display: block; margin-bottom: 0.35rem; }
.docs-note p { margin: 0; }
.docs-note--warn { margin: 0 0 2rem; background: rgba(255,170,0,0.06); border-color: rgba(255,170,0,0.25); }

@media (max-width: 720px) {
    .docs-code { padding: 0.9rem 1rem; }
    .docs-body h2 { font-size: 1.1rem; margin-top: 2rem; }
}
