/* ============================================================
   IO Help — Encart pédagogique sur les pages Intelligence Opérationnelle
   ============================================================ */
.io-help-card {
    display: flex; gap: 14px;
    background: linear-gradient(135deg, rgba(124,58,237,.04), rgba(8,145,178,.04));
    border: 1px solid rgba(124,58,237,.18);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(15,17,23,.03);
}
.io-help-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}
.io-help-body { flex: 1; min-width: 0; }
.io-help-body h4 {
    margin: 0 0 4px;
    font-size: 14.5px;
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
}
.io-help-tag {
    display: inline-block; padding: 2px 8px;
    background: rgba(124,58,237,.1);
    color: #7c3aed;
    border-radius: 999px;
    font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.io-help-purpose {
    margin: 0; font-size: 13px;
    color: var(--text-secondary, #475569);
    line-height: 1.55;
}
.io-help-toggle {
    background: transparent; border: none;
    color: #0891b2; font-size: 12px; padding: 4px 0;
    cursor: pointer; margin-top: 4px;
    font-weight: 600;
}
.io-help-toggle:hover { text-decoration: underline; }
.io-help-detail { display: none; margin-top: 8px; font-size: 12.5px; color: #334155; line-height: 1.6; }
.io-help-detail p { margin: 6px 0; }
.io-help-detail ul { margin: 4px 0 6px 18px; padding: 0; }
.io-help-detail li { margin: 2px 0; }
.io-help-detail .io-help-public {
    margin-top: 8px; padding: 6px 10px;
    background: rgba(8,145,178,.08); color: #075985;
    border-radius: 6px; font-weight: 500;
    display: inline-block;
}
.io-help-card.open .io-help-detail { display: block; }

@media (max-width: 640px) {
    .io-help-card { flex-direction: column; gap: 8px; padding: 12px; }
    .io-help-icon { width: 38px; height: 38px; font-size: 18px; }
    .io-help-body h4 { font-size: 13px; }
    .io-help-purpose { font-size: 12.5px; }
}
