/* shared/calendrier-commercial.css
   Bloc "Temps forts a venir" - dashboards pro et admin.
   Utilise les variables de shared/styles.css : --primary, --accent, --muted,
   --border, --surface, --surface2, --text, --card-shadow. */

.lc { color: var(--text); }

.lc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lc-head h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

.lc-legende { display: flex; flex-wrap: wrap; gap: 12px; }

.lc-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.lc-leg i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* --- Grille -------------------------------------------------------------- */
.lc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.lc-carte {
  display: flex;
  background: var(--fond);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}

.lc-carte:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.lc-barre {
  width: 4px;
  background: var(--c);
  flex-shrink: 0;
}

.lc-corps { padding: 12px 14px; flex: 1; min-width: 0; }

.lc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.lc-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c);
}

.lc-compte { font-size: 11px; color: var(--muted); white-space: nowrap; }

.lc-titre {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lc-alerte {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  flex-shrink: 0;
}

.lc-conseil {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

/* Moins de 14 jours : on souligne */
.lc-urgent { border-color: var(--c); }
.lc-urgent .lc-compte { color: var(--c); font-weight: 600; }

.lc-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.lc-vide {
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .lc-carte { transition: none; }
  .lc-carte:hover { transform: none; }
}
