﻿#jt-help-btn {
    color: #fff;
    border:none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font: 700 18px/1 system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
    align-self: center;
    margin-left: 4px;
    flex-shrink: 0;
    z-index: 10000000000001;
}

    #jt-help-btn:hover {
        color: #fff;
        background-color: var(--jt-blue-accent);
        border-color: var(--jt-blue);
    }

#jt-help-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000000000002;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    #jt-help-overlay[hidden] {
        display: none;
    }

#jt-help-modal {
    background: #161616;
    color: #e8e8e8;
    width: min(600px, 100%);
    max-height: 78vh;
    overflow: auto;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
    font: 14px/1.5 system-ui, sans-serif;
}

#jt-help-head {
    position: sticky;
    top: 0;
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #2a2a2a;
}

    #jt-help-head h2 {
        margin: 0;
        font-size: 18px;
    }

#jt-help-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

    #jt-help-close:hover {
        color: #fff;
    }

#jt-help-body {
    padding: 6px 18px 4px;
}

.jt-help-intro {
    color: #bbb;
}

#jt-help-body h3 {
    margin: 18px 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--jt-blue-light);
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 4px;
}

#jt-help-body dl {
    margin: 0;
}

#jt-help-body dt {
    font-weight: 700;
    margin-top: 10px;
    color: #fff;
}

#jt-help-body dd {
    margin: 2px 0 0;
    color: #c4c4c4;
}

#jt-help-body em {
    color: #fff;
    font-style: normal;
    font-weight: 600;
}

.jt-help-tip {
    margin: 16px 0 4px;
    padding: 10px 12px;
    background: var(--jt-surface-tint);
    border-left: 3px solid var(--jt-blue-accent);
    border-radius: 4px;
    color: #cfe2ff;
}

#jt-help-foot {
    position: sticky;
    bottom: 0;
    background: #161616;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #2a2a2a;
}

    #jt-help-foot label {
        color: #aaa;
        font-size: 13px;
        display: flex;
        gap: 6px;
        align-items: center;
    }

#jt-help-gotit {
    margin-left: auto;
    color: #f4f4f4;
    border:none;
    font-size: 12px;
    border-radius: 3px;
    padding: 5px 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

    #jt-help-gotit:hover {
        color: #fff;
        background-color: #0d83dd;
        border-color: #0165b0;
    }
