/* search/why-moved.css — «Why is it moving?» (search/why-moved.js): la caja de Alpha AI (ai-box.css) en una
   fila nueva de la tarjeta de la gráfica (gWhy), debajo de la gráfica. Repite las áreas de busqueda.css
   con la fila extra; se carga después. La tarjeta crece con la caja abierta (busqueda.css la topaba en
   420px): sin tope de altura. */
.seccionGrafica {
	max-height: none;
	grid-template-areas:
		'gId    gBtns'
		'gCam   gBtns'
		'gExt   gExt'
		'gChart gChart'
		'gWhy   gWhy';
}
@media (max-width: 1100px) {
	.seccionGrafica { grid-template-areas: 'gId' 'gCam' 'gExt' 'gBtns' 'gChart' 'gWhy'; }
}
.whyMove { grid-area: gWhy; margin-top: 14px; min-width: 0; text-align: left; }
.seccionGrafica.graficaPendiente .whyMove { visibility: hidden; }
.whyMove .af-ai > summary { padding: 12px 0; }
.whyMove .af-ai__h { font-size: 16px; }
.whyMove .af-ai__sub[hidden] { display: none; }
.whyMove__title { margin: 0 0 8px; font: 800 17px/1.35 'Inter', sans-serif; color: var(--af-ai-ink); }
.whyMove__src { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.whyMove__src li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.whyMove__src a { font: 600 14px/1.4 'Inter', sans-serif; color: var(--af-ai-accent); text-decoration: none; overflow-wrap: anywhere; }
.whyMove__src a:hover { text-decoration: underline; }
.whyMove__meta { font: 500 12px 'Inter', sans-serif; color: var(--af-ai-muted); }
.whyMove__wait { margin: 10px 0 0; }
.whyMove .af-pl { margin-top: 10px; }

/* Mientras escribe: tres renglones que brillan */
.whyMove__shimmer { display: flex; flex-direction: column; gap: 9px; }
.whyMove__shimmer span { display: block; height: 12px; border-radius: 6px;
	background: linear-gradient(90deg, rgba(91, 75, 196, 0.08) 0%, rgba(91, 75, 196, 0.2) 50%, rgba(91, 75, 196, 0.08) 100%);
	background-size: 200% 100%; animation: why-shimmer 1.3s ease-in-out infinite; }
.whyMove__shimmer span:nth-child(1) { width: 62%; height: 15px; }
.whyMove__shimmer span:nth-child(2) { width: 96%; }
.whyMove__shimmer span:nth-child(3) { width: 80%; }
@keyframes why-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .whyMove__shimmer span { animation: none; } }
