:root {
  --bg: #f5f2ec;
  --card: #ffffff;
  --accent: #1b4332;
  --accent-2: #e6b566;
  --text: #1a1a1a;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top, #f8f3e7, #e6dfd1);
  color: var(--text);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
}

.brand {
  font-weight: bold;
  letter-spacing: 1px;
}

main {
  padding: 24px;
}

.card {
  background: var(--card);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

h1, h2, h3 {
  margin-top: 0;
}

label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

input, select, textarea, button {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

button {
  margin-top: 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #123525;
}

.button {
  display: inline-block;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  margin-right: 10px;
}

.button.secondary {
  background: var(--accent-2);
  color: #222;
}

.qr-item {
  border-top: 1px dashed #ddd;
  padding-top: 12px;
  margin-top: 12px;
}

.qr-item img {
  max-width: 160px;
  display: block;
  margin-top: 10px;
}

.form-page {
  margin-bottom: 20px;
}

.field {
  margin-bottom: 12px;
}

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

.progress {
  margin-top: 12px;
  color: var(--muted);
}

@media (max-width: 640px) {
  main {
    padding: 16px;
  }
}
