/* Mini 4 — compacto y redondeado. Mantiene Mini 1 como referencia. */
@import url('mini-1.css?v=20261010-1');

.app-shell { --sidebar: 215px; --radius: 12px; }
.app-shell .sidebar { padding:20px 12px 15px; }
.app-shell .sidebar>.wordmark { margin:0 10px 18px; font-size:23px !important; }
.app-shell .sidebar .brand-mark { width:30px; height:30px; flex-basis:30px; border-radius:9px; font-size:18px; }
.app-shell .sidebar .nav-caption { margin:13px 11px 6px; font-size:.59rem; }
.app-shell .sidebar nav { gap:2px; }
.app-shell .sidebar nav a,
.app-shell .sidebar nav .nav-group-toggle,
.app-shell .sidebar nav .settings-toggle { min-height:37px; padding:7px 11px; border-radius:9px; font-size:.76rem; }
.app-shell .sidebar nav a svg,
.app-shell .sidebar nav .nav-group-toggle svg,
.app-shell .sidebar nav .settings-toggle svg { width:17px; height:17px; }
.app-shell .sidebar nav .nav-subnav a { min-height:32px; font-size:.71rem; }
.app-shell .sidebar nav .nav-group-toggle {
  background:#f1f5f9;
  color:#334155;
  font-weight:700;
}
.app-shell .sidebar nav .nav-group-toggle svg { color:#ea580c; }
.app-shell .sidebar nav .nav-group-toggle:hover,
.app-shell .sidebar nav .nav-group-toggle[aria-expanded="true"] {
  background:#fff0e3;
  color:#9a3412;
}
.app-shell .sidebar nav .nav-subnav { border-left:2px solid #fdba74; }
.app-shell .topbar { height:60px; padding:0 23px; }
.app-shell .topbar #page-title { font-size:.82rem; }
.app-shell .content { padding:79px 22px 32px; }
.app-shell .page-head { margin-bottom:15px; }
.app-shell .page-head h1 { font-size:clamp(1.4rem,2vw,1.75rem); letter-spacing:-.6px; }
.app-shell .page-head p { font-size:.77rem; margin-top:4px; }
.app-shell .btn { min-height:37px; padding:0 13px; border-radius:10px; font-size:.76rem; }
.app-shell .btn.small { min-height:30px; padding:0 10px; border-radius:8px; font-size:.69rem; }
.app-shell .card,
.app-shell .table-wrap,
.app-shell .dash-hero,
.app-shell .dash-kpi { border-radius:12px; box-shadow:0 2px 8px rgba(15,23,42,.045); }
.app-shell .card { padding:16px; }
.app-shell .card h2 { font-size:.89rem; margin-bottom:11px; }
.app-shell .stats,
.app-shell .dash-kpis { gap:10px; margin-bottom:14px; }
.app-shell .stat,
.app-shell .dash-kpi { min-height:84px; padding:12px 14px; }
.app-shell .stat strong,
.app-shell .dash-kpi strong { font-size:clamp(1.1rem,1.7vw,1.5rem); margin-top:5px; }
.app-shell .stat span,
.app-shell .dash-kpi span { font-size:.7rem; }
.app-shell .dash-hero { padding:17px 20px; margin-bottom:12px; }
.app-shell .dash-hero h1 { font-size:1.45rem; }
.app-shell .dash-hero p { font-size:.75rem; }
.app-shell .dash-layout { gap:11px; }
.app-shell th { padding:10px 12px; font-size:.65rem; }
.app-shell td { padding:11px 12px; font-size:.75rem; }
.app-shell .badge { padding:4px 8px; border-radius:999px; font-size:.63rem; }
.app-shell input,
.app-shell select,
.app-shell textarea { min-height:38px; border-radius:9px; padding:7px 10px; }
.app-shell label { font-size:.74rem; }
.modal-card { border-radius:13px; padding:20px; }
@media (max-width:760px) {
  .app-shell .topbar { height:calc(56px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) 11px 0; }
  .app-shell .sidebar { top:calc(56px + env(safe-area-inset-top)); }
  .app-shell .content { padding:calc(70px + env(safe-area-inset-top)) 10px calc(83px + env(safe-area-inset-bottom)); }
  .app-shell .page-head h1 { font-size:1.35rem; }
  .app-shell .card { padding:13px; }
  .app-shell .dash-hero { padding:14px; }
  .app-shell .dash-hero h1 { font-size:1.3rem; }
  .app-shell .dash-kpi { min-height:82px; padding:11px; }
  .app-shell .bottom-nav a { border-radius:9px; padding:6px 2px; }
  .app-shell input,
  .app-shell select,
  .app-shell textarea { min-height:44px; font-size:16px; }
}
