/* V2.10.4 · desktop sidebar always fits the viewport */
@media(min-width:1051px){
  .shell{min-height:100dvh;align-items:start}
  .sidebar{height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;padding-bottom:max(13px,env(safe-area-inset-bottom));}
  .sidebar>.side-logo,.sidebar>.userbox,.sidebar>.nav-title,.sidebar>.side-exit{flex:0 0 auto}
  .sidebar>.nav{flex:0 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin;scrollbar-color:#333 transparent}
  .sidebar>.nav::-webkit-scrollbar{width:5px}.sidebar>.nav::-webkit-scrollbar-track{background:transparent}.sidebar>.nav::-webkit-scrollbar-thumb{background:#333;border-radius:999px}
  .sidebar>.side-space{flex:1 1 12px;min-height:8px}
  .sidebar>.estel-fcf-global-sync{flex:0 0 auto;width:100%;margin:0 0 8px;border:1px solid var(--yellow);background:var(--yellow);color:#090909;justify-content:flex-start;gap:10px;font-size:11px;font-weight:900}
  .sidebar>.estel-fcf-global-sync:hover{background:#fff06a}
  .sidebar>.estel-fcf-global-sync:disabled{cursor:wait;opacity:.7}
  .sidebar>.estel-fcf-global-sync .icon{width:18px;height:18px}
  .sidebar>.side-exit{margin-top:auto;background:var(--black);position:relative;z-index:2}
}
@media(min-width:1051px) and (max-height:760px){
  .sidebar{padding-top:10px;padding-bottom:10px}
  .side-logo{padding-bottom:10px}.side-logo img{width:40px;height:40px}.side-logo strong{font-size:12px}
  .userbox{padding:9px 10px;margin-bottom:7px}.userbox b{font-size:11px}.userbox span{font-size:9px}
  .nav-title{padding:5px 10px 4px}
  .nav{gap:2px}.nav button{padding:8px 10px;font-size:11px}
  .side-space{min-height:4px!important}
  .side-exit{padding-top:6px}
  .side-exit .nav-btn{padding-top:8px!important;padding-bottom:8px!important}
}
@media(min-width:1051px) and (max-height:620px){
  .side-logo{padding-bottom:7px}.side-logo img{width:34px;height:34px}.side-logo small{display:none}
  .userbox{padding:7px 9px;margin-bottom:4px}.userbox span{display:none}
  .nav-title{display:none}
  .nav button{padding:7px 9px}
  .side-exit .nav-btn{padding-top:7px!important;padding-bottom:7px!important}
}
