:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  background: #090909;
  color: #f4f4f4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.08), transparent 38%),
    #090909;
}
.shell { width: min(720px, 100%); padding: 24px; }
.card {
  background: rgba(20,20,20,.96);
  border: 1px solid #303030;
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.logoWrap { display: flex; justify-content: center; margin: -8px 0 18px; }
.logo {
  display: block;
  width: clamp(150px, 28vw, 220px);
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
h1 { margin: 12px 0 8px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.lead { color: #bdbdbd; margin: 0 0 32px; font-size: 1.06rem; }
.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.secondary { background: #272727; color: #fff; border: 1px solid #3d3d3d; }
.primary { margin-top: 14px; background: #f0f0f0; color: #0a0a0a; }
.selection {
  margin-top: 16px;
  border: 1px solid #303030;
  border-radius: 12px;
  padding: 14px 16px;
  background: #111;
}
.label, .small, .foot { color: #8f8f8f; font-size: .88rem; }
.path { margin-top: 4px; font-weight: 800; overflow-wrap: anywhere; }
.meta { color: #b6b6b6; margin-top: 3px; font-size: .92rem; }
.progressArea { margin-top: 28px; }
.progressRow { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.bar { width: 100%; height: 14px; border-radius: 999px; overflow: hidden; background: #252525; }
.fill { width: 0%; height: 100%; background: #e7e7e7; transition: width .18s ease; }
.small { margin-top: 9px; min-height: 1.2em; }
.result { margin-top: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 700; }
.result.ok { background: rgba(58, 169, 89, .14); border: 1px solid rgba(58, 169, 89, .45); }
.result.error { background: rgba(213, 67, 67, .13); border: 1px solid rgba(213, 67, 67, .45); }
.foot { margin: 26px 0 0; line-height: 1.5; }

.access-block { margin: 18px 0 14px; text-align: left; }
.access-input { width: 100%; box-sizing: border-box; margin-top: 8px; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: inherit; font: inherit; }
.access-input:focus { outline: 2px solid rgba(255,255,255,.28); outline-offset: 1px; }

@media (max-width: 520px) {
  .logoWrap { margin-bottom: 14px; }
  .logo { width: 150px; }
}
