
:root {
  color-scheme: light;
  font-family: system-ui, Arial, sans-serif;
  background: #faf7f0;
  color: #30281e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 18px;
}

main {
  max-width: 780px;
  margin: auto;
}

header {
  text-align: center;
  padding: 18px 0;
}

h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  margin: 0;
}

h2 {
  margin-top: 0;
}

.subtitle {
  color: #685a48;
  line-height: 1.5;
}

.card {
  background: white;
  border: 1px solid #e7dfd2;
  border-radius: 14px;
  padding: 20px;
  margin: 18px 0;
}

.total {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 800;
  color: #795023;
}

.center {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 5px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

td:last-child,
th:last-child {
  text-align: right;
}

label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 110px;
}

button {
  background: #795023;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
}

.switch input {
  width: auto;
}

.photo {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  background: #f4f0e9;
  border-radius: 8px;
}

.comment {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  overflow-wrap: anywhere;
}

.small {
  color: #685a48;
  font-size: .9rem;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#status {
  min-height: 24px;
}

[hidden] {
  display: none !important;
}
