/* Panorama Municipal — Liquid Glass v2 (Jun/2026) */

body.pm-liquid-v2 {
  --pm-glass-bg: #eef1f6;
  --pm-glass-page-bg: linear-gradient(160deg, #e8ecf2 0%, #f0f3f8 45%, #eceff4 100%);
  --pm-glass-fill: rgba(255, 255, 255, 0.78);
  --pm-glass-fill-hover: rgba(255, 255, 255, 0.92);
  --pm-glass-fill-strong: rgba(255, 255, 255, 0.96);
  --pm-glass-fill-soft: rgba(255, 255, 255, 0.62);
  --pm-glass-surface: rgba(255, 255, 255, 0.82);
  --pm-glass-surface-strong: rgba(255, 255, 255, 0.94);
  --pm-glass-border: rgba(255, 255, 255, 0.88);
  --pm-glass-border-blue: rgba(36, 78, 156, 0.10);
  --pm-glass-border-soft: rgba(15, 35, 71, 0.06);
  --pm-glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --pm-glass-shadow-float: 0 14px 40px rgba(15, 35, 71, 0.08), 0 4px 14px rgba(15, 35, 71, 0.04);
  --pm-glass-shadow: 0 8px 24px rgba(15, 35, 71, 0.07), 0 2px 8px rgba(15, 35, 71, 0.03);
  --pm-glass-shadow-soft: 0 4px 16px rgba(15, 35, 71, 0.05), 0 1px 4px rgba(15, 35, 71, 0.03);
  --pm-glass-blur: blur(18px) saturate(1.2);
  --pm-glass-blur-strong: blur(22px) saturate(1.25);
  --pm-glass-radius-xl: 28px;
  --pm-glass-radius-lg: 22px;
  --pm-glass-radius-md: 16px;
  --pm-glass-radius-sm: 12px;
  --pm-glass-blue: #244e9c;
  --pm-glass-blue-soft: #3b6fd4;
  --pm-accent: #2563eb;
  --pm-accent-light: #3b82f6;
  --pm-accent-gradient: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  --pm-accent-glow: 0 8px 24px rgba(37, 99, 235, 0.28);
  --pm-accent-glow-hover: 0 12px 32px rgba(37, 99, 235, 0.36);
  --pm-ease-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
  --pm-ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --pm-duration-fast: 0.18s;
  --pm-duration-med: 0.32s;
  --pm-glass-muted: #8b97ad;
  --pm-glass-text: #1a2f57;
  --pm-map-rail-width: 380px;
  --pm-login-glass-fill: rgba(255, 255, 255, 0.46);
  --pm-login-glass-border: rgba(255, 255, 255, 0.58);
  --pm-login-glass-blur: blur(22px) saturate(1.2);
  --pm-sidebar-glass-fill: rgba(255, 255, 255, 0.22);
  --pm-sidebar-glass-blur: blur(52px) saturate(1.3) brightness(1.04);
  --pm-sidebar-glass-blur-bleed: 36px;
  --pm-sidebar-text-on-blur: rgba(255, 255, 255, 0.96);
  --pm-sidebar-text-on-blur-muted: rgba(255, 255, 255, 0.82);
  --pm-sidebar-btn-fill: rgba(255, 255, 255, 0.56);
  --pm-sidebar-btn-fill-hover: rgba(255, 255, 255, 0.72);
  --pm-sidebar-btn-fill-active: rgba(255, 255, 255, 0.84);
  --pm-sidebar-btn-border: rgba(255, 255, 255, 0.88);
  --pm-sidebar-btn-border-soft: rgba(255, 255, 255, 0.62);
  --pm-sidebar-btn-text: #1a2f57;
  --pm-sidebar-btn-text-muted: #4a6178;
  --pm-login-glass-shadow:
    0 24px 56px rgba(15, 35, 71, 0.11),
    0 6px 20px rgba(15, 35, 71, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  --pm-bridge-bg-image: url("../img/bg/martin-martz-unsplash.jpg");
  --pm-scene-bg-soft-blur: blur(32px);
  --pm-map-scene-inset: 12px;
  --pm-map-scene-gap: 12px;
  --pm-map-scene-radius: 20px;
  --pm-float-topbar-height: 58px;
  --pm-topbar-glass-fill: rgba(255, 255, 255, 0.46);
  --pm-topbar-glass-blur: blur(28px) saturate(1.15) brightness(1.14);
  --pm-topbar-glass-blur-bleed: 28px;
  --pm-topbar-glass-border: rgba(255, 255, 255, 0.72);
  --pm-topbar-glass-shadow:
    0 10px 28px rgba(15, 35, 71, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  --pm-map-hud-glass-fill: rgba(255, 255, 255, 0.18);
  --pm-map-hud-glass-fill-hover: rgba(255, 255, 255, 0.28);
  --pm-map-hud-glass-border: rgba(255, 255, 255, 0.54);
  --pm-map-hud-glass-blur: blur(14px) saturate(1.15);
  --pm-map-hud-glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 24px rgba(15, 35, 71, 0.1);
  --pm-map-hud-text: #1a2f57;
  --pm-map-hud-text-muted: #4a6178;
  --pm-map-hud-icon: #244e9c;
  --pm-map-hud-icon-strong: #1a3568;
  --pm-sidebar-content-x: 10px;
  --pm-sidebar-grid-gap: 8px;
}

/* ── Shell & fundo (sem card externo) ────────────────────── */
body.pm-liquid-v2 {
  background: var(--pm-glass-page-bg) !important;
  color: var(--pm-glass-text) !important;
}

body.pm-liquid-v2 .app {
  height: 100% !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 10px 14px 0 !important;
  box-sizing: border-box;
  background: var(--pm-glass-page-bg) !important;
  color: var(--pm-glass-text) !important;
}

html[data-theme="light"] body.pm-liquid-v2,
html[data-theme="dark"] body.pm-liquid-v2 {
  background: var(--pm-glass-page-bg) !important;
  background-color: #eef1f6 !important;
}

html[data-theme="dark"] body.pm-liquid-v2.map-source-active,
html[data-theme="dark"] body.pm-liquid-v2.map-source-active .app,
html[data-theme="dark"] body.pm-liquid-v2.map-source-active .main,
html[data-theme="dark"] body.pm-liquid-v2.map-source-active .content,
html[data-theme="dark"] body.pm-liquid-v2.map-source-active .censo-integrated {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.pm-liquid-v2 .main {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
}

body.pm-liquid-v2 .content {
  background: transparent !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

body.pm-liquid-v2 .content:has(.censo-integrated) {
  padding: 0 !important;
  gap: 0 !important;
}

body.pm-liquid-v2.map-source-active .content {
  padding: 0 !important;
}

body.pm-liquid-v2.map-source-active .censo-integrated,
body.pm-liquid-v2.map-source-active #panel-mapa,
body.pm-liquid-v2.map-source-active #panel-mapa.active,
body.pm-liquid-v2.map-source-active #sec-mapa,
body.pm-liquid-v2.map-source-active #sec-mapa.active,
body.pm-liquid-v2.map-source-active .pm-glass-workspace,
body.pm-liquid-v2.map-source-active .pm-glass-map-layout,
body.pm-liquid-v2.map-source-active .pm-glass-map-card,
body.pm-liquid-v2.map-source-active .pm-glass-map-area {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
}

/* ── Topbar flutuante (sem fundo / sem barra cinza) ───────── */
html[data-theme="light"] body.pm-liquid-v2 .topbar,
html[data-theme="dark"] body.pm-liquid-v2 .topbar,
body.pm-liquid-v2 .topbar,
body.pm-liquid-v2 .pm-glass-topbar {
  height: auto !important;
  min-height: 64px !important;
  padding: 6px 4px 10px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
  flex-shrink: 0;
}

body.pm-liquid-v2 .topbar-left.pm-glass-brand,
body.pm-liquid-v2 .pm-glass-brand {
  display: flex !important;
  grid-template-columns: unset !important;
  grid-template-rows: unset !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  width: auto !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  flex-shrink: 0;
}

body.pm-liquid-v2 .pm-glass-brand-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
}

body.pm-liquid-v2 .pm-glass-brand-copy .crumb,
body.pm-liquid-v2 .pm-glass-brand-copy .crumb-sub {
  grid-column: unset !important;
  grid-row: unset !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  align-self: auto !important;
  white-space: nowrap !important;
}

body.pm-liquid-v2 .pm-glass-brand-mark,
body.pm-liquid-v2 .pm-glass-brand-card {
  width: auto;
  min-width: 52px;
  height: 48px;
  padding: 6px 10px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid rgba(36, 78, 156, 0.08);
  box-shadow: 0 4px 14px rgba(36, 78, 156, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.pm-liquid-v2 .pm-glass-brand-logo {
  width: auto;
  height: 34px;
  max-width: 132px;
  object-fit: contain;
  display: block;
}

body.pm-liquid-v2 .pm-glass-brand-title,
body.pm-liquid-v2 .crumb.pm-glass-brand-title {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--pm-glass-blue) !important;
  line-height: 1.15;
}

body.pm-liquid-v2 .pm-glass-brand-sub,
body.pm-liquid-v2 .crumb-sub.pm-glass-brand-sub {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--pm-glass-muted) !important;
  opacity: 1 !important;
  margin-top: 2px !important;
}

body.pm-liquid-v2 .pm-glass-search.searchbox {
  width: min(680px, 100%);
  height: 44px;
  border-radius: 14px !important;
  border: 1px solid rgba(36, 78, 156, 0.08) !important;
  background: rgba(244, 247, 252, 0.92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.pm-liquid-v2 .pm-glass-search .icon,
body.pm-liquid-v2 .pm-glass-search .icon svg {
  color: #94a3b8 !important;
}

body.pm-liquid-v2 .pm-glass-search input {
  font-size: 13px;
  color: #475569 !important;
}

body.pm-liquid-v2 .pm-glass-topbar-actions {
  gap: 8px !important;
}

body.pm-liquid-v2 .pm-glass-icon-btn.icon-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(36, 78, 156, 0.08) !important;
  box-shadow: 0 4px 12px rgba(36, 78, 156, 0.06) !important;
  color: var(--pm-glass-blue) !important;
}

body.pm-liquid-v2 .pm-glass-icon-btn.icon-btn:hover {
  filter: none !important;
  background: #fff !important;
  transform: translateY(-1px);
}

body.pm-liquid-v2 .pm-glass-icon-btn .badge {
  background: var(--pm-glass-blue-soft) !important;
  border: 2px solid #fff;
}

body.pm-liquid-v2 .pm-glass-user-btn.user-btn {
  height: 46px;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 78, 156, 0.08);
  box-shadow: 0 4px 12px rgba(36, 78, 156, 0.06);
  gap: 10px;
}

body.pm-liquid-v2.map-source-active .pm-glass-user-btn.user-btn,
body.pm-liquid-v2.map-source-active .pm-apple-profile-btn.pm-glass-user-btn,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-user-btn.user-btn,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-apple-profile-btn.pm-glass-user-btn {
  background: rgba(255, 255, 255, 0.34) !important;
  background-color: rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(32px) saturate(1.55) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.55) brightness(1.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 28px rgba(15, 35, 71, 0.08) !important;
}

body.pm-liquid-v2 .pm-glass-user-avatar.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(36, 78, 156, 0.12);
}

body.pm-liquid-v2 .pm-glass-user-info .user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--pm-glass-text);
}

body.pm-liquid-v2 .pm-glass-user-info .user-role {
  font-size: 11px;
  color: var(--pm-glass-muted);
}

body.pm-liquid-v2 .user-chevron {
  display: none;
}

/* ── Esconder abas legadas ─────────────────────────────────── */
body.pm-liquid-v2 .source-switcher,
body.pm-liquid-v2 .pm-liquid-legacy-sources,
body.pm-liquid-v2 .censo-integrated > .source-switcher {
  display: none !important;
}

body.pm-liquid-v2 .censo-integrated {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  min-height: 0 !important;
  height: 100% !important;
  background: transparent !important;
}

body.pm-liquid-v2 #panel-mapa,
body.pm-liquid-v2 #sec-mapa {
  flex: 1 !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}

/* ── Cena da ponte — viewport inteiro, ponta a ponta ─────── */
body.pm-liquid-v2.map-source-active,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.pm-liquid-v2.map-source-active .pm-bridge-bg,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .pm-bridge-bg {
  display: none !important;
  visibility: hidden !important;
}

.pm-bridge-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pm-bridge-bg__slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.04) brightness(1.03) var(--pm-scene-bg-soft-blur);
  -webkit-filter: saturate(1.04) brightness(1.03) var(--pm-scene-bg-soft-blur);
  transform: scale(1.06);
  opacity: 1;
}

.pm-bridge-bg__slide--a {
  background-image: var(--pm-bridge-bg-image);
}

@media (prefers-reduced-motion: reduce) {
  .pm-bridge-bg__slide {
    opacity: 1;
  }
}

html[data-theme="light"] body.pm-liquid-v2.map-source-active,
html[data-theme="dark"] body.pm-liquid-v2.map-source-active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.pm-liquid-v2.map-source-active .app,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .app,
body.pm-liquid-v2.map-source-active .main,
body.pm-liquid-v2.map-source-active .content,
body.pm-liquid-v2.map-source-active .censo-integrated {
  position: relative;
  z-index: 1;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.pm-liquid-v2.map-source-active .app,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .app {
  padding: 0 !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
}

body.pm-liquid-v2.map-source-active #panel-mapa,
body.pm-liquid-v2.map-source-active #panel-mapa.active,
body.pm-liquid-v2.map-source-active #sec-mapa,
body.pm-liquid-v2.map-source-active #sec-mapa.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #panel-mapa,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #sec-mapa {
  position: relative;
  background: transparent !important;
  overflow: visible !important;
}

body.pm-liquid-v2.map-source-active .main,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .main {
  padding: var(--pm-map-scene-inset) !important;
  gap: var(--pm-map-scene-gap) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-workspace,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-workspace {
  position: relative;
  background: transparent !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-map-layout.pm-map-layout,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-layout.pm-map-layout {
  position: relative !important;
  gap: var(--pm-map-scene-gap) !important;
  padding: 0 !important;
  background: transparent !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-map-layout.pm-map-layout::before,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-layout.pm-map-layout::before {
  content: none !important;
  display: none !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-map-card,
body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar,
body.pm-liquid-v2.map-source-active .pm-map-sidebar,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-card,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar {
  position: relative;
  z-index: 1;
}

body.pm-liquid-v2.map-source-active .topbar,
body.pm-liquid-v2.map-source-active .pm-glass-topbar,
body.pm-liquid-v2.map-source-active .pm-float-topbar {
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-map-area .pm-map-iframe,
body.pm-liquid-v2.map-source-active .pm-glass-map-area #mapFrame,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-area .pm-map-iframe,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-area #mapFrame {
  border-radius: inherit !important;
}

/* ── Workspace mapa + painel ─────────────────────────────── */
body.pm-liquid-v2 .pm-glass-workspace {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.pm-liquid-v2 .pm-glass-map-layout.pm-map-layout {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  gap: 14px !important;
  padding: 0 !important;
  background: transparent !important;
  align-items: stretch !important;
}

/* Wrapper sem visual — só o mapa é o card flutuante */
body.pm-liquid-v2 .pm-glass-map-card {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2 .pm-glass-map-area.pm-map-area {
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: var(--pm-glass-radius-lg);
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--pm-login-glass-border);
  box-shadow: var(--pm-login-glass-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.pm-liquid-v2 .pm-glass-map-area .pm-map-iframe,
body.pm-liquid-v2 .pm-glass-map-area #mapFrame {
  border-radius: inherit;
}

/* ── Clima ─────────────────────────────────────────────────── */
body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-weather-card {
  top: 14px !important;
  left: 14px !important;
  border-radius: 16px !important;
  padding: 10px 12px !important;
  background: var(--pm-map-hud-glass-fill) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card:hover,
body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card[aria-expanded="true"],
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-weather-card:hover,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-weather-card[aria-expanded="true"] {
  background: var(--pm-map-hud-glass-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

/* ── Controles do mapa ─────────────────────────────────────── */
body.pm-liquid-v2 .pm-map-area .pm-map-corner-right {
  top: auto !important;
  bottom: 18px !important;
  right: 14px !important;
  transform: none !important;
  gap: 8px !important;
}

body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger
),
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger
) {
  background: var(--pm-map-hud-glass-fill) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger
):hover,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger
):hover {
  background: var(--pm-map-hud-glass-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-zoom-pill .pm-map-zoom-btn,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-map-zoom-pill .pm-map-zoom-btn {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2 .pm-map-sidebar-edge-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* HUD inferior: escala + coords à esquerda, barra de camadas ampla ao centro */
body.pm-liquid-v2 .pm-map-bottom-hud.pm-map-corner-bottom {
  left: 18px !important;
  right: 18px !important;
  bottom: 16px !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px) minmax(0, 1fr) !important;
  align-items: end !important;
  justify-content: stretch !important;
  gap: 16px !important;
  pointer-events: none !important;
}

body.pm-liquid-v2 .pm-map-scale-hud,
body.pm-liquid-v2 .pm-map-bottom-hud .pm-map-scale-hud {
  display: flex !important;
  grid-column: 1 !important;
  justify-self: start !important;
  pointer-events: none !important;
}

body.pm-liquid-v2 .pm-map-bottom-hud .pm-active-bar,
body.pm-liquid-v2 .pm-map-corner-bottom .pm-active-bar,
body.pm-liquid-v2 #pmActiveBar {
  grid-column: 2 !important;
  justify-self: center !important;
  pointer-events: auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 520px !important;
  min-width: 0 !important;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  padding: 8px 10px 8px 12px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  flex: 0 0 auto !important;
}

body.pm-liquid-v2 .pm-active-bar-chevron {
  display: none !important;
}

body.pm-liquid-v2 .pm-map-bottom-hud .pm-active-bar-count,
body.pm-liquid-v2 #pmActiveCount {
  width: auto !important;
  min-width: 46px !important;
  max-width: none !important;
  height: 22px !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
}

body.pm-liquid-v2 .pm-map-bottom-hud .pm-active-chips,
body.pm-liquid-v2 #pmActiveChips {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  max-height: 32px !important;
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

body.pm-liquid-v2 .pm-map-bottom-hud .pm-active-bar-action,
body.pm-liquid-v2 #pmActiveClear {
  display: inline-flex !important;
  width: 22px !important;
  height: 22px !important;
  opacity: 1 !important;
  position: static !important;
  pointer-events: auto !important;
  flex: 0 0 auto !important;
}

/* ── Sidebar direita (vidro) ─────────────────────────────── */
body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar {
  flex: 0 0 var(--pm-map-rail-width) !important;
  width: var(--pm-map-rail-width) !important;
  min-width: var(--pm-map-rail-width) !important;
  max-width: var(--pm-map-rail-width) !important;
  height: 100% !important;
  min-height: 0 !important;
  position: relative;
  z-index: 0;
  border-radius: var(--pm-glass-radius-lg) !important;
  border: 1px solid var(--pm-login-glass-border) !important;
  border-left: 1px solid var(--pm-login-glass-border) !important;
  background: var(--pm-login-glass-fill) !important;
  box-shadow: var(--pm-login-glass-shadow) !important;
  backdrop-filter: var(--pm-login-glass-blur);
  -webkit-backdrop-filter: var(--pm-login-glass-blur);
  overflow: hidden;
  transition:
    flex-basis 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    visibility 0.28s ease;
}

/* Painel lateral recolhido — mapa ocupa toda a área de visualização */
body.pm-liquid-v2 .pm-map-layout.pm-map-sidebar-rail-collapsed {
  gap: 0 !important;
}

body.pm-liquid-v2 .pm-map-layout.pm-map-sidebar-rail-collapsed .pm-glass-rail.pm-map-sidebar {
  flex: 0 0 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.pm-liquid-v2 .pm-map-layout.pm-map-sidebar-rail-collapsed .pm-glass-map-card {
  flex: 1 1 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.pm-liquid-v2 .pm-map-layout.pm-map-sidebar-rail-collapsed .pm-glass-map-area.pm-map-area {
  width: 100% !important;
  flex: 1 1 auto !important;
}

body.pm-liquid-v2 .pm-map-layout.pm-map-sidebar-rail-collapsed .pm-map-sidebar-edge-toggle-chevron {
  transform: scaleX(-1);
}

body.pm-liquid-v2 .pm-map-sidebar > .pm-sb-tabs {
  padding: 10px var(--pm-sidebar-content-x) 6px !important;
  border-bottom: none !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: var(--pm-sidebar-grid-gap) !important;
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2 .pm-sb-tabs--icon-only {
  gap: var(--pm-sidebar-grid-gap) !important;
}

body.pm-liquid-v2 .pm-sb-tabs--icon-only .pm-sb-tab {
  gap: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.pm-liquid-v2 .pm-sb-tabs--icon-only .pm-sb-tab svg {
  width: 22px !important;
  height: 22px !important;
  opacity: 0.88;
}

body.pm-liquid-v2 .pm-sb-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 7px 4px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: var(--pm-glass-muted) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  background: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
  transition:
    background var(--pm-duration-fast) var(--pm-ease-smooth),
    border-color var(--pm-duration-fast) var(--pm-ease-smooth),
    color var(--pm-duration-fast) var(--pm-ease-smooth),
    box-shadow var(--pm-duration-med) var(--pm-ease-smooth),
    transform var(--pm-duration-fast) var(--pm-ease-spring);
}

body.pm-liquid-v2 .pm-sb-tab svg {
  opacity: 0.55;
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  transition:
    opacity var(--pm-duration-fast) var(--pm-ease-smooth),
    color var(--pm-duration-fast) var(--pm-ease-smooth),
    transform var(--pm-duration-fast) var(--pm-ease-spring);
}

body.pm-liquid-v2 .pm-sb-tab:hover {
  color: var(--pm-glass-blue) !important;
  background: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  transform: translateY(-1px);
}

body.pm-liquid-v2 .pm-sb-tab.active {
  color: #ffffff !important;
  background: var(--pm-accent-gradient) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: var(--pm-accent-glow) !important;
  transform: translateY(-1px) scale(1.02);
}

body.pm-liquid-v2 .pm-sb-tab.active svg {
  opacity: 1 !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab:not(.active) svg {
  color: rgba(255, 255, 255, 0.9) !important;
  stroke: rgba(255, 255, 255, 0.9) !important;
  opacity: 0.92 !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

body.pm-liquid-v2 .pm-sb-panel {
  background: transparent !important;
}

body.pm-liquid-v2 #pmtab-categorias.pm-sb-panel.active {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  padding: 8px var(--pm-sidebar-content-x) 12px !important;
  gap: 10px;
}

body.pm-liquid-v2 #pmtab-acao.pm-sb-panel.active,
body.pm-liquid-v2 #pmtab-relatorios.pm-sb-panel.active {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  padding: 8px var(--pm-sidebar-content-x) 12px !important;
  gap: 10px;
  background: transparent !important;
}

body.pm-liquid-v2 #pmtab-categorias .pm-cat-section {
  flex-shrink: 0;
}

body.pm-liquid-v2 .pm-sb-section-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
}

body.pm-liquid-v2 .pm-liquid-cat-search.pm-sb-search {
  display: none !important;
}

body.pm-liquid-v2 .pm-glass-cat-grid.pm-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--pm-sidebar-grid-gap) !important;
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 12px !important;
  border: 1px solid rgba(36, 78, 156, 0.08) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 2px 8px rgba(36, 78, 156, 0.04) !important;
  padding: 8px 6px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item .pm-cat-label {
  width: 100% !important;
  text-align: center !important;
  line-height: 1.25 !important;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item .pm-cat-icon {
  width: 26px !important;
  height: 26px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  background: rgba(36, 78, 156, 0.08) !important;
  color: var(--pm-glass-blue-soft) !important;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item .pm-cat-arrow {
  display: none !important;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item.on {
  border-color: rgba(59, 111, 212, 0.35) !important;
  background: linear-gradient(160deg, rgba(59, 111, 212, 0.12), rgba(255, 255, 255, 0.95)) !important;
  box-shadow: 0 8px 20px rgba(59, 111, 212, 0.14) !important;
  color: var(--pm-glass-blue) !important;
}

body.pm-liquid-v2 #pmtab-categorias .map-cat-item.on .pm-cat-icon {
  background: rgba(59, 111, 212, 0.16) !important;
  color: var(--pm-glass-blue) !important;
}

body.pm-liquid-v2 .pm-glass-layers-card.pm-layers-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.pm-liquid-v2 .pm-layers-card-head {
  padding: 2px 0 8px !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  flex-shrink: 0;
}

body.pm-liquid-v2 .pm-layers-card-head svg {
  opacity: 0.55;
}

body.pm-liquid-v2 .pm-layers-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.pm-liquid-v2 .pm-layers-card-body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

body.pm-liquid-v2 #pmtab-categorias #mapLayersList {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 !important;
}

body.pm-liquid-v2 #pmtab-secretarias .pm-layers-list .pm-layer-row,
body.pm-liquid-v2 #pmtab-relatorios .pm-layers-list .pm-layer-row,
body.pm-liquid-v2 #pmtab-secretarias .map-layers-list .map-layer-item,
body.pm-liquid-v2 #pmtab-relatorios .map-layers-list .map-layer-item {
  border-radius: 12px !important;
  margin-bottom: 6px;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

body.pm-liquid-v2 #pmtab-secretarias .pm-layers-list .pm-layer-row:hover,
body.pm-liquid-v2 #pmtab-relatorios .pm-layers-list .pm-layer-row:hover,
body.pm-liquid-v2 #pmtab-secretarias .map-layers-list .map-layer-item:hover,
body.pm-liquid-v2 #pmtab-relatorios .map-layers-list .map-layer-item:hover {
  border-color: rgba(36, 78, 156, 0.1) !important;
  background: #fff !important;
}

/* Recortes territoriais */
body.pm-liquid-v2 .pm-map-section-row {
  margin-top: 4px;
}

body.pm-liquid-v2 .pm-map-section-row .pm-sb-section-label {
  margin-top: 4px;
}

/* Secretarias tab — manter estilo compacto */
body.pm-liquid-v2 #pmtab-secretarias.pm-sb-panel.active {
  padding: 12px 14px 14px !important;
}

/* ── Overrides globais (styles.css força fundos sólidos) ─── */
html[data-theme="light"] body.pm-liquid-v2,
html[data-theme="light"] body.pm-liquid-v2 .app,
html[data-theme="light"] body.pm-liquid-v2 .main,
html[data-theme="light"] body.pm-liquid-v2 .content {
  background: var(--pm-glass-page-bg) !important;
  color: var(--pm-glass-text) !important;
}

html[data-theme="light"] body.pm-liquid-v2.map-source-active,
html[data-theme="light"] body.pm-liquid-v2.map-source-active .app,
html[data-theme="light"] body.pm-liquid-v2.map-source-active .main,
html[data-theme="light"] body.pm-liquid-v2.map-source-active .content,
html[data-theme="light"] body.pm-liquid-v2.map-source-active .censo-integrated {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

html[data-theme="light"] body.pm-liquid-v2 .topbar,
html[data-theme="dark"] body.pm-liquid-v2 .topbar {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.pm-liquid-v2 .topbar .icon-btn,
html[data-theme="light"] body.pm-liquid-v2 .topbar .user-btn:not(.pm-apple-profile-btn) {
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(36, 78, 156, 0.08) !important;
  color: var(--pm-glass-blue) !important;
}

html[data-theme="light"] body.pm-liquid-v2 .topbar .user-btn.pm-apple-profile-btn,
html[data-theme="light"] body.pm-liquid-v2 .topbar #btnUser.pm-apple-profile-btn {
  background: rgba(255, 255, 255, 0.34) !important;
  backdrop-filter: blur(32px) saturate(1.55) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.55) brightness(1.05) !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
}

/* ── Responsivo ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  body.pm-liquid-v2 .app {
    padding: 8px;
  }

  body.pm-liquid-v2.map-source-active .app,
  body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .app {
    padding: 0 !important;
  }

  body.pm-liquid-v2 .pm-glass-map-layout.pm-map-layout {
    flex-direction: column !important;
  }

  body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: 42vh;
  }
}

/* ═══════════════════════════════════════════════════════════
   OVERRIDES FINAIS — vence styles.css + map-init-fixes.css
   ═══════════════════════════════════════════════════════════ */

/* Rodapé cinza inferior — vence dark-monochrome.css (#eef4ff) */
body.pm-liquid-v2 .main > footer.footer,
body.pm-liquid-v2 .main > .footer.pm-app-footer,
body.pm-liquid-v2 footer.footer.pm-app-footer,
body.pm-liquid-v2 .pm-app-footer,
body.pm-liquid-v2 .pm-app-footer-inner,
html[data-theme="light"] body.pm-liquid-v2 .pm-app-footer,
html[data-theme="dark"] body.pm-liquid-v2 .pm-app-footer,
html[data-theme="light"] body.pm-liquid-v2 footer.footer,
html[data-theme="dark"] body.pm-liquid-v2 footer.footer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-top: none !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  flex: 0 0 0 !important;
}

/* Topbar sem faixa cinza/azul — vence styles.css + topbar-stripe.js */
body.pm-liquid-v2 header.topbar,
body.pm-liquid-v2 .main > header.topbar,
body.pm-liquid-v2 .topbar,
body.pm-liquid-v2 .pm-glass-topbar,
html[data-theme="light"] body.pm-liquid-v2 .topbar,
html[data-theme="dark"] body.pm-liquid-v2 .topbar,
html[data-theme="light"] body.pm-liquid-v2 .main header.topbar,
html[data-theme="dark"] body.pm-liquid-v2 .main header.topbar,
html[data-theme="light"] .topbar,
html[data-theme="dark"] .topbar,
.topbar {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
}

body.pm-liquid-v2 header.topbar::before,
body.pm-liquid-v2 header.topbar::after,
body.pm-liquid-v2 .main > header.topbar::before,
body.pm-liquid-v2 .main > header.topbar::after,
body.pm-liquid-v2 .topbar::before,
body.pm-liquid-v2 .topbar::after,
html[data-theme="light"] body.pm-liquid-v2 .topbar::before,
html[data-theme="light"] body.pm-liquid-v2 .topbar::after,
html[data-theme="dark"] body.pm-liquid-v2 .topbar::before,
html[data-theme="dark"] body.pm-liquid-v2 .topbar::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  inset: auto !important;
  pointer-events: none !important;
}

/* Card branco de Camadas disponíveis — remover */
body.pm-liquid-v2 #pmtab-categorias .pm-layers-card,
body.pm-liquid-v2 #pmtab-categorias .pm-glass-layers-card {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-head {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: none !important;
  min-height: 0 !important;
  padding: 0 0 8px !important;
}

body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body {
  background: transparent !important;
  padding: 0 !important;
}

body.pm-liquid-v2 #pmtab-categorias:not(.pm-socio-fullscreen) #mapLayersList.pm-layers-list {
  padding: 0 !important;
  gap: 8px !important;
  background: transparent !important;
}

/* map-init-fixes: não esticar barra ativa em 100% no liquid v2 */
body.pm-liquid-v2 .pm-map-layout .pm-map-bottom-hud.pm-map-corner-bottom .pm-active-bar,
body.pm-liquid-v2 .pm-map-layout .pm-map-corner-bottom .pm-active-bar {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 520px !important;
}

/* Ícones das camadas — cinza, azul no hover */
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special .mls-icon,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special [class*="mls-icon--"] {
  background: rgba(148, 163, 184, 0.22) !important;
  color: #94a3b8 !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special:hover .mls-icon,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special:hover [class*="mls-icon--"],
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special.is-open .mls-icon,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special.is-open [class*="mls-icon--"] {
  background: rgba(36, 78, 156, 0.14) !important;
  color: #3b6fd4 !important;
}

/* Fundos cinza/branco forçados pelo styles.css */
html[data-theme="light"] body.pm-liquid-v2 .main,
html[data-theme="light"] body.pm-liquid-v2 .content,
body.pm-liquid-v2 .main,
body.pm-liquid-v2 .content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

body.pm-liquid-v2 .main > footer,
body.pm-liquid-v2 .main > .footer {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  flex: 0 0 0 !important;
}

/* Sem faixa inferior — conteúdo até a borda do viewport */
body.pm-liquid-v2 .main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.pm-liquid-v2 .content,
body.pm-liquid-v2 .censo-integrated,
body.pm-liquid-v2 .pm-glass-workspace {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Overlays de dashboard — acima de topbar, sidebar e mapa */
#pmActionReportOverlay,
#pmSecretariaDashboardOverlay,
.pm-action-report-overlay.pm-modal-backdrop,
.pm-sec-dash-overlay.pm-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  align-items: center !important;
  justify-content: center !important;
  padding:
    max(10px, env(safe-area-inset-top))
    max(10px, env(safe-area-inset-right))
    max(10px, env(safe-area-inset-bottom))
    max(10px, env(safe-area-inset-left)) !important;
  background: rgba(15, 23, 42, 0.22) !important;
  backdrop-filter: blur(12px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.05) !important;
}

body.pm-dash-overlay-open {
  overflow: hidden !important;
}

body.pm-dash-overlay-open .topbar,
body.pm-dash-overlay-open .pm-glass-topbar,
body.pm-dash-overlay-open .app > .main > header.topbar,
body.pm-dash-overlay-open .pm-map-sidebar,
body.pm-dash-overlay-open .pm-glass-rail,
body.pm-dash-overlay-open .sidebar,
body.pm-dash-overlay-open .pm-map-bottom-hud {
  z-index: 1 !important;
}

#pmActionReportOverlay .pm-action-report-modal-v2,
#pmSecretariaDashboardOverlay .pm-action-report-modal-v2 {
  width: min(1600px, 95vw);
  max-width: 95vw;
  height: min(900px, 95vh);
  max-height: 95vh;
  margin: 0 auto;
  flex-shrink: 0;
  background: #f7f3ee !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 28px !important;
}

@media (max-width: 900px), (max-height: 820px) {
  #pmActionReportOverlay .pm-action-report-modal-v2,
  #pmSecretariaDashboardOverlay .pm-action-report-modal-v2 {
    width: min(94vw, calc(100vw - 20px));
    max-width: 94vw;
    height: min(88vh, calc(100dvh - 24px));
    max-height: 88vh;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  #pmActionReportOverlay,
  #pmSecretariaDashboardOverlay {
    padding: 0 !important;
    align-items: stretch !important;
  }

  #pmActionReportOverlay .pm-action-report-modal-v2,
  #pmSecretariaDashboardOverlay .pm-action-report-modal-v2 {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  #pmSecretariaDashboardOverlay .pm-sec-dash-modal-head {
    padding-top: max(12px, env(safe-area-inset-top)) !important;
  }
}

/* Menu do usuário — acima de overlays do mapa + cantos menos arredondados */
body.pm-liquid-v2 #userMenu.user-menu {
  border-radius: 12px !important;
  z-index: 2147483100 !important;
}

body.pm-liquid-v2 #userMenuBackdrop.user-menu-backdrop {
  z-index: 2147483099 !important;
}

body.pm-liquid-v2 #userMenu.user-menu.open,
body.pm-liquid-v2 #userMenuBackdrop.user-menu-backdrop.open {
  pointer-events: auto !important;
}

body.pm-liquid-v2 #userMenu .user-menu-item,
body.pm-liquid-v2 #userMenu .user-menu-logout {
  pointer-events: auto !important;
  cursor: pointer !important;
}

body.pm-liquid-v2 .pm-modal-backdrop.open:not(.pm-action-report-overlay):not(.pm-sec-dash-overlay) {
  z-index: 2147483110 !important;
}

/* ═══════════════════════════════════════════════════════════
   GLASS — branco base + vidro só em painéis principais
   ═══════════════════════════════════════════════════════════ */

/* Painéis com efeito vidro (blur) — mapa ativo usa cena da ponte abaixo */
body.pm-liquid-v2:not(.map-source-active) :is(
  .pm-glass-rail.pm-map-sidebar,
  .pm-glass-map-area.pm-map-area,
  .pm-weather-card,
  #pmActiveBar,
  .pm-active-bar,
  .pm-modal,
  #userMenu.user-menu
) {
  background: var(--pm-glass-surface) !important;
  backdrop-filter: var(--pm-glass-blur-strong) !important;
  -webkit-backdrop-filter: var(--pm-glass-blur-strong) !important;
  border-color: var(--pm-glass-border) !important;
  box-shadow: var(--pm-glass-inset), var(--pm-glass-shadow-float) !important;
}

body.pm-liquid-v2:not(.map-source-active) :is(
  .pm-action-report-modal-v2,
  #pmActionReportOverlay .pm-action-report-modal-v2,
  #pmSecretariaDashboardOverlay .pm-action-report-modal-v2
) {
  background: #f7f3ee !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2.map-source-active :is(
  #pmActiveBar,
  .pm-active-bar,
  .pm-map-bottom-hud .pm-active-bar,
  .pm-map-corner-bottom .pm-active-bar
) {
  background: var(--pm-map-hud-glass-fill) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
}

/* Cards, abas e botões — branco sólido, borda suave, sem blur pesado */
body.pm-liquid-v2:not(.map-source-active) :is(
  .pm-glass-brand-card,
  .pm-glass-brand-mark,
  .searchbox.pm-glass-search,
  .pm-glass-icon-btn.icon-btn,
  .pm-glass-user-btn.user-btn,
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-sb-tab,
  #pmtab-categorias .map-cat-item,
  .pm-layer-row,
  .pm-layer-group-header,
  .pm-active-chip,
  .pm-action-hero,
  .pm-action-list-wrap,
  .pm-action-report-wrap,
  .pm-action-cat-item,
  .pm-action-scope-btn:not(.active),
  .pm-action-create:not(.active),
  .pm-action-clear,
  .pm-action-export,
  .pm-action-item-tools button,
  .pm-report-option-card,
  .pm-report-type-card,
  .pm-report-batch-item,
  .pm-report-library-item,
  .pm-report-home-foot,
  #pmtab-secretarias .pm-sec-nav-item,
  .pm-sec-back-btn,
  .pm-sec-detail-hero,
  .pm-sec-dash-card,
  .pm-sec-dash-stat,
  .pm-socio-toolbar,
  .pm-socio-stat-card
) {
  background: var(--pm-glass-fill-strong) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: var(--pm-glass-border-soft) !important;
  box-shadow: var(--pm-glass-inset), var(--pm-glass-shadow-soft) !important;
}

body.pm-liquid-v2:not(.map-source-active) :is(
  .pm-sb-tab:hover,
  #pmtab-categorias .map-cat-item:hover,
  .map-layer-item:hover,
  .map-layer-special:hover,
  .pm-layer-row:hover,
  .pm-action-cat-item:hover,
  .pm-action-scope-btn:not(.active):hover,
  .pm-action-create:not(.active):hover,
  .pm-action-clear:hover,
  .pm-action-export:hover,
  .pm-report-option-card:hover,
  .pm-report-type-card:hover,
  #pmtab-secretarias .pm-sec-nav-item:hover,
  .pm-sec-dash-card:hover,
  .pm-glass-icon-btn.icon-btn:hover,
  .pm-glass-user-btn.user-btn:hover,
  .pm-map-round-btn:hover,
  .pm-map-zoom-pill:hover
) {
  background: #ffffff !important;
  border-color: rgba(36, 78, 156, 0.12) !important;
  box-shadow: var(--pm-glass-inset), 0 6px 18px rgba(15, 35, 71, 0.06) !important;
}

body.pm-liquid-v2:not(.map-source-active) :is(
  .pm-sb-tab.active,
  #pmtab-categorias .map-cat-item.on
) {
  background: var(--pm-accent-gradient) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  box-shadow: var(--pm-accent-glow) !important;
  color: #ffffff !important;
}

body.pm-liquid-v2:not(.map-source-active) .pm-sb-tab.active svg {
  color: #ffffff !important;
  opacity: 1 !important;
}

body.pm-liquid-v2 .pm-action-scope-btn.active {
  background: linear-gradient(180deg, #244e9c 0%, #1f3f7f 100%) !important;
  border-color: #244e9c !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(36, 78, 156, 0.18) !important;
}

body.pm-liquid-v2 :is(
  .pm-action-cat-icon,
  #pmtab-categorias .map-cat-item .pm-cat-icon,
  .pm-sec-nav-icon,
  .pm-report-option-icon
) {
  background: rgba(36, 78, 156, 0.06) !important;
  border: 1px solid rgba(36, 78, 156, 0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2 .pm-modal-head,
body.pm-liquid-v2 .pm-action-report-modal-v2 .pm-action-report-head,
body.pm-liquid-v2 .pm-sec-dash-modal-head {
  background: rgba(255, 255, 255, 0.72) !important;
  border-bottom-color: var(--pm-glass-border-soft) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

body.pm-liquid-v2 #userMenuBackdrop.user-menu-backdrop.open {
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* HUD escala/coords — texto direto no mapa, sem card */
body.pm-liquid-v2 .pm-map-scale-hud,
body.pm-liquid-v2 .pm-map-bottom-hud .pm-map-scale-hud,
body.pm-liquid-v2 #pmMapDistanceCard,
body.pm-liquid-v2 .pm-map-bottom-hud #pmMapDistanceCard {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2 #pmMapDistanceCard *,
body.pm-liquid-v2 .pm-map-bottom-hud #pmMapDistanceCard * {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Relatórios — wrapper/painel raiz sem card; cards individuais mantêm estilo */
body.pm-liquid-v2 .pm-report-builder-wrap,
body.pm-liquid-v2 .pm-report-builder-wrap:has(.pm-report-home),
body.pm-liquid-v2 .pm-report-builder-wrap:has(.pm-report-type-view),
body.pm-liquid-v2 .pm-report-builder-wrap:has(.pm-pop-build),
body.pm-liquid-v2 .pm-report-panel-shell.pm-report-home,
body.pm-liquid-v2 .pm-report-panel-shell.pm-report-type-view,
body.pm-liquid-v2 .pm-report-type-view.pm-report-panel-shell,
body.pm-liquid-v2 #pmtab-relatorios .pm-report-builder.pm-report-panel-shell:not(.pm-pop-build) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* Mapa ativo — sidebar: blur REAL na imagem (filter), não só opacidade branca */
body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar,
body.pm-liquid-v2.map-source-active .pm-map-sidebar,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar {
  position: relative !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: var(--pm-map-scene-radius) !important;
  overflow: hidden !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar::before,
body.pm-liquid-v2.map-source-active .pm-map-sidebar::before,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar::before,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--pm-sidebar-glass-blur-bleed));
  z-index: 0;
  pointer-events: none;
  background: transparent;
  backdrop-filter: var(--pm-sidebar-glass-blur);
  -webkit-backdrop-filter: var(--pm-sidebar-glass-blur);
  will-change: backdrop-filter;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar::after,
body.pm-liquid-v2.map-source-active .pm-map-sidebar::after,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar::after,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: var(--pm-sidebar-glass-fill);
  border: 1px solid var(--pm-login-glass-border);
  box-shadow: var(--pm-login-glass-shadow);
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar > *,
body.pm-liquid-v2.map-source-active .pm-map-sidebar > *,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar > *,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar > * {
  position: relative;
  z-index: 1;
}

body.pm-liquid-v2.map-source-active .pm-glass-map-area.pm-map-area,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-map-area.pm-map-area {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  border-radius: var(--pm-map-scene-radius) !important;
  box-shadow: var(--pm-login-glass-shadow) !important;
  overflow: hidden !important;
}

body.pm-liquid-v2.map-source-active .pm-sb-tab,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-sb-tab {
  background: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(10px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.12) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

body.pm-liquid-v2.map-source-active .pm-sb-tab:hover {
  background: rgba(255, 255, 255, 0.52) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 12px rgba(15, 35, 71, 0.05) !important;
}

body.pm-liquid-v2.map-source-active .pm-sb-tab.active {
  background: var(--pm-accent-gradient) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: var(--pm-accent-glow) !important;
  color: #ffffff !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active,
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active {
  color: #ffffff !important;
  background: var(--pm-accent-gradient) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: var(--pm-accent-glow) !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active svg {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Lista de camadas — sem caixa branca; itens direto no vidro da sidebar */
body.pm-liquid-v2 #pmtab-categorias .pm-layers-card,
body.pm-liquid-v2 #pmtab-categorias .pm-glass-layers-card,
body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-head,
body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body,
body.pm-liquid-v2 #pmtab-categorias:not(.pm-socio-fullscreen) #mapLayersList.pm-layers-list,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList.pm-layers-list,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList > div:not(.map-layer-special):not(.map-layer-row):not(.map-layer-item):not(.map-layer-section-group) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-head {
  border-bottom: none !important;
  padding: 0 0 8px !important;
  min-height: 0 !important;
}

body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-row,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-item,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-item,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-item {
  background: var(--pm-sidebar-btn-fill) !important;
  background-color: var(--pm-sidebar-btn-fill) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(15, 35, 71, 0.06) !important;
  transform: none !important;
}

body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special:hover,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-row:hover,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-item:hover {
  background: var(--pm-sidebar-btn-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.94) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 18px rgba(15, 35, 71, 0.08) !important;
  transform: none !important;
}

body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-row.on,
body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special.is-open {
  background: var(--pm-sidebar-btn-fill-active) !important;
  border-color: rgba(255, 255, 255, 0.96) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(36, 78, 156, 0.1) !important;
}

/* ═══ OVERRIDE FINAL — vence styles.css (17312+, 18354+, 7497+) ═══ */
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-glass-layers-card,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-head,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList.pm-layers-list,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList.map-layers-list,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-glass-layers-card,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-head,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList.pm-layers-list,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList.map-layers-list {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-head::before,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-head::before {
  display: none !important;
}

html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-item,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-item,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList.pm-layers-list .map-layer-row,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList.map-layers-list .map-layer-row {
  background: var(--pm-sidebar-btn-fill) !important;
  background-color: var(--pm-sidebar-btn-fill) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(15, 35, 71, 0.06) !important;
  transform: none !important;
}

html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special:hover,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row:hover {
  background: var(--pm-sidebar-btn-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.94) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 18px rgba(15, 35, 71, 0.08) !important;
  transform: none !important;
}

/* Cabeçalhos colapsáveis — vidro transparente (não herdam card branco das camadas) */
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList button.map-layer-section,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList button.map-layer-section,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList button.map-layer-section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* ── Tipografia sidebar blur: branco direto no vidro, escuro nos botões ── */
body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-head,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-section,
body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-cat-section .pm-sb-section-label,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-head,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-section,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-cat-section .pm-sb-section-label {
  color: #1a2b3c !important;
  text-shadow: none !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active),
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab:not(.active),
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active),
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab:not(.active) {
  color: var(--pm-sidebar-text-on-blur-muted) !important;
}

body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2.map-source-active .pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab:not(.active) svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab:not(.active) svg {
  color: var(--pm-sidebar-text-on-blur-muted) !important;
  opacity: 0.92 !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item {
  background: var(--pm-sidebar-btn-fill) !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 3px 10px rgba(15, 35, 71, 0.05) !important;
  color: var(--pm-sidebar-btn-text) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item .pm-cat-label,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item .pm-cat-label {
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item .pm-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item .pm-cat-icon,
body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item:hover .pm-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item:hover .pm-cat-icon,
body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item.on .pm-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item.on .pm-cat-icon,
body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item:focus-visible .pm-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item:focus-visible .pm-cat-icon {
  background: #2563eb !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #2563eb !important;
  box-shadow: none !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item .pm-cat-icon svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item .pm-cat-icon svg,
body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item:hover .pm-cat-icon svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item:hover .pm-cat-icon svg,
body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item.on .pm-cat-icon svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item.on .pm-cat-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .mlr-icon,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .mls-icon,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList [class*="mlr-icon--"],
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList [class*="mls-icon--"],
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .mlr-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .mls-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList [class*="mlr-icon--"],
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList [class*="mls-icon--"] {
  color: #2563eb !important;
  stroke: #2563eb !important;
  background: rgba(37, 99, 235, 0.1) !important;
  background-color: rgba(37, 99, 235, 0.1) !important;
  background-image: none !important;
  border-color: rgba(37, 99, 235, 0.24) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item:hover,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item:hover {
  background: var(--pm-sidebar-btn-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.94) !important;
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item.on,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item.on {
  background: var(--pm-sidebar-btn-fill-active) !important;
  border-color: rgba(255, 255, 255, 0.96) !important;
  color: var(--pm-sidebar-btn-text) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(36, 78, 156, 0.1) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .map-cat-item.on .pm-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .map-cat-item.on .pm-cat-icon {
  background: #2563eb !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special .mls-title,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row .mlr-title,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .mlr-title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special .mls-title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row .mlr-title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .mlr-title {
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special .mls-sub,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row .mlr-sub,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .mlr-sub,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .mlr-state,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special .mls-sub,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row .mlr-sub,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .mlr-sub,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .mlr-state {
  color: var(--pm-sidebar-btn-text-muted) !important;
  opacity: 1 !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special .mls-go,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special .mls-go {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--pm-sidebar-btn-text-muted) !important;
  border: 1.5px solid rgba(26, 47, 87, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special:hover .mls-go,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special:hover .mls-go {
  color: var(--pm-glass-blue) !important;
  border-color: rgba(36, 78, 156, 0.22) !important;
}

/* ═══ Ritmo lateral unificado + Ações/Relatórios no vidro ═══ */
body.pm-liquid-v2.map-source-active .pm-map-sidebar > .pm-sb-tabs,
body.pm-liquid-v2.map-source-active .pm-glass-rail.pm-map-sidebar > .pm-sb-tabs,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar > .pm-sb-tabs {
  padding: 10px var(--pm-sidebar-content-x) 6px !important;
  gap: var(--pm-sidebar-grid-gap) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias.pm-sb-panel.active,
body.pm-liquid-v2.map-source-active #pmtab-acao.pm-sb-panel.active,
body.pm-liquid-v2.map-source-active #pmtab-relatorios.pm-sb-panel.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias.pm-sb-panel.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao.pm-sb-panel.active,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios.pm-sb-panel.active {
  padding: 8px var(--pm-sidebar-content-x) 12px !important;
  gap: 10px !important;
  background: transparent !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-cat-section,
body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-glass-layers-card,
body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card,
body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-body,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList,
body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-list,
body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cats,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-builder-wrap,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-panel-shell,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-list,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-cat-section,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-glass-layers-card,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-body,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-list,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-builder-wrap {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-special,
body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList .map-layer-row,
body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-item,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-card,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-special,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList .map-layer-row,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-item,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-card {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-sb-section-label,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-head-copy h3,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-head-copy p,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-sb-section-label,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-head-copy h3,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-head-copy p {
  color: var(--pm-sidebar-text-on-blur) !important;
  text-shadow: 0 1px 8px rgba(15, 35, 71, 0.28);
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-head-copy p,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-head-copy p {
  color: var(--pm-sidebar-text-on-blur-muted) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-head-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-head-icon {
  background: var(--pm-sidebar-btn-fill) !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  color: var(--pm-sidebar-btn-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-item:not(.map-layer-row):not(.pm-action-cat-row),
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-card,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-item:not(.map-layer-row):not(.pm-action-cat-row),
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-card {
  background: var(--pm-sidebar-btn-fill) !important;
  background-image: none !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(15, 35, 71, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-item:not(.map-layer-row):not(.pm-action-cat-row):hover,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-card:hover,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-item:not(.map-layer-row):not(.pm-action-cat-row):hover,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-card:hover {
  background: var(--pm-sidebar-btn-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.94) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 6px 18px rgba(15, 35, 71, 0.08) !important;
  transform: none !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-label,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-body strong,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-label,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-body strong {
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-desc,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-body p,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-desc,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-body p {
  color: var(--pm-sidebar-btn-text-muted) !important;
  opacity: 1 !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-icon,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-icon,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-icon {
  background: rgba(26, 47, 87, 0.08) !important;
  border: 1px solid rgba(26, 47, 87, 0.1) !important;
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-count,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-option-go,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-count,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-option-go {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--pm-sidebar-btn-text-muted) !important;
  border: 1.5px solid rgba(26, 47, 87, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-foot,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-foot {
  background: var(--pm-sidebar-btn-fill) !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(15, 35, 71, 0.06) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-foot-copy,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-foot-copy {
  color: var(--pm-sidebar-btn-text-muted) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-foot-copy svg,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-foot-copy svg {
  color: var(--pm-sidebar-btn-text-muted) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-home-foot-link,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-home-foot-link {
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-view .pm-action-hero,
body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-view .pm-action-list-wrap,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-type-view .pm-action-hero,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-type-view .pm-action-list-wrap,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-view .pm-action-hero,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-view .pm-action-list-wrap,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-type-view .pm-action-hero,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-type-view .pm-action-list-wrap {
  background: var(--pm-sidebar-btn-fill) !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  border-radius: 12px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(15, 35, 71, 0.06) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-back,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-type-view .pm-action-cat-back,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-back,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-type-view .pm-action-cat-back {
  background: var(--pm-sidebar-btn-fill) !important;
  border: 1.5px solid var(--pm-sidebar-btn-border) !important;
  color: var(--pm-sidebar-btn-text) !important;
}

body.pm-liquid-v2.map-source-active #pmtab-acao .pm-action-cat-title,
body.pm-liquid-v2.map-source-active #pmtab-relatorios .pm-report-type-view .pm-action-cat-title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-acao .pm-action-cat-title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-relatorios .pm-report-type-view .pm-action-cat-title {
  color: var(--pm-sidebar-text-on-blur) !important;
  text-shadow: 0 1px 8px rgba(15, 35, 71, 0.28);
}

/* ═══ Topbar — chips flutuantes (sem barra única) ═══ */
body.pm-liquid-v2 .pm-float-topbar {
  position: relative;
  z-index: 20;
  flex: 0 0 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: block !important;
}

body.pm-liquid-v2 .pm-float-topbar__dock {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: var(--pm-float-topbar-height) !important;
  padding: 2px 2px 8px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.pm-liquid-v2 .pm-float-topbar__brand-card {
  justify-self: start;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  max-width: 100%;
  padding: 8px 14px 8px 10px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 8px 24px rgba(15, 35, 71, 0.08) !important;
  backdrop-filter: blur(20px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.14) !important;
}

body.pm-liquid-v2 .pm-float-topbar__logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 3px;
}

body.pm-liquid-v2 .pm-float-topbar__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 0;
}

body.pm-liquid-v2 .pm-float-topbar__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--pm-glass-blue) !important;
  white-space: nowrap;
}

body.pm-liquid-v2.map-source-active .pm-float-topbar__title,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-float-topbar__title {
  color: var(--pm-sidebar-text-on-blur) !important;
  text-shadow: 0 1px 8px rgba(15, 35, 71, 0.28);
}

body.pm-liquid-v2 .pm-float-topbar__center {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  justify-self: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: min(480px, 52vw) !important;
  max-width: 480px !important;
  min-width: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

body.pm-liquid-v2 .pm-float-topbar__search,
body.pm-liquid-v2 .pm-float-topbar__search.searchbox.pm-glass-search {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  max-width: 480px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  margin: 0 !important;
  pointer-events: auto !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 8px 24px rgba(15, 35, 71, 0.08) !important;
  backdrop-filter: blur(20px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.14) !important;
}

body.pm-liquid-v2 .pm-float-topbar__search .icon,
body.pm-liquid-v2 .pm-float-topbar__search .icon svg {
  color: rgba(255, 255, 255, 0.9) !important;
  flex-shrink: 0;
}

body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search .icon,
body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search .icon svg {
  color: #94a3b8 !important;
}

body.pm-liquid-v2 .pm-float-topbar__search input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

body.pm-liquid-v2 .pm-float-topbar__search input::placeholder {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search,
body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search.searchbox.pm-glass-search {
  background: rgba(255, 255, 255, 0.46) !important;
  border-color: rgba(255, 255, 255, 0.72) !important;
}

body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search input {
  color: #475569 !important;
}

body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__search input::placeholder {
  color: #94a3b8 !important;
}

body.pm-liquid-v2 .pm-float-topbar__actions {
  justify-self: end;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: 0 !important;
  z-index: 3 !important;
}

body.pm-liquid-v2 .pm-float-topbar__notif {
  display: none !important;
}

body.pm-liquid-v2 .pm-float-topbar__help-btn,
body.pm-liquid-v2 .pm-float-topbar__help-btn.icon-btn.pm-glass-icon-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  background: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 22px rgba(15, 35, 71, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.14) !important;
  color: var(--pm-sidebar-text-on-blur) !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  overflow: hidden;
}

body.pm-liquid-v2 .pm-float-topbar__help-btn .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  line-height: 1 !important;
}

body.pm-liquid-v2 .pm-float-topbar__help-btn .icon svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 auto !important;
}

body.pm-liquid-v2:not(.map-source-active) .pm-float-topbar__help-btn {
  color: var(--pm-glass-blue) !important;
}

body.pm-liquid-v2 .pm-float-topbar__help-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(15, 35, 71, 0.12) !important;
}

body.pm-liquid-v2 .pm-float-topbar__avatar-btn,
body.pm-liquid-v2 .pm-float-topbar__avatar-btn.user-btn.pm-glass-user-btn {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 2px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  background: rgba(255, 255, 255, 0.24) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 22px rgba(15, 35, 71, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.14) !important;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.pm-liquid-v2 .pm-float-topbar__avatar-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(15, 35, 71, 0.12) !important;
}

body.pm-liquid-v2 .pm-float-topbar__avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 2px 10px rgba(15, 35, 71, 0.14) !important;
  overflow: hidden;
}

body.pm-liquid-v2 .pm-float-topbar__avatar .user-initial {
  font-size: 15px;
  font-weight: 700;
}

body.pm-liquid-v2 .pm-float-topbar__avatar-btn .user-info {
  display: none !important;
}

body.pm-liquid-v2 .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.pm-liquid-v2.map-source-active .pm-float-topbar__center,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-float-topbar__center {
  margin-right: var(--pm-map-rail-width, 360px) !important;
}

body.pm-liquid-v2.map-source-active .main:has(.pm-map-layout.pm-map-sidebar-rail-collapsed) .pm-float-topbar__center,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .main:has(.pm-map-layout.pm-map-sidebar-rail-collapsed) .pm-float-topbar__center {
  margin-right: 0 !important;
}

@media (max-width: 900px) {
  body.pm-liquid-v2 .pm-float-topbar__dock {
    grid-template-columns: 1fr auto !important;
    row-gap: 10px !important;
  }

  body.pm-liquid-v2 .pm-float-topbar__brand-card {
    grid-column: 1;
    grid-row: 1;
  }

  body.pm-liquid-v2 .pm-float-topbar__actions {
    grid-column: 2;
    grid-row: 1;
  }

  body.pm-liquid-v2 .pm-float-topbar__center {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    pointer-events: auto !important;
  }

  body.pm-liquid-v2 .pm-float-topbar__title {
    font-size: 14px !important;
  }
}

/* Topbar — overrides finais (chips flutuantes) */
html body.pm-liquid-v2 .pm-float-topbar .pm-float-topbar__help-btn.icon-btn.pm-glass-icon-btn,
html body.pm-liquid-v2 .pm-float-topbar .pm-float-topbar__avatar-btn.user-btn.pm-glass-user-btn,
html body.pm-liquid-v2.map-source-active .pm-float-topbar .pm-float-topbar__help-btn,
html body.pm-liquid-v2.map-source-active .pm-float-topbar #btnTutu,
html[data-theme="light"] body.pm-liquid-v2 .pm-float-topbar .pm-float-topbar__help-btn.icon-btn {
  filter: none !important;
}

html body.pm-liquid-v2 .pm-float-topbar .pm-float-topbar__search.searchbox.pm-glass-search {
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(20px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 8px 24px rgba(15, 35, 71, 0.08) !important;
}

html body.pm-liquid-v2 .pm-float-topbar .pm-float-topbar__brand-card {
  min-width: 0 !important;
  width: auto !important;
}

body.pm-liquid-v2.map-source-active .main,
body.pm-liquid-v2.pm-app-shell-mounted.map-source-active .main {
  row-gap: var(--pm-map-scene-gap) !important;
  column-gap: var(--pm-map-scene-gap) !important;
}

body.pm-liquid-v2.map-source-active .pm-float-topbar {
  margin: 0 !important;
}

body.pm-liquid-v2.map-source-active .content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Map HUD — vidro claro translúcido (vence styles.css) */
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-weather-card,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-weather-popover,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area .pm-map-tools-popover,
html body.pm-liquid-v2.map-source-active .pm-map-area #pmActiveBar,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-corner-bottom .pm-active-bar {
  background: var(--pm-map-hud-glass-fill) !important;
  background-color: var(--pm-map-hud-glass-fill) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card:hover,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card[aria-expanded="true"],
html body.pm-liquid-v2.map-source-active .pm-map-area #pmActiveBar:hover,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar:hover {
  background: var(--pm-map-hud-glass-fill-hover) !important;
  background-color: var(--pm-map-hud-glass-fill-hover) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn
),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn
) {
  background: var(--pm-map-hud-glass-fill) !important;
  background-color: var(--pm-map-hud-glass-fill) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn
):hover {
  background: var(--pm-map-hud-glass-fill-hover) !important;
  background-color: var(--pm-map-hud-glass-fill-hover) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-zoom-pill .pm-map-zoom-btn {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-empty {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  color: var(--pm-map-hud-text-muted) !important;
}

/* Map HUD — tipografia e ícones escuros sobre vidro claro */
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card-temp {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card-status,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card-chevron {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card-icon,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-card-icon svg {
  color: var(--pm-map-hud-icon-strong) !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-kicker,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-updated,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-now-item span,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour-time,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour small,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-empty {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover h3,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-now-item strong,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-forecast-title,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour strong {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-now-item,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour {
  background: rgba(255, 255, 255, 0.38) !important;
  border: 1px solid rgba(36, 78, 156, 0.12) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour-icon,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-weather-popover .pm-weather-hour-icon svg {
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-section-label {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-section {
  border-bottom-color: rgba(36, 78, 156, 0.12) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-tool-icon {
  background: rgba(255, 255, 255, 0.44) !important;
  border-color: rgba(36, 78, 156, 0.16) !important;
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-tool-label {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-tool:hover .pm-map-tools-tool-icon,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-tool:focus-visible .pm-map-tools-tool-icon {
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(36, 78, 156, 0.24) !important;
  color: var(--pm-map-hud-icon) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-opacity-icon,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-opacity-value {
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-maptype-name {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-tools-popover .pm-map-tools-maptype.active .pm-map-tools-maptype-name {
  color: var(--pm-map-hud-icon) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar-label {
  color: var(--pm-map-hud-icon) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar-count,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-empty,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-chip-text {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar-label svg,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-bar-action svg,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-clear svg,
html body.pm-liquid-v2.map-source-active .pm-map-area .pm-active-chip-x svg {
  color: var(--pm-map-hud-icon-strong) !important;
  stroke: currentColor !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn,
  .pm-map-zoom-btn
) {
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn,
  .pm-map-zoom-btn
) svg,
html body.pm-liquid-v2.map-source-active .pm-map-area :is(
  .pm-map-round-btn,
  .pm-map-zoom-pill,
  .pm-map-compass,
  .pm-map-mode-trigger,
  .pm-maptype-trigger,
  .pm-streetview-trigger,
  .pm-traffic-trigger,
  #pmMapSidebarEdgeToggle,
  #pmMapToolsTrigger,
  #pmMapFullscreenBtn,
  .pm-map-zoom-btn
) svg * {
  color: var(--pm-map-hud-icon-strong) !important;
  stroke: currentColor !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area :is(.pm-weather-popover, .pm-map-tools-popover) {
  background: rgba(255, 255, 255, 0.24) !important;
  background-color: rgba(255, 255, 255, 0.24) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area .pm-map-zoom-btn + .pm-map-zoom-btn {
  border-top-color: rgba(36, 78, 156, 0.14) !important;
}

/* Ferramentas — popover vai para document.body ao abrir */
html body.pm-liquid-v2.map-source-active #pmMapToolsPopover.pm-map-tools-popover,
html body.pm-liquid-v2.map-source-active .pm-map-tools-popover.open {
  background: rgba(255, 255, 255, 0.28) !important;
  background-color: rgba(255, 255, 255, 0.28) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-section-label {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-section {
  border-bottom-color: rgba(36, 78, 156, 0.12) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-tool-icon {
  background: rgba(255, 255, 255, 0.44) !important;
  border-color: rgba(36, 78, 156, 0.16) !important;
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-tool-label {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-tool:hover .pm-map-tools-tool-icon,
html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-tool:focus-visible .pm-map-tools-tool-icon {
  background: rgba(255, 255, 255, 0.58) !important;
  border-color: rgba(36, 78, 156, 0.24) !important;
  color: var(--pm-map-hud-icon) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-opacity-icon,
html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-opacity-value {
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-maptype-name {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapToolsPopover .pm-map-tools-maptype.active .pm-map-tools-maptype-name {
  color: var(--pm-map-hud-icon) !important;
}

/* Menu perfil — vidro translúcido */
html body.pm-liquid-v2.map-source-active #userMenu.user-menu {
  background: rgba(255, 255, 255, 0.28) !important;
  background-color: rgba(255, 255, 255, 0.28) !important;
  border: 1px solid var(--pm-map-hud-glass-border) !important;
  box-shadow: var(--pm-map-hud-glass-shadow) !important;
  backdrop-filter: var(--pm-map-hud-glass-blur) !important;
  -webkit-backdrop-filter: var(--pm-map-hud-glass-blur) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu.user-menu :is(
  .user-menu-header,
  .user-menu-body,
  .user-menu-footer
) {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-separator {
  background: rgba(36, 78, 156, 0.12) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-name {
  color: var(--pm-map-hud-text) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-role,
html body.pm-liquid-v2.map-source-active #userMenu .user-menu-item-label {
  color: var(--pm-map-hud-text-muted) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-item-icon,
html body.pm-liquid-v2.map-source-active #userMenu .user-menu-chevron {
  color: var(--pm-map-hud-icon-strong) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-item-icon svg,
html body.pm-liquid-v2.map-source-active #userMenu .user-menu-chevron svg {
  color: inherit !important;
  stroke: currentColor !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-item:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-logout {
  background: rgba(36, 78, 156, 0.08) !important;
  border-color: rgba(36, 78, 156, 0.16) !important;
  color: var(--pm-map-hud-icon) !important;
}

html body.pm-liquid-v2.map-source-active #userMenu .user-menu-logout .user-menu-item-icon,
html body.pm-liquid-v2.map-source-active #userMenu .user-menu-logout .user-menu-item-label {
  color: var(--pm-map-hud-icon) !important;
}

/* Sidebar — alinhamento horizontal ponta a ponta (abas = categorias = camadas) */
html body.pm-liquid-v2 .pm-map-sidebar > .pm-sb-tabs,
html body.pm-liquid-v2.map-source-active .pm-map-sidebar > .pm-sb-tabs,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar > .pm-sb-tabs {
  padding: 10px var(--pm-sidebar-content-x) 6px !important;
  gap: var(--pm-sidebar-grid-gap) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

html body.pm-liquid-v2 .pm-sb-tab {
  box-sizing: border-box !important;
}

html body.pm-liquid-v2 #pmtab-categorias.pm-sb-panel,
html body.pm-liquid-v2 #pmtab-categorias.pm-sb-panel.active,
html body.pm-liquid-v2 #pmtab-acao.pm-sb-panel.active,
html body.pm-liquid-v2 #pmtab-relatorios.pm-sb-panel.active,
html body.pm-liquid-v2 #pmtab-secretarias.pm-sb-panel.active {
  padding: 8px var(--pm-sidebar-content-x) 12px !important;
  box-sizing: border-box !important;
}

html body.pm-liquid-v2 #pmtab-categorias .pm-cat-section,
html body.pm-liquid-v2 #pmtab-categorias .pm-glass-layers-card,
html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card,
html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2 #pmtab-categorias #mapCatChips.pm-cat-grid,
html body.pm-liquid-v2 #pmtab-categorias #mapCatChips.pm-glass-cat-grid {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

html body.pm-liquid-v2 #pmtab-categorias .map-cat-item {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Força mesma largura útil: categorias = camadas (vence styles.css legado) */
html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-body {
  padding: 0 !important;
  margin: 0 !important;
}

html body.pm-liquid-v2 #pmtab-categorias:not(.pm-socio-fullscreen) #mapLayersList.pm-layers-list,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList.map-layers-list,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList,
html body.pm-liquid-v2.map-source-active #pmtab-categorias:not(.pm-socio-fullscreen) #mapLayersList.pm-layers-list {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-section {
  padding: 0 !important;
  margin-inline: 0 !important;
}

html body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-special,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-row,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-item {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  box-sizing: border-box !important;
}

/* vence #mapLayersList { scrollbar-gutter: stable both-edges } do styles.css legado */
html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-head {
  padding-inline: 0 !important;
  padding-block: 0 8px !important;
}

html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList.pm-layers-list,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList.map-layers-list,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2.map-source-active #pmtab-categorias #mapLayersList,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-layers-card-body,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias #mapLayersList {
  padding: 0 !important;
  margin-inline: 0 !important;
  overflow-x: visible !important;
  scrollbar-gutter: auto !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body::-webkit-scrollbar,
html body.pm-liquid-v2 #pmtab-categorias #mapLayersList::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

html body.pm-liquid-v2 #pmtab-categorias #mapLayersList .map-layer-section {
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

/* Tutu/ajuda — vidro igual ao perfil (vence styles.css #btnTutu branco sólido) */
html body.pm-liquid-v2 .pm-float-topbar #btnTutu.pm-float-topbar__help-btn.icon-btn,
html body.pm-liquid-v2.map-source-active .pm-float-topbar #btnTutu,
html[data-theme="light"] body.pm-liquid-v2 .pm-float-topbar #btnTutu,
html[data-theme="dark"] body.pm-liquid-v2 .pm-float-topbar #btnTutu {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.24) !important;
  backdrop-filter: blur(18px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 22px rgba(15, 35, 71, 0.1) !important;
  color: var(--pm-sidebar-text-on-blur) !important;
}

html body.pm-liquid-v2 .pm-float-topbar #btnTutu:hover {
  background: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 26px rgba(15, 35, 71, 0.12) !important;
}

html body.pm-liquid-v2 .pm-float-topbar #btnTutu .icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
}

/* Drawer configurações — acima de tudo + clique fora fecha */
body.pm-liquid-v2 #drawerBackdrop.drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483200 !important;
  background: rgba(15, 35, 71, 0.42) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

body.pm-liquid-v2 #drawer.drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2147483201 !important;
  width: min(420px, calc(100vw - 20px)) !important;
  max-width: calc(100vw - 20px) !important;
  height: 100% !important;
  border-radius: 18px 0 0 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(24px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.12) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: -12px 0 40px rgba(15, 35, 71, 0.14) !important;
}

body.pm-drawer-open {
  overflow: hidden !important;
}

.pm-bridge-bg-setting {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 2px 8px;
}

.pm-bridge-bg-setting__head .setting-title {
  font-size: 14px;
  font-weight: 800;
  color: #1a2f57;
}

.pm-bridge-bg-setting__head .setting-desc {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
}

.pm-bridge-bg-picker__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.pm-bridge-bg-picker__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pm-bridge-bg-picker__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(36, 78, 156, 0.1);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.pm-bridge-bg-picker__item:hover {
  border-color: rgba(36, 78, 156, 0.24);
}

.pm-bridge-bg-picker__item.is-active {
  border-color: #3b6fd4;
  box-shadow: 0 0 0 2px rgba(59, 111, 212, 0.18);
}

.pm-bridge-bg-picker__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(1.05);
}

.pm-bridge-bg-picker__label {
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
}

.pm-bridge-bg-picker__swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pm-bridge-bg-picker__swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(15, 35, 71, 0.12);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.pm-bridge-bg-picker__swatch:hover {
  transform: translateY(-1px);
}

.pm-bridge-bg-picker__swatch.is-active {
  box-shadow: 0 0 0 2px #3b6fd4, inset 0 0 0 1px rgba(15, 35, 71, 0.12);
}

/* ── Liquid Glass motion (Apple-inspired) ─────────────────── */
@media (prefers-reduced-motion: no-preference) {
  body.pm-liquid-v2 :is(
    .icon-btn,
    .pm-glass-icon-btn,
    .pm-float-topbar__icon-btn,
    .pm-float-topbar__help-btn,
    .pm-float-topbar__avatar-btn,
    .pm-glass-user-btn,
    .pm-float-topbar__brand-card,
    .pm-float-topbar__search,
    .pm-map-round-btn,
    .pm-map-zoom-pill,
    #pmtab-categorias .map-cat-item,
    .pm-layer-row,
    .pm-action-cat-item,
    .pm-action-scope-btn,
    .pm-action-create,
    .pm-report-option-card,
    .pm-report-type-card,
    .switch span
  ) {
    transition:
      background var(--pm-duration-fast) var(--pm-ease-smooth),
      border-color var(--pm-duration-fast) var(--pm-ease-smooth),
      color var(--pm-duration-fast) var(--pm-ease-smooth),
      box-shadow var(--pm-duration-med) var(--pm-ease-smooth),
      transform var(--pm-duration-fast) var(--pm-ease-spring),
      filter var(--pm-duration-fast) var(--pm-ease-smooth);
  }

  body.pm-liquid-v2 :is(
    .icon-btn:not(:disabled),
    .pm-glass-icon-btn:not(:disabled),
    .pm-float-topbar__help-btn:not(:disabled),
    .pm-map-round-btn:not(:disabled),
    .pm-map-zoom-pill:not(:disabled),
    #pmtab-categorias .map-cat-item,
    .pm-action-cat-item,
    .pm-report-option-card,
    .pm-report-type-card
  ):hover {
    transform: translateY(-1px);
  }

  body.pm-liquid-v2 :is(
    .icon-btn:not(:disabled),
    .pm-glass-icon-btn:not(:disabled),
    .pm-float-topbar__help-btn:not(:disabled),
    .pm-map-round-btn:not(:disabled)
  ):active {
    transform: translateY(0) scale(0.97);
  }

  body.pm-liquid-v2 .pm-float-topbar__help-btn:hover,
  body.pm-liquid-v2 .pm-glass-icon-btn.icon-btn:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 10px 28px rgba(37, 99, 235, 0.14) !important;
  }

  body.pm-liquid-v2 .pm-sb-tab.active {
    animation: pm-tab-glow-in 0.42s var(--pm-ease-spring) both;
  }

  body.pm-liquid-v2 .pm-float-topbar__brand-card {
    transition:
      box-shadow var(--pm-duration-med) var(--pm-ease-smooth),
      transform var(--pm-duration-fast) var(--pm-ease-spring),
      border-color var(--pm-duration-fast) var(--pm-ease-smooth);
  }

  body.pm-liquid-v2 .pm-float-topbar__brand-card:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.62),
      0 12px 32px rgba(15, 35, 71, 0.1) !important;
  }

  body.pm-liquid-v2 .pm-float-topbar__search:focus-within {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.72),
      0 0 0 3px rgba(37, 99, 235, 0.14),
      0 12px 28px rgba(37, 99, 235, 0.1) !important;
  }

  body.pm-liquid-v2 .pm-action-scope-btn.active,
  body.pm-liquid-v2 .pm-action-create.active {
    background: var(--pm-accent-gradient) !important;
    border-color: var(--pm-accent) !important;
    box-shadow: var(--pm-accent-glow) !important;
  }
}

@keyframes pm-tab-glow-in {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 rgba(37, 99, 235, 0);
  }
  100% {
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--pm-accent-glow);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.pm-liquid-v2 .pm-sb-tab.active {
    animation: none !important;
    transform: none !important;
  }
}

/* Sidebar tabs — vence overrides legados de styles.css */
html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active,
html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active:hover,
html body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active,
html body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active {
  background: var(--pm-accent-gradient) !important;
  background-image: var(--pm-accent-gradient) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  border-bottom-color: rgba(37, 99, 235, 0.55) !important;
  color: #ffffff !important;
  box-shadow: var(--pm-accent-glow) !important;
  transform: translateY(-1px) !important;
}

html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active svg,
html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active svg *,
html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active[data-pmtab] svg,
html body.pm-liquid-v2 .pm-map-sidebar .pm-sb-tab.active[data-pmtab] svg *,
html body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg,
html body.pm-liquid-v2 .pm-glass-rail.pm-map-sidebar .pm-sb-tab.active svg *,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active svg,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-sidebar .pm-sb-tab.active svg * {
  color: #ffffff !important;
  stroke: #ffffff !important;
  opacity: 1 !important;
}

html body.pm-liquid-v2 .pm-sb-tabs--icon-only .pm-sb-tab svg {
  width: 22px !important;
  height: 22px !important;
}

/* ── Categorias do mapa: cabeçalho + botão + scroll ── */
#pmtab-categorias .pm-cat-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#pmtab-categorias .pm-map-cat-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

#pmtab-categorias .pm-map-cat-tool-btn,
#pmtab-categorias .pm-map-cat-add-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid rgba(139, 151, 173, 0.55) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  box-shadow: none !important;
  color: #8b97ad;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.16s ease, backdrop-filter 0.16s ease, border-color 0.16s ease;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#pmtab-categorias .pm-map-cat-tool-btn svg,
#pmtab-categorias .pm-map-cat-tool-btn svg *,
#pmtab-categorias .pm-map-cat-add-btn svg,
#pmtab-categorias .pm-map-cat-add-btn svg * {
  color: #8b97ad;
  stroke: #8b97ad;
}

#pmtab-categorias .pm-map-cat-tool-btn:hover,
#pmtab-categorias .pm-map-cat-add-btn:hover {
  transform: translateY(-1px);
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: blur(24px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.25) !important;
  border-color: rgba(107, 114, 128, 0.72) !important;
  box-shadow: none !important;
}

#pmtab-categorias .pm-map-cat-edit-btn.is-active {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.55) !important;
  background: rgba(37, 99, 235, 0.08) !important;
}

#pmtab-categorias .pm-map-cat-edit-btn.is-active svg,
#pmtab-categorias .pm-map-cat-edit-btn.is-active svg * {
  color: #2563eb;
  stroke: #2563eb;
}

#pmtab-categorias .pm-map-cat-trash-btn {
  color: #9ca3af;
  border-color: rgba(156, 163, 175, 0.55) !important;
}

#pmtab-categorias .pm-map-cat-trash-btn svg,
#pmtab-categorias .pm-map-cat-trash-btn svg * {
  color: #9ca3af;
  stroke: #9ca3af;
}

#pmtab-categorias.is-map-cat-editing .pm-map-cat-trash-btn.is-drag-over,
#pmtab-categorias .pm-map-cat-trash-btn.is-drag-over,
body.pm-map-cat-dragging-to-trash #pmtab-categorias .pm-map-cat-trash-btn.is-drag-over {
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.85) !important;
  background: rgba(220, 38, 38, 0.14) !important;
  transform: scale(3) !important;
  transform-origin: center center !important;
  z-index: 40 !important;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.28) !important;
}

#pmtab-categorias.is-map-cat-editing .pm-map-cat-trash-btn.is-drop-armed:not(.is-drag-over),
#pmtab-categorias .pm-map-cat-trash-btn.is-drop-armed:not(.is-drag-over),
body.pm-map-cat-dragging-to-trash #pmtab-categorias .pm-map-cat-trash-btn.is-drop-armed:not(.is-drag-over) {
  color: #dc2626 !important;
  border-color: rgba(220, 38, 38, 0.7) !important;
  background: rgba(220, 38, 38, 0.1) !important;
  transform: scale(1.85) !important;
  transform-origin: center center !important;
  z-index: 35 !important;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

#pmtab-categorias.is-map-cat-editing .pm-map-cat-trash-btn.is-drag-over svg,
#pmtab-categorias.is-map-cat-editing .pm-map-cat-trash-btn.is-drag-over svg *,
#pmtab-categorias .pm-map-cat-trash-btn.is-drag-over svg,
#pmtab-categorias .pm-map-cat-trash-btn.is-drag-over svg *,
#pmtab-categorias .pm-map-cat-trash-btn.is-drop-armed svg,
#pmtab-categorias .pm-map-cat-trash-btn.is-drop-armed svg * {
  color: #dc2626 !important;
  stroke: #dc2626 !important;
}

#pmtab-categorias .pm-map-cat-confirm-btn {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.55) !important;
}

#pmtab-categorias .pm-map-cat-confirm-btn svg,
#pmtab-categorias .pm-map-cat-confirm-btn svg * {
  color: #16a34a;
  stroke: #16a34a;
}

#pmtab-categorias #pmMapCatConfirmBtn.pm-map-cat-confirm-btn.is-pending,
#pmtab-categorias .pm-map-cat-confirm-btn.is-pending {
  color: #2563eb !important;
  border-color: #2563eb !important;
  outline: none !important;
  animation: pm-map-cat-confirm-pulse 1.15s ease-in-out infinite !important;
}

#pmtab-categorias #pmMapCatConfirmBtn.pm-map-cat-confirm-btn.is-pending svg,
#pmtab-categorias #pmMapCatConfirmBtn.pm-map-cat-confirm-btn.is-pending svg *,
#pmtab-categorias .pm-map-cat-confirm-btn.is-pending svg,
#pmtab-categorias .pm-map-cat-confirm-btn.is-pending svg * {
  color: #2563eb !important;
  stroke: #2563eb !important;
}

@keyframes pm-map-cat-confirm-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55) !important;
    border-color: #2563eb !important;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0) !important;
    border-color: #60a5fa !important;
    transform: scale(1.08);
  }
}

#pmtab-categorias.is-map-cat-editing .map-cat-item.is-cat-edit-mode {
  position: relative;
  cursor: grab;
  animation: pm-map-cat-wiggle 0.42s ease-in-out infinite;
}

#pmtab-categorias.is-map-cat-editing .map-cat-item.is-cat-edit-mode:active {
  cursor: grabbing;
}

#pmtab-categorias.is-map-cat-editing .map-cat-item.is-cat-edit-mode.is-dragging {
  opacity: 0.55;
  animation: none;
  transform: scale(0.98);
}

#pmtab-categorias.is-map-cat-editing .map-cat-item.is-cat-edit-mode.is-drag-over {
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16) !important;
}

#pmtab-categorias .pm-cat-edit-badge {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(107, 114, 128, 0.7) !important;
  color: #4b5563 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 5 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12) !important;
}

/* Contorno suave + tag de escopo em categorias/camadas criadas pelo usuário */
#pmtab-categorias .map-cat-item.is-custom-cat {
  position: relative !important;
}

#pmtab-categorias .map-cat-item.is-custom-cat.is-scope-global,
#pmtab-categorias .map-cat-item.is-custom-cat[data-user-scope="global"] {
  border: 1.5px solid rgba(37, 99, 235, 0.38) !important;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 20px rgba(37, 99, 235, 0.06) !important;
}

#pmtab-categorias .map-cat-item.is-custom-cat.is-scope-global.on,
#pmtab-categorias .map-cat-item.is-custom-cat[data-user-scope="global"].on {
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 22px rgba(37, 99, 235, 0.1) !important;
}

#pmtab-categorias .map-cat-item.is-custom-cat.is-scope-personal,
#pmtab-categorias .map-cat-item.is-custom-cat[data-user-scope="personal"] {
  border: 1.5px solid rgba(220, 38, 38, 0.4) !important;
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 20px rgba(220, 38, 38, 0.06) !important;
}

#pmtab-categorias .map-cat-item.is-custom-cat.is-scope-personal.on,
#pmtab-categorias .map-cat-item.is-custom-cat[data-user-scope="personal"].on {
  border-color: rgba(220, 38, 38, 0.58) !important;
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 22px rgba(220, 38, 38, 0.1) !important;
}

#pmtab-categorias .map-layer-row.is-user-created {
  position: relative !important;
}

#pmtab-categorias .map-layer-row.is-user-created.is-scope-global,
#pmtab-categorias .map-layer-row.is-user-created[data-user-scope="global"] {
  border: 1.5px solid rgba(37, 99, 235, 0.36) !important;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.08),
    0 8px 20px rgba(37, 99, 235, 0.05) !important;
}

#pmtab-categorias .map-layer-row.is-user-created.is-scope-personal,
#pmtab-categorias .map-layer-row.is-user-created[data-user-scope="personal"] {
  border: 1.5px solid rgba(220, 38, 38, 0.38) !important;
  box-shadow:
    0 0 0 1px rgba(220, 38, 38, 0.1),
    0 8px 20px rgba(220, 38, 38, 0.06) !important;
}

#pmtab-categorias .pm-map-user-scope-tag {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 4 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1) !important;
}

#pmtab-categorias .map-layer-row.is-user-created .pm-map-user-scope-tag {
  position: static !important;
  top: auto !important;
  right: auto !important;
  flex: 0 0 auto !important;
  margin-left: 6px !important;
}

#pmtab-categorias .map-layer-row.is-user-created .mlr-title-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  width: 100% !important;
}

#pmtab-categorias .map-layer-row.is-user-created .mlr-title-row .mlr-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#pmtab-categorias .pm-map-user-scope-tag svg {
  width: 10px !important;
  height: 10px !important;
  display: block !important;
}

#pmtab-categorias .pm-map-user-scope-tag.is-global {
  color: #2563eb !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
}

#pmtab-categorias .pm-map-user-scope-tag.is-global svg,
#pmtab-categorias .pm-map-user-scope-tag.is-global svg * {
  color: #2563eb !important;
  stroke: #2563eb !important;
}

#pmtab-categorias .pm-map-user-scope-tag.is-personal {
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
}

#pmtab-categorias .pm-map-user-scope-tag.is-personal svg,
#pmtab-categorias .pm-map-user-scope-tag.is-personal svg * {
  color: #dc2626 !important;
  stroke: #dc2626 !important;
}

#pmtab-categorias .map-cat-item.is-custom-cat.is-cat-edit-mode .pm-cat-edit-badge {
  right: 22px !important;
}

#pmtab-categorias .pm-cat-edit-badge svg {
  width: 11px !important;
  height: 11px !important;
  display: block !important;
  overflow: visible !important;
}

#pmtab-categorias .pm-cat-edit-badge svg,
#pmtab-categorias .pm-cat-edit-badge svg *,
#pmtab-categorias .pm-cat-edit-badge path {
  color: #4b5563 !important;
  stroke: #4b5563 !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes pm-map-cat-wiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-1.1deg) translateY(-0.5px); }
  75% { transform: rotate(1.1deg) translateY(0.5px); }
}

#pmMapCatModal .pm-map-cat-layer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

#pmMapCatModal .pm-map-cat-layer-tab {
  border: 1px solid rgba(36, 78, 156, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: #4b5563;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

#pmMapCatModal .pm-map-cat-layer-tab.is-active {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb;
}

#pmMapCatModal .pm-map-cat-point-row {
  width: 100%;
  border: 1px solid rgba(36, 78, 156, 0.12);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}

#pmMapCatModal .pm-map-cat-point-row.is-editing {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

#pmMapCatAddPointBtn:disabled,
#pmMapCatAddPointBtn[aria-disabled="true"] {
  opacity: 0.42 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.25);
  box-shadow: none !important;
  pointer-events: none;
}

#pmMapCatAddPointBtn.is-waiting-click:not(:disabled) {
  animation: pm-map-cat-add-pulse 1.15s ease-in-out infinite;
}

@keyframes pm-map-cat-add-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.16);
  }
}

#pmMapCatModal .pm-map-cat-system-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

#pmMapCatModal .pm-map-cat-system-layers[hidden],
#pmMapCatModal .pm-map-cat-custom-layers[hidden],
#pmMapCatModal #pmMapCatLayerTitleField[hidden],
#pmMapCatModal #pmMapCatAddLayerBtn[hidden],
#pmMapCatModal #pmMapCatLayerTabs[hidden] {
  display: none !important;
}

#pmMapCatModal .pm-map-cat-system-layer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(36, 78, 156, 0.12);
  background: rgba(255, 255, 255, 0.72);
  cursor: grab;
}

#pmMapCatModal .pm-map-cat-system-layer-row.is-dragging {
  opacity: 0.6;
}

#pmMapCatModal .pm-map-cat-system-layer-handle {
  color: #8b97ad;
  font-size: 12px;
  letter-spacing: -2px;
  user-select: none;
}

#pmMapCatModal .pm-map-cat-system-layer-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(36, 78, 156, 0.14);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

#pmMapCatModal .pm-map-cat-system-layer-move {
  display: inline-flex;
  gap: 4px;
}

#pmMapCatModal .pm-map-cat-system-layer-move button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(36, 78, 156, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: #4b5563;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

#pmMapCatModal .pm-map-cat-system-layer-move button:disabled {
  opacity: 0.35;
  cursor: default;
}

#pmMapCatModal .pm-map-cat-system-layer-badge {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 3px 7px;
}

#pmMapCatModal .pm-map-cat-system-layer-row.is-user-layer {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(239, 246, 255, 0.9);
}

#pmMapCatModal .pm-map-cat-custom-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
}

#pmMapCatModal .pm-map-cat-custom-layer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(36, 78, 156, 0.12);
  background: rgba(255, 255, 255, 0.72);
  cursor: grab;
}

#pmMapCatModal .pm-map-cat-custom-layer-row.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
  background: rgba(239, 246, 255, 0.95);
}

#pmMapCatModal .pm-map-cat-custom-layer-row.is-dragging {
  opacity: 0.6;
}

#pmMapCatModal .pm-map-cat-custom-layer-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#pmMapCatModal .pm-map-cat-custom-layer-main input {
  width: 100%;
  border: 1px solid rgba(36, 78, 156, 0.14);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.9);
}

#pmMapCatModal .pm-map-cat-custom-layer-meta {
  font-size: 10px;
  color: #6b7280;
  line-height: 1.3;
}

#pmMapCatModal .pm-map-cat-custom-layer-remove {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: rgba(254, 242, 242, 0.95);
  color: #b91c1c;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

#pmMapCatModal .pm-map-cat-custom-layer-remove:disabled {
  opacity: 0.35;
  cursor: default;
}

#pmMapCatModal #pmMapCatAddLayerBtn:not([hidden]) {
  margin-top: 4px;
}

#pmtab-categorias .pm-layer-edit-points-btn,
.map-layer-row .pm-layer-edit-points-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(107, 114, 128, 0.7) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12) !important;
  color: #4b5563 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-right: 6px;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#pmtab-categorias .pm-layer-edit-points-btn svg,
#pmtab-categorias .pm-layer-edit-points-btn svg *,
#pmtab-categorias .pm-layer-edit-points-btn path,
.map-layer-row .pm-layer-edit-points-btn svg,
.map-layer-row .pm-layer-edit-points-btn svg *,
.map-layer-row .pm-layer-edit-points-btn path {
  color: #4b5563 !important;
  stroke: #4b5563 !important;
  fill: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#pmtab-categorias .mlr-action {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

#pmtab-categorias .map-layer-row.is-editing-points {
  position: relative;
  border: 2px solid #2563eb !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22) !important;
  animation: pm-layer-edit-pulse 1.15s ease-in-out infinite;
  z-index: 2;
}

@keyframes pm-layer-edit-pulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.38);
    border-color: #1d4ed8;
  }
}

#pmMapCatLayerPtsListPanel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pmMapCatLayerPtsListPanel #pmMapCatNewPointBtn {
  margin-top: 4px;
}

#pmtab-categorias .pm-cat-section-head .pm-sb-section-label {
  flex: 1;
  min-width: 0;
}

#pmtab-categorias .pm-map-cat-scroll {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  flex-shrink: 0;
}

body.pm-liquid-v2 #pmtab-categorias .pm-glass-layers-card.pm-layers-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

body.pm-liquid-v2 #pmtab-categorias .pm-layers-card-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

#pmtab-categorias .map-layer-section-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Cabeçalhos colapsáveis — cinza visível (vence apple-shell / botão branco) */
html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section,
html body.pm-liquid-v2.pm-apple-shell .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section,
html body.pm-liquid-v2.map-source-active .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section,
html body.pm-liquid-v2.pm-apple-shell.map-source-active .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section,
#pmtab-categorias .map-layer-section-group .map-layer-section {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 10px 0 2px !important;
  padding: 4px 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  color: #8b97ad !important;
  -webkit-text-fill-color: #8b97ad !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  text-align: left !important;
  text-shadow: none !important;
  min-height: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  outline-offset: 0 !important;
}

html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:hover,
html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:focus,
html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:focus-visible,
html body.pm-liquid-v2.pm-apple-shell .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:hover,
html body.pm-liquid-v2.map-source-active .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:hover,
html body.pm-liquid-v2.pm-apple-shell.map-source-active .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-vision-sidebar #pmtab-categorias #mapLayersList button.map-layer-section:hover,
#pmtab-categorias .map-layer-section-group .map-layer-section:focus,
#pmtab-categorias .map-layer-section-group .map-layer-section:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: blur(24px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.25) !important;
}

html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-label,
html body.pm-liquid-v2.pm-apple-shell .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-label,
#pmtab-categorias .map-layer-section-label {
  flex: 1;
  min-width: 0;
  color: #2c3e50 !important;
  -webkit-text-fill-color: #2c3e50 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-chevron,
#pmtab-categorias .map-layer-section-chevron {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #2c3e50 !important;
  stroke: #2c3e50 !important;
  fill: none !important;
  opacity: 0.88;
  transition: transform 0.18s ease, color 0.18s ease;
}

#pmtab-categorias .map-layer-section-group .map-layer-section:hover {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: blur(24px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.25) !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section:hover,
html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section:hover .map-layer-section-label,
#pmtab-categorias .map-layer-section-group .map-layer-section:hover,
#pmtab-categorias .map-layer-section-group .map-layer-section:hover .map-layer-section-label {
  color: #1a2b3c !important;
  -webkit-text-fill-color: #1a2b3c !important;
}

html body.pm-liquid-v2 .pm-vision-sidebar #pmtab-categorias #mapLayersList .map-layer-section-group .map-layer-section:hover .map-layer-section-chevron,
#pmtab-categorias .map-layer-section-group .map-layer-section:hover .map-layer-section-chevron {
  color: #1a2b3c !important;
  stroke: #1a2b3c !important;
}

#pmtab-categorias .map-layer-section-group.is-collapsed .map-layer-section-chevron {
  transform: rotate(-90deg);
}

#pmtab-categorias .map-layer-section-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#pmtab-categorias .map-layer-section-group.is-collapsed .map-layer-section-body {
  display: none;
}

#pmtab-categorias #mapCatChips.map-cat-dropdown-list {
  overflow: visible !important;
}

/* Card nova categoria — canto superior direito do mapa (igual relatório) */
#pmMapCatModalGroup,
.pm-map-cat-modal-group {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  bottom: auto !important;
  max-width: min(700px, calc(100vw - 120px));
  z-index: 71 !important;
  display: none !important;
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  pointer-events: none !important;
}

#pmMapCatModalCorner,
.pm-map-cat-modal-corner,
#pmMapCatStyleCorner,
.pm-map-cat-style-wrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  max-width: min(280px, calc(100vw - 120px));
  margin-right: 0;
  pointer-events: auto !important;
}

body.map-source-active #pmMapCatModalGroup.is-visible,
body.pm-liquid-v2.map-source-active #pmMapCatModalGroup.is-visible,
body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalGroup.is-visible {
  top: 88px !important;
  right: calc(var(--pm-map-rail-width, 380px) + 28px) !important;
  max-width: min(700px, calc(100vw - var(--pm-map-rail-width, 380px) - 56px)) !important;
}

body.map-source-active .pm-map-layout.pm-map-sidebar-rail-collapsed #pmMapCatModalGroup.is-visible,
body.pm-liquid-v2.map-source-active .pm-map-layout.pm-map-sidebar-rail-collapsed #pmMapCatModalGroup.is-visible {
  right: 18px !important;
  max-width: min(700px, calc(100vw - 36px)) !important;
}

#pmMapCatModalGroup.is-visible,
.pm-map-cat-modal-group.is-visible {
  display: flex !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

#pmMapCatModalCorner.is-visible,
.pm-map-cat-modal-corner.is-visible {
  display: block !important;
}

#pmMapCatStyleCorner.is-visible,
.pm-map-cat-style-wrap.is-visible {
  display: block !important;
}

#pmMapCatStyleCard.pm-map-cat-style-card {
  width: min(280px, 100%);
  max-height: min(calc(100vh - 112px), 78vh);
}

#pmMapCatModal.pm-map-cat-map-card {
  width: min(340px, 100%);
  max-height: min(calc(100vh - 112px), 78vh);
}

/* Glass blur real — mesmo padrão da sidebar e do card de relatório */
html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatModal.pm-pop-report-map-card,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatModal.pm-pop-report-map-card {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatModal.pm-pop-report-map-card::before,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatModal.pm-pop-report-map-card::before {
  content: "" !important;
  position: absolute !important;
  inset: calc(-1 * var(--pm-sidebar-glass-blur-bleed, 36px)) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: var(--pm-sidebar-glass-blur, blur(52px) saturate(1.3) brightness(1.04)) !important;
  -webkit-backdrop-filter: var(--pm-sidebar-glass-blur, blur(52px) saturate(1.3) brightness(1.04)) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatModal.pm-pop-report-map-card::after,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatModal.pm-pop-report-map-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background: var(--pm-sidebar-glass-fill, rgba(255, 255, 255, 0.22)) !important;
  border: 1px solid var(--pm-login-glass-border, rgba(255, 255, 255, 0.58)) !important;
  box-shadow: var(
    --pm-login-glass-shadow,
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 36px rgba(15, 35, 71, 0.12)
  ) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatModal .pm-pop-map-card-inner,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatModal .pm-pop-map-card-inner {
  position: relative !important;
  z-index: 1 !important;
}

body.pm-map-cat-pick-active #pmMapCatModalCorner.is-picking,
body.pm-map-cat-pick-active #pmMapCatModalGroup.is-picking #pmMapCatModalCorner {
  pointer-events: none !important;
}

.pm-map-cat-pick-overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 60 !important;
  display: none !important;
  background: transparent !important;
  pointer-events: none !important;
}

body.pm-map-cat-pick-active .pm-map-cat-pick-overlay.is-active {
  display: block !important;
  pointer-events: auto !important;
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cpath fill='%232563eb' stroke='%23ffffff' stroke-width='1.6' d='M14 1.5C8.75 1.5 4.5 5.75 4.5 11c0 6.75 9.5 22.5 9.5 22.5S23.5 17.75 23.5 11C23.5 5.75 19.25 1.5 14 1.5zm0 13.25a4.25 4.25 0 110-8.5 4.25 4.25 0 010 8.5z'/%3E%3C/svg%3E")
      14 32,
    crosshair !important;
}

body.pm-map-cat-pick-active .pm-map-area,
body.pm-map-cat-pick-active .pm-map-area .pm-map-iframe,
body.pm-map-cat-pick-active .pm-map-area iframe,
body.pm-map-cat-pick-active .pm-map-cat-pick-overlay.is-active {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='36' viewBox='0 0 28 36'%3E%3Cpath fill='%232563eb' stroke='%23ffffff' stroke-width='1.6' d='M14 1.5C8.75 1.5 4.5 5.75 4.5 11c0 6.75 9.5 22.5 9.5 22.5S23.5 17.75 23.5 11C23.5 5.75 19.25 1.5 14 1.5zm0 13.25a4.25 4.25 0 110-8.5 4.25 4.25 0 010 8.5z'/%3E%3C/svg%3E")
      14 32,
    crosshair !important;
}

#pmMapCatModal .pm-map-cat-card-inner {
  gap: 0;
  padding: 0;
}

#pmMapCatModal .pm-map-cat-modal__hero {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 38px 14px 14px;
  border-radius: 16px 16px 0 0;
  background: var(--pm-accent-gradient, linear-gradient(180deg, #3b82f6 0%, #2563eb 100%)) !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.55);
  box-shadow: var(--pm-accent-glow, 0 8px 24px rgba(37, 99, 235, 0.28));
}

#pmMapCatModal .pm-map-cat-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #2563eb;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 35, 71, 0.14);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

#pmMapCatModal .pm-map-cat-modal__close:hover {
  background: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(15, 35, 71, 0.18);
}

#pmMapCatModal .pm-map-cat-modal__close svg {
  display: block;
  color: #2563eb;
  stroke: #2563eb;
}

#pmMapCatModal .pm-map-cat-modal__hero strong {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  line-height: 1.25;
}

#pmMapCatModal .pm-map-cat-modal__hero span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

#pmMapCatModal .pm-map-cat-wizard-kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.82) !important;
}

#pmMapCatModal .pm-map-cat-wizard-panel {
  display: grid;
  gap: 12px;
}

#pmMapCatModal .pm-map-cat-wizard-panel[hidden] {
  display: none !important;
}

#pmMapCatModal .pm-map-cat-modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

#pmMapCatModal .pm-pop-map-card-head strong {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}

#pmMapCatModal .pm-pop-map-card-head span {
  font-size: 12px;
  line-height: 1.45;
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-modal__field span {
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-modal__field input,
#pmMapCatModal .pm-map-cat-modal__field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  padding: 10px 12px;
  font: 500 13px/1.35 Inter, system-ui, sans-serif;
  color: #64748b;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#pmMapCatModal .pm-map-cat-modal__error {
  margin: 0;
  font-size: 12px;
  color: #b91c1c;
}

#pmMapCatModal .pm-map-cat-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
  width: 100%;
}

#pmMapCatModal .pm-map-cat-modal__actions.is-split {
  justify-content: stretch;
  gap: 8px;
}

#pmMapCatModal .pm-map-cat-modal__actions.is-single {
  justify-content: center;
  gap: 8px;
}

#pmMapCatModal .pm-map-cat-modal__actions.is-single > .pm-map-cat-wizard-btn:not([hidden]) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc(50% - 4px);
}

#pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-wizard-btn:not([hidden]) {
  width: 100%;
  min-width: 0;
  flex: none;
}

#pmMapCatModal .pm-map-cat-solid-btn,
#pmMapCatModal .pm-map-cat-wizard-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid #2563eb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
  -webkit-appearance: none;
  appearance: none;
}

#pmMapCatModal .pm-map-cat-solid-btn:hover,
#pmMapCatModal .pm-map-cat-wizard-nav-btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2f6fe8 !important;
  background-color: #2f6fe8 !important;
  background-image: linear-gradient(180deg, #4f8ff7 0%, #2f6fe8 100%) !important;
  border-color: #2f6fe8 !important;
}

#pmMapCatModal .pm-map-cat-solid-btn:active,
#pmMapCatModal .pm-map-cat-wizard-nav-btn:active {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  background-image: none !important;
  border-color: #1d4ed8 !important;
}

#pmMapCatModal .pm-map-cat-glass-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 4px 14px rgba(15, 35, 71, 0.08) !important;
  -webkit-appearance: none;
  appearance: none;
}

#pmMapCatModal .pm-map-cat-glass-btn.pm-pop-map-glass-btn--primary {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  background: rgba(37, 99, 235, 0.1) !important;
  background-color: rgba(37, 99, 235, 0.1) !important;
}

#pmMapCatModal .pm-map-cat-glass-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  background-color: rgba(255, 255, 255, 0.16) !important;
}

#pmMapCatModal .pm-map-cat-glass-btn.pm-pop-map-glass-btn--primary:hover {
  background: rgba(37, 99, 235, 0.14) !important;
  background-color: rgba(37, 99, 235, 0.14) !important;
}

#pmMapCatModal #pmMapCatNextBtn[hidden],
#pmMapCatModal #pmMapCatSaveBtn[hidden],
#pmMapCatModal #pmMapCatBackBtn[hidden] {
  display: none !important;
}

#pmMapCatModal .pm-map-cat-modal__section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

#pmMapCatModal .pm-map-cat-points-section.is-enabled {
  gap: 10px;
}

#pmMapCatModal .pm-map-cat-points-section-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#pmMapCatModal .pm-map-cat-points-section-head .pm-map-cat-section-toggle {
  flex: 1 1 auto;
  min-width: 0;
}

#pmMapCatModal .pm-map-cat-section-toggle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
  user-select: none;
}

#pmMapCatModal .pm-map-cat-section-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

#pmMapCatModal .pm-map-cat-section-checkbox-ui {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#pmMapCatModal .pm-map-cat-section-checkbox:checked + .pm-map-cat-section-checkbox-ui {
  background: var(--pm-accent-gradient, linear-gradient(180deg, #3b82f6 0%, #2563eb 100%));
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: var(--pm-accent-glow, 0 4px 14px rgba(37, 99, 235, 0.28));
}

#pmMapCatModal .pm-map-cat-section-checkbox:checked + .pm-map-cat-section-checkbox-ui::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

#pmMapCatModal .pm-map-cat-section-toggle-text {
  display: grid;
  gap: 2px;
}

#pmMapCatModal .pm-map-cat-section-toggle-text strong {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

#pmMapCatModal .pm-map-cat-section-toggle-text span {
  font-size: 11px;
  line-height: 1.35;
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-section-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#pmMapCatModal .pm-map-cat-style-palette-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  padding: 0;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  background: rgba(255, 255, 255, 0.24) !important;
  background-image: none !important;
  color: #64748b;
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(15, 35, 71, 0.08) !important;
  -webkit-appearance: none;
  appearance: none;
}

#pmMapCatModal .pm-map-cat-style-palette-btn:hover {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.32) !important;
  background: rgba(37, 99, 235, 0.1) !important;
}

#pmMapCatModal .pm-map-cat-style-palette-btn.is-active {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.42) !important;
  background: rgba(37, 99, 235, 0.14) !important;
}

#pmMapCatModal .pm-map-cat-style-palette-btn svg {
  display: block;
  color: currentColor;
  stroke: currentColor;
  fill: none;
}

#pmMapCatModal .pm-map-cat-points-panel {
  display: grid;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    transform 0.28s ease;
}

#pmMapCatModal .pm-map-cat-points-panel.is-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
}

#pmMapCatWizardStep3 .pm-map-cat-pin-preview-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

#pmMapCatWizardStep3 .pm-map-cat-pin-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

#pmMapCatWizardStep3 .pm-map-cat-pin-preview-img {
  display: block;
  filter: drop-shadow(0 6px 10px rgba(15, 35, 71, 0.18));
}

#pmMapCatWizardStep3 .pm-map-cat-style-group {
  display: grid;
  gap: 8px;
}

#pmMapCatWizardStep3 .pm-map-cat-style-label {
  font-size: 11px;
  font-weight: 700;
  color: #8b97ad;
}

#pmMapCatWizardStep3 .pm-map-cat-color-grid,
#pmMapCatWizardStep3 .pm-map-cat-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#pmMapCatWizardStep3 .pm-map-cat-color-chip {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0 !important;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  background-color: var(--pm-map-cat-chip-color, #2563eb) !important;
  background-image: none !important;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 35, 71, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

html body.pm-liquid-v2 #pmMapCatWizardStep3 .pm-map-cat-color-chip,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatWizardStep3 .pm-map-cat-color-chip {
  background-color: var(--pm-map-cat-chip-color, #2563eb) !important;
  background-image: none !important;
}

#pmMapCatWizardStep3 .pm-map-cat-color-chip.is-active {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35), 0 4px 12px rgba(15, 35, 71, 0.16);
}

#pmMapCatWizardStep3 .pm-map-cat-icon-chip {
  min-width: 36px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.18) !important;
  background-image: none !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 4px 14px rgba(15, 35, 71, 0.1) !important;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

#pmMapCatWizardStep3 .pm-map-cat-icon-chip:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  transform: translateY(-1px);
}

#pmMapCatWizardStep3 .pm-map-cat-icon-chip svg {
  display: block;
  color: #64748b;
  stroke: currentColor;
  fill: none;
}

#pmMapCatWizardStep3 .pm-map-cat-icon-chip.is-active {
  border-color: rgba(37, 99, 235, 0.48) !important;
  background: rgba(37, 99, 235, 0.16) !important;
  backdrop-filter: blur(18px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25) !important;
  color: #2563eb;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(37, 99, 235, 0.2),
    0 4px 14px rgba(37, 99, 235, 0.14) !important;
}

#pmMapCatWizardStep3 .pm-map-cat-icon-chip.is-active svg {
  color: #2563eb;
}

#pmMapCatStyleCard .pm-map-cat-style-saved {
  margin: 0;
  font-size: 11px;
  color: #16a34a;
  text-align: center;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card::before,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card::before {
  content: "" !important;
  position: absolute !important;
  inset: calc(-1 * var(--pm-sidebar-glass-blur-bleed, 36px)) !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: var(--pm-sidebar-glass-blur, blur(52px) saturate(1.3) brightness(1.04)) !important;
  -webkit-backdrop-filter: var(--pm-sidebar-glass-blur, blur(52px) saturate(1.3) brightness(1.04)) !important;
}

html body.pm-liquid-v2.map-source-active .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card::after,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] .pm-map-area #pmMapCatStyleCard.pm-pop-report-map-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border-radius: inherit !important;
  background: var(--pm-sidebar-glass-fill, rgba(255, 255, 255, 0.22)) !important;
  border: 1px solid var(--pm-login-glass-border, rgba(255, 255, 255, 0.58)) !important;
  box-shadow: var(--pm-login-glass-shadow, inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 36px rgba(15, 35, 71, 0.12)) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatStyleCorner #pmMapCatStyleCard .pm-pop-map-glass-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatStyleCorner #pmMapCatStyleCard .pm-pop-map-glass-btn {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
  background: rgba(255, 255, 255, 0.28) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 8px rgba(15, 35, 71, 0.08) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatStyleCorner #pmMapCatStyleCard #pmMapCatSaveStyleBtn.pm-pop-map-glass-btn--primary,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatStyleCorner #pmMapCatStyleCard #pmMapCatSaveStyleBtn.pm-pop-map-glass-btn--primary {
  border-color: rgba(37, 99, 235, 0.32) !important;
  background: rgba(37, 99, 235, 0.12) !important;
}

#pmMapCatModal .pm-map-cat-modal__section-head {
  display: grid;
  gap: 2px;
}

#pmMapCatModal .pm-map-cat-modal__section-head strong {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

#pmMapCatModal .pm-map-cat-modal__section-head span {
  font-size: 11px;
  line-height: 1.35;
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-inline-btn {
  width: 100%;
  justify-content: center;
  font-size: 12px;
  padding: 8px 10px;
}

#pmMapCatModal .pm-map-cat-inline-btn.pm-map-cat-solid-btn {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-glass-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-glass-btn {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 4px 14px rgba(15, 35, 71, 0.08) !important;
  -webkit-appearance: none;
  appearance: none;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-glass-btn.pm-pop-map-glass-btn--primary,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-glass-btn.pm-pop-map-glass-btn--primary {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  background: rgba(37, 99, 235, 0.1) !important;
  background-color: rgba(37, 99, 235, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-glass-btn:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-glass-btn:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-pop-map-glass-btn:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-pop-map-glass-btn:not(.pm-map-cat-solid-btn) {
  color: #8b97ad !important;
  -webkit-text-fill-color: #8b97ad !important;
  background: rgba(255, 255, 255, 0.1) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 4px 14px rgba(15, 35, 71, 0.08) !important;
  -webkit-appearance: none;
  appearance: none;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-glass-btn--primary:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-glass-btn--primary:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-pop-map-glass-btn--primary:not(.pm-map-cat-solid-btn),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-pop-map-glass-btn--primary:not(.pm-map-cat-solid-btn) {
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
  border-color: rgba(37, 99, 235, 0.34) !important;
  background: rgba(37, 99, 235, 0.1) !important;
  background-color: rgba(37, 99, 235, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-solid-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-solid-btn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-wizard-nav-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-wizard-nav-btn {
  flex: none;
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid #2563eb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
  -webkit-appearance: none;
  appearance: none;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-map-cat-solid-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-map-cat-solid-btn {
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid #2563eb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
  -webkit-appearance: none;
  appearance: none;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-solid-btn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-solid-btn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-map-cat-solid-btn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-point-actions .pm-map-cat-solid-btn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-wizard-nav-btn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__actions .pm-map-cat-wizard-nav-btn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2f6fe8 !important;
  background-color: #2f6fe8 !important;
  background-image: linear-gradient(180deg, #4f8ff7 0%, #2f6fe8 100%) !important;
  border-color: #2f6fe8 !important;
}

#pmMapCatModal .pm-map-cat-layers-list,
#pmMapCatModal .pm-map-cat-points-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
}

#pmMapCatModal .pm-map-cat-layer-row,
#pmMapCatModal .pm-map-cat-point-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;
}

#pmMapCatModal .pm-map-cat-layer-row input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  padding: 8px 10px;
  font: 500 12px/1.35 Inter, system-ui, sans-serif;
  color: #64748b;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
}

#pmMapCatModal .pm-map-cat-point-row {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

#pmMapCatModal .pm-map-cat-point-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#pmMapCatModal .pm-map-cat-point-row strong {
  font-size: 12px;
  color: #64748b;
}

#pmMapCatModal .pm-map-cat-point-row span {
  font-size: 11px;
  color: #8b97ad;
}

#pmMapCatModal .pm-map-cat-row-remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.22);
  color: #8b97ad;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

#pmMapCatModal .pm-map-cat-coord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#pmMapCatModal .pm-map-cat-point-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#pmMapCatModal .pm-map-cat-empty-hint {
  margin: 0;
  font-size: 11px;
  color: #8b97ad;
}

html body.pm-liquid-v2.pm-apple-shell.map-source-active #pmtab-categorias .pm-map-cat-tool-btn,
html body.pm-liquid-v2.pm-apple-shell .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-map-cat-tool-btn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1.5px solid rgba(139, 151, 173, 0.55) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  box-shadow: none !important;
  color: #8b97ad !important;
  -webkit-text-fill-color: #8b97ad !important;
}

html body.pm-liquid-v2.pm-apple-shell.map-source-active #pmtab-categorias .pm-map-cat-tool-btn:hover,
html body.pm-liquid-v2.pm-apple-shell .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn:hover,
html body.pm-liquid-v2.map-source-active #pmtab-categorias .pm-map-cat-tool-btn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: blur(24px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.25) !important;
  border-color: rgba(107, 114, 128, 0.72) !important;
  box-shadow: none !important;
}

html body.pm-liquid-v2.pm-apple-shell.map-source-active #pmtab-categorias .pm-map-cat-tool-btn svg,
html body.pm-liquid-v2.pm-apple-shell.map-source-active #pmtab-categorias .pm-map-cat-tool-btn svg *,
html body.pm-liquid-v2.pm-apple-shell .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn svg,
html body.pm-liquid-v2.pm-apple-shell .censo-integrated[data-active-source="mapa"] #pmtab-categorias .pm-map-cat-tool-btn svg * {
  color: #8b97ad !important;
  stroke: #8b97ad !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__hero :is(strong, span, .pm-map-cat-wizard-kicker),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__hero :is(strong, span, .pm-map-cat-wizard-kicker) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__hero span,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__hero span {
  color: rgba(255, 255, 255, 0.92) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-card-head :is(strong, span),
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-card-head :is(strong, span),
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field span,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field span {
  color: #8b97ad !important;
  -webkit-text-fill-color: #8b97ad !important;
  text-shadow: none !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-card-head strong,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-pop-map-card-head strong {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field input,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field select,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field input,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal .pm-map-cat-modal__field select {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

#pmMapCatModal #pmMapCatBackBtn,
#pmMapCatModal #pmMapCatNextBtn,
#pmMapCatModal #pmMapCatSaveBtn,
#pmMapCatModal #pmMapCatPickMapPointBtn,
#pmMapCatModal #pmMapCatAddPointBtn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatBackBtn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatNextBtn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatSaveBtn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatPickMapPointBtn,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatAddPointBtn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatBackBtn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatNextBtn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatSaveBtn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatPickMapPointBtn,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatAddPointBtn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2563eb !important;
  background-color: #2563eb !important;
  background-image: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  border: 1px solid #2563eb !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.22) !important;
}

#pmMapCatModal #pmMapCatBackBtn:hover,
#pmMapCatModal #pmMapCatNextBtn:hover,
#pmMapCatModal #pmMapCatSaveBtn:hover,
#pmMapCatModal #pmMapCatPickMapPointBtn:hover,
#pmMapCatModal #pmMapCatAddPointBtn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatBackBtn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatNextBtn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatSaveBtn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatPickMapPointBtn:hover,
html body.pm-liquid-v2.map-source-active #pmMapCatModalCorner #pmMapCatModal #pmMapCatAddPointBtn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatBackBtn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatNextBtn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatSaveBtn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatPickMapPointBtn:hover,
html body.pm-liquid-v2 .censo-integrated[data-active-source="mapa"] #pmMapCatModalCorner #pmMapCatModal #pmMapCatAddPointBtn:hover {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: #2f6fe8 !important;
  background-color: #2f6fe8 !important;
  background-image: linear-gradient(180deg, #4f8ff7 0%, #2f6fe8 100%) !important;
  border-color: #2f6fe8 !important;
}
