input {
  width: 60px;
  min-height: 28px;
}
table {
  width: 100%;
}
td {
  text-align: right;
  line-height: 28px;
}
td input {
  height: 26px;
  padding: 0 5px;
  line-height: 26px;
  min-width: 80px;
  min-height: 0;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-align: right;
  font-size: 16px;
  box-sizing: border-box;
}
