#app:not(.hidden) { grid-template-columns: 265px minmax(0, 1fr); }
#dhSidebar {
  background: #09252a;
  color: #f3faf8;
  border-color: #315154;
  padding: 16px 12px;
}
#dhSidebar .brand { margin-bottom: 6px; }
.dh-sidebar-status {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  align-items: center;
  padding: 0 .35rem .7rem;
  border-bottom: 1px solid #315154;
  color: #bed7d2;
  font-size: .86rem;
}
.dh-sidebar-status small { white-space: nowrap; }
#dhSidebar .nav { display: grid; gap: 5px; margin-top: .75rem; }
#dhSidebar .nav-btn {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: .6rem;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: .48rem .65rem;
  border: 1px solid transparent;
  border-inline-start: 4px solid transparent;
  border-radius: 9px;
  background: #102e33;
  color: #f3faf8;
  text-align: left;
  box-shadow: none;
}
#dhSidebar .nav-btn:hover { background: #1b4044; border-color: #64988b; }
#dhSidebar .nav-btn:active { transform: scale(.985); }
#dhSidebar .nav-btn.active {
  background: #a6f5cc;
  border-inline-start-color: #208758;
  color: #09251c;
}
#dhSidebar .nav-btn small { display: block; margin-top: .12rem; color: inherit; opacity: .86; }
#dhSidebar .nav-ico {
  width: 24px;
  height: 24px;
  background: transparent;
  color: #a6f5cc;
}
#dhSidebar .nav-ico svg { width: 21px; height: 21px; }
#dhSidebar .active .nav-ico { color: inherit; }
.dh-menu-group { display: grid; gap: 5px; }
.dh-menu-group h2 {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .55rem 0 .2rem;
  color: #bed7d2;
  font-size: .82rem;
}
.dh-menu-group h2::after { content: ''; flex: 1; height: 1px; background: #315154; }
#dhSidebar :focus-visible, #dhMenuToggle:focus-visible { outline: 2px solid #a6f5cc; outline-offset: 2px; }
.dh-mobile-nav { display: none; }
@media (min-width: 901px) {
  #dhSidebar { position: sticky; top: 0; height: 100vh; overflow: auto; }
}
@media (max-width: 900px) {
  #app:not(.hidden) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; }
  .dh-mobile-nav {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .7rem;
    background: #09252a;
    color: #f3faf8;
    border-bottom: 1px solid #315154;
  }
  #dhMenuToggle {
    min-height: 44px;
    padding: 0 .65rem;
    border: 0;
    border-radius: 8px;
    background: #a6f5cc;
    color: #09251c;
    font: inherit;
    font-weight: 800;
  }
  #dhMobilePage { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
  #app #dhSidebar { display: none; max-height: 60dvh; overflow: auto; }
  #app.dh-menu-open #dhSidebar { display: block; }
  #app > .main { grid-row: 3; height: auto; overflow: visible; min-width: 0; }
}
