body { background: #fff; }
.series-detail-container { padding: 24px 0; }

/* 面包屑 */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 14px; }
.breadcrumb a { color: #3b82f6; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #2563eb; text-decoration: underline; }
.breadcrumb-sep { color: #9ca3af; font-size: 10px; }
.breadcrumb-current { color: #6b7280; font-weight: 500; }

/* 标题 */
.series-title { margin: 0 0 24px; color: #1f2937; font-size: 28px; }

/* CKEditor 表格滚动包装层 */
.ck-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0;
}
.ck-table-scroll::-webkit-scrollbar { height: 8px; }
.ck-table-scroll::-webkit-scrollbar-track { background: #eef2f7; border-radius: 999px; }
.ck-table-scroll::-webkit-scrollbar-thumb { background: #c4ced9; border-radius: 999px; }
.ck-table-scroll::-webkit-scrollbar-thumb:hover { background: #aeb9c6; }
.ck-table-scroll table { margin: 0; }

/* CKEditor 渲染内容 */
.ck-content { line-height: 1.8; word-break: break-word; font-size: 14px; }
.ck-content img { display: inline-block; max-width: 100%; height: auto !important; border-radius: 6px; vertical-align: top; margin: 2px 0; }
/* p 内多图 gallery */
.ck-content p:has(img + img) img { max-width: 48%; }
.ck-content p:has(img + img + img) img { max-width: 32%; }
.ck-content figure { display: inline-block; }
.ck-content figcaption { text-align: center; }
.ck-content table { width: max-content; border-collapse: collapse; margin: 0; }
.ck-content table td, .ck-content table th { border: 1px solid #e5e7eb; padding: 6px 12px; font-size: 12px; max-width: 600px; overflow-wrap: anywhere; }
.ck-content table th { background: #f9fafb; font-weight: 600; }
.ck-content a { color: #3b82f6; }
.ck-content a:hover { text-decoration: underline; }
.ck-content h1, .ck-content h2, .ck-content h3, .ck-content h4 { color: #374151; }
.ck-content ul { margin-top: 0; }
.ck-content h3 { margin-top: 12px; font-size: 16px; }
.ck-content h4 { margin: 8px 0 0; font-size: 14px; }

/* Part Number table */
.pn-table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.pn-table-scroll::-webkit-scrollbar { height: 8px; }
.pn-table-scroll::-webkit-scrollbar-track { background: #eef2f7; border-radius: 999px; }
.pn-table-scroll::-webkit-scrollbar-thumb { background: #c4ced9; border-radius: 999px; }
.pn-table-scroll::-webkit-scrollbar-thumb:hover { background: #aeb9c6; }
.pn-table {
  border-collapse: collapse;
  width: max-content;
  table-layout: fixed;
}
.pn-table th,
.pn-table td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  vertical-align: top;
}
.pn-row-label {
  width: 140px;
  min-width: 140px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.pn-key-cell {
  background: #f9fbff;
  color: #1f2937;
  font-weight: 600;
  white-space: nowrap;
}
.pn-key-cell,
.pn-explain-cell {
  max-width: 400px;
  overflow-wrap: anywhere;
}
.pn-explain-cell {
  color: #1f2937;
}
.pn-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #2563eb;
  font-weight: 700;
}
.pn-meaning {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* 文件列表 */
.file-list { list-style: none; margin: 0; padding: 0; }
.file-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3f4f6; min-width: 0; }
.file-item:last-child { border-bottom: none; }
.file-icon { color: #ef4444; font-size: 20px; margin-right: 12px; flex-shrink: 0; }
.file-link { color: #3b82f6; text-decoration: none; font-size: 16px; overflow-wrap: anywhere; min-width: 0; }
.file-link:hover { text-decoration: underline; color: #2563eb; }

/* 响应式 */
@media (max-width: 480px) {
  .series-title { font-size: 22px; }
  .ck-content table td, .ck-content table th { max-width: 320px; }
  .pn-key-cell, .pn-explain-cell { max-width: 320px; }
}
