.docs-body {
    background: #ffffff;
    color: #1f2937;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 16px;
}

.docs-main {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 118px 0 80px;
}

.docs-header {
    padding-bottom: 38px;
    border-bottom: 2px solid #111827;
}

.docs-header h1 {
    margin: 4px 0 10px;
    color: #111827;
    font-size: 40px;
    line-height: 1.15;
}

.docs-header p {
    max-width: 760px;
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.65;
}

.docs-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 22px 0;
    border-bottom: 1px solid #d1d5db;
}

.docs-toc a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
}

.docs-toc a:hover {
    text-decoration: underline;
}

.docs-section {
    padding: 48px 0;
    border-bottom: 1px solid #d1d5db;
    scroll-margin-top: 90px;
}

.docs-section:last-child {
    border-bottom: 0;
}

.docs-section h2 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.docs-section h3 {
    margin: 30px 0 10px;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.docs-section p {
    max-width: 880px;
    margin: 0 0 14px;
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
}

.docs-body code {
    padding: 2px 5px;
    border-radius: 3px;
    background: #eef2f6;
    color: #111827;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 14px;
}

.download-list,
.repo-list {
    border-top: 1px solid #cbd5e1;
}

.download-row,
.repo-row {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #cbd5e1;
}

.download-row {
    grid-template-columns: minmax(220px, 1fr) auto;
}

.repo-row {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr) auto;
}

.download-row code,
.repo-row code {
    overflow-wrap: anywhere;
    color: #111827;
    font-size: 14px;
}

.download-row strong,
.repo-row strong {
    color: #111827;
    font-size: 16px;
}

.status-pending {
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.docs-table-wrap {
    overflow-x: auto;
    border-top: 2px solid #111827;
    border-bottom: 2px solid #111827;
}

.docs-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}

.docs-table th,
.docs-table td {
    padding: 11px 13px;
    border-bottom: 1px solid #d1d5db;
    text-align: left;
}

.docs-table th {
    background: #f1f5f9;
    color: #111827;
}

.docs-table tr:last-child td {
    border-bottom: 0;
}

.docs-table a,
.repo-row a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.docs-table a:hover,
.repo-row a:hover {
    text-decoration: underline;
}

.code-block {
    position: relative;
    margin: 12px 0 20px;
    overflow-x: auto;
    border: 1px solid #aeb8c5;
    border-radius: 6px;
    background: #f6f8fa;
}

.code-block pre {
    margin: 0;
    padding: 17px 19px;
    border: 0;
    background: #f6f8fa;
    color: #111827;
    font: 14px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre;
}

.code-block pre code {
    padding: 0;
    background: transparent;
    color: #111827;
    font: inherit;
}

.format-table {
    width: min(720px, 100%);
    border-collapse: collapse;
    font-size: 15px;
}

.format-table th,
.format-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #d1d5db;
}

.format-table th {
    color: #111827;
    background: #f8fafc;
}

.method-section {
    padding: 30px 0 4px;
    border-top: 1px solid #d1d5db;
}

.method-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.method-title-row h3 {
    margin-top: 0;
}

.method-title-row a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 720px) {
    .docs-main {
        width: min(100% - 30px, 1120px);
        padding-top: 104px;
    }

    .docs-header h1 {
        font-size: 32px;
    }

    .download-row,
    .repo-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .method-title-row {
        display: block;
    }
}
