/* Eventos: calendario, series y detalle. */
.eventos-card { --orange: #ff5900; overflow: hidden; }
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.cal-toolbar strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-transform: capitalize;
}
.cal-scroll {
  overflow-x: auto;
  padding: 0 12px 12px;
}
.cal-dow,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 700px;
}
.cal-dow {
  padding: 10px 0 6px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.cal-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cal-cell {
  min-height: 96px;
  padding: 7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  vertical-align: top;
}
.cal-cell:hover { background: #fffaf6; }
.cal-cell.is-out { background: #fbfbfb; color: #b5b5b5; }
.cal-cell.is-today { box-shadow: inset 0 0 0 2px var(--orange); }
.cal-cell.is-selected { background: #fff4ec; }
.cal-daynum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.cal-cell.is-today .cal-daynum { background: var(--orange); color: #fff; }
.cal-chips { display: grid; gap: 3px; }
.cal-chip {
  display: block;
  overflow: hidden;
  padding: 3px 6px;
  border: 1px solid #ffd7c4;
  border-radius: 6px;
  background: #fff4ec;
  color: #8f3200;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-chip.is-serie { border-color: #cfd9ff; background: #eef3ff; color: #1d3f9e; }
.cal-more { color: var(--muted); font-size: .62rem; font-weight: 700; }
.eventos-detalle {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.eventos-empty { margin: 0; color: var(--muted); font-size: .85rem; }
.evento-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.evento-head h3 { margin: 0; font-size: 1rem; letter-spacing: -.02em; }
.evento-head p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.evento-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--soft);
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.evento-kicker.is-serie { background: #eef3ff; color: #1d3f9e; }
.evento-link {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfbfa;
}
.evento-link .field { max-width: 420px; }
.evento-link small { color: var(--muted); font-size: .7rem; }
.evento-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.evento-dates { display: grid; gap: 8px; margin: 12px 0; }
.evento-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.evento-date strong { font-size: .82rem; }
.evento-date small { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.evento-date.is-excluded { opacity: .5; }
.evidence-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.evidence-thumb {
  width: 54px;
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}
.evidence-thumb img,
.evidence-thumb video { width: 100%; height: 100%; object-fit: cover; }
.evento-conclusion { display: grid; gap: 6px; margin-top: 12px; }
.evento-conclusion label { color: var(--muted); font-size: .72rem; font-weight: 700; }
.evento-conclusion textarea { min-height: 84px; resize: vertical; }
.evento-date-form {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr .8fr 1.4fr auto;
  gap: 6px;
  margin-top: 10px;
}
.evento-date-form input { padding: 8px 9px; font-size: .78rem; }
.evento-date-form .btn { padding: 8px 10px; }
.eventos-dialog {
  width: min(580px, 94vw);
  max-height: 90vh;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
}
.eventos-dialog::backdrop { background: rgba(20, 20, 20, .35); }
.eventos-dialog form { display: grid; gap: 12px; padding: 18px; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dialog-head h3 { margin: 0; font-size: 1rem; }
.dialog-x { border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.field { display: grid; gap: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.field input, .field select, .field textarea { color: var(--ink); font-size: .82rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-help { margin: -2px 0 0; color: var(--muted); font-size: .7rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
@media (max-width: 720px) {
  .evento-date-form { grid-template-columns: 1fr 1fr; }
  .evento-date-form .btn { grid-column: 1 / -1; }
  .field-row { grid-template-columns: 1fr; }
}

/* Recaps */
.recaps-card { margin-top: 16px; }
.recaps-list { display: grid; }
.recap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}
.recap-row:first-child { border-top: 0; }
.recap-info { display: grid; gap: 3px; min-width: 0; }
.recap-info strong { font-size: .85rem; }
.recap-info small { color: var(--muted); font-size: .72rem; }
.recap-media {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.recap-media legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.recap-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.recap-item { display: grid; gap: 5px; }
.recap-thumb {
  position: relative;
  display: block;
  height: 82px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}
.recap-thumb img,
.recap-thumb video { width: 100%; height: 100%; object-fit: cover; }
.recap-thumb input {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 16px;
  height: 16px;
  accent-color: #ff5900;
  cursor: pointer;
}
.recap-item:has(input[type=checkbox]:checked) .recap-thumb { box-shadow: inset 0 0 0 2px #ff5900; }
.recap-meta { display: grid; gap: 2px; font-size: .68rem; }
.recap-meta strong { overflow: hidden; color: var(--ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.recap-portada { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); cursor: pointer; }
.recap-portada input { width: 13px; height: 13px; accent-color: #ff5900; }
