/* v8.5.8 — roomier fixed-height sidebar with consistent line icons */
:root{--sidebar:252px}
.sidebar{
  overflow:hidden;
  background:linear-gradient(180deg,#071d2e 0%,#061724 52%,#05131e 100%);
  box-shadow:12px 0 36px rgba(0,0,0,.14);
}
.sidebar .brand{
  height:70px;
  flex:0 0 70px;
  padding:10px 14px;
  gap:11px;
  background:#071b2a;
}
.sidebar .brand img{width:42px;height:42px}
.sidebar .brand strong{font-size:17px;letter-spacing:.025em}
.sidebar .brand small{font-size:10.5px;margin-top:1px}
.nav-list{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  touch-action:pan-y;
  padding:10px 10px 64px!important;
  scrollbar-width:thin;
  scrollbar-color:#285871 transparent;
}
.nav-label{
  margin:12px 11px 5px;
  font-size:9px;
  line-height:1.2;
  letter-spacing:.14em;
}
.nav-btn{
  touch-action:manipulation;
  min-height:39px;
  padding:8px 10px;
  gap:10px;
  border-radius:8px;
  font-size:13px;
  line-height:1.18;
  font-weight:600;
}
.nav-btn>.mt-nav-icon,
.nav-btn>span:first-child{
  width:22px;
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  color:#8fb4c9;
}
.nav-btn>.mt-nav-icon svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-btn:hover,.nav-btn.active{
  background:linear-gradient(90deg,rgba(13,91,137,.72),rgba(13,57,83,.72));
  box-shadow:inset 2px 0 0 #45c9f4;
}
.nav-btn.active>.mt-nav-icon,.nav-btn:hover>.mt-nav-icon{color:#79dfff}
.experimental-nav{margin-top:3px!important;min-height:43px;border-color:rgba(223,174,71,.14)!important}
.experimental-nav>.mt-nav-icon{color:#e9bd57}
.nav-exp-copy{gap:1px!important;line-height:1.12}
.nav-exp-copy small{font-size:7.5px;margin-top:2px}
.nav-project{
  position:relative;
  margin:12px 1px 0!important;
  padding-top:10px!important;
  border-top:1px solid #153b51!important;
}
.nav-project summary{
  min-height:48px;
  padding:9px 12px!important;
  display:grid;
  gap:2px;
  align-content:center;
  border:1px solid #21516c;
  border-radius:10px;
  background:linear-gradient(180deg,#0b2a3e,#082235);
  box-shadow:inset 0 1px rgba(255,255,255,.02);
}
.nav-project summary:hover{border-color:#3b7897;background:linear-gradient(180deg,#0d3148,#09273b)}
.nav-project summary>span{
  display:block!important;
  font-size:8px!important;
  line-height:1!important;
  color:#5caed0!important;
  letter-spacing:.14em!important;
  text-transform:uppercase;
}
.nav-project summary strong{
  margin:0!important;
  display:block!important;
  font-size:13.5px!important;
  line-height:1.15!important;
  color:#e6f3f9!important;
  white-space:nowrap;
}
.nav-project summary strong:before,.nav-project summary strong:after{content:none!important;display:none!important}
.nav-project-items{
  display:none;
  position:static;
  margin-top:6px;
  padding:7px;
  border:1px solid #285871;
  border-radius:10px;
  background:linear-gradient(180deg,#0a293d,#071b2a);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}
.nav-project-items:before{display:none}
.nav-project[open] .nav-project-items{display:grid;gap:2px}
.nav-project-items .nav-btn{min-height:31px;padding:5px 8px;font-size:11.5px;font-weight:550}
.nav-project-items .nav-btn>.mt-nav-icon,.nav-project-items .nav-btn>span:first-child{width:19px;min-width:19px;height:19px}
.nav-project-items .nav-btn>.mt-nav-icon svg{width:15px;height:15px}
.mt-sidebar-extra{margin-top:11px}
.mt-sidebar-section{margin-top:10px}
.mt-sidebar-title{margin:0 11px 5px;color:#688ca2;font-size:8.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700}
.mt-sidebar-section .nav-btn{min-height:35px;padding:6px 10px;font-size:12px;font-weight:600}
.mt-sidebar-section .nav-btn>.mt-nav-icon svg{width:16px;height:16px}
.mt-sidebar-recent .nav-btn{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:9px;align-items:center}
.mt-sidebar-recent .mt-recent-copy{min-width:0;display:grid;gap:1px;text-align:left}
.mt-sidebar-recent .mt-recent-copy b{font-size:11.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-sidebar-recent .mt-recent-copy small{font-size:8.5px;color:#688ca2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mt-sidebar-empty{margin:3px 10px 0;padding:8px 9px;border:1px dashed #1b435a;border-radius:8px;color:#688ca2;font-size:9.5px;line-height:1.35}
.sidebar-bottom{
  height:58px;
  padding:9px 13px;
  display:grid;
  align-content:center;
  background:#05131e;
  border-top:1px solid #14354a;
}
.sidebar-bottom .source-dot{font-size:10.5px;margin:0 0 2px;gap:7px}
.sidebar-bottom>small{font-size:9px;line-height:1.2}
.source-dot i{width:7px;height:7px}
[data-theme="bridge"] .sidebar{background:linear-gradient(180deg,#100b07,#080705)}
[data-theme="bridge"] .sidebar .brand,[data-theme="bridge"] .sidebar-bottom{background:#090705}
[data-theme="bridge"] .nav-project summary{background:linear-gradient(180deg,#1a1109,#120c07);border-color:#4b3421}
[data-theme="bridge"] .nav-project-items{background:linear-gradient(180deg,#171008,#0d0906);border-color:#4b3421}
[data-theme="bridge"] .nav-project-items:before{display:none}
@media(max-height:760px){
  .mt-sidebar-recent{display:none}
}
@media(max-height:680px) and (min-width:901px){
  .sidebar .brand{height:56px;flex-basis:56px;padding:6px 11px}.sidebar .brand img{width:35px;height:35px}.sidebar .brand small{display:none}
  .nav-list{padding-top:4px!important;padding-bottom:48px!important}.nav-label{margin:5px 10px 2px}.nav-btn{min-height:30px;padding:4px 8px;font-size:11.5px}.nav-btn>.mt-nav-icon,.nav-btn>span:first-child{height:18px}.nav-btn>.mt-nav-icon svg{width:15px;height:15px}
  .experimental-nav{min-height:32px}.nav-exp-copy small{display:none}.nav-project{margin-top:5px!important;padding-top:5px!important}.nav-project summary{min-height:36px;padding:6px 8px!important}.nav-project summary>span{display:none!important}.nav-project summary strong{font-size:11.5px!important}.nav-project-items .nav-btn{min-height:27px;padding:3px 6px}.mt-sidebar-extra{margin-top:5px}.mt-sidebar-section{margin-top:5px}.mt-sidebar-title{margin-bottom:2px}.mt-sidebar-section .nav-btn{min-height:29px;padding:4px 8px;font-size:11px}.sidebar-bottom{height:46px;padding:5px 11px}.sidebar-bottom>small{display:none}
}
@media(max-width:900px){
  :root{--sidebar:252px}
  .sidebar{height:100dvh;max-height:100dvh}
  .nav-list{padding-bottom:64px!important}
  .nav-project-items{margin-top:6px}
}

.nav-list::-webkit-scrollbar{width:5px}.nav-list::-webkit-scrollbar-thumb{background:#285871;border-radius:999px}[data-theme="bridge"] .nav-list{scrollbar-color:#654628 transparent}[data-theme="bridge"] .nav-list::-webkit-scrollbar-thumb{background:#654628}
