/* ── NES — Linha do Tempo Clínica ── */

/* Grupos de mês */
.tl-grupo { margin-bottom: 28px; }

.tl-grupo-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  padding: 6px 0 10px;
  border-bottom: 1px solid #d8ecec;
  margin-bottom: 14px;
}

/* Evento */
.tl-evento {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

/* Coluna de ícone + linha vertical */
.tl-linha-icone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  flex-shrink: 0;
}

.tl-icone {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #edf7f7;
  border: 2px solid #b8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
}

.tl-linha-v {
  flex: 1;
  width: 2px;
  background: #d8ecec;
  margin-top: 4px;
}

/* Card do evento */
.tl-card {
  flex: 1;
  background: #fff;
  border: 1px solid #d8ecec;
  border-radius: 12px;
  padding: 12px 16px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(6,78,95,.04);
  margin-bottom: 2px;
}

.tl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.tl-tipo {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #064e5f;
  background: #edf7f7;
  border-radius: 999px;
  padding: 2px 8px;
}

.tl-data {
  font-size: 0.8rem;
  color: #94a3b8;
  white-space: nowrap;
}

.tl-resumo {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #073b4c;
  line-height: 1.4;
}

.tl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.tl-meta-item {
  font-size: 0.78rem;
  color: #64748b;
}

.tl-acoes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tl-btn {
  font-size: 0.8rem;
  padding: 5px 10px;
  text-decoration: none;
}

/* Último evento: sem linha vertical */
.tl-grupo:last-child .tl-evento:last-child .tl-linha-v {
  display: none;
}

/* Responsivo */
@media (max-width: 600px) {
  .tl-card { padding: 10px 12px; margin-left: 8px; }
  .tl-linha-icone { width: 32px; }
  .tl-icone { width: 30px; height: 30px; font-size: .875rem; }
}
