.sheet * {
  box-sizing: border-box;
}
.sheet {
  font-family: "Georgia", serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #f5e6d3;
}
.sheet {
  background: white;
  padding: 40px;
  border: 4px solid #654321;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.sheet h1 {
  text-align: center;
  color: #654321;
  border-bottom: 3px solid #654321;
  padding-bottom: 10px;
  margin-bottom: 30px;
}
.sheet h2 {
  color: #654321;
  margin-top: 25px;
  margin-bottom: 12px;
  border-bottom: 2px solid #8b6914;
  padding-bottom: 5px;
}
.sheet .row {
  display: grid;
  gap: 15px;
  margin-bottom: 15px;
}
.sheet .row-2 {
  grid-template-columns: 1fr 1fr;
}
.sheet .row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.sheet .row-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.sheet label {
  font-weight: bold;
  color: #654321;
  display: block;
  margin-bottom: 3px;
  font-size: 0.9em;
}
.sheet input[type="text"],
.sheet input[type="number"],
.sheet textarea {
  width: 100%;
  height: auto;
  padding: 5px;
  border: none;
  border-bottom: 2px solid #654321;
  background: transparent;
  font-family: inherit;
}
.sheet input[type="text"]:focus,
.sheet input[type="number"]:focus,
.sheet textarea:focus {
  outline: none;
  border-bottom-color: #8b6914;
  background: #fffef8;
}
.sheet textarea {
  border: 1px solid #654321;
  min-height: 60px;
  resize: vertical;
  padding: 8px;
}
.sheet .stress-boxes {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.sheet .stress-box {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.1em;
}
.sheet input[type="checkbox"] {
  width: 4vh;
  height: 4vh;
  cursor: pointer;
}
.sheet .buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #654321;
}
.sheet button {
  padding: 10px 20px;
  border: 2px solid #654321;
  background: #f5e6d3;
  color: #654321;
  font-weight: bold;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9em;
}
.sheet button:hover {
  background: #654321;
  color: white;
}
.sheet .inventory-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 8px;
  align-items: start;
}
.inventory-item input {
  margin-bottom: 0;
}
.remove-btn {
  padding: 5px 12px;
  font-size: 0.8em;
  background: #dc3545;
  border-color: #dc3545;
  color: white;
}
.remove-btn:hover {
  background: #c82333;
  border-color: #bd2130;
}
.add-btn {
  padding: 8px 16px;
  margin-top: 10px;
  background: #28a745;
  border-color: #28a745;
  color: white;
}
.add-btn:hover {
  background: #218838;
  border-color: #1e7e34;
}
.section {
  background: #faf9f5;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.notes-area {
  margin-top: 10px;
}
.notes-area textarea {
  min-height: 300px;
}
@media print {
  .buttons,
  .add-btn,
  .remove-btn {
    display: none;
  }
  body {
    background: white;
  }
  .sheet {
    border: 2px solid #654321;
  }
}
