body {
  font-family: system-ui, sans-serif;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
  background: #0f1115;
  color: #e6e6e6;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

section {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #2a2d35;
  border-radius: 8px;
}

input, textarea, select {
  width: 100%;
  margin: 0.4rem 0;
  padding: 0.5rem;
  box-sizing: border-box;
  background: #1a1d24;
  color: #e6e6e6;
  border: 1px solid #2a2d35;
  border-radius: 4px;
}

textarea {
  min-height: 90px;
}

button {
  padding: 0.5rem 1rem;
  margin: 0.3rem 0.3rem 0.3rem 0;
  border: none;
  border-radius: 4px;
  background: #4a6cf7;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #3a5ce0;
}

#result img, .history-item img {
  max-width: 100%;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.history-item {
  border-top: 1px solid #2a2d35;
  padding: 0.5rem 0;
}

.status-pending, .status-running { color: #f7c94a; }
.status-done { color: #4af78e; }
.status-failed { color: #f74a4a; }
