/* Desktop rail and expanded navigation, measured against the reference. */
@media(min-width:721px){
 :root{--sidebar:56px}
 :root.sidebar-expanded{--sidebar:208px}
 .app-sidebar{width:var(--sidebar);padding:0 12px 12px;overflow:visible;border-right-color:#202024;transition:width .2s ease;background:#000}
 .sidebar-brand{height:48px;min-height:48px;gap:7px;padding:0 5px;font-size:16px;letter-spacing:-.5px;font-weight:650;overflow:hidden}
 .sidebar-brand img{flex:0 0 28px;width:28px;height:28px;margin-left:-3px}
 .sidebar-brand span{display:none}
 .sidebar-expanded .sidebar-brand span{display:block}
 .sidebar-toggle{position:absolute;z-index:2;right:-12px;top:12px;width:24px;height:24px;display:grid;place-items:center;padding:0;border:1px solid #252529;border-radius:50%;color:#898992;background:#050505;cursor:pointer}
 .sidebar-toggle:hover{color:#ededf0;background:#17171a}
 .sidebar-toggle svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s}
 .sidebar-expanded .sidebar-toggle svg{transform:rotate(180deg)}
 .app-sidebar nav{display:flex;flex-direction:column;gap:2px;margin-top:8px;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}
 .app-sidebar nav a{display:flex;height:32px;min-height:32px;gap:10px;padding:0;border-radius:6px;justify-content:center;font-size:13px;font-weight:500;color:#9b9ba2;white-space:nowrap}
 .app-sidebar nav a svg{display:block;flex:0 0 18px;width:18px;height:18px;stroke-width:1.7}
 .app-sidebar nav a>span{display:none;overflow:hidden;text-overflow:ellipsis}
 .sidebar-expanded .app-sidebar nav a{justify-content:flex-start;padding:0 10px}
 .sidebar-expanded .app-sidebar nav a>span{display:block}
 .app-sidebar nav a.selected{background:#17171a;color:#ededf0}
 .app-sidebar nav a:hover{background:#111114;color:#ededf0}
 .app-sidebar nav a.selected:hover{background:#202024}
 .app-sidebar .sidebar-label{display:block;height:1px;min-height:1px;padding:0;margin:14px 4px;background:#242428;overflow:hidden;font-size:0}
 .sidebar-expanded .app-sidebar .sidebar-label{height:auto;min-height:0;padding:0 10px;margin:20px 0 8px;background:transparent;color:#73737c;font-size:11px;font-weight:400}
 .sidebar-bottom{display:flex;flex-direction:column;gap:4px;margin: auto -12px -12px;padding:12px;border-top:1px solid #202024}
 .sidebar-bottom>a{display:flex;align-items:center;justify-content:center;height:32px;padding:0;border:0;border-radius:6px;color:#9b9ba2;font-size:13px;white-space:nowrap;gap:10px}
 .sidebar-bottom>a svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.7}
 .sidebar-bottom>a span{display:none}
 .sidebar-expanded .sidebar-bottom>a{justify-content:flex-start;padding:0 10px}
 .sidebar-expanded .sidebar-bottom>a span{display:inline}
 .sidebar-bottom>a:hover{background:#111114;color:#ededf0}
 .header{transition:left .2s ease}
 main,footer{transition:margin-left .2s ease}
}
@media(max-width:720px){.sidebar-toggle{display:none}}
@media(prefers-reduced-motion:reduce){.app-sidebar,.sidebar-toggle svg,.header,main,footer{transition:none}}
