:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: rgba(17,24,39,.10);
}

html, body { height: 100%; }
body{
  background: var(--bg);
  color: var(--text);
  padding-bottom: 70px;
}

.navbar{
  box-shadow: 0 10px 25px rgba(17,24,39,.06);
}

.container-app{
  max-width: 1180px;
}

.page-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.page-header h1, .page-header h2{
  letter-spacing: -0.02em;
}

.card{
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(17,24,39,.05);
}

.card .card-header{
  background: rgba(255,255,255,.65);
  border-bottom: 1px solid var(--border);
}

.table{
  margin-bottom: 0;
}

.table thead th{
  background: rgba(255,255,255,.75);
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}

.table td, .table th{
  vertical-align: middle;
}

.badge-soft{
  background: rgba(17,24,39,.06);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 600;
}

.kpi{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.kpi .kpi-box{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 160px;
}
.kpi .kpi-label{
  color: var(--muted);
  font-size: 12px;
}
.kpi .kpi-value{
  font-weight: 700;
  font-size: 16px;
}

.btn{
  border-radius: 10px;
}

.form-control, .form-select{
  border-radius: 10px;
}

.small-muted{
  color: var(--muted);
  font-size: 12px;
}

.mono { font-variant-numeric: tabular-nums; }
