/* GeoData (09/11/2026) — écran carte + panneau, historique, publication. */

.gd-ecran {
    display: flex;
    gap: 12px;
    height: calc(100vh - 64px - 24px);   /* barre supérieure + marges */
    min-height: 480px;
}
.gd-carte-cadre { position: relative; flex: 1 1 auto; min-width: 0; border-radius: 6px; overflow: hidden; }
.gd-carte { width: 100%; height: 100%; }

.gd-panneau {
    flex: 0 0 360px;
    overflow-y: auto;
    padding: 14px;
}

.gd-bandeau {
    position: absolute; left: 10px; bottom: 26px;
    display: flex; align-items: center; gap: 4px;
    background: rgba(255, 255, 255, .92); border-radius: 4px; padding: 4px 10px;
    font-size: .8rem; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.gd-attente {
    position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
    display: flex; align-items: center; gap: 6px; max-width: 90%;
    background: #fff4d6; color: #7a5200; border: 1px solid #f0c060; border-radius: 16px;
    padding: 5px 14px; font-size: .82rem; text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.gd-attente:hover { background: #ffeab0; }
.gd-erreur-carte { position: absolute; left: 10px; right: 10px; top: 52px; }

.gd-alerte { color: #b45309; }
.gd-discret { color: #6b7280; font-size: .8rem; }

.gd-resultats { max-height: 260px; overflow-y: auto; margin-top: 6px; }
.gd-resultat { display: flex; gap: 8px; align-items: flex-start; padding: 6px 4px; border-radius: 4px; cursor: pointer; }
.gd-resultat:hover { background: #f1f5f9; }
.gd-resultat-nom { font-size: .88rem; font-weight: 500; }
.gd-pastille { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex: 0 0 10px; }

.gd-histo { border-left: 3px solid #cbd5e1; padding: 2px 0 4px 8px; margin-bottom: 6px; font-size: .82rem; }

.gd-legende { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.gd-legende-ligne { display: flex; align-items: center; gap: 6px; font-size: .78rem; cursor: pointer; padding: 2px; border-radius: 3px; user-select: none; }
.gd-legende-ligne:hover { background: #f1f5f9; }
.gd-masque { opacity: .35; text-decoration: line-through; }
.gd-trait { width: 18px; height: 4px; border-radius: 2px; flex: 0 0 18px; }

.gd-journal {
    background: #0f172a; color: #e2e8f0; border-radius: 4px; padding: 8px 10px; margin-top: 8px;
    font-size: .75rem; white-space: pre-wrap; max-height: 260px; overflow-y: auto;
}

/* Petits écrans : panneau sous la carte. */
@media (max-width: 900px) {
    .gd-ecran { flex-direction: column; height: auto; }
    .gd-carte-cadre { height: 60vh; flex: none; }
    .gd-panneau { flex: none; }
}
