
.scroll-progress{
  position:fixed; inset:0 0 auto 0; height:2px; z-index:90;
  pointer-events:none; background:transparent;
}
.scroll-progress span{
  display:block; height:100%; width:0;
  background:linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow:0 0 14px rgb(var(--accent-rgb) / .85);
  transition:width .1s linear;
}

.ripple-host{ position:relative; overflow:hidden; }
.ripple-onda{
  position:absolute; border-radius:9999px; pointer-events:none;
  background:rgb(var(--accent-rgb) / .32);
  transform:scale(0); animation:rippleSale .55s ease-out forwards;
}
@keyframes rippleSale{ to{ transform:scale(2.8); opacity:0; } }

@keyframes flashOk{
  0%   { box-shadow:0 0 0 0 rgb(16 185 129 / .55); }
  100% { box-shadow:0 0 0 16px rgb(16 185 129 / 0); }
}

#authView{
  transform:translate3d(0, 14px, 0) scale(.992);
  transition:opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
#authView.auth-open{ transform:none; }
#dash{
  transform:translate3d(0, 18px, 0) scale(.994);
  transition:opacity .32s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
#dash.dash-open{ transform:none; }

kbd{
  font-family:'JetBrains Mono', ui-monospace, monospace;
  font-size:10.5px; line-height:1; padding:.22rem .4rem;
  border-radius:.4rem; border:1px solid rgb(var(--line-rgb) / .18);
  border-bottom-width:2px; background:rgb(var(--line-rgb) / .07);
  color:rgb(var(--text-rgb) / .78);
}

.hero-orbs{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:-1; }
.hero-orbs span{
  position:absolute; border-radius:9999px; filter:blur(70px); opacity:.5;
  background:radial-gradient(closest-side, rgb(var(--accent-rgb) / .75), transparent 70%);
  animation:orbeFlota 16s ease-in-out infinite;
}
.hero-orbs span:nth-child(1){ width:320px; height:320px; top:-60px; left:6%; }
.hero-orbs span:nth-child(2){
  width:260px; height:260px; top:12%; right:8%; animation-delay:-5s;
  background:radial-gradient(closest-side, rgb(var(--accent2-rgb) / .7), transparent 70%);
}
.hero-orbs span:nth-child(3){ width:200px; height:200px; bottom:-40px; left:42%; animation-delay:-9s; opacity:.35; }
@keyframes orbeFlota{
  0%,100%{ transform:translate3d(0,0,0) scale(1); }
  50%    { transform:translate3d(24px,-26px,0) scale(1.12); }
}

.tilt{
  transform:perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style:preserve-3d;
  transition:transform .25s cubic-bezier(.2,.7,.2,1);
  will-change:transform;
}

.btn-primary{ position:relative; overflow:hidden; }
.btn-primary::after{
  content:''; position:absolute; top:0; bottom:0; left:-140%; width:55%;
  background:linear-gradient(100deg, transparent, rgb(255 255 255 / .38), transparent);
  transform:skewX(-18deg); transition:left .65s cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover::after{ left:150%; }
.btn-primary:active{ transform:translateY(1px) scale(.99); }

.reveal{
  opacity:0; transform:translateY(22px) scale(.99); filter:blur(6px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
.reveal.in{ opacity:1; transform:none; filter:none; }

.card-hover{ position:relative; }
.card-hover::before{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(420px circle at 50% 0%, rgb(var(--accent-rgb) / .12), transparent 70%);
  opacity:0; transition:opacity .35s ease;
}
.card-hover:hover::before{ opacity:1; }

[data-count]{ display:inline-block; animation:subeCifra .5s ease; }
@keyframes subeCifra{ from{ transform:translateY(6px); opacity:.4 } to{ transform:none; opacity:1 } }

.nav-scrolled{ border-bottom-color:rgb(var(--accent-rgb) / .22); }

.fx-malla{ animation:fxMalla 30s linear infinite; will-change:transform; }
@keyframes fxMalla{
  from{ transform:translate3d(0, 0, 0); }
  to  { transform:translate3d(44px, 44px, 0); }
}

.fx-haces{ animation:fxHaces 26s ease-in-out infinite alternate; will-change:transform; }
@keyframes fxHaces{
  from{ transform:translate3d(-1.6%, -1.2%, 0); }
  to  { transform:translate3d(1.6%, 1.4%, 0); }
}

.fx-barrido{ animation:fxBarrido 12s cubic-bezier(.55,.05,.45,.95) infinite; will-change:transform; }
@keyframes fxBarrido{
  0%       { transform:translate3d(-150%, 0, 0) skewX(-12deg); opacity:0; }
  14%      { opacity:1; }
  62%, 100%{ transform:translate3d(360%, 0, 0) skewX(-12deg); opacity:0; }
}

.fx-emblema{ animation:fxEmblema 30s ease-in-out infinite; }
@keyframes fxEmblema{
  0%, 100%{ transform:translate(-50%, -48%) rotate(-4deg) scale(1); }
  50%     { transform:translate(-50%, -51.5%) rotate(-1deg) scale(1.04); }
}

.fx-puntos span{ animation-name:fxSube; animation-timing-function:linear; animation-iteration-count:infinite; }
@keyframes fxSube{
  0%  { transform:translate3d(0, 0, 0) scale(.7); opacity:0; }
  14% { opacity:.85; }
  80% { opacity:.3; }
  100%{ transform:translate3d(0, -102vh, 0) scale(1.1); opacity:0; }
}
.fx-puntos span:nth-child(1) { left:5%;  width:2px; height:2px; animation-duration:19s; animation-delay:-1s; }
.fx-puntos span:nth-child(2) { left:14%; width:3px; height:3px; animation-duration:26s; animation-delay:-7s; }
.fx-puntos span:nth-child(3) { left:23%; width:2px; height:2px; animation-duration:22s; animation-delay:-13s; }
.fx-puntos span:nth-child(4) { left:33%; width:2px; height:2px; animation-duration:29s; animation-delay:-4s; }
.fx-puntos span:nth-child(5) { left:42%; width:3px; height:3px; animation-duration:24s; animation-delay:-17s; }
.fx-puntos span:nth-child(6) { left:56%; width:2px; height:2px; animation-duration:21s; animation-delay:-9s; }
.fx-puntos span:nth-child(7) { left:66%; width:2px; height:2px; animation-duration:27s; animation-delay:-21s; }
.fx-puntos span:nth-child(8) { left:74%; width:3px; height:3px; animation-duration:23s; animation-delay:-11s; }
.fx-puntos span:nth-child(9) { left:85%; width:2px; height:2px; animation-duration:25s; animation-delay:-3s; }
.fx-puntos span:nth-child(10){ left:93%; width:2px; height:2px; animation-duration:20s; animation-delay:-15s; }

.fx-scan{ animation:fxScan 13s cubic-bezier(.5,0,.5,1) infinite; will-change:transform; }
@keyframes fxScan{
  0%  { transform:translate3d(0, 0, 0); opacity:0; }
  10% { opacity:.9; }
  88% { opacity:.65; }
  100%{ transform:translate3d(0, 92vh, 0); opacity:0; }
}

@keyframes fxCarga{
  0%  { width:0; opacity:1; }
  68% { width:76%; }
  100%{ width:100%; opacity:0; }
}

.fx-orbes{ position:absolute; inset:0; }
.fx-orbes span{
  position:absolute; border-radius:9999px; filter:blur(80px); opacity:.4; pointer-events:none;
  background:radial-gradient(closest-side, rgb(var(--accent-rgb) / .8), transparent 70%);
  animation:orbeFlota 18s ease-in-out infinite;
}
.fx-orbes span:nth-child(1){ width:320px; height:320px; top:6%; right:4%; }
.fx-orbes span:nth-child(2){
  width:250px; height:250px; bottom:2%; left:3%; animation-delay:-6s;
  background:radial-gradient(closest-side, rgb(var(--accent2-rgb) / .8), transparent 70%);
}
.fx-orbes span:nth-child(3){ width:180px; height:180px; top:54%; left:52%; animation-delay:-11s; opacity:.22; }
body.light .fx-orbes span{ opacity:.24; filter:blur(92px); }
.fx-bg--panel .fx-orbes span{ opacity:.2; }
.fx-bg--panel .fx-orbes span:nth-child(3){ opacity:.1; }

.auth-in{ animation:authIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes authIn{ from{ opacity:0; transform:translateY(14px) scale(.99); } to{ opacity:1; transform:none; } }

.auth-card::after{ animation:barraAcento 7s ease-in-out infinite; transform-origin:50% 50%; }
@keyframes barraAcento{
  0%,100%{ opacity:.5; transform:scaleX(.62); }
  50%    { opacity:1;  transform:scaleX(1); }
}

#authView.auth-open .auth-card > *{ animation:authIn .5s cubic-bezier(.2,.7,.2,1) both; }
#authView.auth-open .auth-card > *:nth-child(2){ animation-delay:.05s; }
#authView.auth-open .auth-card > *:nth-child(3){ animation-delay:.1s; }
#authView.auth-open .auth-card > *:nth-child(4){ animation-delay:.16s; }
#authView.auth-open .auth-card > *:nth-child(5){ animation-delay:.22s; }

#authView.auth-open .auth-mock .mk-barra{
  animation:mkCrece .95s cubic-bezier(.2,.8,.2,1) both;
  transform-box:fill-box; transform-origin:bottom;
}
#authView.auth-open .auth-mock .mk-barra:nth-child(2){ animation-delay:.05s; }
#authView.auth-open .auth-mock .mk-barra:nth-child(3){ animation-delay:.1s; }
#authView.auth-open .auth-mock .mk-barra:nth-child(4){ animation-delay:.15s; }
#authView.auth-open .auth-mock .mk-barra:nth-child(5){ animation-delay:.2s; }
#authView.auth-open .auth-mock .mk-barra:nth-child(6){ animation-delay:.25s; }
#authView.auth-open .auth-mock .mk-barra:nth-child(7){ animation-delay:.3s; }
#authView.auth-open .auth-mock .mk-fila{
  animation:mkFila .6s cubic-bezier(.2,.7,.2,1) both;
  transform-box:fill-box;
}
#authView.auth-open .auth-mock .mk-fila:nth-child(2){ animation-delay:.1s; }
#authView.auth-open .auth-mock .mk-fila:nth-child(3){ animation-delay:.2s; }
#authView.auth-open .auth-mock .mk-fila:nth-child(4){ animation-delay:.3s; }
#authView.auth-open .auth-mock .mk-fila:nth-child(5){ animation-delay:.4s; }
#authView.auth-open .auth-mock .mk-kpi{ animation:authIn .7s cubic-bezier(.2,.7,.2,1) both; }
#authView.auth-open .auth-mock .mk-kpi:nth-child(2){ animation-delay:.09s; }
#authView.auth-open .auth-mock .mk-kpi:nth-child(3){ animation-delay:.18s; }
@keyframes mkCrece{ from{ transform:scaleY(.06); opacity:.25; } to{ transform:none; opacity:1; } }
@keyframes mkFila{ from{ opacity:0; transform:translate3d(-12px, 0, 0); } to{ opacity:1; transform:none; } }

.auth-mock .mk-live{ animation:mkLatido 2.6s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
@keyframes mkLatido{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.45); opacity:.7; } }

.auth-mock .mk-activo{ animation:mkActivo 3.6s ease-in-out infinite; }
@keyframes mkActivo{ 0%,100%{ opacity:.9; } 50%{ opacity:1; } }

.auth-mock .mk-scanbar{ animation:mkScan 7.5s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes mkScan{
  0%  { transform:translate3d(0, 0, 0); opacity:0; }
  14% { opacity:.6; }
  86% { opacity:.4; }
  100%{ transform:translate3d(0, 366px, 0); opacity:0; }
}

@media (max-width:1079px){
  .auth-show .auth-mock *{ animation:none !important; }
}

.auth-show-frame{ animation:authIn .7s cubic-bezier(.2,.7,.2,1) both; }
.auth-show-tags li{ animation:subeEtiqueta .55s cubic-bezier(.2,.7,.2,1) both; }
.auth-show-tags li:nth-child(2){ animation-delay:.07s; }
.auth-show-tags li:nth-child(3){ animation-delay:.14s; }
.auth-show-tags li:nth-child(4){ animation-delay:.21s; }
@keyframes subeEtiqueta{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

.auth-submit{ position:relative; }
.auth-submit.is-busy{ cursor:progress; }
.auth-submit .girador{
  width:14px; height:14px; border-radius:9999px; flex:none;
  border:2px solid rgb(255 255 255 / .35); border-top-color:#fff;
  animation:gira .7s linear infinite;
}
@keyframes gira{ to{ transform:rotate(1turn); } }

.auth-card.is-ok{
  animation:tarjetaOk .8s cubic-bezier(.2,.7,.2,1);
  border-color:rgba(16,185,129,.45);
}
@keyframes tarjetaOk{
  0%  { box-shadow:0 0 0 0 rgba(16,185,129,.5); transform:scale(1); }
  45% { box-shadow:0 0 0 12px rgba(16,185,129,0); transform:scale(1.012); }
  100%{ box-shadow:0 0 0 0 rgba(16,185,129,0); transform:scale(1); }
}

.auth-shortcuts{
  position:relative; z-index:2; display:flex; flex-wrap:wrap; justify-content:center;
  gap:.4rem 1.1rem; padding:0 1rem 1.5rem;
  font-size:10.5px; color:rgb(var(--text-rgb) / .38);
}
.auth-shortcuts span{ display:inline-flex; align-items:center; gap:.35rem; }

@media (min-width:1024px) and (max-height:900px){
  .auth-main{ gap:.7rem; padding-block:1rem; }
  .auth-card{ padding:1.25rem 1.4rem; gap:.8rem; }
  .auth-head h1{ font-size:1.2rem; }
}

.dash-top{
  display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between;
  gap:.9rem; margin-bottom:1.1rem;
}
.dash-top-info{ min-width:0; }
.dash-crumb{
  display:flex; align-items:center; gap:.35rem; margin-bottom:.25rem;
  font-size:10.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:rgb(var(--text-rgb) / .42);
}
.dash-top-tools{ display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; }

.dash-search{
  display:inline-flex; align-items:center; gap:.5rem;
  border:1px solid rgb(var(--line-rgb) / .13); border-radius:.75rem;
  background:rgb(var(--line-rgb) / .04); padding:.45rem .6rem;
  font-size:12px; font-weight:500; color:rgb(var(--text-rgb) / .55);
  transition:border-color .25s ease, background .25s ease, color .25s ease;
}
.dash-search:hover{
  border-color:rgb(var(--accent-rgb) / .5);
  background:rgb(var(--accent-rgb) / .09);
  color:rgb(var(--text-rgb));
}
.dash-search kbd{ padding:.1rem .3rem; font-size:10px; }

.dash-quick{ display:flex; flex-wrap:wrap; gap:.4rem; }

.dash-side{ position:relative; }
.dash-nav{ position:relative; }
.dash-collapse{
  display:none; place-items:center; width:26px; height:26px; flex:none;
  border-radius:.55rem; border:1px solid rgb(var(--line-rgb) / .13);
  color:rgb(var(--text-rgb) / .55); transition:color .25s ease, border-color .25s ease, transform .3s ease;
}
.dash-collapse:hover{ color:rgb(var(--text-rgb)); border-color:rgb(var(--accent-rgb) / .5); }
@media (min-width:901px){ .dash-collapse{ display:grid; } }
.dash-side-foot{ margin-top:auto; display:grid; gap:.45rem; padding-top:1rem; }
.dash-side-foot .theme-btn{ justify-content:center; }

.dash-nav-btn{ position:relative; overflow:hidden; }
.dash-nav-btn::before{
  content:''; position:absolute; left:0; top:50%; width:3px; height:0;
  border-radius:0 3px 3px 0; background:linear-gradient(180deg, var(--blue), var(--violet));
  transform:translateY(-50%); transition:height .35s cubic-bezier(.2,.7,.2,1);
}
.dash-nav-btn.is-active::before{ height:58%; }
.dash-nav-btn i{ transition:transform .35s cubic-bezier(.2,.7,.2,1); }
.dash-nav-btn.is-active i{ transform:scale(1.12); }
.dash-nav-btn.is-active{ box-shadow:0 12px 30px -20px rgb(var(--accent-rgb) / .9); }

.dash-shell.is-compact{ grid-template-columns:76px minmax(0,1fr); transition:grid-template-columns .35s cubic-bezier(.2,.7,.2,1); }
.dash-shell.is-compact .dash-nav-btn span:not(.dash-nav-count){ display:none; }
.dash-shell.is-compact .dash-nav-btn{ justify-content:center; }
.dash-shell.is-compact .dash-nav-count{ display:none; }
.dash-shell.is-compact .dash-side-head .dash-user{ display:none; }
.dash-shell.is-compact .dash-side-head{
  flex-direction:column; align-items:center; gap:.55rem; padding-inline:.3rem;
}
.dash-shell.is-compact .dash-collapse{ margin-left:0; }
.dash-shell.is-compact .dash-side{ overflow:hidden; }
.dash-shell.is-compact .dash-side-foot .theme-btn span,
.dash-shell.is-compact #dashLogout span{ display:none; }
.dash-shell.is-compact #dashLogout{ justify-content:center; }

.dash-tabpanel.is-active{ animation:panelEntra .42s cubic-bezier(.2,.7,.2,1); }
@keyframes panelEntra{
  from{ opacity:0; transform:translateY(14px); }
  to  { opacity:1; transform:none; }
}
.dash-tabpanel.is-active > *{ animation:bloqueEntra .5s cubic-bezier(.2,.7,.2,1) both; }
.dash-tabpanel.is-active > *:nth-child(1){ animation-delay:.02s }
.dash-tabpanel.is-active > *:nth-child(2){ animation-delay:.07s }
.dash-tabpanel.is-active > *:nth-child(3){ animation-delay:.12s }
.dash-tabpanel.is-active > *:nth-child(4){ animation-delay:.17s }
@keyframes bloqueEntra{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

.dash-kpi{
  position:relative; overflow:hidden;
  box-shadow:inset 0 1px 0 rgb(var(--line-rgb) / .05);
}
.dash-kpi::after{
  content:''; position:absolute; inset:auto -30% -60% auto; width:150px; height:150px;
  border-radius:9999px; pointer-events:none; opacity:.35;
  background:radial-gradient(closest-side, rgb(var(--accent-rgb) / .55), transparent 70%);
  transition:opacity .35s ease, transform .45s ease;
}
.dash-kpi:hover::after{ opacity:.7; transform:translate(-8px,-8px); }
.dash-kpi-value{ font-variant-numeric:tabular-nums; }
.dash-kpi-value.is-pop{ animation:cifraLate .5s cubic-bezier(.2,.7,.2,1); }
@keyframes cifraLate{ 0%{ transform:translateY(6px) scale(.96); opacity:.5 } 100%{ transform:none; opacity:1 } }

.panel{ transition:border-color .3s ease, box-shadow .35s ease; }
.panel:hover{ border-color:rgb(var(--accent-rgb) / .28); box-shadow:0 26px 60px -44px rgb(var(--accent-rgb) / .9); }

.tbl tbody tr{ animation:filaEntra .38s ease both; animation-delay:calc(var(--i, 0) * 26ms); }
@keyframes filaEntra{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
.tbl tbody tr{ transition:background .25s ease; }

.pill-ok{ animation:pillLate 3.4s ease-in-out infinite; }
@keyframes pillLate{ 0%,100%{ box-shadow:0 0 0 0 rgba(16,185,129,.35) } 50%{ box-shadow:0 0 0 5px rgba(16,185,129,0) } }

.chip-copiado{ animation:flashOk 1s ease-out; }

#toast{ z-index:100; }
#toast .toast-caja{
  border-radius:1rem; overflow:hidden;
  animation:toastEntra .38s cubic-bezier(.2,.7,.2,1);
}
@keyframes toastEntra{ from{ transform:translateY(14px) scale(.97); opacity:0 } to{ transform:none; opacity:1 } }
#toast .toast-barra{
  height:2px; width:100%; transform-origin:left;
  background:linear-gradient(90deg, var(--blue), var(--violet));
}
#toast.toast-show .toast-barra{ animation:toastBarra 2.2s linear forwards; }
@keyframes toastBarra{ from{ transform:scaleX(1) } to{ transform:scaleX(0) } }
#toast.is-err .toast-barra{ background:linear-gradient(90deg, #F43F5E, #FB7185); }

.mnav{
  display:none; position:fixed; inset:auto 0 0 0; z-index:75;
  align-items:center; justify-content:space-around; gap:.15rem;
  padding:.45rem .4rem calc(.45rem + env(safe-area-inset-bottom, 0px));
  border-top:1px solid rgb(var(--line-rgb) / .1);
  background:rgb(var(--ink-rgb) / .9); backdrop-filter:blur(14px) saturate(140%);
}
.mnav-btn{
  display:flex; flex-direction:column; align-items:center; gap:.15rem;
  flex:1; border-radius:.75rem; padding:.4rem .2rem;
  font-size:9.5px; font-weight:600; color:rgb(var(--text-rgb) / .5);
  transition:color .25s ease, background .25s ease, transform .25s ease;
}
.mnav-btn:hover{ color:rgb(var(--text-rgb)); }
.mnav-btn.is-active{
  color:rgb(var(--accent-text-rgb));
  background:rgb(var(--accent-rgb) / .12);
}
.mnav-btn.is-active i{ transform:translateY(-1px) scale(1.08); }
.mnav-btn i{ transition:transform .3s cubic-bezier(.2,.7,.2,1); }

@media (max-width:900px){
  .dash-side .dash-nav{ display:none; }
  .dash-shell{ grid-template-columns:minmax(0,1fr); }
  .dash-side{ min-width:0; flex-wrap:wrap; }
  .dash-side-foot{ display:flex; margin:0; padding:0; }
  .dash-main{ padding-bottom:5.6rem; }
  .mnav{ display:flex; }
  .dash-top-tools{ width:100%; }
  .dash-search{ flex:1 1 100%; justify-content:center; }
  .dash-quick{ flex:1 1 auto; }
  .dash-top-tools .badge{ flex:1 1 100%; justify-content:center; }
  .dash-main .tbl{ min-width:540px; }
}

.cmd{
  position:fixed; inset:0; z-index:96; display:none;
  padding:12vh 1rem 1rem; background:rgb(0 0 0 / .55);
  backdrop-filter:blur(6px);
}
.cmd.is-open{ display:block; animation:cmdFondo .22s ease; }
@keyframes cmdFondo{ from{ opacity:0 } to{ opacity:1 } }
.cmd-caja{
  width:min(100%, 620px); margin:0 auto; border-radius:1.1rem; overflow:hidden;
  border:1px solid rgb(var(--line-rgb) / .14); background:rgb(var(--ink2-rgb) / .98);
  box-shadow:0 50px 110px -50px rgb(0 0 0 / .95);
  animation:cmdEntra .28s cubic-bezier(.2,.7,.2,1);
}
@keyframes cmdEntra{ from{ transform:translateY(-12px) scale(.98); opacity:0 } to{ transform:none; opacity:1 } }
.cmd-campo{
  display:flex; align-items:center; gap:.6rem; padding:.8rem 1rem;
  border-bottom:1px solid rgb(var(--line-rgb) / .1);
}
.cmd-campo input{
  width:100%; background:transparent; outline:none;
  font-size:14px; color:rgb(var(--text-rgb));
}
.cmd-campo input::placeholder{ color:rgb(var(--text-rgb) / .35); }
.cmd-lista{ max-height:min(52vh, 420px); overflow-y:auto; padding:.4rem; }
.cmd-grupo{
  padding:.5rem .6rem .25rem; font-size:10px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:rgb(var(--text-rgb) / .38);
}
.cmd-item{
  display:flex; align-items:center; gap:.65rem; width:100%; text-align:left;
  border-radius:.7rem; padding:.55rem .65rem;
  font-size:13px; font-weight:500; color:rgb(var(--text-rgb) / .8);
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.cmd-item:hover{ background:rgb(var(--line-rgb) / .05); color:rgb(var(--text-rgb)); }
.cmd-item.is-sel{
  background:rgb(var(--accent-rgb) / .14); color:rgb(var(--text-rgb));
  transform:translateX(3px);
}
.cmd-item .cmd-atajo{ margin-left:auto; font-size:10px; opacity:.6; }
.cmd-vacio{ padding:1.4rem; text-align:center; font-size:12.5px; color:rgb(var(--text-rgb) / .5); }
.cmd-pie{
  display:flex; flex-wrap:wrap; gap:.8rem; align-items:center;
  padding:.5rem .9rem; border-top:1px solid rgb(var(--line-rgb) / .1);
  font-size:10.5px; color:rgb(var(--text-rgb) / .45);
}
.cmd-pie span{ display:inline-flex; align-items:center; gap:.3rem; }

body.light .hero-orbs span{ opacity:.28; }
body.light .mnav{ background:rgb(255 255 255 / .92); border-top-color:rgb(0 0 0 / .08); }
body.light .cmd-caja{ background:rgb(255 255 255 / .99); box-shadow:0 50px 110px -60px rgb(0 0 0 / .45); }
body.light .cmd{ background:rgb(24 24 27 / .35); }
body.light kbd{ background:rgb(0 0 0 / .05); }
body.light #toast .glass{ background:rgb(255 255 255 / .95); }
body.light .dash-search{ background:rgb(0 0 0 / .035); }
body.light .dash-kpi::after{ opacity:.2; }
body.light .ripple-onda{ background:rgb(var(--accent-rgb) / .2); }

#mgrModal.is-open .mgr-card{ animation:mgrEntra .28s cubic-bezier(.2,.7,.2,1) both; }
@keyframes mgrEntra{
  from{ opacity:0; transform:translateY(14px) scale(.985); }
  to  { opacity:1; transform:none; }
}

@media (prefers-reduced-motion: reduce){
  .scroll-progress span,
  .hero-orbs span,
  .fx-orbes span,
  .fx-malla,
  .fx-haces,
  .fx-barrido,
  .fx-emblema,
  .fx-puntos span,
  .fx-scan,
  .fx-carga span,
  .auth-mock *,
  .auth-show-tags li,
  .ripple-onda,
  #toast .toast-barra,
  #toast .toast-caja,
  .tilt{ animation:none !important; }
  .scroll-progress span{ transition:none; }
  .auth-in, .auth-show-frame, .dash-tabpanel.is-active > *, .tbl tbody tr,
  #mgrModal.is-open .mgr-card{ animation:none !important; }
  .fx-carga span{ width:100%; opacity:.35; }
  .pill-ok{ animation:none; }
}
