.help-content {
    max-width: 780px;
    /* compensa a navbar fixa (80px) do layout público + respiro */
    padding-top: 100px;
    padding-bottom: 40px;
}

.help-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1.25rem;
}

.help-content h2 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.help-content h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.help-content p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: var(--color-text-muted);
}

.help-content ul,
.help-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
}

.help-content li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.help-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.help-tip,
.help-warning,
.help-info {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin: 1.25rem 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.help-tip {
    background: rgba(34, 197, 94, 0.08);
    border-left: 4px solid #22c55e;
}

.help-tip strong {
    color: var(--color-success);
}

.help-warning {
    background: rgba(245, 158, 11, 0.08);
    border-left: 4px solid #f59e0b;
}

.help-warning strong {
    color: var(--color-warning);
}

.help-info {
    background: rgba(99, 102, 241, 0.08);
    border-left: 4px solid #6366f1;
}

.help-info strong {
    color: var(--color-primary);
}

.help-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
}

.help-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.help-step-text {
    flex: 1;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.help-step-text strong {
    color: var(--color-text);
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.help-table th,
.help-table td {
    padding: 0.6rem 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.help-table th {
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-soft);
}

.help-table td {
    color: var(--color-text-muted);
}

.help-kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-family: monospace;
    font-size: 0.85rem;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text);
}

/* Index hub */

.help-content:has(.help-hub) {
    max-width: 100%;
}

.help-hub {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
}

.help-topic-card {
    display: block;
    padding: 1.25rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.help-topic-card:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

.help-topic-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.help-topic-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.help-topic-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.help-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.help-back:hover {
    text-decoration: underline;
}
