/* Cuadro de mandos y páginas de grupo: tarjetas bajo la barra superior común (nav.js). */
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; margin: 0; background: #f5f6f8; color: #111827; }
main.cuadro { max-width: 1240px; margin: 0 auto; padding: 22px 22px 56px; }
main.cuadro h2.pagina { font-size: 22px; margin: 0 0 4px; }
main.cuadro p.sub { color: #6b7280; margin: 0 0 20px; font-size: 14px; }
.contexto { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.contexto .chip { background: #e0f2fe; color: #075985; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 600; }
.contexto .chip.gris { background: #e5e7eb; color: #374151; }
.bloque { margin-bottom: 28px; }
.bloque h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; margin: 0 0 10px; }
.grid-tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tarjeta { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 16px 14px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; display: flex; flex-direction: column; }
.tarjeta:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-2px); border-color: #38bdf8; }
.tarjeta .icono { font-size: 28px; margin-bottom: 6px; }
.tarjeta .titulo { font-size: 15px; font-weight: 600; }
.tarjeta .desc { font-size: 12.5px; color: #6b7280; margin-top: 4px; line-height: 1.4; }
.tarjeta .atajos { margin-top: 10px; padding-top: 8px; border-top: 1px solid #f3f4f6; font-size: 12px; color: #0369a1; line-height: 1.7; }
.tarjeta .atajos span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.migas { font-size: 13px; margin-bottom: 14px; } .migas a { color: #0369a1; text-decoration: none; }
.vacio { color: #6b7280; background: #fff; border: 1px dashed #d1d5db; border-radius: 10px; padding: 20px; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 20px; }
.kpi { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 14px; }
.kpi b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; } .kpi span { font-size: 12px; color: #6b7280; }
.dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 18px; }
.scroll { overflow-x: auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.tab { width: 100%; border-collapse: collapse; font-size: 13px; } .tab th { text-align: left; font-size: 11.5px; color: #6b7280; padding: 8px 10px; border-bottom: 1px solid #e5e7eb; } .tab td { padding: 7px 10px; border-bottom: 1px solid #f3f4f6; } .tab a { color: #0369a1; text-decoration: none; }
#resumen { margin-bottom: 8px; }
@media (max-width: 700px) { main.cuadro { padding: 14px 14px 40px; } }
