.demo-barra { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 8px 16px; background: #1c4a5f; color: #fff; font: 500 12px/1.3 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .02em; position: relative; z-index: 50; }
.demo-barra i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5fa3ba; margin-right: 8px; }
.demo-barra b { font-weight: 700; }
.demo-barra label { display: inline-flex; align-items: center; gap: 8px; }
.demo-barra select { background: rgba(0, 0, 0, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; padding: 5px 8px; font: inherit; max-width: 260px; }
.demo-ve { color: rgba(255, 255, 255, .78); max-width: 520px; }
.demo-ve b { color: #fff; font-weight: 700; }
.demo-barra button { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .45); border-radius: 6px; padding: 5px 12px; font: inherit; cursor: pointer; }
.demo-barra button:hover { background: rgba(255, 255, 255, .14); }
#salir, #btnAvisos, #cardAltaRapida { display: none !important; }

#pantallaAcceso { display: none !important; }
.demo-intro { position: fixed; inset: 0; z-index: 9999; background: #000 radial-gradient(900px 600px at 50% 40%, rgba(106, 196, 226, .16), transparent 65%); display: grid; place-items: center; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.demo-intro.sale { transform: translateY(-101%); }
.di-c { display: grid; justify-items: center; gap: 22px; }
.di-c img { height: 46px; opacity: 0; transform: scale(.92); filter: blur(8px); animation: di-logo 1.1s .1s cubic-bezier(.2, .7, .2, 1) forwards; }
.di-barra { width: min(220px, 56vw); height: 2px; background: rgba(255, 255, 255, .12); border-radius: 99px; overflow: hidden; }
.di-barra i { display: block; height: 100%; background: #6ac4e2; transform: scaleX(0); transform-origin: 0 50%; animation: di-barra 2.4s .3s cubic-bezier(.5, 0, .2, 1) forwards; }
.di-c small { color: rgba(255, 255, 255, .5); font: 500 12.5px/1 'Inter', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: 0; animation: di-logo 1s .6s forwards; }
@keyframes di-logo { to { opacity: 1; transform: none; filter: none; } }
@keyframes di-barra { to { transform: scaleX(1); } }
/* el panel entra cuando sube el telón */
body:not(.demo-listo) .top, body:not(.demo-listo) .tabs, body:not(.demo-listo) .vista { opacity: 0; }
.demo-listo .top { animation: di-baja .9s cubic-bezier(.2, .7, .2, 1) both; }
.demo-listo .tab { animation: di-pop .6s cubic-bezier(.2, .7, .2, 1) both; }
.demo-listo .tab:nth-child(1) { animation-delay: .25s } .demo-listo .tab:nth-child(2) { animation-delay: .3s } .demo-listo .tab:nth-child(3) { animation-delay: .35s }
.demo-listo .tab:nth-child(4) { animation-delay: .4s } .demo-listo .tab:nth-child(5) { animation-delay: .45s } .demo-listo .tab:nth-child(6) { animation-delay: .5s }
.demo-listo .tab:nth-child(7) { animation-delay: .55s } .demo-listo .tab:nth-child(8) { animation-delay: .6s } .demo-listo .tab:nth-child(9) { animation-delay: .65s }
.demo-listo .kpi { animation: di-pop .7s cubic-bezier(.2, .7, .2, 1) both; }
.demo-listo .kpi:nth-child(1) { animation-delay: .5s } .demo-listo .kpi:nth-child(2) { animation-delay: .58s } .demo-listo .kpi:nth-child(3) { animation-delay: .66s }
.demo-listo .kpi:nth-child(4) { animation-delay: .74s } .demo-listo .kpi:nth-child(5) { animation-delay: .82s }
@keyframes di-baja { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes di-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .demo-intro { display: none; } body:not(.demo-listo) .top, body:not(.demo-listo) .tabs, body:not(.demo-listo) .vista { opacity: 1; } }
@media (max-width: 760px) { .demo-barra { gap: 8px 12px; padding: 8px 12px; font-size: 11px; } .demo-ve { display: none; } .demo-barra select { max-width: 190px; } }
