html.ta-page-help {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

html.ta-page-help .help-catalog-page {
    background: var(--body-bg, #f4f7fa);
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    overflow-x: clip;
}

html.ta-page-help .topnav,
html.ta-page-help .topnav * {
    box-sizing: content-box;
}

.help-catalog-shell {
    box-sizing: border-box;
    color: var(--text-main, #263442);
    margin: 0 auto;
    max-width: 1180px;
    min-width: 0;
    min-height: 65vh;
    padding: 48px 22px 80px;
    width: 100%;
}

.help-catalog-hero {
    background: linear-gradient(135deg, color-mix(in srgb, #2f659f 15%, #fff), #fff);
    border: 1px solid #d5e1ec;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(42, 67, 94, 0.08);
    margin-bottom: 25px;
    padding: 34px 38px;
}

.help-catalog-hero > span {
    color: #2f659f;
    font-size: 13px;
    font-weight: 800;
}

.help-catalog-hero h1 {
    font-size: 29px;
    margin: 7px 0 5px;
}

.help-catalog-hero p {
    color: var(--text-main, #526474);
    font-size: 15px;
    line-height: 2;
    margin: 0;
    max-width: 850px;
}

.help-catalog-list {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr;
}

.help-catalog-tabs {
    background: var(--market-pro-surface, #fff);
    border: 1px solid var(--market-pro-border, #d5e0ea);
    border-radius: 14px;
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
    padding: 6px;
}

.help-catalog-tab {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--text-main, #607181);
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 9px 15px;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.help-catalog-tab:hover,
.help-catalog-tab:focus-visible {
    color: #2f659f;
    outline: none;
}

.help-catalog-tab:focus-visible {
    box-shadow: 0 0 0 3px rgba(47, 101, 159, 0.14);
}

.help-catalog-tab.is-active {
    background: #eaf3fb;
    border-color: #bfd4e8;
    color: #2f659f;
}

.help-catalog-tab:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.help-tab-panel[hidden] {
    display: none !important;
}

.help-video-section {
    margin-bottom: 35px;
}

.help-catalog-section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin: 0 2px 15px;
}

.help-catalog-section-heading span {
    color: #2f659f;
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.help-catalog-section-heading h2 {
    font-size: 22px;
    margin: 3px 0 0;
}

.help-catalog-section-heading p {
    color: var(--text-main, #687888);
    font-size: 13px;
    margin: 0;
}

.help-guide-heading {
    margin-top: 4px;
}

.help-video-list {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.help-video-card {
    background: var(--market-pro-surface, #fff);
    border: 1px solid var(--market-pro-border, #d5e0ea);
    border-radius: 15px;
    box-shadow: 0 8px 22px rgba(38, 69, 101, 0.07);
    overflow: hidden;
}

.help-video-frame {
    aspect-ratio: 16 / 9;
    background: #101924;
    position: relative;
}

.help-video-frame iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.help-video-copy {
    padding: 14px 16px 16px;
}

.help-video-copy h3 {
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.help-video-copy p {
    color: var(--text-main, #657585);
    font-size: 12px;
    line-height: 1.9;
    margin: 4px 0 0;
}

.help-catalog-card {
    align-items: center;
    background: var(--market-pro-surface, #fff);
    border: 1px solid var(--market-pro-border, #d5e0ea);
    border-radius: 15px;
    color: var(--text-main, #263442);
    cursor: pointer;
    display: grid;
    font-family: inherit;
    gap: 14px;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    padding: 20px;
    text-align: right;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.help-catalog-card:hover,
.help-catalog-card:focus-visible {
    border-color: #82a9ce;
    box-shadow: 0 12px 28px rgba(38, 69, 101, 0.11);
    outline: none;
    transform: translateY(-2px);
}

.help-catalog-card--featured {
    background: linear-gradient(135deg, color-mix(in srgb, #2f659f 10%, var(--market-pro-surface, #fff)), var(--market-pro-surface, #fff));
    border-color: #9ab9d7;
    grid-column: 1 / -1;
}

.help-catalog-card__icon {
    align-items: center;
    background: #e9f2fa;
    border-radius: 13px;
    color: #2f659f;
    display: inline-flex;
    font-size: 21px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.help-catalog-card__copy {
    display: block;
    min-width: 0;
}

.help-catalog-card__copy small {
    color: #2f659f;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 2px;
}

.help-catalog-card__copy strong {
    display: block;
    font-size: 17px;
    line-height: 1.8;
}

.help-catalog-card__copy > span {
    color: var(--text-main, #617181);
    display: block;
    font-size: 13px;
    line-height: 1.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.help-catalog-card__open {
    color: #2f659f;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.help-catalog-empty {
    align-items: center;
    background: var(--market-pro-surface, #fff);
    border: 1px dashed var(--market-pro-border, #cbd9e5);
    border-radius: 15px;
    color: var(--text-main, #647586);
    display: flex;
    gap: 9px;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 30px;
}

body.dark .help-catalog-hero {
    background: linear-gradient(135deg, #17283a, #101924);
    border-color: #34485c;
}

body.dark .help-catalog-card,
body.dark .help-catalog-empty,
body.dark .help-video-card,
body.dark .help-catalog-tabs {
    --market-pro-border: #34485c;
    --market-pro-surface: #101924;
}

body.dark .help-catalog-card__icon {
    background: #1b3044;
}

body.dark .help-catalog-tab.is-active {
    background: #1b3044;
    border-color: #355876;
}

@media (max-width: 780px) {
    .help-catalog-shell {
        padding: 24px 11px 55px;
    }

    .help-catalog-hero {
        padding: 24px 20px;
    }

    .help-catalog-hero h1 {
        font-size: 23px;
    }

    .help-catalog-list {
        grid-template-columns: 1fr;
    }

    .help-video-list {
        grid-template-columns: 1fr;
    }

    .help-catalog-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }

    .help-catalog-card--featured {
        grid-column: auto;
    }

    .help-catalog-card {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 15px;
    }

    .help-catalog-card__icon {
        height: 44px;
        width: 44px;
    }

    .help-catalog-card__open {
        display: none;
    }
}

