/* AIS target list */
.ais-q {
  flex: 1;
  font-size: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--wing-card-alpha);
  color: var(--text);
  outline: none;
}

.ais-q::placeholder {
  color: var(--wing-muted);
}

.ais-mode {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.ais-mode-btn {
  font-size: 9px;
  padding: 0 8px;
  height: 28px;
  border: none;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}

.ais-mode-btn.on {
  background: rgba(59, 130, 246, 0.18);
  color: var(--text);
}

.ais-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.ais-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s, border-color 0.12s;
  border: 1px solid transparent;
}

.ais-row:hover {
  background: var(--wing-card-alpha);
  border-color: var(--wing-border);
}

.ais-row.sel {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.55);
}

.ais-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ais-nm {
  flex: 1;
  min-width: 0;
}

.ais-nm1 {
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ais-nm2 {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ais-right {
  text-align: right;
  flex-shrink: 0;
}

.ais-badges {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.ais-badge {
  font-size: 8px;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
  background: rgba(100, 116, 139, 0.22);
}

.ais-badge.pn {
  color: var(--muted);
  background: var(--wing-card-alpha);
  border-color: var(--wing-border);
  font-weight: 700;
}

.ais-badge.PT {
  background: rgba(30, 64, 175, 0.28);
  border-color: rgba(30, 64, 175, 0.7);
}
.ais-badge.PT-S {
  background: rgba(234, 88, 12, 0.22);
  border-color: rgba(234, 88, 12, 0.7);
}
.ais-badge.GN {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.7);
}
.ais-badge.OT {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.7);
}
.ais-badge.PS {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.7);
}
.ais-badge.FC {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.7);
}

.ais-sp {
  font-size: 10px;
  font-weight: 800;
}

.ais-ts {
  font-size: 9px;
  color: var(--wing-muted);
}
