/* Délestage — styles spécifiques (complète prix-marche.css / classes pm-*). */
.dls-intro { background: linear-gradient(135deg, #F59E0B, #E0245E); }

.dls-searchbar { display: flex; gap: 8px; align-items: stretch; margin-bottom: 10px; }
.dls-ac-wrap { position: relative; flex: 1; min-width: 0; }
.dls-ac-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9A9AB0; font-size: 14px; pointer-events: none; }
.dls-search { width: 100%; padding-left: 34px !important; margin: 0 !important; }
.dls-near { white-space: nowrap; display: flex; align-items: center; gap: 5px; }

.dls-ac-pop {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 40;
  background: #171722; border: 1px solid #2A2A3A; border-radius: 12px; overflow: hidden;
  max-height: 280px; overflow-y: auto; box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.dls-ac-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; cursor: pointer; font-weight: 700; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.dls-ac-item:last-child { border-bottom: none; }
.dls-ac-item:hover, .dls-ac-item:active { background: rgba(245,158,11,.14); }
.dls-ac-geo { color: #F59E0B; font-size: 12px; }

.dls-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.dls-tab { flex: 1; background: none; border: 1px solid #2A2A3A; color: #9A9AB0; border-radius: 10px; padding: 9px; font-weight: 800; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dls-tab-active { border-color: #F59E0B; color: #fff; background: rgba(245,158,11,.12); }

.dls-empty { text-align: center; color: #9A9AB0; padding: 40px 16px; }
.dls-empty i { font-size: 40px; color: #F59E0B; opacity: .55; display: block; margin-bottom: 12px; }
.dls-empty p { margin: 0; font-size: 14px; }

.dls-qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.dls-qname { font-weight: 900; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.dls-qname i { color: #F59E0B; }
.dls-bell { background: none; border: 1px solid #2A2A3A; color: #9A9AB0; border-radius: 999px; padding: 7px 13px; font-weight: 800; font-size: 12px; cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.dls-bell-on { border-color: #F59E0B; color: #F59E0B; background: rgba(245,158,11,.12); }

.dls-today { border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.dls-today-cut { background: rgba(224,36,94,.10); border: 1px solid rgba(224,36,94,.35); }
.dls-today-ok { background: rgba(34,197,94,.10); border: 1px solid rgba(34,197,94,.30); color: #22C55E; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.dls-today-lbl { font-weight: 900; font-size: 14px; color: #E0245E; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }

.dls-cut { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 0; }
.dls-cut-time { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; font-size: 14px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.dls-cut-motif { font-size: 12px; color: #9A9AB0; flex: 1; min-width: 0; }

.dls-daygroup { margin-bottom: 6px; }
.dls-daylabel { font-weight: 800; font-size: 13px; color: #C9C9D6; text-transform: capitalize; margin: 8px 0 2px; }
.dls-hint, .dls-src { color: #9A9AB0; font-size: 12px; text-align: center; padding: 14px 0 4px; }
.dls-src { border-top: 1px solid rgba(255,255,255,.06); margin-top: 16px; padding-top: 12px; }

.dls-map { width: 100%; height: 62vh; min-height: 340px; border-radius: 14px; overflow: hidden; }
.dls-marker { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--c, #F59E0B); transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,.4); border: 2px solid #fff; }
.dls-marker i { transform: rotate(45deg); color: #fff; font-size: 15px; }
.leaflet-popup-content { font-size: 13px; }

/* Clair (le body pm-* est sombre par défaut ; on adoucit en thème clair). */
@media (prefers-color-scheme: light) {
  .dls-ac-pop { background: #fff; border-color: #E5E5EE; }
  .dls-ac-item { border-bottom-color: #F0F0F5; }
  .dls-daylabel { color: #333; }
}
