/* Arcavium — Regard des habitants : coque seule, sans modification des autres pages. */
.shell-regard-menu-toggle { display:none; }
.shell-regard-menu-backdrop[hidden],
.shell-regard-sessions-list[hidden] {display:none!important;}
.shell-regard-sessions {display:none;}

body.arcavium-home-shell.regard-map-mode .pro-profile-layout {
  grid-template-columns:minmax(0,1fr)!important;
  width:100%;
}
body.arcavium-home-shell.regard-map-mode .pro-workspace {
  grid-column:1 / -1;
  min-width:0;
  width:100%;
}
/* Les onglets préexistants restent en DOM pour les actions et autorisations. */
body.arcavium-home-shell.regard-map-mode .pro-session-tabs {display:none!important;}
body.arcavium-home-shell.regard-map-mode .pro-sidebar {display:none!important;}
body.arcavium-home-shell.regard-map-mode .shell-regard-menu-toggle {
  position:fixed;
  top:9px;
  right:15px;
  z-index:3005;
  display:grid;
  place-items:center;
  width:46px;
  height:42px;
  padding:8px;
  background:#0b3856;
  border:1px solid #c1d6df;
  border-radius:8px;
  color:white;
  cursor:pointer;
  box-shadow:0 2px 9px #0003;
}
body.arcavium-home-shell.regard-map-mode .shell-regard-menu-toggle:hover,
body.arcavium-home-shell.regard-map-mode .shell-regard-menu-toggle:focus-visible {
  background:#174d6d;
  outline:2px solid #e6c17f;
  outline-offset:2px;
}
.shell-regard-menu-bars {display:grid;gap:5px;width:23px;}
.shell-regard-menu-bars i {display:block;height:2px;background:currentColor;border-radius:1px;}
body.arcavium-home-shell.regard-map-mode .shell-regard-menu-backdrop:not([hidden]) {
  position:fixed;
  inset:0;
  z-index:3002;
  display:block;
  background:rgba(0,0,0,.27);
}
body.arcavium-home-shell.regard-map-mode.regard-menu-open .pro-sidebar {
  display:flex!important;
  position:fixed!important;
  z-index:3004;
  top:59px;
  right:15px;
  left:auto;
  width:min(345px, calc(100vw - 30px));
  max-width:none;
  height:auto;
  min-height:0;
  max-height:calc(100dvh - var(--arcavium-ribbon-height,0px) - 74px);
  flex-direction:column;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #829da9;
  border-radius:8px;
  background:#f0f1f0;
  box-shadow:0 12px 40px #0006;
}
body.arcavium-home-shell.regard-map-mode .pro-sidebar .pro-brand {
  grid-template-columns:48px minmax(0,1fr);
  gap:10px;
  min-height:75px;
  padding:10px 14px;
}
body.arcavium-home-shell.regard-map-mode .pro-sidebar .pro-brand img {width:42px;height:42px;}
body.arcavium-home-shell.regard-map-mode .pro-sidebar .pro-brand strong {font-size:19px;}
body.arcavium-home-shell.regard-map-mode .pro-sidebar .pro-brand small {font-size:11px;}
body.arcavium-home-shell.regard-map-mode .pro-sidebar .pro-side-nav {
  display:block!important;
  padding:10px 14px 16px;
}
body.arcavium-home-shell.regard-map-mode .shell-regard-sessions {
  display:block;
  padding:11px 14px 5px;
  border-bottom:1px solid #cbd5d9;
}
.shell-regard-sessions-toggle {
  display:flex;
  justify-content:space-between;
  width:100%;
  padding:10px 12px;
  border:1px solid #84a4b3;
  border-radius:5px;
  background:#0b3856;
  color:#fff;
  font:700 14px/1.2 Arial,Helvetica,sans-serif;
  cursor:pointer;
}
.shell-regard-sessions-toggle[aria-expanded="true"] span {transform:rotate(180deg);}
.shell-regard-sessions-list {display:grid;gap:4px;padding:8px 0 5px;}
.shell-regard-session-entry {
  display:block;
  width:100%;
  padding:10px 11px;
  border:1px solid #c3ccd1;
  border-radius:5px;
  background:#fff;
  color:#233946;
  text-align:left;
  font:700 13px/1.3 Arial,Helvetica,sans-serif;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.shell-regard-session-entry small {display:block;font-size:12px;margin-top:3px;font-weight:500;}
.shell-regard-session-entry:hover,.shell-regard-session-entry:focus-visible {background:#d9eaf1;outline:2px solid #0b3856;outline-offset:1px;}
@media(max-width:680px){
  body.arcavium-home-shell.regard-map-mode .pro-profile-layout {
    display:flex;
    flex-direction:column;
  }
  body.arcavium-home-shell.regard-map-mode .pro-workspace {flex:1 1 0%;min-height:0;}
  body.arcavium-home-shell.regard-map-mode.regard-menu-open .pro-sidebar {
    max-height:calc(100dvh - var(--arcavium-ribbon-height,0px) - 74px);
    border-bottom:1px solid #829da9;
  }
}
