.help-shell {
    min-height: 100vh;
    background: #f5f7fb;
    color: #172033;
}

.help-shell a {
    color: #1758b8;
}

.help-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 66px;
    padding: 0 28px;
    border-bottom: 1px solid #d9e0ea;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
}

.help-brand {
    color: #172033 !important;
    font-size: 21px;
    font-weight: 750;
    text-decoration: none;
}

.help-topnav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.help-topnav a {
    color: #43516a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.help-topnav a:hover,
.help-sidebar a:hover {
    color: #1758b8;
}

.help-page-frame {
    display: grid;
    grid-template-columns: 245px minmax(0, 900px);
    justify-content: center;
    gap: 42px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 28px 64px;
}

.help-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.help-sidebar-title {
    margin-bottom: 8px;
    color: #7b879b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.help-sidebar a {
    padding: 8px 10px;
    border-radius: 8px;
    color: #43516a;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
}

.help-content {
    min-width: 0;
}

.help-content h1 {
    margin: 0 0 10px;
    color: #111827;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.help-content h2 {
    margin: 0 0 12px;
    color: #172033;
    font-size: 22px;
}

.help-content p,
.help-content li,
.help-definition-list dd {
    color: #43516a;
    font-size: 16px;
    line-height: 1.65;
}

.help-content ul,
.help-content ol {
    padding-left: 24px;
}

.help-lead {
    margin: 0 0 30px;
    color: #637089 !important;
    font-size: 18px !important;
}

.help-hero {
    margin-bottom: 24px;
    padding: 34px;
    border: 1px solid #dce4ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(31, 50, 81, .07);
}

.help-hero h1 {
    margin-bottom: 12px;
}

.help-hero p:last-child {
    max-width: 720px;
    margin: 0;
    color: #637089;
    font-size: 18px;
    line-height: 1.55;
}

.help-kicker {
    margin: 0 0 8px !important;
    color: #1758b8 !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.help-search-wrap {
    margin-bottom: 24px;
}

.help-search-wrap label {
    display: block;
    margin-bottom: 7px;
    color: #43516a;
    font-size: 13px;
    font-weight: 700;
}

.help-search-wrap input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #172033;
    outline: none;
}

.help-search-wrap input:focus {
    border-color: #4d8de8;
    box-shadow: 0 0 0 3px rgba(77, 141, 232, .12);
}

.help-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.help-card-grid.compact {
    margin-bottom: 0;
}

.help-card {
    display: block;
    padding: 20px;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: #fff;
    color: inherit !important;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(31, 50, 81, .04);
}

.help-card:not(.static):hover {
    border-color: #9bbce9;
    transform: translateY(-1px);
}

.help-card-title {
    margin-bottom: 6px;
    color: #172033;
    font-size: 17px;
    font-weight: 750;
}

.help-card-text {
    color: #637089;
    font-size: 14px;
    line-height: 1.5;
}

.help-section {
    margin: 0 0 24px;
    padding: 26px 28px;
    border: 1px solid #dce4ef;
    border-radius: 16px;
    background: #fff;
}

.help-section > :last-child {
    margin-bottom: 0;
}

.help-callout,
.help-note,
.help-warning {
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.help-callout {
    border-left: 4px solid #2d76d4;
    background: #edf5ff;
    color: #29486f;
}

.help-note {
    border-left: 4px solid #7590b3;
    background: #eef2f7;
    color: #43516a;
}

.help-warning {
    border-left: 4px solid #d58416;
    background: #fff5df;
    color: #694716;
}

.help-definition-list {
    display: grid;
    grid-template-columns: minmax(130px, 190px) 1fr;
    gap: 12px 18px;
}

.help-definition-list dt {
    color: #172033;
    font-weight: 750;
}

.help-definition-list dd {
    margin: 0;
}

.help-steps li {
    margin-bottom: 8px;
}

.help-code {
    overflow-x: auto;
    padding: 16px;
    border-radius: 10px;
    background: #101827;
    color: #dbe7f5;
    font: 13px/1.6 Consolas, "Courier New", monospace;
}

.faq h2 {
    margin-top: 28px;
    font-size: 18px;
}

.faq h2:first-child {
    margin-top: 0;
}

.help-footer {
    display: flex;
    justify-content: center;
    gap: 22px;
    padding: 24px;
    border-top: 1px solid #d9e0ea;
    background: #fff;
    color: #7b879b;
    font-size: 13px;
}

@media (max-width: 900px) {
    .help-page-frame {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
    }

    .help-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
        border: 1px solid #dce4ef;
        border-radius: 14px;
        background: #fff;
    }

    .help-sidebar-title {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .help-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 18px;
    }

    .help-topnav {
        gap: 12px 16px;
    }

    .help-page-frame {
        padding: 20px 14px 48px;
    }

    .help-sidebar,
    .help-card-grid {
        grid-template-columns: 1fr;
    }

    .help-hero,
    .help-section {
        padding: 20px;
    }

    .help-definition-list {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .help-definition-list dd {
        margin-bottom: 10px;
    }
}
