#inspector-drawer.agm-light-inspector {
  background: #ffffff !important;
  color: #0f172a !important;
  border-left: 1px solid #e2e8f0 !important;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.1);
}
@media (max-width: 767px) {
  #inspector-drawer.agm-light-inspector { z-index: 1265 !important; width: min(390px, 100vw) !important; }
}
.insp-light-hdr {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
#inspector-drawer #insp-title {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}
#inspector-drawer #insp-sub {
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.insp-light-tabs {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  scrollbar-width: none;
}
.insp-light-tabs::-webkit-scrollbar { display: none; }
#inspector-drawer .tab-pill {
  padding: 10px 11px;
  border: 0;
  border-bottom: 2.5px solid transparent;
  background: transparent !important;
  color: #64748b !important;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
#inspector-drawer .tab-pill:hover { color: #1d4ed8 !important; }
#inspector-drawer .tab-pill.active {
  color: #1d72e8 !important;
  font-weight: 800;
  border-bottom-color: #1d72e8 !important;
  background: rgba(29, 114, 232, 0.05) !important;
}
#inspector-drawer .agm-badge.badge-gov { background: #ecfdf5 !important; color: #047857 !important; border: 1px solid #6ee7b7 !important; }
#inspector-drawer .agm-badge.badge-pro { background: #eff6ff !important; color: #1d4ed8 !important; border: 1px solid #93c5fd !important; }
#inspector-drawer .agm-badge.badge-free { background: #f1f5f9 !important; color: #334155 !important; border: 1px solid #cbd5e1 !important; }
#inspector-drawer .agm-badge.badge-ent { background: #fffbeb !important; color: #b45309 !important; border: 1px solid #fcd34d !important; }
#inspector-drawer .agm-badge.badge-danger { background: #fef2f2 !important; color: #b91c1c !important; border: 1px solid #fca5a5 !important; }

.insp-callout-emerald {
  padding: 12px;
  border-radius: 12px;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
}
.insp-callout-emerald a { color: #047857 !important; font-weight: 700; text-decoration: underline; }
.insp-callout-amber {
  padding: 13px;
  border-radius: 12px;
  background: #fffbeb !important;
  border: 1px solid #fcd34d !important;
  color: #92400e !important;
}
.insp-callout-red {
  padding: 12px;
  border-radius: 12px;
  background: #fef2f2 !important;
  border: 1px solid #fca5a5 !important;
  color: #991b1b !important;
}
.insp-kpi-box {
  padding: 10px 6px;
  border-radius: 10px;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  text-align: center;
}
.insp-val-emerald { font-size: 14.5px; font-weight: 800; color: #047857 !important; }
.insp-val-blue { font-size: 14.5px; font-weight: 800; color: #1d4ed8 !important; }
.insp-val-amber { font-size: 14.5px; font-weight: 800; color: #b45309 !important; }
.insp-kpi-lbl { font-size: 11px; font-weight: 600; color: #475569 !important; margin-top: 2px; }

.insp-info-card {
  padding: 12px;
  border-radius: 12px;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  color: #1e293b !important;
}
.insp-list-item {
  padding: 10px 12px;
  border-radius: 11px;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.insp-list-item:hover {
  background: #eff6ff !important;
  border-color: #60a5fa !important;
}
.insp-title-strong { font-weight: 800; color: #0f172a !important; }
.insp-muted { color: #64748b !important; }
.insp-txt-emerald { color: #047857 !important; font-weight: 700; }
.insp-txt-blue { color: #1d4ed8 !important; font-weight: 700; }
.insp-txt-amber { color: #b45309 !important; font-weight: 700; }

#inspector-drawer .input-dark {
  width: 100%;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 9px;
  padding: 7px 10px;
}
#inspector-drawer .input-dark:focus {
  background: #ffffff !important;
  border-color: #1d72e8 !important;
  outline: none;
}
#inspector-drawer .btn-outline {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
#inspector-drawer .btn-outline:hover {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}
#inspector-drawer .btn-primary {
  background: #1d72e8 !important;
  border: 1px solid #1d72e8 !important;
  color: #ffffff !important;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
}
#inspector-drawer .btn-primary:hover { background: #1557b0 !important; }

#agm-terrain3d-dock.agm-3d-dock {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
}
#desk-3d-menu-slot #agm-terrain3d-dock.agm-3d-dock {
  position: static !important;
  width: 100% !important;
  max-height: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  padding: 10px !important;
}
#agm-terrain3d-dock .agm-3d-sec { border-top: 1px solid #e2e8f0 !important; }
#agm-terrain3d-dock .agm-chip-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700;
}
#agm-terrain3d-dock .agm-chip-btn.active {
  background: #1d72e8 !important;
  color: #ffffff !important;
  border-color: #1d72e8 !important;
}
#agm-point-dem-card.agm-point-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18) !important;
}

@media (min-width: 768px) {
  #map-3d .maplibregl-ctrl-bottom-left {
    left: 13px !important;
    bottom: 50px !important;
  }
  #map-3d .maplibregl-ctrl-compass { display: none !important; }
  #map-3d .maplibregl-ctrl-group {
    margin: 0 !important;
    border: 0 !important;
    background: rgba(148, 163, 184, 0.58) !important;
    padding: 4px !important;
    border-radius: 9999px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  #map-3d .maplibregl-ctrl-group button {
    width: 28px !important;
    height: 28px !important;
    border-radius: 9999px !important;
    background-color: #163a70 !important;
    border: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #map-3d .maplibregl-ctrl-group button + button { margin-top: 5px !important; border-top: 0 !important; }
  #map-3d .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) brightness(2); }
  #map-3d .maplibregl-ctrl-bottom-right { right: 74px !important; bottom: 4px !important; }
}
@media (max-width: 767px) {
  #map-3d .maplibregl-ctrl-bottom-left { bottom: 42px !important; }
}
