* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  background: #fafafa;
  color: #2c3e50;
}
.container {
  max-width: 640px;
  margin: 40px auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  padding: 28px;
}
header h1 {
  margin: 0 0 4px;
  color: #1F3A5F;
}
header p {
  margin: 0 0 24px;
  color: #5a6a7a;
}
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.file-label {
  font-weight: 600;
  color: #1F3A5F;
}
input[type="file"] {
  padding: 8px;
  border: 1px dashed #C9A961;
  border-radius: 8px;
  background: #fdfaf2;
}
button {
  background: #1F3A5F;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: #163049; }
.result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.result.hidden { display: none; }
.result img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}
#predictions {
  list-style: none;
  padding: 0;
  margin: 0;
}
#predictions li {
  background: #f0f3f7;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-weight: 500;
}
#predictions li:first-child {
  background: #C9A961;
  color: #1F3A5F;
}