.portal-shell {
  --mp-sidebar-width: 248px;
  --mp-sidebar-bg: #222b31;
  --mp-sidebar-line: #39464f;
  --mp-sidebar-text: #b7c4ce;
  --mp-sidebar-gold: #bea77e;
  padding-left: var(--mp-sidebar-width);
}
.portal-shell nav.command-subnav {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--mp-sidebar-width);
  min-width: 0;
  max-width: none;
  height: 100dvh;
  z-index: 48;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: var(--mp-sidebar-bg) !important;
  border: 0 !important;
  border-right: 1px solid var(--mp-sidebar-line) !important;
  overflow: hidden !important;
  scrollbar-gutter: auto;
}
.portal-shell nav.command-subnav .portal-nav-heading {
  display: block;
  position: relative;
  flex: 0 0 auto;
  padding: 22px 24px 17px;
  border-bottom: 1px solid var(--mp-sidebar-line);
}
.portal-shell nav.command-subnav .portal-nav-heading .mp-sidebar-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 19px !important;
  text-align: center;
}
.portal-shell nav.command-subnav .mp-sidebar-brand img {
  width: 190px;
  height: 100px;
  max-width: 100%;
  object-fit: contain;
  flex: none;
}
.portal-shell nav.command-subnav .mp-sidebar-brand strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 1.35;
  color: #b7c4ce;
}
.portal-shell nav.command-subnav .mp-sidebar-brand small { display: none; }
.portal-shell nav.command-subnav > div:not(.portal-nav-heading):not(.portal-nav-footer) {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0 !important;
  padding: 12px 14px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #566570 var(--mp-sidebar-bg);
  overscroll-behavior: contain;
  gap: 17px !important;
}
.portal-shell nav.command-subnav .sidebar-navigation {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  width: 100%;
  padding: 0;
  border: 0;
}
.portal-shell nav.command-subnav .sidebar-button.tab-nav-button {
  justify-content: flex-start;
  gap: 12px !important;
  flex: none;
  width: 100%;
  min-height: 46px;
  padding: 10px 9px !important;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  color: var(--mp-sidebar-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  font: 400 16px/1.35 'Inter','Segoe UI',Arial,sans-serif !important;
  text-align: left;
}
.portal-shell nav.command-subnav .sidebar-button.tab-nav-button > svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  flex: 0 0 22px;
  color: var(--mp-sidebar-gold) !important;
}
.portal-shell nav.command-subnav .sidebar-button.tab-nav-button:hover {
  background: #2e3942 !important;
  color: #fff !important;
}
.portal-shell nav.command-subnav .sidebar-button.tab-nav-button[aria-current="page"] {
  background: #3a4650 !important;
  color: #f0e4cf !important;
  border-color: #515f68 !important;
}
.portal-shell nav.command-subnav .tab-nav-button::after { display: none !important; }
.portal-shell nav.command-subnav .sidebar-actions {
  border-top: 1px solid var(--mp-sidebar-line);
  margin: 0 3px;
  padding: 12px 0 0;
  gap: 6px !important;
}
.portal-shell nav.command-subnav .sidebar-actions .sidebar-button {
  justify-content: flex-start;
  padding: 8px 9px !important;
  min-height: 40px;
  color: #d6e0e6 !important;
  background: #2a353e !important;
  border-color: #515f68 !important;
}
.portal-shell nav.command-subnav .sidebar-actions .sidebar-button:hover {
  color: #f0e4cf !important;
  border-color: #b99556 !important;
}
.portal-shell nav.command-subnav .sidebar-actions .sidebar-button::after { display: none !important; }
.portal-shell nav.command-subnav .portal-nav-footer {
  display: block;
  margin: auto 22px 0;
  padding: 17px 0 20px;
  flex: 0 0 auto;
  border-top: 1px solid var(--mp-sidebar-line);
}
.portal-shell nav.command-subnav .portal-nav-footer a {
  width: 100%;
  min-height: 42px;
  padding: 10px 9px !important;
  border: 1px solid #596873 !important;
  border-radius: 2px !important;
  background: linear-gradient(120deg,#34424c,#2a353e) !important;
  color: #ddc9a3 !important;
  box-shadow: none !important;
}
.portal-shell nav.command-subnav .portal-nav-footer a:hover {
  background: linear-gradient(120deg,#42483e,#343b37) !important;
  border-color: #b99556 !important;
}
.portal-shell nav.command-subnav .portal-nav-footer svg { width: 15px; height: 15px; flex: 0 0 15px; }
.mp-sidebar-dismiss, .mp-sidebar-shade { display: none; }
@media (max-width: 1100px) {
  .portal-shell { --mp-sidebar-width: 228px; }
}
@media (max-width: 760px) {
  .portal-shell { --mp-sidebar-width: 248px; padding-left: 0; }
  .portal-shell nav.command-subnav.mp-mobile-open {
    inset: 0 auto 0 0;
    position: fixed;
    width: min(var(--mp-sidebar-width), calc(100vw - 36px));
    z-index: 85;
  }
  .mp-sidebar-dismiss {
    display: grid;
    place-items: center;
    position: absolute;
    top: 7px;
    right: 7px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #e6d4b5;
  }
  .mp-sidebar-dismiss span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid #596873;
  }
  .mp-sidebar-dismiss:hover span { color: #fff; background: #b43b4c; border-color: #c46a77; }
  .portal-shell:has(nav.mp-mobile-open) .mp-sidebar-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 84;
    border: 0;
    background: #0c151cb8;
  }
}
