.maps-tracker {
  margin-bottom: 28px;
}
.maps-tracker .section-actions h3 {
  font-size: 21px;
  margin: 0;
}
.maps-workspace {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.maps-controls {
  padding: 20px;
}
.maps-controls > .form-help {
  margin-bottom: 0;
}
.maps-controls form > .primary {
  width: 100%;
  margin-top: 15px;
}
.maps-controls .form-grid {
  gap: 12px;
}
.maps-controls label {
  font-size: 11px;
}
.maps-controls select,
.maps-controls textarea {
  font-size: 12px;
}
.tracked-business-card {
  padding: 16px 0;
  border-top: 1px solid #214259;
  border-bottom: 1px solid #214259;
  margin: 18px 0;
}
.tracked-business-card strong {
  font-size: 14px;
}
.tracked-business-card p {
  font-size: 11px;
  color: #92afca;
  line-height: 1.7;
  margin: 7px 0;
}
.tracked-business-card small {
  font-size: 10px;
  color: #6e94b7;
}
.grid-task-count {
  background: #07364a;
  border: 1px solid #185a6e;
  border-radius: 6px;
  padding: 11px;
  font-size: 11px;
  color: #67e7eb;
  margin-top: 16px;
  line-height: 1.8;
}
.maps-canvas-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
}
.map-heading h3 {
  margin: 0 0 5px;
  font-size: 15px;
}
.map-heading span {
  font-size: 11px;
  color: #87a9c6;
}
.map-keyword {
  font-size: 10px;
  min-width: 120px;
  max-width: 240px;
}
.map-keyword select {
  padding: 8px 20px 8px 10px;
  font-size: 11px;
}
#seo-grid-map {
  height: 470px;
  min-height: 350px;
  background: #102f42;
  flex: 1;
  z-index: 1;
}
.leaflet-container {
  font-family: Inter, "Segoe UI", sans-serif;
}
.leaflet-control-attribution {
  font-size: 9px !important;
  line-height: 1.5 !important;
}
.leaflet-control-attribution a {
  color: #155b8d;
}
.leaflet-popup-content {
  color: #263f52;
  font-size: 12px;
  line-height: 1.8;
  max-height: 200px;
  overflow: auto;
}
.leaflet-control-zoom a {
  color: #1c3c56 !important;
}
.grid-point-icon {
  background: none !important;
  border: 0 !important;
}
.grid-point {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  color: white;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 7px #001b3e55;
}
.rank-good {
  background: #008c63;
}
.rank-mid {
  background: #d49b10;
}
.rank-poor {
  background: #e05842;
}
.rank-none {
  background: #82344d;
}
.rank-pending {
  background: #678397;
}
.business-point-icon {
  background: none !important;
  border: 0 !important;
}
.business-point-icon > span {
  display: grid;
  place-items: center;
  color: #051c2e;
  background: #00e4e9;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  font-size: 18px;
  box-shadow: 0 2px 9px #001b3e66;
}
.map-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  color: #98b1c9;
  font-size: 9px;
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.legend-good {
  background: #008c63;
}
.legend-mid {
  background: #d49b10;
}
.legend-poor {
  background: #e05842;
}
.legend-none {
  background: #82344d;
}
.legend-pending {
  background: #678397;
}
.map-summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #214259;
  padding: 17px 20px;
}
.map-summary > span {
  color: #819fbb;
  font-size: 10px;
}
.map-summary strong {
  display: block;
  color: #e9f7ff;
  font-size: 24px;
  margin-top: 5px;
}
.map-summary small {
  font-size: 9px;
  display: block;
  margin-top: 4px;
}
.geo-history {
  margin-bottom: 22px;
}
.geo-history .sites-table small {
  font-size: 10px;
  color: #789bb9;
}
.business-search-results {
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.business-match {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px;
  background: #062b45;
  border: 1px solid #1c4b67;
  border-radius: 8px;
  color: #ddebfa;
}
.business-match strong {
  display: block;
  font-size: 13px;
}
.business-match span {
  display: block;
  font-size: 11px;
  color: #92b0cb;
  line-height: 1.7;
  margin-top: 6px;
}
.business-match small {
  display: block;
  font-size: 10px;
  color: #6f9abd;
  margin-top: 6px;
}
.city-suggestions {
  display: grid;
  max-height: 170px;
  overflow: auto;
  gap: 2px;
}
.city-suggestions button {
  display: block;
  background: #10334c;
  border: 1px solid #28526e;
  text-align: left;
  color: #c9e2f4;
  font-size: 11px;
  padding: 8px;
  line-height: 1.6;
  border-radius: 4px;
}
.city-suggestions small {
  color: #7393b0;
  font-size: 10px;
  padding: 5px;
}
.maps-workspace .check-label {
  font-size: 10px;
  line-height: 1.8;
}
@media (max-width: 1300px) {
  .maps-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .map-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .map-heading label {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 1000px) {
  .maps-workspace {
    grid-template-columns: 1fr;
  }
  .maps-controls .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  #seo-grid-map {
    height: 420px;
    flex: auto;
  }
  .map-heading {
    flex-direction: row;
  }
  .map-heading label {
    width: 45%;
  }
}
@media (max-width: 760px) {
  .maps-workspace {
    gap: 15px;
  }
  .maps-controls {
    padding: 17px;
  }
  #seo-grid-map {
    height: 370px;
  }
  .grid-point {
    width: 25px;
    height: 25px;
    font-size: 10px;
    margin: 3px;
  }
  .map-summary {
    padding: 14px 12px;
    gap: 8px;
  }
  .map-summary strong {
    font-size: 19px;
  }
  .map-heading {
    flex-direction: column;
  }
  .map-heading label {
    width: 100%;
  }
  .map-legend {
    gap: 9px;
    font-size: 8px;
  }
}
