/* ============================================================
   Help Pages — Shared Styles
   ============================================================ */

.help-formula {
    background: #f8f7fc;
    border: 1px solid #e8e6f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.8;
    overflow-x: auto;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
}

.help-table th {
    background: #f8f7fc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e8e6f0;
}

.help-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
}

.help-table tr:last-child td {
    border-bottom: none;
}

.help-example {
    background: linear-gradient(135deg, #f0eeff 0%, #f8f7fc 100%);
    border-left: 4px solid #6c5ce7;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 24px 0;
    overflow-x: auto;
}

.help-example-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.help-callout {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 15px;
}

.help-callout-blue {
    background: #e8f4fd;
    border: 1px solid #90caf9;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 15px;
}

.help-callout-green {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 15px;
}

/* Table of Contents */
.help-toc {
    background: #f8f7fc;
    border: 1px solid #e8e6f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 30px 0;
}

.help-toc-title {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e6f0;
}

.help-toc ol {
    margin: 0;
    padding-left: 20px;
    counter-reset: toc;
    list-style: none;
}

.help-toc li {
    counter-increment: toc;
    margin-bottom: 0;
}

.help-toc li a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s;
}

.help-toc li a::before {
    content: counter(toc) ".";
    color: #6c5ce7;
    font-weight: 700;
    margin-right: 10px;
    min-width: 22px;
    display: inline-block;
}

.help-toc li a:hover {
    background: #eee9ff;
}

.help-toc li a span {
    color: #777;
    font-weight: 400;
    font-size: 14px;
    margin-left: 4px;
}

.help-toc li a span::before {
    content: "- ";
}

@media (max-width: 767px) {
    .help-toc {
        padding: 16px 12px;
    }

    .help-toc ol {
        padding-left: 4px;
    }

    .help-toc li a {
        padding: 8px 6px;
    }

    .help-toc li a::before {
        margin-right: 4px;
        min-width: auto;
    }

    .help-table th,
    .help-table td {
        padding: 8px 8px;
        font-size: 13px;
    }

    .help-example {
        padding: 16px 12px;
    }
}

.single-post-txt h2[id],
.single-post-txt h3[id] {
    scroll-margin-top: 100px;
}

.single-post-txt h2 {
    margin-bottom: 16px;
}

.single-post-txt h3 {
    margin-top: 36px;
    margin-bottom: 12px;
}
