/* 主体核查车道（E）的样式。index.html 已引入本文件，车道只改这里，不改 styles.css。 */

/* 管理页：我方主体与账户（E-04）。分区外框沿用管理页的 .card.admin-section 与 .admin-section-head。 */
.our-library-note { padding: 12px 24px 0; }
.our-entity { padding: 16px 24px; }
.our-entity + .our-entity { border-top: 1px solid var(--color-split); }
.our-entity-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.our-entity-name { color: var(--color-text); font-size: var(--font-size-lg); font-weight: 600; overflow-wrap: anywhere; }
.our-entity-name .badge { margin-left: 4px; vertical-align: middle; }
.our-entity-meta { margin-top: 2px; color: var(--color-text-2); font-size: var(--font-size-sm); line-height: var(--line-height-sm); overflow-wrap: anywhere; }
.our-entity .row-actions { flex: none; }
.our-accounts { border: 1px solid var(--color-split); border-radius: var(--radius); }
.our-accounts .badge + .badge { margin-left: 4px; }
.our-entity.our-disabled .our-entity-name, .our-entity.our-disabled .our-entity-meta, .our-accounts tr.our-disabled td:not(.col-action) { color: var(--color-text-3); }

/* Review metadata and candidate dialog. */
.entity-summary, .entity-source { color: var(--color-text-3); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.entity-summary { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; }
.entity-summary span { min-width: 0; }
.entity-summary button { flex: none; }
.entity-source { margin: 12px 0 0; }
.entity-party-meta { color: var(--color-text-3); font-size: var(--font-size-sm); }
.entity-candidates { margin: 8px 0 0; padding: 0; list-style: none; }
.entity-candidates li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--color-split); }
.entity-candidate-text { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.entity-candidates button { flex: none; }

/* 设置页：主体查询数据源（E-06b）。 */
.entity-providers { margin: 0 0 12px; padding: 0; list-style: none; }
.entity-providers li + li { margin-top: 8px; }
.entity-provider-name .badge { margin-left: 4px; }

@media (max-width: 760px) {
  .our-library-note, .our-entity { padding-left: 16px; padding-right: 16px; }
  .our-entity-head { flex-direction: column; }
}
