:root {
  --ink: #1b1f24;
  --muted: #5b6470;
  --line: #d6dbe1;
  --accent: #1f6feb;
  --ok: #1a7f37;
  --warn: #9a6700;
  --error: #cf222e;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  background: #f6f8fa;
}

main {
  max-width: 44rem;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

#drop {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

#drop.over {
  border-color: var(--accent);
  background: #eef4ff;
}

#drop p {
  margin: 0.4rem 0;
}

button {
  font: inherit;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

#banner {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff8c5;
  color: var(--warn);
}

#progress {
  margin-top: 1.5rem;
}

.bar {
  height: 14px;
  background: #eaeef2;
  border-radius: 7px;
  overflow: hidden;
}

#bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.4s;
}

#bar-fill.done {
  background: var(--ok);
}

#summary {
  font-weight: 600;
}

#detail,
.help {
  color: var(--muted);
}

.help {
  margin-top: 2rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.help li {
  margin: 0.4rem 0;
}

.error {
  color: var(--error);
}
