:root {
  --wp-bg: #f6f7f9;
  --wp-card: #ffffff;
  --wp-text: #1f2329;
  --wp-muted: #6b7280;
  --wp-line: #e5e7eb;
  --wp-accent: #2f6fed;
  --wp-accent-soft: #f2f6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wp-bg);
  color: var(--wp-text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.wp-page {
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* ── 品牌 ─────────────────────────────── */
.wp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wp-brand-mark {
  flex: none;
  width: 44px;
  height: 44px;
}

.wp-title {
  margin: 0;
  font-size: 22px;
  letter-spacing: 2px;
}

.wp-subtitle {
  margin: 2px 0 0;
  color: var(--wp-muted);
  font-size: 13px;
  letter-spacing: 1.2px;
}

.wp-footer {
  margin-top: 36px;
  color: var(--wp-muted);
  font-size: 12px;
  letter-spacing: .2px;
  text-align: center;
}

.wp-footer-line {
  margin: 0;
  line-height: 2;
}

.wp-footer a {
  color: inherit;
  text-decoration: none;
}

.wp-footer a:hover {
  color: var(--wp-accent);
}

.wp-footer img {
  vertical-align: -3px;
  margin-right: 4px;
  border: 0;
}

/* ── 通用卡片与文字 ───────────────────── */
.wp-card {
  margin-top: 20px;
  padding: 22px;
  background: var(--wp-card);
  border: 1px solid var(--wp-line);
  border-radius: 16px;
}

.wp-eyebrow {
  margin: 0 0 8px;
  color: var(--wp-accent);
  font-size: 12px;
  letter-spacing: 1.2px;
}

.wp-hero {
  margin-top: 24px;
  padding: 26px 22px;
  background: var(--wp-card);
  border: 1px solid var(--wp-line);
  border-radius: 18px;
}

.wp-hero-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: .5px;
}

.wp-hero-text {
  margin: 0;
  color: var(--wp-muted);
  font-size: 14px;
  line-height: 1.8;
}

.wp-section-title {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: .8px;
}

.wp-section-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 13px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--wp-accent);
  vertical-align: -1px;
}

.wp-hint {
  margin: 12px 0 0;
  color: var(--wp-muted);
  font-size: 12px;
  line-height: 1.7;
}

/* ── 表单与按钮 ───────────────────────── */
.wp-field {
  display: block;
  margin-top: 20px;
}

.wp-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--wp-muted);
  font-size: 12px;
}

.wp-field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 10px;
  color: var(--wp-text);
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}

.wp-field input:focus {
  border-color: var(--wp-accent);
}

.wp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 15px;
  letter-spacing: .5px;
  transition: background .15s, border-color .15s, color .15s;
}

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

.wp-btn-primary:hover {
  background: #235bd0;
}

.wp-btn-ghost {
  background: #fff;
  border-color: var(--wp-line);
  color: var(--wp-text);
}

.wp-btn-ghost:hover {
  border-color: #c9d1de;
}

.wp-btn-block {
  width: 100%;
  margin-top: 18px;
}

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

.wp-btn:focus-visible,
.wp-chip:focus-visible,
.wp-option-button:focus-visible,
.wp-link:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 2px;
}

/* ── 续答卡片 ─────────────────────────── */
.wp-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--wp-accent-soft);
  border: 1px solid #d7e3ff;
  border-radius: 12px;
}

.wp-resume-info strong {
  display: block;
  font-size: 14px;
}

.wp-resume-info p {
  margin: 2px 0 0;
  color: var(--wp-muted);
  font-size: 12px;
}

.wp-resume .wp-btn {
  flex: none;
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* ── 开始前说明 ───────────────────────── */
.wp-about-list {
  margin: 0;
  padding-left: 18px;
  color: var(--wp-muted);
  font-size: 13px;
  line-height: 1.9;
}

.wp-about-list li + li {
  margin-top: 2px;
}

/* ── 答题页 ───────────────────────────── */
.wp-quiz {
  margin-top: 22px;
}

.wp-quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wp-link {
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--wp-muted);
  font-size: 13px;
}

.wp-link:hover {
  color: var(--wp-text);
}

.wp-link:disabled {
  cursor: default;
  opacity: .35;
}

.wp-progress {
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  background: var(--wp-line);
  border-radius: 999px;
}

.wp-progress i {
  display: block;
  height: 100%;
  background: var(--wp-accent);
  border-radius: inherit;
  transition: width .2s ease;
}

.wp-quiz-meta {
  margin: 12px 0 0;
  color: var(--wp-muted);
  font-size: 12px;
  letter-spacing: .6px;
}

.wp-question {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.55;
}

.wp-question-tip {
  margin: 6px 0 0;
  color: var(--wp-muted);
  font-size: 12px;
}

.wp-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.wp-option {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 12px;
  transition: border-color .15s, background .15s;
}

.wp-option-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}

.wp-option-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.wp-chip {
  min-height: 32px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid var(--wp-line);
  border-radius: 999px;
  color: var(--wp-muted);
  font-size: 12px;
  transition: background .15s, border-color .15s, color .15s;
}

.wp-chip.is-active[data-pick="most"] {
  background: var(--wp-accent);
  border-color: var(--wp-accent);
  color: #fff;
}

.wp-chip.is-active[data-pick="least"] {
  background: #4b5563;
  border-color: #4b5563;
  color: #fff;
}

.wp-option.is-most {
  border-color: var(--wp-accent);
  background: var(--wp-accent-soft);
}

.wp-option.is-least {
  border-color: #b9c0cc;
  background: #f3f4f6;
}

.wp-option-button {
  display: flex;
  width: 100%;
  align-items: flex-start;
  text-align: left;
}

.wp-option-button.is-selected {
  border-color: var(--wp-accent);
  background: var(--wp-accent-soft);
}

/* ── 阶段反馈 ─────────────────────────── */
.wp-stage-done {
  margin-top: 24px;
  padding: 40px 24px;
  text-align: center;
}

.wp-stage-done .wp-hero-title {
  font-size: 24px;
}

.wp-stage-done .wp-hero-text {
  margin: 0 auto;
  max-width: 380px;
}

/* ── 报告 ─────────────────────────────── */
.wp-report {
  margin-top: 24px;
}

.wp-report-head {
  padding: 28px 22px;
  background: var(--wp-card);
  border: 1px solid var(--wp-line);
  border-radius: 18px;
  text-align: center;
}

.wp-report-name {
  margin: 0;
  color: var(--wp-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.wp-type {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.wp-type strong {
  color: var(--wp-accent);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 2px;
}

.wp-type span {
  font-size: 22px;
  letter-spacing: 2px;
}

.wp-report-sub {
  margin: 10px 0 0;
  color: var(--wp-muted);
  font-size: 12px;
}

.wp-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-feature-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  font-size: 14px;
  line-height: 1.75;
}

.wp-feature-list li + li {
  border-top: 1px dashed var(--wp-line);
}

.wp-feature-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wp-accent);
}

.wp-profile {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.wp-shift {
  margin: 0;
  color: var(--wp-text);
  font-size: 14px;
  line-height: 1.85;
}

.wp-shift + .wp-shift {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--wp-line);
}

.wp-shift strong {
  display: block;
  margin-bottom: 4px;
  color: var(--wp-accent);
  font-size: 12px;
  letter-spacing: 1px;
}

.wp-disclaimer {
  background: #fbfcfe;
}

.wp-dim-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wp-dim-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.7;
}

.wp-dim-list li + li {
  border-top: 1px dashed var(--wp-line);
}

.wp-dim-list strong {
  flex: none;
  min-width: 74px;
  color: var(--wp-text);
  font-weight: 600;
}

.wp-dim-list span {
  color: var(--wp-muted);
}

.wp-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.wp-actions .wp-btn {
  flex: 1;
}

@media (max-width: 420px) {
  .wp-page {
    padding: 20px 14px 32px;
  }

  .wp-hero {
    padding: 22px 18px;
  }

  .wp-hero-title {
    font-size: 25px;
  }

  .wp-type strong {
    font-size: 42px;
  }

  .wp-type span {
    font-size: 19px;
  }

  .wp-dim-list li {
    display: block;
  }

  .wp-dim-list strong {
    display: block;
    margin-bottom: 2px;
  }
}
