:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #16a34a;
  --danger: #dc2626;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 720px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  padding: 32px;
}
.title {
  font-size: 28px;
  margin: 0 0 8px;
}
.subtitle {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.step {
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--muted);
  background: #fafafa;
  font-size: 14px;
}
.step.active {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: var(--primary);
  font-weight: bold;
}
.step.done {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: var(--success);
  font-weight: bold;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
button {
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
}
button.primary {
  background: var(--primary);
  color: #fff;
}
button.primary:hover { background: var(--primary-hover); }
button.secondary {
  background: #eef2ff;
  color: #3730a3;
}
button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.notice.info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.notice.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.notice.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.widget-wrap {
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #fcfcfd;
}
.code {
  display: inline-block;
  background: #111827;
  color: #f9fafb;
  border-radius: 8px;
  padding: 4px 8px;
  font-family: Consolas, monospace;
  font-size: 13px;
}
.footer-tip {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 22px; }
  .title { font-size: 24px; }
}
