body {
  min-height: 100vh;
}

.upload-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 70px;
}

.upload-heading {
  margin-bottom: 22px;
}

.upload-heading h1 {
  margin-bottom: 8px;
}

.upload-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.upload-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  resize: vertical;
}

.field textarea:focus {
  background: var(--surface);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 107, 138, 0.1);
}

.demand-fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 20px;
  padding: 18px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.demand-fieldset legend {
  padding: 0 6px;
  color: #526071;
  font-size: 10px;
  font-weight: 800;
}

.demand-fieldset label {
  display: grid;
  gap: 7px;
}

.demand-fieldset label > span {
  display: flex;
  justify-content: space-between;
  color: #536071;
  font-size: 10px;
}

.demand-fieldset output {
  color: var(--red);
  font-family: Georgia, serif;
  font-weight: 800;
}

.demand-fieldset input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.upload-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  max-width: min(380px, calc(100vw - 40px));
  padding: 13px 16px;
  color: #fff;
  background: var(--ink-soft);
  border-left: 4px solid #65a39f;
  border-radius: 7px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  .upload-shell {
    padding: 34px 12px 50px;
  }

  .upload-card {
    padding: 20px;
  }

  .demand-fieldset {
    grid-template-columns: 1fr;
  }
}
