:root {
  font-family: Arial, sans-serif;
  color: #172033;
  background: #eef3f9;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(115, 160, 220, 0.28), transparent 32%),
    linear-gradient(180deg, #f7f9fc 0%, #eaf0f8 100%);
}

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 48px auto;
}

.hero,
.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d7e0ee;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(23, 32, 51, 0.08);
}

.hero {
  padding: 32px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0f5cc0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.intro {
  max-width: 62ch;
  margin-bottom: 0;
  color: #52607a;
}

.panel {
  padding: 28px 32px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e4eaf4;
}

.menu-list li:first-child {
  border-top: 0;
}

.menu-list a {
  color: #0f5cc0;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.menu-list a:hover {
  text-decoration: underline;
}

.menu-list span {
  color: #52607a;
  font-size: 0.95rem;
  white-space: nowrap;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-copy {
  margin: 8px 0 0;
  color: #52607a;
}

.upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
}

.file-field {
  display: grid;
  gap: 8px;
  min-width: min(100%, 420px);
  font-weight: 700;
}

.file-field input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd6e5;
  border-radius: 12px;
  background: #f8fbff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #0f5cc0;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button:hover {
  background: #0c4eaa;
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-secondary {
  background: #e6eefb;
  color: #0f3d82;
}

.button-secondary:hover {
  background: #dce8fb;
}

.form-error {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #efc3c7;
  border-radius: 12px;
  background: #fff3f4;
  color: #9a2230;
}

.progress-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #d7e0ee;
  border-radius: 16px;
  background: #f8fbff;
}

.progress-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress-bar {
  height: 14px;
  margin: 14px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7f8;
}

.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f5cc0 0%, #4ca2ff 100%);
  transition: width 0.3s ease;
}

.progress-message {
  margin: 0;
  color: #52607a;
}

.back-link {
  margin-top: 24px;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 920px);
    margin: 24px auto;
  }

  .hero,
  .panel {
    padding: 22px;
  }

  .menu-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-head,
  .progress-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}
