[data-slot=sidebar]{position:fixed;top:var(--app-header-height,48px);left:0;right:0;height:45px;z-index:30;background:#fff;border-bottom:1px solid #e8e8e8}
[data-slot$=gap]{display:none}
[data-slot$=container]{position:static;top:auto;bottom:auto;width:100%;height:100%}
[data-slot$=inner]{flex-direction:row;align-items:stretch;background:transparent;padding:0 20px}
[data-slot$=content]{flex-direction:row;padding:0;overflow:visible;flex:none}
[data-slot$=content]>div,[data-slot$=group],[data-slot$=menu]{display:contents}
[data-slot$=group-label]{display:none}
[data-slot$=menu-item]{display:flex}
/* 内边距由 wb.js 按角色菜单宽度动态设成 --wb-menu-pad（管理员项多时会自动收紧） */
[data-slot$=menu-button]{width:auto;padding:0 var(--wb-menu-pad,14px);border-radius:0;color:#606770;position:relative}
[data-slot$=menu-button]:hover{color:#1f2329;background:transparent}
[data-slot$=menu-button][data-active]{color:#5b4fc4;background:transparent}
[data-slot$=menu-button][data-active]::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:#5b4fc4}
a[href="/dashboard/models"]{display:none}
[data-slot$=menu-button]>span{flex:none}
/* 只对下面这 4 项改名 —— 管理员菜单项（渠道/用户/兑换码…）保留原生文字，别跟着一起隐藏 */
:is(a[href$=overview],a[href$=keys],a[href$=common],a[href$=wallet])>span{font-size:0}
:is(a[href$=overview],a[href$=keys],a[href$=common],a[href$=wallet])>span::after{font-size:14px;color:inherit}
a[href$=overview]>span::after{content:"账户工作台"}
a[href$=keys]>span::after{content:"API 密钥"}
a[href$=common]>span::after{content:"使用记录"}
a[href$=wallet]>span::after{content:"余额与充值"}
[data-slot=sidebar-inset]{margin:0!important;border-radius:0!important;box-shadow:none!important;padding-top:53px!important}
[data-slot$=wrapper]{background:transparent!important}
body:has([data-slot=sidebar]) header nav a:not([href$=pricing]):not([href$=docs]){display:none}
/* 模型广场 / 使用指南：贴在本角色菜单末尾之后。
   位置由 wb.js 测量后写进 --wb-nav1 / --wb-nav2 —— 普通用户 4 项、管理员 12 项都不会撞 */
body:has([data-slot=sidebar]) header nav a[href$=pricing]{position:fixed;top:var(--app-header-height,48px);left:var(--wb-nav1,494px);height:45px;display:flex;align-items:center;padding:0 14px;font-size:14px;color:#606770;z-index:71;background:#fff}
body:has([data-slot=sidebar]) header nav a[href$=pricing]:hover{color:#1f2329}
/* 顶部导航的「文档」改名为「使用指南」 */
body:has([data-slot=sidebar]) header nav a[href$=docs]{position:fixed;top:var(--app-header-height,48px);left:var(--wb-nav2,586px);height:45px;display:flex;align-items:center;padding:0 14px;font-size:0;color:#606770;z-index:71;background:#fff}
body:has([data-slot=sidebar]) header nav a[href$=docs] *{font-size:0!important}
body:has([data-slot=sidebar]) header nav a[href$=docs]::after{content:"使用指南";font-size:14px}
body:has([data-slot=sidebar]) header nav a[href$=docs]:hover{color:#1f2329}
/* 当前页高亮（由 wb.js 在 body 上打 data-wb-page 标记） */
body[data-wb-page=docs] header nav a[href$=docs]{color:#5b4fc4!important;font-weight:600}
body[data-wb-page=pricing] header nav a[href$=pricing]{color:#5b4fc4!important;font-weight:600}
/* 未登录（官网首页头部）也把「文档」改名 —— 那里的文字是纯文本节点，没有 span */
header nav a[href$=docs]{font-size:0}
header nav a[href$=docs]::after{content:"使用指南";font-size:14px}
@media(max-width:767px){[data-slot=sidebar-inset]{padding-top:0!important}}
[data-slot=card]:has(input[readonly]){display:none}
