.jobs-map-panel {
  margin: 24px 0;
  border: 1px solid #dce5ee;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  text-align: left;
}
.jobs-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 12px;
  flex-wrap: wrap;
}
.jobs-map-heading h3 { margin: 0; font-size: 18px; color: #153757; }
.jobs-map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.jobs-map-actions button, .jobs-map-selection button, .anyway-map-popup button {
  border: 1px solid #c8daeb;
  background: #edf4fc;
  color: #245f9a;
  padding: 9px 12px;
  border-radius: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.jobs-map-panel button:disabled { opacity: .55; cursor: wait; }
.jobs-map-legend {
  display: flex;
  gap: 10px 20px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px 12px;
  color: #526b83;
  font-size: 12px;
}
.jobs-map-legend span { display: inline-flex; gap: 7px; align-items: center; }
.jobs-map-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.jobs-map-dot.collection { background: #286aa9; }
.jobs-map-dot.delivery { background: #dd8425; }
.jobs-map-line { display: inline-block; width: 22px; border-top: 2px dashed #4c84b6; }
.jobs-map-line.journey { border-color: #9a5ac4; }
.jobs-map-note { margin: 0; padding: 0 20px 14px; color: #63778b; font-size: 12px; line-height: 1.6; }
.jobs-map-note a { color: #245f9a; text-decoration: underline; text-underline-offset: 2px; }
#jobsMap { height: 400px; width: 100%; background: #e7eef3; z-index: 0; font-family: inherit; }
#jobsMap .leaflet-control-attribution { font-size: 10px; background: #fffffff0; }
#jobsMap .leaflet-control-attribution a { color: #245f9a; text-decoration: underline; }
.anyway-map-marker { border: 2px solid #fff; border-radius: 50%; color: #fff; box-shadow: 0 2px 5px #18304b55; }
.anyway-map-marker span { display: grid; place-items: center; height: 100%; font: 800 12px/1 system-ui,sans-serif; }
.anyway-map-marker-collection { background: #286aa9; }
.anyway-map-marker-delivery { background: #dd8425; }
.anyway-map-popup { min-width: 170px; max-width: 260px; color: #18304b; line-height: 1.5; }
.anyway-map-popup p { margin: 8px 0; font-size: 12px; }
.jobs-map-selection-controls { padding: 16px 20px; border-top: 1px solid #dce5ee; }
.jobs-map-selection-controls label { display: block; color: #40566c; font-size: 12px; font-weight: 750; }
.jobs-map-selection-controls select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid #d4dce4;
  border-radius: 8px;
  background: #fff;
  color: #33485c;
  font: inherit;
  font-size: 13px;
}
.jobs-map-selection { display: grid; gap: 7px; margin-top: 12px; color: #526b83; font-size: 13px; overflow-wrap: anywhere; }
.jobs-map-selection:empty { display: none; }
.jobs-map-selection strong { color: #153757; }
.jobs-map-selection button { justify-self: start; }
.jobs-map-status { margin: 0; padding: 0 20px 16px; color: #63778b; font-size: 12px; line-height: 1.6; }
.jobs-map-panel button:focus-visible, .jobs-map-panel select:focus-visible, #jobsMap:focus-visible {
  outline: 3px solid #1872c5;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  #jobsMap { height: 310px; }
  .jobs-map-heading { padding: 16px 14px 12px; }
  .jobs-map-legend, .jobs-map-note { padding-inline: 14px; }
  .jobs-map-selection-controls { padding: 14px; }
  .jobs-map-status { padding-inline: 14px; }
  .jobs-map-actions { width: 100%; }
  .jobs-map-actions button { flex: 1; }
}
