.expert-briefing-card {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #222;
    border-top: 3px solid #00f2ff; /* Dynamique via PHP */
    border-radius: 4px;
    margin: 20px 0;
    font-family: 'Share Tech Mono', monospace;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.briefing-terminal-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #1a1a1a;
}

#typed-briefing {
    opacity: 0;
    transform: translateY(10px); /* Décalage vers le bas */
    filter: blur(5px); /* Léger flou pour l'élégance */
    transition: all 0.8s ease-out; /* Animation fluide */
    color: #00f2ff; /* Optionnel : couleur SOC */
}

/* La classe qui déclenche l'apparition */
#typed-briefing.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.pulse { animation: briefingBlink 1.5s infinite; }

.header-title { font-size: 10px; color: #666; letter-spacing: 2px; }

.briefing-body { display: flex; padding: 20px; gap: 20px; align-items: flex-start; }

.avatar-hex {
    width: 45px; height: 45px;
    border: 1px solid #00f2ff;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 14px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: rgba(255,255,255,0.02);
}

.briefing-sitrep { margin: 0 0 10px 0 !important; font-size: 16px; color: #fff; text-transform: uppercase; }

.briefing-summary { color: #aaa; font-size: 14px; line-height: 1.6; min-height: 40px; margin: 0 !important; }

.briefing-directive-box {
    margin: 0 20px 20px 20px;
    padding: 15px;
    border-left: 3px solid #D4FF00; /* Dynamique via PHP */
    font-size: 14px;
}

.directive-tag { font-weight: bold; margin-right: 8px; display: block; margin-bottom: 5px; }
.directive-text { color: #eee; }

.briefing-footer { padding: 8px 20px; background: rgba(0,0,0,0.3); font-size: 9px; color: #333; text-align: right; letter-spacing: 1px; }

@keyframes briefingBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- RESPONSIVE EXPERT BRIEFING --- */

@media (max-width: 768px) {
    .briefing-body {
        padding: 15px;
        gap: 15px; /* Réduction de l'espace entre l'hexagone et le texte */
    }

    .briefing-sitrep {
        font-size: 14px; /* Titre SitRep plus compact */
    }

    .briefing-summary {
        font-size: 13px;
    }

    .briefing-directive-box {
        margin: 0 15px 15px 15px; /* Réduction des marges externes */
        padding: 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .briefing-body {
        flex-direction: column; /* On empile l'avatar IA au-dessus du texte */
        align-items: center;
        text-align: center;
    }

    .avatar-hex {
        margin-bottom: 10px;
    }

    .briefing-summary {
        text-align: left; /* On garde le texte à gauche pour le confort de lecture */
    }

    .header-title {
        font-size: 8px; /* Titre technique très discret sur mobile */
        letter-spacing: 1px;
    }

    .briefing-directive-box {
        margin: 0 10px 15px 10px;
        font-size: 12px;
    }

    .directive-tag {
        font-size: 11px;
    }

    .briefing-footer {
        text-align: center; /* Centrage du code de signature au pied du bloc */
        padding: 6px 10px;
    }
}