
/* ===== Progreso de tareas largas (public/progreso-tareas.js) ===== */
#taskProgressHost { position: fixed; top: 12px; right: 12px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; width: min(340px, calc(100vw - 24px)); pointer-events: none; }
.tp-card { position: relative; pointer-events: auto; padding: 10px 14px 13px; border-radius: 14px; overflow: hidden; background: rgb(var(--panel-rgb, 20 20 29) / 92%); border: 1px solid var(--border, rgba(255,255,255,.14)); box-shadow: 0 10px 30px rgba(0,0,0,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--text, #fff); animation: tp-in .25s ease-out; transition: opacity .3s, transform .3s; }
.tp-card.is-leaving { opacity: 0; transform: translateX(16px); }
.tp-row { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.tp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-pct { font-variant-numeric: tabular-nums; color: var(--accent-2, #00e0ff); font-weight: 700; }
.tp-sub { display: flex; justify-content: space-between; gap: 10px; margin-top: 3px; font-size: .78rem; opacity: .78; }
.tp-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.08); }
.tp-bar span { display: block; height: 100%; width: 0; background: var(--accent, #ff3fa4); transition: width .5s linear; }
.tp-card.is-busy .tp-bar span { background-image: linear-gradient(90deg, var(--accent, #ff3fa4), var(--accent-2, #00e0ff), var(--accent, #ff3fa4)); background-size: 200% 100%; animation: tp-shimmer 1.6s linear infinite; }
.tp-card.is-busy .tp-icon { display: inline-block; animation: tp-bounce 1.1s ease-in-out infinite; }
.tp-card.is-done { border-color: rgb(var(--accent-3-rgb, 80 220 140) / 55%); }
.tp-card.is-done .tp-bar span { background: var(--accent-3, #50dc8c); }
.tp-card.is-error { border-color: rgba(255,90,90,.6); cursor: pointer; }
.tp-card.is-error .tp-bar span { background: #ff5a5a; width: 100% !important; }
@keyframes tp-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes tp-shimmer { to { background-position: -200% 0; } }
@keyframes tp-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .tp-card, .tp-card.is-busy .tp-bar span, .tp-card.is-busy .tp-icon { animation: none; } }

/* Hora chiquita en los mensajes de error (public/error-hora.js) */
.err-ts { font-size: .72em; font-weight: 400; opacity: .6; white-space: nowrap; font-variant-numeric: tabular-nums; margin-left: .15em; }
