/* 纳凝智 99 智能体平台样式 */
:root {
  --nzp-blue: #4169E1;
  --nzp-navy: #0A1F44;
  --nzp-gold: #D4AF37;
  --nzp-input: #F5F7FA;
  --nzp-line: rgba(10, 31, 68, .12);
}

/* ── 顶部搜索 ── */
.nzp-search { position: relative; width: 240px; }
.nzp-search input {
  width: 100%; height: 36px; padding: 0 30px 0 34px;
  border: 1px solid var(--nzp-line); border-radius: 8px;
  background: var(--nzp-input); color: var(--nzp-navy); font-size: 13px;
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.nzp-search input:focus { border-color: var(--nzp-blue); box-shadow: 0 0 0 3px rgba(65, 105, 225, .12); }
.nzp-search .nzp-search-icon { position: absolute; left: 10px; top: 9px; width: 18px; height: 18px; color: #8A94A6; }
.nzp-search .nzp-clear {
  position: absolute; right: 8px; top: 8px; width: 20px; height: 20px;
  border: 0; background: transparent; color: #8A94A6; cursor: pointer; display: none;
}
.nzp-search.has-value .nzp-clear { display: block; }
.nzp-search-dropdown {
  position: absolute; top: 42px; left: 0; width: 360px; max-height: 420px; overflow: auto;
  background: #fff; border: 1px solid var(--nzp-line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(10, 31, 68, .16); padding: 6px; display: none; z-index: 1200;
}
.nzp-search-dropdown.open { display: block; }
.nzp-search-item { display: block; padding: 9px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; }
.nzp-search-item:hover { background: #F2F6FF; }
.nzp-search-item strong { display: block; font-size: 13px; color: var(--nzp-navy); font-weight: 600; }
.nzp-search-item span { display: block; font-size: 11.5px; color: #6B7688; margin-top: 2px; line-height: 1.5; }
.nzp-search-empty { padding: 12px 10px; font-size: 12px; color: #6B7688; }
.nzp-search-hot { padding: 6px 10px 10px; }
.nzp-search-hot b { font-size: 11px; color: #8A94A6; font-weight: 500; display: block; margin-bottom: 6px; }
.nzp-hot-tag {
  display: inline-block; margin: 0 6px 6px 0; padding: 3px 9px; font-size: 11.5px;
  color: var(--nzp-blue); background: #EEF3FF; border-radius: 999px; cursor: pointer;
}

/* ── 行业切换 ── */
.nzp-domain-chip {
  display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px;
  border: 1px solid var(--nzp-line); border-radius: 8px; background: #fff;
  font-size: 12px; color: var(--nzp-navy); cursor: pointer; white-space: nowrap;
}
.nzp-domain-chip:hover { border-color: var(--nzp-blue); color: var(--nzp-blue); }
.nzp-token-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px;
  border-radius: 8px; background: rgba(65, 105, 225, .1); color: var(--nzp-blue);
  font-size: 12px; font-weight: 600; text-decoration: none;
}

/* ── 行业选择弹窗 ── */
.nzp-mask {
  position: fixed; inset: 0; background: rgba(6, 16, 36, .62); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 3000;
}
.nzp-dialog {
  width: min(760px, 100%); background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 24px 70px rgba(4, 12, 30, .4);
}
.nzp-dialog h2 { font-size: 20px; color: var(--nzp-navy); margin: 0 0 6px; }
.nzp-dialog .nzp-sub { font-size: 13px; color: #6B7688; margin: 0 0 20px; }
.nzp-domain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nzp-domain-card {
  border: 1px solid var(--nzp-line); border-radius: 12px; padding: 16px 14px;
  cursor: pointer; text-align: left; background: #fff; transition: all .16s;
}
.nzp-domain-card:hover { border-color: var(--nzp-blue); box-shadow: 0 8px 22px rgba(65, 105, 225, .16); transform: translateY(-2px); }
.nzp-domain-card.active { border-color: var(--nzp-blue); background: #F4F8FF; }
.nzp-domain-card b { display: block; font-size: 14px; color: var(--nzp-navy); }
.nzp-domain-card span { display: block; font-size: 11.5px; color: #7A8496; margin-top: 5px; line-height: 1.55; }
.nzp-skip { margin-top: 18px; text-align: center; font-size: 12.5px; color: #8A94A6; cursor: pointer; }
.nzp-skip:hover { color: var(--nzp-blue); }

/* ── 智能体列表页 ── */
.nzp-page { padding: 96px 0 72px; }
.nzp-page-hero h1 { font-size: 30px; color: var(--nzp-navy); margin: 0 0 10px; }
.nzp-page-hero p { font-size: 14px; color: #67728A; margin: 0 0 22px; }
.nzp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.nzp-chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--nzp-line);
  background: #fff; font-size: 12.5px; color: #45516A; cursor: pointer;
}
.nzp-chip.active { background: var(--nzp-blue); border-color: var(--nzp-blue); color: #fff; }

/* 分类左侧竖排导航 */
.nzp-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 20px; align-items: start; }
.nzp-side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 92px; }
.nzp-sidebtn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 12px 14px; text-align: left; cursor: pointer;
  border: 1px solid rgba(65, 105, 225, .10); border-radius: 12px;
  background: var(--cat-bg, #F5F8FF); color: var(--cat-fg, #2A3448);
  box-shadow: 0 2px 6px rgba(20, 40, 90, .06), inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.nzp-sidebtn b { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.nzp-sidebtn span { font-size: 11.5px; opacity: .72; flex: none; }
.nzp-sidebtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(20, 40, 90, .10), inset 0 1px 0 rgba(255, 255, 255, .8);
  border-color: rgba(65, 105, 225, .30);
}
.nzp-sidebtn.active {
  background: var(--nzp-blue); color: #fff; border-color: var(--nzp-blue);
  box-shadow: 0 8px 20px rgba(65, 105, 225, .30), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.nzp-sidebtn.active span { opacity: .85; }
.nzp-cat-intro {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 18px 20px; margin-bottom: 16px; border-radius: 14px;
  background: linear-gradient(120deg, #F5F8FF, #FFFFFF);
  border: 1px solid #E3EAFA;
  box-shadow: 0 8px 24px rgba(20, 40, 90, .06);
}
.nzp-cat-intro h2 { margin: 0 0 6px; font-size: 18px; color: var(--nzp-navy); }
.nzp-cat-intro p { margin: 0; font-size: 13px; line-height: 1.75; color: #5A6478; }
.nzp-cat-count {
  flex: none; font-size: 12px; font-weight: 700; color: var(--nzp-blue);
  background: #fff; border: 1px solid #DCE6FF; border-radius: 999px; padding: 6px 12px;
}
@media (max-width: 860px) {
  .nzp-layout { grid-template-columns: 1fr; }
  .nzp-side { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .nzp-sidebtn { width: auto; flex: none; }
}
.nzp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.nzp-card {
  border: 1px solid var(--nzp-line); border-radius: 12px; padding: 18px; background: #fff;
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: all .16s;
}
.nzp-card:hover { border-color: var(--nzp-blue); box-shadow: 0 10px 26px rgba(65, 105, 225, .14); transform: translateY(-2px); }
.nzp-card .cat { font-size: 11px; color: var(--nzp-blue); letter-spacing: .04em; }
.nzp-card h3 { font-size: 15.5px; color: var(--nzp-navy); margin: 0; }
.nzp-card p { font-size: 12.5px; color: #6B7688; line-height: 1.65; margin: 0; flex: 1; }
.nzp-card .meta { display: flex; justify-content: space-between; font-size: 11.5px; color: #8A94A6; }
.nzp-empty { padding: 40px 0; text-align: center; color: #6B7688; font-size: 13px; }

/* ── 对话页 ── */
.nzp-chat-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.nzp-chat-head .tag {
  align-self: flex-start; font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: #EEF3FF; color: var(--nzp-blue);
}
.nzp-chat-head h1 { font-size: 24px; color: var(--nzp-navy); margin: 0; }
.nzp-chat-head p { font-size: 13.5px; color: #67728A; margin: 0; }
.nzp-chat-box {
  border: 1px solid var(--nzp-line); border-radius: 14px; background: #fff;
  box-shadow: 0 10px 30px rgba(10, 31, 68, .06); overflow: hidden;
}
.nzp-chat-log { height: 400px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #FBFCFE; }
.nzp-msg { max-width: 82%; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.72; white-space: pre-wrap; word-break: break-word; }
.nzp-msg.user { align-self: flex-end; background: var(--nzp-blue); color: #fff; border-bottom-right-radius: 4px; }
.nzp-msg.assistant { align-self: flex-start; background: #fff; color: #1C2A44; border: 1px solid var(--nzp-line); border-bottom-left-radius: 4px; }
.nzp-msg .cost { display: block; margin-top: 6px; font-size: 10.5px; opacity: .72; }
.nzp-msg.system-tip { align-self: center; background: #FFF7E6; color: #9A6B00; font-size: 12px; }
.nzp-chat-input { border-top: 1px solid var(--nzp-line); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-end; }
.nzp-chat-input textarea {
  flex: 1; min-height: 44px; max-height: 140px; resize: vertical; padding: 11px 12px;
  border: 1px solid var(--nzp-line); border-radius: 10px; font-size: 13.5px; font-family: inherit; outline: none;
}
.nzp-chat-input textarea:focus { border-color: var(--nzp-blue); }
.nzp-btn {
  height: 44px; padding: 0 20px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--nzp-blue); color: #fff; font-size: 13.5px; font-weight: 600;
}
.nzp-btn:disabled { opacity: .55; cursor: not-allowed; }
.nzp-btn.ghost { background: #fff; color: var(--nzp-blue); border: 1px solid var(--nzp-line); }
.nzp-chat-tools { display: flex; align-items: center; gap: 12px; padding: 0 14px 12px; font-size: 12px; color: #8A94A6; }
.nzp-file-btn { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; color: var(--nzp-blue); }
.nzp-locked { padding: 34px; text-align: center; }
.nzp-locked p { font-size: 13.5px; color: #67728A; margin: 0 0 14px; }

/* ── 全局工作台 ── */
.nzp-fab {
  position: fixed; right: 22px; bottom: 24px; z-index: 2400;
  height: 48px; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--nzp-blue); color: #fff; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(65, 105, 225, .42);
}
.nzp-drawer {
  position: fixed; right: 0; top: 0; bottom: 0; width: min(400px, 92vw); z-index: 2500;
  background: #fff; box-shadow: -18px 0 46px rgba(6, 16, 36, .24);
  transform: translateX(102%); transition: transform .24s ease; display: flex; flex-direction: column;
}
.nzp-drawer.open { transform: translateX(0); }
.nzp-drawer-head { padding: 16px 18px; border-bottom: 1px solid var(--nzp-line); display: flex; justify-content: space-between; align-items: center; }
.nzp-drawer-head b { font-size: 14px; color: var(--nzp-navy); }
.nzp-drawer-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FBFCFE; }
.nzp-drawer-foot { border-top: 1px solid var(--nzp-line); padding: 12px; display: flex; gap: 8px; }
.nzp-drawer-foot textarea { flex: 1; min-height: 42px; padding: 10px; border: 1px solid var(--nzp-line); border-radius: 9px; font-family: inherit; font-size: 13px; resize: none; outline: none; }

/* ── 账号弹窗 ── */
.nzp-auth { width: min(420px, 100%); }
.nzp-auth .nzp-tabs { display: flex; gap: 18px; margin-bottom: 18px; }
.nzp-auth .nzp-tabs button { border: 0; background: transparent; font-size: 15px; color: #8A94A6; cursor: pointer; padding: 0 0 6px; }
.nzp-auth .nzp-tabs button.active { color: var(--nzp-navy); font-weight: 700; border-bottom: 2px solid var(--nzp-blue); }
.nzp-field { margin-bottom: 12px; }
.nzp-field label { display: block; font-size: 12px; color: #67728A; margin-bottom: 5px; }
.nzp-field input, .nzp-field select {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--nzp-line);
  border-radius: 8px; font-size: 13.5px; outline: none; background: #fff;
}
.nzp-field input:focus, .nzp-field select:focus { border-color: var(--nzp-blue); }
.nzp-auth .nzp-btn { width: 100%; }
.nzp-auth-tip { font-size: 11.5px; color: #8A94A6; margin-top: 12px; line-height: 1.6; }
.nzp-code-row { display: flex; gap: 8px; }
.nzp-code-row input { flex: 1; min-width: 0; }
.nzp-code-btn { flex: 0 0 auto; padding: 0 14px; border: 1px solid var(--nzp-blue); border-radius: 8px; background: #fff; color: var(--nzp-blue); font-size: 13px; cursor: pointer; white-space: nowrap; }
.nzp-code-btn:disabled { border-color: #C7CEDC; color: #8A93A6; cursor: not-allowed; }
.nzp-error { font-size: 12px; color: #D93025; margin-bottom: 10px; min-height: 16px; }

/* ── 公司实景简介（首页底部） ── */
.nzp-about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.nzp-about-card {
  margin: 0; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid rgba(10, 31, 68, .06);
  box-shadow: 0 14px 36px rgba(10, 31, 68, .09);
}
.nzp-about-card img {
  display: block; width: 100%; height: clamp(210px, 28vw, 360px);
  object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.nzp-about-card:hover img { transform: scale(1.035); }
.nzp-about-card figcaption {
  padding: 13px 16px; text-align: center; font-size: 13px;
  color: #8A94A6; letter-spacing: .04em;
}
.nzp-about-text {
  margin: 28px auto 0; max-width: 780px; text-align: center;
  font-size: 14.5px; line-height: 1.95; color: #5B6B8C;
}
.nzp-about-text a { color: var(--nzp-blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nzp-about-text a:hover { text-decoration: underline; }
.nzp-brand-reg { font-size: .38em; vertical-align: super; color: var(--nzp-gold); margin-left: 2px; font-weight: 700; }
@media (max-width: 760px) {
  .nzp-about-grid { grid-template-columns: 1fr; gap: 16px; }
  .nzp-about-card img { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  .nzp-search { width: 150px; }
  .nzp-domain-grid { grid-template-columns: repeat(2, 1fr); }
  .nzp-page { padding: 88px 0 56px; }
}

/* ── 导航栅格适配（搜索框 + 行业 + Token + 开始对话） ── */
.nav-actions .nav-login { display: none; }
.site-header:not(.scrolled) .nzp-token-chip { background: rgba(255, 255, 255, .2); color: #fff; }
.site-header:not(.scrolled) .nzp-domain-chip { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.site-header:not(.scrolled) .nzp-search input { background: rgba(255, 255, 255, .92); }
@media (max-width: 1440px) {
  .nav-wrap { gap: 18px; }
  .desktop-nav { gap: 16px; }
  .nav-actions { gap: 8px; }
  .nzp-search { width: 190px; }
}
@media (max-width: 1180px) {
  .desktop-nav { gap: 10px; }
  .nav-link { font-size: 12.5px; }
  .nzp-search { width: 160px; }
  .nzp-domain-chip { max-width: 86px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 640px) {
  .nzp-search { width: 132px; }
  .nzp-search-dropdown { width: min(320px, 86vw); left: auto; right: 0; }
  .nzp-token-chip { display: none !important; }
  .nzp-domain-grid { grid-template-columns: 1fr 1fr; }
  .nzp-dialog { padding: 20px; }
  .nzp-chat-log { height: 56vh; min-height: 320px; }
  .nzp-fab { right: 14px; bottom: 14px; }
  .nzp-page-hero h1 { font-size: 24px; }
  .nzp-chat-head h1 { font-size: 20px; }
}

/* ───── 主体选择弹窗 ───── */
.nzp-subject-dialog { max-width: 520px; width: 92vw; }
.nzp-subject-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.nzp-subject-card { position: relative; text-align: left; background: #F7F9FE; border: 1.5px solid #E4E9F5; border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: all .2s; display: flex; flex-direction: column; gap: 4px; font-family: inherit; }
.nzp-subject-card:hover { border-color: #4169E1; background: #EEF3FF; transform: translateY(-1px); }
.nzp-subject-card.recommend { border-color: #4169E1; background: linear-gradient(135deg, #EEF3FF, #F7F9FE); }
.nzp-subject-card u { position: absolute; top: -9px; right: 14px; background: #4169E1; color: #fff; font-size: 11px; font-style: normal; text-decoration: none; padding: 2px 10px; border-radius: 99px; }
.nzp-subject-card b { font-size: 16px; color: #1B2340; }
.nzp-subject-card i { font-style: normal; font-size: 13px; color: #4169E1; font-weight: 600; }
.nzp-subject-card span { font-size: 12px; color: #5A6478; }
.nzp-subject-card em { font-style: normal; font-size: 11px; color: #9AA3B8; }

/* ───── 平行公司警示弹窗 ───── */
.nzp-parallel-dialog { max-width: 560px; width: 92vw; max-height: 86vh; display: flex; flex-direction: column; }
.nzp-parallel-body { overflow-y: auto; flex: 1; padding-right: 4px; }
.nzp-warn-block { margin-bottom: 14px; }
.nzp-warn-block b { display: block; font-size: 14px; color: #1B2340; margin-bottom: 6px; }
.nzp-warn-block ul { margin: 0; padding-left: 18px; }
.nzp-warn-block li { font-size: 13px; color: #5A6478; line-height: 1.7; }
.nzp-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #2A3448; margin-top: 10px; cursor: pointer; }
.nzp-check input { width: 16px; height: 16px; accent-color: #4169E1; }
.nzp-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #EEF1F8; }
.nzp-btn.ghost { background: #F1F3F8; color: #2A3448; }
.nzp-btn:disabled { opacity: .45; cursor: not-allowed; }
.nzp-btn.small { padding: 6px 14px; font-size: 13px; }
.nzp-btn.danger { background: #FFF0F0; color: #C62828; }
.nzp-auth-type { font-size: 12px; color: #4169E1; background: #EEF3FF; border-radius: 8px; padding: 6px 12px; margin-bottom: 12px; }
.nzp-skip { text-align: center; color: #9AA3B8; font-size: 12px; margin-top: 12px; cursor: pointer; }

/* ───── 导航主体切换器 ───── */
.nzp-subject { position: relative; }
.nzp-subject-chip { border: 1px solid #E4E9F5; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; color: #2A3448; cursor: pointer; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: inherit; }
.nzp-subject-chip:hover { border-color: #4169E1; color: #4169E1; }
.nzp-subject-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; background: #fff; border: 1px solid #E4E9F5; border-radius: 14px; box-shadow: 0 12px 40px rgba(27, 35, 64, .12); display: none; z-index: 200; overflow: hidden; }
.nzp-subject-dropdown.open { display: block; }
.nzp-subject-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; cursor: pointer; position: relative; }
.nzp-subject-item:hover { background: #F7F9FE; }
.nzp-subject-item.active { background: #EEF3FF; }
.nzp-subject-item b { font-size: 14px; color: #1B2340; }
.nzp-subject-item span { font-size: 12px; color: #9AA3B8; }
.nzp-subject-item i { position: absolute; right: 14px; top: 14px; font-size: 11px; color: #4169E1; font-style: normal; }
.nzp-subject-manage { border-top: 1px solid #EEF1F8; text-align: center; }
.nzp-subject-manage b { color: #4169E1 !important; }

/* ───── 视图切换 ───── */
.nzp-viewtoggle { display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; }
.nzp-viewtoggle button { border: none; border-radius: 999px; padding: 9px 22px; font-size: 14px; cursor: pointer; background: #F1F3F8; color: #5A6478; font-family: inherit; transition: all .2s; }
.nzp-viewtoggle button.active { background: #4169E1; color: #fff; }
.nzp-view-hint { font-size: 12px; color: #9AA3B8; margin-left: 6px; }

/* ───── 为您推荐 ───── */
.nzp-recommend { margin: 0 0 18px; }
.nzp-recommend-head { font-size: 15px; font-weight: 700; color: #1B2340; margin-bottom: 10px; }
.nzp-recommend-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.nzp-recommend-item { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid #E4E9F5; border-radius: 12px; padding: 12px 14px; text-decoration: none; transition: all .2s; }
.nzp-recommend-item:hover { border-color: #4169E1; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(65, 105, 225, .10); }
.nzp-recommend-item i { font-style: normal; font-size: 11px; color: #4169E1; background: #EEF3FF; align-self: flex-start; padding: 2px 8px; border-radius: 99px; }
.nzp-recommend-item b { font-size: 14px; color: #1B2340; }
.nzp-recommend-item span { font-size: 12px; color: #9AA3B8; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ───── 按顺序模式（生命周期时间线）───── */
.nzp-order-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #EEF3FF; border: 1px solid #D5E0FA; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-size: 13px; color: #2A3448; }
.nzp-order-current { background: linear-gradient(90deg, #4169E1, #6A8BF0); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.nzp-order-current.all-done { background: linear-gradient(90deg, #D4AF37, #E6C96B); color: #3A2E00; }
.nzp-stage { margin-bottom: 22px; }
.nzp-stage > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nzp-stage h3 { font-size: 17px; color: #1B2340; display: flex; align-items: center; gap: 10px; margin: 0; }
.nzp-stage h3 i { font-style: normal; font-size: 11px; background: #4169E1; color: #fff; border-radius: 6px; padding: 3px 8px; }
.nzp-stage.locked h3 i { background: #B7BfD0; }
.nzp-stage-time { font-size: 12px; color: #9AA3B8; font-weight: 400; }
.nzp-stage-prog { font-size: 13px; color: #5A6478; }
.nzp-stage-prog.done { color: #1E9E5A; font-weight: 700; }
.nzp-stage.current > header h3 { color: #4169E1; }
.nzp-stage-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.nzp-stage-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #E4E9F5; border-radius: 14px; padding: 14px 16px 14px 48px; text-decoration: none; transition: all .2s; }
.nzp-stage-card:hover { border-color: #4169E1; box-shadow: 0 8px 24px rgba(65, 105, 225, .10); }
.nzp-stage-card .nzp-seq { position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: #EEF3FF; color: #4169E1; font-size: 12px; font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nzp-stage-card b { font-size: 14px; color: #1B2340; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nzp-stage-card > span { font-size: 12px; color: #9AA3B8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nzp-stage-card .nzp-meta { display: flex; gap: 10px; font-size: 11px; color: #9AA3B8; }
.nzp-stage-card .nzp-tag { background: #F1F3F8; border-radius: 6px; padding: 2px 8px; }
.nzp-stage-card.done { border-color: #BEE3CD; background: #F6FCF8; }
.nzp-done-mark { font-style: normal; text-decoration: none; font-size: 11px; color: #1E9E5A; font-weight: 700; }
.nzp-stage-card.lock { opacity: .55; cursor: not-allowed; background: #F7F8FB; }
.nzp-stage-card.lock:hover { border-color: #E4E9F5; box-shadow: none; }
.nzp-stage-card .nzp-lock { font-style: normal; font-size: 11px; color: #B78103; }
.nzp-order-progress { position: sticky; bottom: 14px; background: #fff; border: 1px solid #E4E9F5; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 8px 24px rgba(27, 35, 64, .08); }
.nzp-order-progress-bar { flex: 1; height: 8px; background: #F1F3F8; border-radius: 99px; overflow: hidden; }
.nzp-order-progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, #4169E1, #6A8BF0); border-radius: 99px; transition: width .4s; }
.nzp-order-progress span { font-size: 12px; color: #5A6478; white-space: nowrap; }

/* ───── 主体管理页 / 看板 / 警示 / 迁移 ───── */
.nzp-subject-listbox { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.nzp-subject-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1.5px solid #E4E9F5; border-radius: 14px; padding: 16px 18px; flex-wrap: wrap; }
.nzp-subject-row.current { border-color: #4169E1; background: #F7FAFF; }
.nzp-subject-info b { font-size: 15px; color: #1B2340; display: flex; align-items: center; gap: 8px; }
.nzp-cur-badge { font-style: normal; font-size: 11px; background: #4169E1; color: #fff; border-radius: 99px; padding: 2px 10px; }
.nzp-subject-info span { display: block; font-size: 12px; color: #9AA3B8; margin-top: 4px; }
.nzp-ok { color: #1E9E5A; font-style: normal; }
.nzp-warn-txt { color: #B78103; font-style: normal; }
.nzp-subject-ops { display: flex; gap: 8px; }
.nzp-board, .nzp-alerts, .nzp-migrate { background: #fff; border: 1px solid #E4E9F5; border-radius: 16px; padding: 20px 22px; margin-top: 22px; }
.nzp-board h2, .nzp-alerts h2, .nzp-migrate h2 { font-size: 17px; color: #1B2340; margin: 0 0 14px; }
.nzp-board-sub { font-size: 12px; color: #9AA3B8; font-weight: 400; }
.nzp-board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.nzp-stat { background: #F7F9FE; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.nzp-stat i { font-style: normal; font-size: 12px; color: #9AA3B8; }
.nzp-stat b { font-size: 20px; color: #1B2340; }
.nzp-stat span { font-size: 11px; color: #9AA3B8; }
.nzp-alert-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.nzp-alert-item { background: #FFFBF2; border: 1px solid #F3E3B3; border-radius: 12px; padding: 12px 14px; }
.nzp-alert-item b { display: block; font-size: 13px; color: #8A6508; margin-bottom: 4px; }
.nzp-alert-item span { font-size: 12px; color: #7A7057; line-height: 1.6; }
.nzp-migrate-tip { font-size: 12px; color: #9AA3B8; margin: -6px 0 14px; }
.nzp-migrate-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.nzp-migrate-step { display: flex; gap: 12px; background: #F7F9FE; border-radius: 12px; padding: 14px; }
.nzp-migrate-step i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: #4169E1; color: #fff; font-style: normal; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.nzp-migrate-step b { display: block; font-size: 13px; color: #1B2340; margin-bottom: 3px; }
.nzp-migrate-step span { font-size: 12px; color: #9AA3B8; line-height: 1.5; }

/* ───── 成长路径金字塔 ───── */
.nzp-growth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.nzp-pyramid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nzp-py-layer { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: all .25s; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); padding: 22px 10px; text-align: center; }
.nzp-py-0 { width: 42%; background: #D4AF37; }
.nzp-py-1 { width: 60%; background: #1E3A8A; }
.nzp-py-2 { width: 78%; background: #4169E1; }
.nzp-py-3 { width: 96%; background: #9DB7F5; color: #1B2340; }
.nzp-py-layer b { font-size: 15px; }
.nzp-py-layer span { font-size: 11px; opacity: .85; }
.nzp-py-layer:hover { filter: brightness(1.06); transform: scale(1.02); }
.nzp-py-layer.active { outline: 3px solid #1B2340; outline-offset: 2px; }
.nzp-py-you { text-align: center; margin-top: 16px; font-size: 13px; color: #5A6478; background: #F7F9FE; border-radius: 10px; padding: 10px; }
.nzp-py-you b { color: #4169E1; }
.nzp-py-detail h3 { font-size: 18px; color: #1B2340; margin: 0 0 8px; }
.nzp-py-detail p { font-size: 13px; color: #5A6478; line-height: 1.7; margin: 0 0 14px; }
.nzp-py-row { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.nzp-py-row b { flex-shrink: 0; color: #1B2340; }
.nzp-py-row span { color: #5A6478; line-height: 1.6; }
.nzp-py-cta { margin-top: 20px; background: #EEF3FF; border: 1px solid #D5E0FA; border-radius: 14px; padding: 16px 18px; }
.nzp-py-cta b { font-size: 15px; color: #1B2340; }
.nzp-py-cta p { font-size: 13px; color: #5A6478; margin: 8px 0 12px; }

/* ───── 新手引导 ───── */
.nzp-onboard { max-width: 560px; width: 92vw; }
.nzp-onboard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.nzp-onboard-foot .nzp-skip { margin: 0; }

@media (max-width: 900px) {
  .nzp-growth-layout { grid-template-columns: 1fr; }
  .nzp-subject { display: none; }
}

