* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f7fb;
  color: #111827;
}
.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
.hero {
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6eefc;
  color: #2453c7;
  font-size: 12px;
  font-weight: 600;
}
h1 {
  margin: 14px 0 12px;
  font-size: 42px;
  line-height: 1.12;
}
.subtitle {
  margin: 0;
  max-width: 920px;
  color: #4b5563;
  line-height: 1.8;
}
.grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 20px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.form-panel {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full { grid-column: 1 / -1; }
label {
  font-size: 14px;
  font-weight: 600;
}
input, select, textarea, button {
  font: inherit;
}
input[type="text"], input[type="password"], input[type="url"], select, textarea, input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
}
.hint {
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}
.mode-hint {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f8fafc;
  color: #374151;
  font-size: 13px;
  line-height: 1.6;
}
textarea {
  resize: vertical;
  min-height: 132px;
}
.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}
button {
  border: none;
  background: #111827;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.info-panel, .result-panel {
  padding: 20px;
}
.info-panel h2, .result-panel h2, .info-panel h3 {
  margin-top: 0;
}
.info-panel ol, .info-panel ul {
  color: #374151;
  line-height: 1.8;
  padding-left: 20px;
}
.status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-size: 14px;
}
.result-panel {
  margin-top: 20px;
}
.summary-box {
  white-space: pre-wrap;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  line-height: 1.7;
}
.gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f3f4f6;
}
.card-body {
  padding: 12px;
}
.card-body strong {
  display: block;
  margin-bottom: 6px;
}
.card-body a {
  color: #2453c7;
  text-decoration: none;
}
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .form-panel {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px;
  }
}
