/* Help screen — A3 (2026-05-22) */
.help-screen { max-width: 1100px; margin: 0 auto; padding-bottom: 60px; }
.help-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}
.help-toc {
    position: sticky;
    top: 16px;
    align-self: start;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e6e6e2);
    border-radius: 12px;
    padding: 14px 14px 12px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}
.help-toc-title {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.06em; color: #888; margin-bottom: 10px;
}
.help-toc-list {
    list-style: decimal inside;
    padding: 0; margin: 0;
    font-size: 13px; line-height: 1.55;
}
.help-toc-list li { margin: 4px 0; }
.help-toc-list a {
    color: #1c1c1c; text-decoration: none;
    border-bottom: 1px solid transparent;
}
.help-toc-list a:hover { border-bottom-color: #d4a64a; }
.help-toc-support {
    margin-top: 14px; padding-top: 10px;
    border-top: 1px solid #eee; font-size: 12px;
}
.help-toc-support a { color: #d4a64a; text-decoration: none; }

.help-content {
    color: #1c1c1c; font-size: 14px; line-height: 1.65;
    max-width: 720px;
}
.help-content h1 { font-size: 24px; margin: 24px 0 12px; font-family: var(--serif, Georgia), serif; font-weight: 600; }
.help-content h2 { font-size: 20px; margin: 32px 0 12px; font-family: var(--serif, Georgia), serif; font-weight: 600; border-bottom: 1px solid #eee; padding-bottom: 6px; }
.help-content h3 { font-size: 16px; margin: 22px 0 8px; font-weight: 600; }
.help-content h4 { font-size: 14px; margin: 18px 0 6px; font-weight: 600; color: #444; }
.help-content p { margin: 10px 0; }
.help-content ul, .help-content ol { margin: 8px 0 12px 24px; padding: 0; }
.help-content li { margin: 4px 0; }
.help-content code {
    background: #f4f3ef; padding: 1px 6px; border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12.5px;
}
.help-content pre {
    background: #1f1e1b; color: #fafaf5; padding: 12px 14px;
    border-radius: 8px; overflow-x: auto; font-size: 12.5px;
    line-height: 1.5; margin: 12px 0;
}
.help-content pre code { background: transparent; color: inherit; padding: 0; }
.help-content blockquote {
    border-left: 3px solid #d4a64a;
    background: #fbf7ee;
    padding: 8px 14px; margin: 12px 0;
    color: #4a4a4a; font-size: 13.5px;
    border-radius: 0 8px 8px 0;
}
.help-content hr { border: 0; border-top: 1px solid #eee; margin: 20px 0; }
.help-content a { color: #b07d20; text-decoration: underline; }
.help-content table.help-table {
    border-collapse: collapse; width: 100%; font-size: 13px;
    margin: 12px 0;
}
.help-content .help-table th, .help-content .help-table td {
    border: 1px solid #e6e6e2; padding: 6px 10px; text-align: left;
}
.help-content .help-table th {
    background: #f7f6f2; font-weight: 600;
}

@media (max-width: 800px) {
    .help-layout { grid-template-columns: 1fr; gap: 12px; }
    .help-toc { position: static; max-height: none; }
}
