:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: #eef2f7;
  color: #1f2937;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(260deg, rgba(16, 185, 129, 0.15), transparent 36%),
    #eef2f7;
}

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(31, 41, 55, 0.12);
  padding: 32px;
}

.heading {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 24px;
  padding-bottom: 20px;
}

.heading p {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
}

.heading h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.wide,
.actions,
.status {
  grid-column: 1 / -1;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

button {
  border: 0;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 20px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.status {
  min-height: 24px;
  margin: 0;
  color: #2563eb;
  font-weight: 700;
}

.status.error {
  color: #dc2626;
}

.status.success {
  color: #047857;
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 20px, 920px);
    padding: 20px 0;
  }

  .panel {
    padding: 20px;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }
}
