/* Scoped layout for /api/help/api/{apiId} and /api/Help/ResourceModel — legacy Help Page body + tables. */

body.api-endpoint-help-legacy {
    padding-top: 70px;
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
}

body.api-endpoint-help-legacy .body-content {
    max-width: 1100px;
}

#body.help-page > section.featured:first-of-type {
    padding-top: 1rem;
}

/* Inner help page (legacy Help/Api body) */
#body.help-page {
    font-size: 14px;
    line-height: 1.43;
    color: #333;
    padding-top: 0;
}

.help-page .featured {
    padding: 0 0 1rem;
}

.help-page .main-content {
    padding-bottom: 2rem;
}

.help-page h1,
.help-page .h1 {
    font-size: 32px;
    line-height: normal;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem;
}

.help-page h2,
.help-page .h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 1.5rem;
}

.help-page h3,
.help-page .h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 1.25rem;
}

.help-page h3.label {
    display: inline-block;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.help-page a {
    color: #0000ee;
    text-decoration: none;
}

.help-page a:hover {
    text-decoration: underline;
    background-color: transparent;
}

.help-page .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: content-box;
}

.help-page-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin: 0 0 20px;
    border-top: 1px solid #d4d4d4;
}

.help-page-table th {
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #d4d4d4;
    padding: 5px 6px;
}

.help-page-table td {
    border-bottom: 1px solid #d4d4d4;
    padding: 10px 8px;
    vertical-align: top;
}

.help-page-table pre,
.help-page-table p {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 100%;
}

.help-page-table tbody tr:hover td {
    background-color: #ececec;
}

.help-page .parameter-name {
    width: 20%;
}

.help-page .parameter-name > p {
    padding: 2px 4px;
    font-family: Consolas, 'Courier New', monospace;
    color: #0c2f6a;
    background-color: #fafafc;
    border: 1px solid #e3e4e7;
    display: inline;
    border-radius: 3px;
}

.help-page .parameter-documentation {
    width: 40%;
}

.help-page .parameter-type {
    width: 20%;
}

.help-page .parameter-annotations {
    width: 20%;
}

.help-page .sample-header {
    background: #e3e3e3;
    color: #333;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 8px;
    margin: 10px 0;
}

.help-page .sample-content {
    display: block;
    border: 1px solid #d4d4d4;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    margin: 0 0 10px;
}

.help-page pre.wrapped {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 13px;
}

footer {
    color: #555;
    margin-top: 1rem;
}
