.obie-map-nav-item {
  cursor: pointer;
}

.obie-map-nav-item .ant-menu-item-icon {
  color: #98a2b3;
  font-size: 18px;
  width: 16px;
  display: inline-flex;
  justify-content: center;
}

.obie-map-page {
  min-height: calc(100vh - 142px);
}

.obie-map-toolbar {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 12px 32px #0f172a0d;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  margin-bottom: 16px;
}

.obie-map-toolbar h2 {
  color: #111827;
  margin: 6px 0 6px;
  font-size: 30px;
  line-height: 1.2;
}

.obie-map-toolbar p {
  color: #667085;
  margin: 0;
}

.obie-map-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.obie-segment {
  background: #f3f7ff;
  border: 1px solid #dbe8ff;
  border-radius: 12px;
  padding: 3px;
  display: inline-flex;
}

.obie-segment button,
.obie-map-refresh {
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #344054;
  font-weight: 700;
  height: 34px;
  padding: 0 14px;
  cursor: pointer;
}

.obie-segment button.is-active {
  background: #1677ff;
  color: #fff;
  box-shadow: 0 8px 18px #1677ff2e;
}

.obie-map-search {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  height: 38px;
  min-width: 220px;
  padding: 0 12px;
  outline: none;
}

.obie-map-search:focus {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px #1677ff18;
}

.obie-map-refresh {
  background: #1677ff;
  color: #fff;
}

.obie-map-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.obie-map-stats div {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px #0f172a0d;
}

.obie-map-stats span {
  color: #667085;
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.obie-map-stats strong {
  color: #111827;
  display: block;
  font-size: 28px;
  line-height: 1;
}

.obie-map-shell {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 12px 32px #0f172a0d;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 620px;
  overflow: hidden;
}

.obie-amap {
  min-height: 620px;
  background: #eef5ff;
}

.obie-map-shell aside {
  border-left: 1px solid #e6ebf2;
  background: #fbfcff;
  padding: 16px;
  overflow: auto;
  max-height: 620px;
}

.obie-map-panel-title {
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}

.obie-map-status {
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.obie-map-status.is-error {
  color: #d92d20;
}

.obie-map-list {
  display: grid;
  gap: 10px;
}

.obie-map-pager {
  align-items: center;
  color: #667085;
  display: flex;
  font-size: 13px;
  gap: 10px;
  justify-content: space-between;
  margin-top: 12px;
}

.obie-map-pager button {
  background: #f3f7ff;
  border: 1px solid #dbe8ff;
  border-radius: 9px;
  color: #1677ff;
  cursor: pointer;
  font-weight: 750;
  height: 32px;
  padding: 0 12px;
}

.obie-map-pager button:disabled {
  color: #98a2b3;
  cursor: not-allowed;
  opacity: .65;
}

.obie-map-list-item {
  text-align: left;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  cursor: pointer;
  padding: 12px;
}

.obie-map-list-item:hover,
.obie-map-list-item.is-active {
  border-color: #1677ff;
  background: #f3f7ff;
}

.obie-map-list-item strong,
.obie-map-list-item span,
.obie-map-list-item small {
  display: block;
}

.obie-map-list-item strong {
  color: #1677ff;
  line-height: 1.45;
  margin-bottom: 5px;
}

.obie-map-list-item span {
  color: #344054;
  line-height: 1.55;
}

.obie-map-list-item small {
  color: #98a2b3;
  margin-top: 5px;
}

.obie-map-empty,
.obie-map-missing-key {
  color: #667085;
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.obie-map-missing-key {
  min-height: 620px;
  gap: 8px;
}

.obie-map-missing-key strong,
.obie-map-missing-key span {
  display: block;
}

.obie-amap-info {
  min-width: 210px;
  max-width: 320px;
  line-height: 1.65;
}

.obie-amap-info strong {
  color: #111827;
  display: block;
  margin-bottom: 4px;
}

.obie-amap-info p {
  color: #344054;
  margin: 0;
}

.obie-amap-label {
  background: #fff;
  border: 1px solid #dbe8ff;
  border-radius: 999px;
  color: #1677ff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  box-shadow: 0 6px 16px #0f172a17;
}

@media (width <= 1080px) {
  .obie-map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .obie-map-actions {
    justify-content: flex-start;
  }

  .obie-map-shell {
    grid-template-columns: 1fr;
  }

  .obie-map-shell aside {
    border-left: 0;
    border-top: 1px solid #e6ebf2;
    max-height: none;
  }
}

@media (width <= 768px) {
  .obie-map-stats {
    grid-template-columns: 1fr;
  }

  .obie-map-search {
    min-width: 0;
    width: 100%;
  }

  .obie-map-actions {
    width: 100%;
  }
}
