* {
  box-sizing: border-box;
}

:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --line: #dfe5ee;
  --primary: #2457d6;
  --primary-dark: #1744b6;
  --success: #138a5b;
  --warning: #a15c00;
  --danger: #c73737;
  --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(36, 87, 214, 0.08), transparent 30rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 40px 0 28px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 18px;
}

.hero {
  padding-top: 30px;
}

.eyebrow {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.25;
}

h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.notice,
.section-tip,
.privacy-tip,
footer {
  color: var(--muted);
  line-height: 1.75;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.badge-loading {
  color: #43506a;
  background: #eef1f6;
}

.badge-open {
  color: var(--success);
  background: #e8f7f0;
}

.badge-closed {
  color: var(--warning);
  background: #fff3df;
}

.deadline {
  color: var(--muted);
  font-size: 14px;
}

label {
  display: block;
  margin-top: 20px;
}

label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

textarea {
  resize: vertical;
  line-height: 1.6;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.12);
}

small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .05s ease, background .15s ease, opacity .15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.primary {
  color: #fff;
  background: var(--primary);
}

.primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

.secondary {
  color: var(--primary);
  background: #edf3ff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.text-btn {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

.identity-summary,
.result-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 18px;
  border-radius: 12px;
  background: #f7f9fc;
}

.identity-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.identity-summary div,
.result-list div {
  min-width: 0;
}

.identity-summary span,
.result-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}

.identity-summary strong,
.result-list strong {
  display: block;
  line-height: 1.6;
  word-break: break-word;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
  background: #f7f9fc;
}

.check-row input {
  flex: 0 0 auto;
  width: 18px;
  min-height: auto;
  height: 18px;
  margin: 3px 0 0;
}

.check-row span {
  margin: 0;
  font-weight: 400;
  line-height: 1.65;
}

.system-message {
  color: var(--warning);
  line-height: 1.75;
}

.success-card {
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 34px;
  font-weight: 800;
}

.success-card .result-list {
  text-align: left;
}

footer {
  padding: 6px 10px 18px;
  text-align: center;
  font-size: 13px;
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1000;
  transform: translateX(-50%);
  max-width: min(560px, calc(100% - 32px));
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: rgba(31, 41, 55, 0.94);
  box-shadow: var(--shadow);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 760px);
    padding-top: 18px;
  }

  .card {
    padding: 20px;
    border-radius: 13px;
  }

  .identity-summary {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
  }
}
.readonly-box {

    min-height: 48px;

    padding: 12px;

    border: 1px solid #dcdfe6;

    border-radius: 8px;

    background: #f5f7fa;

    display: flex;

    align-items: center;

    color: #333;

}
/* 地址三级联动组件 */
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 12px 14px;
  min-height: 48px;
  outline: none;
}
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.12);
}
select:disabled {
  color: var(--muted);
  background: #f5f7fa;
}
.readonly-box {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f9fc;
  display: flex;
  align-items: center;
  color: var(--text);
}
.address-section {
  margin-top: 22px;
}
.address-section-title {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text);
}
.address-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.address-grid label {
  margin-top: 0;
}
.address-preview {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px dashed var(--line);
}
.address-preview span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
}
.address-preview strong {
  display: block;
  line-height: 1.7;
  word-break: break-word;
}
@media (max-width: 640px) {
  .address-grid {
    grid-template-columns: 1fr;
  }
}

