/* Menú lateral compartido de Brújula. Estados: abierto (nombres) y plegado (solo iconos). */
html{--sbw:232px;--sbp:232px}
html.sb-c{--sbw:64px;--sbp:64px}
body{padding-left:var(--sbp);transition:padding-left .2s ease}
.sb{position:fixed;left:0;top:0;bottom:0;width:var(--sbw);z-index:1500;background:#060913;border-right:1px solid #1c2740;display:flex;flex-direction:column;transition:width .2s ease;overflow:hidden}
.sb *{box-sizing:border-box}
.sb-brand{display:flex;align-items:center;gap:10px;height:56px;padding:0 21px;border-bottom:1px solid #1c2740;font-family:'JetBrains Mono',ui-monospace,monospace;font-weight:600;letter-spacing:.18em;color:#f5b942;text-decoration:none;white-space:nowrap}
.sb-brand i{width:10px;height:10px;border-radius:2px;transform:rotate(45deg);background:#f5b942;flex:none}
.sb-list{list-style:none;margin:0;padding:10px 8px;display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}
.sb-list a{display:flex;align-items:center;gap:12px;height:42px;padding:0 13px;border-radius:8px;color:#8e9ab3;text-decoration:none;font:500 14px/1 Inter,system-ui,sans-serif;white-space:nowrap}
.sb-list a:hover{background:#121a2e;color:#e8ebf3}
.sb-list a[aria-current=page]{background:#f5b942;color:#2a1c02;font-weight:600}
.sb svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pf{padding:14px 16px 22px;border-top:1px solid #1c2740;margin-top:8px;font:500 12px/1 Inter,system-ui,sans-serif}
.pf a{color:#8e9ab3;text-decoration:none}
.pf a+a{margin-left:16px}
.pf a:hover,.pf a:focus-visible{color:#f5b942;text-decoration:underline}
.sb-foot{padding:8px;border-top:1px solid #1c2740}
.sb-tog{display:flex;align-items:center;gap:12px;width:100%;height:42px;padding:0 13px;border:0;border-radius:8px;background:none;color:#8e9ab3;cursor:pointer;font:500 14px/1 Inter,system-ui,sans-serif;white-space:nowrap}
.sb-tog:hover{background:#121a2e;color:#e8ebf3}
.sb-tog svg{transition:transform .2s}
html.sb-c .sb-tog svg{transform:rotate(180deg)}
.sb :focus-visible{outline:2px solid #f5b942;outline-offset:-2px}
html.sb-c .lb,html.sb-c .sb-brand span{display:none}
@media (prefers-reduced-motion:reduce){body,.sb,.sb-tog svg{transition:none}}
@media (max-width:700px){
  html,html.sb-c{--sbp:64px}
  html:not(.sb-c) .sb{box-shadow:8px 0 24px rgba(0,0,0,.5)}
}
@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:#2a3858 transparent}}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:#2a3858;border-radius:8px;border:2px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:#f5b942;background-clip:content-box;border:2px solid transparent}
*::-webkit-scrollbar-corner{background:transparent}
