:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: linear-gradient(160deg, #0f766e 0%, #134e4a 42%, #0f172a 100%);
  color: #0f172a;
}
.wrap { max-width: 520px; margin: 0 auto; padding: 48px 20px; }
.brand {
  color: #ccfbf1;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1 { color: #fff; font-size: 30px; margin: 0 0 8px; font-weight: 700; }
.sub { color: #99f6e4; margin: 0 0 28px; line-height: 1.5; }
.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 14px 0 6px;
}
input[type="email"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
}
.dropzone {
  position: relative;
  border: 1.5px dashed #94a3b8;
  border-radius: 14px;
  padding: 28px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.dropzone:hover,
.dropzone:focus,
.dropzone.dragover {
  border-color: #0f766e;
  background: #ecfdf5;
}
.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drop-title { margin: 0 0 4px; font-weight: 700; color: #0f172a; }
.drop-sub { margin: 0; font-size: 13px; color: #64748b; }
.file-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  margin-bottom: 6px;
  font-size: 13px;
  color: #334155;
}
.file-list .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button {
  width: auto;
  margin: 0;
  padding: 4px 10px;
  font-size: 12px;
  background: #fff;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.dl-list { margin: 0 0 8px; padding: 0; list-style: none; }
.dl-list li { margin-bottom: 10px; }
.dl-list .btn { margin-top: 8px; }
button,
.btn {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  padding: 13px 16px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: wait; }
.hint { color: #64748b; font-size: 13px; margin-top: 14px; line-height: 1.45; }
.ok, .err {
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}
.ok { background: #ecfdf5; color: #065f46; }
.err { background: #fef2f2; color: #991b1b; }
.meta { color: #64748b; font-size: 14px; margin: 0 0 6px; line-height: 1.5; }
[hidden] { display: none !important; }
