.sidebar{overflow:hidden;max-height:calc(100dvh - 40px);min-height:0}
.sidebar>.brand{flex:none}
.sidebar-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#b7c9df transparent;padding:0 0 10px}
.sidebar-bottom{flex:0 0 auto;min-height:0;margin-top:0;padding-top:12px;background:transparent}
.sidebar-bottom .local-status{padding-bottom:12px;line-height:1.6;flex-wrap:wrap;row-gap:6px}
.sidebar-bottom .profile{padding-top:14px;padding-bottom:3px;min-width:0;align-items:center}
.profile .avatar,.profile>.icon{flex:none}
.profile .session-name{min-width:0;flex:1;max-width:none;line-height:1.5}
.profile small{white-space:normal;line-height:1.5}
.profile>.icon{margin-left:0}
.topbar{min-height:58px;height:auto;gap:12px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
.topbar>div{display:flex;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.account-name{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#617b98;min-width:0;max-width:240px;line-height:1.5}
.account-name strong{font-weight:600;color:#354f72;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.logout-button{min-height:36px!important;background:#ffffffbd!important;border-color:#c3d4eb!important;color:#365f94!important;flex:none}
@media(min-width:601px) and (max-height:660px){.sidebar{top:12px;bottom:12px;max-height:calc(100dvh - 24px);padding-top:18px;padding-bottom:18px}.sidebar-scroll .workspace{margin-top:20px;margin-bottom:20px}.sidebar-scroll .second-label{margin-top:22px}.sidebar-bottom{padding-top:8px}.sidebar-bottom .profile{padding-top:10px}}
@media(max-width:850px) and (min-width:601px){.sidebar-scroll{padding:0;overflow-x:hidden}.sidebar-scroll nav{width:100%}.sidebar-scroll .nav-item{width:100%;margin-bottom:10px}.sidebar-bottom{display:none}}
@media(max-width:600px){.sidebar{overflow:visible;max-height:none;min-height:58px}.sidebar-scroll{display:contents;overflow:visible;padding:0}.sidebar-bottom{display:none}.topbar{min-height:50px;padding:9px 12px;gap:8px}.topbar>div{justify-content:space-between;flex:1 1 100%;gap:8px}.topbar>div>.local-chip{display:none}.account-name{font-size:11px;max-width:230px}.account-name strong{max-width:150px}.logout-button{min-height:36px!important;font-size:11px!important;padding:7px 12px!important}}
