.api-reference-content {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.api-reference-loading {
    border: 1px solid var(--p-content-border-color);
    border-radius: 0.75rem;
    background: var(--p-content-background);
    padding: 0.85rem 1rem;
}

.api-reference-viewer {
    border: 1px solid var(--p-content-border-color);
    border-radius: 0.75rem;
    background: var(--p-content-background);
    overflow: hidden;
    min-height: 78vh;
}

.api-reference-frame {
    border: 0;
    display: block;
    min-height: 78vh;
    width: 100%;
}

@media (max-width: 960px) {
    .api-reference-viewer,
    .api-reference-frame {
        min-height: 70vh;
    }
}
