.guide-link { color: var(--primary); }

/* Help page layout */
.help-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    min-height: calc(100vh - 60px);
}

/* Side nav */
.help-nav {
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 24px 16px;
    border-right: 1px solid var(--border);
    background: var(--bg);
}

.help-nav-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

.help-nav-link {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: all 0.2s;
}

.help-nav-link:hover {
    color: var(--text);
    background: var(--bg-card);
}

.help-nav-link.active {
    color: var(--primary);
    background: rgba(0, 204, 187, 0.08);
    font-weight: 500;
}

.help-nav-link.sub {
    padding-left: 28px;
    font-size: 12px;
}

/* Content */
.help-content {
    padding: 32px 10%;
    max-width: 100%;
}

.help-section {
    margin-bottom: 56px;
    scroll-margin-top: 80px;
}

.help-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.help-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-heading);
    margin-top: 28px;
    margin-bottom: 12px;
}

.help-section p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 12px;
}

/* Features */
.help-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.help-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.help-feature-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.help-feature h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.help-feature p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Steps */
.help-steps {
    list-style: none;
    counter-reset: step;
}

.help-steps li {
    counter-increment: step;
    padding: 14px 16px 14px 48px;
    margin-bottom: 8px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.help-steps li::before {
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-steps li strong {
    display: block;
    font-size: 14px;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.help-steps li p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Table */
.help-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.help-table th,
.help-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.help-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-card);
}

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

/* Badges inline */
.badge-easy { color: var(--badge-easy); font-weight: 600; }
.badge-mid { color: var(--badge-mid); font-weight: 600; }
.badge-hard { color: var(--badge-hard); font-weight: 600; }

/* Tip box */
.help-tip {
    padding: 14px 18px;
    background: rgba(0, 204, 187, 0.06);
    border: 1px solid rgba(0, 204, 187, 0.2);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.7;
    margin: 16px 0;
    color: var(--text);
}

/* Columns */
.help-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 16px 0;
}

.help-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.help-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.help-col ol {
    padding-left: 20px;
    font-size: 13px;
    color: var(--text);
    line-height: 1.8;
}

/* Role cards */
.role-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.role-card {
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.role-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.role-client { border-top: 3px solid #3b82f6; }
.role-client h4 { color: #3b82f6; }
.role-cc { border-top: 3px solid var(--primary); }
.role-cc h4 { color: var(--primary); }
.role-observer { border-top: 3px solid #a78bfa; }
.role-observer h4 { color: #a78bfa; }

.role-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.role-card ul {
    list-style: none;
    padding: 0;
}

.role-card li {
    font-size: 12px;
    color: var(--text);
    padding: 3px 0 3px 16px;
    position: relative;
}

.role-card li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--text-muted);
}

/* Flow timeline */
.flow-timeline {
    position: relative;
    padding-left: 32px;
    margin: 20px 0;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.flow-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.flow-step {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.flow-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.flow-body p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.tip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.tip-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.tip-card ul {
    list-style: none;
    padding: 0;
}

.tip-card li {
    font-size: 13px;
    color: var(--text);
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.7;
}

.tip-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item summary::before {
    content: '▶';
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item p {
    padding: 0 18px 14px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Header extras */
.header-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.btn-back {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-back:hover {
    color: var(--text);
    background: var(--bg-card);
}

/* Footer */
.help-footer {
    text-align: center;
    padding: 24px 10%;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .help-container {
        grid-template-columns: 1fr;
    }

    .help-nav {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 16px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .help-nav-title {
        width: 100%;
        margin-bottom: 8px;
    }

    .help-nav-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    .help-nav-link.sub {
        padding-left: 12px;
    }

    .help-content {
        padding: 20px 5%;
    }

    .help-columns {
        grid-template-columns: 1fr;
    }

    .role-cards {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}
