/* 综合卡点测评 */
:root {
  --bg: #f7f4ee;
  --card: #ffffff;
  --ink: #2b2b2b;
  --ink-soft: #6b6b6b;
  --accent: #4a7c59;
  --accent-soft: #e8f0ea;
  --line: #e6e1d8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}
.container { max-width: 640px; margin: 0 auto; padding: 24px 16px 64px; }
.screen { display: none; }
.screen.active { display: block; }

.brand { color: var(--accent); font-size: 14px; letter-spacing: 1px; margin-bottom: 12px; }
h1 { font-size: 26px; line-height: 1.4; margin-bottom: 12px; }
h2 { font-size: 20px; line-height: 1.5; }
.subtitle { color: var(--ink-soft); font-size: 15px; margin-bottom: 8px; }
.hero { margin-bottom: 24px; }

.dim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.dim-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 14px; cursor: pointer; transition: transform .12s, border-color .12s;
}
.dim-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.dim-icon { font-size: 22px; display: block; margin-bottom: 6px; }
.dim-name { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.dim-desc { font-size: 12.5px; color: var(--ink-soft); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 20px; margin-top: 16px;
}
.back-link { color: var(--ink-soft); font-size: 13px; cursor: pointer; margin-bottom: 16px; }
.intro-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.intro-icon { font-size: 30px; }
.fine-print { color: #999; font-size: 12px; margin-top: 12px; }

.btn-primary {
  display: block; width: 100%; margin-top: 20px; padding: 14px;
  background: var(--accent); color: #fff; border: none; border-radius: 12px;
  font-size: 16px; cursor: pointer;
}
.btn-primary:hover { opacity: .92; }
.btn-small { width: auto; padding: 10px 18px; margin-top: 0; white-space: nowrap; }

.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.question { font-size: 18px; margin: 16px 0 20px; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; cursor: pointer; background: #fbfaf7;
}
.option:hover, .option.selected { border-color: var(--accent); background: var(--accent-soft); }

.result-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tier-label {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; background: var(--accent-soft); color: var(--accent); margin-top: 4px;
}
.score-track { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 14px; }
.score-fill { height: 100%; width: 0; background: var(--accent); transition: width .5s; }
.headline { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.reading { font-size: 15px; color: var(--ink); }
.material-card { background: #fbfaf7; border: 1px dashed var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 18px; }
.material-title { font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
.material-name { font-size: 16px; font-weight: 600; }
.lead-box { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.lead-title { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.lead-row { display: flex; gap: 10px; }
.lead-row input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-size: 15px; outline: none;
}
.lead-row input:focus { border-color: var(--accent); }
.lead-done { color: var(--accent); font-size: 14px; margin-top: 10px; }
.camp-box { margin-top: 24px; padding: 18px; background: var(--accent-soft); border-radius: 14px; }
.hidden { display: none; }

/* V2 新增 */
.progress-note { color: var(--accent); font-size: 13px; margin: 8px 0 0; }
.done-badge {
  display: inline-block; font-size: 11px; font-weight: 400; color: #fff;
  background: var(--accent); border-radius: 999px; padding: 1px 8px; margin-left: 4px;
  vertical-align: 2px;
}
.opt-num {
  display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center;
  border-radius: 50%; background: var(--line); color: var(--ink-soft);
  font-size: 12px; margin-right: 10px; transition: background .12s, color .12s;
}
.option:hover .opt-num, .option.selected .opt-num { background: var(--accent); color: #fff; }

.verdict {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
  background: #fbfaf7;
}
.verdict.primary { border-color: var(--accent); background: var(--accent-soft); }
.verdict-head { margin-bottom: 4px; }
.verdict-head .tier-label { margin-left: 6px; }

.section-title { font-size: 15px; font-weight: 600; margin: 22px 0 10px; }
.band-tables .section-title { margin-top: 24px; }
.band-table-wrap { margin-bottom: 14px; }
.band-table-title { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.band-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.band-table th {
  text-align: left; color: var(--ink-soft); font-weight: 400; font-size: 12px;
  padding: 6px 8px; border-bottom: 1px solid var(--line);
}
.band-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.band-table .band-label { white-space: nowrap; color: var(--ink-soft); width: 52px; }
.band-table tr.current { background: var(--accent-soft); }
.band-table tr.current .band-label { color: var(--accent); font-weight: 600; }
.pano-table tr.deep-row .band-label, .pano-table tr.deep-row td:last-child { color: #b3452e; }

.script-block {
  margin-top: 20px; padding: 14px 16px; background: #fbfaf7;
  border: 1px dashed var(--line); border-radius: 12px;
}
.script-block .headline { margin-bottom: 6px; }
.support-line {
  margin-top: 16px; padding: 12px 14px; background: #fdf3ef;
  border-left: 3px solid #d98868; border-radius: 8px; font-size: 14px;
}
.btn-outline {
  display: block; width: 100%; margin-top: 18px; padding: 13px;
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
  border-radius: 12px; font-size: 15px; cursor: pointer;
}
.btn-outline:hover { background: var(--accent-soft); }
.radar-wrap { display: flex; justify-content: center; margin: 10px 0 16px; overflow-x: auto; }
#pano-top { margin-bottom: 8px; }
#pano-top .reading { margin-bottom: 8px; }

@media (max-width: 480px) {
  .dim-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  h1 { font-size: 22px; }
}
