/*
 * Comunidad Vitaltrain. Movil primero, paleta de spec 10.
 *
 * POR QUE TODO CUELGA DE .vt-panel, Y REPETIDO
 * --------------------------------------------
 * Tutor 4 rediseno el panel del alumno y estila h1, h2 y p con selectores del
 * tipo ".tutor-dashboard-content h2", que vale una clase MAS un elemento. Una
 * clase suelta como ".vt-bloque__titulo" vale menos, y pierde.
 *
 * Se vio en produccion: de la MISMA regla se aplicaba text-transform (porque
 * Tutor no lo declara) pero no font-size ni color. Titulos enormes en
 * mayusculas, y el resto del bloque bien.
 *
 * ".vt-panel.vt-panel" es la misma clase escrita dos veces: selecciona
 * exactamente lo mismo, pero cuenta como dos clases. Sube la especificidad
 * sin recurrir a !important -- que es justo lo que hay que evitar aqui: con
 * !important, ajustar algo despues desde el tema seria imposible.
 *
 * El reset de abajo neutraliza la tipografia heredada. A partir de ahi, las
 * reglas de componente con un solo ".vt-panel" ya ganan de sobra.
 *
 * Spec 10: no se hereda ni se reutiliza ninguna clase de Tutor. Si cambian su
 * hoja, esto no se entera.
 */

.vt-panel {
	/*
	 * MARCA: nuestros, del dossier (spec 10). No se negocian.
	 */
	/*
	 * Los mismos valores que .vt-escuela y .vtl. Eran casi iguales pero no
	 * -- #16263f contra #0E2A3A, #ef6c4a contra #F26649 -- y quien venia de
	 * la landing al escritorio cruzaba dos azules que no acaban de ser el
	 * mismo.
	 */
	--vt-navy: #0E2A3A;
	--vt-coral: #F26649;
	--vt-coral-dark: #C8462C;
	--vt-tinte: #FDEEE8;

	/*
	 * ESTRUCTURA: se toman de los tokens de Tutor CON NUESTRO VALOR DE
	 * RESPALDO. Asi las tarjetas comparten superficie, borde y sombra con el
	 * resto del panel y no parecen pegadas encima.
	 *
	 * Es var(--tutor-*, propio) y no la clase de Tutor: si un dia quitan o
	 * renombran la variable, cae al valor de detras y no se rompe nada. Spec
	 * 10 prohibe heredar sus CLASES -- una variable con respaldo no crea esa
	 * dependencia.
	 */
	--vt-fondo: var(--tutor-surface-l1, #ffffff);
	--vt-borde: var(--tutor-border-idle, #E4DDD8);
	--vt-secundario: var(--tutor-text-subdued, #3A5568);
	--vt-sombra: var(--tutor-shadow-xs, 0 1px 2px 0 rgba(16, 24, 40, 0.05));

	/*
	 * SIN font-family, igual que en vt-landing.css y en el plugin de Escuela.
	 *
	 * Aqui ponia "Albert Sans" con una pila de respaldo, y el comentario
	 * explicaba que el respaldo importaba "si Albert Sans no llega a cargarse".
	 * No llegaba NUNCA: este plugin no encola ninguna fuente y no la carga
	 * nadie mas, asi que el escritorio se ha visto siempre en la del sistema
	 * mientras el resto del sitio usaba la del tema.
	 *
	 * Heredando, el escritorio, las dos landings, el blog y el checkout usan
	 * la misma letra. El reset de abajo ya pone font-family:inherit en
	 * titulos, parrafos, botones y campos, asi que no hace falta declarar nada.
	 */

	/* El panel de Tutor da una columna muy ancha y una linea de 200
	   caracteres no se lee. */
	max-width: 720px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
	padding: 0 0 48px;
	color: var(--vt-navy);
	text-align: left;
}

/* --- Reset de lo que hereda del tema ----------------------------------- */

.vt-panel.vt-panel h1,
.vt-panel.vt-panel h2,
.vt-panel.vt-panel h3,
.vt-panel.vt-panel p,
.vt-panel.vt-panel ul,
.vt-panel.vt-panel ol,
.vt-panel.vt-panel li,
.vt-panel.vt-panel label,
.vt-panel.vt-panel table {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.6;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: inherit;
	background: none;
}

.vt-panel.vt-panel ul,
.vt-panel.vt-panel ol {
	list-style: none;
}

/* --- Titulo de pantalla ------------------------------------------------ */

.vt-panel.vt-panel .vt-saludo {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin-bottom: 4px;
}

/* --- Bloque ------------------------------------------------------------ */

.vt-panel .vt-bloque {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--vt-borde);
	border-radius: 16px;
	background: var(--vt-fondo);
}

/* Etiqueta pequena, no titular. Es lo que mas se rompia. */
.vt-panel.vt-panel .vt-bloque__titulo {
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vt-secundario);
}

.vt-panel.vt-panel .vt-dato {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-secundario {
	color: var(--vt-secundario);
}

.vt-panel.vt-panel .vt-precio {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-aviso {
	font-size: 0.875rem;
	line-height: 1.5;
}

/* Venta y fin de membresia: fondo tinte para separarlos del resto. */
.vt-panel .vt-bloque--venta,
.vt-panel .vt-bloque--hilo {
	background: var(--vt-tinte);
	border-color: transparent;
}

/*
 * El proximo directo va en navy SOLIDO. Es la unica pieza oscura de la
 * pantalla y por eso funciona: es lo primero que mira un miembro al entrar
 * ("lo primero es la cita con Ruben", dossier vista 1). Si se pinta como una
 * tarjeta mas, deja de ser lo primero.
 */
.vt-panel .vt-bloque--directo {
	background: var(--vt-navy);
	border-color: transparent;
}

.vt-panel.vt-panel .vt-bloque--directo .vt-bloque__titulo {
	color: rgba(255, 255, 255, 0.6);
}

.vt-panel.vt-panel .vt-bloque--directo .vt-dato,
.vt-panel.vt-panel .vt-bloque--directo .vt-dato a,
.vt-panel.vt-panel .vt-bloque--directo h1 {
	color: #fff;
}

.vt-panel.vt-panel .vt-bloque--directo .vt-secundario {
	color: rgba(255, 255, 255, 0.72);
}

.vt-panel .vt-bloque--pausa {
	opacity: 0.7;
}

/* --- Botones y enlaces ------------------------------------------------- */

/*
 * Declara TODO lo que el estilo global de boton del sitio le mete encima:
 * mayusculas, espaciado entre letras, sombra y anchura. Salio "ENTRAR" en
 * mayusculas porque aqui faltaba text-transform, y lo que no se declara lo
 * pone el tema.
 */
.vt-panel.vt-panel .vt-cta {
	display: inline-block;
	width: auto;
	min-width: 0;
	margin-top: 6px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--vt-coral);
	color: #fff;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	cursor: pointer;
}

.vt-panel .vt-cta:hover,
.vt-panel .vt-cta:focus {
	color: #fff;
	filter: brightness(0.94);
}

.vt-panel.vt-panel .vt-cta--secundaria {
	background: transparent;
	border: 1px solid var(--vt-navy);
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-volver a {
	color: var(--vt-secundario);
	text-decoration: none;
	font-size: 0.9375rem;
}

.vt-panel .vt-volver a:hover {
	color: var(--vt-navy);
}

/* Foco visible propio: el reset del tema puede haber quitado el del navegador. */
.vt-panel.vt-panel a:focus-visible,
.vt-panel.vt-panel button:focus-visible,
.vt-panel.vt-panel textarea:focus-visible,
.vt-panel.vt-panel input:focus-visible {
	outline: 2px solid var(--vt-navy);
	outline-offset: 2px;
}

/* --- Listas ------------------------------------------------------------ */

.vt-panel .vt-cursos,
.vt-panel .vt-ventajas {
	width: 100%;
}

/*
 * Lista de articulos. No hereda de .vt-cursos a proposito: aquella pone
 * padding y borde en cada li, y aqui el li ES una .vt-fila, que ya los trae.
 * Aplicar los dos dejaba doble separador entre articulos.
 */
.vt-panel.vt-panel .vt-listado {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vt-panel .vt-listado > li::before {
	content: none;
}

.vt-panel.vt-panel .vt-cursos li,
.vt-panel.vt-panel .vt-ventajas li {
	padding: 12px 0;
	border-bottom: 1px solid var(--vt-borde);
}

.vt-panel .vt-cursos li:last-child,
.vt-panel .vt-ventajas li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.vt-panel.vt-panel .vt-cursos a {
	color: var(--vt-navy);
	font-weight: 600;
	text-decoration: none;
}

.vt-panel .vt-cursos a:hover {
	text-decoration: underline;
}

.vt-panel.vt-panel .vt-cursos .vt-secundario {
	font-size: 0.875rem;
}

/* --- Hilos y respuestas ------------------------------------------------ */

.vt-panel.vt-panel .vt-hilo-resumen .vt-dato a {
	color: inherit;
	text-decoration: none;
}

.vt-panel .vt-hilo-resumen .vt-dato a:hover {
	text-decoration: underline;
}

.vt-panel .vt-respuestas {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.vt-panel .vt-respuesta {
	padding: 18px 20px;
	border: 1px solid var(--vt-borde);
	border-radius: 12px;
	background: var(--vt-fondo);
}

/* Un solo nivel de anidamiento. No hay hilos dentro de hilos (spec 5). */
.vt-panel .vt-respuesta--anidada {
	margin-left: 20px;
	border-left: 3px solid var(--vt-tinte);
}

.vt-panel.vt-panel .vt-respuesta__autor {
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-respuesta__autor .vt-secundario {
	margin-left: 8px;
	font-weight: 400;
	font-size: 0.8125rem;
}

.vt-panel.vt-panel .vt-hilo__cuerpo p,
.vt-panel.vt-panel .vt-respuesta__cuerpo p {
	margin-bottom: 12px;
}

.vt-panel .vt-hilo__cuerpo p:last-child,
.vt-panel .vt-respuesta__cuerpo p:last-child {
	margin-bottom: 0;
}

/* --- Like y derivar ---------------------------------------------------- */

.vt-panel.vt-panel .vt-like,
.vt-panel.vt-panel .vt-derivar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	padding: 7px 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: transparent;
	color: var(--vt-secundario);
	font-family: inherit;
	font-size: 0.8125rem;
	line-height: 1.2;
	cursor: pointer;
}

.vt-panel .vt-derivar {
	margin-left: 8px;
	border-style: dashed;
}

.vt-panel .vt-like.is-votado {
	border-color: var(--vt-coral);
	color: var(--vt-coral);
}

.vt-panel .vt-derivar.is-derivado,
.vt-panel .vt-derivar[disabled] {
	border-style: solid;
	border-color: var(--vt-navy);
	color: var(--vt-navy);
	cursor: default;
}

.vt-panel .vt-like[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.vt-panel.vt-panel .vt-apuntarse.is-apuntado {
	background: transparent;
	border: 1px solid var(--vt-navy);
	color: var(--vt-navy);
}

/* --- Formulario de respuesta ------------------------------------------- */

.vt-panel .vt-responder {
	width: 100%;
}

.vt-panel.vt-panel .vt-responder textarea {
	width: 100%;
	margin: 10px 0;
	padding: 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 12px;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--vt-navy);
	background: var(--vt-fondo);
	resize: vertical;
}

/* --- Tabla de ventajas ------------------------------------------------- */

.vt-panel .vt-tabla {
	width: 100%;
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
}

.vt-panel.vt-panel .vt-tabla th,
.vt-panel.vt-panel .vt-tabla td {
	padding: 12px 16px 12px 0;
	border-bottom: 1px solid var(--vt-borde);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.vt-panel.vt-panel .vt-tabla th {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vt-secundario);
}

.vt-panel .vt-tabla td:first-child {
	white-space: normal;
}

.vt-panel.vt-panel .vt-tachado {
	color: var(--vt-secundario);
	text-decoration: line-through;
}

.vt-panel.vt-panel .vt-destacado {
	font-weight: 700;
	color: var(--vt-coral);
}

/* --- Consentimiento ---------------------------------------------------- */

.vt-panel .vt-consentimiento__texto {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: var(--vt-secundario);
}

.vt-panel.vt-panel .vt-consentimiento label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0;
	cursor: pointer;
	font-size: 0.9375rem;
}

.vt-panel .vt-consentimiento input[type="checkbox"] {
	margin-top: 4px;
	flex: 0 0 auto;
}

/* --- Accesibilidad ----------------------------------------------------- */

.vt-panel .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --- Escritorio -------------------------------------------------------- */

@media (min-width: 768px) {
	.vt-panel.vt-panel .vt-saludo {
		font-size: 1.75rem;
	}

	.vt-panel .vt-bloque {
		padding: 28px;
	}
}

/* --- Fichas de curso y directo (dossier, vistas 1 a 3) ----------------- */

.vt-panel.vt-panel .vt-curso {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vt-panel.vt-panel .vt-curso__titulo {
	font-weight: 600;
	color: var(--vt-navy);
	text-decoration: none;
}

.vt-panel a.vt-curso__titulo:hover {
	text-decoration: underline;
}

/* La etiqueta incluida/comprada no es decorativa: es lo que evita la
   discusion el dia que alguien cancele (dossier, vista 1). */
.vt-panel.vt-panel .vt-curso__pie {
	font-size: 0.875rem;
	color: var(--vt-secundario);
}

.vt-panel .vt-cursos--bloqueada .vt-curso__titulo {
	color: var(--vt-secundario);
}

/* --- Conversaciones vivas de la semana --------------------------------- */

.vt-panel .vt-vivos {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vt-panel.vt-panel .vt-vivos__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: var(--vt-fondo);
	color: var(--vt-secundario);
	font-size: 0.875rem;
	text-decoration: none;
}

.vt-panel .vt-vivos__item.is-actual {
	border-color: var(--vt-navy);
	color: var(--vt-navy);
	font-weight: 600;
}

.vt-panel.vt-panel .vt-vivos__item b {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* --- Mensaje que abre el equipo ---------------------------------------- */

.vt-panel.vt-panel .vt-mensaje__autor,
.vt-panel.vt-panel .vt-respuesta__autor {
	font-weight: 600;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-mensaje__cuando,
.vt-panel.vt-panel .vt-respuesta__cuando {
	font-size: 0.8125rem;
}

.vt-panel .vt-mensaje__cuerpo {
	width: 100%;
}

.vt-panel.vt-panel .vt-mensaje__cuerpo p {
	margin-bottom: 12px;
}

.vt-panel .vt-mensaje__cuerpo p:last-child {
	margin-bottom: 0;
}

.vt-panel .vt-acciones {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

/* --- Guardar ------------------------------------------------------------ */

.vt-panel.vt-panel .vt-guardar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 7px 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: transparent;
	color: var(--vt-secundario);
	font-family: inherit;
	font-size: 0.8125rem;
	line-height: 1.2;
	cursor: pointer;
}

.vt-panel .vt-guardar.is-guardado {
	border-color: var(--vt-navy);
	color: var(--vt-navy);
	font-weight: 600;
}

/* --- Preguntas previas de un directo ----------------------------------- */

.vt-panel .vt-preguntas {
	width: 100%;
}

.vt-panel.vt-panel .vt-pregunta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	padding: 12px 0;
	border-bottom: 1px solid var(--vt-borde);
}

.vt-panel .vt-pregunta:last-child {
	border-bottom: 0;
}

.vt-panel.vt-panel .vt-pregunta__autor {
	font-weight: 600;
	color: var(--vt-navy);
	font-size: 0.9375rem;
}

.vt-panel.vt-panel .vt-pregunta__texto {
	color: var(--vt-secundario);
	font-size: 0.9375rem;
}

/* --- Precios con importe calculado (dossier, vista 7) ------------------ */

.vt-panel .vt-precios {
	width: 100%;
}

.vt-panel.vt-panel .vt-precios__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--vt-borde);
}

.vt-panel .vt-precios__item:last-child {
	border-bottom: 0;
}

.vt-panel.vt-panel .vt-precios__nombre {
	font-weight: 600;
	color: var(--vt-navy);
}

.vt-panel .vt-precios__cifras {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}


/* --- Fila con miniatura, texto y pastilla (dossier, vistas 1 a 3) ------- */

.vt-panel.vt-panel .vt-fila {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--vt-borde);
}

.vt-panel .vt-fila:last-child {
	border-bottom: 0;
}

/* Hueco reservado siempre, con imagen o sin ella: sin el, la lista pierde
   el ritmo en cuanto una formacion no tiene miniatura. */
.vt-panel .vt-fila__mini {
	flex: 0 0 auto;
	width: 52px;
	height: 36px;
	border-radius: 6px;
	background-size: cover;
	background-position: center;
}

.vt-panel .vt-fila__texto {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.vt-panel.vt-panel .vt-fila__titulo {
	font-weight: 600;
	color: var(--vt-navy);
	text-decoration: none;
}

.vt-panel a.vt-fila__titulo:hover {
	text-decoration: underline;
}

.vt-panel.vt-panel .vt-fila__pie {
	font-size: 0.8125rem;
	color: var(--vt-secundario);
}

/* --- Pastillas de accion ----------------------------------------------- */

.vt-panel.vt-panel .vt-pastilla {
	flex: 0 0 auto;
	padding: 6px 14px;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

/* Coral: se puede abrir ahora. */
.vt-panel .vt-pastilla--coral {
	background: var(--vt-tinte);
	color: var(--vt-coral);
}

/* Menta: tuyo, sin caducidad. */
.vt-panel .vt-pastilla--menta {
	background: #e8f3ee;
	color: #2f6f5e;
}

/* Gris: no disponible con el estado actual. */
.vt-panel .vt-pastilla--gris {
	background: #f1f4f8;
	color: var(--vt-secundario);
}

.vt-panel .vt-cursos--bloqueada .vt-fila__titulo,
.vt-panel .vt-fila--bloqueada .vt-fila__titulo {
	color: var(--vt-secundario);
}

/* --- Etiqueta de rol junto al nombre ------------------------------------ */

.vt-panel.vt-panel .vt-etiqueta {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--vt-navy);
	color: #ffffff;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	vertical-align: middle;
}

/* El equipo en coral: se distingue de un miembro veterano de un vistazo. */
.vt-panel.vt-panel .vt-etiqueta--equipo {
	background: var(--vt-tinte);
	color: var(--vt-coral);
}

/* --- Ajustes finos ------------------------------------------------------ */

.vt-panel .vt-bloque {
	border-radius: 10px;
	padding: 20px;
	gap: 8px;
	box-shadow: var(--vt-sombra);
}

.vt-panel .vt-bloque--venta,
.vt-panel .vt-bloque--directo,
.vt-panel .vt-mensaje {
	box-shadow: none;
}

/* El mensaje que abre el equipo va sobre tinte, no sobre blanco: separa lo
   que escribe la casa de lo que responden los miembros. */
.vt-panel .vt-mensaje {
	background: var(--vt-tinte);
	border-color: transparent;
}

.vt-panel.vt-panel .vt-saludo {
	font-size: 1rem;
	font-weight: 400;
	color: var(--vt-secundario);
}

@media (min-width: 768px) {
	.vt-panel .vt-bloque {
		padding: 22px 24px;
	}

	.vt-panel.vt-panel .vt-saludo {
		font-size: 1rem;
	}
}


/* --- Botones pequenos sin sombra --------------------------------------- */

/* `.elementor-kit-10 button` le pone sombra a todos los botones del sitio. En
   una pastilla de 26px de alto eso no se lee como relieve, se lee como
   suciedad. */
.vt-panel.vt-panel .vt-like,
.vt-panel.vt-panel .vt-derivar,
.vt-panel.vt-panel .vt-guardar {
	box-shadow: none;
}

/* ---------------------------------------------------------------------------
 * EL MURO
 *
 * Todo cuelga de .vt-panel y nada lleva !important, igual que el resto de la
 * hoja. Los botones repiten .vt-panel dos veces porque GeneratePress estila
 * "button" a secas y gana a una clase suelta.
 * ------------------------------------------------------------------------- */

/* --- caja de publicar --- */

.vt-panel .vt-publicar {
	display: block;
}

.vt-panel.vt-panel .vt-publicar__etiqueta {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--vt-navy);
	text-transform: none;
	letter-spacing: 0;
}

.vt-panel.vt-panel .vt-publicar__campo {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 10px;
	background: var(--vt-fondo);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.55;
	color: inherit;
	resize: vertical;
}

.vt-panel .vt-publicar__campo:focus {
	border-color: var(--vt-coral);
	outline: 2px solid rgba(239, 108, 74, 0.25);
	outline-offset: 1px;
}

.vt-panel .vt-publicar__pie {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin: 12px 0 0;
}

.vt-panel.vt-panel .vt-publicar__enviar {
	flex: 0 0 auto;
}

/* --- una publicacion en el muro --- */

.vt-panel .vt-pub--fijada {
	border-color: var(--vt-coral);
	background: var(--vt-tinte);
}

.vt-panel.vt-panel .vt-pub__autor {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 600;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-pub__cuando {
	font-weight: 400;
	font-size: 13px;
}

/* El cuerpo es un enlace que no parece un enlace: toda la publicacion tiene
   que ser pulsable, pero un parrafo subrayado en azul no se lee. */
.vt-panel.vt-panel .vt-pub__cuerpo {
	display: block;
	color: inherit;
	font-size: 15px;
	line-height: 1.6;
	text-decoration: none;
}

.vt-panel .vt-pub__cuerpo:hover,
.vt-panel .vt-pub__cuerpo:focus {
	color: var(--vt-navy);
	text-decoration: none;
}

.vt-panel.vt-panel .vt-pub__pie {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--vt-secundario);
}

.vt-panel .vt-pub__pie a {
	color: inherit;
	text-decoration: none;
}

.vt-panel .vt-pub__pie a:hover {
	color: var(--vt-coral);
}

/* --- reacciones --- */

.vt-panel.vt-panel .vt-reacciones {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.vt-panel .vt-reacciones__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vt-panel .vt-reacciones__item::before {
	content: none;
}

.vt-panel.vt-panel .vt-reaccion {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	margin: 0;
	padding: 5px 10px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: var(--vt-fondo);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--vt-secundario);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.vt-panel .vt-reaccion:hover {
	border-color: var(--vt-coral);
	color: var(--vt-navy);
	transform: translateY(-1px);
}

.vt-panel .vt-reaccion:active {
	transform: scale(0.94);
}

/*
 * El "pop" al pulsar. Es lo unico que separa un boton que responde de uno que
 * parece colgado: el numero ya cambia al instante (lo pinta el JS antes de
 * preguntar al servidor), pero sin movimiento no se percibe como respuesta.
 */
@keyframes vt-pop {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.16); }
	100% { transform: scale(1); }
}

.vt-panel .vt-reaccion.is-pop {
	animation: vt-pop 260ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Quien pide menos movimiento no recibe el rebote, pero SI el cambio de color
   y de numero: la respuesta no puede depender de la animacion. */
@media (prefers-reduced-motion: reduce) {
	.vt-panel .vt-reaccion,
	.vt-panel .vt-reaccion.is-pop {
		animation: none;
		transform: none;
		transition: none;
	}
}

.vt-panel.vt-panel .vt-reaccion.is-puesta {
	border-color: var(--vt-coral);
	background: var(--vt-tinte);
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-reaccion.is-inerte {
	cursor: default;
}

.vt-panel .vt-reaccion__icono {
	font-size: 15px;
	line-height: 1;
}

/* El total vacio no deja hueco: sin esto, cada pastilla arrastraba un espacio
   a la derecha cuando el contador estaba a cero. */
.vt-panel .vt-reaccion__total:empty {
	display: none;
}

.vt-panel .vt-reaccion__total {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--vt-navy);
}

/* En movil el nombre de la reaccion sobra: cuatro pastillas con texto no
   caben y el icono ya dice cual es. El title y el aria-label siguen ahi. */
@media (max-width: 480px) {
	.vt-panel .vt-reaccion__texto {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* --- borrar lo tuyo --- */

.vt-panel.vt-panel .vt-borrar {
	font-size: 13px;
	color: var(--vt-secundario);
	text-decoration: none;
}

.vt-panel .vt-borrar:hover,
.vt-panel .vt-borrar:focus {
	color: #b42318;
	text-decoration: underline;
}

/* --- paginacion --- */

.vt-panel .vt-paginacion {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 20px;
}

.vt-panel.vt-panel .vt-paginacion a {
	font-size: 14px;
	font-weight: 600;
	color: var(--vt-navy);
	text-decoration: none;
}

.vt-panel .vt-paginacion a:hover {
	color: var(--vt-coral);
}

/* --- banner de resultado tras enviar el formulario ---
 *
 * .vt-nota y no .vt-aviso: .vt-aviso ya existe y es el texto pequeno gris de
 * dentro del formulario de responder. Reutilizarlo habria puesto una caja con
 * borde alrededor de aquella linea.
 */

.vt-panel.vt-panel .vt-nota {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-left: 3px solid var(--vt-coral);
	border-radius: 0 8px 8px 0;
	background: var(--vt-tinte);
	font-size: 14px;
	line-height: 1.5;
	color: var(--vt-navy);
}

.vt-panel.vt-panel .vt-nota--error {
	border-left-color: #b42318;
	background: #fef3f2;
	color: #912018;
}

/* ---------------------------------------------------------------------------
 * CABECERA DEL MURO, BUSCADOR, MODAL Y SCROLL INFINITO
 * ------------------------------------------------------------------------- */

.vt-panel .vt-cabecera {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: 20px;
}

.vt-panel.vt-panel .vt-cabecera .vt-saludo {
	flex: 1 1 auto;
	margin: 0;
}

.vt-panel .vt-buscador {
	display: flex;
	gap: 6px;
	flex: 0 1 auto;
}

.vt-panel.vt-panel .vt-buscador input {
	width: 180px;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: var(--vt-fondo);
	font-family: inherit;
	font-size: 14px;
	color: inherit;
}

.vt-panel .vt-buscador input:focus {
	border-color: var(--vt-coral);
	outline: 2px solid rgba(239, 108, 74, 0.25);
	outline-offset: 1px;
}

.vt-panel.vt-panel .vt-buscador button,
.vt-panel.vt-panel .vt-ajustes-abrir {
	padding: 8px 14px;
	border: 1px solid var(--vt-borde);
	border-radius: 999px;
	background: var(--vt-fondo);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--vt-navy);
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: border-color 120ms ease, color 120ms ease;
}

.vt-panel .vt-buscador button:hover,
.vt-panel .vt-ajustes-abrir:hover {
	border-color: var(--vt-coral);
	color: var(--vt-coral);
}

/* --- el centinela de "ver mas" --- */

.vt-panel .vt-mas {
	padding: 20px 0;
	text-align: center;
}

.vt-panel.vt-panel .vt-mas__enlace {
	font-weight: 600;
	color: var(--vt-navy);
	text-decoration: none;
}

.vt-panel .vt-mas__enlace:hover {
	color: var(--vt-coral);
}

.vt-panel.vt-panel .vt-mas__cargando {
	margin: 0;
	font-size: 13px;
	color: var(--vt-secundario);
}

/* --- modal de ajustes --- */

/*
 * <dialog> nativo. El navegador ya da modalidad, foco atrapado, Escape y
 * fondo inerte: aqui solo se le pone aspecto. Sin position, sin z-index y
 * sin una linea de JS para el foco.
 */
.vt-panel .vt-modal,
dialog.vt-modal {
	width: min(520px, calc(100vw - 32px));
	padding: 0;
	border: 1px solid var(--vt-borde, #E4DDD8);
	border-radius: 14px;
	background: var(--vt-fondo, #fff);
	color: inherit;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.16);
}

dialog.vt-modal::backdrop {
	background: rgba(22, 38, 63, 0.45);
}

.vt-modal__cuerpo {
	padding: 24px;
}

.vt-modal__titulo {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	color: var(--vt-navy);
}

.vt-modal__opcion {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
}

.vt-panel .vt-modal__opcion span span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--vt-secundario);
}

.vt-modal__pie {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin: 24px 0 0;
}
