.chc-help-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chc-help-bearing {
    position: relative;
}

.chc-help-button {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 1px solid rgba(227, 204, 136, 0.72);
    border-radius: 50%;
    background: #f3d88b;
    color: #183120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(6, 18, 11, 0.18);
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.chc-help-button:hover,
.chc-help-button:focus-visible {
    transform: translateY(-1px);
    background: #ffffff;
    color: #155733;
    outline: 2px solid rgba(243, 216, 139, 0.45);
    outline-offset: 2px;
}

.chc-help-button.floating {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.1rem;
    z-index: 1050;
}

.chc-help-button.chc-help-corner {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
}

.chc-help-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 19, 12, 0.62);
    z-index: 2000;
}

.chc-help-overlay.active {
    display: flex;
}

.chc-help-dialog {
    width: min(720px, 100%);
    max-height: min(86vh, 760px);
    overflow: auto;
    border-radius: 14px;
    background: #fffdf6;
    color: #15291d;
    box-shadow: 0 24px 72px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(30, 84, 52, 0.18);
}

.chc-help-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #173f2a;
    color: #fff8e8;
    z-index: 1;
}

.chc-help-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.chc-help-close {
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

.chc-help-close:focus-visible {
    outline: 2px solid #f3d88b;
    outline-offset: 2px;
}

.chc-help-body {
    padding: 16px 18px 18px;
}

.chc-help-body p {
    color: #31483b;
    margin: 0 0 12px;
}

.chc-help-section {
    margin-top: 12px;
}

.chc-help-section h4 {
    margin: 0 0 7px;
    font-size: 0.86rem;
    font-weight: 900;
    color: #1b5537;
    text-transform: uppercase;
    letter-spacing: 0;
}

.chc-help-section ul {
    margin: 0;
    padding-left: 18px;
}

.chc-help-section li {
    margin-bottom: 7px;
    color: #33483c;
}

.chc-help-topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.chc-help-topic-list button {
    text-align: left;
    border: 1px solid rgba(31, 90, 58, 0.18);
    border-radius: 10px;
    background: #f8f4e7;
    color: #1b3d2a;
    padding: 9px 10px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.chc-help-topic-list button:hover,
.chc-help-topic-list button:focus-visible {
    background: #edf6ef;
    outline: 2px solid rgba(31, 90, 58, 0.18);
}

@media (max-width: 680px) {
    .chc-help-topic-list {
        grid-template-columns: 1fr;
    }

    .chc-help-button.floating {
        left: 12px;
        bottom: 12px;
    }
}
