/**
 * ALDON RADAR - Page Briefings (Monitoring)
 * Styles dédiés à la page Briefings (en-tête + 3 zones).
 *
 * Charte : dark mode bleu-nuit, vert Aldon via var(--accent-primary), police Inter.
 * 100% des couleurs passent par les variables globales de css/styles.css (:root)
 * pour une cohérence visuelle totale avec le reste de l'application.
 */

/* === Conteneur de page ===
   Calqué sur le pattern .fc-container de la page Collections : conteneur large,
   centré, avec padding horizontal. Le contenu (header + zones) se distribue
   ainsi sur toute la largeur utile, comme sur les autres pages de l'app.
   Classe DÉDIÉE (.briefings-page) pour ne pas impacter les autres vues qui
   utilisent .page-container (feeds, medias, news, settings...). */
.page-container.briefings-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
}

/* === En-tête page Briefings === */
.briefings-header {
    padding: 4px 0 8px;
}

.briefings-title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.briefings-title i {
    color: var(--accent-primary);
    font-size: 21px;
}

.briefings-tagline {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.briefings-value {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 22px;
    margin: 0 0 14px;
}
.briefings-value strong {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Bouton toggle de l'info-box */
.briefings-infobox-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent-light);
    border: 1px solid var(--accent-light);
    border-radius: 8px;
    padding: 8px 13px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    color: var(--text-secondary);
    transition: background 0.15s ease;
}
.briefings-infobox-toggle:hover {
    background: var(--accent-light);
}
.briefings-infobox-toggle i.fa-circle-info {
    color: var(--accent-primary);
    font-size: 14px;
}
.briefings-infobox-toggle .toggle-arrow {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}
.briefings-infobox-toggle.open .toggle-arrow {
    transform: rotate(180deg);
}

/* Contenu de l'info-box */
.briefings-infobox {
    margin-top: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 21px;
}
.briefings-infobox em {
    color: var(--text-primary);
    font-style: normal;
}


/* ==========================================================================
   Zones de la page (déclencheur, progression, bibliothèque)
   Utilise les variables globales du projet pour cohérence avec l'app.
   ========================================================================== */

.briefings-zone-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin: 0 0 14px;
}

/* --- Zone 1 : Déclencheur --- */
.briefings-trigger-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.briefings-trigger-input {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
}
.briefings-trigger-input::placeholder { color: var(--text-muted); }
.briefings-trigger-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}
.briefings-trigger-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: opacity 0.15s ease;
}
.briefings-trigger-btn:hover { opacity: 0.9; }
.briefings-trigger-btn:disabled {
    background: var(--bg-hover);
    color: var(--text-muted);
    cursor: not-allowed;
}
.briefings-params {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.briefings-pill {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.briefings-pill:hover { border-color: var(--border-light); }
.briefings-pill.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-light);
}

/* --- Zone 2 : Progression --- */
.briefings-progress-head {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.briefings-progress-label {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-secondary);
}
.briefings-progressbar {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    height: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}
.briefings-progressbar-fill {
    background: var(--accent-primary);
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.4s ease;
    width: 0;
}
.briefings-steps {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.briefings-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}
.briefings-step.done .briefings-step-icon { color: var(--accent-primary); }
.briefings-step.active {
    color: var(--text-primary);
    font-weight: 500;
}
.briefings-step.active .briefings-step-icon { color: var(--accent-primary); }
.briefings-step.pending,
.briefings-step.pending .briefings-step-icon { color: var(--text-muted); }

/* --- Zone 3 : Bibliothèque --- */
.briefings-library-head {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}
.briefings-library-count {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}
.briefings-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.briefings-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.briefings-list-item:hover { border-color: var(--accent-primary); }
.briefings-list-item-main { flex: 1; min-width: 0; }
.briefings-list-item-title {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.briefings-list-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.briefings-list-item-action {
    color: var(--accent-primary);
    font-size: 12px;
    white-space: nowrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .page-container.briefings-page { padding: 1rem 1rem 1.5rem; }
    .briefings-trigger-row { flex-direction: column; }
    .briefings-trigger-btn { width: 100%; padding: 12px; }
    .briefings-list-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .briefings-params { gap: 6px; }
    .briefings-pill { font-size: 11px; padding: 5px 10px; }
}


/* ==========================================================================
   PARTIE A — Système d'onglets
   ========================================================================== */
.briefings-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}
.briefings-tab {
    padding: 10px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s ease;
}
.briefings-tab:hover { color: var(--text-primary); }
.briefings-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
    font-weight: 600;
}

/* ==========================================================================
   PARTIE B — Cartes récentes (onglet Créer)
   ========================================================================== */
.briefings-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin: 20px 2px 12px;
}
.briefings-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.briefings-card {
    cursor: pointer;
    padding: 14px 16px;
    transition: border-color 0.15s ease, transform 0.1s ease;
}
.briefings-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}
.briefings-card-title {
    font-size: 13.5px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 8px;
    /* clamp 2 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.briefings-card-meta {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Empty state générique (onglets) */
.briefings-empty {
    font-size: 13px;
    color: var(--text-muted);
    padding: 20px 2px;
}

/* ==========================================================================
   PARTIE C — Toolbar (onglet Mes briefings)
   ========================================================================== */
.briefings-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.briefings-search {
    flex: 1;
    min-width: 200px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-primary);
    font-family: inherit;
}
.briefings-search::placeholder { color: var(--text-muted); }
.briefings-search:focus { outline: none; border-color: var(--accent-primary); }
.briefings-filter {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    font-family: inherit;
    cursor: pointer;
}

/* ==========================================================================
   PARTIE D — Vue dédiée d'un briefing
   ========================================================================== */
.briefing-detail-topbar {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.briefing-detail-back {
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
}
.briefing-detail-back:hover { color: var(--text-primary); }
.briefing-detail-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}
.briefing-detail-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 7px 13px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.briefing-detail-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.briefing-detail-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 16px;
    align-items: start;
}

/* Colonne principale : conteneur de l'email rendu */
.briefing-detail-main {
    background: #ffffff;   /* l'email est sur fond clair par design (charte email) */
    border-radius: var(--radius-md);
    overflow: hidden;
}
.briefing-detail-email { /* le HTML de l'email gère son propre style inline */ }

/* Panneau latéral clusters */
.briefing-detail-side {
    position: sticky;
    top: 16px;
}
.briefing-cluster-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.briefing-cluster-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 11px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.briefing-cluster-item:hover { border-color: var(--bg-hover); }
.briefing-cluster-item.active { border-color: var(--accent-primary); }
.briefing-cluster-title {
    font-size: 12.5px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 3px;
}
.briefing-cluster-meta {
    font-size: 10.5px;
    color: var(--text-muted);
}
.briefing-cluster-hint {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 15px;
    font-style: italic;
}
.briefing-cluster-articles {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.briefing-article-title {
    font-size: 12px;
    color: var(--accent-primary);
    text-decoration: none;
    line-height: 16px;
    display: block;
}
.briefing-article-title:hover { text-decoration: underline; }
.briefing-article-source {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   RESPONSIVE — Parties B & D
   ========================================================================== */
@media (max-width: 1100px) {
    .briefings-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .briefing-detail-layout { grid-template-columns: 1fr; }
    .briefing-detail-side { position: static; }
}
@media (max-width: 768px) {
    .briefings-cards { grid-template-columns: 1fr; }
}


/* ==========================================================================
   MODALE DE PARAMÉTRAGE / STATUT (inspirée de la modale briefing Spotlight)
   ========================================================================== */
.bm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}
.bm-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Header */
.bm-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}
.bm-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.bm-title i {
    background: linear-gradient(135deg, #8b5cf6, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bm-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background 0.15s ease;
}
.bm-close:hover { color: var(--text-primary); background: var(--bg-hover); }

/* Body (config) */
.bm-body {
    padding: 22px 24px;
    overflow-y: auto;
}
.bm-intro {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 20px;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}
.bm-intro strong { color: var(--text-primary); }

.bm-section { margin-bottom: 22px; }
.bm-section:last-child { margin-bottom: 0; }
.bm-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 9px;
}
.bm-section-title i { color: var(--accent-primary); font-size: 12px; }

.bm-pills {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.bm-pill {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 13px;
    font-size: 12.5px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.bm-pill:hover { border-color: var(--border-light); color: var(--text-primary); }
.bm-pill.active {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-light);
    font-weight: 600;
}
.bm-pill-sm { padding: 6px 12px; min-width: 38px; text-align: center; }

.bm-hint {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 18px;
    margin: 9px 0 0;
}

/* Section avancée */
.bm-advanced-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}
.bm-advanced-toggle:hover { color: var(--text-primary); }
.bm-advanced-toggle i { color: var(--accent-primary); font-size: 10px; }
.bm-advanced {
    margin-top: 14px;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bm-subsection { }
.bm-sub-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}
.bm-sub-meta { color: var(--text-muted); font-weight: 400; font-size: 11px; }

/* ── Double curseur d'audience ── */
.bm-range {
    position: relative;
    height: 34px;
    margin: 6px 4px 0;
}
.bm-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 5px;
    transform: translateY(-50%);
    background: var(--bg-primary);
    border-radius: 999px;
}
.bm-range-fill {
    position: absolute;
    top: 50%;
    height: 5px;
    transform: translateY(-50%);
    background: var(--accent-primary);
    border-radius: 999px;
}
/* Les deux inputs range se superposent ; seuls leurs pouces sont interactifs */
.bm-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    background: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}
.bm-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-card);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    pointer-events: auto;
}
.bm-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 3px solid var(--bg-card);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    pointer-events: auto;
}
.bm-range-input::-webkit-slider-runnable-track { background: none; }
.bm-range-input::-moz-range-track { background: none; }

.bm-range-values {
    display: flex;
    justify-content: space-between;
    margin: 8px 4px 0;
}
.bm-range-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    padding: 3px 10px;
}

.bm-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}
.bm-checkbox input { accent-color: var(--accent-primary); width: 16px; height: 16px; cursor: pointer; }

/* Footer */
.bm-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
}
.bm-btn-cancel {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, color 0.15s ease;
}
.bm-btn-cancel:hover { border-color: var(--border-light); color: var(--text-primary); }
.bm-btn-launch {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #8b5cf6, var(--accent-primary));
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bm-btn-launch:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}
.bm-btn-launch:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* Mode statut */
.bm-status {
    padding: 24px 20px 18px;
    text-align: center;
    overflow-y: auto;
}
.bm-status-icon { font-size: 30px; color: var(--accent-primary); margin-bottom: 12px; }
.bm-status-subject { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 18px; }
.bm-progress { text-align: left; margin-bottom: 16px; }
.bm-progress-head { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.bm-progress-pct { font-size: 12px; color: var(--accent-primary); font-weight: 600; }
.bm-progress-track {
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    height: 8px;
    overflow: hidden;
}
.bm-progress-fill {
    background: var(--accent-primary);
    height: 100%;
    border-radius: var(--radius-sm);
    transition: width 0.4s ease;
}
.bm-status-text { font-size: 13px; color: var(--text-secondary); margin-bottom: 16px; line-height: 19px; }
.bm-steps { text-align: left; display: flex; flex-direction: column; gap: 8px; margin: 8px 0 16px; }
.bm-step { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.bm-step.is-done { color: var(--text-secondary); }
.bm-step.is-done .bm-step-icon { color: var(--accent-primary); }
.bm-step.is-running { color: var(--text-primary); font-weight: 500; }
.bm-step.is-running .bm-step-icon { color: var(--accent-primary); }
.bm-step.is-failed .bm-step-icon { color: var(--danger); }
.bm-step-icon { width: 16px; text-align: center; flex-shrink: 0; }
.bm-step-body { flex: 1; min-width: 0; }
.bm-step-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-step-dur { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }
.bm-status-hint { font-size: 12px; color: var(--text-muted); line-height: 18px; margin-top: 4px; }

/* Bandeau "briefing en cours" sur la page */
.briefings-status-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.briefings-status-banner:hover { border-color: var(--accent-primary); }
.briefings-status-banner-icon { font-size: 18px; color: var(--accent-primary); }
.briefings-status-banner-body { flex: 1; min-width: 0; }
.briefings-status-banner-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.briefings-status-banner-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.briefings-status-banner-arrow { color: var(--text-muted); }

/* Responsive modale */
@media (max-width: 600px) {
    .bm-overlay { padding: 0; align-items: flex-end; }
    .bm-modal { max-width: 100%; max-height: 94vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}


/* Bouton déclencheur en cooldown (briefing récent, chrono visible) */
.briefings-trigger-btn-cooldown {
    background: var(--bg-hover);
    color: var(--text-secondary);
    cursor: pointer;
}
.briefings-trigger-btn-cooldown:hover { opacity: 0.95; }
.briefings-trigger-btn-cooldown i { color: var(--accent-primary); }
