/* Alarma de horno de Ensamble (alarma_horno.js). Prefijo ah-: no toca ningún estilo global.
   El fondo NO bloquea la pantalla (se puede seguir trabajando); solo las tarjetas reciben toques. Si resulta muy invasivo, se afloja aquí. */
#alarma-horno { position: fixed; inset: 0; z-index: 100000; pointer-events: none; display: flex; align-items: flex-start; justify-content: center; padding: 16px; }
#alarma-horno .ah-lista { display: flex; flex-direction: column; gap: 12px; width: min(720px, 100%); pointer-events: none; }
#alarma-horno .ah-card { pointer-events: auto; background: #fff7ed; border: 4px solid #ea580c; border-radius: 18px; padding: 18px 20px; color: #1b2440;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45); animation: ah-latido 1s ease-in-out infinite; }
#alarma-horno .ah-card.ah-n2 { background: #fef2f2; border-color: #dc2626; animation-duration: .6s; }
#alarma-horno .ah-titulo { font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: #c2410c; }
#alarma-horno .ah-n2 .ah-titulo { color: #b91c1c; }
#alarma-horno .ah-sub { margin-top: 6px; font-size: 1.05rem; }
#alarma-horno .ah-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
#alarma-horno .ah-btn { border: 2px solid #1b2440; background: #fff; color: #1b2440; border-radius: 12px; padding: 12px 18px; font-size: 1.05rem; font-weight: 700; cursor: pointer; min-height: 52px; }
#alarma-horno .ah-btn--p { background: #16a34a; border-color: #15803d; color: #fff; flex: 1 1 260px; }
#alarma-horno .ah-aviso { pointer-events: auto; background: #1b2440; color: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 700; text-align: center; cursor: pointer; animation: ah-latido 1s ease-in-out infinite; }
@keyframes ah-latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { #alarma-horno .ah-card, #alarma-horno .ah-aviso { animation: none; } }
@media (max-width: 520px) { #alarma-horno .ah-titulo { font-size: 1.2rem; } #alarma-horno .ah-btn { flex: 1 1 100%; } }
