.roi-outstanding-popover {
  /* position is now set inline via JS (position: fixed) */
  z-index: 1000;
  width: min(480px, 90vw);
  max-height: 360px;
  background: #ffffff;
  border: 1px solid #D9E0E7;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.roi-outstanding-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #D9E0E7;
  flex-shrink: 0;
}

.roi-outstanding-popover-title {
  font-size: 12px;
  font-weight: 700;
  color: #1F2933;
}

.roi-outstanding-popover-close {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #66727F;
  display: flex;
  align-items: center;
}

.roi-outstanding-popover-body {
  overflow-y: auto;
}

.roi-outstanding-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.roi-outstanding-th {
  position: sticky;
  top: 0;
  background: #EEF2F5;
  text-align: left;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #46515D;
  border-bottom: 1px solid #D9E0E7;
}

.roi-outstanding-td {
  padding: 4px 8px;
  border-bottom: 1px solid #D9E0E7;
  color: #1F2933;
  white-space: nowrap;
}

.roi-outstanding-td-sale {
  font-weight: 600;
  color: #76520F;
}

.roi-outstanding-td-loc {
  white-space: normal;
  min-width: 200px;
}

.roi-outstanding-trigger:hover {
  filter: brightness(0.98);
}
