/* 用户提供的ZLAIX品牌母版；业务路由与功能保持原有结构。 */
.app>header .brand.zlaix-brand{align-items:center;justify-content:flex-start;min-width:218px;padding:0 22px 0 8px;height:58px;overflow:hidden}
.app>header .brand.zlaix-brand>img{width:196px;height:64px;object-fit:contain;transform:scale(1.4);transform-origin:left center;display:block}
body[data-theme="zlaix-blue"]{--bg:#071522;--bg2:#081925;--card:#0c2131;--card2:#102b3e;--ink:#edf5ff;--muted:#a9bdcd;--soft:#7895a8;--line:#203e50;--line2:#315c73;--accent:#53d6ed;--accent-2:#8a88ff;--accent-rgb:83,214,237;--accent-2-rgb:138,136,255;--accent-contrast:#061522;--accent-soft:rgba(83,214,237,.12);--accent-border:rgba(83,214,237,.32);--surface-muted:#0c2131;--surface-muted-strong:#102b3e;--surface-active:#143748;--button-primary-bg:linear-gradient(120deg,#48d9ec,#6b9bff);--button-primary-shadow:0 6px 20px rgba(56,157,237,.12);--input-focus-border:#53cde9;--scrollbar-thumb:#315168;--body-bg:#071522;--shadow:0 12px 32px #020a1433}
body[data-theme="zlaix-blue"] .app>header{background:#081724;border-bottom-color:#203b4d;box-shadow:none}
body[data-theme="zlaix-blue"] .navgroup.on{background:#133b4b;border-color:#2b7189;box-shadow:none}
body[data-theme="zlaix-blue"] .navgroup{color:#a6bdcd}
body[data-theme="zlaix-blue"] .rail,body[data-theme="zlaix-blue"] .mc-side{background:#091c2a}
body[data-theme="zlaix-blue"] .il-vault,body[data-theme="zlaix-blue"] .cl-root{background:#071522;color:#eaf4ff;--il-bg:#071522;--il-panel:#0b2030;--il-line:#244355}
body[data-theme="zlaix-blue"] .cl-root>header,body[data-theme="zlaix-blue"] .il-sidebar,body[data-theme="zlaix-blue"] .il-related{background:#0a1e2c}
body[data-theme="zlaix-blue"] .cl-primary,body[data-theme="zlaix-blue"] .il-primary{background:linear-gradient(120deg,#48d9ec,#6b9bff);color:#061522}
.banshan-logo-slot .banshan-brand-logo{display:none}
body[data-theme="zlaix-blue"] .banshan-brand-logo.logo-tech-dark{display:block}
@media(max-width:1000px){.app>header .brand.zlaix-brand{min-width:165px;padding-right:12px}.app>header .brand.zlaix-brand>img{width:150px;height:52px}}
@media(max-width:600px){.app>header .brand.zlaix-brand{min-width:124px;padding-left:0;padding-right:8px}.app>header .brand.zlaix-brand>img{width:120px;height:46px}}
/* 蓝紫品牌升级：色彩集中在操作与选中态，深蓝承载内容。 */
body[data-theme="zlaix-blue"]{--accent:#7d8dff;--accent-2:#b277ff;--accent-rgb:125,141,255;--accent-2-rgb:178,119,255;--accent-soft:rgba(125,141,255,.13);--accent-border:rgba(137,137,255,.36);--line:#26354f;--line2:#465583;--success:#70b2ff;--button-primary-bg:linear-gradient(120deg,#37d5f5 0%,#587dff 48%,#a568f1 100%);--body-bg:#080f21}
body[data-theme="zlaix-blue"] .app>header{background:linear-gradient(110deg,#0a1426,#10172d 65%,#17152e);border-bottom:1px solid #364062;box-shadow:0 3px 24px #02061266}
body[data-theme="zlaix-blue"] .navgroup.on{background:linear-gradient(120deg,#25496588,#4e398d66);border-color:#7785d699;box-shadow:inset 0 1px #b5c5ff20,0 0 16px #596cf719;color:#f4f6ff}
body[data-theme="zlaix-blue"] .navgroup:hover{border-color:#7182c1;background:#263053;color:#fff}
body[data-theme="zlaix-blue"] .site-theme-btn{border-color:#5965a0;background:#181f39;color:#e9e8ff}
body[data-theme="zlaix-blue"] .btn.gold{background:var(--button-primary-bg);color:#fff;border-color:#8b91ee;box-shadow:0 4px 18px #6d5df433}
body[data-theme="zlaix-blue"] .mc-side{background:linear-gradient(180deg,#0c172b,#11152a)}
body[data-theme="zlaix-blue"] :is(.cl-root,.il-vault){background:radial-gradient(ellipse at 85% 0%,#27204a55,transparent 55%),#0a1224;--il-bg:#0a1224;--il-panel:#101c32;--il-line:#303f5e;--il-accent:#9795ff}
body[data-theme="zlaix-blue"] :is(.cl-primary,.il-primary){background:var(--button-primary-bg);color:#fff;box-shadow:0 4px 16px #7860f433}
body[data-theme="zlaix-blue"] :is(button,a):focus-visible{outline:2px solid #a799ff;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body[data-theme="zlaix-blue"] *{scroll-behavior:auto!important;transition:none!important}}

/* Logo 区与工作台侧栏共用边界；按原图可见区域居中，保留透明母版。 */
@media(min-width:1001px){
 .app>header{padding-left:0}
 .app>header .brand.zlaix-brand{position:relative;box-sizing:border-box;flex:0 0 var(--zlaix-sidebar-width,280px);width:var(--zlaix-sidebar-width,280px);min-width:0;padding:0;height:58px}
 .app>header .brand.zlaix-brand>img{position:absolute;width:283px;height:auto;max-width:none;left:50%;top:50%;transform:translate(-34.140625%,-52.857143%);transform-origin:center}
}
/* 全站组件共用的蓝紫语义色；其它主题继续使用组件原有 fallback。 */
body[data-theme="zlaix-blue"]{
 --zl-canvas:#080f21;--zl-surface:#101a30;--zl-raised:#1b2843;
 --zl-border:#394966;--zl-dim:#8393b2;--zl-accent-strong:#777de0;
 --zl-accent:#a39aff;--zl-muted:#a4b1ca;--zl-text-soft:#cad4ea;--zl-text:#f0f3ff;
}
body[data-theme="zlaix-blue"] .bs-skill-page :is(header.bs-skill-market-heading,header.bs-skill-library-heading){background:radial-gradient(ellipse at 85% 20%,#6e43bc55,transparent 55%),radial-gradient(ellipse at 55% 80%,#2454a24d,transparent 55%),linear-gradient(115deg,#101d36,#191b3d)!important;border-color:var(--zl-border)}
body[data-theme="zlaix-blue"] :is(.bs-skill-page,.bs-preview-overlay) button.bs-skill-primary,
body[data-theme="zlaix-blue"] .cl-primary{background:var(--button-primary-bg)!important;border-color:#8e8ce0!important;color:#fff!important}
body[data-theme="zlaix-blue"] .bs-skill-empty-symbol{background:#303158;color:#b4a3ff}
body[data-theme="zlaix-blue"] .bs-skill-page :is(.bs-skill-filter[aria-pressed=true],.bs-creator-nav button.selected){background:#323354;color:#e5dfff;border-color:#8e80d3}
body[data-theme="zlaix-blue"] .il-vault{--vault-accent:#a399ff;--vault-muted:#acb8d0;--vault-dim:#657696}
body[data-theme="zlaix-blue"] :is(.bs-st,.bs-st-mask){--accent:#a39aff;--accent-rgb:163,154,255}
body[data-theme="zlaix-blue"]{--bg:#080f21;--bg2:#0d172b;--card:#101a30;--card2:#1b2843;--surface-muted:#101a30;--surface-muted-strong:#1b2843;--surface-active:#292b4d;--muted:#a4b1ca;--soft:#8393b2;--input-focus-border:#a399ff;--scrollbar-thumb:#46547a}
body[data-theme="zlaix-blue"] :is(.cl-root>header,.il-sidebar,.il-related,.rail,.mc-side){background:#101a30}

/* 所有嵌套滚动容器随品牌主题，避免系统浅色轨道刺眼。 */
body[data-theme="zlaix-blue"]{color-scheme:dark}
body[data-theme="zlaix-blue"],body[data-theme="zlaix-blue"] *{scrollbar-width:thin;scrollbar-color:#46547a #101a30}
body[data-theme="zlaix-blue"] ::-webkit-scrollbar{width:8px;height:8px}
body[data-theme="zlaix-blue"] ::-webkit-scrollbar-track,body[data-theme="zlaix-blue"] ::-webkit-scrollbar-corner{background:#101a30}
body[data-theme="zlaix-blue"] ::-webkit-scrollbar-thumb{background:#46547a;border:2px solid #101a30;border-radius:8px}
body[data-theme="zlaix-blue"] ::-webkit-scrollbar-thumb:hover{background:#7d8dff}
body[data-theme="zlaix-blue"] input[type="range"]{accent-color:#9188ff}
#shangmouRoot .task-status-cell .error{overflow-wrap:anywhere;white-space:normal;max-width:100%;box-sizing:border-box}

/* 横向导航保留触控板、触屏和键盘滚动，不占用可见滚动条空间。
   放在主题通用 scrollbar 规则之后，避免主题重新显示导航滚动条。 */
body :is(.navgroups,.bs-skill-market-chips,.bs-skill-tabs,.brain-profile-grid,.qv-cats,.rail-list,.pr-thumbs,.cl-root .il-nav){scrollbar-width:none;-ms-overflow-style:none}
body :is(.navgroups,.bs-skill-market-chips,.bs-skill-tabs,.brain-profile-grid,.qv-cats,.rail-list,.pr-thumbs,.cl-root .il-nav)::-webkit-scrollbar{display:none;width:0;height:0}
