
/* Desktop: keep controls slim so they do not cover the map */
@media screen and (min-width:769px){
  .v41-top{
    width:min(900px,calc(100vw - 180px))!important;
    top:8px!important;
    gap:4px!important;
  }
  .v41-tabs,.v41-chips{
    min-height:0!important;
    padding:3px 4px!important;
    gap:4px!important;
    border-radius:10px!important;
    box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
  }
  .v41-chip,.v41-tabs .v41-chip,.v41-chips .v41-chip{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    height:28px!important;
    min-height:28px!important;
    padding:0 9px!important;
    font-size:12px!important;
    line-height:26px!important;
    border-radius:8px!important;
  }
  .v41-tabs{justify-content:center!important}
  .v41-tabs .v41-chip{min-width:100px!important;text-align:center!important}
  .v41-chips{justify-content:center!important;overflow-x:auto!important;scrollbar-width:none!important}
  .v41-chips::-webkit-scrollbar{display:none!important}

  /* All UI icons around the map */
  .v41-top svg,.v41-top img,
  .v419-desktop-apps svg,
  header svg,header img{
    width:14px!important;height:14px!important;
    max-width:14px!important;max-height:14px!important;
  }
  .v419-desktop-apps{
    top:8px!important;left:8px!important;
    height:30px!important;min-height:30px!important;
    padding:0 8px!important;font-size:12px!important;
    border-radius:8px!important;
  }

  /* Governorate markers: only text-sized green labels */
  .gov-map-icon{width:auto!important;min-width:0!important;height:26px!important}
  .gov-map-name{
    width:max-content!important;min-width:0!important;
    height:25px!important;padding:0 6px!important;
    font-size:13px!important;line-height:25px!important;
    border-radius:7px!important;
  }

  /* Smaller Leaflet controls on desktop */
  .leaflet-control-zoom a{
    width:28px!important;height:28px!important;
    line-height:28px!important;font-size:18px!important;
  }
  .leaflet-control{font-size:11px!important}

  /* Map itself remains full and visible */
  #v41-map,.v41-map,.v41-map-shell{
    min-height:100vh!important;height:100vh!important;
  }
}
