#fm-point-lookup-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#fm-point-lookup-map {
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: crosshair;
}

#fm-point-lookup-show-all-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  user-select: none;
  margin: -4px 0;
}

#fm-point-lookup-show-all-label input {
  margin: 0;
  cursor: pointer;
}

#fm-point-lookup-results {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  min-height: 60px;
}

#fm-point-lookup-hint {
  margin: 0;
  padding: 14px 16px;
  color: #666;
  font-size: 14px;
}

#fm-point-lookup-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.2;
}

#fm-point-lookup-table th,
#fm-point-lookup-table td {
  text-align: left;
  padding: 3px 12px;
  border-bottom: 1px solid #eee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#fm-point-lookup-table th {
  background: #f7f7f7;
  font-weight: 600;
  color: #333;
}

#fm-point-lookup-table tbody tr:last-child td {
  border-bottom: none;
}

#fm-point-lookup-table tbody tr.fm-pl-row-strength-3 td {
  background-color: #A9DFBF !important;
}

#fm-point-lookup-table tbody tr.fm-pl-row-strength-2 td {
  background-color: #D4EFDF !important;
}

#fm-point-lookup-table tbody tr.fm-pl-row-strength-1 td {
  background-color: #E9F7EF !important;
}

#fm-point-lookup-table tbody tr:hover {
  filter: brightness(0.97);
}

#fm-point-lookup-table tbody tr.fm-pl-row-link {
  cursor: pointer;
}

#fm-point-lookup-table tbody tr.fm-pl-row-link:hover {
  filter: brightness(0.93);
}

#fm-point-lookup-table .fm-pl-freq {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

.fm-pl-strength {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.fm-pl-flag {
  display: inline-block;
  width: 16px;
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.fm-pl-strength-3 {
  background: #2e8b3f;
}

.fm-pl-strength-2 {
  background: #d99a1f;
}

.fm-pl-strength-1 {
  background: #b23b3b;
}

@media (max-width: 480px) {
  #fm-point-lookup-table th,
  #fm-point-lookup-table td {
    padding: 3px 8px;
    font-size: 13px;
  }
}
