:root {
  --accent: #3e2714;
  --muted: #3e2714b1;
  --bg: #f8f7f5;
  --text: #222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 880px;
  margin: 40px auto;
  padding: 0 16px;
}

h1 {
  color: var(--accent);
  margin: 0 0 16px;
}

.card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

label {
  display: block;
  margin-bottom: 8px;
}

input[type='file'] {
  margin: 8px 0 16px;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hint {
  font-size: 0.9rem;
  color: #555;
  margin: 6px 0 12px;
}
.status {
  margin-top: 12px;
  font-size: 0.95rem;
}
.status.ok {
  color: #1b6e36;
}
.status.err {
  color: #9b1c1c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 10px 0 6px;
}
.grid-item input[type='text'] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.report {
  margin: 14px 0;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
}
.report h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.report .ok {
  color: #1b6e36;
}
.report .warn {
  color: #7c4a00;
}
.report .err {
  color: #9b1c1c;
}
.report ul {
  margin: 6px 0 0 18px;
}
