.nba-docs-panel > p:not(.card-note):not(.docs-lead),
.nba-doc-two-up p,
.nba-doc-rule p {
    max-width: 900px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.nba-docs-panel a:not(.text-link) {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nba-docs-panel a:not(.text-link):hover,
.nba-docs-panel a:not(.text-link):focus-visible {
    color: var(--text);
}

.nba-doc-table code,
.nba-doc-rule code,
.nba-docs-panel > p code,
.nba-docs-panel li code,
.nba-doc-two-up p code {
    overflow-wrap: anywhere;
}

.nba-doc-table td {
    line-height: 1.55;
}

.nba-doc-table td:nth-child(2) code {
    white-space: normal;
}

.nba-doc-field-table th:first-child,
.nba-doc-field-table td:first-child {
    width: 230px;
}

.nba-doc-caption {
    font-size: 0.88rem;
}

.nba-doc-rule,
.nba-doc-example-details {
    border: 1px solid rgba(85, 191, 250, 0.16);
    border-radius: 8px;
    background: rgba(4, 8, 11, 0.48);
}

.nba-doc-rule {
    display: grid;
    align-content: start;
    gap: 6px;
    padding: 16px;
}

.nba-doc-rule strong {
    color: var(--text);
}

.nba-doc-two-up {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nba-doc-two-up > div:not(.nba-doc-rule) {
    display: grid;
    align-content: start;
    gap: 12px;
}

.nba-doc-subheading {
    margin: 0;
    padding-top: 10px;
    font-size: 1rem;
}

.nba-doc-example-details {
    min-width: 0;
}

.nba-doc-example-details > summary {
    padding: 14px 16px;
    color: var(--text);
    cursor: pointer;
    font-weight: 700;
}

.nba-doc-example-details > .docs-code {
    margin: 0 12px 12px;
}

.nba-doc-reference-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.nba-doc-reference-list .docs-param-group h3 {
    font-size: 0.88rem;
}

@media (max-width: 720px) {
    .nba-doc-two-up {
        grid-template-columns: 1fr;
    }

    .nba-doc-field-table th:first-child,
    .nba-doc-field-table td:first-child {
        width: 100%;
    }

    .nba-doc-field-table td {
        display: block;
        padding: 3px 0;
    }

    .nba-doc-field-table td::before {
        display: none;
    }
}
