* { box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}
.container {
  padding: 40px 20px;
  max-width: 500px;
  width: 100%;
  text-align: center;
}
h2 {
  margin-bottom: 30px;
}
.grid {
  display: grid;
  grid-template-columns: 60px 10px 80px 10px 70px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 18px;
}
.grid span {
  text-align: center;
}
input[type="number"] {
  width: 80px;
  font-size: 16px;
  text-align: center;
  border: none;
  border-bottom: 1px solid #999;
  background: transparent;
  outline: none;
  padding: 4px 0;
  margin: 0;
}
.totals {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.6;
}
