.panke-detail {
  margin: -20px;
  min-height: calc(100% + 40px);
  padding: 10px 20px 32px;
  background: #f4f6fa;
  color: #1f2937;
  font-size: 13px;
}
.pd-summary,
.pd-section {
  background: #fff;
  border: 1px solid #e8ebf0;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05), 0 1px 2px rgba(16, 24, 40, 0.03);
}
.pd-sticky-head {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0 0 12px;
  background: #f4f6fa;
}
.pd-summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 10px 40px 10px 16px;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #e8ebf0;
}
.pd-summary-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  min-width: 0;
  font-size: 12.5px;
  color: #4b5563;
}
.pd-name {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}
.pd-identity {
  color: #4b5563;
  font-size: 12.5px;
  white-space: nowrap;
}
.pd-hd-sep {
  width: 1px;
  height: 16px;
  background: #e8ebf0;
  flex-shrink: 0;
}
.pd-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  line-height: 18px;
  padding: 0 8px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid transparent;
}
.pd-badge-intent.is-high {
  color: #c0392b;
  background: #fdecea;
  border-color: #f3c4bf;
}
.pd-badge-intent.is-mid {
  color: #b26a00;
  background: #fff3e0;
  border-color: #fbd9a8;
}
.pd-badge-intent.is-low {
  color: #8a94a6;
  background: #f1f3f7;
  border-color: #e2e6ee;
}
.pd-badge-stage {
  color: #1e5eff;
  background: #e8efff;
  border-color: #c9daff;
}
.pd-summary-desc {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
}
.pd-summary-status {
  flex-shrink: 0;
}
.pd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e5eff;
  flex-shrink: 0;
}
.pd-status-dot.is-lost {
  background: #ef4444;
}
.pd-status-dot.is-deal {
  background: #10b981;
}
.pd-section {
  margin: 0;
  padding: 12px 16px 16px;
  border-top: none;
  border-radius: 0;
}
.pd-section:not(.pd-panke) {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 10px -8px rgba(16, 24, 40, 0.18);
}
.pd-section.pd-panke {
  border-radius: 12px;
  padding-bottom: 18px;
  border-top: 1px solid #e8ebf0;
}
.pd-section-hd {
  margin-bottom: 6px;
}
.pd-section-hd h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.pd-section-hd h3::before {
  content: "";
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #1e5eff;
}
.pd-hd-sub {
  font-size: 12px;
  font-weight: 400;
  color: #8a94a6;
}
.pd-edit .pd-hd-sub {
  color: #1246c8;
}
.pd-edit-status {
  font-size: 12px;
  color: #1246c8;
  font-weight: 600;
  white-space: nowrap;
}
.pd-edit-changed {
  font-size: 11.5px;
  color: #8a94a6;
  white-space: nowrap;
}
.pd-section-hd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pd-hint,
.pd-sub {
  margin: 0;
  font-size: 11.5px;
  color: #8a94a6;
  line-height: 1.5;
}
.pd-timeline-wrap {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}
.pd-timeline-wrap::-webkit-scrollbar {
  height: 6px;
}
.pd-timeline-wrap::-webkit-scrollbar-thumb {
  background: #d5dbe3;
  border-radius: 999px;
}
.pd-timeline {
  --node-w: 380px;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--node-w);
  width: -moz-max-content;
  width: max-content;
  gap: 16px;
  padding: 36px 2px 8px;
}
.pd-timeline::before {
  content: "";
  position: absolute;
  left: calc(2px + var(--node-w) / 2);
  right: calc(2px + var(--node-w) / 2);
  top: 17px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8d8ee 0%, #b7cbe6 100%);
}
.pd-timeline.is-single::before {
  display: none;
}
.pd-node-dot {
  position: absolute;
  left: 50%;
  top: -26px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #9fb4d0;
  box-shadow: 0 0 0 2px #fff;
  box-sizing: border-box;
  transform: translateX(-50%);
  pointer-events: none;
}
.pd-node-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9fb4d0;
  transform: translate(-50%, -50%);
}
.pd-node-dot.active {
  border-color: #1e5eff;
  box-shadow: 0 0 0 4px rgba(30, 94, 255, 0.12), 0 0 0 2px #fff;
}
.pd-node-dot.active::after {
  background: #1e5eff;
}
.pd-node {
  position: relative;
  min-width: 0;
  border: 1px solid #d9e3f0;
  border-radius: 8px;
  padding: 7px 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.pd-node:hover {
  border-color: #9fc0ec;
  box-shadow: 0 4px 14px rgba(30, 94, 255, 0.08);
}
.pd-node.active {
  border-color: #7db5ff;
  background: #f7fbff;
  box-shadow: 0 0 0 1px rgba(30, 94, 255, 0.08), 0 6px 18px rgba(30, 94, 255, 0.08);
}
.pd-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-bottom: 3px;
  min-height: 18px;
  flex-wrap: nowrap;
}
.pd-node-top-left {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.pd-node-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pd-node.active .pd-node-title {
  color: #1246c8;
}
.pd-latest-tag {
  flex-shrink: 0;
  font-size: 9.5px;
  line-height: 16px;
  color: #1246c8;
  background: #e8efff;
  border: 1px solid #c9daff;
  border-radius: 4px;
  padding: 0 5px;
}
.pd-node-time {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10.5px;
  color: #8a94a6;
  cursor: pointer;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pd-node-time i {
  margin-right: 2px;
  color: #1e5eff;
}
.pd-node-time:hover {
  color: #1e5eff;
  text-decoration: underline;
}
.pd-node-snap {
  font-size: 11.5px;
  line-height: 1.58;
  color: #1f2937;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}
.pd-snap-label {
  margin-right: 4px;
  color: #8a94a6;
  font-size: 11.5px;
}
.pd-qsrc {
  margin-left: 4px;
  font-style: normal;
  font-size: 10px;
  color: #8a94a6;
  background: #f1f3f7;
  border: 1px solid #e2e6ee;
  border-radius: 4px;
  padding: 0 4px;
}
.pd-node-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed #e8ebf0;
}
.pd-node-purpose {
  font-size: 12px;
  color: #4b5563;
  line-height: 20px;
}
.pd-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0 7px;
  line-height: 19px;
  border-radius: 10px;
  background: #f2f4f7;
  color: #1f2937;
  font-size: 12px;
}
.pd-chip.intent-high {
  color: #c0392b;
  background: #fdecea;
}
.pd-chip.intent-mid {
  color: #b26a00;
  background: #fff3e0;
}
.pd-chip.intent-low {
  color: #8a94a6;
  background: #f1f3f7;
}
.pd-chip.follow, .pd-chip.deal, .pd-chip.lost {
  background: transparent;
  color: #4b5563;
  padding: 0;
}
.pd-chip.deal .pd-chip-dot {
  background: #10b981;
}
.pd-chip.lost .pd-chip-dot {
  background: #ef4444;
}
.pd-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1e5eff;
}
.pd-block {
  margin-top: 18px;
  padding-top: 0;
}
.pd-block-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}
.pd-block-bar {
  width: 3px;
  height: 14px;
  background: #1e5eff;
  border-radius: 2px;
  flex-shrink: 0;
}
.pd-section-hd h3 .pd-block-bar {
  display: none;
}
.pd-block-tip,
.pd-progress-sep,
.pd-progress-tip {
  font-size: 12px;
  font-weight: 400;
  color: #8a94a6;
}
.pd-progress-num {
  font-size: 12px;
  color: #1f2937;
  font-weight: 700;
}
.pd-progress-bar {
  width: 120px;
}
.pd-block-title-row {
  justify-content: space-between;
  align-items: center;
}
.pd-block-title-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.pd-field-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 0 auto;
}
.pd-ftab {
  height: 26px;
  padding: 0 11px;
  border-radius: 20px;
  border: 1px solid #e8ebf0;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}
.pd-ftab:hover {
  border-color: #c9daff;
  color: #1e5eff;
}
.pd-ftab.active {
  background: #1e5eff;
  border-color: #1e5eff;
  color: #fff;
  font-weight: 600;
}
.pd-group {
  border: 1px solid #e8ebf0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
}
.pd-group-hd {
  background: #e8efff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid #1e5eff;
  border-top: 1px solid #c9daff;
}
.pd-group-bar {
  display: none;
}
.pd-group-body {
  display: grid;
  gap: 0;
  background: #fff;
}
.pd-group-body.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pd-group-body.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pd-field {
  display: flex;
  min-height: 0;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  font-size: 12.5px;
}
.cols-3 .pd-field:nth-child(3n),
.cols-2 .pd-field:nth-child(2n) {
  border-right: none;
}
.pd-field-label {
  width: 118px;
  flex-shrink: 0;
  padding: 5px 10px;
  background: #fafafa;
  color: #4b5563;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.5;
}
.pd-field.is-pairs {
  grid-column: 1/-1;
  border-right: none;
}
.pd-field-value {
  flex: 1;
  padding: 5px 10px;
  color: #1f2937;
  display: flex;
  align-items: center;
  word-break: break-word;
  min-width: 0;
  line-height: 1.5;
}
.pd-field.is-pairs .pd-field-value,
.pd-edit-control:has(.pd-pairs) {
  align-items: flex-start;
}
.pd-pairs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.pd-pairs > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
}
.pd-pairs em {
  flex: 0 0 4.5em;
  color: #64748b;
  font-style: normal;
  background: none;
}
.pd-pairs b {
  font-weight: 500;
  color: #1f2937;
}
.pd-pairs b.is-yes {
  color: #078b4d;
}
.pd-pairs b.is-no {
  color: #dc2626;
}
.pd-pending {
  display: inline-block;
  padding: 0 8px;
  border-radius: 20px;
  background: #fff3e0;
  color: #b26a00;
  border: 1px solid #fbd9a8;
  font-size: 12px;
  line-height: 18px;
}
.pd-tag-new,
.pd-tag-mod {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  padding: 0 4px;
  line-height: 16px;
}
.pd-tag-new {
  color: #0b8a5f;
  background: #e6f7f0;
  border: 1px solid #bfe9d6;
}
.pd-tag-mod {
  color: #0f4ea8;
  background: #eef4ff;
  border: 1px solid #d5e4ff;
}
.pd-empty {
  text-align: center;
  color: #8a94a6;
  font-size: 12px;
  padding: 24px 0;
}
.pd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pd-actions .el-button {
  height: 28px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  border-color: #e8ebf0;
  color: #4b5563;
}
.pd-actions .el-button--primary {
  background: #1e5eff;
  border-color: #1e5eff;
  color: #fff;
}
.pd-actions .el-button--text {
  border: 0;
  color: #1e5eff;
  padding: 0 4px;
}
.pd-edit-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: #fff;
}
.pd-edit-field {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding: 6px 10px;
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #f0f0f0;
  box-sizing: border-box;
}
.pd-edit-field.full {
  grid-column: 1/-1;
  border-right: none;
}
.pd-edit-field:nth-child(2n) {
  border-right: none;
}
.pd-edit-label {
  width: 118px;
  flex-shrink: 0;
  font-size: 12px;
  color: #4b5563;
  line-height: 28px;
  padding-right: 8px;
}
.pd-edit-control {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-edit-control .el-select,
.pd-edit-control .el-input {
  flex: 1;
  min-width: 120px;
}
.pd-edit-control .el-input__inner {
  height: 28px;
  line-height: 28px;
  border-radius: 6px;
  border-color: #e8ebf0;
  font-size: 12.5px;
  color: #1f2937;
}
.pd-edit-control .el-input__inner:focus {
  border-color: #1e5eff;
}
.pd-edit-text {
  font-size: 12.5px;
  color: #4b5563;
  line-height: 28px;
}
.pd-src-badge {
  display: inline-block;
  line-height: 16px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 10px;
  flex-shrink: 0;
}
.pd-src-badge.is-sys {
  color: #8a94a6;
  background: #f1f3f7;
  border: 1px solid #e2e6ee;
}
.pd-src-badge.is-ai {
  color: #6d28d9;
  background: #f1ecfe;
  border: 1px solid #d8ccf7;
}
.pd-progress-bar .el-progress-bar__outer {
  height: 6px !important;
  background: #eef1f5;
  border-radius: 3px;
}
.pd-progress-bar .el-progress-bar__inner {
  background: #1e5eff;
  border-radius: 3px;
}
@media (max-width: 1100px) {
.pd-group-body.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols-3 .pd-field:nth-child(3n) {
    border-right: 1px solid #f0f0f0;
}
.cols-3 .pd-field:nth-child(2n) {
    border-right: none;
}
}
@media (max-width: 720px) {
.pd-group-body.cols-3,
.pd-group-body.cols-2,
.pd-edit-body {
    grid-template-columns: 1fr;
}
.pd-field,
.pd-edit-field {
    border-right: none !important;
}
.pd-field-label,
.pd-edit-label {
    width: 110px;
}
.pd-edit-field.full {
    grid-column: auto;
}
.pd-timeline::before,
.pd-node-dot {
    display: none;
}
.pd-timeline {
    padding-top: 4px;
}
.pd-summary-desc {
    min-width: 0;
}
}
