/* OPEN UP V45.136 — correction de l'affichage de l'accueil.
   Ne change ni la carte, ni les donnees, ni la logique JS. */
html,body{max-width:100%;overflow-x:clip}
.up-map-panel,.up-map-feed,.up-map-footer,.up-map-heading,.up-map-controls{box-sizing:border-box;max-width:100%;min-width:0}
.up-map-panel{overflow:hidden}
.up-map-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}
.up-map-heading>div{flex:1 1 330px;min-width:0}
.up-map-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.up-map-controls input{flex:1 1 180px;min-width:0;max-width:100%}
#up-live-map{box-sizing:border-box;max-width:100%;overflow:hidden;isolation:isolate}
.up-map-footer{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.up-map-footer>div{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;min-width:0}
/* Le flux est rempli dynamiquement par live-map.js : forcer des elements
   autonomes pour eviter les chips horizontales qui se recouvrent. */
#up-map-feed{display:block!important;position:relative;clear:both;overflow:hidden!important;min-height:0!important;height:auto!important;padding:16px!important}
#up-map-feed>strong{display:block!important;position:static!important;float:none!important;white-space:normal!important;margin:0 0 12px!important;line-height:1.4}
#up-map-feed-items{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;align-items:stretch!important;align-content:start!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;position:static!important;transform:none!important;white-space:normal!important;box-sizing:border-box}
#up-map-feed-items>*{display:block!important;position:relative!important;inset:auto!important;float:none!important;transform:none!important;animation:none!important;min-width:0!important;max-width:100%!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:10px 12px!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;line-height:1.45!important;box-sizing:border-box!important;border-radius:12px!important}
#up-map-feed-items *{max-width:100%;overflow-wrap:anywhere;white-space:normal!important}
#up-map-feed-items a{display:inline!important;white-space:normal!important}
@media(max-width:650px){
 .up-map-panel{padding:16px!important}
 .up-map-controls button{flex:1 1 135px;min-width:0}
 #up-live-map{height:300px!important;min-height:250px!important}
 #up-map-feed{padding:12px!important}
 #up-map-feed-items{grid-template-columns:minmax(0,1fr)!important}
}
