/* Ontology Label Styles -- shared across all views */

/* Base label */
.onto-label { cursor: help; border-bottom: 1px dotted currentColor; text-decoration: none; }
.onto-label:hover { background-color: rgba(var(--bs-primary-rgb), 0.1); border-radius: 2px; }
.onto-label-unknown { color: #6c757d; font-style: italic; }
.onto-source-ontology { border: 2px solid #0d6efd; }

/* Popover content */
.onto-popover-content { max-width: 350px; }
.onto-popover-content .onto-type-badge { font-size: 0.7rem; padding: 0.15rem 0.4rem; }
.onto-popover-content .onto-uri { font-size: 0.7rem; word-break: break-all; color: #6c757d; background: #f8f9fa; padding: 4px 6px; border-radius: 3px; margin-top: 8px; }
.onto-popover-content .onto-definition { font-size: 0.85rem; margin: 8px 0; color: #495057; }
.onto-popover-content .onto-pass-badge { font-size: 0.65rem; }

/* Entity type colors -- canonical palette matching ENTITY_RESOLUTION_PLAN.md */
/* Pass 1: Contextual Framework */
.onto-type-roles, .onto-type-role { background-color: #0d6efd; color: white; }
.onto-type-states, .onto-type-state { background-color: #6f42c1; color: white; }
.onto-type-resources, .onto-type-resource { background-color: #0dcaf0; color: black; }
/* Pass 2: Normative Requirements */
.onto-type-principles, .onto-type-principle { background-color: #198754; color: white; }
.onto-type-obligations, .onto-type-obligation { background-color: #dc3545; color: white; }
.onto-type-constraints, .onto-type-constraint { background-color: #6c757d; color: white; }
.onto-type-capabilities, .onto-type-capability { background-color: #ffc107; color: black; }
/* Pass 3: Temporal Dynamics */
.onto-type-actions, .onto-type-action, .onto-type-temporal_dynamics_enhanced { background-color: #212529; color: white; }
.onto-type-events, .onto-type-event { background-color: #e9ecef; color: #212529; }
/* Pass 4: Synthesis (Step 4 outputs) */
.onto-type-conclusions, .onto-type-ethical_conclusion { background-color: #198754; color: white; }
.onto-type-questions, .onto-type-ethical_question { background-color: #0dcaf0; color: black; }
/* Fallback */
.onto-type-default { background-color: #adb5bd; color: black; }
