
#modal-help .modal-dialog {
    width: min(1100px, calc(100vw - 36px));
    height: min(820px, calc(100vh - 36px));
    min-width: 700px;
    min-height: 420px;
    margin: 18px auto;
}

#modal-help .modal-content {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    background: #292f36;
    border: 1px solid #4f5963;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.58);
}

#modal-help .modal-header {
    height: 46px;
    padding: 9px 12px;
    border-bottom: 1px solid #4b5660;
    background: #303740;
}

#modal-help .modal-title {
    width: auto;
    margin: 0;
    color: ghostwhite;
    font-size: 14px;
    line-height: 26px;
    text-align: left;
}

#modal-help .modal-body {
    min-height: 0;
    padding: 0;
    flex: 1 1 auto;
    overflow: hidden;
    background: #252a30;
}

#modal-help .modal-footer {
    height: 46px;
    padding: 8px 10px;
    border-top: 1px solid #4b5660;
    background: #303740;
}

.asc-help-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
}

.asc-help-sidebar {
    min-width: 0;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
}

.asc-help-search-wrap {
    position: relative;
    height: 31px;
    margin-bottom: 9px;
}

.asc-help-search-wrap i {
    position: absolute;
    left: 9px;
    top: 9px;
    color: #93a2af;
    font-size: 11px;
}

    #ascHelpSearchTxt {
        width: 100%;
        height: 29px;
        padding: 4px 8px 4px 27px;
        border: 1px solid #56616b;
        border-radius: 4px;
        color: ghostwhite;
        background: #2c333a;
        outline: none;
        font-size: 11px;
    }

        #ascHelpSearchTxt:focus {
            border-color: #5f95b3;
            box-shadow: 0 0 0 1px rgba(95, 149, 179, 0.35);
        }

    #ascHelpIndexList {
        height: calc(100% - 40px);
        overflow-y: auto;
        padding-right: 3px;
    }

    .asc-help-index-category-group {
        margin-bottom: 3px;
        border-bottom: 1px solid #30373e;
    }

    .asc-help-index-category-button {
        display: flex;
        width: 100%;
        min-height: 31px;
        padding: 6px 7px;
        border: 0;
        border-radius: 4px;
        align-items: center;
        justify-content: space-between;
        color: #8fb9d2;
        background: transparent;
        text-align: left;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

        .asc-help-index-category-button:hover {
            color: #c7dfed;
            background: #2a3138;
        }

    .asc-help-index-category-open > .asc-help-index-category-button {
        color: #b9d9eb;
        background: #29323a;
    }

    .asc-help-index-category-name {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 7px;
        white-space: normal;
        text-align: left;
    }

        .asc-help-index-category-name i {
            width: 9px;
            min-width: 9px;
            color: #8399a8;
            font-size: 8px;
            text-align: center;
        }

    .asc-help-index-category-count {
        min-width: 22px;
        margin-left: 6px;
        padding: 1px 5px;
        border-radius: 8px;
        color: #9fadb7;
        background: #343c43;
        font-size: 8px;
        font-weight: 500;
        letter-spacing: 0;
        text-align: center;
    }

    .asc-help-index-category-topics {
        display: none;
        padding: 3px 0 5px 8px;
    }

    .asc-help-index-category-open > .asc-help-index-category-topics {
        display: block;
    }

    .asc-help-index-topic {
        display: block;
        width: 100%;
        margin: 0 0 4px 0;
        padding: 7px 8px;
        border: 1px solid transparent;
        border-radius: 4px;
        color: #dfe7ed;
        background: transparent;
        text-align: left;
    }

        .asc-help-index-topic:hover {
            border-color: #4a5966;
            background: #2d353d;
        }

    .asc-help-index-topic-active {
        border-color: #5f95b3;
        background: #33424d;
    }

    .asc-help-index-topic-title,
    .asc-help-index-topic-summary {
        display: block;
        white-space: normal;
        text-align: left;
    }

    .asc-help-index-topic-title {
        margin-bottom: 2px;
        color: #f1f5f7;
        font-size: 11px;
        font-weight: 600;
    }

    .asc-help-index-topic-summary {
        color: #aebbc5;
        font-size: 9px;
        line-height: 1.35;
    }

    .asc-help-no-results {
        padding: 18px 8px;
        color: #9ca9b3;
        font-size: 10px;
        line-height: 1.45;
    }

    .asc-help-main {
        min-width: 0;
        min-height: 0;
        height: 100%;
        overflow: hidden;
        background: #292f36;
    }

    #ascHelpContent {
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 22px 30px 32px 30px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        color: #dce3e8;
        font-size: 12px;
        line-height: 1.55;
    }

        #ascHelpContent h1,
        #ascHelpContent h2,
        #ascHelpContent h3,
        #ascHelpContent h4,
        #ascHelpContent p,
        #ascHelpContent li,
        #ascHelpContent td,
        #ascHelpContent th,
        #ascHelpContent label,
        #ascHelpContent span,
        #ascHelpContent strong {
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            text-align: left;
        }

        #ascHelpContent h1 {
            margin: 0 0 12px 0;
            color: #f5f7f8;
            font-size: 23px;
            font-weight: 500;
        }

        #ascHelpContent h2 {
            margin: 24px 0 8px 0;
            padding-bottom: 4px;
            border-bottom: 1px solid #46515a;
            color: #b9d9eb;
            font-size: 16px;
            font-weight: 500;
        }

        #ascHelpContent h3 {
            margin: 18px 0 6px 0;
            color: #dceaf1;
            font-size: 13px;
        }

        #ascHelpContent p {
            margin: 0 0 10px 0;
            color: #d6dde2;
        }

        #ascHelpContent ul,
        #ascHelpContent ol {
            margin: 7px 0 12px 24px;
            padding: 0;
        }

        #ascHelpContent li {
            margin-bottom: 5px;
        }

        #ascHelpContent code {
            padding: 1px 4px;
            border-radius: 3px;
            color: #e9c987;
            background: #1e2328;
            font-family: Consolas, "Courier New", monospace;
            font-size: 11px;
        }

        #ascHelpContent pre {
            margin: 8px 0 13px 0;
            padding: 10px 12px;
            overflow-x: auto;
            border: 1px solid #46515a;
            border-radius: 4px;
            color: #e6ebef;
            background: #1d2227;
            font-family: Consolas, "Courier New", monospace;
            font-size: 11px;
            line-height: 1.45;
            white-space: pre;
        }

            #ascHelpContent pre code {
                padding: 0;
                color: inherit;
                background: transparent;
                white-space: pre;
            }

    .asc-help-table {
        width: 100%;
        margin: 8px 0 15px 0;
        border-collapse: collapse;
        border: 1px solid #46515a;
        background: #252b31;
    }

        .asc-help-table th,
        .asc-help-table td {
            padding: 7px 8px;
            border: 1px solid #46515a !important;
            vertical-align: top;
            color: #dce3e8 !important;
            font-size: 11px;
            line-height: 1.4;
        }

        .asc-help-table th {
            color: #b9d9eb !important;
            background: #303942 !important;
            font-weight: 600;
        }
    /* Keep Help tables isolated from Ascension's global table/row styling. */
    #ascHelpContent .asc-help-table thead tr {
        background-color: #303942 !important;
    }

    #ascHelpContent .asc-help-table tbody tr,
    #ascHelpContent .asc-help-table tbody tr:nth-child(odd),
    #ascHelpContent .asc-help-table tbody tr.odd {
        background-color: #252b31 !important;
    }

        #ascHelpContent .asc-help-table tbody tr:nth-child(even),
        #ascHelpContent .asc-help-table tbody tr.even {
            background-color: #2c333a !important;
        }

    #ascHelpContent .asc-help-table th,
    #ascHelpContent .asc-help-table td {
        border-color: #46515a !important;
        color: #dce3e8 !important;
    }

    #ascHelpContent .asc-help-table th {
        color: #b9d9eb !important;
    }

    .asc-help-callout {
        margin: 12px 0 15px 0;
        padding: 10px 12px;
        border-left: 4px solid #5f95b3;
        border-radius: 3px;
        background: #27343d;
    }

        .asc-help-callout strong {
            display: block;
            margin-bottom: 4px;
            color: #f0f5f7;
        }

        .asc-help-callout p:last-child {
            margin-bottom: 0 !important;
        }

    .asc-help-callout-warning {
        border-left-color: #d9a441;
        background: #3a3326;
    }

    .asc-help-callout-error {
        border-left-color: #c65b5b;
        background: #3b292b;
    }

    .asc-help-image-placeholder {
        display: flex;
        min-height: 150px;
        margin: 16px 0 18px 0;
        padding: 20px 30px;
        border: 2px dashed #70808d;
        border-radius: 5px;
        align-items: center;
        justify-content: center;
        background: #22282e;
        color: #aebbc5;
        text-align: center;
    }

        .asc-help-image-placeholder > div {
            max-width: 620px;
            text-align: center !important;
        }

        .asc-help-image-placeholder strong,
        .asc-help-image-placeholder span {
            display: block;
            text-align: center !important;
        }

        .asc-help-image-placeholder strong {
            margin-bottom: 6px;
            color: #d9e4ea;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .asc-help-image-placeholder span {
            color: #aebbc5;
            font-size: 11px;
            line-height: 1.45;
        }

    .asc-help-related {
        margin-top: 30px;
        padding-top: 2px;
    }

    .asc-help-related-links {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

        .asc-help-related-links button,
        .asc-help-category-card {
            border: 1px solid #53616c;
            border-radius: 4px;
            color: #dbe7ed;
            background: #303942;
        }

        .asc-help-related-links button {
            padding: 5px 9px;
            font-size: 10px;
        }

            .asc-help-related-links button:hover,
            .asc-help-category-card:hover {
                border-color: #6f9db7;
                background: #384753;
            }

    .asc-help-category-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 8px;
    }

    .asc-help-category-card {
        padding: 12px;
        text-align: left;
    }

        .asc-help-category-card strong,
        .asc-help-category-card span {
            display: block;
        }

        .asc-help-category-card strong {
            margin-bottom: 4px;
            color: #eef4f7;
            font-size: 12px;
        }

        .asc-help-category-card span {
            color: #aebbc5;
            font-size: 10px;
        }

    .asc-help-loading {
        padding: 40px 10px;
        color: #aebbc5;
        text-align: center;
    }

    .asc-context-help-button {
        display: inline-flex;
        width: 18px;
        height: 18px;
        padding: 0;
        border: 1px solid #66727c;
        border-radius: 9px;
        align-items: center;
        justify-content: center;
        color: #d9b67a;
        background: #343b42;
        font-size: 10px;
        line-height: 16px;
        cursor: pointer;
    }

        .asc-context-help-button:hover {
            border-color: #d2a75e;
            color: #ffe2ae;
            background: #444036;
        }

    @media (max-width: 800px) {
        #modal-help .modal-dialog {
            width: calc(100vw - 16px);
            height: calc(100vh - 16px);
            min-width: 0;
            min-height: 0;
            margin: 8px auto;
        }

        #modal-help .modal-content {
            height: 100%;
        }

        .asc-help-shell {
            grid-template-columns: 220px minmax(0, 1fr);
        }

        #ascHelpContent {
            padding: 18px;
        }
    }

    .asc-help-progress {
        margin: 10px 0 4px 0;
        padding: 8px 10px;
        border: 1px solid #46515a;
        border-radius: 4px;
        color: #aebbc5;
        background: #252b31;
        font-size: 10px;
    }

        .asc-help-progress strong {
            display: inline;
            color: #dceaf1;
        }

    .asc-help-index-topic-badge {
        float: right;
        margin-left: 7px;
        padding: 1px 4px;
        border: 1px solid #6b6251;
        border-radius: 3px;
        color: #d8bd84;
        background: #3a3429;
        font-size: 8px;
        font-weight: 500;
        line-height: 12px;
        text-transform: uppercase;
    }

    .asc-help-callout-outline {
        border-left-color: #7d8790;
        background: #2d3237;
    }

    .asc-help-loading {
        padding: 14px 0;
        color: #aebbc5;
        font-size: 11px;
    }

        .asc-help-loading i {
            margin-right: 6px;
        }

    .asc-help-command-table td:first-child {
        width: 190px;
    }

    .asc-help-command-table td:last-child {
        width: 38%;
    }

        .asc-help-command-table td:last-child > div {
            margin-bottom: 3px;
        }

    .asc-help-scope {
        margin-top: 4px;
        color: #8d9ba6;
        font-size: 9px;
        text-transform: uppercase;
    }

    .asc-help-required {
        display: inline !important;
        margin-left: 3px;
        color: #e0a3a3 !important;
        font-size: 9px;
        font-weight: 500;
    }

    .asc-help-default,
    .asc-help-muted {
        color: #8f9da7 !important;
        font-size: 9px;
    }

    .asc-help-default {
        margin-left: 3px;
    }

    .asc-help-function-id {
        display: inline-flex;
        width: 26px;
        height: 20px;
        margin-right: 6px;
        border-radius: 3px;
        align-items: center;
        justify-content: center;
        color: #dceaf1;
        background: #39444d;
        font-size: 10px;
        font-weight: 700;
    }
    /* -------------------------------------------------------------------------
   Help viewer hard containment
   Keep Ascension's global p/table/modal styles out of help article content.
   ------------------------------------------------------------------------- */

    #modal-help .modal-dialog {
        box-sizing: border-box;
    }

    #modal-help .modal-content {
        display: flex !important;
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        flex-direction: column;
        box-sizing: border-box;
    }

    #modal-help .modal-header,
    #modal-help .modal-footer {
        flex: 0 0 auto;
    }

    #modal-help .modal-body {
        position: relative;
        min-height: 0 !important;
        flex: 1 1 auto;
        overflow: hidden !important;
    }

    #modal-help .asc-help-shell {
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
    }

    #modal-help .asc-help-main {
        position: relative;
        min-width: 0 !important;
        min-height: 0 !important;
        width: 100%;
        height: 100%;
        overflow: hidden !important;
    }

    #modal-help #ascHelpContent {
        position: absolute;
        inset: 0;
        width: auto !important;
        height: auto !important;
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 22px 30px 32px 30px;
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        box-sizing: border-box;
        color: #dce3e8;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }
        /* Ascension has global nowrap/ellipsis rules for p and labels.
   Help articles explicitly opt out of them. */
        #modal-help #ascHelpContent h1,
        #modal-help #ascHelpContent h2,
        #modal-help #ascHelpContent h3,
        #modal-help #ascHelpContent h4,
        #modal-help #ascHelpContent p,
        #modal-help #ascHelpContent li,
        #modal-help #ascHelpContent td,
        #modal-help #ascHelpContent th,
        #modal-help #ascHelpContent label,
        #modal-help #ascHelpContent span,
        #modal-help #ascHelpContent strong {
            max-width: 100%;
            white-space: normal !important;
            overflow: visible !important;
            text-overflow: clip !important;
            overflow-wrap: anywhere !important;
            word-break: normal !important;
            box-sizing: border-box;
            text-align: left;
        }

        #modal-help #ascHelpContent h1 {
            margin: 0 0 12px 0 !important;
            color: #f5f7f8 !important;
            font-size: 23px !important;
            font-weight: 500 !important;
            line-height: 1.25 !important;
        }

        #modal-help #ascHelpContent h2 {
            margin: 24px 0 8px 0 !important;
            padding-bottom: 4px;
            border-bottom: 1px solid #46515a;
            color: #b9d9eb !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            line-height: 1.3 !important;
        }

        #modal-help #ascHelpContent h3 {
            margin: 18px 0 6px 0 !important;
            color: #dceaf1 !important;
            font-size: 13px !important;
            line-height: 1.3 !important;
        }

        #modal-help #ascHelpContent p {
            margin: 0 0 10px 0 !important;
            color: #d6dde2 !important;
            font-size: 12px !important;
            line-height: 1.55 !important;
        }
    /* -------------------------------------------------------------------------
   Help tables
   Ascension has global tr:nth-child(even), td, tr.odd and tr.even rules.
   ------------------------------------------------------------------------- */

    body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table {
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px 0 15px 0;
        border-collapse: collapse;
        table-layout: fixed;
        border: 1px solid #46515a !important;
        background: #252b31 !important;
    }

        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table thead tr,
        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table thead tr:nth-child(odd),
        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table thead tr:nth-child(even) {
            background: #303942 !important;
        }

        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table tbody tr,
        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table tbody tr:nth-child(odd),
        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table tbody tr.odd {
            background: #252b31 !important;
        }

            body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table tbody tr:nth-child(even),
            body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table tbody tr.even {
                background: #2c333a !important;
            }

        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table th,
        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table td {
            height: auto !important;
            padding: 7px 8px !important;
            border: 1px solid #46515a !important;
            vertical-align: top;
            color: #dce3e8 !important;
            background: transparent !important;
            font-size: 11px !important;
            line-height: 1.4 !important;
            white-space: normal !important;
            overflow: visible !important;
            text-overflow: clip !important;
            overflow-wrap: anywhere !important;
        }

        body.asc-theme-bluegray #modal-help #ascHelpContent table.asc-help-table th {
            color: #b9d9eb !important;
            background: #303942 !important;
            font-weight: 600 !important;
        }
    /* -------------------------------------------------------------------------
   Illustration placeholders
   ------------------------------------------------------------------------- */

    #modal-help #ascHelpContent .asc-help-image-placeholder {
        display: flex !important;
        width: 100%;
        min-height: 150px;
        margin: 16px 0 18px 0;
        padding: 20px 30px;
        border: 2px dashed #70808d !important;
        border-radius: 5px;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        background: #22282e !important;
        color: #aebbc5 !important;
        text-align: center !important;
    }

        #modal-help #ascHelpContent .asc-help-image-placeholder > div {
            width: 100%;
            max-width: 620px;
            text-align: center !important;
        }

        #modal-help #ascHelpContent .asc-help-image-placeholder strong,
        #modal-help #ascHelpContent .asc-help-image-placeholder span {
            display: block;
            text-align: center !important;
        }

        #modal-help #ascHelpContent .asc-help-image-placeholder strong {
            margin-bottom: 6px;
            color: #d9e4ea !important;
            font-size: 11px !important;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        #modal-help #ascHelpContent .asc-help-image-placeholder span {
            color: #aebbc5 !important;
            font-size: 11px !important;
            line-height: 1.45 !important;
        }
    /* Code remains intentionally unwrapped horizontally. */
    #modal-help #ascHelpContent pre {
        max-width: 100%;
        overflow-x: auto !important;
        white-space: pre !important;
    }

/* ==========================================================================
   Standalone Ascension Help window
   ========================================================================== */

html,
body.asc-help-window {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.asc-help-window {
    overflow: hidden;
    color: #dce3e8;
    background: #252a30;
    font-family: Arial, Helvetica, sans-serif;
}

    body.asc-help-window * {
        box-sizing: border-box;
    }

.asc-help-window-root {
    display: flex;
    width: 100vw;
    height: 100vh;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    background: #252a30;
}

.asc-help-window-header {
    position: relative;
    display: flex;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    align-items: center;
    border-bottom: 1px solid #4b5660;
    background: #303740;
}

.asc-help-window-brand {
    display: flex;
    width: 300px;
    min-width: 300px;
    align-items: center;
    gap: 10px;
    color: #b9d9eb;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

    .asc-help-window-brand img {
        width: auto;
        height: 25px;
    }

.asc-help-window-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
}

.asc-help-window-button {
    display: inline-flex;
    height: 28px;
    padding: 0 10px;
    align-items: center;
    gap: 6px;
    border: 1px solid #596572;
    border-radius: 4px;
    color: #dce3e8;
    background: #343c44;
    font-size: 10px;
    cursor: pointer;
}

    .asc-help-window-button:hover:not(:disabled) {
        border-color: #6c8799;
        background: #3d4851;
    }

    .asc-help-window-button:disabled {
        opacity: 0.4;
        cursor: default;
    }

.asc-help-window-title {
    min-width: 0;
    margin-left: 14px;
    overflow: hidden;
    color: #f1f5f7;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.asc-help-window .asc-help-shell {
    display: grid;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    grid-template-columns: 320px minmax(0, 1fr);
    overflow: hidden;
}

body.asc-help-window .asc-help-sidebar {
    min-width: 0;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
    border-right: 1px solid #454f58;
    background: #252b31;
}

body.asc-help-window .asc-help-main {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #292f36;
}

body.asc-help-window #ascHelpContent {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    padding: 24px 34px 40px 34px;
    overflow-x: hidden;
    overflow-y: auto;
}

body.asc-help-window #ascHelpIndexList {
    height: calc(100% - 40px);
    overflow-x: hidden;
    overflow-y: auto;
}

@media (max-width: 850px) {
    body.asc-help-window .asc-help-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .asc-help-window-brand {
        width: 260px;
        min-width: 260px;
    }
}

/* -------------------------------------------------------------------------
   Standalone full-page Help site
   ------------------------------------------------------------------------- */

html,
body.asc-help-site-page {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.asc-help-site-page {
    overflow: hidden;
    color: #dce3e8;
    background: #1f242a;
    font-family: Arial, Helvetica, sans-serif;
}

.asc-help-site-header {
    display: flex;
    width: 100%;
    height: 58px;
    padding: 0 18px;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid #4b5660;
    background: linear-gradient(180deg, #343c45 0%, #2b3239 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.asc-help-site-brand {
    display: flex;
    min-width: 0;
    align-items: center;
    text-decoration: none;
}

.asc-help-site-logo {
    display: block;
    width: auto;
    height: 34px;
    margin-right: 18px;
}

.asc-help-site-heading {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

    .asc-help-site-heading strong {
        color: #f1f5f7;
        font-size: 13px;
        font-weight: 600;
        line-height: 17px;
    }

    .asc-help-site-heading span {
        overflow: hidden;
        color: #9eacb7;
        font-size: 10px;
        line-height: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.asc-help-site-header-actions {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 6px;
}

    .asc-help-site-header-actions a {
        display: inline-flex;
        height: 28px;
        padding: 0 11px;
        border: 1px solid #53616d;
        border-radius: 4px;
        align-items: center;
        color: #dce7ed;
        background: #303942;
        text-decoration: none;
        font-size: 10px;
    }

        .asc-help-site-header-actions a:hover {
            border-color: #6f9db7;
            color: #ffffff;
            background: #384753;
        }

.asc-help-site-body {
    width: 100%;
    height: calc(100vh - 58px);
    min-height: 0;
}

body.asc-help-site-page .asc-help-shell {
    width: 100%;
    height: 100%;
    min-height: 0;
}

body.asc-help-site-page .asc-help-sidebar {
    min-width: 0;
    min-height: 0;
    background: #242a30;
    border-right: 1px solid #414a53;
}

body.asc-help-site-page .asc-help-main {
    min-width: 0;
    min-height: 0;
    height: 100%;
    background: #292f36;
}

body.asc-help-site-page #ascHelpContent {
    width: 100%;
    height: 100%;
    padding: 24px 34px 42px 34px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

    body.asc-help-site-page #ascHelpContent > * {
        max-width: 1100px;
    }

body.asc-help-site-page .asc-help-index-topic {
    text-decoration: none;
}

body.asc-help-site-page #ascHelpContent a {
    color: #8fc5e4;
}

    body.asc-help-site-page #ascHelpContent a:hover {
        color: #c3e5f7;
    }

body.asc-help-site-page .asc-help-related-links a {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid #53616c;
    border-radius: 4px;
    align-items: center;
    color: #dbe7ed !important;
    background: #303942;
    text-decoration: none;
    font-size: 10px;
}

    body.asc-help-site-page .asc-help-related-links a:hover {
        border-color: #6f9db7;
        color: #ffffff !important;
        background: #384753;
    }

body.asc-help-site-page .asc-help-figure {
    max-width: 100%;
    margin: 18px 0 22px 0;
}

    body.asc-help-site-page .asc-help-figure img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        border: 1px solid #46515a;
        border-radius: 4px;
    }

    body.asc-help-site-page .asc-help-figure figcaption {
        margin-top: 6px;
        color: #9eabb5;
        font-size: 10px;
        line-height: 1.4;
    }

body.asc-help-site-page .asc-help-inline-image {
    display: inline-block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 28px;
    margin: 0 4px;
    vertical-align: middle;
}

@media (max-width: 800px) {
    body.asc-help-site-page .asc-help-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.asc-help-site-page #ascHelpContent {
        padding: 18px;
    }
}