/* ═══════════════════════════════════════════════════════
   MODULE MÉCÈNES — Design premium, palette distincte
   Palette : Or (#D4AF37), Navy profond (#0A1628), Ecru (#F5F0E8)
════════════════════════════════════════════════════════ */

:root {
  --mec-gold:       #D4AF37;
  --mec-gold-light: #F0D060;
  --mec-gold-dim:   rgba(212,175,55,.15);
  --mec-navy:       #0A1628;
  --mec-navy-mid:   #1A2744;
  --mec-ecru:       #F5F0E8;
  --mec-ecru-dim:   #EDE7D9;
  --mec-slate:      #2D3748;
  --mec-muted:      #718096;
  --mec-success:    #38A169;
  --mec-warning:    #D69E2E;
  --mec-danger:     #E53E3E;
  --mec-radius:     14px;
  --mec-shadow:     0 4px 24px rgba(10,22,40,.12);
  --mec-shadow-lg:  0 12px 48px rgba(10,22,40,.2);
}

/* ── PAGE ──────────────────────────────────────────────── */
#page-mecenes {
  background: var(--mec-ecru);
  min-height: 100vh;
  padding: 0;
}

.mec-header {
  background: linear-gradient(135deg, var(--mec-navy) 0%, var(--mec-navy-mid) 100%);
  padding: 28px 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(212,175,55,.2);
}

.mec-header-left { display: flex; align-items: center; gap: 16px; }

.mec-header-icon {
  width: 48px; height: 48px;
  background: var(--mec-gold-dim);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  animation: mec-pulse 3s ease-in-out infinite;
}
@keyframes mec-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,.3); }
  50% { box-shadow: 0 0 0 8px rgba(212,175,55,0); }
}

.mec-header-title { font-size: 20px; font-weight: 800; color: #fff; }
.mec-header-sub { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }

.mec-header-actions { display: flex; align-items: center; gap: 10px; }

.mec-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all .2s;
  text-decoration: none;
}
.mec-btn--gold {
  background: var(--mec-gold);
  color: var(--mec-navy);
  box-shadow: 0 2px 12px rgba(212,175,55,.35);
}
.mec-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(212,175,55,.5); }
.mec-btn--outline {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.mec-btn--outline:hover { background: rgba(255,255,255,.15); }
.mec-btn--sm { padding: 6px 12px; font-size: 12px; }

/* ── STATS RAPIDES ─────────────────────────────────────── */
.mec-stats-bar {
  background: white;
  border-bottom: 1px solid #E8E0D0;
  padding: 16px 32px;
  display: flex; gap: 32px; align-items: center;
}
.mec-stat { display: flex; flex-direction: column; gap: 2px; }
.mec-stat-value { font-size: 22px; font-weight: 800; color: var(--mec-navy); }
.mec-stat-label { font-size: 11.5px; color: var(--mec-muted); text-transform: uppercase; letter-spacing: .5px; }
.mec-stat-divider { width: 1px; height: 36px; background: #E8E0D0; }

/* ── FILTRES ────────────────────────────────────────────── */
.mec-toolbar {
  padding: 16px 32px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: white;
  border-bottom: 1px solid #E8E0D0;
  position: sticky; top: 60px; z-index: 10;
}
.mec-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mec-chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #D4C9B0;
  background: white;
  font-size: 12.5px; font-weight: 600;
  color: var(--mec-muted);
  cursor: pointer;
  transition: all .15s;
}
.mec-chip:hover { border-color: var(--mec-gold); color: var(--mec-navy); }
.mec-chip--active { background: var(--mec-gold-dim); border-color: var(--mec-gold); color: var(--mec-navy); }

.mec-sort {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--mec-muted);
}
.mec-sort select {
  font-size: 13px; font-weight: 600; color: var(--mec-navy);
  border: 1.5px solid #D4C9B0; border-radius: 8px;
  padding: 6px 10px; background: white; cursor: pointer;
}

/* ── GRILLE DE PROFILS ─────────────────────────────────── */
.mec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 24px 32px;
}

/* ── CARTE PROFIL ─────────────────────────────────────── */
.mec-card {
  background: white;
  border: 1.5px solid #E8E0D0;
  border-radius: var(--mec-radius);
  padding: 20px;
  cursor: pointer;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.mec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--mec-shadow-lg);
  border-color: var(--mec-gold);
}
.mec-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mec-gold), var(--mec-gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.mec-card:hover::before { transform: scaleX(1); }

.mec-card-top {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
}

.mec-avatar-wrap { position: relative; flex-shrink: 0; }
.mec-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: white;
  background: linear-gradient(135deg, var(--mec-navy), var(--mec-navy-mid));
  position: relative; z-index: 1;
}
.mec-avatar-ring {
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: conic-gradient(var(--mec-gold), transparent 120deg, var(--mec-gold));
  animation: mec-ring 8s linear infinite;
  z-index: 0;
}
@keyframes mec-ring { to { transform: rotate(360deg); } }

.mec-priority {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: var(--mec-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; color: var(--mec-navy);
  z-index: 2;
}

.mec-card-info { flex: 1; min-width: 0; }
.mec-card-name { font-size: 15px; font-weight: 800; color: var(--mec-navy); line-height: 1.2; margin-bottom: 3px; }
.mec-card-title { font-size: 12px; color: var(--mec-muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.mec-score {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 17px; font-weight: 900;
  border: 2px solid var(--mec-gold-dim);
  color: var(--mec-navy);
}
.mec-score--high { background: rgba(212,175,55,.15); border-color: var(--mec-gold); }
.mec-score--med  { background: rgba(99,102,241,.1);  border-color: #6366f1; color: #4f46e5; }
.mec-score--low  { background: var(--slate-100); }

.mec-connection {
  font-size: 12.5px; color: #4A5568;
  line-height: 1.5; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.mec-card-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.mec-badge {
  font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: .3px;
}
.mec-badge--personal    { background: #FFF0F0; color: #C53030; }
.mec-badge--foundation  { background: #EBF8FF; color: #2B6CB0; }
.mec-badge--tech        { background: #F0FFF4; color: #276749; }
.mec-badge--enterprise  { background: #FFFFF0; color: #744210; }

.mec-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  margin-left: auto;
}
.mec-status-dot--identifié   { background: #A0AEC0; }
.mec-status-dot--analysé     { background: #6366f1; }
.mec-status-dot--contacté    { background: var(--mec-warning); }
.mec-status-dot--en_discussion { background: #38A169; }
.mec-status-dot--engagé      { background: var(--mec-gold); box-shadow: 0 0 6px var(--mec-gold); }
.mec-status-dot--inactif     { background: #E2E8F0; }

/* ── PANEL PROFIL (slide-over) ─────────────────────────── */
.mec-panel-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none; /* ne bloque pas les clics quand invisible */
  transition: opacity .3s;
}
.mec-panel-backdrop.open {
  opacity: 1;
  pointer-events: auto; /* active les clics uniquement quand ouvert */
}

.mec-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(720px, 90vw);
  background: white;
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 48px rgba(10,22,40,.2);
}
.mec-panel.open { transform: translateX(0); }

.mec-panel-header {
  background: linear-gradient(135deg, var(--mec-navy), var(--mec-navy-mid));
  padding: 24px 28px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  flex-shrink: 0;
}

.mec-panel-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: white;
  background: linear-gradient(135deg, var(--mec-gold-dim), rgba(212,175,55,.3));
  border: 2px solid rgba(212,175,55,.4);
  flex-shrink: 0;
  position: relative;
}
.mec-panel-glow {
  position: absolute; inset: -4px; border-radius: 50%;
  background: conic-gradient(var(--mec-gold) 0deg, transparent 60deg, var(--mec-gold) 180deg, transparent 240deg);
  animation: mec-ring 6s linear infinite;
}

.mec-panel-meta { flex: 1; }
.mec-panel-name { font-size: 20px; font-weight: 800; color: white; margin-bottom: 4px; }
.mec-panel-title { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.mec-panel-links { display: flex; gap: 8px; }
.mec-panel-link {
  padding: 5px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: background .15s;
}
.mec-panel-link:hover { background: rgba(255,255,255,.2); }

.mec-panel-close {
  background: rgba(255,255,255,.1); border: none;
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.7);
  transition: background .15s;
  flex-shrink: 0;
}
.mec-panel-close:hover { background: rgba(255,255,255,.2); color: white; }

/* ── ONGLETS PANEL ─────────────────────────────────────── */
.mec-tabs {
  display: flex; border-bottom: 1px solid #E8E0D0;
  background: white; flex-shrink: 0; overflow-x: auto;
}
.mec-tab {
  padding: 13px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--mec-muted);
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all .15s; white-space: nowrap;
}
.mec-tab:hover { color: var(--mec-navy); }
.mec-tab--active { color: var(--mec-navy); border-bottom-color: var(--mec-gold); }

.mec-panel-body { flex: 1; overflow-y: auto; }
.mec-tab-panel { padding: 24px 28px; }

/* ── ONGLET : SYNTHÈSE ────────────────────────────────── */
.mec-compat-bar {
  background: var(--mec-ecru); border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
}
.mec-compat-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--mec-slate); margin-bottom: 8px;
}
.mec-compat-score { font-size: 22px; font-weight: 900; color: var(--mec-gold); }
.mec-compat-fill {
  height: 8px; background: #E8E0D0; border-radius: 4px; overflow: hidden;
}
.mec-compat-fill-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--mec-gold), var(--mec-gold-light));
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.mec-ai-synthesis {
  font-size: 14px; color: #4A5568; line-height: 1.75;
  background: #f7f5f0; border-left: 3px solid var(--mec-gold);
  border-radius: 0 8px 8px 0; padding: 14px 16px; margin-bottom: 20px;
}

.mec-conn-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mec-conn-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 13.5px; color: var(--mec-slate);
}
.mec-conn-item--strong { background: #F0FFF4; }
.mec-conn-item--medium { background: #EBF8FF; }
.mec-conn-item--weak   { background: var(--mec-ecru); }
.mec-conn-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.mec-conn-item--strong .mec-conn-dot { background: #38A169; }
.mec-conn-item--medium .mec-conn-dot { background: #3182CE; }
.mec-conn-item--weak   .mec-conn-dot { background: #A0AEC0; }

/* ── ONGLET : PLAN LÉONARD ─────────────────────────────── */
.mec-plan-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.mec-plan-title { font-size: 15px; font-weight: 800; color: var(--mec-navy); }

.mec-plan-steps { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mec-plan-step { display: flex; gap: 16px; padding-bottom: 20px; }
.mec-step-indicator { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.mec-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  background: var(--mec-ecru-dim); color: var(--mec-muted); border: 2px solid #D4C9B0;
}
.mec-plan-step--done   .mec-step-num { background: #F0FFF4; color: var(--mec-success); border-color: var(--mec-success); }
.mec-plan-step--current .mec-step-num {
  background: var(--mec-gold-dim); color: var(--mec-navy);
  border-color: var(--mec-gold);
  animation: mec-pulse 2s ease-in-out infinite;
}
.mec-step-line { width: 2px; flex: 1; background: #E8E0D0; margin: 4px 0; min-height: 20px; }
.mec-step-content { flex: 1; padding-top: 4px; }
.mec-step-title { font-size: 13.5px; font-weight: 700; color: var(--mec-navy); margin-bottom: 3px; }
.mec-step-desc { font-size: 13px; color: var(--mec-muted); line-height: 1.5; margin-bottom: 6px; }
.mec-step-timing {
  font-size: 11.5px; color: var(--mec-gold); font-weight: 700;
  background: var(--mec-gold-dim); padding: 2px 8px; border-radius: 4px;
  display: inline-block;
}

/* ── ONGLET : MESSAGES ─────────────────────────────────── */
.mec-channel-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.mec-channel-btn {
  padding: 8px 16px; border-radius: 8px; border: 1.5px solid #D4C9B0;
  background: white; font-size: 13px; font-weight: 600; color: var(--mec-muted);
  cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all .15s;
}
.mec-channel-btn:hover { border-color: var(--mec-gold); color: var(--mec-navy); }
.mec-channel-btn--active { background: var(--mec-gold-dim); border-color: var(--mec-gold); color: var(--mec-navy); }

.mec-draft-box {
  background: var(--mec-ecru); border: 1px solid #D4C9B0; border-radius: 10px;
  padding: 16px; margin-bottom: 12px; min-height: 180px;
}
.mec-draft-content {
  font-size: 13.5px; color: var(--mec-slate); line-height: 1.8;
  white-space: pre-wrap; outline: none;
}
.mec-draft-actions { display: flex; gap: 8px; align-items: center; }
.mec-draft-chars { font-size: 12px; color: var(--mec-muted); margin-left: auto; }

/* ── PANEL FOOTER (action) ─────────────────────────────── */
.mec-panel-footer {
  border-top: 1px solid #E8E0D0;
  padding: 16px 28px;
  background: white;
  display: flex; gap: 10px; align-items: center;
  flex-shrink: 0;
}

/* ── LOADING / EMPTY ───────────────────────────────────── */
.mec-loader {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 60px 20px; text-align: center;
}
.mec-loader-orb {
  width: 64px; height: 64px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--mec-gold-light), var(--mec-gold));
  animation: mec-orb 1.5s ease-in-out infinite;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(212,175,55,.4);
}
@keyframes mec-orb {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: .8; }
}
.mec-loader-text { font-size: 14px; color: var(--mec-muted); margin-top: 8px; }
.mec-loader-strong { font-size: 16px; font-weight: 700; color: var(--mec-navy); }

.mec-empty {
  text-align: center; padding: 60px 20px; grid-column: 1/-1;
}
.mec-empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.mec-empty-title { font-size: 16px; font-weight: 700; color: var(--mec-slate); margin-bottom: 6px; }
.mec-empty-sub { font-size: 13px; color: var(--mec-muted); }

/* ── SECTION LABEL ─────────────────────────────────────── */
.mec-section-label {
  font-size: 11px; font-weight: 700; color: var(--mec-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}

/* ── QUICK NEXT ACTION ─────────────────────────────────── */
.mec-next-action {
  background: linear-gradient(135deg, var(--mec-navy), var(--mec-navy-mid));
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
}
.mec-next-label { font-size: 11px; font-weight: 700; color: var(--mec-gold); letter-spacing: .5px; margin-bottom: 6px; }
.mec-next-text { font-size: 14px; font-weight: 600; color: white; margin-bottom: 8px; }
.mec-next-meta { font-size: 12px; color: rgba(255,255,255,.55); }

/* ── TIMELINE (historique) ─────────────────────────────── */
.mec-timeline { display: flex; flex-direction: column; gap: 0; }
.mec-timeline-item { display: flex; gap: 14px; padding-bottom: 16px; }
.mec-timeline-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D4C9B0; flex-shrink: 0; margin-top: 5px;
}
.mec-timeline-dot--gold { background: var(--mec-gold); box-shadow: 0 0 6px var(--mec-gold); }
.mec-timeline-date { font-size: 11px; font-weight: 700; color: var(--mec-gold); display: block; margin-bottom: 3px; }
.mec-timeline-text { font-size: 13px; color: var(--mec-slate); line-height: 1.5; }

/* ── CITATION ─────────────────────────────────────────── */
.mec-quote {
  background: var(--mec-ecru); border-radius: 10px; padding: 16px;
  border-left: 3px solid var(--mec-gold); font-style: italic;
  font-size: 13.5px; color: var(--mec-slate); line-height: 1.7;
}
.mec-quote-source { font-size: 12px; color: var(--mec-muted); font-style: normal; margin-top: 6px; display: block; }

/* ── ANALYSE IA EN COURS ────────────────────────────────── */
.mec-analyse-loading {
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 20px; text-align: center;
}
.mec-analyse-dots { display: flex; gap: 8px; margin-bottom: 16px; }
.mec-analyse-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--mec-gold);
  animation: mec-bounce .8s ease-in-out infinite;
}
.mec-analyse-dot:nth-child(2) { animation-delay: .15s; }
.mec-analyse-dot:nth-child(3) { animation-delay: .3s; }
@keyframes mec-bounce {
  0%,100% { transform: translateY(0); opacity: .4; }
  50%      { transform: translateY(-10px); opacity: 1; }
}

/* ═══ CRM Timeline ═══ */
.crm-timeline { display: flex; flex-direction: column; gap: 0; padding: 0 1rem; }
.crm-item { display: flex; gap: 1rem; padding: 1rem 0; border-left: 2px solid var(--mec-gold); position: relative; padding-left: 1.5rem; }
.crm-item::before { content: ''; position: absolute; left: -6px; top: 1.2rem; width: 10px; height: 10px; border-radius: 50%; background: var(--mec-gold); }
.crm-icon { font-size: 1.2rem; flex-shrink: 0; }
.crm-body { flex: 1; }
.crm-header { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.crm-type-label { font-weight: 600; font-size: 0.8rem; text-transform: uppercase; color: var(--mec-gold); }
.crm-date { font-size: 0.8rem; color: #888; margin-left: auto; }
.crm-outcome { padding: 2px 8px; border-radius: 99px; font-size: 0.7rem; font-weight: 600; }
.outcome-positif { background: #d4edda; color: #155724; }
.outcome-neutre { background: #fff3cd; color: #856404; }
.outcome-negatif { background: #f8d7da; color: #721c24; }
.outcome-en_attente { background: #cce5ff; color: #004085; }
.crm-summary { margin-top: 0.3rem; font-size: 0.9rem; color: #334; }
.crm-followup { margin-top: 0.4rem; font-size: 0.8rem; color: var(--mec-navy); background: rgba(212,175,55,0.1); padding: 0.3rem 0.6rem; border-radius: 6px; }
.crm-form { background: #f8f9fa; border-radius: 10px; padding: 1rem; margin: 1rem 0; border: 1px solid #e0e0e0; }
.crm-form-row { margin-bottom: 0.8rem; }
.crm-form-row label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--mec-navy); margin-bottom: 0.3rem; }
.crm-form-row input, .crm-form-row select, .crm-form-row textarea { width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 0.4rem 0.6rem; font-size: 0.9rem; }
.crm-form-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.crm-btn-primary { background: var(--mec-gold); color: white; border: none; border-radius: 6px; padding: 0.5rem 1.2rem; cursor: pointer; font-weight: 600; }
.crm-btn-secondary { background: transparent; border: 1px solid #ddd; border-radius: 6px; padding: 0.5rem 1rem; cursor: pointer; }
.crm-new-btn { background: none; border: 1px dashed var(--mec-gold); color: var(--mec-gold); padding: 0.5rem 1.2rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem; margin: 0.5rem 1rem; }
.crm-new-btn:hover { background: rgba(212,175,55,0.1); }
.crm-reminders-banner { background: linear-gradient(135deg, #fff3cd, #ffeeba); border-left: 4px solid #ffc107; border-radius: 6px; padding: 0.6rem 1rem; margin: 0 1rem 1rem; font-size: 0.85rem; }
.crm-reminders-banner.overdue { background: linear-gradient(135deg, #f8d7da, #f5c6cb); border-left-color: #dc3545; }
.hidden { display: none !important; }

/* ── CARD — Dernière interaction ─────────────────────── */
.mec-card-last-interaction {
  font-size: 11px; color: var(--mec-muted); margin-top: 3px; font-style: italic;
}

@media (max-width: 768px) {
  .mec-grid { grid-template-columns: 1fr; padding: 16px; }
  .mec-panel { width: 100vw; }
  .mec-stats-bar { gap: 16px; overflow-x: auto; }
}
