* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Arial, sans-serif;
  background: #f4f5f7;
  color: #1f2328;
  margin: 0;
  padding: 40px 16px;
}
.wrap { max-width: 760px; margin: 0 auto; background: #fff; padding: 32px 36px;
  border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
h1 { font-size: 22px; margin: 0 0 6px; }
.sub { color: #57606a; margin: 0 0 24px; font-size: 14px; line-height: 1.5; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
input[type=file] { width: 100%; padding: 8px; border: 1px solid #d0d7de; border-radius: 6px;
  background: #f6f8fa; font-size: 13px; }
button, .button {
  display: inline-block; background: #1a7f37; color: #fff; border: none;
  padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; margin-top: 8px;
}
button:hover, .button:hover { background: #146c2e; }
.back { display: inline-block; margin-left: 16px; font-size: 14px; color: #57606a; text-decoration: none; }
.note { margin-top: 28px; background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 8px; padding: 16px 20px; font-size: 13px; }
.note ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.6; }
.flash { background: #fff1e5; border: 1px solid #d4a373; color: #7a4a12; padding: 10px 14px;
  border-radius: 6px; margin-bottom: 18px; font-size: 13px; }
table.results { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13px; }
table.results th, table.results td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eaecef; vertical-align: top; }
table.results th { background: #f6f8fa; font-weight: 600; }
.row-ok td:nth-child(3) { color: #1a7f37; font-weight: 600; }
.row-dup td:nth-child(3) { color: #9a6700; font-weight: 600; }
.row-error td:nth-child(3) { color: #cf222e; font-weight: 600; }
