/* Academy navigation only. Deliberately fixed navy in both themes.
   Shared Developer markup must never match these selectors. */
#adminPanel.academy-workspace-shell > .academy-shell-sidebar {
  padding: 28px 14px 22px !important;
  background: linear-gradient(155deg, #183449 0%, #10283c 48%, #0d2235 100%) !important;
  border-right: 1px solid rgba(151, 192, 209, .12);
  box-shadow: inset 1px 0 0 rgba(255,255,255,.04), inset -7px 0 18px rgba(0,8,20,.12);
  box-sizing: border-box;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #365366 #10283c;
}
#adminPanel.academy-workspace-shell .academy-shell-brand {
  flex-shrink: 0;
  padding: 6px 12px 25px !important;
  border-bottom: 1px solid rgba(169,199,214,.12) !important;
}
#adminPanel.academy-workspace-shell .academy-shell-sidebar .academy-wordmark {
  font-size: 25px !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
}
#adminPanel.academy-workspace-shell .academy-shell-sidebar .academy-wordmark b { color: #51d5c6 !important; }
#adminPanel.academy-workspace-shell .academy-shell-brand small {
  margin-top: 12px;
  color: #d7e4ed;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
#adminPanel.academy-workspace-shell .academy-shell-brand em {
  margin-top: 6px;
  color: #96adbe;
  font-size: 10px;
  letter-spacing: .025em;
}
#adminPanel.academy-workspace-shell .academy-shell-nav-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 12px 12px;
  color: #97afc0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
#adminPanel.academy-workspace-shell .academy-shell-nav-label::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(169,199,214,.12);
}
#adminPanel.academy-workspace-shell .academy-shell-nav { gap: 5px; margin: 0 0 28px; }
#adminPanel.academy-workspace-shell .academy-shell-nav button {
  position: relative;
  min-height: 50px !important;
  padding: 8px 10px !important;
  gap: 10px;
  border-radius: 12px !important;
  color: #bdcddb !important;
  font-size: 12px !important;
  line-height: 1.35;
  transition: none;
}
#adminPanel.academy-workspace-shell .academy-shell-nav button > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background: rgba(5,20,34,.22);
  color: #9eb6c8;
  box-shadow: inset 1px 1px 3px rgba(0,8,19,.22), 0 1px 0 rgba(255,255,255,.035);
  transition: none;
}
#adminPanel.academy-workspace-shell .academy-shell-nav svg { width: 18px; height: 18px; stroke-width: 1.7; }
#adminPanel.academy-workspace-shell .academy-shell-nav button:hover,
#adminPanel.academy-workspace-shell .academy-shell-nav button:focus-visible {
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
}
#adminPanel.academy-workspace-shell .academy-shell-nav button:focus-visible {
  box-shadow: inset 3px 0 0 var(--academy-teal), 0 0 0 3px rgba(16, 169, 181, .35) !important;
}
#adminPanel.academy-workspace-shell .academy-shell-nav button.is-active {
  background: linear-gradient(110deg, #234b58, #203e50) !important;
  border-color: rgba(131,196,198,.16) !important;
  color: #f4fbff !important;
  box-shadow: inset 1px 1px 0 rgba(214,255,249,.07), 0 4px 9px rgba(0,10,22,.24) !important;
}
#adminPanel.academy-workspace-shell .academy-shell-nav button.is-active::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: #53dac9;
}
#adminPanel.academy-workspace-shell .academy-shell-nav button.is-active > span {
  background: #153541;
  color: #61e1cf;
  box-shadow: inset 2px 2px 4px rgba(0,13,23,.35), 0 1px 0 rgba(180,241,228,.12);
}
#adminPanel.academy-workspace-shell .academy-shell-workspace-return {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(169,199,214,.12);
}
#adminPanel.academy-workspace-shell .academy-shell-return-button {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 10px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #a9bfce !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-align: left;
  cursor: pointer;
}
#adminPanel.academy-workspace-shell .academy-shell-return-button:hover {
  background: rgba(255, 255, 255, .06) !important;
  color: #edf4fa !important;
}
#adminPanel.academy-workspace-shell .academy-shell-return-button:active {
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .2) !important;
}
#adminPanel.academy-workspace-shell .academy-shell-sidebar-note {
  position: relative;
  margin-top: 15px;
  padding: 3px 12px 3px 24px !important;
  border-top: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#adminPanel.academy-workspace-shell .academy-shell-sidebar-note::before {
  content: '';
  position: absolute;
  inset: 4px auto 4px 11px;
  width: 2px;
  border-radius: 2px;
  background: #37636b;
}
#adminPanel.academy-workspace-shell .academy-shell-sidebar-note small { color: #90aabb; font-size: 8px; letter-spacing: .12em; }
#adminPanel.academy-workspace-shell .academy-shell-sidebar-note strong { margin-top: 8px; color: #b9ccda; font-size: 11px; font-weight: 500; line-height: 1.7; }
#adminPanel.academy-workspace-shell .academy-shell-sidebar :is(button,a):focus-visible {
  outline: 2px solid #70e0d1 !important;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
  #adminPanel.academy-workspace-shell .academy-shell-nav button { transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button > span { transition: color .16s ease, transform .16s ease; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button:hover {
    background: #203d50 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 3px 7px rgba(0,10,22,.2) !important;
    transform: translateY(-1px);
  }
  #adminPanel.academy-workspace-shell .academy-shell-nav button:hover > span { color: #72dece; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button:active { transform: translateY(0); box-shadow: inset 0 2px 5px rgba(0,10,22,.28) !important; }
}
@media (max-width: 900px) and (min-width: 769px) {
  #adminPanel.academy-workspace-shell > .academy-shell-sidebar { padding-inline: 10px !important; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button { gap: 7px; padding-inline: 8px !important; }
}
@media (max-width: 768px) {
  #adminPanel.academy-workspace-shell > .academy-shell-sidebar { padding: 20px 16px max(22px, env(safe-area-inset-bottom)) !important; }
  #adminPanel.academy-workspace-shell .academy-shell-drawer-head { justify-content: flex-end; margin: 0; padding: 0; border: 0; height: 44px; flex-shrink: 0; }
  #adminPanel.academy-workspace-shell .academy-shell-drawer-head > span { display: none; }
  #adminPanel.academy-workspace-shell .academy-shell-drawer-head button { width: 44px; height: 44px; border-radius: 10px !important; transition: background-color .16s ease; }
  #adminPanel.academy-workspace-shell .academy-shell-drawer-head button:hover { background: rgba(255, 255, 255, .1) !important; }
  #adminPanel.academy-workspace-shell .academy-shell-brand { margin-top: -38px; width: calc(100% - 48px); min-height: 98px; padding: 0 6px 20px !important; }
  #adminPanel.academy-workspace-shell .academy-shell-nav-label { margin-top: 21px; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button { min-height: 52px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #adminPanel.academy-workspace-shell > .academy-shell-sidebar,
  #adminPanel.academy-workspace-shell .academy-shell-sidebar button,
  #adminPanel.academy-workspace-shell .academy-shell-nav button > span { transition: none !important; }
  #adminPanel.academy-workspace-shell .academy-shell-nav button { transform: none !important; }
}
