* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: grid; place-items: start center;
  font: 16px/1.5 system-ui, sans-serif; background: #f5f5f4; color: #1c1917;
}
main { width: min(560px, 92vw); margin-top: 10vh; }
h1 { margin: 0 0 4px; font-size: 1.6rem; }
.hint { margin: 0 0 20px; color: #78716c; font-size: .9rem; }
.drop {
  display: grid; place-items: center; height: 180px; cursor: pointer;
  border: 2px dashed #a8a29e; border-radius: 12px; background: #fff;
  transition: border-color .15s, background .15s;
}
.drop.over, .drop:hover { border-color: #2563eb; background: #eff6ff; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 2px solid #2563eb; outline-offset: 2px; }
ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
li {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center;
  background: #fff; border-radius: 10px; padding: 8px 12px; border: 1px solid #e7e5e4;
}
li img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.status { font-size: .8rem; color: #78716c; }
.status.ok { color: #15803d; }
.status.err { color: #b91c1c; }
.passbox { display: grid; gap: 6px; margin-bottom: 16px; }
.passbox[hidden] { display: none; }
.passbox label { font-size: .9rem; font-weight: 600; }
.passbox input { padding: 10px 12px; border: 1px solid #a8a29e; border-radius: 8px; font: inherit; }
progress { width: 100%; height: 6px; }
