/* Werkplaats Profiel — productspecifieke kaart- en legenda-accenten. */

/* De middenlabel op de Leaflet-lijn maakt plaats voor rustige A/A'-uiteinden. */
.profile-line-label { display: none !important; }

.profile-endpoint-tooltip,
.profile-length-tooltip {
  border: 1px solid rgba(15, 23, 42, .12) !important;
  background: rgba(255, 255, 255, .96) !important;
  color: #0f172a !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .14) !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-weight: 750 !important;
  line-height: 1 !important;
}
.profile-endpoint-tooltip { padding: 4px 6px !important; font-size: 11px !important; }
.profile-length-tooltip { padding: 5px 7px !important; font-size: 10.5px !important; color: #334155 !important; }
.profile-endpoint-tooltip::before,
.profile-length-tooltip::before { display: none !important; }

/* Dynamische WMS-legenda in de Werkplaats-sidebar. */
.profile-legend-section[hidden] { display: none !important; }
.profile-legend-groups { display: grid; gap: 13px; }
.profile-legend-group { display: grid; gap: 6px; }
.profile-legend-group-title { font-size: 10.5px; font-weight: 750; color: #475569; }
.profile-legend-items { display: grid; gap: 5px; }
.profile-legend-row {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 10.5px;
  color: #475569;
}
.profile-legend-swatch {
  width: 15px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: var(--legend-color, #e2e8f0);
}
.profile-legend-label { min-width: 0; line-height: 1.3; }
