body {
  margin: 0;
  padding: 40px 20px;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  background: #ffffff;
  color: #1f1d1a;
}

#page1,
#page2,
#page3,
#page4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hidden {
  display: none !important;
}

img {
  max-width: 280px;
  width: 100%;
}

.button-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

button {
  font-family: inherit;
  font-size: 16px;
  padding: 10px 24px;
  border: 1.5px solid #1f1d1a;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.portion {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.portion-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

input[type="text"] {
  font-family: inherit;
  font-size: 16px;
  padding: 10px 14px;
  border: 1.5px solid #1f1d1a;
  border-radius: 8px;
  width: 280px;
}

.option-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.option-section h2 {
  margin: 0;
  font-size: 18px;
}

.options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.option.selected {
  background: #1f1d1a;
  color: #ffffff;
}

.option {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-name {
  font-weight: bold;
}

.option-meta {
  font-size: 12px;
}

.macro-total {
  font-weight: bold;
}
