/* ══════════════════════════════════════════════════════════════════
   WARN TOOLTIP — Phase B §7-full
   Hover the ⚠ indicator on a customer cell to see the top 3 fuzzy
   match candidates + their confidence scores.
   ══════════════════════════════════════════════════════════════════ */

.warn-tooltip-wrap {
  position: absolute;
  background: rgba(10, 14, 92, 0.96);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  max-width: 380px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}
.warn-tooltip-wrap.tooltip-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.warn-tooltip h5 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FB923C;
  text-transform: uppercase;
}
.warn-tooltip .warn-raw {
  font-family: Monaco, monospace;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11.5px;
  display: inline-block;
  margin-bottom: 8px;
}
.warn-tooltip ol {
  margin: 0 0 8px;
  padding-left: 20px;
  font-size: 12px;
}
.warn-tooltip ol li {
  padding: 2px 0;
  color: #e5e7eb;
}
.warn-tooltip .score {
  font-weight: 900;
  color: #06D0FF;
  font-family: Monaco, monospace;
  margin-left: 6px;
}
.warn-tooltip .warn-actions {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}
.warn-tooltip .warn-actions button {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 10.5px;
  font-family: var(--font-primary);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.warn-tooltip .warn-actions button:hover {
  background: rgba(6,208,255,0.2);
  border-color: var(--nu-cyan);
}
.warn-tooltip .warn-footnote {
  font-size: 10.5px;
  opacity: 0.8;
  margin-top: 8px;
}
.customer-warn {
  cursor: help;
  padding: 0 2px;
  color: #ff9500;
}
.customer-warn:hover {
  color: #FB923C;
  font-weight: 900;
}
html.reduced-motion .warn-tooltip-wrap { transition: none; }
