/* NPI 导入页专有样式（page-npi：NPI 导入与量产转移，简中/繁中/英文三语共用） */

/* 阶段门编号：等宽感的小方块，用于表格首列与折叠标题 */
.npi-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 2px 8px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-s);
  background: var(--bg-soft);
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}

.prose table td .npi-gate { margin-right: 2px; }

/* 表格里的门次列不参与换行折断 */
.prose table th:first-child,
.prose table td:first-child { white-space: nowrap; }

/* 结论式提示块：用于「把做过变成可查」这类一句话结论 */
.npi-callout {
  margin: 1.4em 0 2em;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 0.98rem;
}
.npi-callout strong { color: var(--brand); }

/* 做什么 / 不做什么 两张卡内的分条 */
.prose .npi-split { margin-bottom: 1.6em; }
.prose .npi-split .card { display: flex; flex-direction: column; gap: 8px; }
.prose .npi-split .card h3 { margin: 0; }
.prose .npi-split .card ul { margin: 0; padding-left: 1.1em; font-size: 0.94rem; }
.prose .npi-split .card ul li { margin-bottom: 9px; }
.prose .npi-split .card ul li:last-child { margin-bottom: 0; }
.prose .npi-split .card ul li strong { color: var(--ink); }

/* 失败折叠区的门次标题 */
.prose .faq summary .npi-gate { margin-right: 8px; }

/* 计费表在窄屏下允许横向滚动，首列不压缩 */
@media (max-width: 720px) {
  .prose .npi-split .card ul { font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .prose .npi-split .card { transition: none; }
}

/* 表单集下载块（NPI 表单页与 NPI 页共用） */
.npi-dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 0 0 1.2em;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-l);
  background: var(--bg-soft);
}
.npi-dl h2 { margin: 0 0 8px; font-size: 1.3rem; }
.npi-dl p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.npi-dl-kicker {
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.npi-dl .btn { white-space: nowrap; }

@media (max-width: 720px) {
  .npi-dl { grid-template-columns: 1fr; padding: 22px 20px; }
  .npi-dl .btn { justify-self: start; }
}
