
/* Simple map viewer: photo + small replacement icon, nothing more until tapped. */
.map-modal-card{padding:14px!important;border-radius:18px!important}
.map-modal-head{padding:3px 3px 12px!important;gap:10px}
.map-modal-head b{font-size:18px!important;line-height:1.2}
.map-image-shell{position:relative;overflow:hidden;border-radius:12px;min-height:130px;background:#eff4f1}
.map-image-shell img{width:100%;height:auto;display:block;border-radius:12px}
.map-image-shell .map-empty-message{padding:75px 14px 40px;margin:0;border-radius:12px;border:1px dashed #b5c4bc}
.map-image-shell .map-manage-toggle{
  position:absolute!important;z-index:2;top:10px;right:10px;width:42px!important;height:42px!important;
  min-width:42px!important;min-height:42px!important;margin:0!important;padding:0!important;
  display:flex!important;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.75)!important;border-radius:13px!important;
  background:#245b48!important;color:white!important;font:600 30px/1 system-ui,sans-serif!important;
  box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer;touch-action:manipulation
}
.map-image-shell .map-manage-toggle:focus-visible{outline:3px solid #75bd9d;outline-offset:2px}
#mapFileManager[hidden],#mapAdminTools[hidden]{display:none!important}
#mapFileManager{margin:12px 0 0!important;padding:15px!important}
#mapAdminLogin{margin:0!important;padding:0!important;border:none!important;gap:9px!important}
#mapAdminLogin label{font-size:15px!important;font-weight:750}
#mapAdminTools .map-file-label{font-size:15px!important;margin-bottom:8px!important}
#mapAdminTools input[type=file]{box-sizing:border-box!important}
#mapAdminTools .map-upload-actions{display:grid!important;grid-template-columns:1fr!important}
#mapAdminTools .map-upload-actions button{width:100%!important}
#mapUploadStatus:empty{display:none}
@media(max-width:520px){.map-modal{padding:12px!important}.map-modal-card{padding:12px!important}.map-modal-head b{font-size:17px!important}}
