/* Company help uses the existing brand palette and remains readable on mobile. */
.help-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 650;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 9px;
}
.help-nav-link:hover,
.help-nav-link.active {
    background: #eaf3ff;
}
.help-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
    flex: 0 0 auto;
}
.help-hero {
    padding: 34px;
    border: 1px solid #dceaff;
    border-radius: 18px;
    background: linear-gradient(120deg, #eaf3ff, #fff);
}
.help-hero h1 {
    max-width: 700px;
}
.help-hero > p {
    max-width: 690px;
    color: #536884;
}
.help-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 740px;
    background: #fff;
    border: 1px solid #ccdcf3;
    border-radius: 12px;
    padding: 7px;
    margin: 24px 0 14px;
}
.help-search input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: var(--ink);
}
.help-search input:focus {
    outline: 2px solid var(--brand);
    border-radius: 6px;
    outline-offset: -2px;
}
.help-hero .help-scope {
    font-size: 12px;
    margin: 0;
}
.help-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.help-list-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 28px 0 15px;
}
.help-list-heading h2 {
    margin: 0;
    font-size: 19px;
}
.help-list-heading h2 span {
    color: #637591;
    font-weight: 400;
}
.help-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.help-topic,
.help-article-card {
    display: block;
    padding: 22px;
    color: var(--ink);
    min-width: 0;
    transition: border-color 0.15s;
}
.help-topic:hover,
.help-article-card:hover,
.help-topic.selected {
    border-color: var(--brand);
    color: var(--ink);
}
.help-topic-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #eaf3ff;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    margin-bottom: 14px;
}
.help-topic h3,
.help-article-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 8px;
    letter-spacing: -0.2px;
}
.help-topic p,
.help-article-card p {
    color: #536884;
    font-size: 13px;
    margin-bottom: 15px;
}
.help-topic-count,
.help-card-topic {
    font-size: 11px;
    color: #637591;
}
.help-card-topic {
    display: block;
    margin-bottom: 9px;
}
.help-article-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.help-article-card h3 span {
    color: var(--brand);
}
.help-audience {
    display: inline-block;
    background: #edf6f4;
    color: #246756;
    font-size: 11px;
    line-height: 1.5;
    padding: 4px 9px;
    border-radius: 7px;
}
.help-audience.for-admin {
    background: #eef0fc;
    color: #505ca0;
}
.help-no-results {
    grid-column: 1 / -1;
    padding: 35px;
}
.help-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
}
.help-reading-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.help-toc {
    padding: 22px;
    position: sticky;
    top: 24px;
}
.help-toc strong {
    display: block;
    margin-bottom: 10px;
}
.help-toc a {
    display: block;
    font-size: 13px;
    padding: 8px 0;
    color: #536884;
}
.help-toc a:hover {
    color: var(--brand);
}
.help-article {
    padding: 36px;
    min-width: 0;
    overflow-wrap: anywhere;
}
.help-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.help-article h1 {
    font-size: 30px;
    line-height: 1.2;
}
.help-lead {
    color: #536884;
    font-size: 16px;
    margin-bottom: 30px;
}
.help-section {
    margin-top: 30px;
    scroll-margin-top: 24px;
}
.help-section h2,
.help-related h2 {
    font-size: 20px;
    margin-bottom: 14px;
}
.help-section p,
.help-section li {
    font-size: 15px;
    line-height: 1.8;
    color: #334967;
}
.help-section p:last-child {
    margin-bottom: 0;
}
.help-section ol,
.help-section ul {
    padding-left: 25px;
    margin-bottom: 0;
}
.help-section li {
    padding-left: 5px;
    margin-bottom: 12px;
}
.help-section li::marker {
    color: var(--brand);
    font-weight: 700;
}
.help-section .help-note {
    padding: 17px 20px;
    border-left: 3px solid var(--brand);
    border-radius: 0 9px 9px 0;
    background: #f0f6ff;
    font-size: 14px;
    margin-top: 18px;
}
.help-page-action {
    margin-top: 32px;
}
.help-page-action a {
    white-space: normal;
    text-align: left;
}
.help-related {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.help-related a {
    display: block;
    padding: 5px 0;
}
.help-support {
    display: flex;
    gap: 18px;
    padding: 24px;
    margin-top: 28px;
    background: #f0f6ff;
}
.help-support .help-mark {
    color: var(--brand);
    margin-top: 2px;
}
.help-support p {
    margin-bottom: 0;
    color: #536884;
    max-width: 820px;
    font-size: 13px;
}
.help-nav-link:focus-visible,
.help-topic:focus-visible,
.help-article-card:focus-visible,
.help-toc a:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}
@media (max-width: 1250px) {
    .help-topics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .help-reading-layout {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 18px;
    }
    .help-article {
        padding: 26px;
    }
}
@media (max-width: 900px) {
    .help-reading-layout {
        grid-template-columns: 1fr;
    }
    .help-toc {
        position: static;
    }
    .help-toc nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0 18px;
    }
}
@media (max-width: 600px) {
    .help-nav-link {
        padding: 6px;
        gap: 5px;
        font-size: 12px;
    }
    .help-nav-link .help-mark {
        width: 19px;
        height: 19px;
    }
    .help-hero {
        padding: 22px 18px;
    }
    .help-hero h1,
    .help-article h1 {
        font-size: 25px;
        letter-spacing: -0.6px;
    }
    .help-search {
        flex-wrap: wrap;
    }
    .help-search .btn {
        width: 100%;
    }
    .help-topics,
    .help-article-list {
        grid-template-columns: 1fr;
    }
    .help-article,
    .help-toc,
    .help-topic,
    .help-article-card {
        padding: 20px;
    }
    .help-list-heading {
        flex-wrap: wrap;
        gap: 8px;
    }
    .help-support {
        padding: 20px;
    }
}
@media (max-width: 420px) {
    .topbar.help-available {
        gap: 12px;
    }
    .topbar.help-available .topbar-right {
        gap: 12px;
    }
    .topbar.help-available .user-chip > div,
    .topbar.help-available .user-chip > span:last-child {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}
@media print {
    .sidebar,
    .topbar,
    .mobile-nav,
    .app-footer,
    .help-toc,
    .help-breadcrumb,
    .help-article-meta,
    .help-page-action,
    .help-related,
    .help-support,
    .demo-strip {
        display: none !important;
    }
    body,
    .main-shell,
    .content {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }
    .app-shell,
    .help-reading-layout {
        display: block;
    }
    .help-article {
        border: 0;
        padding: 0;
    }
    .help-section h2 {
        break-after: avoid;
    }
}
