.uteos-help-header {
    padding-block: 3rem 2rem;
}

.uteos-help-intro {
    max-width: 42rem;
    font-size: 1.0625rem;
}

.uteos-help-choice .card-body {
    padding: 2rem;
}

.uteos-help-choice:hover {
    border-color: var(--tblr-primary);
}

.uteos-help-layout {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.uteos-help-toc {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
}

.uteos-help-toc a {
    display: block;
    padding: .5rem .75rem;
    color: var(--tblr-body-color);
    border-radius: var(--tblr-border-radius);
}

.uteos-help-toc summary {
    padding: 1rem .75rem;
    list-style: none;
    cursor: pointer;
}

.uteos-help-toc summary::-webkit-details-marker {
    display: none;
}

.uteos-help-toc details[open] > summary .icon {
    transform: rotate(180deg);
}

.uteos-help-toc nav {
    padding: 0 .25rem .5rem;
}

.uteos-help-toc a:hover,
.uteos-help-toc a[aria-current="true"] {
    background: var(--tblr-primary-lt);
    color: var(--tblr-primary);
    text-decoration: none;
}

.uteos-help-topic {
    scroll-margin-top: 1rem;
    overflow: hidden;
}

.uteos-help-topic > summary {
    list-style: none;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
}

.uteos-help-topic > summary::-webkit-details-marker {
    display: none;
}

.uteos-help-topic[open] > summary {
    border-bottom: 1px solid var(--tblr-border-color);
}

.uteos-help-topic[open] .uteos-help-chevron {
    transform: rotate(180deg);
}

.uteos-help-topic h2 {
    font-size: 1.125rem;
}

.uteos-help-body {
    padding: 1.5rem;
}

.uteos-help-steps {
    padding-inline-start: 1.375rem;
    font-size: 1rem;
    line-height: 1.7;
}

.uteos-help-steps li + li {
    margin-top: 1rem;
}

.uteos-help-steps li::marker {
    color: var(--tblr-primary);
    font-weight: 600;
}

.uteos-help-mobile .uteos-help-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 16rem;
    gap: 1.5rem;
    align-items: start;
}

.uteos-help-image-button {
    display: block;
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    color: var(--tblr-secondary-color);
    cursor: zoom-in;
    font: inherit;
    text-align: center;
}

.uteos-help-shot {
    display: block;
    position: relative;
    width: 100%;
    border: 1px solid var(--tblr-border-color);
    border-radius: .5rem;
    background: #f8f9fa;
}

.uteos-help-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.uteos-help-mark {
    position: absolute;
    display: block;
    box-sizing: content-box;
    border: 3px solid #e8590c;
    border-radius: .35rem;
    box-shadow: 0 0 0 2px #fff;
    pointer-events: none;
    transform: translate(-3px, -3px);
}

.uteos-help-dialog {
    width: min(94vw, 90rem);
    max-width: 94vw;
    max-height: 94vh;
    padding: 1rem;
    border: 1px solid var(--tblr-border-color);
    border-radius: .75rem;
    background: var(--tblr-bg-surface);
    color: var(--tblr-body-color);
}

.uteos-help-dialog::backdrop {
    background: rgb(0 0 0 / 65%);
}

.uteos-help-dialog:has(.uteos-help-shot-mobile) {
    width: min(94vw, 30rem);
}

.uteos-help-dialog-header {
    position: sticky;
    top: -1rem;
    z-index: 1;
    padding-block: .5rem 1rem;
    background: var(--tblr-bg-surface);
}

.uteos-help-dialog .uteos-help-shot-mobile {
    max-width: 27rem;
    margin-inline: auto;
}

.uteos-help-dialog [data-help-dialog-content] {
    max-height: calc(94vh - 6rem);
    padding: .5rem;
    overflow: auto;
}

.uteos-help-dialog .uteos-help-shot-web {
    width: max(100%, 56rem);
}

@media (max-width: 991.98px) {
    .uteos-help-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .uteos-help-toc {
        position: static;
        max-height: none;
    }

    .uteos-help-toc nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .uteos-help-header {
        padding-block: 2rem 1.5rem;
    }

    .uteos-help-choice .card-body,
    .uteos-help-topic > summary,
    .uteos-help-body {
        padding: 1.25rem;
    }

    .uteos-help-mobile .uteos-help-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .uteos-help-mobile .uteos-help-image-button {
        max-width: 18rem;
        margin-inline: auto;
    }

    .uteos-help-toc nav {
        grid-template-columns: minmax(0, 1fr);
    }
}
