:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f5f5f2;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.card {
  width: min(680px, 100%);
  background: white;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
}
.brand { font-weight: 800; letter-spacing: -.04em; font-size: 20px; margin-bottom: 30px; }
h1 { margin: 0; font-size: clamp(32px, 6vw, 54px); line-height: .98; letter-spacing: -.055em; max-width: 600px; }
.sub { margin: 18px 0 26px; color: #686868; line-height: 1.55; }
.drop-zone {
  min-height: 190px;
  border: 2px dashed #c7c7c7;
  border-radius: 22px;
  display: grid;
  place-content: center;
  text-align: center;
  cursor: pointer;
  transition: .18s ease;
  background: #fafafa;
}
.drop-zone:hover, .drop-zone.dragging { border-color: #222; transform: translateY(-1px); background: #f7f7f7; }
.drop-title { font-weight: 750; font-size: 22px; }
.drop-sub { color: #777; margin-top: 7px; }
.file-list { display: grid; gap: 10px; margin-top: 18px; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid #e9e9e9; border-radius: 14px; }
.file-name { font-weight: 650; overflow-wrap: anywhere; }
.file-size, .small { color: #777; font-size: 13px; margin-top: 3px; }
.remove { border: 0; background: transparent; font-size: 27px; cursor: pointer; color: #777; padding: 0 5px; }
.primary, .secondary { border: 0; border-radius: 14px; cursor: pointer; font-weight: 700; text-decoration: none; }
.primary { width: 100%; margin-top: 20px; padding: 16px 18px; background: #171717; color: white; }
.primary:disabled { opacity: .35; cursor: not-allowed; }
.secondary { padding: 11px 14px; background: #ececec; color: #171717; white-space: nowrap; }
.progress-wrap { margin-top: 20px; }
.progress-track { height: 10px; border-radius: 999px; overflow: hidden; background: #e9e9e9; }
.progress-bar { height: 100%; width: 0%; background: #171717; transition: width .12s linear; }
.status-text { margin-top: 9px; color: #666; font-size: 14px; }
.result { margin-top: 24px; padding: 18px; border-radius: 16px; background: #f4f4f1; }
.result-label { font-weight: 700; margin-bottom: 10px; }
.link-row { display: flex; gap: 8px; }
.link-row input { min-width: 0; flex: 1; border: 1px solid #d8d8d8; background: white; border-radius: 12px; padding: 11px 12px; }
.error { margin-top: 18px; padding: 13px 14px; border-radius: 12px; background: #fff0f0; color: #9b1c1c; }
.download-row { align-items: center; }
.download-button { display: inline-block; }
.hidden { display: none !important; }
@media (max-width: 560px) {
  .card { padding: 24px 18px; border-radius: 22px; }
  .link-row { flex-direction: column; }
}
