.topbar-help-offcanvas {
    --bs-offcanvas-width: min(460px, 100vw);
    z-index: 1090;
}

.topbar-help-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.topbar-help-text {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.topbar-help-search-bar {
    flex: 0 0 auto;
    z-index: 2;
    background: var(--bs-body-bg);
}

.topbar-help-content-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.topbar-help-text img,
.topbar-help-text iframe,
.topbar-help-text video {
    max-width: 100%;
    height: auto;
}

.help-article-text {
    overflow-wrap: anywhere;
}

.help-image-thumbnail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(100%, 20rem);
    margin: .35rem 0 1rem;
    padding: .35rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .5rem;
    background: var(--bs-body-bg);
    box-shadow: 0 .125rem .35rem rgba(0, 0, 0, .08);
    cursor: zoom-in;
}

.help-image-thumbnail:hover,
.help-image-thumbnail:focus {
    border-color: rgba(var(--bs-primary-rgb), .55);
    box-shadow: 0 0 0 .18rem rgba(var(--bs-primary-rgb), .12);
}

.help-content-image {
    display: block;
    max-width: min(100%, 18rem);
    max-height: 12rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.topbar-help-offcanvas .help-image-thumbnail {
    max-width: min(100%, 12rem);
    margin-bottom: .75rem;
}

.topbar-help-offcanvas .help-content-image {
    max-width: min(100%, 10.5rem);
    max-height: 7rem;
}

.help-image-modal-img {
    max-height: calc(100vh - 8rem);
    object-fit: contain;
}

.topbar-help-search-results:empty {
    display: none;
}

.topbar-help-search-results.is-loading {
    min-height: 3.75rem;
}

.topbar-help-search-loading {
    display: flex;
    align-items: center;
    min-height: 3.75rem;
}

.topbar-help-suggestion {
    border-left: 0;
    border-right: 0;
}

.topbar-help-suggestion .text-truncate {
    max-width: 18rem;
}

.topbar-help-form-text {
    overflow-wrap: anywhere;
}

.topbar-help-form-text > :last-child {
    margin-bottom: 0;
}

.topbar-help-technical-text {
    overflow-wrap: anywhere;
    font-size: .875rem;
}

.topbar-help-technical-text > :last-child {
    margin-bottom: 0;
}

.help-field-label {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: .35rem;
}

.help-field-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    padding: 0;
    margin-left: .35rem;
    border: 0;
    border-radius: .15rem;
    background: transparent;
    box-shadow: none;
    vertical-align: middle;
    color: var(--bs-secondary-color);
    flex: 0 0 auto;
    line-height: 1;
}

.help-field-label .help-field-trigger {
    margin-left: 0;
}

.help-field-trigger:hover,
.help-field-trigger:focus {
    color: var(--bs-primary);
    background: transparent;
    box-shadow: none;
}

.help-field-trigger:focus-visible {
    outline: 2px solid rgba(var(--bs-primary-rgb), .45);
    outline-offset: 2px;
}

.help-field-trigger i {
    font-size: .95rem;
    line-height: 1;
}

.help-field-highlight {
    outline: 2px solid rgba(var(--bs-primary-rgb), .35);
    outline-offset: 2px;
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .12);
}
