.header{position:relative;
  overflow:visible;
}
*{box-sizing:border-box;margin:0;padding:0}
  body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    min-height:100vh;
    background:linear-gradient(135deg,#0f172a 0%,#020617 55%);
    color:#e5e7eb;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
  }
  .shell{
    width:100%;
    max-width:960px;
    background:radial-gradient(circle at top,#111827 0,#020617 55%);
    border-radius:20px;
    border:1px solid rgba(148,163,184,.35);
    box-shadow:0 24px 60px rgba(15,23,42,.9);
    padding:20px 22px 18px;
  }
  .shell-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:16px;
  }
  .shell-title{
    font-size:18px;
    font-weight:600;
    letter-spacing:.02em;
  }
  .shell-subtitle{
    font-size:12px;
    opacity:.7;
    margin-top:2px;
  }
  .shell-actions{
    display:flex;
    gap:8px;
  }
  .btn-small{
    font-size:12px;
    padding:6px 10px;
    border-radius:999px;
    border:1px solid rgba(148,163,184,.5);
    background:rgba(15,23,42,.9);
    color:#e5e7eb;
    cursor:pointer;
    text-decoration:none;
  }
  .btn-small:hover{
    border-color:#60a5fa;
    color:#bfdbfe;
  }
  .grid{
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(0,3fr);
    gap:18px;
  }
  .card{
    background:rgba(15,23,42,.92);
    border-radius:16px;
    border:1px solid rgba(51,65,85,.9);
    padding:16px 16px 14px;
    box-shadow:0 16px 40px rgba(15,23,42,.8);
  }
  .card h2{
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#9ca3af;
    margin-bottom:10px;
  }
  .card p{
    font-size:13px;
    color:#9ca3af;
    margin-bottom:10px;
  }
  .backup-row{
    display:flex;
    flex-direction:column;
    gap:10px;
  }
  .btn-primary{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:9px 14px;
    border:none;
    font-size:13px;
    cursor:pointer;
    background:linear-gradient(135deg,#3b82f6,#22c55e);
    color:#f9fafb;
    box-shadow:0 12px 30px rgba(34,197,94,.35);
  }
  .btn-primary span.icon{
    font-size:14px;
  }
  .btn-primary:hover{
    box-shadow:0 16px 40px rgba(59,130,246,.55);
    transform:translateY(-1px);
  }
  .hint{
    font-size:11px;
    color:#6b7280;
  }
  .log{
    margin-top:12px;
    font-size:12px;
    max-height:140px;
    overflow:auto;
    background:rgba(15,23,42,.95);
    border-radius:10px;
    padding:10px 12px;
    border:1px dashed rgba(75,85,99,.9);
  }
  @media(max-width:768px){
    body{padding:12px;}
    .shell{padding:16px 14px;}
    .grid{grid-template-columns:minmax(0,1fr);}
  }

  .btn-secondary{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:9px 14px;
    border:1px solid rgba(148,163,184,.5);
    background:transparent;
    color:#e5e7eb;
    font-size:13px;
    cursor:pointer;
    text-decoration:none;
  }
  .btn-secondary:hover{
    border-color:#60a5fa;
    color:#bfdbfe;
  }

.header{position:relative;}
/* Hover tipo Dashboard (global en páginas index*) */
button:not(:disabled):not(.no-hover),
.btn:not(:disabled):not(.no-hover),
a.btn:not(.no-hover),
.navbar a:not(.no-hover),
.navbar button:not(:disabled):not(.no-hover),
.menu a:not(.no-hover),
.menu button:not(:disabled):not(.no-hover),
.topbar a:not(.no-hover),
.topbar button:not(:disabled):not(.no-hover),
nav a:not(.no-hover),
nav button:not(:disabled):not(.no-hover),
.tabs a:not(.no-hover),
.tabs button:not(:disabled):not(.no-hover),
.tab:not(.no-hover),
.nav-item:not(.no-hover),
.nav-link:not(.no-hover){
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}

button:not(:disabled):not(.no-hover):hover,
.btn:not(:disabled):not(.no-hover):hover,
a.btn:not(.no-hover):hover,
.navbar a:not(.no-hover):hover,
.navbar button:not(:disabled):not(.no-hover):hover,
.menu a:not(.no-hover):hover,
.menu button:not(:disabled):not(.no-hover):hover,
.topbar a:not(.no-hover):hover,
.topbar button:not(:disabled):not(.no-hover):hover,
nav a:not(.no-hover):hover,
nav button:not(:disabled):not(.no-hover):hover,
.tabs a:not(.no-hover):hover,
.tabs button:not(:disabled):not(.no-hover):hover,
.tab:not(.no-hover):hover,
.nav-item:not(.no-hover):hover,
.nav-link:not(.no-hover):hover{
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,.25) !important;
}

/* === Fix: evitar que los dropdowns (Personal/Estadísticas) se desplacen al perder hover === */
.tabs details.dropdown > summary.tab,
.tabs details.dropdown > summary.tab:hover{
  transform: none !important;
  box-shadow: none !important;
}