/* Excel-style row/column crosshair for allocation matrices.
   Sticky edge cells use opaque fills so horizontally scrolled cells do not bleed through. */
.matrix-crosshair-table td.is-crosshair-col,
.matrix-crosshair-table th.is-crosshair-col {
  background-color: #eef4ff !important;
}

.matrix-crosshair-table td.is-crosshair-row {
  background-color: #dbeafe !important;
}

.matrix-crosshair-table td.is-crosshair-row.is-crosshair-col,
.matrix-crosshair-table th.is-crosshair-col.is-crosshair-row {
  background-color: #bfdbfe !important;
}

.matrix-crosshair-table .allocation-matrix-row--alt td.is-crosshair-row {
  background-color: #d6e6fb !important;
}

.matrix-crosshair-table .allocation-matrix-row--alt td.is-crosshair-row.is-crosshair-col {
  background-color: #b8d4f8 !important;
}

.matrix-crosshair-table .allocation-matrix-sticky-left.is-crosshair-row,
.matrix-crosshair-table .allocation-matrix-sticky-right.is-crosshair-row,
.matrix-crosshair-table .row-total-sticky.is-crosshair-row,
.matrix-crosshair-table .reclaim-reconcile-matrix__corps.is-crosshair-row {
  background-color: #dbeafe !important;
  z-index: 16 !important;
}

.matrix-crosshair-table .allocation-matrix-row--alt .allocation-matrix-sticky-left.is-crosshair-row,
.matrix-crosshair-table .allocation-matrix-row--alt .allocation-matrix-sticky-right.is-crosshair-row,
.matrix-crosshair-table .allocation-matrix-row--alt .row-total-sticky.is-crosshair-row {
  background-color: #d6e6fb !important;
}

.matrix-crosshair-table .allocation-matrix-sticky-left.is-crosshair-row.is-crosshair-col,
.matrix-crosshair-table .allocation-matrix-sticky-right.is-crosshair-row.is-crosshair-col,
.matrix-crosshair-table .row-total-sticky.is-crosshair-row.is-crosshair-col {
  background-color: #bfdbfe !important;
  z-index: 18 !important;
}

.matrix-crosshair-table th.allocation-matrix-sticky-left.is-crosshair-col,
.matrix-crosshair-table th.allocation-matrix-location-head.is-crosshair-col {
  background-color: #e8f0ff !important;
  z-index: 26 !important;
}

.matrix-crosshair-table th.allocation-matrix-row-total-head.is-crosshair-col {
  background-color: #ffffff !important;
}

.matrix-crosshair-table tfoot .allocation-matrix-sticky-left.is-crosshair-row,
.matrix-crosshair-table tfoot .allocation-matrix-sticky-left.is-crosshair-col,
.matrix-crosshair-table tfoot .row-total-sticky.is-crosshair-row {
  background-color: #dbeafe !important;
  z-index: 36 !important;
}

.matrix-crosshair-table .reclaim-reconcile-matrix__row.is-over-cap td.is-crosshair-row.is-crosshair-col.reclaim-reconcile-matrix__remaining-cell {
  background-color: #fecaca !important;
}
