.shell > aside {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

#nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #405071 transparent;
  padding-right: 4px;
}

#nav::-webkit-scrollbar { width: 5px; }
#nav::-webkit-scrollbar-track { background: transparent; }
#nav::-webkit-scrollbar-thumb {
  background: #405071;
  border-radius: 999px;
}

#nav > .nav-home-button {
  width: 100%;
  min-height: 50px;
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
}

#nav > .nav-home-button.active {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding-top: .5em;
  padding-bottom: .5em;
  background: linear-gradient(90deg, rgba(75, 125, 238, .22), rgba(255, 255, 255, .075));
  box-shadow: inset 0 0 0 1px rgba(135, 168, 236, .1), 0 8px 20px rgba(5, 14, 35, .12);
}

#nav > .nav-home-button.active::before,
#nav .nav-group-items > button[data-page].active::before {
  content: none;
  display: none;
}

#nav .nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#nav .nav-group + .nav-group { margin-top: 6px; }

#nav .nav-group-toggle {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f7e99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}

#nav .nav-group-toggle:hover { background: rgba(255,255,255,.045); color: #b8c3d8; }
#nav .nav-group.is-open > .nav-group-toggle { color: #aebbd2; }

#nav .nav-chevron {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: transform .18s ease;
}

#nav .nav-group.is-open .nav-chevron { transform: rotate(180deg); }
#nav .nav-group-items { display: none; flex-direction: column; gap: 3px; }
#nav .nav-group.is-open .nav-group-items { display: flex; }

#nav .nav-group-items > button[data-page] {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px 11px 20px;
  border-radius: 10px;
  font-size: 14px;
}

#nav .nav-group-items > button[data-page].active {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding-top: .5em;
  padding-bottom: .5em;
  background: linear-gradient(90deg, rgba(75, 125, 238, .2), rgba(255, 255, 255, .065));
  box-shadow: inset 0 0 0 1px rgba(135, 168, 236, .08);
}

.shell > aside .account {
  flex: 0 0 auto;
  margin-top: 10px;
}

@media (max-width: 900px) {
  #nav > .nav-home-button { font-size: 16px; }
  #nav .nav-group-toggle { font-size: 13px; }
  #nav .nav-group-items > button[data-page] { font-size: 15px; }
}
.business-space-switch{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:8px 10px 12px!important;flex-shrink:0}
.business-space-switch button{padding:8px 3px!important;min-height:34px!important;border-radius:7px!important;line-height:1.3!important}
.business-space-switch button b{font-size:12px!important;white-space:nowrap}
.business-space-switch button small{display:none!important}
.business-space-switch .business-space-current{padding:8px 10px}
#nav .nav-group-toggle:focus-visible,.business-space-switch button:focus-visible{outline:2px solid #8eb8ff;outline-offset:-2px}
#nav .nav-group-items > button[data-page]{text-align:left}
