/* GIS map controls: pressed state of the draw/pin buttons, camp name tooltips, edit handles.
   Part of dashboard.html; loaded in number order (01 first). See server/public/dashboard/README.md. */
/* GIS panel: a pressed/active state for the pin + draw toggle buttons
   -- without this, toggling their `active` class has no visible effect. */
#gis-pin-btn.active,
#gis-draw-btn.active,
#gis-grid-btn.active,
#gis-boundary-btn.active,
#gis-building-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1410;
}
/* Camp name tooltips: Leaflet's default tooltip chrome (white box,
   border, padding, arrow) is sized for a one-off popup, not 14 narrow
   camps labeled at once -- at low zoom they pile into an unreadable
   block of overlapping boxes. Compact, no-chrome styling here;
   whether they show at all is handled in JS (updateGisLabelVisibility)
   based on actual on-screen camp size, not just CSS. */
.gis-camp-label {
    background: rgba(10, 15, 15, 0.82) !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600;
    padding: 1px 5px !important;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
}
.gis-camp-label::before {
    display: none !important;
}
/* Vertex/move drag handles for camp editing. */
.gis-vertex-handle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--gold);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
    cursor: move;
}
.gis-move-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #1a1410;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
    cursor: grab;
}
.dash-rail__soon {
    margin-left: auto;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--surface);
    color: var(--dim);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}
.dash-panel {
    display: none;
}
.dash-panel.active {
    display: block;
}
