/* [COGNITE-PARADIGM-1 2026-09-21] 「工程对象中心」样式 —— **新增文件**，既有 CSS 一字未动。
   全部选择器以 .asset- 前缀命名，避免与既有皮肤冲突；配色沿用站点既有 CSS 变量。 */

.asset-heading { margin-bottom: 12px; }

.asset-paradigm {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 14px; padding: 10px 14px;
  border: 1px solid var(--line, rgba(15, 23, 42, .12));
  border-left: 3px solid var(--accent, #c8501e);
  border-radius: 8px;
  background: var(--surface, #fff);
  font-size: 13px; line-height: 1.6;
}
.asset-paradigm b { color: var(--accent, #c8501e); white-space: nowrap; }
.asset-paradigm span { color: var(--muted, #64748b); }

.asset-layout {
  display: grid;
  grid-template-columns: 300px minmax(320px, 1fr) minmax(380px, 1.15fr);
  gap: 14px; align-items: start;
}
@media (max-width: 1200px) { .asset-layout { grid-template-columns: 260px 1fr; } .asset-col-context { grid-column: 1 / -1; } }

.asset-col {
  border: 1px solid var(--line, rgba(15, 23, 42, .12));
  border-radius: 10px; background: var(--surface, #fff);
  padding: 12px 14px; min-height: 320px;
}
.asset-col > header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.asset-col h2 { margin: 0; font-size: 15px; }
.asset-col h3 { margin: 14px 0 6px; font-size: 13px; color: var(--muted, #64748b); font-weight: 600; }
.asset-col h3 b { color: var(--text, #0f172a); font-weight: 700; }
.asset-col header small { color: var(--muted, #64748b); font-size: 12px; }

.asset-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.asset-chip {
  border: 1px solid var(--line, rgba(15, 23, 42, .14)); border-radius: 999px;
  background: transparent; color: var(--muted, #64748b);
  font-size: 12px; padding: 3px 9px; cursor: pointer;
}
.asset-chip b { color: var(--text, #0f172a); font-weight: 700; margin-left: 2px; }
.asset-chip.active { border-color: var(--accent, #c8501e); color: var(--accent, #c8501e); }
.asset-chip.active b { color: var(--accent, #c8501e); }

.asset-search { display: block; margin-bottom: 8px; }
.asset-search input {
  width: 100%; box-sizing: border-box; padding: 6px 9px; font-size: 12px;
  border: 1px solid var(--line, rgba(15, 23, 42, .14)); border-radius: 6px;
  background: transparent; color: var(--text, #0f172a);
}

.asset-list { list-style: none; margin: 0; padding: 0; max-height: 560px; overflow: auto; }
.asset-list li { margin: 0 0 4px; }
.asset-item {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  text-align: left; cursor: pointer; padding: 7px 9px;
  border: 1px solid transparent; border-radius: 7px; background: transparent;
}
.asset-item:hover { background: var(--hover, rgba(15, 23, 42, .04)); }
.asset-item.active { border-color: var(--accent, #c8501e); background: rgba(200, 80, 30, .05); }
.asset-item-name { font-size: 13px; color: var(--text, #0f172a); font-weight: 600; }
.asset-item-meta { display: flex; gap: 8px; font-size: 11px; color: var(--muted, #64748b); font-style: normal; }
.asset-item-meta i { font-style: normal; }
.asset-item-meta em { font-style: normal; opacity: .85; }

.asset-detail { margin: 0; }
.asset-detail > div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line, rgba(15, 23, 42, .1)); }
.asset-detail > div:last-child { border-bottom: 0; }
.asset-detail dt { flex: 0 0 84px; font-size: 12px; color: var(--muted, #64748b); margin: 0; }
.asset-detail dd { margin: 0; font-size: 13px; color: var(--text, #0f172a); word-break: break-all; }

.asset-cf { margin-top: 12px; }
.asset-cf-line { margin: 0 0 4px; font-size: 13px; color: var(--text, #0f172a); }
.asset-hint { margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted, #64748b); }

.asset-rules { list-style: none; margin: 6px 0 0; padding: 0; }
.asset-rule { display: flex; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--line, rgba(15, 23, 42, .1)); }
.asset-rule:last-child { border-bottom: 0; }
.asset-rule-no { flex: 0 0 62px; font-size: 11px; font-weight: 700; color: var(--muted, #64748b); }
.asset-rule-body { display: flex; flex-direction: column; gap: 2px; }
.asset-rule-body strong { font-size: 12.5px; color: var(--text, #0f172a); font-weight: 600; }
.asset-rule-body small { font-size: 11px; color: var(--muted, #64748b); line-height: 1.5; }
.asset-rule.bad .asset-rule-no { color: #b91c1c; }
.asset-rule.bad .asset-rule-body strong { color: #b91c1c; }
.asset-rule.ok .asset-rule-no { color: #15803d; }
.asset-rule.ok .asset-rule-body strong { color: #15803d; }

.asset-block { margin-bottom: 14px; }
.asset-context { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; }
.asset-context li { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-bottom: 1px dashed var(--line, rgba(15, 23, 42, .1)); }
.asset-context li:last-child { border-bottom: 0; }
.asset-context strong { font-size: 12.5px; font-weight: 600; color: var(--text, #0f172a); }
.asset-context small { font-size: 11px; color: var(--muted, #64748b); }

.asset-absent {
  margin: 0; padding: 9px 11px; font-size: 12px; line-height: 1.65;
  color: var(--muted, #64748b);
  border: 1px dashed var(--line, rgba(15, 23, 42, .18)); border-radius: 7px;
}
.asset-absent b { color: var(--text, #0f172a); }

.asset-status { margin: 10px 0; font-size: 13px; color: var(--muted, #64748b); }
.asset-status.error { color: #b91c1c; }
.asset-empty { margin: 8px 0; font-size: 12px; color: var(--muted, #64748b); }

.asset-ws { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted, #64748b); }
.asset-ws select {
  padding: 5px 8px; font-size: 12px; border-radius: 6px;
  border: 1px solid var(--line, rgba(15, 23, 42, .14));
  background: transparent; color: var(--text, #0f172a);
}
.asset-center-root { display: block; }

/* 未取满时的补取入口（只在未取满时出现） */
.asset-more { display: flex; gap: 8px; margin: 2px 0 8px; }
.asset-more .button { padding: 5px 10px; font-size: 12px; }
.asset-more .button[disabled] { opacity: .55; cursor: default; }
