.ubp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:16px;
}
.card{
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 5px 12px rgba(0,0,0,.08);
}
.btn-track{
  margin-top:10px;
  background:#16a34a;
  color:#fff;
  border:none;
  padding:6px 12px;
  border-radius:6px;
}


:root{
  --green:#059669;
  --green-soft:#ecfdf5;
}

.ubp-wrap{
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
  background:#f6fdf9;
}

.ubp-header{
  background:linear-gradient(135deg,#059669,#10b981);
  color:#fff;
  border-radius:16px;
  padding:24px;
  margin-bottom:24px;
}

.ubp-kpis{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin-top:16px;
}

.kpi{
  background:#fff;
  border-radius:14px;
  padding:14px;
  display:flex;
  align-items:center;
  gap:12px;
}

.kpi b{font-size:20px}

.ubp-filters{
  background:#fff;
  border-radius:14px;
  padding:14px;
  display:flex;
  gap:12px;
  margin-bottom:20px;
}

.ubp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px;
}

.ubp-card{
  background:#fff;
  border-radius:14px;
  padding:14px;
  box-shadow:0 4px 10px rgba(0,0,0,.05);
  border-top:4px solid #ef4444;
}

.badge{
  display:inline-block;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  margin-right:4px;
}
.badge.green{background:#dcfce7;color:#166534}
.badge.blue{background:#dbeafe;color:#1e40af}
.badge.orange{background:#ffedd5;color:#9a3412}

.timeline{
  display:flex;
  justify-content:space-between;
  margin:10px 0;
}
.dot{
  width:10px;height:10px;border-radius:50%;
  background:#e5e7eb;
}
.dot.active{background:var(--green)}

.btn{
  background:var(--green);
  color:#fff;
  border:none;
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
}

/* MODAL */
.ubp-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.ubp-modal-box{
  background:#fff;
  width:100%;
  max-width:420px;
  border-radius:16px;
  padding:16px;
}
.ubp-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.ubp-modal-head button{
  border:none;background:none;font-size:18px;cursor:pointer;
}

/* TIMELINE */
.ubp-timeline{
  display:flex;
  justify-content:space-between;
  margin:16px 0;
}
.ubp-step{
  text-align:center;
  cursor:pointer;
  font-size:12px;
}
.ubp-step .circle{
  width:14px;height:14px;
  border-radius:50%;
  background:#e5e7eb;
  margin:0 auto 6px;
}
.ubp-step.active .circle{
  background:#16a34a;
}
.ubp-step.active span{
  color:#16a34a;
  font-weight:600;
}