* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(145deg, #edf2fb, #dbe6f6);
  color: #102033;
}
.page { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0; }
.hero { text-align: center; margin-bottom: 28px; }
.hero.compact { margin-bottom: 20px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #eef2ff; color: #1d4ed8; font-weight: 700; font-size: 12px; letter-spacing: .04em; }
h1 { margin: 18px 0 10px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
p { color: #42526b; line-height: 1.7; }
.panel, .notes {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(120, 140, 170, .2);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(31, 41, 55, .12);
  padding: 28px;
  margin: 20px 0;
}
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
label { font-weight: 800; color: #172033; }
small { color: #69768a; line-height: 1.5; }
input, select {
  width: 100%; border: 1px solid #d7e0ea; border-radius: 16px; padding: 13px 14px;
  font-size: 15px; background: white; color: #172033;
}
input:disabled { background: #f3f6fa; color: #9aa5b5; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.divider { display: flex; align-items: center; gap: 14px; color: #8a97aa; font-weight: 700; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #e3e9f2; }
.advanced { border: 1px dashed #cbd5e1; border-radius: 18px; padding: 16px; }
summary { cursor: pointer; font-weight: 800; }
button, .download, .secondary {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px;
  border: 0; border-radius: 16px; padding: 13px 18px; cursor: pointer;
  background: #2563eb; color: white; font-weight: 800; text-decoration: none; font-size: 15px;
}
button:hover, .download:hover { background: #1d4ed8; }
.secondary { background: #eef2ff; color: #1e40af; }
.alert { padding: 16px 18px; border-radius: 18px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-weight: 700; margin: 20px 0; }
.jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.job-card { display: grid; gap: 8px; text-decoration: none; color: inherit; padding: 16px; border-radius: 18px; background: #f8fafc; border: 1px solid #e2e8f0; }
.job-card span { color: #64748b; font-size: 13px; }
.result-list { display: grid; gap: 12px; }
.preview img { max-width: 100%; border-radius: 18px; border: 1px solid #e2e8f0; background: white; }
@media (max-width: 720px) { .grid, .jobs { grid-template-columns: 1fr; } .panel, .notes { padding: 20px; border-radius: 22px; } }
