
/* ═══ Sections enrichies ═══ */
.section-enriched { margin-top: 2rem; }

.tech-explanation p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-secondary, #444);
}

.tech-note {
    background: var(--bg-light, #f8f9fa);
    border-left: 4px solid var(--primary, #2563eb);
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}
.tech-note-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary, #2563eb);
}

/* Diagnostic steps */
.diag-steps { display: flex; flex-direction: column; gap: 1rem; }
.diag-step {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 1.25rem;
    transition: box-shadow 0.2s;
}
.diag-step:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.diag-step-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.diag-step-num {
    background: var(--primary, #2563eb);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    flex-shrink: 0;
}
.diag-step h3 { margin: 0; font-size: 1.05rem; color: var(--text-primary, #1a1a1a); }
.diag-step p { margin: 0; line-height: 1.7; color: var(--text-secondary, #444); }
.diag-note {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
    color: #92400e;
}
.section-intro { color: var(--text-secondary, #555); margin-bottom: 1.5rem; line-height: 1.7; }

/* Impact box */
.impact-box {
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid;
}
.impact-low { background: #f0fdf4; border-color: #86efac; }
.impact-medium { background: #fffbeb; border-color: #fcd34d; }
.impact-high { background: #fff7ed; border-color: #fdba74; }
.impact-critical { background: #fef2f2; border-color: #fca5a5; }
.impact-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.impact-icon { font-size: 1.3rem; }
.impact-label { font-weight: 700; font-size: 1rem; }
.impact-box p { line-height: 1.7; margin: 0; }

/* Tech box */
.tech-box {
    background: var(--bg-light, #f1f5f9);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border, #e2e8f0);
}
.tech-box p { line-height: 1.7; margin: 0; color: var(--text-secondary, #475569); }

/* Prevention box */
.prevention-box {
    background: #f0fdf4;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #86efac;
}
.prevention-box p { line-height: 1.7; margin: 0; color: #166534; }

/* Summary box */
.summary-box { display: flex; flex-direction: column; gap: 1rem; }
.summary-step {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem;
    background: var(--bg-light, #f8fafc);
    border-radius: 10px;
}
.summary-num {
    background: var(--primary, #2563eb);
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.summary-step strong { display: block; margin-bottom: 0.25rem; color: var(--text-primary, #1a1a1a); }
.summary-step p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: var(--text-secondary, #555); }

.section-summary { 
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #bfdbfe;
}
