/* Maps (office and field apps): Leaflet's own CSS is loaded first from /vendor/leaflet/leaflet.css. */
.map { width: 100%; height: 440px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--navy-50); z-index: 0; }
.map.tall { height: calc(100vh - 230px); min-height: 420px; }
.map.short { height: 300px; }
.leaflet-container { font-family: inherit; font-size: 12px; }
.leaflet-container a { color: var(--navy); }

/* corner handles of the polygon editor */
.vx { background: #fff; border: 2.5px solid var(--amber-700, #9a5f00); border-radius: 50%; display: grid !important; place-items: center;
  font-size: 9.5px; font-weight: 800; color: var(--ink); line-height: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); cursor: move; }
.vx.on { background: var(--amber); border-color: var(--navy); color: var(--navy); }
.vx.mid { background: var(--amber); border: 1.5px solid #fff; opacity: .85; cursor: copy; }
.vx.gps { background: var(--navy); color: #fff; border-color: #fff; }

/* legend and info box drawn on the map */
.map-legend { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 10px; font-size: 12px; line-height: 1.7; box-shadow: var(--shadow-sheet); }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .25); }
.map-legend b { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.leaflet-popup-content { margin: 10px 12px; font-size: 13px; }
.leaflet-popup-content b { color: var(--navy); }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 13px; z-index: 500; pointer-events: none; }
