/* 一级端专属外层：苹果风、毛玻璃与动态总览，不改变员工/管理者页面。 */
#app-view.executive-shell[data-role="boss"],#app-view.executive-shell[data-role="operator"],#app-view.executive-shell[data-role="admin"]{--executive-ink:#18263d;--executive-muted:#61748d;--executive-blue:#2878e8;width:min(1500px,calc(100% - 32px));margin:16px auto 40px;color:var(--executive-ink)}
body:has(#app-view.executive-shell[data-role="boss"]),body:has(#app-view.executive-shell[data-role="operator"]),body:has(#app-view.executive-shell[data-role="admin"]){background:radial-gradient(circle at 5% 0%,rgba(163,209,255,.48),transparent 34%),radial-gradient(circle at 95% 10%,rgba(255,204,161,.38),transparent 30%),linear-gradient(145deg,#eef5ff 0%,#f8fbff 48%,#edf2fa 100%)}
/* 一级端背景：只替换页面底图，内部面板、控件和交互保持原样。 */
body:has(#app-view.executive-shell[data-role="boss"]),body:has(#app-view.executive-shell[data-role="operator"]),body:has(#app-view.executive-shell[data-role="admin"]){position:relative;isolation:isolate;background:#050b1e;overflow-x:hidden}
body:has(#app-view.executive-shell[data-role="boss"])::before,body:has(#app-view.executive-shell[data-role="operator"])::before,body:has(#app-view.executive-shell[data-role="admin"])::before{content:"";position:fixed;inset:-22%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 18% 18%,rgba(31,84,201,.82),transparent 36%),radial-gradient(ellipse at 82% 38%,rgba(0,165,210,.58),transparent 32%),radial-gradient(ellipse at 50% 86%,rgba(29,52,156,.8),transparent 38%),linear-gradient(135deg,#030616,#0a1a52 48%,#021c36);filter:saturate(115%);animation:executive-background-drift 22s ease-in-out infinite alternate}
body:has(#app-view.executive-shell[data-role="boss"])::after,body:has(#app-view.executive-shell[data-role="operator"])::after,body:has(#app-view.executive-shell[data-role="admin"])::after{content:"";position:fixed;inset:-28%;z-index:-1;pointer-events:none;opacity:.78;background:conic-gradient(from 205deg at 22% 58%,transparent 0deg,rgba(145,220,255,.08) 34deg,rgba(113,183,255,.74) 42deg,rgba(12,70,186,.18) 55deg,transparent 76deg,transparent 128deg,rgba(107,205,255,.7) 145deg,rgba(10,71,184,.12) 162deg,transparent 188deg,transparent 260deg,rgba(156,226,255,.68) 279deg,rgba(16,70,188,.08) 299deg,transparent 320deg);filter:blur(22px);transform:rotate(-8deg) scale(1.08);animation:executive-glass-fold 18s ease-in-out infinite alternate}
@keyframes executive-background-drift{0%{transform:translate3d(-2%,-1%,0) scale(1)}50%{transform:translate3d(2%,1%,0) scale(1.04)}100%{transform:translate3d(-1%,3%,0) scale(1.08)}}
@keyframes executive-glass-fold{0%{transform:rotate(-8deg) translate3d(-2%,1%,0) scale(1.08)}50%{transform:rotate(-3deg) translate3d(2%,-2%,0) scale(1.12)}100%{transform:rotate(-12deg) translate3d(-1%,3%,0) scale(1.06)}}
@media (prefers-reduced-motion: reduce){body:has(#app-view.executive-shell[data-role="boss"])::before,body:has(#app-view.executive-shell[data-role="operator"])::before,body:has(#app-view.executive-shell[data-role="admin"])::before,body:has(#app-view.executive-shell[data-role="boss"])::after,body:has(#app-view.executive-shell[data-role="operator"])::after,body:has(#app-view.executive-shell[data-role="admin"])::after{animation:none}}
/* 二级端只同步背景，不继承一级端的导航与面板改版。 */
body:has(#app-view.executive-shell[data-role="manager"]){position:relative;isolation:isolate;background:#050b1e;overflow-x:hidden}
body:has(#app-view.executive-shell[data-role="manager"])::before{content:"";position:fixed;inset:-22%;z-index:-2;pointer-events:none;background:radial-gradient(ellipse at 18% 18%,rgba(31,84,201,.82),transparent 36%),radial-gradient(ellipse at 82% 38%,rgba(0,165,210,.58),transparent 32%),radial-gradient(ellipse at 50% 86%,rgba(29,52,156,.8),transparent 38%),linear-gradient(135deg,#030616,#0a1a52 48%,#021c36);filter:saturate(115%);animation:executive-background-drift 22s ease-in-out infinite alternate}
body:has(#app-view.executive-shell[data-role="manager"])::after{content:"";position:fixed;inset:-28%;z-index:-1;pointer-events:none;opacity:.78;background:conic-gradient(from 205deg at 22% 58%,transparent 0deg,rgba(145,220,255,.08) 34deg,rgba(113,183,255,.74) 42deg,rgba(12,70,186,.18) 55deg,transparent 76deg,transparent 128deg,rgba(107,205,255,.7) 145deg,rgba(10,71,184,.12) 162deg,transparent 188deg,transparent 260deg,rgba(156,226,255,.68) 279deg,rgba(16,70,188,.08) 299deg,transparent 320deg);filter:blur(22px);transform:rotate(-8deg) scale(1.08);animation:executive-glass-fold 18s ease-in-out infinite alternate}
@media (prefers-reduced-motion: reduce){body:has(#app-view.executive-shell[data-role="manager"])::before,body:has(#app-view.executive-shell[data-role="manager"])::after{animation:none}}
/* 页签独立置顶：顶部账号栏正常参与文档流，避免两个 sticky 层互相遮挡。 */
#app-view.executive-shell[data-role="boss"] .topbar,#app-view.executive-shell[data-role="operator"] .topbar,#app-view.executive-shell[data-role="admin"] .topbar,#app-view.executive-shell[data-role="manager"] .topbar{position:relative;top:auto}
#app-view.executive-shell[data-role="boss"] .workspace-nav,#app-view.executive-shell[data-role="operator"] .workspace-nav,#app-view.executive-shell[data-role="admin"] .workspace-nav,#app-view.executive-shell[data-role="manager"] .workspace-nav{position:sticky;top:0;margin-top:12px;z-index:80}
/* 只保留玻璃的透明感，减少大面积 backdrop-filter 在长表格上的重绘。 */
#app-view.executive-shell[data-role="boss"]>.panel,#app-view.executive-shell[data-role="operator"]>.panel,#app-view.executive-shell[data-role="admin"]>.panel{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(255,255,255,.72)}
.executive-overview{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(232,243,255,.78)}
body:has(#app-view.executive-shell[data-role="boss"])::before,body:has(#app-view.executive-shell[data-role="operator"])::before,body:has(#app-view.executive-shell[data-role="admin"])::before,body:has(#app-view.executive-shell[data-role="manager"])::before{filter:none;animation-duration:42s;will-change:transform}
body:has(#app-view.executive-shell[data-role="boss"])::after,body:has(#app-view.executive-shell[data-role="operator"])::after,body:has(#app-view.executive-shell[data-role="admin"])::after,body:has(#app-view.executive-shell[data-role="manager"])::after{filter:blur(10px);animation-duration:36s;will-change:transform}
#app-view.executive-shell[data-role="boss"] .topbar,#app-view.executive-shell[data-role="operator"] .topbar,#app-view.executive-shell[data-role="admin"] .topbar{position:sticky;top:12px;z-index:40;min-height:76px;padding:14px 20px;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:rgba(255,255,255,.62);box-shadow:0 14px 38px rgba(76,103,145,.14),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%)}
#app-view.executive-shell[data-role="boss"] .topbar h1,#app-view.executive-shell[data-role="operator"] .topbar h1,#app-view.executive-shell[data-role="admin"] .topbar h1{color:var(--executive-ink);letter-spacing:-.04em}
#app-view.executive-shell[data-role="boss"] .workspace-nav,#app-view.executive-shell[data-role="operator"] .workspace-nav,#app-view.executive-shell[data-role="admin"] .workspace-nav{position:sticky;top:104px;z-index:35;display:flex;align-items:center;width:100%;min-height:62px;margin:12px 0 18px;padding:7px;overflow-x:auto;border:1px solid rgba(255,255,255,.78);border-radius:18px;background:rgba(244,248,255,.7);box-shadow:0 10px 30px rgba(74,101,142,.11);backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);scrollbar-width:thin}
#app-view.executive-shell[data-role="boss"] .workspace-nav .nav-tab,#app-view.executive-shell[data-role="operator"] .workspace-nav .nav-tab,#app-view.executive-shell[data-role="admin"] .workspace-nav .nav-tab{flex:0 0 auto;min-height:45px;border:1px solid transparent;border-radius:12px;color:#5b6f89;font-weight:750;transition:transform .2s ease,color .2s ease,background .2s ease,box-shadow .2s ease}
#app-view.executive-shell[data-role="boss"] .workspace-nav .nav-tab:hover,#app-view.executive-shell[data-role="operator"] .workspace-nav .nav-tab:hover,#app-view.executive-shell[data-role="admin"] .workspace-nav .nav-tab:hover{transform:translateY(-1px);color:var(--executive-blue);background:rgba(255,255,255,.65)}
#app-view.executive-shell[data-role="boss"] .workspace-nav .nav-tab.active,#app-view.executive-shell[data-role="operator"] .workspace-nav .nav-tab.active,#app-view.executive-shell[data-role="admin"] .workspace-nav .nav-tab.active{color:#1766d0;background:rgba(255,255,255,.9);border-color:rgba(109,165,230,.28);box-shadow:0 5px 14px rgba(61,120,191,.14),inset 0 1px 0 #fff}
#app-view.executive-shell[data-role="boss"]>.panel,#app-view.executive-shell[data-role="operator"]>.panel,#app-view.executive-shell[data-role="admin"]>.panel{border:1px solid rgba(255,255,255,.78);border-radius:24px;background:rgba(255,255,255,.62);box-shadow:0 18px 48px rgba(77,104,146,.12),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%)}
.executive-overview{position:relative;overflow:hidden;margin:0 0 18px;padding:22px;border:1px solid rgba(255,255,255,.88);border-radius:24px;background:linear-gradient(120deg,rgba(255,255,255,.76),rgba(232,243,255,.66));box-shadow:0 18px 48px rgba(78,110,158,.14),inset 0 1px 0 rgba(255,255,255,.95);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%)}
.executive-overview:after{content:"";position:absolute;width:260px;height:260px;right:-72px;top:-152px;border-radius:50%;background:radial-gradient(circle,rgba(115,186,255,.36),transparent 70%);pointer-events:none}.executive-overview-heading{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px}.executive-overview-heading h2{margin:3px 0 2px;color:#172b47;font-size:clamp(23px,2.4vw,34px);letter-spacing:-.04em}.executive-overview-heading>div:first-child>span{color:#6c819b;font-size:13px}.executive-live{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(98,145,203,.25);border-radius:999px;color:#527298;background:rgba(255,255,255,.66);font-size:11px;font-weight:800;white-space:nowrap}.executive-live i{width:7px;height:7px;border-radius:50%;background:#28bc86;box-shadow:0 0 0 4px rgba(40,188,134,.14);animation:executive-pulse 1.8s ease-out infinite}@keyframes executive-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.52;transform:scale(.72)}}
.executive-kpis{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.executive-kpi{min-height:116px;padding:16px;border:1px solid rgba(171,192,216,.28);border-radius:17px;background:rgba(255,255,255,.68);box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 8px 20px rgba(80,112,157,.08)}.executive-kpi span,.executive-kpi small{display:block;color:#6d8097;font-size:12px}.executive-kpi strong{display:block;margin:8px 0 4px;color:#1a304c;font-size:clamp(22px,3vw,32px);letter-spacing:-.04em}.executive-kpi small{color:#8a9aae}.executive-kpi.is-positive strong{color:#16835d}.executive-kpi.is-negative strong{color:#bb4d58}
@media(max-width:900px){.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#app-view.executive-shell[data-role="boss"],#app-view.executive-shell[data-role="operator"],#app-view.executive-shell[data-role="admin"]{width:calc(100% - 16px);margin-top:8px}.executive-overview{padding:16px}.executive-overview-heading{flex-direction:column}.executive-kpis{gap:8px}.executive-kpi{min-height:98px;padding:12px}.executive-kpi strong{font-size:21px}}
/* The fold renderer is a page-level background. Keeping it in its own layer
   means the existing cards and controls do not need to know about WebGL. */
#executive-glass-fold{position:fixed;inset:0;display:block;width:100%;height:100%;z-index:0;pointer-events:none;opacity:1}
#executive-glass-fold.is-unavailable{display:none}
body.has-executive-glass-fold{background:#06081e!important}
body.has-executive-glass-fold::before,body.has-executive-glass-fold::after{display:none!important}
body.has-executive-glass-fold .shell{position:relative;z-index:1}
@media (prefers-reduced-motion: reduce){#executive-glass-fold{opacity:.96}}

/* 一级端的工作区切换使用真正的顶部 Tabs：页签和账号栏属于同一块
   sticky chrome，滚动内容时仍然能随时切换，不再出现导航漂在面板之间。 */
#app-view.executive-shell[data-role="boss"] .topbar,
#app-view.executive-shell[data-role="operator"] .topbar,
#app-view.executive-shell[data-role="admin"] .topbar,
#app-view.executive-shell[data-role="manager"] .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand session" "tabs tabs";align-items:center;gap:12px 20px;position:sticky;top:12px;z-index:80;min-height:0;margin-bottom:18px}
#app-view.executive-shell[data-role="boss"] .topbar>div:first-child,
#app-view.executive-shell[data-role="operator"] .topbar>div:first-child,
#app-view.executive-shell[data-role="admin"] .topbar>div:first-child,
#app-view.executive-shell[data-role="manager"] .topbar>div:first-child{grid-area:brand;min-width:0}
#app-view.executive-shell[data-role="boss"] .topbar>.session,
#app-view.executive-shell[data-role="operator"] .topbar>.session,
#app-view.executive-shell[data-role="admin"] .topbar>.session,
#app-view.executive-shell[data-role="manager"] .topbar>.session{grid-area:session;align-self:start}
#app-view.executive-shell[data-role="boss"] .topbar>.workspace-nav,
#app-view.executive-shell[data-role="operator"] .topbar>.workspace-nav,
#app-view.executive-shell[data-role="admin"] .topbar>.workspace-nav,
#app-view.executive-shell[data-role="manager"] .topbar>.workspace-nav{grid-area:tabs;position:static;top:auto;width:100%;min-height:54px;margin:0;padding:6px;display:flex;align-items:center;gap:4px;overflow-x:auto;border:1px solid rgba(255,255,255,.76);border-radius:16px;background:rgba(244,248,255,.72);box-shadow:0 10px 28px rgba(74,101,142,.12);backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);scrollbar-width:thin}
#app-view.executive-shell .topbar{flex-wrap:wrap}
#app-view.executive-shell .topbar>.workspace-nav{flex:0 0 100%;order:3}
#app-view.executive-shell[data-role="boss"] .workspace-nav .nav-tab,
#app-view.executive-shell[data-role="operator"] .workspace-nav .nav-tab,
#app-view.executive-shell[data-role="admin"] .workspace-nav .nav-tab,
#app-view.executive-shell[data-role="manager"] .workspace-nav .nav-tab{flex:1 1 auto;min-height:42px;padding:9px 14px;border:1px solid transparent;border-radius:11px;white-space:nowrap}
#app-view.executive-shell[data-role="boss"] .workspace-nav .nav-tab.active,
#app-view.executive-shell[data-role="operator"] .workspace-nav .nav-tab.active,
#app-view.executive-shell[data-role="admin"] .workspace-nav .nav-tab.active,
#app-view.executive-shell[data-role="manager"] .workspace-nav .nav-tab.active{background:rgba(255,255,255,.94);box-shadow:0 5px 14px rgba(61,120,191,.14),inset 0 1px 0 #fff}
@media(max-width:760px){#app-view.executive-shell[data-role="boss"] .topbar,#app-view.executive-shell[data-role="operator"] .topbar,#app-view.executive-shell[data-role="admin"] .topbar,#app-view.executive-shell[data-role="manager"] .topbar{grid-template-columns:1fr;grid-template-areas:"brand" "session" "tabs";gap:10px}.topbar>.session{justify-content:flex-end}.workspace-nav .nav-tab{flex:0 0 auto!important}}

/* 功能页签与账号操作共用一张导航卡：左侧是工作区，中间预留扩展位，右侧是账号与快捷入口。 */
#app-view.executive-shell[data-role="boss"] .workspace-nav,
#app-view.executive-shell[data-role="operator"] .workspace-nav,
#app-view.executive-shell[data-role="admin"] .workspace-nav,
#app-view.executive-shell[data-role="manager"] .workspace-nav{gap:8px;overflow:visible}
#app-view.executive-shell .nav-primary{display:flex;align-items:center;gap:4px;min-width:0}
#app-view.executive-shell .nav-primary .nav-tab{flex:0 0 auto}
#app-view.executive-shell .nav-spacer{flex:1 1 auto;min-width:28px;height:1px}
#app-view.executive-shell .employee-scope-switch{display:none;align-items:center;flex:0 0 auto;padding:3px;border:1px solid rgba(111,151,199,.28);border-radius:12px;background:rgba(255,255,255,.42);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
#app-view.executive-shell[data-role="boss"] .employee-scope-switch,#app-view.executive-shell[data-role="operator"] .employee-scope-switch,#app-view.executive-shell[data-role="admin"] .employee-scope-switch,#app-view.executive-shell[data-role="manager"] .employee-scope-switch{display:flex}
#app-view.executive-shell .employee-scope-switch button{min-height:34px;padding:7px 11px;border:0;border-radius:9px;background:transparent;color:#607892;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;transition:color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
#app-view.executive-shell .employee-scope-switch button:hover{color:#1766d0;transform:translateY(-1px)}
#app-view.executive-shell .employee-scope-switch button.is-active{color:#1766d0;background:rgba(255,255,255,.96);box-shadow:0 3px 10px rgba(61,120,191,.16)}
.simulation-data-note{display:inline-flex;margin-left:10px;padding:3px 8px;border:1px solid rgba(180,126,35,.28);border-radius:999px;background:rgba(255,244,213,.72);color:#8b641d;font-size:11px;font-weight:800}

#app-view.executive-shell .nav-account{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;min-width:max-content}
#app-view.executive-shell .nav-account .alpha-workbench-link,
#app-view.executive-shell .nav-account .ghost,
#app-view.executive-shell .nav-account .logout-button{flex:0 0 auto}
#app-view.executive-shell .nav-account #current-user{display:inline-flex;align-items:center;gap:5px;max-width:180px;padding:9px 10px;border:1px solid rgba(111,151,199,.24);border-radius:10px;background:rgba(255,255,255,.42);color:#385674;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app-view.executive-shell .nav-account #current-user::before{content:"账号信息";color:#7189a4;font-size:11px;font-weight:800}
#app-view.executive-shell .nav-account .alpha-workbench-link{padding:9px 12px;border-radius:10px}
@media(max-width:1100px){#app-view.executive-shell .nav-spacer{min-width:12px}#app-view.executive-shell .nav-account #current-user{max-width:140px}}
@media(max-width:760px){#app-view.executive-shell .workspace-nav{align-items:stretch;flex-wrap:wrap;overflow:visible}.nav-primary{order:1;width:100%;overflow-x:auto}.nav-spacer{display:none}.employee-scope-switch{order:2}.nav-account{order:3;flex:1 1 auto;justify-content:flex-end;overflow-x:auto;padding-top:4px}.nav-account #current-user{max-width:180px!important}}

/* 一级/二级端不再显示旧的大标题卡，只留下账号区和普通顶部页签。 */
#app-view.executive-shell[data-role="boss"] .topbar,
#app-view.executive-shell[data-role="operator"] .topbar,
#app-view.executive-shell[data-role="admin"] .topbar,
#app-view.executive-shell[data-role="manager"] .topbar{grid-template-columns:1fr;grid-template-areas:"session" "tabs";padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#app-view.executive-shell[data-role="boss"] .topbar>div:first-child,
#app-view.executive-shell[data-role="operator"] .topbar>div:first-child,
#app-view.executive-shell[data-role="admin"] .topbar>div:first-child,
#app-view.executive-shell[data-role="manager"] .topbar>div:first-child{display:none}
#app-view.executive-shell[data-role="boss"] .topbar>.session,
#app-view.executive-shell[data-role="operator"] .topbar>.session,
#app-view.executive-shell[data-role="admin"] .topbar>.session,
#app-view.executive-shell[data-role="manager"] .topbar>.session{justify-content:flex-end}

/* 摘要卡只保留三项：当日收益、公司累计收益和日期选择。旧的经营总览
   标题层不再占位，避免顶部出现第二块大标题卡。 */
#executive-overview .executive-overview-heading{display:none}
#executive-overview .executive-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#executive-overview .executive-kpi{min-height:88px;padding:13px 16px;border-radius:15px}
#executive-overview .executive-kpi strong{margin:5px 0 3px;font-size:clamp(20px,2.4vw,28px)}
#executive-overview .executive-date-kpi{display:grid;grid-template-columns:auto minmax(145px,1fr);grid-template-rows:auto auto;align-items:center;column-gap:12px}
#executive-overview .executive-date-kpi>span{grid-column:1;grid-row:1}
#executive-overview .executive-date-kpi>input{grid-column:2;grid-row:1;width:100%;min-width:0;padding:8px 10px;border:1px solid rgba(108,157,214,.32);border-radius:10px;background:rgba(255,255,255,.78);color:#1a304c;font:inherit;font-weight:700}
#executive-overview .executive-date-kpi>small{grid-column:1/-1;grid-row:2;margin-top:5px}
@media(max-width:760px){#executive-overview .executive-kpis{grid-template-columns:1fr}#executive-overview .executive-kpi{min-height:78px}}

/* 旧版“当日收益 · 公司累计收益”双卡片已被顶部三张摘要卡替代。保留
   同源的今日持仓内容，但去掉旧标题、轮播卡和外层空白容器。 */
#app-view.executive-shell[data-role="boss"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="operator"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="admin"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="manager"] .dashboard-summary-panel{padding:0;border:0;background:transparent;box-shadow:none}
#app-view.executive-shell[data-role="boss"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="operator"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="admin"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="manager"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="boss"] #ledger-company-summary,
#app-view.executive-shell[data-role="operator"] #ledger-company-summary,
#app-view.executive-shell[data-role="admin"] #ledger-company-summary,
#app-view.executive-shell[data-role="manager"] #ledger-company-summary{display:none!important}
#app-view.executive-shell[data-role="boss"] .dashboard-summary-panel .daily-holdings-panel,
#app-view.executive-shell[data-role="operator"] .dashboard-summary-panel .daily-holdings-panel,
#app-view.executive-shell[data-role="admin"] .dashboard-summary-panel .daily-holdings-panel,
#app-view.executive-shell[data-role="manager"] .dashboard-summary-panel .daily-holdings-panel{margin-top:0;padding-top:18px;border-top:1px solid rgba(255,255,255,.55)}
#app-view.executive-shell[data-role="boss"] .topbar,
#app-view.executive-shell[data-role="operator"] .topbar,
#app-view.executive-shell[data-role="admin"] .topbar,
#app-view.executive-shell[data-role="manager"] .topbar{margin-bottom:8px}

/* 摘要回到数据展示卡内部，顶部独立摘要区不再占位。 */
#executive-overview{display:none!important}
#app-view.executive-shell[data-role="boss"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="operator"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="admin"] .dashboard-summary-panel,
#app-view.executive-shell[data-role="manager"] .dashboard-summary-panel{padding:16px;border:1px solid rgba(255,255,255,.76);border-radius:20px;background:rgba(255,255,255,.64);box-shadow:0 18px 48px rgba(77,104,146,.12),inset 0 1px 0 rgba(255,255,255,.9);backdrop-filter:blur(24px) saturate(135%);-webkit-backdrop-filter:blur(24px) saturate(135%)}
#app-view.executive-shell[data-role="boss"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="operator"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="admin"] .dashboard-summary-panel>div:first-child,
#app-view.executive-shell[data-role="manager"] .dashboard-summary-panel>div:first-child{display:block!important}
#app-view.executive-shell[data-role="boss"] #ledger-company-summary,
#app-view.executive-shell[data-role="operator"] #ledger-company-summary,
#app-view.executive-shell[data-role="admin"] #ledger-company-summary,
#app-view.executive-shell[data-role="manager"] #ledger-company-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}
#app-view.executive-shell[data-role="boss"] .dashboard-earnings-card,
#app-view.executive-shell[data-role="operator"] .dashboard-earnings-card,
#app-view.executive-shell[data-role="admin"] .dashboard-earnings-card,
#app-view.executive-shell[data-role="manager"] .dashboard-earnings-card{min-height:250px;padding:16px;border:1px solid rgba(45,74,45,.22);border-radius:12px;background:#fffdf8;box-shadow:0 8px 22px rgba(45,74,45,.08)}
#app-view.executive-shell[data-role="boss"] .dashboard-earnings-card.company-card,
#app-view.executive-shell[data-role="operator"] .dashboard-earnings-card.company-card,
#app-view.executive-shell[data-role="admin"] .dashboard-earnings-card.company-card,
#app-view.executive-shell[data-role="manager"] .dashboard-earnings-card.company-card{border-color:rgba(139,105,20,.48);background:#fffaf1}
.dashboard-date-field{display:block;margin-top:22px}.dashboard-date-field input{width:100%;min-height:44px;padding:9px 10px;border:1px solid rgba(109,145,190,.34);border-radius:8px;background:#f8fbff;color:#1a304c;font:inherit;font-weight:700}.dashboard-date-weekday{display:block;margin-top:14px;color:#6f86a2;font-size:13px}
@media(max-width:900px){#app-view.executive-shell[data-role="boss"] #ledger-company-summary,#app-view.executive-shell[data-role="operator"] #ledger-company-summary,#app-view.executive-shell[data-role="admin"] #ledger-company-summary,#app-view.executive-shell[data-role="manager"] #ledger-company-summary{grid-template-columns:1fr 1fr}}
@media(max-width:620px){#app-view.executive-shell[data-role="boss"] #ledger-company-summary,#app-view.executive-shell[data-role="operator"] #ledger-company-summary,#app-view.executive-shell[data-role="admin"] #ledger-company-summary,#app-view.executive-shell[data-role="manager"] #ledger-company-summary{grid-template-columns:1fr}}

/* Performance mode must stay last: later visual rules must not restore costly
   page-sized backdrop blurs while the sticky chrome is moving. */
#app-view.executive-shell[data-role="boss"]>.panel,
#app-view.executive-shell[data-role="operator"]>.panel,
#app-view.executive-shell[data-role="admin"]>.panel,
#app-view.executive-shell[data-role="manager"]>.panel{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(247,250,255,.88)!important}
#app-view.executive-shell .topbar,
#app-view.executive-shell .topbar>.workspace-nav,
#app-view.executive-shell .dashboard-summary-panel,
#app-view.executive-shell .executive-overview{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#app-view.executive-shell .topbar>.workspace-nav{background:rgba(240,247,255,.94)!important}
#app-view.executive-shell .dashboard-summary-panel{background:rgba(247,250,255,.91)!important}
#executive-glass-fold{contain:strict;transform:translateZ(0)}
