.help-container {
    --lf-primary: #06b6d4;
    --lf-primary-dark: #0891b2;
    --lf-bg-secondary: #ffffff;
    --lf-bg-tertiary: #f1f5f9;
    --lf-text-primary: #1e293b;
    --lf-text-secondary: #64748b;
    --lf-text-muted: #94a3b8;
    --lf-border-light: #e2e8f0;
    --lf-border-medium: #cbd5e1;
    --lf-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --lf-radius-sm: 0.375rem;
    --lf-radius-md: 0.5rem;
    --lf-radius-lg: 0.75rem;
    --lf-radius-xl: 1rem;
    --lf-radius-2xl: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.dark-mode .help-container {
    --lf-bg-secondary: #1e293b;
    --lf-bg-tertiary: #334155;
    --lf-text-primary: #f1f5f9;
    --lf-text-secondary: #94a3b8;
    --lf-text-muted: #64748b;
    --lf-border-light: #334155;
    --lf-border-medium: #475569;
    --lf-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
}

.help-header-subtitle {
    color: var(--lf-text-secondary, #64748b);
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lf-primary, #06b6d4);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--lf-radius-md, 0.5rem);
    transition: all 150ms ease;
    border: 1px solid transparent;
}

.back-link:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--lf-primary, #06b6d4);
}

.help-section {
    background: var(--lf-bg-secondary, #ffffff);
    border-radius: var(--lf-radius-2xl, 1.5rem);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--lf-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1));
    border: 1px solid var(--lf-border-light, #e2e8f0);
}

.help-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lf-border-light, #e2e8f0);
}

.help-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--lf-primary, #06b6d4) 0%, var(--lf-primary-dark, #0891b2) 100%);
    border-radius: var(--lf-radius-lg, 0.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.help-section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lf-text-primary, #1e293b);
}

.help-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.help-item-icon {
    width: 2rem;
    height: 2rem;
    background: var(--lf-bg-tertiary, #f1f5f9);
    border-radius: var(--lf-radius-md, 0.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lf-primary, #06b6d4);
    font-size: 0.8125rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.help-item-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lf-text-primary, #1e293b);
    margin-bottom: 0.25rem;
}

.help-item-content p {
    font-size: 0.875rem;
    color: var(--lf-text-secondary, #64748b);
    line-height: 1.6;
    margin: 0;
}

.kbd {
    display: inline-block;
    padding: 0.125rem 0.4rem;
    font-size: 0.75rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--lf-bg-tertiary, #f1f5f9);
    border: 1px solid var(--lf-border-medium, #cbd5e1);
    border-radius: 0.25rem;
    box-shadow: 0 1px 0 var(--lf-border-medium, #cbd5e1);
    color: var(--lf-text-secondary, #64748b);
}

.help-tip {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-radius: var(--lf-radius-xl, 1rem);
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    border: 1px solid #a5f3fc;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

body.dark-mode .help-tip {
    background: linear-gradient(135deg, #164e63 0%, #0e7490 100%);
    border-color: #0891b2;
}

.help-tip i {
    color: #0e7490;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

body.dark-mode .help-tip i {
    color: #67e8f9;
}

.help-tip p {
    font-size: 0.875rem;
    color: #155e75;
    line-height: 1.6;
    margin: 0;
}

body.dark-mode .help-tip p {
    color: #a5f3fc;
}

.color-samples {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.color-sample {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--lf-radius-sm, 0.375rem);
    border: 1px solid var(--lf-border-light, #e2e8f0);
}

.color-sample--cream {
    background: #fffbeb;
    color: #2d3748;
}

.color-sample--light-blue {
    background: #e6f3ff;
    color: #1a365d;
}

.color-sample--light-green {
    background: #f0fdf4;
    color: #166534;
}

.color-sample--lavender {
    background: #fdf4ff;
    color: #6b21a8;
}

.color-sample--dark {
    background: #1a1a2e;
    color: #eaeaea;
}

@media (max-width: 640px) {
    .help-container {
        padding: 1rem;
    }

    .help-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .help-item-icon {
        margin-top: 0;
    }
}
