.help-knowledge-trigger {
    align-items: center;
    display: inline-flex;
    gap: .35rem;
    white-space: nowrap;
}

.help-knowledge-trigger > span:first-child {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 1.35rem;
    justify-content: center;
    line-height: 1;
    width: 1.35rem;
}

.help-knowledge-dialog {
    background: #fff;
    border: 0;
    box-shadow: -14px 0 38px rgba(8, 23, 42, .22);
    color: #172334;
    height: 100dvh;
    margin: 0 0 0 auto;
    max-height: 100dvh;
    max-width: 100vw;
    padding: 0;
    width: min(42rem, 100vw);
}

.help-knowledge-dialog::backdrop {
    background: rgba(8, 23, 42, .48);
}

.help-dialog-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-width: 0;
}

.help-dialog-header {
    align-items: center;
    background: #102c4e;
    color: #fff;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem 1.25rem;
}

.help-dialog-header h2,
.help-dialog-header p {
    margin: 0;
}

.help-dialog-header p {
    color: #cfe2f7;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.help-dialog-header h2 {
    font-size: 1.2rem;
}

.help-dialog-header button {
    background: transparent;
    border: 1px solid #b7d0eb;
    border-radius: .35rem;
    color: #fff;
    min-height: 2.5rem;
    padding: .45rem .8rem;
}

.help-dialog-body {
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.help-loading {
    padding: 2rem 1.25rem;
}

.help-panel-content {
    margin: 0 auto;
    max-width: 62rem;
    min-width: 0;
    padding: 1.25rem;
}

.help-panel-heading {
    margin-bottom: 1.1rem;
}

.help-panel-heading h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    margin: .3rem 0;
}

.help-panel-heading p,
.help-article-summary {
    color: #526276;
    margin: .25rem 0 0;
}

.help-back-link,
.help-full-article-link {
    font-weight: 700;
}

.help-search-form label {
    display: block;
    font-weight: 700;
    margin-bottom: .4rem;
}

.help-search-row {
    display: grid;
    gap: .55rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.help-search-row input {
    border: 1px solid #7b8998;
    border-radius: .4rem;
    font: inherit;
    min-height: 2.75rem;
    min-width: 0;
    padding: .55rem .7rem;
    width: 100%;
}

.help-search-row button {
    background: #1767a5;
    border: 1px solid #1767a5;
    border-radius: .4rem;
    color: #fff;
    font-weight: 700;
    min-height: 2.75rem;
    padding: .55rem 1rem;
}

.help-search-status {
    color: #526276;
    min-height: 1.5rem;
    padding-top: .45rem;
}

.help-panel-content section {
    margin-top: 1.25rem;
}

.help-panel-content section > h3,
.help-support-handoff h3 {
    font-size: 1.05rem;
    margin: 0 0 .65rem;
}

.help-result-list,
.help-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-result-list {
    display: grid;
    gap: .65rem;
}

.help-browse-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}

.help-browse-module {
    background: #f7f9fc;
    border: 1px solid #d6dee8;
    border-radius: .55rem;
    min-width: 0;
    padding: 1rem;
}

.help-browse-module h4 {
    margin: 0 0 .75rem;
}

.help-result-list a {
    background: #fff;
    border: 1px solid #d6dee8;
    border-radius: .5rem;
    color: #183b61;
    display: grid;
    gap: .2rem;
    min-width: 0;
    padding: .85rem;
    text-decoration: none;
}

.help-result-list a:hover,
.help-result-list a:focus-visible {
    border-color: #1767a5;
    box-shadow: 0 0 0 2px rgba(23, 103, 165, .15);
}

.help-result-list span {
    color: #44556a;
    overflow-wrap: anywhere;
}

.help-result-list small,
.help-article-meta {
    color: #62738a;
    font-size: .78rem;
}

.help-empty-state,
.help-support-handoff {
    background: #f2f6fa;
    border: 1px solid #d6dee8;
    border-radius: .5rem;
    padding: 1rem;
}

.help-support-handoff {
    margin-top: 1.5rem;
}

.help-support-handoff p {
    margin: 0 0 .8rem;
}

.help-article-body {
    overflow-wrap: anywhere;
}

.help-article-body h2,
.help-article-body h3,
.help-article-body h4,
.help-article-body h5 {
    margin: 1.3rem 0 .55rem;
}

.help-article-body li + li {
    margin-top: .35rem;
}

.help-article-body code {
    white-space: normal;
}

.help-center {
    margin: 0 auto;
    max-width: 76rem;
    min-width: 0;
    padding: clamp(1rem, 3vw, 2rem);
}

.help-center-heading {
    border-bottom: 1px solid #d6dee8;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.help-center-heading h1,
.help-center-heading p {
    margin-bottom: .3rem;
}

.help-center > .help-panel-content {
    padding-left: 0;
    padding-right: 0;
}

.at-host-help {
    color: #fff;
    padding: .55rem .65rem;
    text-decoration: none;
}

@media (max-width: 600px) {
    .help-knowledge-dialog {
        height: 100dvh;
        width: 100vw;
    }

    .help-dialog-header,
    .help-panel-content {
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .help-search-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-search-row button {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .help-knowledge-trigger > span:last-child {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .help-dialog-header h2 {
        font-size: 1rem;
    }
}
