:root {
  --ink: #17212b;
  --muted: #5d6b7a;
  --line: #d7dde5;
  --paper: #ffffff;
  --bg: #f4f6f8;
  --green: #0f8b6d;
  --blue: #2563a8;
  --red: #b74343;
  --gold: #a66f00;
  --purple: #6f4aa5;
  --cyan: #007f91;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

header {
  padding: 28px 32px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 32px 44px;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

p {
  margin: 0 0 10px;
}

a {
  color: var(--blue);
}

section {
  margin-bottom: 28px;
}

ul,
ol {
  margin: 0;
  padding-left: 18px;
}

li {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
}

code {
  background: #edf1f5;
  border-radius: 4px;
  padding: 2px 5px;
}

pre {
  margin: 0;
  padding: 14px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #101923;
  color: #edf7ff;
  border-radius: 8px;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  overflow-wrap: anywhere;
}

th {
  background: #e9edf3;
}

.subtitle {
  max-width: 980px;
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.mission {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 18px;
  border-left: 6px solid var(--green);
}

.mission h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mission-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.mission-grid b {
  display: block;
  color: var(--blue);
  margin-bottom: 6px;
}

.mission-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.statement {
  padding: 18px;
  background: #eaf3ee;
  border-left: 6px solid var(--green);
  border-radius: 8px;
}

.statement strong {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

.metric-box,
.card {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.metric-box b,
.card b {
  display: block;
  color: var(--blue);
  font-size: 16px;
  margin-bottom: 6px;
}

.small {
  color: var(--muted);
  font-size: 13px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fbfcfd;
}

.stage::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b8794;
  font-size: 22px;
  font-weight: 700;
  z-index: 2;
}

.stage:last-child::after {
  content: "";
}

.stage:nth-child(3n)::after {
  content: "";
}

.num {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 13px;
}

.stage p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.stage .btn {
  margin-top: auto;
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ops-grid .card {
  display: flex;
  flex-direction: column;
}

.ops-grid .btn {
  margin-top: auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.signal-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.signal-card b {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.signal-card strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

.signal-card span {
  color: var(--muted);
  font-size: 13px;
}

.bar-list {
  display: grid;
  gap: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 3fr 48px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.bar-label {
  color: var(--ink);
  font-weight: 700;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf2;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
}

.bar-fill.green { background: var(--green); }
.bar-fill.red { background: var(--red); }
.bar-fill.gold { background: var(--gold); }
.bar-fill.purple { background: var(--purple); }

.bar-value {
  color: var(--muted);
  text-align: right;
  font-weight: 700;
}

.phase-table td:first-child {
  width: 16%;
  font-weight: 700;
  color: var(--blue);
}

.script-step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.script-time {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.script-step h3 {
  margin-bottom: 6px;
}

.interview-console .mission {
  align-items: start;
}

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

.principles li {
  margin-bottom: 0;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.template-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.template-card h3 {
  color: var(--blue);
}

.template-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.template-card dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.template-card dd {
  min-height: 28px;
  margin: 0;
  padding: 6px 8px;
  border: 1px dashed #c8d1dc;
  border-radius: 6px;
  color: var(--muted);
  background: #ffffff;
  font-size: 13px;
}

.say {
  margin: 8px 0;
  padding: 12px 14px;
  border: 1px solid #c9d8e7;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #f6f9fc;
  color: var(--ink);
  font-size: 14px;
}

.question-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.question-list span {
  display: block;
  padding: 9px 10px;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
}

.follow-table {
  margin: 10px 0;
}

.compact-table th,
.compact-table td {
  font-size: 13px;
  padding: 8px;
}

.prefill-step {
  border-left: 5px solid var(--cyan);
}

.seed-fields {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #cfe5ea;
  border-radius: 8px;
  background: #f6fbfc;
}

.seed-fields b {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 13px;
}

.seed-fields div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.seed-fields span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #c9dde5;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 12px;
}

.field-prompts {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.field-prompts div {
  padding: 10px 12px;
  border: 1px solid #c7dff0;
  border-radius: 8px;
  background: #f4fbff;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.field-prompts strong {
  color: var(--blue);
}

.must-ask {
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid #c7dff0;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #f5f9fd;
}

.must-ask p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.must-ask strong {
  color: var(--blue);
}

.must-badge {
  display: none;
}

.interview-console .card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interview-console .card .question-list {
  margin: 0;
}

.tag-workbench table .tag {
  margin-bottom: 0;
}

.tag-flow {
  display: grid;
  grid-template-columns: repeat(9, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.tag-flow span,
.tag-flow strong {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--blue);
  font-size: 13px;
  text-align: center;
}

.tag-flow strong {
  background: #eaf3ee;
  color: var(--green);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.worktop {
  border-left: 6px solid var(--green);
}

.checklist {
  display: grid;
  gap: 10px;
}

.step-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.step-card b {
  color: var(--blue);
}

.tag {
  display: inline-block;
  max-width: 100%;
  padding: 5px 8px;
  margin: 0 5px 7px 0;
  border-radius: 999px;
  font-size: 12px;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.seg { background: var(--blue); }
.need { background: var(--green); }
.concern { background: var(--red); }
.status { background: var(--purple); }

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .flow {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .stage:nth-child(3n)::after {
    content: "→";
  }

  .stage:nth-child(2n)::after {
    content: "";
  }

  .grid-4,
  .grid-3,
  .template-grid,
  .tag-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission,
  .signal-grid,
  .ops-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  header,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero,
  .mission,
  .mission-grid,
  .principles,
  .template-grid,
  .tag-flow,
  .signal-grid,
  .ops-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .flow {
    grid-template-columns: 1fr;
  }

  .stage::after {
    content: "";
  }

  .page-footer {
    flex-direction: column;
  }

  .bar-row,
  .script-step,
  .must-ask {
    grid-template-columns: 1fr;
  }

  .bar-value {
    text-align: left;
  }
}
