/* Entity ranking, scoped to the existing Search Intent entity view. */
#entityGraph .entity-priority-view { color: var(--sip-ink, oklch(23% 0.025 255)); font-size: .9rem; }
#entityGraph .entity-priority-intro,
#entityGraph .entity-priority-empty { color: var(--sip-ink-soft, oklch(38% 0.026 255)); line-height: 1.6; max-width: 72ch; margin: 0 0 1rem; }
#entityGraph .entity-priority-list { list-style: none; padding: 0; margin: 0; }
#entityGraph .entity-priority-row { border-bottom: 1px solid var(--sip-line, oklch(90% 0.012 255)); }
#entityGraph .entity-priority-summary { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto 1rem; gap: .8rem; align-items: center; padding: 1rem .6rem; cursor: pointer; list-style: none; border-radius: 6px; min-height: 44px; }
#entityGraph .entity-priority-summary::-webkit-details-marker { display: none; }
#entityGraph .entity-priority-summary:hover { background: rgba(148,163,184,.07); }
#entityGraph .entity-priority-summary:focus-visible { outline: 2px solid var(--sip-accent, oklch(49% 0.11 246)); outline-offset: 2px; }
#entityGraph .entity-priority-rank { font-size: .78rem; color: var(--sip-ink-soft, oklch(38% 0.026 255)); font-variant-numeric: tabular-nums; }
#entityGraph .entity-priority-heading { display: grid; gap: .25rem; min-width: 0; }
#entityGraph .entity-priority-name { font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
#entityGraph .entity-priority-category { font-size: .78rem; color: var(--sip-ink-soft, oklch(38% 0.026 255)); overflow-wrap: anywhere; }
#entityGraph .entity-priority-score { font-weight: 650; font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
#entityGraph .entity-priority-chevron { color: var(--sip-ink-soft, oklch(38% 0.026 255)); }
#entityGraph details[open] .entity-priority-chevron { transform: rotate(180deg); }
#entityGraph .entity-priority-body { padding: .2rem 2.4rem 1.3rem 3.4rem; max-width: 78ch; }
#entityGraph .entity-priority-metrics { display: flex; gap: 2rem; margin: 0 0 1rem; flex-wrap: wrap; }
#entityGraph .entity-priority-metric dt { color: var(--sip-ink-soft, oklch(38% 0.026 255)); font-size: .78rem; font-weight: 400; }
#entityGraph .entity-priority-metric dd { margin: .15rem 0 0; font-variant-numeric: tabular-nums; }
#entityGraph .entity-priority-aliases { font-size: .85rem; line-height: 1.6; overflow-wrap: anywhere; }
#entityGraph .entity-priority-relations { padding: 0; margin: 0; list-style: none; }
#entityGraph .entity-priority-relation { line-height: 1.6; margin-top: .7rem; overflow-wrap: anywhere; }
#entityGraph .entity-priority-relation-type { display: block; color: var(--sip-ink-soft, oklch(38% 0.026 255)); font-size: .75rem; }
@media (max-width: 520px) {
    #entityGraph .entity-priority-summary { grid-template-columns: 1.4rem minmax(0, 1fr) auto; gap: .55rem; padding: .9rem .2rem; }
    #entityGraph .entity-priority-chevron { display: none; }
    #entityGraph .entity-priority-score { font-size: .75rem; }
    #entityGraph .entity-priority-body { padding: .2rem .4rem 1.1rem 2.15rem; }
}
