/* Festivales · cuadrante público. Independiente del tema: todo con prefijo .fest-publico. */
.fest-publico-pagina { max-width: 960px; margin: 0 auto; padding: 24px 16px 48px; box-sizing: border-box; }
.fest-publico { line-height: 1.5; }
.fest-publico-cabecera h1 { margin: 0 0 4px; font-size: clamp(1.8em, 5vw, 2.6em); line-height: 1.15; }
.fest-publico-sub { color: #646970; }
.fest-publico-aviso { padding: 10px 14px; background: #fcf9e8; border-left: 4px solid #dba617; }
.fest-publico-vistas { display: flex; gap: 8px; margin: 16px 0 8px; flex-wrap: wrap; }
.fest-publico-vistas a { padding: 4px 12px; border: 1px solid currentColor; border-radius: 16px; text-decoration: none; }
.fest-publico-vistas a[aria-current="page"] { font-weight: 700; }
.fest-publico-grupo { margin: 24px 0 8px; }
.fest-publico-grupo h2 { margin: 0 0 6px; padding-bottom: 4px; border-bottom: 2px solid currentColor; font-size: clamp(1.25em, 3.5vw, 1.6em); line-height: 1.25; }
.fest-publico-lista { list-style: none; margin: 0; padding: 0; }
.fest-publico-item { display: grid; grid-template-columns: 11em 1fr; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.fest-publico-hora { font-weight: 700; }
.fest-publico-direccion { display: block; font-size: 0.9em; color: #646970; }
.fest-publico-texto { display: block; margin-top: 6px; }
@media (max-width: 600px) {
	.fest-publico-item { grid-template-columns: 1fr; }
}
/* Cuadrante en lista ([fest_cuadrante_lista]): plano, igual en el móvil que en el ordenador. */
.fest-lista-titulo { margin: 0 0 8px; font-size: clamp(1.3em, 4vw, 1.8em); line-height: 1.25; }
.fest-lista-dia { margin: 22px 0 6px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 1.15em; }
.fest-lista-pases { list-style: none; margin: 0; padding: 0; }
.fest-lista-pases li { padding: 5px 0; line-height: 1.45; overflow-wrap: anywhere; }
.fest-lista-pases .fest-publico-direccion { font-weight: 400; }
.fest-lista-espacio { display: block; }   /* «hora - participante» y, debajo, el espacio y la dirección (v0.27.9) */
.fest-lista-pendiente { color: #8a6d00; }
.fest-lista-conflicto, .fest-lista-incoherente { color: #b32d2e; font-weight: 600; }
.fest-lista-choque { color: #b45309; font-weight: 600; }   /* posible choque (pendientes que se pisan) */
.fest-lista-programa { display: block; margin: 2px 0 4px 1.6em; padding: 0; font-size: .92em; font-weight: 400; color: #3c434a; }   /* en coros: las canciones */
ol.fest-lista-programa li { padding: 0; list-style: decimal; }
.fest-lista-pases .fest-lista-programa .fest-falta { display: inline-block; }
.fest-lista-foto { display: block; margin: 4px 0 4px 1.6em; }   /* en coros: la foto del coro, antes de las canciones (D-028) */
.fest-lista-foto img { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 4px; }
.fest-lista-foto .fest-falta { display: inline-block; }
.fest-lista-foto .fest-lista-foto-pequena { margin-top: 4px; }   /* solo la ve quien gestiona la edición (D-051) */
span.fest-lista-programa { font-size: inherit; margin: 4px 0 4px 1.6em; }   /* «FALTA PROGRAMA» igual que «FALTA FOTO» (v0.27.7) */
/* «Cómo llegar» con aspecto de enlace en la Programación y la Planificación (D-028) */
.fest-lista .fest-publico-direccion a { color: #2271b1; text-decoration: underline; }
.fest-lista .fest-publico-direccion a:hover, .fest-lista .fest-publico-direccion a:focus { color: #135e96; }
@media print {
	.fest-publico-vistas, .fest-publico-aviso { display: none; }
	.fest-publico-item { break-inside: avoid; }
}

/* Planificación, antes «Equipo de los pases» (D-019) */
.fest-equipo-filtros-titulo { margin: 0 0 6px; font-size: 1em; letter-spacing: .05em; }
.fest-equipo-filtros { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 0 16px; }
.fest-equipo-filtros label { display: flex; flex-direction: column; font-size: .9em; }
.fest-equipo-filtros select { max-width: 100%; }
.fest-equipo-filtros input[type="search"] { max-width: 100%; }   /* filtro por parte del título (v0.74.0) */
.fest-equipo-lista { list-style: none; margin: 0 0 16px; padding: 0; }
.fest-equipo-pase { margin: 0 0 12px; padding: 8px 12px; border-left: 4px solid #2e7d32; background: rgba(0, 0, 0, .03); }
.fest-equipo-pase.fest-lista-pendiente { border-left-color: #b26a00; }
.fest-equipo-pase p { margin: 2px 0; }
.fest-equipo-cabeza { font-size: 1.05em; }
.fest-equipo-estado { opacity: .75; }
.fest-equipo-etq { font-weight: 600; }
.fest-equipo-persona { display: inline; }   /* seguidas de su etiqueta, en la misma línea */
.fest-equipo-tarea { font-style: italic; }
.fest-equipo-pase .fest-publico-direccion { display: inline; }
.fest-equipo-lista .fest-equipo-pase { color: inherit; }

/* Planificación: lo que falta, en amarillo, y la leyenda (D-021) */
.fest-falta { background: #fff3b0; color: #5c4a00; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.fest-equipo-nadie.fest-equipo-nadie-alerta { opacity: 1; font-style: normal; font-weight: 600; color: #fff; background: #d63638; padding: 0 6px; border-radius: 3px; }   /* pase sin asistentes de la organización */
.fest-equipo-sin-tarea { margin-top: 4px; line-height: 1.9; }
/* TEMPORAL (v0.27.5): la organización pidió ocultar «Tareas sin asignar» en la Planificación. Se sigue pintando en el HTML;
   para volver a enseñarlo, borrar solo esta regla. */
.fest-equipo-pases .fest-equipo-sin-tarea { display: none !important; }
.fest-equipo-sin-tarea p { margin: 2px 0; }
.fest-equipo-sin-momento { padding-left: 12px; }
.fest-equipo-momento { font-style: italic; margin-right: 4px; }
.fest-equipo-sin-tarea .fest-falta { display: inline-block; margin: 1px 2px; padding: 0 6px; line-height: 1.6; }
.fest-equipo-leyenda { margin: 0 0 16px; padding: 8px 12px; border: 1px solid rgba(0, 0, 0, .15); font-size: .9em; }
.fest-equipo-leyenda-titulo { margin: 0 0 4px; font-weight: 600; }
.fest-equipo-leyenda ul { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin: 0 0 4px; padding: 0; }
.fest-leyenda-marca { display: inline-block; width: 4px; height: 1.1em; margin-right: 6px; vertical-align: middle; background: #2e7d32; }
.fest-leyenda-pendiente { background: #b26a00; }

/* Programación y Planificación: imprimir o guardar en PDF (D-027) */
.fest-lista-acciones { margin: 0 0 12px; }
.fest-imprimir { cursor: pointer; }
.fest-disenador { display: inline-block; margin-left: 6px; }   /* «Descargar para el diseñador», solo para quien gestiona la edición (D-051) */
.fest-solo-papel { display: none; }
@media print {
	@page { margin: 12mm; }
	.fest-papel-oculto { display: none !important; }
	.fest-papel-camino { margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; min-height: 0 !important; float: none !important; border: 0 !important; box-shadow: none !important; background: none !important; position: static !important; transform: none !important; }
	.fest-lista { font-size: 10.5pt; color: #000; }
	.fest-equipo-filtros-titulo, .fest-equipo-filtros, .fest-lista-acciones { display: none !important; }
	.fest-lista .fest-solo-papel { display: block; margin: 0 0 8px; font-size: .9em; }
	.fest-lista .fest-lista-titulo { font-size: 16pt; margin: 0 0 2px; }
	.fest-equipo-leyenda { font-size: 8pt; padding: 4px 8px; margin: 0 0 10px; break-inside: avoid; }
	.fest-lista .fest-lista-dia { break-after: avoid; margin-top: 12px; }
	.fest-equipo-pase, .fest-lista-pases > li { break-inside: avoid; }
	.fest-lista-foto img { max-width: 260px; }
	.fest-lista a, .fest-lista .fest-publico-direccion a { color: inherit; text-decoration: none; }
	.fest-lista a::after { content: none !important; }   /* algunos temas añaden la dirección de los enlaces */
	.fest-lista, .fest-lista * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }   /* amarillos y rojo en el papel */
}

/* Espacios de una edición ([fest_espacios], D-045): confirmados y pendientes bien distinguidos. */
.fest-espacios-leyenda { margin: 8px 0 16px; }
.fest-espacios-cuenta { font-weight: 400; color: #646970; }
.fest-espacio { margin: 14px 0; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.15); border-left-width: 6px; border-radius: 4px; }
.fest-espacio.fest-espacio-si { border-left-color: #00a32a; }
.fest-espacio.fest-espacio-pendiente { border-left-color: #dba617; background: #fffdf3; }
.fest-espacio header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.fest-espacio h3 { margin: 0; font-size: 1.2em; }
.fest-espacio header .fest-publico-direccion { flex-basis: 100%; margin: 2px 0 0; }
.fest-espacio-estado { display: inline-block; padding: 1px 10px; border-radius: 12px; font-size: 0.85em; font-weight: 700; white-space: nowrap; }
.fest-espacio-estado.fest-espacio-si { background: #edfaef; color: #00611c; border: 1px solid #00a32a; }
.fest-espacio-estado.fest-espacio-pendiente { background: #fcf9e8; color: #6e4b00; border: 1px solid #dba617; }
.fest-espacio-datos { display: grid; grid-template-columns: 12em 1fr; gap: 4px 16px; margin: 10px 0 0; }
.fest-espacio-datos dt { font-weight: 700; }
.fest-espacio-datos dd { margin: 0; }
.fest-espacio-fotos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fest-espacio-fotos img { max-width: 200px; height: auto; border-radius: 3px; }
@media (max-width: 600px) {
	.fest-espacio-datos { grid-template-columns: 1fr; gap: 0; }
	.fest-espacio-datos dd { margin-bottom: 6px; }
}

/* Páginas públicas de la Gala (D-072) */
.fest-escaleta-tabla { width: 100%; border-collapse: collapse; }
.fest-escaleta-tabla th, .fest-escaleta-tabla td { border-bottom: 1px solid #dcdcde; padding: 6px 8px; text-align: left; vertical-align: top; }
.fest-escaleta-tabla .fest-hora { white-space: nowrap; font-weight: 600; width: 5em; }
.fest-escaleta-tabla .fest-bloque-premio td { background: #faf7ee; }
.fest-directorio .fest-candidato { margin: 0 0 1.4em; padding: 0 0 1em; border-bottom: 1px solid #dcdcde; }
.fest-directorio .fest-candidato h3 { margin: 0 0 .2em; }
.fest-directorio .fest-badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #f0f0f1; font-size: 12px; }
.fest-candidato-medios { margin: 0 0 .6em 1.2em; padding: 0; }

/* D-088: función provisional (el participante aún no se ha inscrito) */
/* D-093: solo lo ve quien gestiona la edición; explica por qué no hay imagen en la programación */
.fest-lista-solo-impreso { display: inline-block; background: #eef2f7; color: #334155; border: 1px dashed #94a3b8; border-radius: 3px; padding: 1px 6px; font-size: 12px; }

.fest-lista-prov { display: inline-block; background: #ece9fb; color: #4b3fae; border: 1px dashed #6a5acd; border-radius: 3px; padding: 0 5px; font-size: .75em; font-weight: 600; margin-left: 4px; }
.fest-lista-nota-prov { font-size: .85em; margin-top: 12px; }
