/* 307aj — ATOSY OBJECT CLASSIFICATION COLOR PARITY */

#object-full-page .object-classification-panel {
  --atosy-object-selected-bg: #24518d;
  --atosy-object-selected-border: #4589ea;
  --atosy-object-hover-bg: #194377;
}

/* All normal category rows */
#object-full-page #object-category-tree
.object-category-item[data-object-category] {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition:
    background-color 130ms ease,
    border-color 130ms ease,
    box-shadow 130ms ease;
}

/* Hover is a subtle navy-blue */
#object-full-page #object-category-tree
.object-category-item[data-object-category]:hover {
  background: var(--atosy-object-hover-bg) !important;
}

/* Selected category — ATOSY blue instead of teal */
#object-full-page #object-category-tree
.object-category-item.is-active[data-object-category] {
  background: var(--atosy-object-selected-bg) !important;
  border-color: var(--atosy-object-selected-border) !important;
  box-shadow:
    inset 3px 0 0 #6aafff,
    0 0 0 1px rgba(69,137,234,.12) !important;
  color: #f5f9ff !important;
}

/* Selected category remains consistent on hover */
#object-full-page #object-category-tree
.object-category-item.is-active[data-object-category]:hover {
  background: #2b5b9e !important;
}

/* Clear text and count contrast */
#object-full-page #object-category-tree
.object-category-item.is-active .object-category-accordion-name,
#object-full-page #object-category-tree
.object-category-item.is-active .object-category-item-count {
  color: #f5f9ff !important;
  -webkit-text-fill-color: #f5f9ff !important;
}

/* Fixed All Objects row — same selection language */
#object-full-page
#object-category-all-fixed-v307ah
.object-category-item[data-object-category=""] {
  background: #123866 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  border-radius: 9px;
  color: #eaf3ff !important;
  transition:
    background-color 130ms ease,
    border-color 130ms ease;
}

#object-full-page
#object-category-all-fixed-v307ah
.object-category-item[data-object-category=""]:hover {
  background: var(--atosy-object-hover-bg) !important;
}

#object-full-page
#object-category-all-fixed-v307ah
.object-category-item.is-active[data-object-category=""] {
  background: var(--atosy-object-selected-bg) !important;
  border-color: var(--atosy-object-selected-border) !important;
  box-shadow: inset 3px 0 0 #6aafff !important;
  color: #f5f9ff !important;
}

/* Accordion arrows remain visually subordinate */
#object-full-page #object-category-tree
.object-category-accordion-toggle {
  color: #bcd7ff !important;
}

#object-full-page #object-category-tree
.object-category-accordion-toggle:focus-visible {
  outline: 2px solid #8dc0ff !important;
  outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
  #object-full-page #object-category-tree
  .object-category-item,
  #object-full-page #object-category-all-fixed-v307ah
  .object-category-item {
    transition: none !important;
  }
}
