//* ================================================================ */
/* BASE.CSS — Variables, reset y estilos compartidos                */
/* Aplica a todas las plataformas.                                  */
/* Móvil: ver mobile.css   |   Escritorio/tablet: ver desktop.css   */
/* ================================================================ */

:root {
  --bg:#f8f9fb;--surface:#fff;--surface-2:#f1f3f7;--text:#111827;--text-2:#6b7280;--text-3:#9ca3af;
  --primary:#1a56db;--primary-light:#e8effc;--accent:#0891b2;
  --success:#059669;--success-light:#d1fae5;--warning:#d97706;--warning-light:#fef3c7;
  --danger:#dc2626;--danger-light:#fee2e2;--border:#e5e7eb;
  --radius:12px;--shadow:0 1px 3px rgba(0,0,0,0.06);--shadow-lg:0 8px 20px rgba(0,0,0,0.08);
  /* Zona segura (notch / barra inferior en móviles) */
  --safe-top:env(safe-area-inset-top,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Plus Jakarta Sans',sans-serif;background:var(--bg);color:var(--text);min-height:100vh;min-height:100dvh}

/* LOGIN */
.login-page{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e3a5f,#1a56db);position:relative;overflow:hidden;padding:24px}
.login-page::before{content:'';position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(8,145,178,0.15),transparent 70%);top:-200px;right:-200px}
.login-card{background:rgba(255,255,255,0.05);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,0.1);border-radius:20px;padding:44px 36px;width:400px;max-width:90vw;position:relative;z-index:1}
.login-logo{text-align:center;margin-bottom:28px}
.login-logo h1{font-size:30px;font-weight:800;color:white;letter-spacing:-1px}
.login-logo p{color:rgba(255,255,255,0.6);font-size:13px;margin-top:4px}
.login-field{margin-bottom:14px}
.login-field label{display:block;color:rgba(255,255,255,0.7);font-size:12px;font-weight:600;margin-bottom:5px}
.login-field input{width:100%;padding:12px 14px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);border-radius:10px;color:white;font-size:16px;font-family:inherit;outline:none;transition:all 0.2s}
.login-field input::placeholder{color:rgba(255,255,255,0.3)}
.login-field input:focus{border-color:var(--accent);background:rgba(255,255,255,0.12)}
.login-btn{width:100%;padding:14px;background:linear-gradient(135deg,var(--primary),var(--accent));color:white;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;transition:all 0.3s;margin-top:6px;font-family:inherit}
.login-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(26,86,219,0.4)}
.login-btn:disabled{opacity:0.6;cursor:not-allowed;transform:none}
.login-error{color:#fca5a5;font-size:12px;text-align:center;margin-top:10px;display:none}
.login-info{color:rgba(255,255,255,0.4);font-size:11px;text-align:center;margin-top:14px}

/* APP */
.app{display:none}.app.active{display:block}

.app-header{
  background:var(--surface);
  border-bottom:1px solid var(--border);
  padding:calc(10px + var(--safe-top)) 20px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:100;
}
.app-logo{font-size:16px;font-weight:800;color:var(--primary);margin:0}
.header-right,.header-actions{display:flex;align-items:center;gap:10px}

.theme-toggle{width:32px;height:32px;border-radius:8px;border:1px solid var(--border);background:var(--surface-2);cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center}
.theme-toggle:hover{background:var(--primary-light)}

.user-menu-wrap{position:relative}
.user-menu-arrow{font-size:9px;opacity:.7}

.app-header-user{display:flex;align-items:center;gap:8px;padding:4px 10px;border-radius:12px;background:var(--surface-2);font-size:12px;color:var(--text-2);border:none;cursor:pointer;font-family:inherit}
.app-header-avatar{width:28px;height:28px;border-radius:50%;background:var(--primary);color:white;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}

.logout-btn{background:none;border:none;color:var(--danger);cursor:pointer;font-size:12px;font-weight:700;font-family:inherit;padding:6px 8px;border-radius:8px}
.logout-btn:hover{background:var(--danger-light)}

.user-dropdown{position:absolute;top:42px;right:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-lg);padding:6px;display:none;flex-direction:column;min-width:190px;z-index:200}
.user-dropdown.show{display:flex}
.user-dropdown-item{width:100%;border:none;background:none;padding:9px 10px;font-size:12px;font-weight:600;text-align:left;border-radius:8px;cursor:pointer;font-family:inherit;color:var(--text)}
.user-dropdown-item:hover{background:var(--surface-2)}
.user-dropdown-item.logout{color:var(--danger)}

/* PAGES */
.page{display:none}.page.active{display:block;animation:fadeIn 0.25s ease}
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* SCROLLABLE SECTIONS — altura definida por mobile.css / desktop.css */
.scroll-section{overflow-y:auto;padding-right:4px}
.scroll-section::-webkit-scrollbar{width:4px}
.scroll-section::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}

/* NAV INFERIOR — visible por defecto; desktop.css la oculta en escritorio */
.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:var(--surface);border-top:1px solid var(--border);display:flex;justify-content:space-around;padding:6px 0 calc(10px + var(--safe-bottom));z-index:100}
.nav-item{display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;padding:4px 10px;border-radius:8px;transition:all 0.2s}
.nav-item:hover{background:var(--surface-2)}
.nav-item.active .nav-icon,.nav-item.active .nav-label{color:var(--primary)}
.nav-item.active .nav-label{font-weight:700}
.nav-icon{font-size:18px;color:var(--text-3)}.nav-label{font-size:9px;color:var(--text-3);font-weight:600}

/* CARDS */
.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;margin-bottom:10px}
.card-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:10px;display:flex;align-items:center;gap:6px}
.card-link{font-size:11px;color:var(--primary);text-decoration:none;font-weight:600;margin-left:auto;cursor:pointer}

/* PROFILE */
.profile-card{background:linear-gradient(135deg,#0f172a,#1e3a5f 70%,#1a56db);border-radius:var(--radius);padding:18px 16px;color:white;margin-bottom:10px;box-shadow:0 4px 16px rgba(26,86,219,0.2)}
.profile-row{display:flex;align-items:center;gap:14px}
.profile-avatar{width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,0.15);border:2px solid rgba(255,255,255,0.25);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;flex-shrink:0}
.profile-name{font-size:16px;font-weight:800}
.profile-cargo{font-size:11px;opacity:0.75;margin-top:1px}
.profile-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,0.12)}
.profile-meta-item{font-size:11px;opacity:0.8;display:flex;align-items:center;gap:4px}

/* STATS — columnas definidas por mobile.css / desktop.css */
.stats-grid{display:grid;gap:8px;margin-bottom:10px}
.stat-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px;text-align:center;cursor:pointer;transition:all 0.2s}
.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.stat-label{font-size:10px;font-weight:600;color:var(--text-3);text-transform:uppercase;margin-bottom:4px;letter-spacing:0.5px}
.stat-value{font-size:28px;font-weight:800;color:var(--text)}

/* PROGRESS */
.progress-row{display:flex;align-items:center;gap:8px;margin-bottom:7px}
.progress-label{font-size:11px;color:var(--text);font-weight:500;min-width:90px}
.progress-bar{flex:1;position:relative;background:var(--surface-2);border-radius:3px;height:8px}
.progress-fill{height:100%;border-radius:3px;transition:width 0.5s ease}
.progress-meta{position:absolute;left:90%;top:0;width:1.5px;height:100%;background:var(--text)}
.progress-value{font-size:11px;font-weight:700;min-width:35px;text-align:right}

/* ANOTACIONES */
.anot-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--surface-2)}
.anot-fecha{font-size:11px;color:var(--text-3);min-width:65px}
.anot-badge{font-size:10px;padding:2px 8px;border-radius:6px;font-weight:600}
.anot-positiva{background:var(--success-light);color:var(--success)}
.anot-negativa{background:var(--danger-light);color:var(--danger)}
.anot-filter{padding:6px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}
.anot-filter.active{background:var(--primary);color:white;border-color:var(--primary)}

/* TOGGLE BUTTONS */
.hist-toggle{display:flex;gap:6px;margin-bottom:10px}
.hist-toggle-btn{padding:7px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text-2);font-size:12px;font-weight:600;cursor:pointer;font-family:inherit}
.hist-toggle-btn.active{background:var(--primary);color:white;border-color:var(--primary)}

/* MODAL */
.modal-clave-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.55);display:none;align-items:center;justify-content:center;z-index:500}
.modal-clave-backdrop.show{display:flex}
.modal-clave-box{background:var(--surface);border-radius:14px;padding:22px;width:340px;max-width:90vw;box-shadow:var(--shadow-lg)}
.modal-clave-box h3{font-size:18px;margin-bottom:12px}
.modal-clave-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.modal-btn{padding:8px 12px;border-radius:8px;border:none;cursor:pointer;font-size:12px;font-weight:700}
.modal-btn.secondary{background:var(--surface-2);color:var(--text)}
.modal-btn.primary{background:var(--primary);color:white}

/* DARK MODE */
body.dark-mode{--bg:#0f1117;--surface:#1a1d27;--surface-2:#252830;--text:#e4e4e7;--text-2:#9ca3af;--text-3:#6b7280;--border:#2d3039;--primary-light:#1e2a4a}
body.dark-mode .app-header,body.dark-mode .bottom-nav{background:#1a1d27;border-color:#2d3039}
body.dark-mode .stat-card,body.dark-mode .card{background:#1a1d27;box-shadow:0 1px 3px rgba(0,0,0,0.2)}
body.dark-mode .anot-filter,body.dark-mode .hist-toggle-btn{background:#1a1d27;border-color:#2d3039;color:#9ca3af}
body.dark-mode .anot-filter.active,body.dark-mode .hist-toggle-btn.active{background:var(--primary);color:white}
body.dark-mode .profile-card{box-shadow:0 4px 16px rgba(0,0,0,0.4)}

/* ========================================================= */
/* PANEL ADMIN · RADAR DE FLOTA E INGENIERO IA (global)      */
/* ========================================================= */
#mapa-radar-admin{width:100%;height:400px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);margin-bottom:12px;z-index:10}
.marcador-tren-admin{background:transparent;border:none}
.marcador-tren-admin div{transition:all 0.3s ease}
#preview-container{margin-top:12px;border:1px solid var(--border);border-radius:var(--radius);padding:10px;background:var(--surface);overflow-x:auto}
#excel-preview table{width:100%;border-collapse:collapse}
#mapeo-container{background:var(--surface-2);padding:12px;border-radius:var(--radius);margin-top:10px}
#mapeo-container select{width:100%;padding:8px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-family:inherit;font-size:12px;margin-bottom:4px}
#ai-output{background:#0f172a;color:#38bdf8;padding:12px;border-radius:8px;font-family:'JetBrains Mono','Courier New',monospace;font-size:11px;line-height:1.4;margin-top:12px;border-left:4px solid var(--accent);max-height:200px;overflow-y:auto;white-space:pre-wrap}
#status-subida,#status-envio{font-size:12px;font-weight:700;margin-top:8px;display:block}
#lista-alertas-admin{display:flex;flex-direction:column;gap:8px;margin-top:10px}
body.dark-mode .leaflet-tile{filter:brightness(0.6) invert(1) contrast(3) hue-rotate(200deg) saturate(0.3)}
body.dark-mode #preview-container{background:var(--surface-2)}

/* ESTRUCTURAS COMPLEMENTARIAS */
.glass-btn-sub,
.dash-card-desc {
  display: none;
}
.glass-btn-content {
  display: inline-block;
  text-align: left;
}
.glass-btn-title {
  display: inline;
}
.glass-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.back-to-start-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.back-to-start-btn:active {
  background: var(--border);
}

/* Sidebar oculta por defecto (móvil); desktop.css la muestra en escritorio */
.desk-sidebar{display:none}

/* ========================================================= */
/* ESTILOS PREMIUM FERROVIARIOS Y DE GAMIFICACIÓN            */
/* ========================================================= */

/* --- Animación de pulso de brillo para el KPI principal --- */
@keyframes kpiPulseGlow {
  0% {
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.15), 0 0 0 1px rgba(26, 86, 219, 0.2);
  }
  50% {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35), 0 0 14px rgba(59, 130, 246, 0.45);
    border-color: rgba(59, 130, 246, 0.5) !important;
  }
  100% {
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.15), 0 0 0 1px rgba(26, 86, 219, 0.2);
  }
}

.kpi-main-score-panel {
  background: linear-gradient(135deg, #091325 0%, #0d2342 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(26, 86, 219, 0.3) !important;
  animation: kpiPulseGlow 3s infinite ease-in-out;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.kpi-main-score-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45), 0 0 18px rgba(59, 130, 246, 0.5) !important;
}

body.dark-mode .kpi-main-score-panel {
  background: linear-gradient(135deg, #050b14 0%, #0a182e 100%) !important;
  border-color: rgba(59, 130, 246, 0.35) !important;
}

/* --- Brillo de texto de puntuación --- */
.kpi-score-glow-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #3b82f6 !important;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
  font-weight: 900 !important;
}

.kpi-score-glow-text.success-glow {
  color: #10b981 !important;
  text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.kpi-score-glow-text.warning-glow {
  color: #f59e0b !important;
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

/* --- Entrada animada de tarjetas --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUpAnim 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeInUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- Rankings Subgroups --- */
.ranking-subgroup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  margin-bottom: 5px;
  border: 1px solid var(--border);
  transition: transform 0.15s, background-color 0.15s;
}

body.dark-mode .ranking-subgroup-row {
  background: rgba(255, 255, 255, 0.03);
}

.ranking-subgroup-row:hover {
  transform: translateX(3px);
  background: var(--border);
}

.ranking-subgroup-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ranking-subgroup-tag.global {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.ranking-subgroup-tag.pt {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.ranking-subgroup-tag.full {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* ========================================================= */
/* NUEVAS CLASES EXTRAÍDAS DE DASHBOARD.JS (REFACTORIZACIÓN) */
/* ========================================================= */

/* --- Saludo --- */
.dash-greeting-container { margin-bottom: 8px; padding: 0 4px; }
.dash-greeting-text { font-size: 11px; color: var(--text-2); }
.dash-greeting-title { font-size: 18px; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -0.5px; }

/* --- Tarjeta de Perfil Móvil --- */
.profile-card-mobile { 
  margin-bottom: 12px; padding: 12px 16px; border-radius: 16px; 
  background: transparent;
  color: white; border: none; box-shadow: var(--shadow-md); 
  position: relative; overflow: hidden; 
}
.profile-card-mobile::before {
  content: ""; position: absolute; inset: 0;
  background: url('../img/sfe noche.jpeg') center / cover no-repeat;
  z-index: 0;
}
.profile-card-mobile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 35, 66, 0.95) 0%, rgba(8, 18, 37, 0.8) 50%, rgba(8, 18, 37, 0.4) 100%);
  z-index: 1;
}
.profile-card-mobile > * {
  position: relative; z-index: 2;
}
.profile-accent-svg { position: absolute; right: -8px; bottom: -10px; opacity: 0.12; pointer-events: none; width: 120px; height: 120px; }
.profile-info-mobile { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; text-align: left; position: relative; z-index: 2; }
.profile-avatar-mobile { 
  width: 40px; height: 40px; border-radius: 50%; 
  background: linear-gradient(135deg, #2563eb, #7c3aed); 
  border: 2px solid rgba(255,255,255,0.4); 
  display: flex; align-items: center; justify-content: center; 
  font-size: 15px; font-weight: 800; color: white; 
}
.profile-name-mobile { font-size: 14px; font-weight: 800; color: white; }
.profile-role-mobile { font-size: 10px; color: rgba(255,255,255,0.7); margin-top: 1px; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; font-size: 9.5px; color: rgba(255,255,255,0.75); position: relative; z-index: 2; }
.profile-tag { background: rgba(255,255,255,0.08); padding: 3px 6px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.05); }
.profile-actions { display: flex; gap: 8px; position: relative; z-index: 2; }

/* --- Tarjeta KPI Principal --- */
.kpi-main-score-panel { padding: 16px; border-radius: 16px; margin-bottom: 12px; }
.kpi-header { display: flex; justify-content: space-between; align-items: center; }
.kpi-title { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 1px; }
.kpi-subtitle { font-size: 10.5px; color: rgba(255,255,255,0.8); margin-top: 4px; font-weight: 700; letter-spacing: 0.3px; }
.kpi-feedback { font-size: 10px; color: rgba(255,255,255,0.65); margin-top: 2px; font-weight: 600; }
.kpi-chart-container { position: relative; width: 68px; height: 68px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.kpi-chart-icon { position: absolute; font-size: 14px; color: #10b981; display:flex; align-items:center; justify-content:center; top:50%; left:50%; transform:translate(-50%, -50%); }
.kpi-progress-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; position: relative; margin-top: 12px; }

/* --- Paneles de Métricas y Rankings --- */
.dash-metric-panel { 
  padding: 14px; 
  border-radius: 16px; 
  margin-bottom: 12px; 
  background: var(--surface); 
  border: 1px solid var(--border); 
}
.dash-metric-header { 
  font-size: 11px; 
  font-weight: 800; 
  color: var(--text-3); 
  text-transform: uppercase; 
  letter-spacing: 0.5px; 
  margin-bottom: 8px; 
}
.ranking-grid { display: flex; flex-direction: column; gap: 8px; }
.ranking-value { font-weight: 800; font-size: 13px; color: var(--text); }
.ranking-total { font-size: 9.5px; color: var(--text-3); font-weight: 600; }

/* --- Tarjetas TDV (Tiempo de Viajes) --- */
.tdv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.tdv-card { background: var(--surface-2); padding: 8px; border-radius: 10px; border: 1px solid var(--border); }
.tdv-title { font-size: 9px; font-weight: 800; color: var(--text-3); text-transform: uppercase; }
.tdv-val { font-size: 16px; font-weight: 900; margin-top: 4px; }
.tdv-val.primary { color: var(--primary); }
.tdv-val.warning { color: var(--warning); }
.tdv-val.success { color: var(--success); }
.tdv-subtitle { font-size: 8px; color: var(--text-3); margin-top: 1px; font-weight: 600; }

/* --- Lista de Objetivos Mensuales --- */
.obj-container { display: flex; flex-direction: column; gap: 10px; }
.obj-item { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--text-2); position: relative; min-height: 38px; }
.obj-checkbox { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: bold; flex-shrink: 0; transition: all 0.2s; border: 2px solid var(--border); background: transparent; color: transparent; }
.obj-checkbox.checked { border-color: var(--success); background: var(--success); color: white; }
.obj-text { flex: 1; padding-top: 2px; }
.obj-title { font-weight: 700; color: var(--text); }
.obj-title.checked { text-decoration: line-through; color: var(--text-3); font-weight: 600; }
.obj-desc { font-size: 9.5px; color: var(--text-3); margin-top: 1px; font-weight: 500; }
.obj-xp { font-size: 11px; font-weight: 800; white-space: nowrap; margin-left: 8px; padding-top: 2px; color: var(--primary); }
.obj-xp.checked { color: var(--success); }

/* --- Accesos Directos (Grilla 2x2) --- */
.shortcut-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.shortcut-box { padding: 12px; text-align: center; background: var(--surface); border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 95px; }
.shortcut-box-icon { font-size: 28px; margin-bottom: 4px; }
.shortcut-box-title { font-size: 12px; font-weight: 800; color: var(--text); }
.shortcut-box-desc { font-size: 9.5px; color: var(--text-3); margin-top: 1px; }