* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  background: #f4f4f4;
  color: #000;
}

.app {
  max-width: 480px;
  margin: auto;
  padding: 12px;
}

h1 {
  text-align: center;
  margin-bottom: 4px;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #555;
}

textarea {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 8px;
  margin: 10px 0;
}

.actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.actions button {
  flex: 1;
}

input[type=file] {
  flex: 1;
}

button {
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 14px;
}

.primary {
  width: 100%;
  margin-top: 10px;
}

.row {
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  margin-top: 8px;
  border: 1px solid #ddd;
  position: relative;
}

.row input {
  width: 30%;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.calc {
  margin-top: 6px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
}

.total {
  margin-top: 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
}
