.nav:has(.dashboard-switcher){z-index:85}
.nav .links .dashboard-switcher{position:relative;display:flex;align-items:stretch;align-self:stretch}
.nav .links .dashboard-switcher>a{display:flex;align-items:center;padding-right:3px}
.nav .links .dashboard-switcher:has(>a.active)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--brick,#ce4a32);z-index:501;pointer-events:none}
.nav .links .dashboard-switcher>a.active{box-shadow:none}
[data-control="server-select"][hidden]{display:none!important}
.dashboard-switcher-toggle{display:grid;place-items:center;width:24px;padding:4px;border:0;background:none;color:var(--muted,#8d837b);cursor:pointer}
.dashboard-switcher-toggle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5}
.dashboard-switcher-toggle:hover,.dashboard-switcher:has(>a.active)>.dashboard-switcher-toggle{color:var(--text,#d8cfc7)}
.nav .links .dashboard-switcher:is(:hover,:focus-within)>a,.nav .links .dashboard-switcher:is(:hover,:focus-within)>.dashboard-switcher-toggle{color:var(--text,#d8cfc7);background:#1d1815}
.dashboard-switcher-toggle:disabled{opacity:.4;cursor:default}
.dashboard-switcher-toggle:focus-visible,.dashboard-switcher-menu button:focus-visible{outline:2px solid var(--brick,#ce4a32);outline-offset:2px}
.dashboard-switcher-menu{position:absolute;top:100%;left:50%;right:auto;transform:translateX(-50%);z-index:500;min-width:250px;max-width:min(340px,calc(100vw - 24px));max-height:calc(100dvh - 80px);overflow-y:auto;padding:10px;background:var(--bg-2,#211c19);border:1px solid #493a2f;border-radius:6px;box-shadow:0 18px 60px #0009;scrollbar-width:thin;scrollbar-color:var(--brick,#ce4a32) transparent}
.dashboard-switcher-menu[hidden]{display:none}
.dashboard-switcher-group{padding:10px 12px 5px;color:var(--muted,#8d837b);font-size:9px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.dashboard-switcher-group:not(:first-child){margin-top:5px;border-top:1px solid var(--line,#2e2723);padding-top:14px}
.dashboard-switcher-menu button{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:12px;border:0;border-radius:3px;background:none;color:var(--text,#d8cfc7);text-align:left;font:500 12px/1.5 var(--font,Arial,sans-serif);cursor:pointer}
.dashboard-switcher-menu button span:first-child{overflow-wrap:anywhere}
.dashboard-switcher-menu button:hover,.dashboard-switcher-menu button:focus-visible{background:#33271e;color:#fff}
.dashboard-switcher-menu button[aria-current=true]{background:#ce4a321a}
.dashboard-switcher-check{flex:0 0 14px;color:var(--brick,#ce4a32);font-size:14px}
@media(max-width:880px){
  #panel .nav .links:has(.dashboard-switcher){display:flex}
  #panel .nav .links:has(.dashboard-switcher)>:not(.dashboard-switcher){display:none}
  #panel .nav:has(.dashboard-switcher)>.brand{display:none}
  #panel .nav .links .dashboard-switcher>a{padding-left:12px}
  .dashboard-switcher-menu{left:0;right:auto;transform:none}
}
