/* MAPA CC global navigation actions. Dark mode was retired intentionally. */
html.theme-light{
  color-scheme:light;
}

.themeToggle,
#mapaccThemeToggle{
  display:none!important;
}

.mapaccGlobalActions{
  position:relative;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  width:100%;
  padding:calc(8px + env(safe-area-inset-top,0px)) calc(10px + env(safe-area-inset-right,0px)) 0 calc(10px + env(safe-area-inset-left,0px));
  pointer-events:none;
}

.mapaccGlobalActions > *{
  pointer-events:auto;
}

#mapaccGlobalActions .mapaccGlobalIdentity{
  min-width:0;
  max-width:min(34vw,190px);
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 10px 5px 6px;
  border:1px solid rgba(15,118,110,.18);
  border-radius:9px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 22px rgba(15,46,39,.10);
}

#mapaccGlobalActions .mapaccGlobalAvatar{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#dff8ef;
  color:#075e54;
  font:1000 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

#mapaccGlobalActions .mapaccGlobalLogin{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#10231f;
  font:900 13px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}

#mapaccGlobalActions .mapaccGlobalAction{
  appearance:none;
  min-width:58px;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin:0!important;
  padding:7px 10px!important;
  border:1px solid rgba(15,118,110,.36)!important;
  border-radius:9px!important;
  background:linear-gradient(135deg,#0f766e,#075e54)!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
  box-shadow:0 8px 18px rgba(15,118,110,.18),inset 0 1px 0 rgba(255,255,255,.18)!important;
  font:900 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;
  letter-spacing:0!important;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
  touch-action:manipulation;
}

#mapaccGlobalActions .mapaccGlobalAction:hover{
  border-color:#99f6e4!important;
  background:linear-gradient(135deg,#13877d,#064e3b)!important;
}

#mapaccGlobalActions .mapaccGlobalAction:focus-visible{
  outline:3px solid rgba(20,184,166,.28);
  outline-offset:2px;
}

#mapaccGlobalActions .mapaccGlobalAction:disabled{
  opacity:.62;
  cursor:wait;
}

#mapaccGlobalActions .mapaccGlobalBack::before{
  content:"<";
  display:inline-grid;
  place-items:center;
  width:15px;
  height:15px;
  border-radius:999px;
  background:#e8f5ef;
  color:#0f766e;
  font-weight:1000;
}

#mapaccGlobalActions .mapaccGlobalLogout{
  border-color:#fecaca!important;
  background:#b91c1c!important;
  color:#ffffff!important;
  -webkit-text-fill-color:#ffffff!important;
}

#mapaccGlobalActions .mapaccGlobalLogout:hover{
  border-color:#fca5a5!important;
  background:#991b1b!important;
}

#mapaccGlobalActions .mapaccGlobalLogout::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#ffffff;
  box-shadow:0 0 0 3px rgba(255,255,255,.22);
}

@media(max-width:680px){
  .mapaccGlobalActions{
    gap:5px;
    padding:calc(8px + env(safe-area-inset-top,0px)) calc(8px + env(safe-area-inset-right,0px)) 0 calc(8px + env(safe-area-inset-left,0px));
  }
  #mapaccGlobalActions .mapaccGlobalIdentity{
    flex:1 1 auto;
    max-width:100%;
    min-width:0;
  }
  #mapaccGlobalActions .mapaccGlobalAction{
    flex:0 0 auto;
    min-width:54px;
    min-height:32px;
    padding:7px 9px!important;
    font-size:11px!important;
  }
}

@media(max-width:380px){
  .mapaccGlobalActions{
    justify-content:flex-end;
  }
  #mapaccGlobalActions .mapaccGlobalAction{
    flex:0 1 58px;
    min-width:0;
  }
}

@media print{
  .mapaccGlobalActions{
    display:none!important;
  }
}
