/* Ergänzungen für die Leaflet-Karte */
.map-canvas.leaflet-container { font: inherit; background: #d9dee5; }
.map-toolbar, .map-hint { z-index: 1100; }
.map-setup { z-index: 1200; }

.bap-label { background: transparent; border: 0; }

.edit-handle {
  background: #fff;
  border: 2px solid #1f5fbf;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  cursor: grab;
}
.edit-handle.mid { background: rgba(255, 255, 255, .65); border-style: dashed; }
.edit-handle.radius { border-color: #d6336c; }

.leaflet-control-layers-expanded { font-size: .85rem; }

.sector-label {
  position: absolute; transform: translate(-50%, -50%);
  background: rgba(14, 26, 43, .85); color: #fff; font: 600 12px/1.25 system-ui, sans-serif;
  padding: 3px 6px; border-radius: 4px; white-space: nowrap; pointer-events: none;
}
.sector-table select { min-width: 9rem; padding: .2rem .35rem; }

/* Verfügbarkeits-Timeline: Pilot mit bevorzugtem Spotter darunter */
.tl-row.tl-pair-parent { border-bottom-style: dashed; }
.tl-row.tl-pair-child .tl-name { padding-left: 1.3rem; }
.tl-row.tl-pair-child .tl-name .roles { font-style: italic; }

/* Flächenliste: Sektoren als aufklappbare Liste unter der Hauptfläche */
.area-row { display: flex; align-items: center; gap: 2px; }
.area-row > .area-item { flex: 1; min-width: 0; }
.sector-toggle { flex: none; width: 26px; font-size: .95rem; line-height: 1; }
.sector-dropdown { margin: 0 0 .35rem 28px; padding-left: .4rem; border-left: 2px solid var(--border); }
.sector-dropdown-head { display: flex; align-items: center; gap: .4rem; padding: .15rem .4rem; font-size: .76rem; color: var(--muted); }
.sector-dropdown-head .actions { margin-left: auto; }
.sector-item { padding: .25rem .4rem; }

/* Ausschnitte einer Fläche (z. B. Ortschaften) */
.exclusions { margin-top: 1rem; }
.exclusions h3 { margin-bottom: .3rem; }
ul.exclusion-list { list-style: none; margin: 0; padding: 0; }
ul.exclusion-list li { display: flex; align-items: center; gap: .4rem; padding: .2rem 0; border-bottom: 1px solid var(--border); }
ul.exclusion-list li span { flex: 1; }

/* Import-Assistent: Schrittleiste über dem jeweiligen Schritt */
.wiz-steps { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .9rem; }
.wiz-step { flex: 1; min-width: 5.5rem; text-align: center; font-size: .78rem; padding: .25rem .3rem;
  border-bottom: 3px solid var(--border); color: var(--muted); }
.wiz-step.done { border-bottom-color: var(--ok); color: var(--text); }
.wiz-step.active { border-bottom-color: var(--primary); color: var(--text); font-weight: 600; }

/* Suchgebiete ohne Team: Hinweis mit Vorschlag für einen zusätzlichen Einsatztag */
.next-day-box { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.next-day-box > div { flex: 1 1 14rem; }
