/* Súgórendszer: fejléc "?" gomb, jobb oldali panel, kézikönyv oldal */

.header-nav .help-btn i {
    font-size: 18px;
}

.help-offcanvas {
    --bs-offcanvas-width: 460px;
    /* A fix fejléc (z-index 997) és a sidebar fölött nyíljon. */
    z-index: 1050;
}

.help-offcanvas .offcanvas-title {
    color: #383E42;
}

.help-panel-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #383E42;
    margin-bottom: .35rem;
}

.help-panel .accordion-button {
    font-size: .95rem;
    font-weight: 600;
    padding-left: 0;
    padding-right: 0;
}

.help-panel .accordion-button:not(.collapsed) {
    background: transparent;
    box-shadow: none;
}

.help-panel .accordion-body {
    padding-left: 0;
    padding-right: 0;
}

/* A súgó-szövegek listái, bekezdései kapjanak levegőt, a táblázatok és kódok ne csorduljanak ki. */
.help-text {
    font-size: .925rem;
    line-height: 1.6;
}

.help-text p,
.help-text ul,
.help-text ol {
    margin-bottom: .6rem;
}

.help-text li {
    margin-bottom: .2rem;
}

.help-text code {
    word-break: break-word;
}

.help-text table {
    width: 100%;
    margin-bottom: .6rem;
    border-collapse: collapse;
    font-size: .875rem;
}

.help-text th,
.help-text td {
    border: 1px solid #dee2e6;
    padding: .3rem .45rem;
    vertical-align: top;
}

.help-text th {
    background: #f3f5f8;
}

.help-text .tip {
    border-left: 3px solid #57c02c;
    background: #f1faec;
    padding: .45rem .7rem;
    margin-bottom: .6rem;
}

/* Kézikönyv oldal */

.help-manual-lead {
    max-width: 46rem;
}

.help-chapter {
    font-size: 1.25rem;
    font-weight: 600;
    color: #383E42;
    margin: 1.75rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #57c02c;
}

.help-topic .card-header {
    background: #fff;
}

.help-topic .help-toggle {
    color: #383E42;
}

.help-chevron {
    display: inline-block;
    transition: transform .15s ease;
}

.help-toggle[aria-expanded="true"] .help-chevron {
    transform: rotate(90deg);
}

.help-section-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #4d5a66;
    margin: 1.1rem 0 .4rem;
}

.help-section-title:first-child {
    margin-top: 0;
}

mark.help-hit {
    padding: 0 .1em;
    background: #ffe08a;
}

/* A fix fejléc ne takarja ki a horgonnyal megnyitott fejezet címét. */
.help-topic {
    scroll-margin-top: 80px;
}
