/* ============================== Layout ============================== */

.help-page {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.help-sidebar {
    flex: 0 0 160px;
    position: sticky;
    top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    font-family: inherit;
}

.help-sidebar h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.help-content {
    flex: 1;
    min-width: 0;
    background: var(--secondary-white);
    border-radius: 20px;
    padding: 1.25rem;
}

/* ============================== Lists ============================== */

.numbered-list {
    list-style: none;
    counter-reset: helpItem;
    margin: 0;
    padding: 0;
}

.numbered-list li {
    counter-increment: helpItem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    width: fit-content;
}

.numbered-list li::before {
    content: counter(helpItem) ".";
    flex: 0 0 auto;
    min-width: 1.4em;
    text-align: right;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.numbered-list a {
    flex: 1;
    color: var(--primary);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    border-radius: 5px;
}

.numbered-list a:hover {
    text-decoration: underline;
    background-color: var(--bg-light);
}

/* ============================== Sidebar ============================== */

.help-sidebar .numbered-list li + li {
    margin-top: 0.15rem;
}

.help-sidebar .numbered-list a {
    display: block;
}

.help-sidebar .numbered-list a:hover {
    background: rgba(0, 123, 255, 0.08);
    text-decoration: none;
}

.help-sidebar .numbered-list a[aria-current="page"] {
    background: var(--primary);
    color: var(--secondary-white);
    font-weight: bold;
}

@media (max-width: 768px) {
    .help-page { flex-direction: column; }
    .help-sidebar { position: static; flex-basis: auto; width: 100%; }
}