/*
 * OPTIWAKE TRACKER NAMES RESCUE V6B
 *
 * Cel:
 * - nazwy TEST-001/TEST-002 po mapowaniu na POL-1251/POL-1320
 *   nie mogą znikać z panelu "Aktywne trackery".
 * - nie przebudowuje DOM, nie dodaje JS, nie dotyka Replay/Analizy.
 */

#tracker-legend .tracker-legend-row,
.desktop-trackers-popover #tracker-legend .tracker-legend-row {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#tracker-legend .tracker-legend-name,
.desktop-trackers-popover #tracker-legend .tracker-legend-name {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  gap: 8px !important;
  color: #0f233d !important;
  min-width: 0 !important;
}

#tracker-legend .tracker-legend-name span,
.desktop-trackers-popover #tracker-legend .tracker-legend-name span {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #0f233d !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

#tracker-legend .tracker-legend-color,
.desktop-trackers-popover #tracker-legend .tracker-legend-color {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 auto !important;
}

/* Jeżeli filtr ustawił inline display:none na elemencie nazwy, wymuszamy powrót */
#tracker-legend [class*="tracker-legend-name"],
#tracker-legend [class*="tracker-legend-name"] * {
  visibility: visible !important;
  opacity: 1 !important;
}
