#gmaps-collector-panel {
  position: fixed;
  top: 84px;
  right: 18px;
  width: 300px;
  z-index: 999999;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(25, 50, 37, 0.12);
  box-shadow: 0 22px 60px rgba(27, 49, 37, 0.22);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #193225;
  backdrop-filter: blur(8px);
}

.gmaps-collector__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.gmaps-collector__meta {
  font-size: 13px;
  color: #567061;
  margin-bottom: 10px;
}

.gmaps-collector__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.gmaps-collector__stat {
  padding: 8px 6px;
  border-radius: 10px;
  background: #f4f7f4;
  border: 1px solid rgba(25, 50, 37, 0.08);
  text-align: center;
}

.gmaps-collector__stat span {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  color: #6d8477;
}

.gmaps-collector__stat strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1;
  color: #193225;
}

.gmaps-collector__diag {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.gmaps-collector__diag-item {
  padding: 6px 5px;
  border-radius: 10px;
  background: #fbfcfb;
  border: 1px solid rgba(25, 50, 37, 0.08);
  text-align: center;
}

.gmaps-collector__diag-item span {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  color: #7b9084;
}

.gmaps-collector__diag-item strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1;
  color: #193225;
}

.gmaps-collector__toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.gmaps-collector__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

#gmaps-collector-panel button {
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: #1f7a4c;
  color: #fff;
}

#gmaps-collector-panel button:hover:not(:disabled) {
  background: #185d3a;
}

#gmaps-collector-panel button.secondary {
  background: #eef4ef;
  color: #193225;
}

#gmaps-collector-panel button.secondary:hover:not(:disabled) {
  background: #dce8df;
}

#gmaps-collector-panel button.danger {
  background: #c84343;
}

#gmaps-collector-panel button.danger:hover:not(:disabled) {
  background: #a23535;
}

#gmaps-collector-panel button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.gmaps-collector__status {
  min-height: 40px;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f3f6f3;
  font-size: 12px;
  line-height: 1.5;
  color: #567061;
}

.gmaps-collector__status[data-tone="success"] {
  background: #ebf6ef;
  color: #1f7a4c;
}

.gmaps-collector__status[data-tone="error"] {
  background: #fdeeee;
  color: #b23a3a;
}

.gmaps-collector__status[data-tone="working"] {
  background: #eef5fb;
  color: #245a8a;
}
