/* paiya-brand v6 (managed by brand-ensure.cjs; 勿手改，重跑脚本刷新) */
/* 展开态：logo 占满整行（图1 效果），隐藏渐变小图标底与右侧文字链接 */
.sidebar-header{padding:12px!important}
.sidebar-header .logo-icon{flex:1 1 auto!important;width:auto!important;min-width:0!important;height:auto!important;background:none!important;border-radius:0!important;margin-right:8px!important;justify-content:flex-start!important}
.sidebar-header .logo-icon img{width:100%!important;height:auto!important;max-width:100%!important;max-height:48px!important;object-fit:contain!important;object-position:left center!important}
.sidebar-header .logo-link{display:none!important}
/* 收起态：竖排，logo 居中缩小，折叠按钮落在下方 */
.sidebar-header.is-collapsed{flex-direction:column!important;justify-content:flex-start!important;padding:10px 6px!important}
.sidebar-header.is-collapsed .logo-icon{width:100%!important;margin:0 0 6px!important;justify-content:center!important}
.sidebar-header.is-collapsed .logo-icon img{max-height:26px!important;object-position:center!important}
.sidebar-header.is-collapsed:hover .logo-icon{opacity:1!important}
/* 顶栏布局（mode=dashboard）：平台把 logo 压成 28×28，横版字标实渲仅一条细线；
   这里按比例放大为 24px 高的横版 logo，并隐藏重复的名称文字 */
.shell-top-bar .shell-logo-img{width:auto!important;height:24px!important;max-width:120px!important;object-fit:contain!important}
.shell-top-bar .shell-logo-text{display:none!important}
