/* 人体专业知识 · 信息采集（collection）路由样式
   来源：素材/Human-Professional-Knowledge modules/collection.css 全部 collection- 规则
        + styles/95-brand-visual-unification.css 中 collection- 相关最终覆盖（圆角 / hero 渐变竖条 / 徽章胶囊），
          已按最终合成效果合入；数据库资料区（observation-database-details / database-*）取自 styles/40-observation-detail.css。
   适配：模块 monochrome-dark-v1 灰阶体系（--hk-panel / --hk-panel-secondary / --hk-border / --hk-border-strong /
        --hk-muted / --hk-strong / --hk-faint）。映射约定：面板与边框 → --hk-*；正文墨色 → --hk-strong/--hk-muted/--hk-faint；
        原版带浅底强调色的徽章 / 序号 / 信号框为自洽配色对，成对保留原值；
        原落在浅色底上的独立彩色标签（蓝 / 青 / 橙 / 靛 / 琥珀）按同色相提亮为 --cr-label-*，保持色彩语义可读。
   新增：.collection-list-group（9 筛选 tab 的组标题，真筛选见 human-knowledge.js）、a.ghost-button / a.solid-button（原版按钮改锚点）。 */

.collection-workspace {
  --cr-label-blue: #e5e5e5;
  --cr-label-teal: #e5e5e5;
  --cr-label-warn: #b3b3b3;
  --cr-label-indigo: #a9adf9;
  --cr-label-amber: #b3b3b3;
  min-height: 100%;
  padding: 18px 22px 34px;
  color: var(--hk-strong, #e5e5e5);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

/* 模块约定：暗色主题下图标反色；原文本按钮改为锚点后统一去下划线并保持按钮外观 */
.collection-workspace img { filter: invert(1); height: 1.1rem; opacity: .72; width: 1.1rem; }
.collection-workspace a { text-decoration: none; }
.collection-workspace [id] { scroll-margin-top: 96px; }

/* ── 左侧浏览器 ─────────────────────────────────────── */
.collection-browser {
  position: sticky;
  top: 16px;
  min-width: 0;
  height: min(680px, calc(100vh - 64px));
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px 10px;
  display: grid;
  /* 三行=搜索行+筛选tabs+列表壳（还原原版 collection.css 四行结构中迁移保留的部分）；
     2026-09-25 修复：插入搜索行后行模板未同步，列表上溢遮挡 tabs（审计发现） */
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
}

.collection-browser-head {
  display: grid;
  gap: 2px;
  padding: 2px 2px 0;
}

.collection-browser-head strong {
  font-size: 18px;
  line-height: 1.25;
  color: var(--hk-strong, #e5e5e5);
}

.collection-browser-head span,
.collection-list-item span,
.collection-list-item small,
.collection-section-head span,
.collection-detail-hero span,
.collection-mini-record span {
  color: var(--hk-muted, #b3b3b3);
  font-size: 12px;
}

/* 筛选 tab 为真筛选（human-knowledge.js:580-647，原版 collection.js:1413-1427；原 button → a + data-cfilter-tab） */
.collection-filter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.collection-filter-tabs a {
  min-width: 0;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  color: var(--hk-strong, #e5e5e5);
  padding: 7px 5px;
  display: grid;
  gap: 1px;
}

.collection-filter-tabs a:hover,
.collection-filter-tabs a:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
}

.collection-filter-tabs strong {
  font-size: 12px;
  line-height: 1.2;
}

.collection-filter-tabs span {
  color: var(--hk-muted, #b3b3b3);
  font-size: 12px;
}

.collection-list-shell {
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
}

.collection-list-shell::-webkit-scrollbar,
.collection-detail-view::-webkit-scrollbar {
  width: 10px;
}

.collection-list-shell::-webkit-scrollbar-thumb,
.collection-detail-view::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(95, 112, 132, 0.34);
  background-clip: content-box;
}

.collection-list {
  display: grid;
  gap: 8px;
}

/* 新增：静态分组的组标题（原筛选 tab 的锚点落点） */
.collection-list-group {
  margin: 6px 2px 0;
  padding: 2px 2px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.collection-list-group strong {
  color: var(--hk-faint, #7a7a7a);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.collection-list-group span {
  color: var(--hk-faint, #7a7a7a);
  font-size: 11px;
}

.collection-list-group:first-child {
  margin-top: 0;
}

.collection-list-item {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  padding: 10px 11px;
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.collection-list-item strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.35;
}

.collection-list-item small {
  line-height: 1.45;
}

.collection-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* 浅底蓝字徽章：自洽配色对，保留原值 */
.collection-list-tags em {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  padding: 3px 7px;
}

.collection-list-item.active {
  border-color: rgba(255, 255, 255, 0.36);
  background: var(--hk-panel-secondary, #242424);
  box-shadow: inset 3px 0 0 #e5e5e5;
}

.collection-list-item:hover,
.collection-mini-record:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* ── 右侧详情视图 ───────────────────────────────────── */
.collection-detail-view {
  min-width: 0;
}

.collection-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  position: relative;
  overflow: hidden;
  padding: 16px 16px 16px 24px;
  margin-bottom: 16px;
}

/* 品牌层 hero 渐变竖条，保留原值 */
.collection-detail-hero::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 999px;
  background: var(--hk-chip-bg);
}

.collection-detail-hero.compact {
  align-items: start;
}

/* 采集表象信号框：浅底蓝字自洽配色对，整体保留原值 */
.collection-material-signal {
  min-width: 112px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  padding: 12px 14px;
  text-align: center;
}

.collection-material-signal span,
.collection-material-signal small {
  display: block;
  color: var(--hk-strong, #e5e5e5);
  font-size: 12px;
  font-weight: 800;
}

.collection-material-signal strong {
  display: block;
  margin: 4px 0;
  color: var(--hk-strong, #e5e5e5);
  font-size: 28px;
  line-height: 1;
}

.collection-detail-hero h1 {
  margin: 4px 0 6px;
  color: var(--hk-strong, #e5e5e5);
  font-size: 28px;
  line-height: 1.22;
}

.collection-detail-hero p,
.collection-stat-card p,
.collection-rule-card p,
.collection-source-group-list p,
.collection-version-row p,
.collection-quality-path p,
.collection-compact-list p,
.collection-mini-record p,
.collection-table-row p,
.collection-handoff-checklist p,
.collection-next-grid p,
.collection-evidence-card p,
.collection-workbench-panel p,
.collection-workbench-chain-list p,
.collection-observation-bridge-card p {
  margin: 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.65;
}

/* ── 段落外壳 / 领句 ───────────────────────────────── */
.collection-detail-section {
  margin: 0 0 18px;
}

.collection-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 10px;
}

.collection-section-head h2 {
  margin: 0;
  color: var(--hk-strong, #e5e5e5);
  font-size: 18px;
}

.collection-section-head p {
  margin: 4px 0 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.55;
}

.collection-model-lead {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  padding: 14px;
}

.collection-model-lead strong {
  display: block;
  color: var(--hk-strong, #e5e5e5);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.collection-model-lead.compact strong {
  font-size: 16px;
}

.collection-model-lead p {
  margin: 0;
  color: var(--hk-strong, #e5e5e5);
  line-height: 1.7;
}

.collection-insight-grid + .collection-model-lead,
.collection-model-lead + .collection-flow-actions {
  margin-top: 10px;
}

/* ── 卡片通用底版（原版多选择器合并的 1px 边白卡） ─── */
.collection-flow-steps article,
.collection-quality-path article,
.collection-version-row,
.collection-stat-card,
.collection-decision-card,
.collection-rule-cluster,
.collection-rule-card,
.collection-compact-list article,
.collection-handoff-checklist article,
.collection-next-grid article,
.collection-lane-grid article,
.collection-boundary-panel article,
.collection-output-grid article,
.collection-insight-card,
.collection-mini-record {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px;
}

.collection-flow-steps article,
.collection-quality-path article,
.collection-compact-list article,
.collection-handoff-checklist article,
.collection-next-grid article,
.collection-lane-grid article,
.collection-boundary-panel article,
.collection-output-grid article {
  display: grid;
  gap: 7px;
  align-content: start;
}

/* ── 采集项目总控台 ─────────────────────────────────── */
.collection-evidence-desk {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.collection-evidence-desk-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-content: start;
}

/* 青底字母块：自洽配色对，保留原值 */
.collection-evidence-desk-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
}

.collection-evidence-desk-card span,
.collection-evidence-desk-card small {
  display: block;
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.collection-evidence-desk-card strong {
  display: block;
  margin: 3px 0 5px;
  color: var(--hk-strong, #e5e5e5);
  font-size: 16px;
  line-height: 1.3;
}

.collection-evidence-desk-card p {
  margin: 0 0 7px;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.58;
}

.collection-evidence-desk-card > .ghost-button,
.collection-evidence-desk-card > .solid-button {
  justify-self: start;
}

.collection-evidence-desk-card > .ghost-button:disabled {
  border-color: var(--hk-border, #303030);
  background: var(--hk-panel-secondary, #242424);
  color: var(--hk-faint, #7a7a7a);
  cursor: not-allowed;
  box-shadow: none;
}

/* ── 采证闭环顺序 ───────────────────────────────────── */
.collection-core-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.collection-core-flow article {
  min-width: 0;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px;
  display: grid;
  gap: 7px;
  align-content: start;
}

/* 蓝底序号：自洽配色对，保留原值 */
.collection-core-flow b {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

.collection-core-flow strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 16px;
  line-height: 1.35;
}

.collection-core-flow p {
  margin: 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.6;
}

/* ── 边界面板（采集阶段 / T11） ────────────────────── */
.collection-boundary-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.collection-boundary-panel article {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--hk-panel-secondary, #242424);
}

.collection-boundary-panel strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

/* ── 折叠壳：用于执行时再看 / 规则和来源核对 ───────── */
.collection-overview-fold {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  margin: 0 0 18px;
  overflow: hidden;
}

.collection-overview-fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.collection-overview-fold > summary::-webkit-details-marker {
  display: none;
}

.collection-overview-fold > summary strong,
.collection-overview-fold > summary span {
  display: block;
}

.collection-overview-fold > summary strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 17px;
  line-height: 1.35;
}

.collection-overview-fold > summary span {
  color: var(--hk-muted, #b3b3b3);
  margin-top: 3px;
  line-height: 1.45;
}

.collection-overview-fold-body {
  border-top: 1px solid var(--hk-border, #303030);
  background: var(--hk-panel-secondary, #242424);
  display: grid;
  gap: 12px;
  padding: 12px;
}

.collection-overview-fold-body .collection-detail-section {
  margin-bottom: 0;
}

/* ── 统计 6 卡 ──────────────────────────────────────── */
.collection-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.collection-stat-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-content: start;
}

.collection-stat-card span,
.collection-rule-cluster-head span,
.collection-rule-card span,
.collection-supplement-topic span,
.collection-source-group-list span {
  color: var(--hk-muted, #b3b3b3);
  font-size: 12px;
}

.collection-stat-card strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 26px;
  line-height: 1;
}

.collection-stat-card.primary,
.collection-stat-card.strong {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--hk-panel-secondary, #242424);
}

.collection-stat-card.warn {
  border-color: rgba(255, 255, 255, 0.34);
}

/* ── 实战判断顺序时间线 ─────────────────────────────── */
.collection-decision-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-decision-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-content: start;
}

/* 蓝底序号：自洽配色对，保留原值 */
.collection-decision-index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  font-weight: 900;
}

.collection-decision-card strong,
.collection-rule-cluster-head strong,
.collection-rule-card strong,
.collection-supplement-topic strong,
.collection-source-group-list strong {
  display: block;
  margin: 3px 0 5px;
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

.collection-decision-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.collection-decision-links a {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: var(--hk-panel-secondary, #242424);
  color: var(--cr-label-blue, #e5e5e5);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.collection-decision-links a:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── 素材与表象强关联（空态壳） ─────────────────────── */
.collection-material-bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.collection-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--hk-border-strong, #3a3a3a);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-muted, #b3b3b3);
  padding: 16px;
}

/* ── 采集闭环规则总台 ───────────────────────────────── */
.collection-command-center {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 14px;
}

.collection-command-center .collection-section-head {
  margin-bottom: 12px;
}

/* 青底计数胶囊：自洽配色对，保留原值 */
.collection-command-center .collection-section-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  font-weight: 900;
  padding: 6px 10px;
}

.collection-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-command-group {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.collection-command-group-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.collection-command-group-head b {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
  white-space: nowrap;
}

.collection-command-group-head span {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
  white-space: nowrap;
}

.collection-command-group-head strong,
.collection-command-record strong {
  display: block;
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

.collection-command-group-head p,
.collection-command-record p,
.collection-command-record small {
  margin: 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.55;
}

.collection-command-records,
.collection-command-more-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.collection-command-record {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  padding: 10px;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.collection-command-record span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-command-record.supplement {
  border-color: rgba(255, 255, 255, 0.34);
}

.collection-command-record.supplement span {
  color: var(--cr-label-warn, #b3b3b3);
}

.collection-command-record:hover,
.collection-command-record:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.collection-command-more {
  grid-column: 1 / -1;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  overflow: hidden;
}

.collection-command-more > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.collection-command-more > summary::-webkit-details-marker {
  display: none;
}

.collection-command-more > summary strong {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 13px;
}

.collection-command-more > summary span {
  color: var(--hk-muted, #b3b3b3);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.collection-command-more-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 10px;
}

/* ── 四条输出轨道 / 证据类型 / 质检路径 ─────────────── */
.collection-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.collection-lane-grid article {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--hk-panel-secondary, #242424);
}

.collection-lane-grid strong {
  color: var(--hk-strong, #e5e5e5);
}

.collection-version-list,
.collection-table-list {
  display: grid;
  gap: 8px;
}

.collection-evidence-grid,
.collection-insight-grid,
.collection-related-grid,
.collection-compact-list,
.collection-handoff-checklist,
.collection-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-evidence-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.collection-evidence-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

/* 蓝底字母：自洽配色对，保留原值 */
.collection-evidence-card b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
}

.collection-evidence-card h3 {
  margin: 0;
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

.collection-evidence-card span {
  color: var(--cr-label-blue, #e5e5e5);
  font-weight: 800;
}

.collection-quality-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

/* ── 规则怎么落地（6 簇） ──────────────────────────── */
.collection-rule-clusters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-rule-cluster {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.collection-rule-cluster-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

/* 蓝底计数：自洽配色对，保留原值 */
.collection-rule-cluster-head b {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  font-size: 12px;
  padding: 4px 8px;
}

.collection-rule-list {
  display: grid;
  gap: 8px;
}

.collection-rule-list.compact {
  gap: 6px;
}

.collection-rule-card {
  min-width: 0;
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.collection-rule-card small {
  color: var(--cr-label-amber, #b3b3b3);
  font-size: 12px;
  line-height: 1.5;
}

.collection-rule-card:hover,
.collection-rule-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.collection-rule-card.supplement {
  border-color: rgba(255, 255, 255, 0.34);
}

/* ── 新增规则池 ─────────────────────────────────────── */
.collection-supplement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.collection-supplement-topic {
  min-width: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.collection-supplement-topic > .ghost-button {
  justify-self: start;
}

.collection-supplement-sources {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  margin-top: 10px;
  overflow: hidden;
}

.collection-supplement-sources > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 12px;
}

.collection-supplement-sources > summary::-webkit-details-marker {
  display: none;
}

.collection-supplement-sources > summary span {
  color: var(--cr-label-blue, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-source-group-list {
  border-top: 1px solid var(--hk-border, #303030);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.collection-source-group-list article {
  display: grid;
  gap: 4px;
}

/* ── 素材详情态 ─────────────────────────────────────── */
.collection-observation-group-label {
  margin: 0 0 8px;
  color: var(--cr-label-blue, #e5e5e5);
  font-size: 13px;
  font-weight: 900;
}

.collection-observation-bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.collection-observation-bridge-card {
  min-width: 0;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  padding: 12px;
  cursor: pointer;
}

.collection-observation-bridge-card:hover,
.collection-observation-bridge-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.collection-observation-bridge-card span,
.collection-observation-bridge-card small {
  display: block;
  color: var(--cr-label-blue, #e5e5e5);
  font-size: 12px;
}

.collection-observation-bridge-card strong {
  display: block;
  margin: 5px 0;
  color: var(--hk-strong, #e5e5e5);
  font-size: 16px;
}

.collection-observation-bridge-card p {
  margin: 0 0 6px;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.58;
}

.collection-more-observations {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  margin-top: 10px;
  overflow: hidden;
}

.collection-more-observations > summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  padding: 11px 12px;
}

.collection-more-observations > summary::-webkit-details-marker {
  display: none;
}

/* 蓝底计数胶囊：自洽配色对，保留原值 */
.collection-more-observations > summary span {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 900;
}

.collection-more-observations .collection-observation-bridge-grid {
  border-top: 1px solid var(--hk-border, #303030);
  padding: 10px;
}

.collection-next-grid article {
  min-width: 0;
}

.collection-next-grid .ghost-button,
.collection-next-grid .solid-button {
  justify-self: start;
}

.collection-flow-actions {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.collection-flow-actions > strong {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 13px;
}

.collection-flow-actions > small {
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.45;
}

.collection-flow-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collection-flow-actions > div > a {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.collection-flow-actions > div > a:hover,
.collection-flow-actions > div > a:focus-visible {
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.collection-mini-record {
  width: 100%;
  min-width: 0;
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  display: grid;
  gap: 5px;
  cursor: pointer;
}

.collection-mini-record strong {
  color: var(--hk-strong, #e5e5e5);
}

/* ── 取证工作台 ─────────────────────────────────────── */
.collection-evidence-workbench {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 14px;
  display: grid;
  gap: 14px;
}

.collection-evidence-workbench-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.collection-evidence-workbench-head span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-evidence-workbench-head h2 {
  margin: 3px 0 5px;
  color: var(--hk-strong, #e5e5e5);
  font-size: 20px;
  line-height: 1.25;
}

.collection-evidence-workbench-head p {
  margin: 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.6;
}

/* 青底计数胶囊：自洽配色对，保留原值 */
.collection-evidence-workbench-head b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  padding: 6px 10px;
  white-space: nowrap;
}

.collection-material-decision-dock {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.collection-material-decision-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.collection-material-decision-head span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-material-decision-head strong {
  display: block;
  margin-top: 3px;
  color: var(--hk-strong, #e5e5e5);
  font-size: 16px;
  line-height: 1.35;
}

/* 青底计数胶囊：自洽配色对，保留原值 */
.collection-material-decision-head b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.collection-material-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.collection-material-decision-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 10px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-content: start;
}

.collection-material-decision-card.strong {
  border-color: rgba(255, 255, 255, 0.3);
}

.collection-material-decision-card.warn {
  border-color: rgba(255, 255, 255, 0.34);
}

.collection-material-decision-card.blue {
  border-color: rgba(79, 70, 229, 0.34);
}

.collection-material-decision-card span,
.collection-material-decision-link span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-material-decision-card.strong span {
  color: var(--cr-label-blue, #e5e5e5);
}

.collection-material-decision-card.warn span,
.collection-material-decision-card.warn .collection-material-decision-link span {
  color: var(--cr-label-warn, #b3b3b3);
}

.collection-material-decision-card.blue span {
  color: var(--cr-label-indigo, #a9adf9);
}

.collection-material-decision-title strong,
.collection-material-decision-link strong {
  display: block;
  color: var(--hk-strong, #e5e5e5);
  font-size: 14px;
  line-height: 1.35;
}

.collection-material-decision-card p,
.collection-material-decision-card small,
.collection-material-decision-link small {
  margin: 0;
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.5;
}

.collection-material-decision-card > small {
  font-size: 12px;
}

.collection-material-decision-links {
  display: grid;
  gap: 7px;
}

.collection-material-decision-link {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  padding: 8px;
  display: grid;
  gap: 3px;
}

.collection-material-decision-link:hover,
.collection-material-decision-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.collection-execution-empty {
  border: 1px dashed var(--hk-border-strong, #3a3a3a);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-muted, #b3b3b3);
  padding: 10px;
  line-height: 1.55;
}

.collection-workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px;
}

.collection-workbench-panel {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 12px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.collection-workbench-panel.primary {
  grid-row: span 2;
  background: var(--hk-panel-secondary, #242424);
}

.collection-workbench-panel.warn {
  border-color: rgba(255, 255, 255, 0.34);
}

.collection-workbench-panel.warn .collection-workbench-panel-head span {
  color: var(--cr-label-warn, #b3b3b3);
}

.collection-workbench-panel.strong {
  grid-column: 1 / -1;
  border-color: rgba(255, 255, 255, 0.3);
}

.collection-workbench-panel-head {
  display: grid;
  gap: 3px;
}

.collection-workbench-panel-head span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-panel-head strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

.collection-workbench-observation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.collection-workbench-observation {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  text-align: left;
  padding: 10px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 3px 8px;
  align-items: start;
}

/* 青底序号：自洽配色对，保留原值 */
.collection-workbench-observation b {
  grid-row: span 3;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.collection-workbench-observation span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-observation strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 15px;
  line-height: 1.35;
}

.collection-workbench-observation small {
  color: var(--hk-muted, #b3b3b3);
  line-height: 1.45;
}

.collection-workbench-observation:hover,
.collection-workbench-observation:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.collection-workbench-source-line {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.collection-workbench-source-line span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-source-line strong {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 13px;
}

.collection-workbench-chip-list,
.collection-workbench-chain-list {
  display: grid;
  gap: 8px;
}

.collection-workbench-chip {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  padding: 8px 10px;
  display: grid;
  gap: 3px;
}

.collection-workbench-chip span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-chip strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 14px;
  line-height: 1.35;
}

.collection-workbench-chip:hover,
.collection-workbench-chip:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.collection-workbench-more {
  border-color: rgba(255, 255, 255, 0.3);
  background: var(--hk-panel, #141414);
  margin: 10px 0 0;
}

.collection-workbench-more > summary span {
  background: var(--hk-chip-bg);
  color: var(--hk-muted, #b3b3b3);
}

.collection-workbench-more-body {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 10px;
  padding: 10px;
}

.collection-workbench-more-body .collection-observation-bridge-grid {
  border-top: 0;
  padding: 0;
}

.collection-workbench-rule-strip {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel-secondary, #242424);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.collection-workbench-rule-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.collection-workbench-rule-head strong {
  color: var(--hk-strong, #e5e5e5);
}

.collection-workbench-rule-head span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.collection-workbench-rule {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  color: var(--hk-strong, #e5e5e5);
  padding: 10px;
  display: grid;
  gap: 5px;
  align-content: start;
}

.collection-workbench-rule.primary {
  background: var(--hk-panel-secondary, #242424);
}

.collection-workbench-rule span {
  color: var(--cr-label-teal, #e5e5e5);
  font-size: 12px;
  font-weight: 900;
}

.collection-workbench-rule strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 14px;
  line-height: 1.35;
}

.collection-workbench-rule:hover,
.collection-workbench-rule:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* ── 数据库资料（原 observation-database-details 组件） ── */
.observation-database-details {
  margin-top: 18px;
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  overflow: hidden;
}

.observation-database-details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.observation-database-details > summary::-webkit-details-marker {
  display: none;
}

.observation-database-details > summary strong,
.observation-database-details > summary small {
  display: block;
}

.observation-database-details > summary strong {
  color: var(--hk-strong, #e5e5e5);
  font-size: 17px;
}

.observation-database-details > summary small {
  color: var(--hk-muted, #b3b3b3);
  margin-top: 3px;
}

/* 蓝底计数胶囊：自洽配色对，保留原值 */
.observation-database-details > summary b {
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  padding: 6px 10px;
  white-space: nowrap;
}

.database-group-list {
  border-top: 1px solid var(--hk-border, #303030);
  background: var(--hk-panel-secondary, #242424);
  padding: 12px;
  display: grid;
  gap: 12px;
}

.database-table-group {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  overflow: hidden;
}

.database-table-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: var(--hk-panel-secondary, #242424);
  padding: 10px 12px;
}

.database-table-head strong {
  color: var(--hk-strong, #e5e5e5);
}

.database-table-head span {
  color: var(--cr-label-blue, #e5e5e5);
  font-weight: 800;
}

.database-record-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.database-record-card {
  border: 1px solid var(--hk-border, #303030);
  border-radius: 8px;
  background: var(--hk-panel, #141414);
  padding: 11px;
}

.database-record-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.database-record-head strong {
  min-width: 0;
  color: var(--hk-strong, #e5e5e5);
}

/* 蓝底编号胶囊：自洽配色对，保留原值 */
.database-record-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 800;
}

.database-record-card p {
  margin: 0;
  color: var(--hk-strong, #e5e5e5);
  line-height: 1.7;
}

.database-record-card > small {
  display: block;
  color: var(--hk-faint, #7a7a7a);
  margin-top: 7px;
}

/* ── 按钮（原版 ghost/solid，改为 a 锚点后保留按钮外观） ── */
.collection-workspace .ghost-button,
.collection-workspace .solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  padding: 8px 12px;
}

.collection-workspace .ghost-button {
  border: 1px solid var(--hk-border-strong, #3a3a3a);
  background: var(--hk-panel-secondary, #242424);
  color: var(--hk-strong, #e5e5e5);
}

.collection-workspace .ghost-button:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.collection-workspace .solid-button {
  border: 0;
  background: var(--hk-chip-bg);
  color: var(--hk-strong, #e5e5e5);
}

.collection-workspace .solid-button:hover {
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.3);
}

/* ── 响应式 ─────────────────────────────────────────── */
@media (max-width: 1180px) {
  .collection-workspace {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .collection-flow-steps,
  .collection-quality-path,
  .collection-core-flow,
  .collection-dashboard-grid,
  .collection-evidence-desk,
  .collection-decision-timeline,
  .collection-material-bridge-grid,
  .collection-rule-clusters,
  .collection-supplement-grid,
  .collection-source-group-list,
  .collection-lane-grid,
  .collection-boundary-panel,
  .collection-evidence-grid,
  .collection-related-grid,
  .collection-observation-bridge-grid,
  .collection-material-decision-grid,
  .collection-workbench-grid,
  .collection-workbench-rule-grid,
  .collection-command-records,
  .collection-command-more-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-workbench-panel.primary,
  .collection-workbench-panel.strong {
    grid-column: 1 / -1;
  }

  .collection-workbench-panel.primary {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .collection-workspace {
    padding: 12px;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .collection-browser {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    grid-template-rows: auto auto;
  }

  .collection-filter-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-list-shell {
    max-height: 420px;
  }

  .collection-workspace,
  .collection-detail-hero,
  .collection-flow-steps,
  .collection-quality-path,
  .collection-core-flow,
  .collection-dashboard-grid,
  .collection-evidence-desk,
  .collection-decision-timeline,
  .collection-material-bridge-grid,
  .collection-rule-clusters,
  .collection-supplement-grid,
  .collection-source-group-list,
  .collection-evidence-grid,
  .collection-insight-grid,
  .collection-related-grid,
  .collection-observation-bridge-grid,
  .collection-compact-list,
  .collection-handoff-checklist,
  .collection-next-grid,
  .collection-lane-grid,
  .collection-boundary-panel,
  .collection-material-decision-grid,
  .collection-workbench-grid,
  .collection-workbench-rule-grid,
  .collection-workbench-observation-list,
  .collection-command-grid,
  .collection-command-records,
  .collection-command-more-list {
    grid-template-columns: 1fr;
  }

  .collection-evidence-workbench-head,
  .collection-material-decision-head,
  .collection-workbench-rule-head,
  .collection-decision-card,
  .collection-command-group-head,
  .collection-command-more > summary {
    display: grid;
  }

  .collection-decision-card {
    grid-template-columns: 1fr;
  }

  .collection-decision-links {
    grid-column: 1;
  }

  .collection-detail-hero {
    grid-template-columns: 1fr;
  }

  .collection-material-signal {
    justify-self: start;
  }
}

/* ── PAC 双页签 + 链桥卡（还原原版 collection.js 模板结构；monochrome-dark-v1 适配，2026-09-25） ── */
.collection-material-tabs { display: flex; gap: .5rem; margin: .75rem 0 1rem; }
.collection-material-tabs button { background: var(--hk-panel-secondary); border: 1px solid var(--hk-border); border-radius: .5rem; color: var(--hk-muted); cursor: pointer; display: grid; gap: 2px; padding: .55rem .9rem; text-align: left; }
.collection-material-tabs button strong { color: var(--hk-strong); font-size: .85rem; }
.collection-material-tabs button span { font-size: .7rem; }
.collection-material-tabs button.active { border-color: var(--hk-border-strong); background: var(--hk-panel); }
.collection-pac-section .collection-pac-panel { display: grid; gap: .9rem; }
.collection-pac-panel-head { align-items: flex-start; background: var(--hk-panel); border: 1px solid var(--hk-border); border-radius: .6rem; display: flex; gap: 1rem; justify-content: space-between; padding: .9rem 1rem; }
.collection-pac-panel-head > div { display: grid; gap: 3px; min-width: 0; }
.collection-pac-panel-head span { color: var(--hk-faint); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.collection-pac-panel-head strong { color: var(--hk-strong); font-size: .95rem; }
.collection-pac-panel-head p { color: var(--hk-muted); font-size: .78rem; margin: 0; }
.collection-pac-panel-head .ghost-button { background: transparent; border: 1px solid var(--hk-border-strong); border-radius: .45rem; color: var(--hk-strong); font-size: .78rem; padding: .4rem .7rem; text-decoration: none; white-space: nowrap; }
.collection-pac-metadata { color: var(--hk-muted); display: flex; flex-wrap: wrap; font-size: .75rem; gap: .9rem; }
.collection-pac-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.collection-pac-card { background: var(--hk-panel); border: 1px solid var(--hk-border); border-radius: .6rem; display: grid; gap: .4rem; padding: .85rem 1rem; }
.collection-pac-card > span { color: var(--hk-faint); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.collection-pac-card > p { color: var(--hk-muted); font-size: .78rem; margin: 0; }
.collection-pac-card.primary { border-color: var(--hk-border-strong); }
.collection-pac-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.collection-pac-chip { align-items: baseline; border: 1px solid var(--hk-border); border-radius: 999px; display: inline-flex; gap: .35rem; padding: .15rem .6rem; }
.collection-pac-chip b { color: var(--hk-strong); font-size: .72rem; }
.collection-pac-chip span { color: var(--hk-muted); font-size: .7rem; }
.collection-pac-chip.primary { border-color: var(--hk-border-strong); }
.collection-pac-empty { color: var(--hk-faint); font-size: .75rem; }
.collection-pac-rules { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.collection-pac-rule { background: var(--hk-panel-secondary); border: 1px solid var(--hk-border); border-left: 3px solid var(--hk-border-strong); border-radius: .5rem; display: grid; gap: 3px; padding: .7rem .85rem; }
.collection-pac-rule strong { color: var(--hk-strong); font-size: .78rem; }
.collection-pac-rule p { color: var(--hk-muted); font-size: .75rem; margin: 0; }
.collection-chain-bridge-strip { border-top: 1px solid var(--hk-border); display: grid; gap: .6rem; margin-top: 1rem; padding-top: .9rem; }
.collection-chain-bridge-title { align-items: baseline; display: flex; gap: .6rem; justify-content: space-between; }
.collection-chain-bridge-title strong { color: var(--hk-strong); font-size: .85rem; }
.collection-chain-bridge-title span { color: var(--hk-faint); font-size: .7rem; }
.collection-chain-bridge-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.collection-chain-bridge-card { background: var(--hk-panel); border: 1px solid var(--hk-border); border-radius: .5rem; display: grid; gap: 3px; padding: .7rem .85rem; }
.collection-chain-bridge-card span { color: var(--hk-faint); font-size: .68rem; font-weight: 700; }
.collection-chain-bridge-card strong { color: var(--hk-strong); font-size: .82rem; }
.collection-chain-bridge-card p { color: var(--hk-muted); font-size: .74rem; margin: 0; }
.collection-chain-bridge-card small { color: var(--hk-faint); font-size: .7rem; }
