/* Surveyor — workspace contextual do Mapa e Cadastro. */
body.georural-map-page{--panel-w:400px;--sv-map-card:#fff;--sv-map-line:#d7e2ef;--sv-map-line-soft:#e9eff6;--sv-map-text:#10243c;--sv-map-muted:#64748b;--sv-map-blue:#0f63e9;--sv-map-soft:#f5f9ff}
body.georural-map-page .sidepanel-tabs-four{display:none!important}
body.georural-map-page #sidePanelFloatToggle{display:none!important}
body.georural-map-page #sidePanelCollapse{display:none!important}
body.georural-map-page .geo-workspace{grid-template-columns:var(--panel-w) minmax(0,1fr)!important}
body.georural-map-page .geo-workspace.panel-collapsed{grid-template-columns:0 minmax(0,1fr)!important}
body.georural-map-page .geo-sidepanel{
  width:var(--panel-w)!important;min-width:var(--panel-w)!important;grid-template-rows:60px minmax(0,1fr) 64px!important;
  background:#f8fbff!important;border-right:1px solid var(--sv-map-line)!important;box-shadow:4px 0 16px rgba(15,23,42,.04)!important;
}
body.georural-map-page .geo-sidepanel.collapsed{width:0!important;min-width:0!important;border-right:0!important;box-shadow:none!important}
body.georural-map-page .geo-sidepanel.collapsed .sv-context-panel-head{display:none!important}
body.georural-map-page .sv-context-panel-head{
  height:60px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  padding:0 14px!important;border-bottom:1px solid var(--sv-map-line)!important;background:#fff!important;
}
body.georural-map-page .sv-context-panel-title{display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;color:var(--sv-map-text)!important}
body.georural-map-page .sv-context-panel-title>span{
  width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:10px!important;
  background:#edf5ff!important;color:var(--sv-map-blue)!important;flex:0 0 38px!important;border:1px solid #d6e5fb!important;
}
body.georural-map-page .sv-context-panel-title svg{width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.georural-map-page .sv-context-panel-title strong{font-size:18px!important;font-weight:850!important;letter-spacing:-.015em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.georural-map-page #svContextPanelClose,
body.georural-map-page #closeDetails{
  width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:1px solid #d5e0ed!important;border-radius:9px!important;
  background:#fff!important;color:#1f344d!important;font-size:20px!important;line-height:1!important;cursor:pointer!important;box-shadow:none!important;
}
body.georural-map-page #svContextPanelClose:hover,
body.georural-map-page #closeDetails:hover{background:#f3f7fb!important;color:#0f63e9!important;border-color:#bcd3f5!important}
body.georural-map-page .sidepanel-scroll{padding:12px!important;background:#f8fbff!important;overflow:auto!important;scrollbar-gutter:stable!important}
body.georural-map-page .side-tab-panel.active{display:block!important}
body.georural-map-page .compact-section{
  margin:0 0 10px!important;border:1px solid var(--sv-map-line)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 1px 2px rgba(15,23,42,.02)!important;
}
body.georural-map-page .compact-heading{
  min-height:48px!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  background:#fff!important;border-bottom:1px solid var(--sv-map-line-soft)!important;color:var(--sv-map-text)!important;font-size:15px!important;
}
body.georural-map-page .compact-heading b{font-weight:850!important}
body.georural-map-page .collapse-btn{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:0!important;background:transparent!important;color:#23405f!important;font-size:18px!important;cursor:pointer!important}
body.georural-map-page .compact-fields{display:grid!important;gap:11px!important;padding:13px!important}
body.georural-map-page .compact-fields label{display:grid!important;gap:6px!important;color:#223955!important;font-size:11.5px!important;font-weight:750!important}
body.georural-map-page .compact-fields input,
body.georural-map-page .compact-fields select,
body.georural-map-page .compact-fields textarea{
  width:100%!important;min-height:40px!important;padding:0 11px!important;border:1px solid #cbd8e8!important;border-radius:8px!important;background:#fff!important;color:#18324e!important;outline:none!important;font-size:12px!important;box-shadow:none!important;
}
body.georural-map-page .compact-fields textarea{min-height:78px!important;padding:10px 11px!important;resize:vertical!important;line-height:1.4!important}
body.georural-map-page .compact-fields input:focus,
body.georural-map-page .compact-fields select:focus,
body.georural-map-page .compact-fields textarea:focus{border-color:#7faef1!important;box-shadow:0 0 0 3px rgba(15,99,233,.08)!important}
body.georural-map-page .sv-field-optional{color:#718096!important;font-weight:600!important}
body.georural-map-page .sv-required-mark{color:#dc2626!important;font-weight:900!important;margin-left:2px!important}
body.georural-map-page .row{grid-template-columns:minmax(0,1fr) 104px!important;gap:9px!important}
body.georural-map-page .field-hint,
body.georural-map-page .gleba-intro{margin:0!important;padding:10px 11px!important;border:1px solid #d5e5fb!important;border-radius:8px!important;background:#eef6ff!important;color:#526b87!important;font-size:10.5px!important;line-height:1.45!important}
body.georural-map-page .sv-project-save-actions{display:flex!important;padding:0 13px 13px!important}
body.georural-map-page .sv-project-save-actions button,
body.georural-map-page .sv-layer-panel-actions button{
  width:100%!important;min-height:40px!important;border-radius:8px!important;border:1px solid var(--sv-map-blue)!important;background:var(--sv-map-blue)!important;color:#fff!important;font-size:12px!important;font-weight:850!important;padding:0 14px!important;cursor:pointer!important;box-shadow:none!important;
}
body.georural-map-page .sv-project-save-actions button:hover,
body.georural-map-page .sv-layer-panel-actions button:hover{background:#0b55c9!important;border-color:#0b55c9!important}
body.georural-map-page .sv-project-save-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
body.georural-map-page .sv-project-save-actions button svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.georural-map-page .sv-layer-panel-actions{padding:0 0 10px!important;display:flex!important}
body.georural-map-page .sv-layer-panel-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
body.georural-map-page .sv-layer-panel-actions svg{width:16px!important;height:16px!important;stroke:currentColor!important;fill:none!important;stroke-width:2!important}
body.georural-map-page .layer-count,
body.georural-map-page .segment-badge{min-height:24px!important;padding:0 8px!important;border-radius:999px!important;background:#edf5ff!important;color:#0f63e9!important;font-size:11px!important;font-weight:850!important}
body.georural-map-page .layer-list{display:grid!important;gap:9px!important}
body.georural-map-page .layer-card{
  padding:12px!important;border:1px solid #d5e0ec!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;
}
body.georural-map-page .layer-card.selected{border-color:#8db8f4!important;box-shadow:0 0 0 2px rgba(15,99,233,.08)!important}
body.georural-map-page .layer-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:9px!important}
body.georural-map-page .layer-name{display:flex!important;align-items:flex-start!important;gap:9px!important;min-width:0!important}
body.georural-map-page .layer-name .dot{width:14px!important;height:14px!important;min-width:14px!important;border-radius:4px!important;margin-top:2px!important;box-shadow:none!important}
body.georural-map-page .layer-name b{font-size:12px!important;line-height:1.25!important;color:#17314c!important;font-weight:850!important}
body.georural-map-page .layer-meta{margin:6px 0 8px!important;color:#718096!important;font-size:10px!important;line-height:1.35!important}
body.georural-map-page .reference-layer-lock{min-height:26px!important;padding:0 9px!important;display:inline-flex!important;align-items:center!important;border-radius:999px!important;background:#eef5ff!important;color:#0f63e9!important;font-size:9px!important;font-weight:850!important;white-space:nowrap!important}
body.georural-map-page .layer-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important}
body.georural-map-page .layer-actions button{
  min-height:32px!important;padding:0 11px!important;border:1px solid #cfdae8!important;border-radius:7px!important;background:#fff!important;color:#17314c!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important;
}
body.georural-map-page .layer-actions button:hover{background:#f7faff!important;border-color:#adc8ed!important;color:#0f63e9!important}
body.georural-map-page .layer-actions .remove-catalog-layer{border-color:#f3c6c6!important;background:#fff7f7!important;color:#c33!important}
body.georural-map-page .layer-style-controls{display:grid!important;gap:9px!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #edf1f6!important}
body.georural-map-page .layer-style-controls label{display:grid!important;grid-template-columns:88px minmax(0,1fr) 42px!important;align-items:center!important;gap:8px!important;color:#607089!important;font-size:10.5px!important;font-weight:650!important}
body.georural-map-page .layer-style-controls input[type=color]{width:36px!important;height:26px!important;min-height:26px!important;padding:2px!important;border:1px solid #ccd8e5!important;border-radius:6px!important;background:#fff!important}
body.georural-map-page .layer-style-controls input[type=range]{width:100%!important;accent-color:#0f63e9!important}
body.georural-map-page .layer-style-controls em{min-width:42px!important;text-align:right!important;font-style:normal!important;color:#223955!important;font-size:10px!important}
body.georural-map-page .geo-side-footer{
  display:flex!important;align-items:center!important;gap:9px!important;padding:11px 14px!important;border-top:1px solid var(--sv-map-line)!important;background:#fff!important;color:#64748b!important;font-size:10px!important;
}
body.georural-map-page .geo-side-footer .status-dot{width:12px!important;height:12px!important;flex:0 0 12px!important;background:#20b889!important;border-radius:50%!important;box-shadow:0 0 0 5px rgba(32,184,137,.11)!important}
body.georural-map-page .geo-side-footer>div{display:grid!important;gap:2px!important;min-width:0!important}
body.georural-map-page .geo-side-footer b{color:#1d5265!important;font-size:10px!important}
body.georural-map-page .geo-side-footer small{font-size:9px!important;color:#708197!important}

/* Glebas — cartões funcionais no mesmo painel lateral. */
body.georural-map-page .sv-info-badge{width:17px;height:17px;display:grid;place-items:center;border:1px solid #6ea5f3;border-radius:50%;color:#0f63e9;font-size:9px;font-weight:900}
body.georural-map-page .gleba-cut-draw-box{display:grid!important;gap:9px!important;padding:0!important;border:0!important;background:transparent!important}
body.georural-map-page .gleba-cut-draw-box>div:first-child{display:grid!important;gap:4px!important}
body.georural-map-page .gleba-cut-draw-box b{font-size:11px!important;color:#213954!important}
body.georural-map-page .gleba-cut-draw-box small{font-size:9.5px!important;color:#718096!important;line-height:1.4!important}
body.georural-map-page .gleba-cut-actions,
body.georural-map-page .map-glebas-actions{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
body.georural-map-page .gleba-cut-actions button,
body.georural-map-page .map-glebas-actions button,
body.georural-map-page .map-glebas-heirs-head button{
  min-height:32px!important;padding:0 11px!important;border:1px solid #cdd9e7!important;border-radius:7px!important;background:#fff!important;color:#17314c!important;font-size:10px!important;font-weight:800!important;cursor:pointer!important;
}
body.georural-map-page .gleba-cut-actions button:first-child{border-color:#a9c8f4!important;background:#eef5ff!important;color:#0f63e9!important}
body.georural-map-page .map-glebas-actions.primary-actions button:first-child{flex:1!important;border-color:#0f63e9!important;background:#0f63e9!important;color:#fff!important}
body.georural-map-page .map-glebas-actions.primary-actions .danger-soft{border-color:#f1c8c8!important;background:#fff7f7!important;color:#c83232!important}
body.georural-map-page .map-glebas-actions.export-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.georural-map-page .map-glebas-heirs-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
body.georural-map-page .map-glebas-heirs{display:grid!important;gap:7px!important}
body.georural-map-page .gleba-map-summary{padding:9px!important;border:1px solid #e2e9f2!important;border-radius:8px!important;background:#f9fbfd!important;color:#64748b!important;font-size:9.5px!important;line-height:1.4!important}

/* Painel flutuante de ferramentas secundárias.
   Desktop: todas as ferramentas ficam visíveis em duas linhas, sem scroll. */
body.georural-map-page .sv-map-modern-drawer,
body.georural-map-page .map-quick-tools-drawer{
  position:absolute!important;
  left:0!important;
  right:auto!important;
  top:calc(100% + 10px)!important;
  z-index:5400!important;
  width:760px!important;
  max-width:calc(100vw - 32px)!important;
  min-width:0!important;
  padding:12px!important;
  overflow:visible!important;
  white-space:normal!important;
  border:1px solid #d8e2ee!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 14px 36px rgba(15,23,42,.16)!important;
}
body.georural-map-page .sv-map-modern-drawer .map-quick-tools-grid,
body.georural-map-page .map-quick-tools-drawer .map-quick-tools-grid{
  display:grid!important;
  grid-auto-flow:row!important;
  grid-template-columns:repeat(13,42px)!important;
  grid-template-rows:none!important;
  grid-auto-rows:42px!important;
  align-items:center!important;
  justify-content:start!important;
  justify-items:center!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}
body.georural-map-page .sv-map-modern-drawer .map-quick-grid-tool,
body.georural-map-page .map-quick-tools-drawer .map-quick-grid-tool{
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;
  border:1px solid #d7e2ef!important;border-radius:9px!important;background:#fff!important;color:#10243c!important;box-shadow:none!important;
}
body.georural-map-page .sv-map-modern-drawer .map-quick-grid-tool:hover,
body.georural-map-page .map-quick-tools-drawer .map-quick-grid-tool:hover{background:#eef5ff!important;border-color:#a7c7f4!important;color:#0f63e9!important}
body.georural-map-page .sv-map-modern-drawer .map-quick-grid-tool svg,
body.georural-map-page .map-quick-tools-drawer .map-quick-grid-tool svg{width:18px!important;height:18px!important;stroke:currentColor!important}
body.georural-map-page .map-quick-grid-tool.sv-context-launcher{background:#fff!important;border-color:#d7e2ef!important}
body.georural-map-page .map-quick-grid-tool.sv-context-launcher::after{content:none!important;display:none!important}
@media(max-width:900px){
  body.georural-map-page .sv-map-modern-drawer,
  body.georural-map-page .map-quick-tools-drawer{width:min(470px,calc(100vw - 24px))!important;overflow:visible!important}
  body.georural-map-page .sv-map-modern-drawer .map-quick-tools-grid,
  body.georural-map-page .map-quick-tools-drawer .map-quick-tools-grid{grid-template-columns:repeat(8,42px)!important}
}
@media(max-width:560px){
  body.georural-map-page .sv-map-modern-drawer,
  body.georural-map-page .map-quick-tools-drawer{width:min(330px,calc(100vw - 16px))!important}
  body.georural-map-page .sv-map-modern-drawer .map-quick-tools-grid,
  body.georural-map-page .map-quick-tools-drawer .map-quick-tools-grid{grid-template-columns:repeat(5,42px)!important}
}

/* Detalhes do elemento — painel técnico lateral direito. */
body.georural-map-page .details{
  position:fixed!important;z-index:1900!important;right:12px!important;top:78px!important;bottom:52px!important;width:420px!important;max-width:calc(100vw - 24px)!important;max-height:none!important;
  display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important;overflow:auto!important;border:1px solid #d5e0ec!important;border-radius:12px!important;background:#fff!important;box-shadow:0 14px 38px rgba(15,23,42,.16)!important;scrollbar-gutter:stable!important;
}
body.georural-map-page .details.hidden{display:none!important}
body.georural-map-page .details-kicker{min-height:36px;display:flex;align-items:center;gap:9px;padding:0 40px 0 7px;border-bottom:1px solid #e7edf4;color:#0f63e9;font-size:10.5px;font-weight:900;letter-spacing:.06em}
body.georural-map-page .details-color-swatch{width:18px;height:18px;border-radius:5px;background:#ffd21a;box-shadow:0 0 0 4px rgba(255,210,26,.13)}
body.georural-map-page .details .close{position:absolute!important;right:12px!important;top:10px!important}
body.georural-map-page .detail-card-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 4px!important}
body.georural-map-page .detail-card-tabs button{min-height:38px!important;border:1px solid #d6e1ee!important;border-radius:9px!important;background:#fff!important;color:#17314c!important;font-size:11px!important;font-weight:850!important;cursor:pointer!important}
body.georural-map-page .detail-card-tabs button.active{background:#eef5ff!important;border-color:#9fc3f5!important;color:#0f63e9!important;box-shadow:0 0 0 2px rgba(15,99,233,.08)!important}
body.georural-map-page .detail-card-panel{display:grid!important;gap:10px!important;margin:0 0 2px!important;padding:0 4px!important}
body.georural-map-page .detail-card-panel[hidden]{display:none!important}
body.georural-map-page .detail-card-panel.active{display:grid!important}
body.georural-map-page .details h2{margin:0!important;padding:0 4px!important;color:#142b46!important;font-size:18px!important;font-weight:850!important;line-height:1.2!important}
body.georural-map-page .details label{display:grid!important;gap:6px!important;padding:0 4px!important;color:#40536a!important;font-size:10.5px!important;font-weight:750!important}
body.georural-map-page .details input,
body.georural-map-page .details select,
body.georural-map-page .details textarea{width:100%!important;min-height:38px!important;border:1px solid #ced9e6!important;border-radius:8px!important;background:#fff!important;color:#16314d!important;padding:0 10px!important;font-size:11px!important;box-shadow:none!important}
body.georural-map-page .details textarea{min-height:92px!important;padding:8px 10px!important;resize:vertical!important;line-height:1.45!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
body.georural-map-page .details .detail-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0 4px!important}
body.georural-map-page .details .detail-stats div{min-width:0!important;padding:8px 7px!important;border:1px solid #dce5ef!important;border-radius:8px!important;background:#fbfcfe!important}
body.georural-map-page .details .detail-stats span{display:block!important;color:#718096!important;font-size:8.5px!important;font-weight:750!important}
body.georural-map-page .details .detail-stats b{display:block!important;margin-top:2px!important;color:#17314c!important;font-size:11px!important;font-weight:900!important;line-height:1.15!important;word-break:break-word!important}
body.georural-map-page .detail-coordinates-block{margin:0 4px!important;display:grid!important;gap:6px!important}
body.georural-map-page .detail-coordinates-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;color:#314a65!important;font-size:10.5px!important}
body.georural-map-page .detail-coordinates-head button{min-height:28px!important;padding:0 9px!important;border:1px solid #ced9e6!important;border-radius:7px!important;background:#fff!important;color:#0f63e9!important;font-size:9px!important;font-weight:800!important}
body.georural-map-page .confrontantes-section{margin:2px 4px 0!important;padding:10px!important;border:1px solid #dce5ef!important;border-radius:10px!important;background:#fff!important}
body.georural-map-page .confrontantes-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;color:#16314d!important}
body.georural-map-page .confrontantes-title span{padding:4px 7px!important;border-radius:999px!important;background:#eef5ff!important;color:#0f63e9!important;font-size:9px!important;font-weight:850!important}
body.georural-map-page .confrontantes-help{margin:7px 0 9px!important;color:#718096!important;font-size:9.5px!important;line-height:1.4!important}
body.georural-map-page .detail-actions{position:sticky!important;bottom:-12px!important;z-index:2!important;display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:7px!important;margin:auto -4px -12px!important;padding:10px 4px 12px!important;border-top:1px solid #e1e8f0!important;background:#fff!important}
body.georural-map-page .detail-actions button,
body.georural-map-page .detail-actions summary{min-height:34px!important;border:1px solid #d0dbe8!important;border-radius:7px!important;background:#fff!important;color:#17314c!important;font-size:9.5px!important;font-weight:800!important}
body.georural-map-page .detail-actions .danger{border-color:#f1caca!important;background:#fff7f7!important;color:#c63232!important}

body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-item.sv-panel-active,
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-more.sv-panel-active{color:#0f63e9!important;background:#eef5ff!important;box-shadow:inset 0 -3px 0 #0f63e9!important;border-radius:9px 9px 4px 4px!important}
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-item.sv-panel-active svg,
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-more.sv-panel-active svg{stroke:#0f63e9!important}

@media(max-width:980px){body.georural-map-page{--panel-w:360px}body.georural-map-page .details{width:380px!important}}
@media(max-width:820px){body.georural-map-page{--panel-w:min(92vw,380px)}body.georural-map-page .sv-context-panel-head{height:54px!important}body.georural-map-page .geo-sidepanel{grid-template-rows:54px minmax(0,1fr) 60px!important}body.georural-map-page .details{top:66px!important;bottom:10px!important;right:8px!important;width:min(92vw,395px)!important}}
body.georural-map-page .sv-car-search-halo{pointer-events:none}
body.georural-map-page .sv-car-search-pin{width:30px;height:38px;position:relative;filter:drop-shadow(0 4px 8px rgba(127,29,29,.28))}
body.georural-map-page .sv-car-search-pin::before{content:"";position:absolute;left:5px;top:2px;width:20px;height:20px;border-radius:50% 50% 50% 0;background:#dc2626;border:3px solid #fff;transform:rotate(-45deg);box-shadow:0 0 0 2px #b91c1c}
body.georural-map-page .sv-car-search-pin::after{content:"";position:absolute;left:12px;top:9px;width:6px;height:6px;border-radius:50%;background:#fff}
body.georural-map-page .sv-car-search-tooltip{background:#991b1b!important;color:#fff!important;border:0!important;border-radius:8px!important;box-shadow:0 8px 24px rgba(15,23,42,.22)!important;font-size:11px!important;font-weight:850!important;padding:6px 9px!important}
body.georural-map-page .sv-car-search-tooltip::before{border-top-color:#991b1b!important}
body.georural-map-page #svMapContextToast{position:fixed;z-index:10050;left:50%;bottom:22px;transform:translate(-50%,14px);opacity:0;pointer-events:none;max-width:min(560px,calc(100vw - 30px));padding:10px 14px;border-radius:10px;background:#0f172a;color:#fff;font-size:13px;font-weight:750;box-shadow:0 14px 34px rgba(15,23,42,.25);transition:.18s ease}
body.georural-map-page #svMapContextToast.visible{opacity:1;transform:translate(-50%,0)}
body.georural-map-page #svMapContextToast[data-type="success"]{background:#166534}
body.georural-map-page #svMapContextToast[data-type="error"]{background:#991b1b}
body.georural-map-page #svMapContextToast[data-type="info"]{background:#1e3a8a}
@media(max-width:820px){body.georural-map-page .sv-context-panel-head{height:48px}body.georural-map-page .geo-sidepanel{grid-template-rows:48px minmax(0,1fr) auto!important}}

/* 21/08/2026 — hotfix de limpeza da barra superior + busca unificada CAR. */
body[data-page="mapa.html"] .sv-map-toolbar-modern [data-proxy-for="toggleLayersPanel"]{
  display:none!important;
}

/* O lançador contextual de Glebas é somente ícone; o nome aparece no tooltip nativo. */
body[data-page="mapa.html"] .map-quick-grid-tool.sv-context-launcher::after{
  content:none!important;
  display:none!important;
}
body[data-page="mapa.html"] .map-quick-grid-tool.sv-context-glebas{
  position:relative!important;
}

/* Busca superior: uma única linha, sem caixa fantasma e alinhada ao botão de localização. */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:48px minmax(690px,1fr) minmax(380px,470px)!important;
}
body[data-page="mapa.html"] .sv-map-search-host{
  height:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
  padding:0!important;
}
body[data-page="mapa.html"] .sv-map-search-host .sv-map-locate-proxy{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  border-radius:10px!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:40px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap::after{display:none!important;content:none!important}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:40px!important;
  min-width:0!important;
  margin:0!important;
}
body[data-page="mapa.html"] .sv-map-search-host #coordSearch{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  max-height:40px!important;
  margin:0!important;
  padding:0 44px 0 15px!important;
  border:1px solid #cfd9e6!important;
  border-radius:20px!important;
  background:#fff!important;
  color:#1f344d!important;
  font-size:11.5px!important;
  line-height:40px!important;
  outline:none!important;
  box-shadow:0 1px 2px rgba(15,23,42,.035)!important;
}
body[data-page="mapa.html"] .sv-map-search-host #coordSearch:focus{
  border-color:#77a8ef!important;
  box-shadow:0 0 0 3px rgba(15,99,233,.09)!important;
}
body[data-page="mapa.html"] #svMapSearchSubmit{
  position:absolute!important;
  right:5px!important;
  top:5px!important;
  transform:none!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:transparent!important;
  color:#49617e!important;
  cursor:pointer!important;
  z-index:5!important;
}
body[data-page="mapa.html"] #svMapSearchSubmit:hover{
  background:#eaf2ff!important;
  color:#0f63e9!important;
}
body[data-page="mapa.html"] #svMapSearchSubmit svg{
  width:16px!important;
  height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar>button:not(#svMapSearchSubmit){
  display:none!important;
}
body[data-page="mapa.html"] .sv-map-search-host .city-suggest{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:46px!important;
  width:100%!important;
  max-width:none!important;
  z-index:9800!important;
  box-sizing:border-box!important;
}
body[data-page="mapa.html"] .sv-map-search-host .city-suggest.hidden{
  display:none!important;
}

@media(max-width:1400px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(620px,1fr) minmax(300px,360px)!important;
  }
}
@media(max-width:1120px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr)!important;
  }
  body[data-page="mapa.html"] .sv-map-search-host{display:none!important}
}

/* 21/08/2026 — Marcar pontos múltiplos + estado ativo consistente da barra. */
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-item.sv-tool-active,
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-more.sv-tool-active,
body.georural-map-page .sv-map-toolbar-modern details.sv-tool-active > summary{
  color:#0f63e9!important;
  background:#eef5ff!important;
  box-shadow:inset 0 -3px 0 #0f63e9!important;
  border-radius:9px 9px 4px 4px!important;
}
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-item.sv-tool-active svg,
body.georural-map-page .sv-map-toolbar-modern .sv-map-toolbar-more.sv-tool-active svg,
body.georural-map-page .sv-map-toolbar-modern details.sv-tool-active > summary svg{stroke:#0f63e9!important}

body.georural-map-page .gps-point-card-multi{
  width:min(430px,calc(100vw - 28px))!important;
  max-height:min(720px,calc(100vh - 110px))!important;
  overflow:auto!important;
  gap:10px!important;
}
body.georural-map-page .gps-point-main-fields,
body.georural-map-page .gps-additional-point-row{display:grid;gap:8px}
body.georural-map-page .gps-additional-points{display:grid;gap:10px}
body.georural-map-page .gps-additional-point-row{
  position:relative;
  padding:10px;
  border:1px solid #dce6f2;
  border-radius:10px;
  background:#f8fbff;
}
body.georural-map-page .gps-additional-point-index{
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#64748b;
}
body.georural-map-page .gps-point-icon-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
body.georural-map-page .gps-icon-only{
  width:40px;
  height:40px;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #cbd8e8!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17324f!important;
  cursor:pointer;
}
body.georural-map-page .gps-icon-only:hover{border-color:#0f63e9!important;color:#0f63e9!important;background:#f5f9ff!important}
body.georural-map-page .gps-icon-only svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
body.georural-map-page .gps-add-point{background:#0f63e9!important;border-color:#0f63e9!important;color:#fff!important}
body.georural-map-page .gps-add-point:hover{background:#0b55c9!important;color:#fff!important}
body.georural-map-page .gps-polygon-suggestion{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border:1px solid #b9d5ff;
  border-radius:10px;
  background:#f3f8ff;
}
body.georural-map-page .gps-polygon-suggestion.hidden{display:none!important}
body.georural-map-page .gps-polygon-suggestion>div{display:grid;gap:2px}
body.georural-map-page .gps-polygon-suggestion strong{font-size:11px;color:#0f4fb5}
body.georural-map-page .gps-polygon-suggestion span{font-size:10.5px;color:#52657d}
body.georural-map-page .gps-polygon-suggestion button{
  min-height:34px;
  padding:0 11px;
  border:1px solid #0f63e9;
  border-radius:8px;
  background:#0f63e9;
  color:#fff;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}
body.georural-map-page .gps-save-multiple{width:100%!important;justify-content:center!important;min-height:40px!important}
body.georural-map-page .gps-point-dialog.is-editing-single .gps-point-icon-actions,
body.georural-map-page .gps-point-dialog.is-editing-single #gpsPolygonSuggestion{display:none!important}

/* Limites CAR/SICAR: amarelo vivo, com preenchimento e contorno separados. */
body.georural-map-page .leaflet-tile.surveyor-sicar-property-tile,
body.georural-map-page .leaflet-tile.surveyor-sicar-property-outline-tile{
  filter:none!important;
  mix-blend-mode:normal!important;
}
body.georural-map-page .rural-registry-popup .registry-owner-row th,
body.georural-map-page .rural-registry-popup .registry-owner-row td{
  background:#fff9d9!important;
  color:#0f172a!important;
  font-weight:850!important;
}

/* 21/08/2026 — popup CAR selecionado compacto. */
body.georural-map-page .sv-car-selected-popup .leaflet-popup-content-wrapper{
  border-radius:12px!important;box-shadow:0 8px 28px rgba(15,23,42,.16)!important;
}
body.georural-map-page .sv-car-selected-popup .leaflet-popup-content{
  margin:10px 12px!important;width:auto!important;min-width:0!important;max-width:205px!important;
}
body.georural-map-page .sv-car-selected-popup .leaflet-popup-tip{box-shadow:none!important}
body.georural-map-page .sv-car-selected-card{display:flex;flex-direction:column;gap:2px;max-width:200px;color:#334155}
body.georural-map-page .sv-car-selected-card strong{font-size:13px;line-height:1.2;color:#b91c1c;font-weight:800}
body.georural-map-page .sv-car-selected-card span{font-size:11px;line-height:1.3;color:#64748b}
body.georural-map-page .sv-car-selected-card code{display:block;margin-top:3px;padding:4px 6px;border-radius:7px;background:#fff1f2;color:#991b1b;font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Pontos em edição/importados: prévia discreta e coerente com o mapa. */
body.georural-map-page .gps-staged-point-tooltip{font-size:11px!important;font-weight:700!important;color:#0f172a!important;border:1px solid #dbeafe!important;box-shadow:0 4px 14px rgba(15,23,42,.12)!important}


/* ===== 2026-08-22 — painel Marcar pontos compacto ===== */
body.georural-map-page .gps-point-dialog{
  width:min(300px,calc(100vw - 14px))!important;max-width:300px!important;
}
body.georural-map-page .gps-point-card{
  padding:9px 10px 10px!important;gap:6px!important;border-radius:12px!important;
  box-shadow:0 14px 34px rgba(15,23,42,.16)!important;
}
body.georural-map-page .gps-point-drag-handle{
  min-height:42px!important;padding:2px 2px 6px!important;margin:0!important;
}
body.georural-map-page .gps-point-title-icon{
  width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:8px!important;
}
body.georural-map-page .gps-point-title-icon svg{width:16px!important;height:16px!important}
body.georural-map-page .gps-point-drag-handle h2{font-size:14px!important;line-height:1.08!important}
body.georural-map-page .gps-point-drag-handle .eyebrow{font-size:7.5px!important}
body.georural-map-page .gps-dialog-close{width:27px!important;height:27px!important;flex-basis:27px!important;font-size:17px!important}
body.georural-map-page .gps-point-card label{font-size:9.5px!important;gap:4px!important}
body.georural-map-page .gps-point-card input,
body.georural-map-page .gps-point-card select{
  height:31px!important;min-height:31px!important;padding:0 9px!important;border-radius:7px!important;font-size:10.5px!important;
}
body.georural-map-page .gps-point-icon-actions{gap:6px!important;margin-top:2px!important}
body.georural-map-page .gps-point-icon-action{
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:8px!important;
}
body.georural-map-page #gpsCreatePointBtn,
body.georural-map-page .gps-save-multiple{
  width:100%!important;height:34px!important;min-height:34px!important;padding:0 12px!important;
  border:1px solid #0f62e8!important;border-radius:8px!important;background:#0f62e8!important;color:#fff!important;
  font-size:11px!important;font-weight:850!important;box-shadow:0 5px 14px rgba(15,98,232,.20)!important;
}
body.georural-map-page #gpsCreatePointBtn:hover,
body.georural-map-page .gps-save-multiple:hover{background:#0b55ca!important;border-color:#0b55ca!important}
body.georural-map-page .gps-additional-points{gap:6px!important}
body.georural-map-page .gps-additional-point-row{padding:7px!important;gap:5px!important;border-radius:8px!important}
body.georural-map-page .gps-polygon-suggestion{padding:8px!important;border-radius:8px!important;font-size:10px!important}

/* Botão de informações: deixa de parecer marcador geográfico. */
body.georural-map-page .map-layer-info-help{
  width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
  border:1px solid #9fc1ef!important;border-radius:9px!important;background:#fff!important;color:#0f62e8!important;
  box-shadow:0 5px 14px rgba(15,23,42,.16)!important;transform:none!important;
}
body.georural-map-page .map-layer-info-help::after{display:none!important}
body.georural-map-page .map-layer-info-help::before{
  content:"?"!important;color:#0f62e8!important;font:900 15px/1 Inter,"Segoe UI",Arial,sans-serif!important;transform:none!important;
}
body.georural-map-page .map-layer-info-help:hover{background:#eef5ff!important;transform:none!important}
body.georural-map-page .map-layer-info-help-popup .leaflet-popup-content-wrapper,
body.georural-map-page .map-layer-info-help-popup .leaflet-popup-content{width:28px!important;height:28px!important}


/* ===== 22/08/2026 — hotfix isolado: popup CAR, seleção fina e barra técnica ===== */
body.georural-map-page .leaflet-svCarPopup-pane{z-index:980!important;pointer-events:auto!important}
body.georural-map-page .sv-car-selected-popup{z-index:990!important}
body.georural-map-page .sv-car-selected-popup .leaflet-popup-content-wrapper{position:relative!important;z-index:2!important}
body.georural-map-page .sv-car-copy-code{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;
  width:100%!important;margin-top:4px!important;padding:4px 6px!important;border:1px solid #fecaca!important;border-radius:8px!important;
  background:#fff1f2!important;color:#991b1b!important;text-align:left!important;cursor:pointer!important;
}
body.georural-map-page .sv-car-copy-code:hover{background:#ffe4e6!important;border-color:#fca5a5!important}
body.georural-map-page .sv-car-copy-code.copied{background:#ecfdf5!important;border-color:#86efac!important;color:#166534!important}
body.georural-map-page .sv-car-copy-code code{margin:0!important;padding:0!important;background:transparent!important;color:inherit!important;min-width:0!important}
body.georural-map-page .sv-car-copy-code small{font-size:9px!important;font-weight:850!important;white-space:nowrap!important;color:inherit!important}

/* As duas escalas Leaflet antigas deixam de flutuar sobre o mapa: a informação passa para a barra técnica. */
body.georural-map-page .leaflet-control-scale{display:none!important}
body.georural-map-page .geo-map-stage{background:#fff!important}
body.georural-map-page #map{height:calc(100% - 30px)!important}
body.georural-map-page .sv-map-technical-bar{
  position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:30px!important;z-index:1200!important;
  display:flex!important;align-items:center!important;gap:0!important;overflow-x:auto!important;overflow-y:hidden!important;
  padding:0 10px!important;border-top:1px solid #cbd5e1!important;background:rgba(248,250,252,.98)!important;
  color:#334155!important;font:700 10px/1.1 Inter,Segoe UI,Arial,sans-serif!important;white-space:nowrap!important;box-shadow:0 -1px 5px rgba(15,23,42,.05)!important;
}
body.georural-map-page .sv-map-technical-bar>span{display:inline-flex!important;align-items:center!important;height:18px!important;padding:0 9px!important;border-right:1px solid #dbe3ed!important}
body.georural-map-page .sv-map-technical-bar>span:first-child{padding-left:0!important}
body.georural-map-page .sv-map-technical-bar>span:last-child{border-right:0!important}
body.georural-map-page .sv-tech-online{color:#0f766e!important;font-weight:850!important}
body.georural-map-page .sv-tech-online i{width:6px!important;height:6px!important;margin-right:6px!important;border-radius:999px!important;background:#10b981!important;box-shadow:0 0 0 2px rgba(16,185,129,.14)!important}
body.georural-map-page .sv-tech-scale{color:#0f172a!important}
body.georural-map-page .sv-tech-scale-bars{color:#475569!important}
body.georural-map-page .sv-tech-decimal{color:#0f172a!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
body.georural-map-page .sv-tech-dms,body.georural-map-page .sv-tech-utm{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;color:#475569!important}
body.georural-map-page .sv-tech-attribution{margin-left:auto!important;padding-right:0!important;color:#64748b!important;font-weight:600!important}
body.georural-map-page .sv-tech-attribution .leaflet-control-attribution{
  position:static!important;display:inline-flex!important;align-items:center!important;margin:0!important;padding:0!important;background:transparent!important;
  box-shadow:none!important;color:#64748b!important;font-size:9px!important;line-height:1!important;
}
body.georural-map-page .sv-tech-attribution .leaflet-control-attribution a{color:#475569!important;text-decoration:none!important}
body.georural-map-page .sv-tech-attribution .leaflet-control-attribution svg{display:none!important}
@media(max-width:900px){body.georural-map-page .sv-map-technical-bar{height:32px!important;font-size:9px!important}body.georural-map-page #map{height:calc(100% - 32px)!important}}

/* 2026-08-26 — limpar somente consultas técnicas (CAR/coordenadas). */
body[data-page="mapa.html"] #svMapSearchClear{
  position:absolute!important;right:37px!important;top:5px!important;width:30px!important;height:30px!important;
  min-width:30px!important;min-height:30px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:999px!important;background:transparent!important;color:#64748b!important;cursor:pointer!important;z-index:6!important;
}
body[data-page="mapa.html"] #svMapSearchClear[hidden]{display:none!important}
body[data-page="mapa.html"] #svMapSearchClear:hover{background:#fff1f2!important;color:#dc2626!important}
body[data-page="mapa.html"] #svMapSearchClear svg{width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap.has-clear-search #coordSearch{padding-right:76px!important}

/* 2026-08-28 — centralização óptica/geométrica da interrogação de consulta */
body.georural-map-page .map-layer-info-help{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  margin:0!important;
  font:900 15px/1 Inter,"Segoe UI",Arial,sans-serif!important;
  text-align:center!important;
  text-indent:0!important;
}
body.georural-map-page .map-layer-info-help::before,
body.georural-map-page .map-layer-info-help::after{
  content:none!important;
  display:none!important;
}
body.georural-map-page .map-layer-info-help-popup .leaflet-popup-content-wrapper,
body.georural-map-page .map-layer-info-help-popup .leaflet-popup-content{
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
}
body.georural-map-page .map-layer-info-help-popup .leaflet-popup-content{
  display:grid!important;
  place-items:center!important;
}

/* Busca do mapa: modo explícito. O usuário escolhe IMÓVEL, CIDADE, CAR ou
   COORDENADAS; coordenadas possuem um segundo seletor DD/DMS/DDM/UTM/EPSG. */
body[data-page="mapa.html"] .sv-map-search-host #svSmartSearchMode,
body[data-page="mapa.html"] .sv-map-search-host #svCoordinateSubtypeMode{
  position:absolute!important;
  top:4px!important;
  height:28px!important;
  padding:0 10px!important;
  border:1px solid #bfd7fb!important;
  border-radius:999px!important;
  background:#eaf3ff!important;
  color:#0f63e9!important;
  font-size:8.8px!important;
  line-height:26px!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-align:center!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  z-index:13002!important;
  box-sizing:border-box!important;
}
body[data-page="mapa.html"] .sv-map-search-host #svSmartSearchMode{
  left:6px!important;
  min-width:54px!important;
  max-width:108px!important;
}
body[data-page="mapa.html"] .sv-map-search-host #svCoordinateSubtypeMode{
  left:118px;
  min-width:42px!important;
  max-width:54px!important;
  background:#f7faff!important;
}
body[data-page="mapa.html"] .sv-map-search-host #svCoordinateSubtypeMode[hidden]{display:none!important}
body[data-page="mapa.html"] .sv-map-search-host #svSmartSearchMode:hover,
body[data-page="mapa.html"] .sv-map-search-host #svCoordinateSubtypeMode:hover{
  background:#dcecff!important;
  border-color:#8ab8f7!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap.has-smart-mode #coordSearch{
  padding-left:var(--sv-smart-mode-offset,86px)!important;
}
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap.has-smart-mode.has-clear-search #coordSearch{
  padding-left:var(--sv-smart-mode-offset,86px)!important;
  padding-right:76px!important;
}
body[data-page="mapa.html"] .sv-search-mode-menu,
body[data-page="mapa.html"] .sv-coordinate-subtype-menu{
  position:absolute!important;
  top:calc(100% + 6px)!important;
  left:0!important;
  display:grid!important;
  gap:4px!important;
  padding:6px!important;
  border:1px solid #d7e2ef!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.16)!important;
  z-index:13020!important;
  box-sizing:border-box!important;
}
body[data-page="mapa.html"] .sv-search-mode-menu{width:230px!important}
body[data-page="mapa.html"] .sv-coordinate-subtype-menu{width:250px!important;grid-template-columns:1fr 1fr!important}
body[data-page="mapa.html"] .sv-search-mode-menu.hidden,
body[data-page="mapa.html"] .sv-coordinate-subtype-menu.hidden{display:none!important}
body[data-page="mapa.html"] .sv-search-mode-menu>button,
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button{
  min-width:0!important;
  border:1px solid #dbe5f0!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#17324f!important;
  cursor:pointer!important;
  text-align:left!important;
  box-sizing:border-box!important;
}
body[data-page="mapa.html"] .sv-search-mode-menu>button{
  display:grid!important;
  gap:2px!important;
  padding:7px 9px!important;
}
body[data-page="mapa.html"] .sv-search-mode-menu>button strong{font-size:9.5px!important;color:#10243c!important}
body[data-page="mapa.html"] .sv-search-mode-menu>button small{font-size:8.5px!important;line-height:1.25!important;color:#64748b!important}
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button{
  min-height:38px!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  padding:5px 7px!important;
}
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button span{
  display:grid!important;
  place-items:center!important;
  min-width:30px!important;
  height:24px!important;
  padding:0 4px!important;
  border-radius:7px!important;
  background:#eaf2ff!important;
  color:#0f63e9!important;
  font-size:8.5px!important;
  font-weight:900!important;
}
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9px!important;
}
body[data-page="mapa.html"] .sv-search-mode-menu>button:hover,
body[data-page="mapa.html"] .sv-search-mode-menu>button.active,
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button:hover,
body[data-page="mapa.html"] .sv-coordinate-subtype-menu>button.active{
  border-color:#75a9f4!important;
  background:#f2f7ff!important;
}
@media(max-width:760px){
  body[data-page="mapa.html"] .sv-coordinate-subtype-menu{grid-template-columns:1fr!important;width:220px!important}
  body[data-page="mapa.html"] .sv-map-search-host #svSmartSearchMode{max-width:92px!important}
}

body[data-page="mapa.html"] .sv-map-search-host .city-suggest:has(.sv-smart-search-panel){
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

body[data-page="mapa.html"] .sv-smart-search-panel{
  box-sizing:border-box!important;
  width:100%!important;
  padding:6px!important;
  border:1px solid #d7e2ef!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 10px 24px rgba(15,23,42,.14)!important;
  color:#17324f!important;
}
body[data-page="mapa.html"] .sv-smart-search-head{
  display:grid!important;
  gap:2px!important;
  padding:1px 2px 8px!important;
}
body[data-page="mapa.html"] .sv-smart-search-head strong{
  font-size:11px!important;
  line-height:1.25!important;
  color:#10243c!important;
}
body[data-page="mapa.html"] .sv-smart-search-head small{
  font-size:9.5px!important;
  line-height:1.35!important;
  color:#64748b!important;
}

body[data-page="mapa.html"] .sv-smart-coordinate-grid{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:4px!important;
}

body[data-page="mapa.html"] .sv-smart-coordinate-option{
  min-width:0!important;
  min-height:38px!important;
  padding:5px 7px!important;
  display:grid!important;
  grid-template-columns:32px minmax(0,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  border:1px solid #dbe5f0!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#17324f!important;
  text-align:left!important;
  cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-smart-coordinate-option:hover,
body[data-page="mapa.html"] .sv-smart-coordinate-option.active{
  border-color:#75a9f4!important;
  background:#f3f8ff!important;
}

body[data-page="mapa.html"] .sv-smart-coordinate-option>span:first-child{
  width:30px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:7px!important;
  background:#eaf2ff!important;
  color:#0f63e9!important;
  font-size:8.5px!important;
  font-weight:900!important;
}
body[data-page="mapa.html"] .sv-smart-coordinate-option strong{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:9.4px!important;
  line-height:1.15!important;
}
body[data-page="mapa.html"] .sv-smart-search-car{
  padding:9px 10px!important;
}
body[data-page="mapa.html"] .sv-smart-search-car .sv-smart-search-head{
  padding-bottom:1px!important;
}

@media(max-width:760px){
  body[data-page="mapa.html"] .sv-smart-coordinate-grid{grid-template-columns:1fr!important}
}

/* autocomplete nunca pode ser recortado pela barra superior. */
body[data-page="mapa.html"] .sv-map-search-host,
body[data-page="mapa.html"] .sv-map-search-host .geo-searchbar,
body[data-page="mapa.html"] .sv-map-search-host .geo-search-input-wrap{
  overflow:visible!important;
}
body[data-page="mapa.html"] .sv-map-search-host #citySuggestBox{
  z-index:12000!important;
  pointer-events:auto!important;
}

/* 1.0.0-rc.8 — autocomplete da pesquisa montado no viewport.
   O dropdown não depende mais do overflow/z-index da barra superior. */
body > .city-suggest.sv-map-search-overlay{
  position:fixed!important;
  right:auto!important;
  z-index:25000!important;
  max-height:min(420px,calc(100vh - 86px))!important;
  overflow:auto!important;
  box-sizing:border-box!important;
}
body > .city-suggest.sv-map-search-overlay.hidden{display:none!important}
body[data-page="mapa.html"] > .city-suggest.sv-map-search-overlay:has(.sv-smart-search-panel){
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}


body[data-page="mapa.html"] .sv-map-toolbar-modern .sv-map-history-group{
  display:none!important;
}
body[data-page="mapa.html"].drawing-active .sv-map-toolbar-modern .sv-map-history-group,
body[data-page="mapa.html"].sv-map-history-available .sv-map-toolbar-modern .sv-map-history-group{
  display:flex!important;
}

body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer{
  width:min(820px,calc(100vw - 24px))!important;
  max-width:min(820px,calc(100vw - 24px))!important;
  max-height:none!important;
  overflow:visible!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid{
  display:grid!important;
  grid-template-columns:repeat(13,48px)!important;
  grid-auto-rows:48px!important;
  justify-content:center!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  overflow:visible!important;
  padding:0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-grid-tool{
  width:48px!important;
  min-width:48px!important;
  height:48px!important;
  min-height:48px!important;
  padding:0!important;
  border-radius:9px!important;
}










body[data-page="mapa.html"] .sv-map-coordinate-mode-menu{
  position:absolute!important;
  display:grid!important;
  gap:4px!important;
  min-width:176px!important;
  padding:6px!important;
  border:1px solid #d7e2ef!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 16px 38px rgba(15,23,42,.17)!important;
  z-index:26020!important;
}

body[data-page="mapa.html"] .sv-map-coordinate-mode-menu{
  top:0!important;
  left:calc(100% + 7px)!important;
  min-width:220px!important;
}
body[data-page="mapa.html"] .sv-map-coordinate-mode-menu.hidden{display:none!important}
body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button{
  min-height:34px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  border:0!important;
  border-radius:8px!important;
  padding:6px 9px!important;
  background:#fff!important;
  color:#243852!important;
  text-align:left!important;
  font-size:10px!important;
  font-weight:750!important;
  cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button:hover, body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button.active{
  background:#eef5ff!important;
  color:#0f62e8!important;
}

body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
}
body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button strong{
  color:#0f62e8!important;
  font-size:9.5px!important;
}
body[data-page="mapa.html"] .sv-map-coordinate-mode-menu>button span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}


@media(max-width:1180px){
  
  body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer{width:min(720px,calc(100vw - 24px))!important}
  body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid{grid-template-columns:repeat(10,48px)!important}
}












body[data-page="mapa.html"] #svMapSearchClear{
  right:40px!important;
  top:7px!important;
}



body[data-page="mapa.html"] .sv-map-coordinate-mode-menu{
  border-radius:14px!important;
  box-shadow:0 20px 42px rgba(15,23,42,.16)!important;
}


/* ===== SURVEYOR RC10 V20 — compactação do topo do mapa e busca ===== */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:42px minmax(0,1fr) minmax(210px,268px)!important;
  gap:8px!important;
  padding:0 8px!important;
}
body[data-page="mapa.html"] .geo-brand-left{min-width:0!important}
body[data-page="mapa.html"] .map-global-nav-toggle{
  width:34px!important;
  height:34px!important;
  border-radius:8px!important;
}
body[data-page="mapa.html"] .map-global-nav-toggle svg{width:17px!important;height:17px!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern{
  gap:0!important;
  justify-content:center!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item,
body[data-page="mapa.html"] .sv-map-toolbar-modern>details{
  min-width:50px!important;
  height:46px!important;
  padding:3px 6px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item svg,
body[data-page="mapa.html"] .sv-map-toolbar-modern>details summary svg{
  width:15px!important;
  height:15px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-item .sv-map-label,
body[data-page="mapa.html"] .sv-map-toolbar-modern>details .sv-map-label{
  font-size:7.4px!important;
  line-height:1.05!important;
  font-weight:600!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group{
  height:52px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group-actions{
  height:39px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group button.sv-map-toolbar-item{
  min-width:54px!important;
  padding:2px 7px 0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-export-clean>summary{
  padding:2px 7px 0!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-group-caption{
  font-size:6.8px!important;
  color:#6c7d92!important;
}







body[data-page="mapa.html"] #svMapSearchClear{
  top:4px!important;
}
body[data-page="mapa.html"] #svMapSearchClear{right:34px!important}




@media(max-width:1350px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:42px minmax(0,1fr) minmax(188px,240px)!important;
  }
  body[data-page="mapa.html"] .sv-map-toolbar-item,
  body[data-page="mapa.html"] .sv-map-toolbar-modern>details{min-width:46px!important}
  body[data-page="mapa.html"] .sv-map-toolbar-group button.sv-map-toolbar-item{min-width:50px!important}
}
@media(max-width:1180px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:42px minmax(0,1fr)!important;
  }
  
  body[data-page="mapa.html"] .sv-map-toolbar-modern{justify-content:flex-start!important;overflow-x:auto!important}
}


/* ==========================================================
   V26 — ajuste MILIMÉTRICO da caixa de pesquisa do mapa
   Corrige no CSS final (workspace.css), que é o arquivo que
   realmente prevalece na montagem visual do topo do mapa.
   ========================================================== */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:48px minmax(0,1fr) 452px!important;
}








@media (max-width: 1500px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 420px!important;
  }
  
}
@media (max-width: 1280px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 360px!important;
  }
  
  
  
}



body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:48px minmax(0,1fr) 470px!important;
}








@media (max-width: 1500px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 438px!important;
  }
  
  
}
@media (max-width: 1280px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 392px!important;
  }
  
  
  
  
}



html, body[data-page="mapa.html"], body[data-page="mapa.html"] .geo-app,
body[data-page="mapa.html"] .geo-workspace,
body[data-page="mapa.html"] .geo-map-stage{
  max-width:100vw!important;
  overflow-x:hidden!important;
}
body[data-page="mapa.html"] #map{
  width:100%!important;
  max-width:100%!important;
}
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:48px minmax(0,1fr) 492px!important;
  overflow:hidden!important;
}










/* evita qualquer resquício visual de painel estacionado na borda direita */
body[data-page="mapa.html"] .sv-right-panel-switcher{
  display:none!important;
}
@media (max-width: 1540px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 442px!important;
  }
  
}
@media (max-width: 1380px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 442px!important;
  }
  
  
  
}
@media (max-width: 1280px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr) 408px!important;
  }
  
  
  
  
}



body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  position:relative!important;
  z-index:10000!important;
  grid-template-columns:48px minmax(0,1fr) 470px!important;
  overflow:visible!important;
  background:#ffffff!important;
}
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar::before{
  content:"";
  position:absolute;
  inset:0;
  background:#ffffff;
  z-index:-1;
  pointer-events:none;
}









body[data-page="mapa.html"] .sv-right-panel-switcher{display:none!important}

/* Contrato único de empilhamento: qualquer menu do topo fica acima do mapa. */
body[data-page="mapa.html"] .geo-workspace{position:relative!important;z-index:1!important}
body[data-page="mapa.html"] .geo-map-stage,
body[data-page="mapa.html"] #map{position:relative!important;z-index:0!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern{position:relative!important;z-index:10010!important;overflow:visible!important}
body[data-page="mapa.html"] .sv-map-toolbar-modern>details, body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-anchor{position:relative!important;overflow:visible!important}
body[data-page="mapa.html"] .map-basemap-list, body[data-page="mapa.html"] .map-download-list, body[data-page="mapa.html"] .map-project-list, body[data-page="mapa.html"] .map-quick-tools-drawer, body[data-page="mapa.html"] .sv-map-modern-drawer, body[data-page="mapa.html"] .draw-tools-popover, body[data-page="mapa.html"] .sv-map-coordinate-mode-menu{z-index:11000!important}


@media (max-width:1540px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:48px minmax(0,1fr) 440px!important}
  
}
@media (max-width:1380px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:48px minmax(0,1fr) 420px!important}
  
  
  
}
@media (max-width:1280px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{grid-template-columns:48px minmax(0,1fr) 396px!important}
  
  
  
  
}



body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  grid-template-columns:48px minmax(0,1fr) auto!important;
}













































/* ==========================================================
   SURVEYOR RC10 V38 — menu global imune a zoom/cascade
   - esta regra vive no workspace.css porque ele é carregado por último
   - mantém o hambúrguer sempre acima da barra, mapa e menu lateral
   - evita recorte/sumiço em breakpoints e zoom do navegador
   ========================================================== */
body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
  position:relative!important;
  isolation:isolate!important;
  overflow:visible!important;
  z-index:30000!important;
  padding-left:62px!important;
  box-sizing:border-box!important;
}

body[data-page="mapa.html"] .geo-brand-left{
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  width:48px!important;
  min-width:48px!important;
  max-width:48px!important;
  height:100%!important;
  min-height:0!important;
  overflow:visible!important;
  z-index:30040!important;
  pointer-events:none!important;
}

body[data-page="mapa.html"] #mapGlobalNavToggle.map-global-nav-toggle{
  position:fixed!important;
  left:12px!important;
  top:12px!important;
  right:auto!important;
  bottom:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #cbd8e8!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#18324f!important;
  box-shadow:0 2px 7px rgba(15,23,42,.10)!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  transform:none!important;
  clip:auto!important;
  clip-path:none!important;
  overflow:visible!important;
  z-index:50050!important;
}

body[data-page="mapa.html"] #mapGlobalNavToggle.map-global-nav-toggle:hover,
body[data-page="mapa.html"] #mapGlobalNavToggle.map-global-nav-toggle:focus-visible{
  transform:none!important;
  background:#f3f7fc!important;
  border-color:#9fb7d2!important;
  color:#0f5bdc!important;
  box-shadow:0 3px 9px rgba(15,23,42,.12)!important;
}

body[data-page="mapa.html"] #mapGlobalNavToggle .sv-map-menu-hamburger{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:18px!important;
  height:16px!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none!important;
}
body[data-page="mapa.html"] #mapGlobalNavToggle .sv-map-menu-hamburger i{
  display:block!important;
  width:18px!important;
  height:2px!important;
  min-height:2px!important;
  flex:0 0 2px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#18324f!important;
  visibility:visible!important;
  opacity:1!important;
}
body[data-page="mapa.html"] #mapGlobalNavToggle:hover .sv-map-menu-hamburger i,
body[data-page="mapa.html"] #mapGlobalNavToggle:focus-visible .sv-map-menu-hamburger i{
  background:#0f5bdc!important;
}

/* A navegação lateral pode abrir sobre a barra, mas nunca cobrir o botão que a controla. */
body[data-page="mapa.html"].georural-map-page .map-global-nav,
body[data-page="mapa.html"].georural-map-page .map-global-nav.open,
body[data-page="mapa.html"].georural-map-page.map-nav-open .map-global-nav{
  z-index:50020!important;
}

/* Ferramentas e busca ficam abaixo do botão, sem recortar menus suspensos. */
body[data-page="mapa.html"] .sv-map-toolbar-modern{
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  z-index:30020!important;
}
body[data-page="mapa.html"] .sv-map-search-host{
  min-width:0!important;
  z-index:30020!important;
}

/* Zoom do navegador reduz a largura CSS. O menu continua fixo e a barra se compacta
   sem empurrar ou ocultar o controle principal. */
@media (max-width:1180px){
  body[data-page="mapa.html"].georural-map-page .geo-brandbar.map-onebar{
    grid-template-columns:48px minmax(0,1fr)!important;
    padding-left:62px!important;
    overflow:visible!important;
  }
  body[data-page="mapa.html"] .sv-map-search-host{display:none!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-modern{
    grid-column:2!important;
    justify-content:center!important;
    overflow:visible!important;
  }
}

@media (max-width:860px){
  body[data-page="mapa.html"] .sv-map-toolbar-group-caption{display:none!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-separator{margin:0 2px!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-group button.sv-map-toolbar-item,
  body[data-page="mapa.html"] .sv-map-toolbar-group .sv-map-export-clean>summary,
  body[data-page="mapa.html"] .sv-map-toolbar-modern>details{
    min-width:42px!important;
    padding-left:4px!important;
    padding-right:4px!important;
  }
}

@media (max-width:680px){
  body[data-page="mapa.html"] .sv-map-toolbar-item .sv-map-label,
  body[data-page="mapa.html"] .sv-map-toolbar-modern>details .sv-map-label{display:none!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-group{padding:0!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-separator{display:none!important;}
  body[data-page="mapa.html"] .sv-map-toolbar-modern{
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:visible!important;
    scrollbar-width:none!important;
  }
  body[data-page="mapa.html"] .sv-map-toolbar-modern::-webkit-scrollbar{display:none!important;}
}


/* ==========================================================
   V50 — Ferramentas rápidas do mapa mais compactas
   ========================================================== */
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer{
  width:min(760px,calc(100vw - 36px))!important;
  max-width:min(760px,calc(100vw - 36px))!important;
  padding:8px 10px!important;
  border-radius:14px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid{
  grid-template-columns:repeat(12,42px)!important;
  grid-auto-rows:42px!important;
  gap:6px!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-grid-tool,
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button,
body[data-page="mapa.html"] .map-quick-grid-tool,
.sv-map-toolbar-modern .map-quick-tools-grid button{
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  border-radius:10px!important;
  box-shadow:0 4px 12px rgba(15,23,42,.05)!important;
}
body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-grid-tool svg,
body[data-page="mapa.html"] .sv-map-modern-drawer .map-quick-tools-grid button svg,
body[data-page="mapa.html"] .map-quick-grid-tool svg,
.sv-map-toolbar-modern .map-quick-tools-grid button svg{
  width:16px!important;
  height:16px!important;
}
@media(max-width:980px){
  body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer{
    width:min(620px,calc(100vw - 24px))!important;
    max-width:min(620px,calc(100vw - 24px))!important;
  }
  body[data-page="mapa.html"] .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid{
    grid-template-columns:repeat(8,42px)!important;
  }
}

/* ==========================================================
   V50 — Pesquisa rápida local de Limites de Propriedade
   ========================================================== */
body[data-page="mapa.html"] .catalog-layer-card .property-selected-name{
  display:grid!important;
  gap:2px!important;
  padding:8px 0 2px!important;
  border-top:1px solid #edf2f7!important;
}
body[data-page="mapa.html"] .catalog-layer-card .property-selected-name span{
  color:#7b8aa0!important;
  font-size:9px!important;
  font-weight:650!important;
}
body[data-page="mapa.html"] .catalog-layer-card .property-selected-name strong{
  color:#14243b!important;
  font-size:11px!important;
  line-height:1.25!important;
  overflow-wrap:anywhere!important;
}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn{
  border-color:#b8d2f5!important;
  color:#0f62d8!important;
  background:#f8fbff!important;
}
body[data-page="mapa.html"] .layer-actions .property-local-data-uninstall{
  border-color:#fecaca!important;
  color:#b42318!important;
  background:#fff7f7!important;
}
body[data-page="mapa.html"] .property-local-data-status{
  display:grid!important;
  gap:2px!important;
  margin-top:2px!important;
  padding:7px 8px!important;
  border:1px solid #e2e8f0!important;
  border-radius:8px!important;
  background:#f8fafc!important;
}
body[data-page="mapa.html"] .property-local-data-status span{
  color:#35506f!important;
  font-size:9px!important;
  font-weight:800!important;
}
body[data-page="mapa.html"] .property-local-data-status small{
  color:#64748b!important;
  font-size:8.5px!important;
  line-height:1.35!important;
}
body[data-page="mapa.html"] .property-local-data-status.is-installed{
  border-color:#b9e5d2!important;
  background:#f4fbf7!important;
}
body[data-page="mapa.html"] .property-local-data-status.is-installing{
  border-color:#b9d7ff!important;
  background:#f5f9ff!important;
}

/* RC25 — Camadas: ação principal no cabeçalho e organização interna por abas. */
body.georural-map-page .sv-context-panel-head{position:relative!important}
body.georural-map-page .sv-layer-header-add{
  width:34px!important;height:34px!important;min-width:34px!important;display:grid!important;place-items:center!important;
  margin-left:auto!important;margin-right:6px!important;border:1px solid #c9d8eb!important;border-radius:9px!important;
  background:#fff!important;color:#0f63e9!important;cursor:pointer!important;box-shadow:none!important;
}
body.georural-map-page .sv-layer-header-add[hidden]{display:none!important}
body.georural-map-page .sv-layer-header-add:hover{background:#edf5ff!important;border-color:#9dbdec!important}
body.georural-map-page .sv-layer-header-add svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.georural-map-page .layer-card-tabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:-2px -2px 10px!important;
}
body.georural-map-page .layer-card-tabs button{
  min-height:32px!important;border:1px solid #d5e0ec!important;border-radius:7px!important;background:#f8fbff!important;
  color:#52667e!important;font-size:10.5px!important;font-weight:850!important;cursor:pointer!important;
}
body.georural-map-page .layer-card-tabs button.active{border-color:#8db8f4!important;background:#edf5ff!important;color:#0f63e9!important}
body.georural-map-page .layer-card-panel[hidden]{display:none!important}
body.georural-map-page .layer-card-panel.active{display:block!important}
body.georural-map-page .layer-description-actions{margin-top:10px!important}
body.georural-map-page .layer-edit-actions{margin-top:0!important;margin-bottom:6px!important}
body.georural-map-page .layer-style-host .layer-style-controls{margin-top:8px!important}
body.georural-map-page .gleba-cut-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.georural-map-page #glebaDrawManualPolygon{grid-column:1/-1!important;border-color:#8fb7ef!important;background:#eef5ff!important;color:#0f63e9!important}

/* RC28/V78 — cabeçalho único do painel Detalhes do elemento. */
body.georural-map-page .details-kicker{display:none!important}
body.georural-map-page .details .details-handle{
  position:sticky!important;top:-12px!important;z-index:8!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  min-height:52px!important;margin:-12px -12px 2px!important;padding:0 12px 0 14px!important;
  background:#eef5ff!important;border-bottom:1px solid #d9e5f2!important;
  color:#0f63e9!important;font-size:11px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;
}
body.georural-map-page .details .details-handle-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
body.georural-map-page .details .details-handle-title b{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.georural-map-page .details .details-handle .details-color-swatch{display:inline-block!important;flex:0 0 18px!important;width:18px!important;height:18px!important}
body.georural-map-page .details .details-handle #closeDetails{
  position:static!important;inset:auto!important;flex:0 0 34px!important;margin:0!important;z-index:auto!important;
  width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;
  border:1px solid #cfdbe9!important;border-radius:9px!important;background:#fff!important;color:#17314c!important;
  box-shadow:none!important;transform:none!important;
}
body.georural-map-page .details .details-handle #closeDetails:hover{background:#f3f7fb!important;color:#0f63e9!important;border-color:#a9c7ee!important;transform:none!important}

/* Camadas — bloqueio de edição do elemento. */
body.georural-map-page .layer-actions .layer-lock-toggle{
  width:34px!important;min-width:34px!important;padding:0!important;display:inline-grid!important;place-items:center!important;
  border-color:#cfdbea!important;background:#fff!important;color:#23405f!important;
}
body.georural-map-page .layer-actions .layer-lock-toggle svg{
  width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
}
body.georural-map-page .layer-actions .layer-lock-toggle.is-locked{
  border-color:#8db8f4!important;background:#eef5ff!important;color:#0f63e9!important;box-shadow:0 0 0 2px rgba(15,99,233,.08)!important;
}
body.georural-map-page .layer-actions button:disabled,
body.georural-map-page .layer-style-controls input:disabled{
  opacity:.48!important;cursor:not-allowed!important;filter:saturate(.45)!important;
}

/* Seletor municipal exclusivo do download do índice rápido de imóveis. */
body.georural-map-page .property-local-municipality-picker{
  position:fixed;z-index:10080;display:grid;gap:12px;max-height:min(430px,calc(100vh - 96px));padding:14px;
  border:1px solid #cfddec;border-radius:14px;background:#fff;color:#10243c;box-shadow:0 18px 48px rgba(15,23,42,.22);overflow:hidden;
}
body.georural-map-page .property-local-municipality-picker header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e8eef5}
body.georural-map-page .property-local-municipality-picker header>div{display:grid;gap:3px;min-width:0}
body.georural-map-page .property-local-municipality-picker header b{font-size:14px;font-weight:900;color:#10243c}
body.georural-map-page .property-local-municipality-picker header span{font-size:10.5px;line-height:1.4;color:#64748b}
body.georural-map-page .property-local-municipality-close{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border:1px solid #d5e0ed;border-radius:8px;background:#fff;color:#1f344d;font-size:19px;cursor:pointer}
body.georural-map-page .property-local-municipality-close:hover{background:#f3f7fb;color:#0f63e9;border-color:#aac8ee}
body.georural-map-page .property-local-municipality-picker label{display:grid;gap:6px;font-size:10.5px;font-weight:850;color:#304963}
body.georural-map-page .property-local-municipality-input{width:100%;height:40px;padding:0 11px;border:1px solid #cbd8e8;border-radius:9px;background:#fff;color:#17314c;font-size:12px;outline:none}
body.georural-map-page .property-local-municipality-input:focus{border-color:#7faef1;box-shadow:0 0 0 3px rgba(15,99,233,.08)}
body.georural-map-page .property-local-municipality-list{display:grid;gap:6px;max-height:300px;overflow:auto;padding-right:2px}
body.georural-map-page .property-local-municipality-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 11px;border:1px solid #d9e3ef;border-radius:9px;background:#fff;color:#17314c;text-align:left;cursor:pointer}
body.georural-map-page .property-local-municipality-option:hover{border-color:#9fc3f5;background:#f4f8ff;color:#0f63e9}
body.georural-map-page .property-local-municipality-option strong{font-size:11.5px;font-weight:850}
body.georural-map-page .property-local-municipality-option span{font-size:9.5px;font-weight:800;color:#718096}
body.georural-map-page .property-local-municipality-empty{padding:16px 11px;border:1px dashed #d7e2ef;border-radius:9px;background:#f8fbff;color:#718096;font-size:10.5px;text-align:center}
@media(max-width:820px){body.georural-map-page .property-local-municipality-picker{left:12px!important;right:12px!important;top:74px!important;width:auto!important;max-height:calc(100vh - 92px)}}

/* RC52 — painéis laterais com vidro fosco e cartões técnicos sem redundância. */
body.georural-map-page .geo-sidepanel{background:rgba(248,251,255,.88)!important;backdrop-filter:blur(14px) saturate(1.08)!important;-webkit-backdrop-filter:blur(14px) saturate(1.08)!important;box-shadow:8px 0 28px rgba(15,23,42,.10)!important}
body.georural-map-page .sv-context-panel-head{background:rgba(255,255,255,.88)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
body.georural-map-page .sidepanel-scroll{background:rgba(248,251,255,.74)!important}
body.georural-map-page .geo-side-footer{background:rgba(255,255,255,.82)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}
body.georural-map-page .confrontante-row{cursor:pointer!important}
body.georural-map-page .confrontante-row-segment{margin:0!important}
body.georural-map-page .confrontante-row-name:empty{display:none!important}
body.georural-map-page .confrontante-row-name b:empty{display:none!important}
body.georural-map-page .property-local-data-status small:empty{display:none!important}
body.georural-map-page .gleba-map-summary:empty{display:none!important}


/* RC53 — vidro fosco também nos pop-ups e painéis direitos do mapa. */
body.georural-map-page{
  --sv-map-glass-bg:rgba(248,251,255,.84);
  --sv-map-glass-bg-strong:rgba(255,255,255,.86);
  --sv-map-glass-bg-soft:rgba(248,251,255,.74);
  --sv-map-glass-line:rgba(203,217,233,.92);
  --sv-map-glass-shadow:0 18px 48px rgba(15,23,42,.16);
  --sv-map-glass-shadow-soft:0 12px 32px rgba(15,23,42,.12);
  --sv-map-glass-blur:blur(14px) saturate(1.08);
}
body.georural-map-page .details,
body.georural-map-page .rural-info-panel,
body.georural-map-page .gps-point-card,
body.georural-map-page .map-basemap-list,
body.georural-map-page .map-download-list,
body.georural-map-page .map-project-list,
body.georural-map-page .sv-smart-search-panel,
body.georural-map-page .sv-map-modern-drawer,
body.georural-map-page .map-quick-tools-drawer,
body.georural-map-page .draw-tools-popover,
body.georural-map-page .sv-map-coordinate-mode-menu{
  background:var(--sv-map-glass-bg)!important;
  border-color:var(--sv-map-glass-line)!important;
  box-shadow:var(--sv-map-glass-shadow)!important;
  -webkit-backdrop-filter:var(--sv-map-glass-blur)!important;
  backdrop-filter:var(--sv-map-glass-blur)!important;
}
body.georural-map-page .details .details-handle,
body.georural-map-page .details .detail-actions,
body.georural-map-page .rural-info-panel-head,
body.georural-map-page .rural-info-download-actions,
body.georural-map-page .sv-smart-search-head{
  background:var(--sv-map-glass-bg-strong)!important;
  -webkit-backdrop-filter:var(--sv-map-glass-blur)!important;
  backdrop-filter:var(--sv-map-glass-blur)!important;
}
body.georural-map-page .details .detail-card-tabs button,
body.georural-map-page .details .detail-stats div,
body.georural-map-page .confrontantes-section,
body.georural-map-page .rural-info-section,
body.georural-map-page .rural-info-section-title,
body.georural-map-page .rural-info-section-body,
body.georural-map-page .gps-polygon-suggestion,
body.georural-map-page .gps-additional-point-row,
body.georural-map-page .map-basemap-list button,
body.georural-map-page .map-download-list button,
body.georural-map-page .map-project-list button,
body.georural-map-page .sv-smart-coordinate-option{
  background:var(--sv-map-glass-bg-strong)!important;
}
body.georural-map-page .details,
body.georural-map-page .rural-info-panel,
body.georural-map-page .gps-point-card{
  box-shadow:0 18px 54px rgba(15,23,42,.18)!important;
}
body.georural-map-page .gps-point-card,
body.georural-map-page .map-basemap-list,
body.georural-map-page .map-download-list,
body.georural-map-page .map-project-list,
body.georural-map-page .sv-smart-search-panel,
body.georural-map-page .sv-map-modern-drawer,
body.georural-map-page .map-quick-tools-drawer,
body.georural-map-page .draw-tools-popover,
body.georural-map-page .sv-map-coordinate-mode-menu{
  overflow:hidden!important;
}
body.georural-map-page .details input,
body.georural-map-page .details select,
body.georural-map-page .details textarea,
body.georural-map-page .gps-point-card input,
body.georural-map-page .gps-point-card select,
body.georural-map-page .rural-info-download-btn,
body.georural-map-page .detail-coordinates-head button,
body.georural-map-page .map-basemap-list button,
body.georural-map-page .map-download-list button,
body.georural-map-page .map-project-list button,
body.georural-map-page .sv-smart-coordinate-option{
  border-color:rgba(205,218,232,.95)!important;
}
body.georural-map-page .rural-info-panel-scroll,
body.georural-map-page .details,
body.georural-map-page .gps-point-card{scrollbar-color:rgba(148,163,184,.65) transparent;}

/* RC57 — ferramentas avançadas: cotagem CAD, vizinhos certificados e preferências de navegação. */
body.georural-map-page{--sv-map-ui-scale:1;}
body.georural-map-page .sv-map-toolbar-modern,
body.georural-map-page .geo-sidepanel,
body.georural-map-page .details,
body.georural-map-page .rural-info-panel,
body.georural-map-page .map-global-nav,
body.georural-map-page .draw-tools-popover,
body.georural-map-page .map-quick-tools-drawer{
  zoom:var(--sv-map-ui-scale);
}
body.georural-map-page .sv-manual-dimension-label{
  background:rgba(255,255,255,.96)!important;
  border:1px solid #1f2937!important;
  border-radius:4px!important;
  box-shadow:0 2px 8px rgba(15,23,42,.14)!important;
  color:#111827!important;
  font:800 10px/1.15 Inter,Segoe UI,Arial,sans-serif!important;
  padding:3px 6px!important;
  white-space:nowrap!important;
}
body.georural-map-page .sv-manual-dimension-label:before{display:none!important;}
body.georural-map-page .sv-altitude-popup b{display:block;font-size:13px;color:#10243c;margin-bottom:4px;}
body.georural-map-page .sv-altitude-popup small{display:block;color:#64748b;font-size:10px;line-height:1.45;}
body.georural-map-page .sv-advanced-dialog{
  width:min(760px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 32px));padding:0;border:0;border-radius:16px;background:transparent;box-shadow:none;
}
body.georural-map-page .sv-advanced-dialog::backdrop{background:rgba(15,23,42,.38);backdrop-filter:blur(2px);}
body.georural-map-page .sv-advanced-dialog-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:min(720px,calc(100vh - 32px));overflow:hidden;background:#fff;border:1px solid #d7e1ed;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.22);}
body.georural-map-page .sv-advanced-dialog-card>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid #e2e8f0;background:#f8fbff;}
body.georural-map-page .sv-advanced-dialog-card>header>div{display:grid;gap:3px;}
body.georural-map-page .sv-advanced-dialog-card>header strong{font-size:14px;color:#10243c;}
body.georural-map-page .sv-advanced-dialog-card>header small{font-size:10px;color:#64748b;}
body.georural-map-page .sv-advanced-dialog-card>header button{width:34px;height:34px;border:1px solid #cdd9e7;border-radius:9px;background:#fff;color:#243852;font-size:20px;cursor:pointer;}
body.georural-map-page .sv-advanced-dialog-body{min-height:0;overflow:auto;padding:16px;}
body.georural-map-page .sv-advanced-dialog-card>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e2e8f0;background:#f8fafc;}
body.georural-map-page .sv-advanced-dialog-card>footer button{min-height:36px;padding:0 13px;border:1px solid #cbd8e8;border-radius:9px;background:#fff;color:#17314c;font-weight:800;cursor:pointer;}
body.georural-map-page .sv-certified-neighbors-summary{padding:10px 12px;border:1px solid #d8e4f2;border-radius:10px;background:#f8fbff;color:#304963;font-size:11px;line-height:1.45;}
body.georural-map-page .sv-certified-neighbors-progress{height:7px;margin:10px 0;border-radius:999px;background:#e5edf7;overflow:hidden;}
body.georural-map-page .sv-certified-neighbors-progress span{display:block;height:100%;width:0;background:#0f63e9;transition:width .2s ease;}
body.georural-map-page .sv-certified-neighbors-results{display:grid;gap:8px;margin-top:10px;}
body.georural-map-page .sv-certified-neighbor-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #dbe5ef;border-radius:10px;background:#fff;}
body.georural-map-page .sv-certified-neighbor-row .segment{font-weight:900;color:#0f63e9;font-size:11px;}
body.georural-map-page .sv-certified-neighbor-row .copy{display:grid;gap:3px;min-width:0;}
body.georural-map-page .sv-certified-neighbor-row .copy b{font-size:11.5px;color:#172b45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.georural-map-page .sv-certified-neighbor-row .copy small{font-size:9.5px;color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.georural-map-page .sv-certified-neighbor-row button{height:32px;padding:0 10px;border:1px solid #9fc1ee;border-radius:8px;background:#eef5ff;color:#0f63e9;font-size:10px;font-weight:850;cursor:pointer;}
body.georural-map-page .sv-map-preferences-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
body.georural-map-page .sv-map-preferences-grid label{display:grid;gap:6px;color:#304963;font-size:10.5px;font-weight:850;}
body.georural-map-page .sv-map-preferences-grid select{height:40px;border:1px solid #cbd8e8;border-radius:9px;background:#fff;color:#17314c;padding:0 10px;}
@media(max-width:680px){
  body.georural-map-page .sv-certified-neighbor-row{grid-template-columns:1fr;}
  body.georural-map-page .sv-map-preferences-grid{grid-template-columns:1fr;}
}


/* RC58 — painel lateral dedicado às ferramentas avançadas. */
body.georural-map-page .sv-advanced-tools-panel{padding-bottom:12px!important;}
body.georural-map-page .sv-advanced-tools-menu{display:grid!important;gap:9px!important;padding:2px!important;}
body.georural-map-page .sv-advanced-tool-card{width:100%!important;min-height:68px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:10px 11px!important;border:1px solid #d7e2ef!important;border-radius:12px!important;background:#fff!important;color:#172b45!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important;}
body.georural-map-page .sv-advanced-tool-card:hover,body.georural-map-page .sv-advanced-tool-card:focus-visible{border-color:#9fc1ee!important;background:#f7fbff!important;color:#0f62e8!important;outline:none!important;}
body.georural-map-page .sv-advanced-tool-icon{width:40px!important;height:40px!important;border-radius:10px!important;border:1px solid #d9e6f6!important;background:#eef5ff!important;color:#0f62e8!important;display:grid!important;place-items:center!important;}
body.georural-map-page .sv-advanced-tool-icon svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
body.georural-map-page .sv-advanced-tool-card>span:nth-child(2){display:grid!important;gap:3px!important;min-width:0!important;}
body.georural-map-page .sv-advanced-tool-card b{font-size:12px!important;font-weight:900!important;color:inherit!important;}
body.georural-map-page .sv-advanced-tool-card small{font-size:10px!important;line-height:1.35!important;color:#667085!important;}
body.georural-map-page .sv-advanced-tool-card em{font-style:normal!important;font-size:8px!important;font-weight:900!important;letter-spacing:.04em!important;color:#0f62e8!important;background:#eaf3ff!important;border:1px solid #cfe2ff!important;border-radius:999px!important;padding:3px 6px!important;}
body.georural-map-page .sv-side-tools-command-source{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important;}
body.georural-map-page .map-quick-grid-tool.sv-context-tools{position:relative!important;}
body.georural-map-page .map-quick-grid-tool.sv-context-tools::before{content:"NEW"!important;position:absolute!important;right:-4px!important;top:-5px!important;min-width:22px!important;height:14px!important;padding:0 4px!important;border-radius:999px!important;background:#0f62e8!important;color:#fff!important;font-size:7px!important;font-weight:900!important;line-height:14px!important;letter-spacing:.02em!important;}
@media(max-width:520px){body.georural-map-page .sv-advanced-tool-card{grid-template-columns:38px minmax(0,1fr)!important;}body.georural-map-page .sv-advanced-tool-card em{display:none!important;}}


/* RC59 — acabamento compacto: cotas, minimapa e ferramentas avançadas. */
body.georural-map-page .geo-sidepanel{grid-template-rows:58px minmax(0,1fr)!important;}
body.georural-map-page .sv-advanced-tool-card{min-height:54px!important;padding:8px 10px!important;}
body.georural-map-page .sv-advanced-tool-card>span:nth-child(2){display:flex!important;align-items:center!important;gap:0!important;}
body.georural-map-page .sv-advanced-tool-card small{display:none!important;}
body.georural-map-page .sv-manual-dimension-anchor{width:1px!important;height:1px!important;border:0!important;background:transparent!important;overflow:visible!important;pointer-events:none!important;}
body.georural-map-page .sv-manual-dimension-label{
  position:absolute!important;left:0!important;top:0!important;display:inline-block!important;
  transform:translate(-50%,-50%) rotate(var(--surveyor-cad-angle,0deg))!important;transform-origin:center!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  color:#111827!important;font:800 9px/1 Arial,Helvetica,sans-serif!important;white-space:nowrap!important;
  -webkit-text-stroke:1.7px rgba(255,255,255,.96)!important;paint-order:stroke fill!important;
  text-shadow:0 0 1px #fff!important;letter-spacing:0!important;pointer-events:none!important;
}
@media(max-width:820px){body.georural-map-page .geo-sidepanel{grid-template-rows:48px minmax(0,1fr)!important;}}

/* RC62 — vidro fosco real e unificado nas áreas aprovadas do mapa. */
body.georural-map-page{
  --sv-map-frost-panel-bg:rgba(235,242,249,.58);
  --sv-map-frost-surface-bg:rgba(255,255,255,.44);
  --sv-map-frost-control-bg:rgba(255,255,255,.64);
  --sv-map-frost-line:rgba(205,218,232,.82);
  --sv-map-frost-shadow:0 18px 48px rgba(15,23,42,.18);
  --sv-map-frost-filter:blur(18px) saturate(1.16);
}
body[data-page="mapa.html"].georural-map-page .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden),
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]),
body[data-page="mapa.html"].georural-map-page .gps-point-dialog[aria-hidden="false"] .gps-point-card{
  background-color:var(--sv-map-frost-panel-bg)!important;
  background-image:linear-gradient(135deg,rgba(255,255,255,.34),rgba(226,235,244,.18))!important;
  border-color:var(--sv-map-frost-line)!important;
  box-shadow:var(--sv-map-frost-shadow)!important;
  -webkit-backdrop-filter:var(--sv-map-frost-filter)!important;
  backdrop-filter:var(--sv-map-frost-filter)!important;
  background-clip:padding-box!important;
}
body[data-page="mapa.html"].georural-map-page .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid button,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .details-handle,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-card-tabs button,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-stats div,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .confrontantes-section,
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-panel-head,
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section,
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section-title,
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section-body{
  background-color:var(--sv-map-frost-surface-bg)!important;
  background-image:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.06))!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.10)!important;
  backdrop-filter:blur(12px) saturate(1.10)!important;
}
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section{
  border-color:rgba(210,222,234,.76)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42)!important;
}
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section-title{
  background-color:rgba(255,255,255,.40)!important;
}
body[data-page="mapa.html"].georural-map-page .rural-info-panel:not([hidden]) .rural-info-section-body{
  background-color:rgba(255,255,255,.34)!important;
}
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-card-tabs button,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-stats div,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .confrontantes-section{
  background-color:rgba(255,255,255,.46)!important;
}

body[data-page="mapa.html"].georural-map-page .details:not(.hidden) input,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) select,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) textarea,
body[data-page="mapa.html"].georural-map-page .gps-point-dialog[aria-hidden="false"] .gps-point-card input,
body[data-page="mapa.html"].georural-map-page .gps-point-dialog[aria-hidden="false"] .gps-point-card select,
body[data-page="mapa.html"].georural-map-page .gps-point-dialog[aria-hidden="false"] .gps-point-card textarea{
  background-color:var(--sv-map-frost-control-bg)!important;
  border-color:rgba(196,211,228,.90)!important;
  -webkit-backdrop-filter:blur(8px) saturate(1.06)!important;
  backdrop-filter:blur(8px) saturate(1.06)!important;
}
body[data-page="mapa.html"].georural-map-page .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-grid-tool:hover,
body[data-page="mapa.html"].georural-map-page .sv-map-toolbar-modern .map-quick-tools-drawer.sv-map-modern-drawer .map-quick-tools-grid button:hover{
  background-color:rgba(255,255,255,.78)!important;
}

body.georural-map-page .property-context-city-copy,
body.georural-map-page .property-local-municipality-copy{display:grid!important;gap:2px!important;min-width:0!important;}
body.georural-map-page .property-municipality-status-host{margin-left:auto!important;display:grid!important;place-items:center!important;flex:0 0 auto!important;}
body.georural-map-page .property-municipality-status{
  width:28px!important;height:28px!important;display:grid!important;place-items:center!important;flex:0 0 28px!important;
  border:1px solid #d4e1ef!important;border-radius:8px!important;background:#f8fbff!important;color:#0f63e9!important;
}
body.georural-map-page .property-municipality-status svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
body.georural-map-page .property-municipality-status.is-installed{border-color:#a7dfc3!important;background:#effbf4!important;color:#0b8f4d!important;}
body.georural-map-page .property-municipality-status.is-installing{border-color:#b7d5ff!important;background:#eef5ff!important;color:#0f63e9!important;}
body.georural-map-page .property-context-city{grid-template-columns:minmax(0,1fr) auto!important;}
body.georural-map-page .property-local-municipality-option{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;}
body.georural-map-page .property-local-municipality-option.is-installed{border-color:#b9e5d2!important;background:#f5fcf8!important;}
body.georural-map-page .property-local-municipality-option.is-installed:hover{border-color:#8fd4b3!important;background:#effaf4!important;color:#0b7543!important;}
body.georural-map-page .property-local-municipality-option small{font-size:9.5px!important;font-weight:800!important;color:#718096!important;}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn{display:inline-flex!important;align-items:center!important;gap:6px!important;}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn .property-municipality-status{width:22px!important;height:22px!important;flex-basis:22px!important;border:0!important;background:transparent!important;}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn .property-municipality-status svg{width:14px!important;height:14px!important;}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn.is-installed{border-color:#a7dfc3!important;background:#effbf4!important;color:#0b8f4d!important;opacity:1!important;}
body[data-page="mapa.html"] .layer-actions .property-local-data-btn.is-installed:disabled{cursor:default!important;}

/* RC64 — estados municipais acionáveis: baixar, progresso e concluído. */
body.georural-map-page .property-municipality-download-action{
  width:32px!important;height:32px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;
  flex:0 0 32px!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;cursor:pointer!important;
}
body.georural-map-page .property-municipality-download-action:hover:not(:disabled){background:rgba(239,246,255,.92)!important;}
body.georural-map-page .property-municipality-download-action:disabled{opacity:1!important;cursor:default!important;}
body.georural-map-page .property-municipality-progress{font-size:8px!important;font-weight:900!important;line-height:1!important;letter-spacing:-.04em!important;color:#0f63e9!important;}
body.georural-map-page .property-context-city{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:4px 6px 4px 4px!important;cursor:default!important;
}
body.georural-map-page .property-context-city-select{
  min-width:0!important;min-height:34px!important;width:100%!important;padding:4px 6px!important;display:flex!important;align-items:center!important;
  border:0!important;border-radius:7px!important;background:transparent!important;color:inherit!important;text-align:left!important;cursor:pointer!important;
}
body.georural-map-page .property-context-city-select:hover{background:rgba(239,246,255,.72)!important;}
body.georural-map-page .property-context-selected-city .property-municipality-download-action{justify-self:start!important;}
body.georural-map-page .property-context-selected-city .property-context-change-city{justify-self:end!important;}
body.georural-map-page .property-local-municipality-option{
  min-height:42px!important;padding:4px 6px 4px 5px!important;cursor:default!important;
}
body.georural-map-page .property-local-municipality-select{
  min-width:0!important;width:100%!important;min-height:34px!important;padding:3px 5px!important;display:flex!important;align-items:center!important;
  border:0!important;border-radius:7px!important;background:transparent!important;color:#17314c!important;text-align:left!important;cursor:pointer!important;
}
body.georural-map-page .property-local-municipality-select:hover{background:rgba(239,246,255,.82)!important;color:#0f63e9!important;}
body.georural-map-page .property-local-municipality-option.is-selected{border-color:#9fc3f5!important;background:#f4f8ff!important;}
body.georural-map-page .city-suggest-row{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:4px!important;width:100%!important;
  border:1px solid transparent!important;border-radius:11px!important;background:#fff!important;padding:0 4px 0 0!important;
}
body.georural-map-page .city-suggest-row:hover{border-color:#bfdbfe!important;background:#eff6ff!important;}
body.georural-map-page .city-suggest-row .city-suggest-item{border:0!important;background:transparent!important;border-radius:10px!important;}
body.georural-map-page .city-suggest-row .city-suggest-item:hover,
body.georural-map-page .city-suggest-row .city-suggest-item.active{background:transparent!important;border:0!important;}
body.georural-map-page .city-suggest-download-action{align-self:center!important;}
body[data-page="mapa.html"].georural-map-page .sv-locality-search-head .property-municipality-download-action{
  width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:9px!important;
}
body[data-page="mapa.html"].georural-map-page .sv-locality-search-head .property-municipality-download-action:hover:not(:disabled){background:rgba(239,246,255,.92)!important;}

/* RC66 — rodapé de ações do elemento sem placa branca; somente os botões mantêm superfície branca. */
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-actions{
  background:transparent!important;
  background-image:none!important;
  border-top:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-actions button,
body[data-page="mapa.html"].georural-map-page .details:not(.hidden) .detail-actions summary{
  background:#fff!important;
}


/* RC69 — regulagem compacta do guia de precisão do desenho. */
body[data-page="mapa.html"] .sv-draw-guide-regulator{
  position:fixed!important;
  z-index:10050!important;
  width:210px!important;
  padding:7px!important;
  border:1px solid rgba(198,211,228,.96)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.16)!important;
  -webkit-backdrop-filter:blur(12px) saturate(1.08)!important;
  backdrop-filter:blur(12px) saturate(1.08)!important;
}
body[data-page="mapa.html"] .sv-draw-guide-regulator-entry{
  width:100%!important;
  height:32px!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#17314c!important;
  font-size:11px!important;
  font-weight:800!important;
  text-align:left!important;
  padding:0 10px!important;
  cursor:pointer!important;
}
body[data-page="mapa.html"] .sv-draw-guide-regulator-entry:hover{background:#eef5ff!important;color:#0f63e9!important;}
body[data-page="mapa.html"] .sv-draw-guide-regulator-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin:1px 2px 6px!important;
  color:#17314c!important;
  font-size:10.5px!important;
}
body[data-page="mapa.html"] .sv-draw-guide-regulator-head output{
  color:#0f63e9!important;
  font-weight:900!important;
}
body[data-page="mapa.html"] .sv-draw-guide-regulator input[type="range"]{
  display:block!important;
  width:100%!important;
  margin:0!important;
  accent-color:#0f63e9!important;
}
body[data-page="mapa.html"] .sv-draw-guide-regulator-scale{
  display:flex!important;
  justify-content:space-between!important;
  margin-top:2px!important;
  color:#7a899d!important;
  font-size:8px!important;
  font-weight:700!important;
}
