* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
  min-height: 100vh;
  color: #263238;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
header { text-align: center; margin: 18px 0 26px; }
header h1 { font-size: 28px; color: #1b5e20; }
header .sub { color: #546e7a; margin-top: 8px; font-size: 14px; }
.card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(27, 94, 32, .08);
}
.card h2 { font-size: 18px; margin-bottom: 14px; color: #1b5e20; }
.row { margin-bottom: 18px; }
.row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.req { color: #c62828; }
.hint { font-size: 12px; color: #90a4ae; margin-top: 4px; }
input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  outline: none;
}
input[type="text"]:focus { border-color: #43a047; box-shadow: 0 0 0 3px rgba(67,160,71,.15); }
input[type="file"] { font-size: 13px; margin-top: 4px; }
.radios { display: flex; gap: 18px; flex-wrap: wrap; }
.radio { display: flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.btn {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #43a047, #2e7d32);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 6px;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.error { background: #ffebee; color: #c62828; border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-top: 12px; }
.preview { width: 96px; height: 96px; object-fit: contain; border: 1px solid #eceff1; border-radius: 10px; margin-top: 10px; display: block; background: #fafafa; }
.previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.previews img { width: 76px; height: 120px; object-fit: contain; border: 1px solid #eceff1; border-radius: 8px; background: #fafafa; }
.steps { list-style: none; }
.steps li { padding: 10px 14px; border-radius: 8px; margin-bottom: 6px; font-size: 14px; background: #f5f5f5; color: #9e9e9e; display: flex; align-items: center; gap: 10px; }
.steps li.done { background: #e8f5e9; color: #2e7d32; }
.steps li.running { background: #fff8e1; color: #f57f17; font-weight: 600; }
.steps li .mark { width: 22px; text-align: center; font-weight: 700; }
.spinner {
  width: 14px; height: 14px; border: 2px solid #f57f17; border-top-color: transparent;
  border-radius: 50%; display: inline-block; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid #e0e0e0; border-radius: 10px; padding: 14px 16px; margin-bottom: 12px;
  background: #fafafa;
}
.dl-card .info { flex: 1; }
.dl-card .info b { display: block; margin-bottom: 2px; }
.dl-card .info span { font-size: 12px; color: #90a4ae; }
.dl-card a {
  background: #2e7d32; color: #fff; text-decoration: none; font-size: 14px;
  padding: 8px 16px; border-radius: 8px; white-space: nowrap;
}
.dl-card a:hover { filter: brightness(1.08); }
.pw-box { font-family: Consolas, monospace; background: #eceff1; padding: 8px 12px; border-radius: 6px; font-size: 14px; user-select: all; }
.guide { margin-top: 14px; background: #f3f8fb; border: 1px solid #b3d9f2; border-radius: 10px; padding: 12px 16px; }
.guide summary { cursor: pointer; font-weight: 600; color: #1565c0; }
.guide ol { margin: 10px 0 6px 22px; font-size: 14px; line-height: 1.9; }
.note { font-size: 12px; color: #78909c; margin-top: 6px; }
footer { text-align: center; color: #90a4ae; font-size: 12px; margin-top: 10px; }
@media (max-width: 520px) {
  .card { padding: 18px 16px; }
  header h1 { font-size: 22px; }
}
