/* 金蝶学习中心 ↔ nocod.cn 双站导流 · 默认折叠不挡阅读，桌面端完整展示 */
.kd-bridge-details {
  max-width: 80rem;
  margin: 0 auto 0.75rem;
  padding: 0 1rem;
}
.kd-bridge-summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  padding: 0.45rem 0.75rem;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  user-select: none;
}
.kd-bridge-summary::-webkit-details-marker {
  display: none;
}
.kd-bridge-summary::after {
  content: " ▾";
  font-size: 0.7rem;
  opacity: 0.7;
}
.kd-bridge-details[open] .kd-bridge-summary::after {
  content: " ▴";
}
.kd-bridge-wrap {
  margin: 0.5rem 0 0;
}
.kd-bridge {
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.45rem;
  border: 1px solid #dbeafe;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}
.kd-bridge--biz {
  border-color: #a7f3d0;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}
.kd-bridge-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.4rem;
}
.kd-bridge-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #1e40af;
}
.kd-bridge--biz .kd-bridge-label {
  color: #047857;
}
.kd-bridge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.kd-bridge-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  background: #fff;
  color: #1d4ed8;
}
.kd-bridge--biz .kd-bridge-links a {
  border-color: #a7f3d0;
  color: #047857;
}
.kd-bridge-note {
  font-size: 0.65rem;
  color: #64748b;
  margin: 0.3rem 0 0;
  line-height: 1.45;
}
a.cap-tag {
  text-decoration: none;
}
a.cap-tag:hover {
  background: #e0e7ff;
  border-color: #818cf8;
}
.kd-scene-next {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  line-height: 1.5;
}
.kd-scene-next--compact {
  margin-top: 0.65rem;
}
.kd-scene-next a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.kd-scene-next a:hover {
  text-decoration: underline;
}
.kd-scene-sep {
  margin: 0 0.25rem;
  color: #cbd5e1;
}

@media (min-width: 768px) {
  .kd-bridge-details > .kd-bridge-summary {
    display: none;
  }
  .kd-bridge-details .kd-bridge-wrap {
    display: block;
  }
  .kd-bridge-label {
    font-size: 0.75rem;
  }
  .kd-bridge-links a {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
  }
}

@media (max-width: 767px) {
  .kd-bridge-details:not([open]) .kd-bridge-wrap {
    display: none;
  }
  .kd-bridge-note {
    display: none;
  }
  .kd-bridge-details[open] .kd-bridge-note {
    display: block;
  }
}
