/* Embedded font declarations remove a render-blocking stylesheet request. */
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:300;font-display:swap;src:url(https://gstatic.loli.net/s/notosanssc/v41/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaG4HFnYw.ttf) format('truetype')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:400;font-display:swap;src:url(https://gstatic.loli.net/s/notosanssc/v41/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaG9_FnYw.ttf) format('truetype')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:500;font-display:swap;src:url(https://gstatic.loli.net/s/notosanssc/v41/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaG-3FnYw.ttf) format('truetype')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:600;font-display:swap;src:url(https://gstatic.loli.net/s/notosanssc/v41/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaGwHCnYw.ttf) format('truetype')}
@font-face{font-family:'Noto Sans SC';font-style:normal;font-weight:700;font-display:swap;src:url(https://gstatic.loli.net/s/notosanssc/v41/k3kCo84MPvpLmixcA63oeAL7Iqp5IZJF9bmaGzjCnYw.ttf) format('truetype')}
@font-face{font-family:'Orbitron';font-style:normal;font-weight:400;font-display:swap;src:url(https://gstatic.loli.net/s/orbitron/v35/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyGy6xpg.ttf) format('truetype')}
@font-face{font-family:'Orbitron';font-style:normal;font-weight:500;font-display:swap;src:url(https://gstatic.loli.net/s/orbitron/v35/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyKS6xpg.ttf) format('truetype')}
@font-face{font-family:'Orbitron';font-style:normal;font-weight:600;font-display:swap;src:url(https://gstatic.loli.net/s/orbitron/v35/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1nyxSmxpg.ttf) format('truetype')}
@font-face{font-family:'Orbitron';font-style:normal;font-weight:700;font-display:swap;src:url(https://gstatic.loli.net/s/orbitron/v35/yMJMMIlzdpvBhQQL_SC3X9yhF25-T1ny_Cmxpg.ttf) format('truetype')}
:root{
  --bg:#060e1a;--bg-panel:rgba(8,18,36,0.92);--cyan:#00d4ff;--cyan-dim:#0088aa;
  --purple:#a855f7;--green:#00e5a0;--orange:#ff9f43;--red:#ff6b6b;--pink:#f472b6;
  --text-primary:#e8f4f8;--text-secondary:#94a3b8;--text-dim:#5a6f84;
  --border:rgba(0,212,255,0.18);--border-hover:rgba(0,212,255,0.4);
  --font-display:'Orbitron',monospace;--font-body:'Noto Sans SC',sans-serif;
  --radius:8px;
  --ink:#123448;--deep:#083c33;--muted:#5f7886;--paper:#fbfcf8;--aqua:#dff6fb;
  --aqua-strong:#b9e7ef;--lotus:#e7a9bb;--gold:#b78e55;--line:rgba(18,52,72,.14);
  --line-strong:rgba(18,52,72,.30);--shadow:0 28px 80px rgba(31,92,115,.16);
  --shadow-sm:0 18px 46px rgba(44,88,105,.10);--card:rgba(255,255,255,.72);
  --c1:#083c33;--c2:#123448;--c3:#b78e55;--c4:#b06a4a;--c5:#c47a8a;--c6:#6b8e7f;--c7:#8a6b8c;--c8:#2a8a8a;
  --grid:rgba(18,52,72,.10);--grid-strong:rgba(18,52,72,.22);--target:rgba(183,142,85,.85);--series-area:rgba(56,189,248,.22);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html,body{width:100%;height:100%;overflow:hidden;font-family:var(--font-body);font-size:13px;color:var(--text-primary);background:var(--bg)}
#dashboardScaleRoot{position:fixed;left:50%;top:50%;width:1920px;height:1080px;overflow:hidden;transform:translate(-50%,-50%) scale(var(--dashboard-scale,1));transform-origin:center center}
#dashboardScaleRoot .bg-grid{position:absolute}
#dashboardScaleRoot .sidebar{position:absolute}
#dashboardScaleRoot .main-wrap{position:absolute}

/* BG Grid */
.bg-grid{position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(rgba(0,212,255,0.025) 1px,transparent 1px),linear-gradient(90deg,rgba(0,212,255,0.025) 1px,transparent 1px);background-size:40px 40px}
.bg-grid::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 0%,rgba(0,212,255,0.05) 0%,transparent 60%)}

/* Sidebar - Collapsible */
.sidebar{position:fixed;left:0;top:0;bottom:0;width:180px;z-index:1000;
  background:linear-gradient(180deg,rgba(0,212,255,0.06),rgba(0,212,255,0.02));
  border-right:1px solid var(--border);transition:width 0.35s cubic-bezier(0.4,0,0.2,1);overflow:hidden;display:flex;flex-direction:column}
.sidebar.collapsed{width:48px}
.sidebar-inner{flex:1;width:180px;padding:16px 12px;display:flex;flex-direction:column;gap:4px;opacity:1;transition:opacity 0.25s}
.sidebar.collapsed .sidebar-inner{opacity:0;pointer-events:none}
.sidebar-icons{width:48px;height:100%;padding:16px 8px;display:flex;flex-direction:column;gap:8px;align-items:center;position:absolute;left:0;top:0;opacity:0;transition:opacity 0.25s;pointer-events:none}
.sidebar.collapsed .sidebar-icons{opacity:1;pointer-events:auto}
.sidebar-brand{display:flex;align-items:center;gap:8px;padding:8px 4px 16px;border-bottom:1px solid var(--border);margin-bottom:8px}
.sidebar.collapsed .sidebar-brand{padding:8px 0 16px;justify-content:center;border-bottom:none}
.sidebar-brand .logo{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--cyan),var(--purple));display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;flex-shrink:0}
.sidebar-brand .brand-text{font-size:14px;font-weight:600;color:var(--text-primary);white-space:nowrap}
.sidebar.collapsed .brand-text{display:none}
.nav-item{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius);cursor:pointer;color:var(--text-secondary);font-size:13px;transition:all 0.3s;border-left:3px solid transparent;text-decoration:none;white-space:nowrap}
.nav-item:hover,.nav-item.active{background:rgba(0,212,255,0.08);color:var(--cyan);border-left-color:var(--cyan)}
.nav-item svg{flex-shrink:0;width:18px;height:18px}
.nav-item span{opacity:1;transition:opacity 0.2s}
.sidebar.collapsed .nav-item span{display:none}
.sidebar.collapsed .nav-item{padding:10px;border-left:none;justify-content:center}

/* Icon-only nav items for collapsed state */
.nav-icon-only{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--text-dim);cursor:pointer;transition:all 0.3s;margin-bottom:4px}
.nav-icon-only:hover,.nav-icon-only.active{background:rgba(0,212,255,0.12);color:var(--cyan)}
.nav-icon-only svg{width:18px;height:18px}

/* Collapse toggle button */
.collapse-btn{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;
  background:rgba(0,212,255,0.1);border:1px solid rgba(0,212,255,0.2);color:var(--cyan);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:12px;transition:all 0.3s;z-index:10}
.collapse-btn:hover{background:rgba(0,212,255,0.25)}

/* Main */
.main-wrap{position:fixed;left:180px;top:0;right:0;bottom:0;display:flex;flex-direction:column;transition:left 0.35s cubic-bezier(0.4,0,0.2,1);z-index:1}
.sidebar.collapsed ~ .main-wrap{left:48px}

/* Header */
.top-header{height:52px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:linear-gradient(180deg,rgba(8,18,36,0.95),rgba(8,18,36,0.8));border-bottom:1px solid var(--border);position:relative}
.top-header::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--cyan),var(--purple),transparent)}
.header-title{font-family:var(--font-display);font-size:18px;font-weight:600;background:linear-gradient(135deg,var(--cyan),var(--purple));-webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:2px}
.header-sub{font-size:10px;color:var(--text-dim);letter-spacing:3px;text-transform:uppercase}
.clock{display:flex;flex-direction:column;align-items:flex-end}
.clock .time{font-family:var(--font-display);font-size:16px;color:var(--cyan);font-weight:500}
.clock .date{font-size:10px;color:var(--text-dim)}


/* ===== Global Search ===== */
.global-search{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:320px;height:36px;display:flex;align-items:center;z-index:20;background:rgba(8,18,36,0.72);border:1px solid rgba(0,212,255,0.22);border-radius:18px;box-shadow:0 0 18px rgba(0,212,255,0.08);overflow:hidden;backdrop-filter:blur(6px)}
.global-search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--text-primary);font-size:12px;padding:0 10px 0 14px;font-family:var(--font-body)}
.global-search input::placeholder{color:var(--text-dim)}
.global-search button{width:54px;height:26px;margin-right:5px;border:1px solid rgba(0,212,255,0.22);border-radius:14px;background:rgba(0,212,255,0.10);color:var(--cyan);font-size:11px;cursor:pointer;font-family:var(--font-body);transition:all .2s}
.global-search button:hover{background:rgba(0,212,255,0.18);border-color:rgba(0,212,255,0.38)}
.search-results-view{animation:fadeIn .25s ease-out}.search-summary{font-size:11px;color:var(--text-secondary);margin:6px 0 10px}.search-summary b{color:var(--cyan)}
.search-group{margin-bottom:12px}.search-group-title{display:flex;align-items:center;gap:6px;color:var(--cyan);font-size:12px;font-weight:700;margin-bottom:7px}.search-group-count{color:var(--text-dim);font-size:10px;font-weight:400}
.search-result-card{padding:9px 10px;margin-bottom:7px;border-radius:7px;background:rgba(0,212,255,0.04);border:1px solid rgba(0,212,255,0.10);cursor:pointer;transition:all .18s}.search-result-card:hover{border-color:rgba(0,212,255,0.32);background:rgba(0,212,255,0.08);transform:translateX(2px)}
.search-result-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.search-result-name{font-size:12px;color:var(--text-primary);font-weight:700;line-height:1.35}.search-result-type{font-size:10px;color:var(--cyan);padding:1px 6px;border-radius:4px;background:rgba(0,212,255,0.08);border:1px solid rgba(0,212,255,0.12);white-space:nowrap}
.search-result-desc{font-size:10px;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.search-empty{height:100%;display:flex;align-items:center;justify-content:center;color:var(--text-dim);font-size:12px;text-align:center;line-height:1.8}

/* Stats */
.stats-bar{height:68px;flex-shrink:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px 10px;transition:padding-left 0.35s cubic-bezier(0.4,0,0.2,1)}
body.performance-page-active .stats-bar,body.kb-page-active .stats-bar{display:none}
.stat-card{display:flex;align-items:center;gap:12px;padding:0 16px;border-radius:var(--radius);background:var(--bg-panel);border:1px solid var(--border);transition:all 0.3s;position:relative;overflow:hidden;min-width:0}
.stat-card::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background:linear-gradient(180deg,var(--cyan),var(--purple))}
.stat-card:hover{border-color:var(--border-hover);box-shadow:0 0 20px rgba(0,212,255,0.15)}
.stat-icon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(0,212,255,0.08);border:1px solid rgba(0,212,255,0.15);color:var(--cyan);font-size:16px;flex-shrink:0}
.stat-body{flex:1;min-width:0}
.stat-label{font-size:11px;color:var(--text-dim);white-space:nowrap}
.stat-value{font-family:var(--font-display);font-size:20px;font-weight:600;color:var(--cyan);line-height:1}
.stat-desc{font-size:10px;color:var(--text-dim);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Content Grid */
.content-grid{flex:1;display:grid;grid-template-columns:220px minmax(0,7fr) minmax(0,3fr);grid-template-rows:1fr;gap:10px;padding:0 10px 10px;overflow:hidden}
.content-grid>*{min-width:0}

/* Left Sidebar (Collapsible) */
.left-sidebar{position:relative;display:flex;flex-direction:column;overflow:hidden;transition:all 0.35s}
.left-sidebar.collapsed{width:48px;min-width:48px}
.left-inner{flex:1;display:flex;flex-direction:column;gap:10px;overflow:hidden;opacity:1;transition:opacity 0.25s;width:220px}
.left-sidebar.collapsed .left-inner{opacity:0;width:0;overflow:hidden}
.left-icons{position:absolute;left:0;top:0;width:48px;padding:16px 8px;display:flex;flex-direction:column;gap:12px;align-items:center;opacity:0;pointer-events:none;transition:opacity 0.25s}
.left-sidebar.collapsed .left-icons{opacity:1;pointer-events:auto}
.left-icon-item{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--text-dim);cursor:pointer;transition:all 0.3s;background:rgba(0,212,255,0.05);border:1px solid rgba(0,212,255,0.1)}
.left-icon-item:hover,.left-icon-item.active{background:rgba(0,212,255,0.12);color:var(--cyan);border-color:rgba(0,212,255,0.2)}
.left-collapse-btn{position:fixed;bottom:12px;left:82px;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;background:rgba(0,212,255,0.1);border:1px solid rgba(0,212,255,0.2);color:var(--cyan);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px;transition:all 0.3s;z-index:1001}
.left-collapse-btn:hover{background:rgba(0,212,255,0.25)}

/* Knowledge Base Container */
.kb-container{flex:1;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:var(--bg-panel);position:relative}
.kb-container.kb-wide{grid-column:2 / 4;min-width:0}

/* Panel */
.panel{background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--radius);display:flex;flex-direction:column;overflow:hidden;position:relative;transition:all 0.3s}
.panel::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--cyan),var(--purple),transparent);opacity:0.6}
.panel:hover{border-color:var(--border-hover)}
.panel-header{padding:10px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,212,255,0.08);flex-shrink:0}
.panel-title{font-size:13px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:8px}
.panel-title .bar{width:3px;height:14px;border-radius:2px;background:linear-gradient(180deg,var(--cyan),var(--purple))}
.panel-sub{font-size:10px;color:var(--text-dim);font-family:var(--font-display)}
.panel-body{flex:1;overflow-y:auto;padding:10px 12px;position:relative}
.panel-body::-webkit-scrollbar{width:3px}
.panel-body::-webkit-scrollbar-thumb{background:rgba(0,212,255,0.2);border-radius:2px}
.performance-body{padding:0;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.performance-filter-bar{position:sticky;top:0;z-index:100;background:rgba(8,18,36,0.96);border-bottom:1px solid rgba(0,212,255,0.1);padding:12px 14px;backdrop-filter:blur(10px)}
.performance-filter-row{display:grid;grid-template-columns:0.8fr 1fr 1fr auto;gap:10px;margin-bottom:10px;align-items:end}
.performance-filter-row:last-child{grid-template-columns:1.1fr 1.4fr 1.4fr auto auto;margin-bottom:0}
.performance-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.performance-field label{font-size:10px;color:var(--text-dim)}
.performance-field select,.performance-field input{height:32px;border:1px solid rgba(0,212,255,0.16);border-radius:8px;background:rgba(255,255,255,0.04);color:var(--text-primary);font-size:12px;padding:0 10px;outline:none;min-width:0}
.performance-field select option,.transparent-select option{background:#0B1E35;color:#EAF6FF}
.performance-field select option:checked,.transparent-select option:checked{background:#1F6EA8;color:#FFFFFF}
.performance-field select:focus,.performance-field input:focus{border-color:rgba(0,212,255,0.45);box-shadow:0 0 0 2px rgba(0,212,255,0.08)}
.performance-week-picker{position:relative}
.performance-week-input{width:100%;text-align:left;cursor:pointer}
.performance-week-popover{position:absolute;top:38px;left:0;width:238px;background:#f8fafc;color:#0f172a;border:1px solid #d7dde8;border-radius:2px;box-shadow:0 12px 28px rgba(0,0,0,0.35);padding:8px;z-index:180;display:none}
.performance-week-popover.open{display:block}
.performance-month-picker{position:relative}
.performance-month-input{width:100%;text-align:left;cursor:pointer}
.performance-month-popover{position:absolute;top:38px;left:0;width:232px;background:#f8fafc;color:#0f172a;border:1px solid #d7dde8;border-radius:2px;box-shadow:0 12px 28px rgba(0,0,0,0.35);padding:8px;z-index:181;display:none}
.performance-month-popover.open{display:block}
.performance-date-picker{position:relative}
.performance-date-input{width:100%;text-align:left;cursor:pointer}
.performance-date-popover{position:absolute;top:38px;right:0;width:574px;background:#fff;color:#0f172a;border:1px solid #d7dde8;border-radius:2px;box-shadow:0 12px 28px rgba(0,0,0,0.35);padding:0;z-index:182;display:none}
.performance-date-popover.open{display:block}
.date-range-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:44px;border-bottom:1px solid #e5e7eb;color:#94a3b8;font-size:13px}
.date-range-head span{padding:0 16px}
.date-range-head .dash{padding:0;color:#cbd5e1}
.date-dual-calendar{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:8px 16px 10px}
.date-calendar-head{display:flex;align-items:center;justify-content:center;gap:10px;height:34px;font-size:13px;font-weight:600;color:#1e293b}
.date-calendar-head .left-nav{margin-right:auto}
.date-calendar-head .right-nav{margin-left:auto}
.date-picker-foot{height:28px;display:flex;align-items:center;justify-content:center;border-top:1px solid #e5e7eb;color:#cbd5e1;font-size:12px}
.date-picker-cell.in-range{background:#dbeafe;color:#0f172a}
.date-picker-cell.range-start,.date-picker-cell.range-end{background:#0ea5e9;color:#fff}
.month-picker-head{display:flex;align-items:center;justify-content:center;gap:10px;height:28px;font-size:13px;font-weight:600;color:#1e293b}
.month-picker-nav{width:22px;height:22px;border:0;background:transparent;color:#475569;cursor:pointer;font-size:14px}
.month-picker-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 10px;padding:8px 4px 4px}
.month-picker-cell{height:30px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#334155;cursor:pointer;border-radius:0}
.month-picker-cell:hover,.month-picker-cell.selected{background:#bfdbfe;color:#0f172a}
.month-picker-cell.disabled{color:#cbd5e1;background:#e5e7eb;cursor:not-allowed}
.week-picker-head{display:flex;align-items:center;justify-content:center;gap:12px;height:26px;font-size:13px;font-weight:600;color:#1e293b}
.week-picker-nav{width:24px;height:24px;border:0;background:transparent;color:#475569;cursor:pointer;font-size:16px}
.week-picker-days,.week-picker-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.week-picker-days{height:24px;align-items:center;border-bottom:1px solid #e2e8f0;color:#0284c7;font-size:12px;text-align:center}
.week-picker-row{display:contents}
.week-picker-cell{height:28px;display:flex;align-items:center;justify-content:center;font-size:11px;color:#334155;background:#fff;border:1px solid transparent;cursor:pointer}
.week-picker-cell.muted{color:#cbd5e1;background:#f8fafc}
.week-picker-cell.today{color:#fff;background:#0ea5e9}
.week-picker-row:hover .week-picker-cell{background:#dbeafe;color:#0f172a}
.week-picker-row.selected .week-picker-cell{background:#bae6fd;color:#0f172a}
.week-picker-row.selected .week-picker-cell.week-end{background:#0ea5e9;color:#fff}
.performance-actions{display:flex;align-items:flex-end;gap:8px}
.performance-btn{height:32px;border:1px solid rgba(0,212,255,0.22);border-radius:8px;background:rgba(0,212,255,0.1);color:var(--text-primary);font-size:12px;padding:0 14px;cursor:pointer;white-space:nowrap}
.performance-btn:hover{background:rgba(0,212,255,0.18)}
.performance-btn.secondary{background:rgba(255,255,255,0.04);border-color:rgba(255,255,255,0.1);color:var(--text-secondary)}
.performance-placeholder{height:calc(100% - 112px);min-height:220px;display:flex;align-items:center;justify-content:center;color:var(--text-secondary);font-size:12px}
.performance-content{padding:0 14px 16px;display:flex;flex-direction:column;gap:0;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
.performance-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid rgba(0,212,255,0.10);padding-bottom:8px}
.performance-tabs.qingshu-hidden{display:none}
.performance-tab{height:34px;padding:0 16px;border:1px solid rgba(0,212,255,0.22);border-radius:7px;background:rgba(0,212,255,0.08);color:var(--text-secondary);font-size:14px;font-weight:700;cursor:default}
.performance-tab.active{color:#fff;background:rgba(0,212,255,0.14);border-color:rgba(0,212,255,0.36)}
.qingshu-summary{display:none}
.qingshu-card{padding:10px 12px;border-radius:8px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);min-width:0}
.qingshu-card-label{font-size:10px;color:var(--text-dim);margin-bottom:5px}
.qingshu-card-value{font-family:var(--font-display);font-size:18px;color:var(--cyan);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qingshu-chart-row{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.qingshu-chart-row.qingshu-hidden{display:none}
.qingshu-chart-panel{position:relative;width:410px;max-width:100%;height:395px;border:1px solid rgba(0,212,255,0.12);border-radius:8px;background:linear-gradient(180deg,rgba(10,25,48,0.96),rgba(8,18,36,0.98));padding:14px 14px 10px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);align-self:flex-start}
.qingshu-chart-head{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:2px;text-align:center}
.qingshu-chart-title{font-size:18px;color:#fff;font-weight:700;letter-spacing:0}
.qingshu-chart-sub{font-size:11px;color:#94A3B8;margin-top:4px}
.qingshu-column-chart{width:100%;height:315px;display:block}
.qingshu-axis-text{font-size:11px;fill:#94A3B8}
.qingshu-chart-label{font-size:10px;fill:#CBD5E1}
.qingshu-chart-value{font-size:10px;fill:#7DD3FC;font-family:var(--font-display)}
.qingshu-grid-line{stroke:rgba(148,163,184,0.16);stroke-width:1}
.qingshu-axis-line{stroke:rgba(148,163,184,0.38);stroke-width:1}
.qingshu-column{fill:url(#dabaoBarGradient)}
.qingshu-table-wrap{border:1px solid rgba(0,212,255,0.10);border-radius:8px;overflow:auto;background:rgba(255,255,255,0.02)}
.qingshu-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:980px}
.qingshu-table th{height:34px;background:rgba(255,255,255,0.05);color:var(--text-secondary);font-size:11px;font-weight:600;text-align:left;padding:0 10px;white-space:nowrap}
.qingshu-table td{height:38px;border-top:1px solid rgba(255,255,255,0.04);color:#e2e8f0;font-size:12px;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qingshu-table tbody tr:nth-child(odd){background:rgba(255,255,255,0.018)}
.qingshu-table tbody tr:hover{background:rgba(0,212,255,0.06)}
.qingshu-status{min-height:120px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--text-dim);font-size:12px;line-height:1.7}
.leader-performance-section{padding-top:0;display:flex;flex-direction:column;gap:12px}
.leader-performance-section.direct-leader-data{gap:0}
.leader-performance-section.direct-leader-data>.leader-performance-head,
.leader-performance-section.direct-leader-data .transparent-perf-toolbar,
.leader-performance-section.direct-leader-data .transparent-kpi-grid,
.leader-performance-section.direct-leader-data .assessment-summary{display:none!important}
.leader-performance-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:0}
.leader-performance-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:800;color:#fff}
.leader-performance-title .bar{width:3px;height:17px;border-radius:2px;background:linear-gradient(180deg,#00D4FF,#8B5CF6)}
.leader-performance-sub{font-size:11px;color:#64748B}
.transparent-perf-shell{border:1px solid rgba(0,212,255,0.12);border-radius:8px;background:linear-gradient(180deg,rgba(10,25,48,0.96),rgba(8,18,36,0.98));box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);padding:14px;display:flex;flex-direction:column;gap:12px;min-width:0}
.transparent-perf-toolbar{display:grid;grid-template-columns:minmax(180px,260px) minmax(180px,220px) minmax(0,1fr);gap:10px;align-items:end}
.transparent-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.transparent-field label{font-size:11px;color:#94A3B8;font-weight:700}
.transparent-input,.transparent-select{height:34px;border:1px solid rgba(0,212,255,0.18);border-radius:7px;background:rgba(255,255,255,0.045);color:#fff;padding:0 10px;font-size:12px;outline:none}
.transparent-input:focus,.transparent-select:focus{border-color:rgba(0,212,255,0.55);box-shadow:0 0 0 2px rgba(0,212,255,0.08)}
.transparent-tip{font-size:11px;color:#64748B;line-height:1.6;text-align:right}
.transparent-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px}
.transparent-kpi-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:rgba(255,255,255,0.04);padding:10px 12px;min-width:0}
.transparent-kpi-label{font-size:10px;color:#94A3B8;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.transparent-kpi-value{font-family:var(--font-display);font-size:20px;line-height:1;font-weight:800;color:#00D4FF}
.transparent-kpi-value.warn{color:#FFB86B}
.transparent-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px;font-size:13px;font-weight:800;color:#fff}
.transparent-section-title span:last-child{font-size:10px;color:#64748B;font-weight:600}
#leaderDataUpdateMeta{font-size:13px!important;color:#00D4FF!important;font-weight:900!important;text-shadow:0 0 10px rgba(0,212,255,.28)}
.transparent-table-wrap{border:1px solid rgba(255,255,255,0.08);border-radius:8px;overflow:auto;background:rgba(255,255,255,0.025)}
.transparent-table{width:100%;min-width:1120px;border-collapse:collapse;table-layout:auto}
.transparent-table th{position:sticky;top:0;z-index:1;background:rgba(11,20,38,0.96);color:#94A3B8;font-size:11px;font-weight:800;text-align:left;padding:9px 10px;border-bottom:1px solid rgba(255,255,255,0.08);white-space:nowrap}
.transparent-table td{padding:9px 10px;border-bottom:1px solid rgba(255,255,255,0.045);font-size:11px;color:#E2E8F0;vertical-align:top;line-height:1.55}
.transparent-table tbody tr:nth-child(odd){background:rgba(255,255,255,0.018)}
.transparent-table tbody tr.viewer-row{background:rgba(250,204,21,0.10);box-shadow:inset 3px 0 0 rgba(250,204,21,0.75)}
.rank-pill{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:rgba(0,212,255,0.12);color:#7DD3FC;font-weight:800}
.score-strong{font-family:var(--font-display);font-size:14px;font-weight:800;color:#00E5A0}
.metric-detail{display:flex;flex-wrap:wrap;gap:5px;max-width:420px}
.metric-chip{border:1px solid rgba(0,212,255,0.14);border-radius:999px;background:rgba(0,212,255,0.055);padding:2px 7px;color:#CBD5E1;white-space:nowrap}
.assessment-tags{display:flex;flex-wrap:wrap;gap:5px;min-width:96px}
.assessment-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;border:1px solid rgba(0,212,255,0.24);background:rgba(0,212,255,0.08);color:#7DD3FC;font-size:10px;font-weight:800;white-space:nowrap}
.assessment-tag.annual{border-color:rgba(255,184,107,0.36);background:rgba(255,184,107,0.10);color:#FFB86B}
.assessment-summary{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:10px}
.assessment-summary-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:rgba(255,255,255,0.035);padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.assessment-summary-title{font-size:12px;font-weight:800;color:#fff}.assessment-summary-names{font-size:11px;color:#94A3B8;text-align:right;line-height:1.55}
.transparent-matrix-wrap{border:1px solid rgba(255,255,255,0.08);border-radius:8px;overflow:auto;background:rgba(255,255,255,0.025)}
.transparent-matrix{display:grid;grid-template-columns:170px repeat(9,86px);min-width:944px}
.matrix-cell{min-height:36px;padding:7px 7px;border-right:1px solid rgba(255,255,255,0.055);border-bottom:1px solid rgba(255,255,255,0.055);display:flex;align-items:center;justify-content:center;text-align:center;font-size:10px;color:#E2E8F0;line-height:1.35}
.matrix-head{position:sticky;top:0;z-index:1;background:rgba(11,20,38,0.96);color:#94A3B8;font-weight:800}
.matrix-row-head{position:sticky;left:0;z-index:2;background:rgba(11,20,38,0.98);color:#fff;font-weight:800;justify-content:flex-start;text-align:left}
.coeff-green{background:rgba(34,197,94,0.22);color:#86EFAC}
.coeff-yellow{background:rgba(234,179,8,0.20);color:#FDE68A}
.coeff-orange{background:rgba(249,115,22,0.20);color:#FDBA74}
.coeff-red{background:rgba(239,68,68,0.20);color:#FCA5A5}
.coeff-empty{background:rgba(148,163,184,0.055);color:#64748B}

.leader-bubble-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(255,255,255,0.025));padding:14px;min-width:0;display:flex;flex-direction:column}
.leader-bubble-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:8px;min-height:48px}.leader-bubble-title{font-size:14px;font-weight:800;color:#F8FAFC;letter-spacing:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-bubble-sub{font-size:11px;color:#94A3B8;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leader-bubble-legend{display:grid;grid-template-columns:repeat(5,max-content);align-items:center;justify-content:flex-end;gap:8px 12px;max-width:520px}.leader-bubble-legend-item{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#CBD5E1;white-space:nowrap}.leader-bubble-dot{width:8px;height:8px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,0.08)}
.leader-bubble-chart-wrap{width:100%;overflow:hidden;border-radius:8px;background:rgba(255,255,255,0.015);flex:0 0 auto}.leader-bubble-chart{width:100%;height:var(--leader-visual-height,520px);display:block}.leader-bubble-note{margin-top:8px;font-size:11px;color:#64748B;line-height:1.5}.leader-bubble-grid{stroke:#EEEEEE;stroke-opacity:.18;stroke-width:1}.leader-bubble-axis{stroke:#CCCCCC;stroke-opacity:.6;stroke-width:1}.leader-bubble-tick{fill:#94A3B8;font-size:10px}.leader-bubble-axis-title{fill:#CBD5E1;font-size:12px;font-weight:700}.leader-bubble-ref{stroke:#AAAAAA;stroke-width:1.2;stroke-dasharray:6 6;opacity:.72}.leader-bubble-ref-label{fill:#AAAAAA;font-size:11px}.leader-bubble-quadrant{fill:#888888;font-size:20px;font-weight:800;opacity:.26}.leader-bubble-name{fill:#E5E7EB;font-size:13px;font-weight:800}.leader-bubble-rate{fill:#94A3B8;font-size:11px}.leader-bubble-profit{fill:#CBD5E1;font-size:10px}.leader-bubble-guide{stroke:rgba(226,242,255,.62);stroke-width:1.1;stroke-dasharray:3 3;fill:none;pointer-events:none}.leader-bubble-hit{cursor:pointer}.leader-bubble-point{stroke:#fff;stroke-width:2;opacity:.65;paint-order:stroke fill;mix-blend-mode:screen}.leader-bubble-point:hover{opacity:.92;stroke-width:2.4}.leader-bubble-fast-tooltip{position:fixed;z-index:9999;pointer-events:none;opacity:0;transform:translate(10px,10px);transition:opacity .04s ease;background:rgba(7,18,36,.96);border:1px solid rgba(147,197,253,.32);box-shadow:0 10px 24px rgba(0,0,0,.28);border-radius:8px;padding:8px 10px;color:#EAF6FF;font-size:11px;font-weight:700;line-height:1.55;white-space:pre-line}
.leader-chart-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}.leader-treemap-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(255,255,255,0.025));padding:14px;min-width:0;display:flex;flex-direction:column}.leader-treemap-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:14px;align-items:stretch}.leader-treemap-visual{min-width:0;display:flex;flex-direction:column}.leader-treemap-chart{width:100%;height:var(--leader-visual-height,520px);display:block}.leader-treemap-rect{stroke:rgba(15,23,42,.78);stroke-width:2;rx:5;ry:5}.leader-treemap-name{fill:#F8FAFC;font-weight:900;letter-spacing:0}.leader-treemap-value{fill:rgba(248,250,252,.82);font-weight:700}.leader-treemap-owner{fill:rgba(226,232,240,.70);font-weight:700}.leader-treemap-legend{display:flex;align-items:center;justify-content:flex-end;gap:8px 12px;flex-wrap:wrap;max-width:360px}.leader-treemap-note{margin-top:8px;font-size:11px;color:#64748B;line-height:1.5}.leader-related-panel{width:210px;height:var(--leader-visual-height,520px);background:linear-gradient(180deg,rgba(15,23,42,.82),rgba(15,23,42,.64));border-left:1px solid rgba(148,163,184,.28);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:12px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;position:sticky;top:12px}.leader-related-title{font-size:14px;font-weight:900;color:#E5E7EB;margin-bottom:2px}.leader-related-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.leader-related-link{display:block;background:rgba(255,255,255,.055);border:1px solid rgba(148,163,184,.22);border-radius:5px;padding:9px 10px;color:#93C5FD;font-size:11px;font-weight:800;line-height:1.35;text-align:left;text-decoration:none;transition:background .16s ease,border-color .16s ease,color .16s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.leader-related-row .leader-related-link{padding:9px 8px}.leader-related-link:hover{background:rgba(68,114,196,.20);border-color:rgba(147,197,253,.46);color:#BFDBFE;text-decoration:none}.leader-related-foot{margin-top:auto;padding-top:10px;border-top:1px solid rgba(148,163,184,.22);color:#94A3B8;font-size:9px;line-height:1.55}
.leader-view-title{border-bottom:1px solid rgba(148,163,184,.18);padding-bottom:2px;min-height:18px;line-height:18px}.leader-view-tabs{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;padding-bottom:0}.leader-view-tab{border:1px solid rgba(148,163,184,.22);border-radius:999px;background:rgba(226,232,240,.94);color:#334155;font-size:12px;font-weight:800;padding:7px 13px;cursor:pointer;transition:.18s ease;white-space:nowrap}.leader-view-tab.active{background:#4472C4;border-color:#4472C4;color:#fff;box-shadow:0 8px 18px rgba(68,114,196,.22)}.leader-view-panel{margin-top:0}.leader-view-panel.leader-table-mode .leader-bubble-card,.leader-view-panel.leader-table-mode .leader-treemap-card{display:none}.leader-view-panel.leader-table-mode .leader-chart-grid{grid-template-columns:1fr}.leader-data-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(255,255,255,0.025));padding:12px;overflow:hidden}.leader-data-table-wrap{overflow:auto;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.018)}.leader-data-table{width:100%;min-width:1500px;border-collapse:collapse}.leader-data-table th{background:rgba(11,20,38,.96);color:#94A3B8;font-size:11px;font-weight:900;text-align:center;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.08);white-space:nowrap}.leader-data-table td{color:#E2E8F0;font-size:12px;text-align:center;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.055);white-space:nowrap}.leader-data-table td:first-child,.leader-data-table th:first-child{position:sticky;left:0;z-index:2;background:rgba(11,20,38,.98);text-align:left}.leader-data-table th:first-child{z-index:3}.leader-data-table tbody tr:nth-child(odd){background:rgba(255,255,255,.018)}.leader-data-name{display:inline-flex;align-items:center;gap:8px;font-weight:900;color:#F8FAFC}.leader-data-dot{width:8px;height:8px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.08)}.leader-data-score{font-family:var(--font-display);font-weight:900;color:#00D4FF}.leader-data-empty{padding:28px;text-align:center;color:#94A3B8;font-size:13px}.leader-metric-empty{color:#64748B}
.leader-treemap-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
@media (max-width:1280px){.leader-chart-grid{grid-template-columns:1fr}.leader-bubble-head{flex-direction:column}.leader-bubble-legend,.leader-treemap-legend{justify-content:flex-start;max-width:none}.leader-bubble-chart,.leader-treemap-chart{height:460px}.leader-treemap-layout{grid-template-columns:minmax(0,1fr) 210px}.leader-related-panel{height:460px}}@media (max-width:760px){.leader-treemap-layout{grid-template-columns:1fr}.leader-related-panel{width:100%;height:auto;position:static;border-left:1px solid rgba(255,255,255,.08);border-top:1px solid rgba(148,163,184,.22)}}
body.performance-page-active{--leader-visual-height:clamp(380px,calc(100vh - 380px),520px)}body.performance-page-active .content-grid{grid-template-columns:0 minmax(0,1fr) 0!important;padding:0 10px 10px!important;gap:10px!important}body.performance-page-active .left-sidebar{display:none!important}body.performance-page-active #rightPanel{display:none!important}body.performance-page-active .panel-header{height:38px;padding:9px 14px}body.performance-page-active .performance-filter-bar{padding:10px 14px}body.performance-page-active .performance-filter-row{gap:10px;margin-bottom:0}body.performance-page-active .performance-content{overflow-x:hidden;padding:0 14px 16px;width:100%;max-width:1786px;margin:0 auto}body.performance-page-active .transparent-perf-shell{width:100%;min-width:0;box-sizing:border-box;padding:14px;gap:12px}body.performance-page-active .leader-chart-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;align-items:stretch}body.performance-page-active .leader-bubble-head{flex-direction:row!important}body.performance-page-active .leader-bubble-legend,body.performance-page-active .leader-treemap-legend{justify-content:flex-end;max-width:520px}body.performance-page-active .leader-bubble-chart,body.performance-page-active .leader-treemap-chart{height:var(--leader-visual-height)!important}body.performance-page-active .leader-treemap-layout{grid-template-columns:minmax(0,1fr) 210px!important;gap:14px!important}body.performance-page-active .leader-related-panel{width:210px!important;height:var(--leader-visual-height)!important;position:sticky!important;top:12px!important;border-left:1px solid rgba(148,163,184,.28)}
body.performance-page-active .leader-bubble-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.performance-page-active .leader-bubble-card,body.performance-page-active .leader-treemap-card{min-width:0}body.performance-page-active .leader-bubble-chart-wrap{min-width:0}body.performance-page-active .leader-view-title,body.performance-page-active .leader-bubble-card,body.performance-page-active .leader-treemap-card,body.performance-page-active .transparent-lower-grid{max-width:100%}
body.performance-page-active{
  --leader-visual-height:330px;
  --perf-type-boost:1;
  --perf-copy-scale:1;
  --perf-page-title-size:calc(24px * var(--perf-type-boost));
  --perf-panel-title-size:calc(16px * var(--perf-type-boost));
  --perf-section-title-size:calc(16px * var(--perf-type-boost));
  --perf-chart-title-size:calc(17px * var(--perf-type-boost));
  --perf-subtitle-size:12px;
  --perf-axis-size:11px;
  --perf-small-size:11px;
}
body.performance-page-active .top-header{height:50px}
body.performance-page-active .header-title{font-size:var(--perf-page-title-size);font-weight:800;line-height:1.05}
body.performance-page-active .header-sub{font-size:calc(10px * var(--perf-type-boost));line-height:1.2}
body.performance-page-active .panel-header{height:36px;padding:8px 14px}
body.performance-page-active .panel-title{font-size:var(--perf-panel-title-size);font-weight:800;line-height:1.15}
body.performance-page-active .performance-filter-bar{padding:9px 14px}
body.performance-page-active .performance-field label{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .performance-field select,
body.performance-page-active .performance-field input{height:31px;font-size:calc(13px * var(--perf-copy-scale))}
body.performance-page-active .transparent-perf-shell{padding:12px;gap:10px}
body.performance-page-active .transparent-kpi-card{padding:10px 12px}
body.performance-page-active .transparent-kpi-label{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .transparent-kpi-value{font-size:calc(21px * var(--perf-copy-scale))}
body.performance-page-active .assessment-summary-card{padding:8px 10px}
body.performance-page-active .assessment-summary-title{font-size:calc(13px * var(--perf-copy-scale))}
body.performance-page-active .assessment-summary-names{font-size:calc(12px * var(--perf-copy-scale))}
body.performance-page-active .transparent-section-title{font-size:var(--perf-section-title-size);line-height:1.2}
body.performance-page-active .transparent-section-title span:last-child{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active #leaderDataUpdateMeta{font-size:calc(14px * var(--perf-copy-scale))!important}
body.performance-page-active .leader-bubble-card,
body.performance-page-active .leader-treemap-card{padding:12px}
body.performance-page-active .leader-bubble-head{min-height:45px;margin-bottom:7px;gap:12px}
body.performance-page-active .leader-bubble-title{font-size:var(--perf-chart-title-size);line-height:1.2}
body.performance-page-active .leader-chart-grid .leader-bubble-title{font-size:calc(var(--perf-chart-title-size) - 2px)}
body.performance-page-active .leader-bubble-sub{font-size:calc(var(--perf-subtitle-size) * var(--perf-copy-scale))}
body.performance-page-active .leader-bubble-legend-item,
body.performance-page-active .leader-treemap-legend{font-size:calc(12px * var(--perf-copy-scale))}
body.performance-page-active .leader-chart-grid .leader-bubble-sub,
body.performance-page-active .leader-chart-grid .leader-bubble-legend-item,
body.performance-page-active .leader-chart-grid .leader-treemap-legend{font-size:12px}
body.performance-page-active .leader-chart-grid .leader-bubble-legend,
body.performance-page-active .leader-chart-grid .leader-treemap-legend{max-width:330px;gap:5px 8px}
body.performance-page-active .leader-bubble-tick,
body.performance-page-active .leader-score-tick,
body.performance-page-active .achievement-tick{font-size:var(--perf-axis-size)}
body.performance-page-active .leader-bubble-axis-title{font-size:13px}
body.performance-page-active .leader-bubble-note,
body.performance-page-active .leader-treemap-note{font-size:calc(12px * var(--perf-copy-scale));margin-top:6px}
body.performance-page-active .leader-chart-grid .leader-bubble-note,
body.performance-page-active .leader-chart-grid .leader-treemap-note{font-size:calc(12px * var(--perf-copy-scale) - 2px)}
body.performance-page-active .leader-data-table th{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .leader-data-table td{font-size:calc(12px * var(--perf-copy-scale))}
body.performance-page-active .leader-data-empty{font-size:calc(13px * var(--perf-copy-scale))}
body.performance-page-active .leader-view-tab{font-size:calc(12px * var(--perf-copy-scale))}
body.performance-page-active .leader-treemap-layout{grid-template-columns:minmax(0,1fr) 200px!important;gap:12px!important}
body.performance-page-active .leader-related-panel{width:200px!important;padding:10px;gap:5px}
body.performance-page-active .leader-related-title{font-size:var(--perf-section-title-size);line-height:1.2;margin-bottom:0}
body.performance-page-active .leader-related-row{gap:5px}
body.performance-page-active .leader-related-link{font-size:11px;padding:6px 7px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:clip}
body.performance-page-active .leader-related-row .leader-related-link{padding:6px 6px}
body.performance-page-active .leader-related-foot{padding-top:6px;font-size:calc(9px * var(--perf-copy-scale));line-height:1.35}
body.performance-page-active .leader-score-trend-title{font-size:var(--perf-chart-title-size);line-height:1.2}
body.performance-page-active .leader-score-trend-sub{font-size:calc(var(--perf-small-size) * var(--perf-copy-scale))}
body.performance-page-active .leader-score-legend-item{font-size:calc(var(--perf-small-size) * var(--perf-copy-scale))}
body.performance-page-active .leader-score-trend{height:100%;margin-bottom:0;padding-bottom:0;border-bottom:0;display:flex;flex-direction:column;min-height:0}
body.performance-page-active .leader-score-trend-head{margin-bottom:4px;flex:0 0 auto}
body.performance-page-active .leader-score-trend-chart{height:auto!important;flex:1 1 auto;min-height:0;border-radius:8px!important}
body.performance-page-active .leader-score-trend .leader-score-trend-sub{display:block;background:transparent!important;margin-top:0!important;padding:0;border-radius:0;flex:0 1 auto;line-height:1.35;text-align:left}
body.performance-page-active .achievement-area-card{height:240px}
body.performance-page-active .achievement-label,
body.performance-page-active .achievement-legend{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .formula-card{height:240px;box-sizing:border-box;font-size:calc(12px * var(--perf-copy-scale));line-height:1.58;max-height:none;overflow:hidden}
@media (max-width:760px){.leader-bubble-legend{grid-template-columns:repeat(2,max-content)}}
.transparent-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch;grid-column:1/-1;width:100%}.transparent-lower-grid>div{display:flex;flex-direction:column;min-width:0}
.warning-list{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow:auto;padding-right:2px}
.warning-item{display:grid;grid-template-columns:76px 82px minmax(0,1fr) minmax(150px,.8fr);gap:8px;align-items:center;padding:9px 10px;border-radius:7px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);font-size:11px;color:#CBD5E1;line-height:1.45}
.warning-tag{font-weight:800;color:#FFB86B}
.warning-tag.high{color:#FCA5A5}
.achievement-area-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:rgba(255,255,255,0.025);padding:10px 12px;height:342px;box-sizing:border-box;display:flex;flex-direction:column}.achievement-area-chart{width:100%;height:auto;display:block;flex:1;min-height:0}.achievement-grid{stroke:#E2E8F0;stroke-opacity:.12;stroke-width:1}.achievement-axis{stroke:#6B6B6B;stroke-opacity:.45;stroke-width:1}.achievement-target{fill:rgba(148,163,184,.22);stroke:#9E9E9E;stroke-width:2;stroke-linejoin:round}.achievement-actual{fill:url(#achievementActualGradient);stroke:#2a8a8a;stroke-width:2.4;stroke-linejoin:round}.achievement-target-line{stroke:#9E9E9E;stroke-width:2;fill:none}.achievement-actual-line{stroke:#2a8a8a;stroke-width:2.4;fill:none}.achievement-standard{stroke:#A3A3A3;stroke-width:1.2;stroke-dasharray:6 6}.achievement-tick{fill:#94A3B8;font-size:10px}.achievement-label{fill:#CBD5E1;font-size:10px;font-weight:800}.achievement-legend{display:flex;align-items:center;justify-content:flex-end;gap:12px;font-size:10px;color:#CBD5E1;margin-bottom:4px;flex:0 0 auto}.achievement-legend-dot{width:9px;height:9px;border-radius:2px;display:inline-block;margin-right:5px}
.formula-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:rgba(255,255,255,0.035);padding:10px 12px;color:#CBD5E1;font-size:11px;line-height:1.7;max-height:460px;overflow:auto}
.formula-card code{color:#7DD3FC;background:rgba(0,212,255,0.07);padding:1px 4px;border-radius:4px}
.leader-score-trend{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgba(148,163,184,.16)}.leader-score-trend-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:6px}.leader-score-trend-title{font-size:12px;font-weight:900;color:#F8FAFC}.leader-score-trend-sub{font-size:10px;color:#94A3B8;margin-top:2px}.leader-score-trend-chart{width:100%;height:230px;display:block;background:rgba(15,23,42,.18);border-radius:8px}.leader-score-grid{stroke:#E2E8F0;stroke-opacity:.11;stroke-width:1}.leader-score-axis{stroke:#6B6B6B;stroke-opacity:.45;stroke-width:1}.leader-score-line{fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;opacity:.9}.leader-score-dot{stroke:rgba(15,23,42,.72);stroke-width:1.2}.leader-score-tick{fill:#94A3B8;font-size:9px}.leader-score-legend{display:flex;align-items:center;justify-content:flex-end;gap:5px 10px;flex-wrap:wrap;max-width:320px}.leader-score-legend-item{display:inline-flex;align-items:center;gap:5px;color:#CBD5E1;font-size:10px;white-space:nowrap}.leader-score-legend-dot{width:7px;height:7px;border-radius:999px;box-shadow:0 0 0 2px rgba(255,255,255,.07)}
.product-line-section{display:flex;flex-direction:column;gap:12px;grid-column:1/-1;margin-top:2px}.product-line-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}.product-line-card{border:1px solid rgba(255,255,255,0.08);border-radius:8px;background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(255,255,255,0.025));padding:12px;min-width:0;display:flex;flex-direction:column}.product-line-card.wide{grid-column:1/-1}.product-line-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px}.product-line-title{font-size:14px;font-weight:900;color:#F8FAFC;white-space:nowrap}.product-line-sub{font-size:10px;color:#94A3B8;margin-top:3px;line-height:1.45}.product-line-rank{display:flex;flex-direction:column;gap:7px}.product-line-rank-row{display:grid;grid-template-columns:78px minmax(0,1fr) 58px 58px 72px;gap:8px;align-items:center;color:#CBD5E1;font-size:11px}.product-line-rank-name{font-weight:900;color:#F8FAFC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-line-rank-bar{height:9px;border-radius:999px;background:rgba(148,163,184,.14);overflow:hidden}.product-line-rank-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#69c0ff,#8FB5B0)}.product-line-pill{display:inline-flex;justify-content:center;border:1px solid rgba(148,163,184,.22);border-radius:999px;padding:2px 6px;background:rgba(255,255,255,.04);color:#94A3B8;font-size:10px;font-weight:800;white-space:nowrap}.product-line-pill.growth{color:#FCA5A5;border-color:rgba(239,68,68,.28);background:rgba(239,68,68,.08)}.product-line-pill.risk{color:#86EFAC;border-color:rgba(34,197,94,.28);background:rgba(34,197,94,.08)}.product-line-combo-chart{width:100%;height:410px;display:block;background:#FFFFFF;border:1px solid #DCE6F0;border-radius:8px}.product-line-combo-axis{stroke:#8FA3B8;stroke-width:1.2}.product-line-combo-grid{stroke:#E6EEF6;stroke-width:1}.product-line-combo-bar{fill:#0F6E56;opacity:.86;cursor:pointer}.product-line-combo-bar:hover{opacity:1;stroke:#0B4E3D;stroke-width:1.6}.product-line-combo-line-gross{fill:none;stroke:#185FA5;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.product-line-combo-line-profit{fill:none;stroke:#993C1D;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.product-line-combo-dot{fill:#185FA5;stroke:#fff;stroke-width:1.8;cursor:pointer}.product-line-combo-square{fill:#993C1D;stroke:#fff;stroke-width:1.8;cursor:pointer}.product-line-combo-dot:hover,.product-line-combo-square:hover{stroke:#0F172A;stroke-width:2.2}.product-line-combo-tick{fill:#475569;font-size:12px;font-weight:800}.product-line-combo-xlabel{fill:#334155;font-size:12px;font-weight:900}.product-line-combo-axis-title{fill:#0F2F4F;font-size:13px;font-weight:900}.product-line-combo-legend{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#334155;font-size:12px;font-weight:900}.product-line-combo-legend i{display:inline-block;width:12px;height:8px;border-radius:2px;margin-right:5px}.product-line-combo-legend .bar{background:#0F6E56}.product-line-combo-legend .gross{height:3px;background:#185FA5;border-radius:999px}.product-line-combo-legend .profit{height:3px;background:#993C1D;border-radius:999px}.product-line-combo-table{width:100%;border-collapse:collapse;margin-top:10px;font-size:11px;background:#fff;border:1px solid #DCE6F0;border-radius:8px;overflow:hidden}.product-line-combo-table th,.product-line-combo-table td{border-bottom:1px solid #E6EEF6;padding:6px 7px;text-align:left;white-space:nowrap;color:#334155}.product-line-combo-table th{background:#F5F8FC;color:#475569;font-weight:900}.product-line-combo-table tbody tr:nth-child(even){background:#FAFCFE}.product-line-combo-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.product-line-combo-insight{border:1px solid #DCE6F0;border-radius:8px;background:#F8FBFE;color:#334155;font-size:12px;line-height:1.45;padding:8px}.product-line-combo-insight b{color:#0F2F4F}@media (max-width:1280px){.product-line-combo-chart{height:390px}.product-line-combo-tick,.product-line-combo-xlabel{font-size:11px}.product-line-combo-insights{grid-template-columns:1fr}.product-line-combo-table{font-size:10px}}.product-line-matrix{width:100%;height:390px;min-height:380px;display:block;background:rgba(15,23,42,.18);border-radius:8px}.product-line-axis{stroke:rgba(203,213,225,.72);stroke-width:1.6}.product-line-tick{fill:#94A3B8;font-size:12px}.product-line-axis-title{fill:#CBD5E1;font-size:13px;font-weight:900}.product-line-quadrant{fill:#CBD5E1;font-size:16px;font-weight:900;opacity:.74}.product-line-direction{fill:#F8FAFC;font-size:13px;font-weight:900}.product-line-suggestion{fill:#94A3B8;font-size:10px;font-weight:700}.product-line-bubble{stroke:#fff;stroke-width:2;opacity:.78;cursor:pointer}.product-line-bubble:hover{opacity:.96;stroke-width:3}.product-line-bubble-label{fill:#F8FAFC;font-size:11px;font-weight:900;paint-order:stroke;stroke:rgba(15,23,42,.72);stroke-width:3px;stroke-linejoin:round;pointer-events:none}.product-line-detail{display:flex;flex-direction:column;gap:12px;color:#334155;font-size:13px;line-height:1.55;background:#fff;border:1px solid #DCE6F0;border-radius:10px;padding:14px;box-shadow:0 10px 28px rgba(15,23,42,.08);min-height:390px;box-sizing:border-box;overflow:auto}.product-line-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.product-line-detail-title{font-size:20px;font-weight:900;color:#0F2F4F}.product-line-detail-tags,.product-line-detail-tag-row{display:flex;flex-wrap:wrap;gap:6px}.product-line-detail-pill{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900;border:1px solid #CBD5E1;background:#F8FAFC;color:#334155}.product-line-detail-pill.good{color:#B42318;border-color:#F6B8B5;background:#FFF1F0}.product-line-detail-pill.risk{color:#047857;border-color:#A7F3D0;background:#ECFDF5}.product-line-detail-close{border:1px solid #B6C7D8;border-radius:8px;background:#F8FAFC;color:#1E3A5F;font-size:12px;font-weight:900;padding:6px 10px;cursor:pointer}.product-line-detail-close:hover{background:#E8F1FA}.product-line-detail-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.product-line-detail-metric{border:1px solid #DCE6F0;border-radius:8px;background:#F8FBFE;padding:10px;min-width:0}.product-line-detail-metric span{display:block;color:#64748B;font-size:11px;font-weight:900}.product-line-detail-metric b{display:block;color:#0F2F4F;font-size:17px;margin-top:3px}.product-line-detail-block{border:1px solid #DCE6F0;border-radius:8px;background:#FFFFFF;padding:10px;color:#334155}.product-line-detail-block h4{margin:0 0 8px;color:#0F2F4F;font-size:14px;font-weight:900}.product-line-detail-table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}.product-line-detail-table th,.product-line-detail-table td{border-bottom:1px solid #E6EEF6;padding:7px 6px;text-align:left;white-space:nowrap}.product-line-detail-table th{color:#475569;font-weight:900;background:#F5F8FC}.product-line-detail-table td{color:#334155}.product-line-detail-table tbody tr:nth-child(even){background:#FAFCFE}.product-line-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-line-detail-action{border-radius:8px;background:#F8FBFE;border:1px solid #DCE6F0;padding:9px;color:#334155}.product-line-detail-action b{display:block;color:#0F2F4F;margin-bottom:3px}@media (max-width:1280px){.product-line-detail{font-size:12px}.product-line-detail-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.product-line-detail-actions{grid-template-columns:1fr}.product-line-detail-table{font-size:11px}}.product-line-heatmaps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-line-heatmap-title{font-size:12px;font-weight:900;color:#F8FAFC;margin-bottom:6px}.product-line-heatmap{display:grid;grid-template-columns:86px repeat(6,minmax(54px,1fr));border:1px solid rgba(255,255,255,.08);border-radius:7px;overflow:hidden}.product-line-heat-cell{min-height:34px;border-right:1px solid rgba(255,255,255,.055);border-bottom:1px solid rgba(255,255,255,.055);display:flex;align-items:center;justify-content:center;text-align:center;padding:4px;font-size:9px;line-height:1.2;color:#E2E8F0}.product-line-heat-head,.product-line-heat-row-head{background:rgba(11,20,38,.96);color:#94A3B8;font-weight:900}.product-line-heat-row-head{justify-content:flex-start;text-align:left;color:#F8FAFC}.product-line-insights{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:10px}.product-line-insight{border:1px solid rgba(255,255,255,.08);border-radius:7px;background:rgba(255,255,255,.035);padding:8px;color:#CBD5E1;font-size:10px;line-height:1.55}.product-line-insight b{display:block;color:#F8FAFC;font-size:11px;margin-bottom:3px}.product-line-status{min-height:120px;display:flex;align-items:center;justify-content:center;color:#94A3B8;font-size:12px}.product-line-detail-drawer{position:fixed;right:18px;top:72px;width:min(460px,calc(100vw - 36px));max-height:calc(100vh - 96px);z-index:90;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:linear-gradient(180deg,rgba(15,23,42,.98),rgba(11,20,38,.98));box-shadow:0 18px 54px rgba(15,23,42,.42);padding:14px;overflow:auto;color:#CBD5E1;display:none}.product-line-detail-drawer.open{display:block}.product-line-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.product-line-detail-name{font-size:18px;font-weight:900;color:#F8FAFC;line-height:1.2}.product-line-detail-close{border:1px solid rgba(148,163,184,.32);background:rgba(255,255,255,.04);color:#CBD5E1;border-radius:8px;width:28px;height:28px;cursor:pointer;font-weight:900}.product-line-detail-section{border-top:1px solid rgba(148,163,184,.18);padding-top:10px;margin-top:10px}.product-line-detail-section-title{font-size:13px;font-weight:900;color:#F8FAFC;margin-bottom:8px}.product-line-detail-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.product-line-detail-kpi{border:1px solid rgba(148,163,184,.18);border-radius:8px;background:rgba(255,255,255,.045);padding:8px}.product-line-detail-kpi span{display:block;color:#94A3B8;font-size:10px;margin-bottom:4px}.product-line-detail-kpi b{display:block;color:#F8FAFC;font-size:13px}.product-line-detail-tags{display:flex;flex-wrap:wrap;gap:6px}.product-line-detail-tag{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.24);border-radius:999px;padding:3px 7px;background:rgba(255,255,255,.045);font-size:11px;font-weight:800}.product-line-detail-tag.opportunity{color:#FCA5A5;border-color:rgba(239,68,68,.26);background:rgba(239,68,68,.08)}.product-line-detail-tag.risk{color:#86EFAC;border-color:rgba(34,197,94,.26);background:rgba(34,197,94,.08)}.product-line-detail-copy{font-size:12px;line-height:1.65;color:#CBD5E1}.product-line-detail-actions{display:grid;gap:6px}.product-line-detail-action{border:1px solid rgba(148,163,184,.18);border-radius:8px;background:rgba(255,255,255,.035);padding:7px 8px;font-size:12px;line-height:1.5}.product-line-detail-table{width:100%;border-collapse:collapse;font-size:11px}.product-line-detail-table th,.product-line-detail-table td{border-bottom:1px solid rgba(148,163,184,.14);padding:6px 5px;text-align:right;white-space:nowrap}.product-line-detail-table th:first-child,.product-line-detail-table td:first-child{text-align:left}.product-line-detail-table th{color:#94A3B8;font-weight:900}.product-line-detail-bar{height:7px;border-radius:999px;background:rgba(148,163,184,.16);overflow:hidden;margin-top:4px}.product-line-detail-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#69c0ff,#8FB5B0)}@media (max-width:760px){.product-line-detail-drawer{left:12px;right:12px;top:60px;width:auto}.product-line-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.product-line-detail-table{font-size:10px}}
body.performance-page-active .product-line-title{font-size:calc(14px * var(--perf-copy-scale))}
body.performance-page-active .product-line-sub{font-size:calc(10px * var(--perf-copy-scale))}
body.performance-page-active .product-line-rank-row{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .product-line-pill{font-size:calc(10px * var(--perf-copy-scale))}
body.performance-page-active .product-line-tick{font-size:calc(10px * var(--perf-copy-scale))}
body.performance-page-active .product-line-axis-title{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .product-line-quadrant{font-size:calc(13px * var(--perf-copy-scale))}
body.performance-page-active .product-line-heatmap-title{font-size:calc(12px * var(--perf-copy-scale))}
body.performance-page-active .product-line-heat-cell{font-size:calc(9px * var(--perf-copy-scale))}
body.performance-page-active .product-line-insight{font-size:calc(10px * var(--perf-copy-scale))}
body.performance-page-active .product-line-insight b{font-size:calc(11px * var(--perf-copy-scale))}
body.performance-page-active .product-line-status{font-size:calc(12px * var(--perf-copy-scale))}
@media (max-width:1280px){.transparent-perf-toolbar{grid-template-columns:1fr 1fr}.transparent-tip{text-align:left;grid-column:span 2}.transparent-kpi-grid{grid-template-columns:repeat(3,minmax(120px,1fr))}.transparent-lower-grid{grid-template-columns:1fr}}
@media (max-width:1280px){.product-line-grid{grid-template-columns:1fr}.product-line-heatmaps{grid-template-columns:1fr}.product-line-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.transparent-perf-toolbar{grid-template-columns:1fr}.transparent-tip{grid-column:span 1}.transparent-kpi-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.warning-item{grid-template-columns:1fr}}
#rightPanel{grid-column:3;grid-row:1;min-width:280px;min-height:0;margin-left:24px}
#orgPage{margin-right:-24px}
#rightPanel .panel-body{display:flex;flex-direction:column;min-height:0}
#rightPanel.right-detail-collapsed{min-width:44px}
#rightPanel.right-detail-collapsed .panel-header,
#rightPanel.right-detail-collapsed .panel-body{opacity:0;pointer-events:none}
.right-collapse-btn{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;background:rgba(0,212,255,0.10);border:1px solid rgba(0,212,255,0.20);color:var(--cyan);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px;transition:all .25s;z-index:20}
.right-collapse-btn:hover{background:rgba(0,212,255,0.25)}
body:not(.performance-page-active):not(.kb-page-active) .right-collapse-btn{background:#ffffff!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:var(--shadow-sm)!important}
body:not(.performance-page-active):not(.kb-page-active) #rightPanel.right-detail-collapsed{background:var(--card)!important;border-color:var(--line)!important}

/* Left: Headcount */
.headcount-panel{flex:0 0 286px!important}
.headcount-panel .panel-body{min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}
.headcount-panel .panel-body::-webkit-scrollbar{display:none}
.headcount-list{display:flex;flex-direction:column;gap:7px}
.headcount-item{display:flex;align-items:center;gap:6px;min-width:0}
.headcount-label{width:64px;font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
.headcount-bar{flex:1;min-width:0;height:5px;background:rgba(0,212,255,0.06);border-radius:3px;overflow:hidden}
.headcount-bar-fill{height:100%;border-radius:3px;transition:width 1s ease}
.headcount-value{width:4.5em;text-align:right;font-size:11px;color:var(--cyan);font-family:var(--font-display);flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Left: Metric Library */
.metric-panel .panel-body{padding:0 12px 10px;overflow-y:auto}
.tag-grid{height:auto;max-height:none;overflow:visible;background:transparent}
.metric-lib-title{height:32px;display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;color:var(--text-primary);line-height:32px}
.metric-lib-count{font-size:11px;color:var(--cyan);font-weight:500}
.metric-group-title{height:28px;display:flex;align-items:center;gap:5px;font-size:12px;color:#00B4FF;font-weight:700;line-height:28px}
.metric-group-grid{height:56px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;align-content:start}
.metric-tag{height:22px;padding:4px 8px;border-radius:4px;border-left:2px solid transparent;background:rgba(0,212,255,0.05);color:var(--text-secondary);font-size:12px;line-height:14px;text-align:center;cursor:pointer;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-tag:hover{background:rgba(255,255,255,0.08);color:var(--text-primary)}
.metric-tag.active{border-left-color:#1A5CFF;background:rgba(59,130,246,0.12);color:#fff}
.metric-tag.single{grid-column:1 / -1;justify-self:center;width:calc((100% - 8px)/2)}
.metric-lib-spacer{height:80px}
.metric-detail{display:flex;flex-direction:column;gap:10px;animation:fadeIn .25s ease-out}
.metric-card{border-radius:8px;background:rgba(0,212,255,0.04);border:1px solid rgba(0,212,255,0.1);padding:10px 12px}
.metric-card-title{font-size:11px;font-weight:700;color:var(--cyan);margin-bottom:6px;display:flex;align-items:center;gap:6px}
.metric-card-content{font-size:12px;color:var(--text-secondary);line-height:1.65;white-space:normal}
.metric-value-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.metric-value-box{padding:8px;border-radius:6px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06)}
.metric-value-label{font-size:10px;color:var(--text-dim);margin-bottom:4px}
.metric-value-main{font-family:var(--font-display);font-size:16px;color:var(--text-primary);font-weight:600}
.metric-trend-up{color:var(--green)}

/* Left: Leaders */
.leader-list{display:flex;flex-direction:column;gap:7px}
.leader-item{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:var(--radius);background:rgba(0,212,255,0.03);border:1px solid rgba(0,212,255,0.06);transition:all 0.3s}
.leader-item:hover{background:rgba(0,212,255,0.08);border-color:rgba(0,212,255,0.15)}
.leader-avatar{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;color:#fff;flex-shrink:0}
.leader-info{flex:1;min-width:0}
.leader-name{font-size:13px;font-weight:500;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.leader-role{font-size:11px;color:var(--text-dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Center: Org Tree */
.org-canvas{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative}
.org-tree-header{padding:8px 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,212,255,0.08);flex-shrink:0}
.org-tree-body{flex:1;overflow-x:auto;overflow-y:auto;padding:10px 8px;position:relative}
.org-tree-body.org-drag-ready{cursor:grab}
.org-tree-body.org-dragging,.org-tree-body.org-dragging *{cursor:grabbing!important;user-select:none}
.org-tree-body.org-drag-ready .l3-name-btn,.org-tree-body.org-drag-ready .l3-count-btn,.org-tree-body.org-drag-ready .person-item,.org-tree-body.org-drag-ready .node-intermediate,.org-tree-body.org-drag-ready .org-zoom-btn{cursor:pointer}
.org-tree-body::-webkit-scrollbar{width:6px;height:6px}
.org-tree-body::-webkit-scrollbar-thumb{background:rgba(0,212,255,0.15);border-radius:3px}
.org-fit-shell{position:relative;width:100%;min-height:100%}
.org-fit{position:absolute;top:0;left:50%;width:max-content;transform:translate(calc(-50% + var(--org-pan-x,0px)),var(--org-pan-y,0px)) scale(var(--org-scale,1));transform-origin:top center}
.org-zoom-controls{position:absolute;top:8px;right:10px;z-index:20;display:flex;align-items:center;border-radius:8px;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.1);overflow:hidden}
.org-zoom-btn{width:28px;height:28px;border:0;background:transparent;color:#fff;font-size:16px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;font-family:var(--font-body)}
.org-zoom-btn:hover{background:rgba(255,255,255,.15)}
.org-zoom-divider{width:1px;height:16px;background:rgba(255,255,255,.1)}
.org-zoom-value{min-width:44px;padding:0 9px;font-size:11px;color:#94A3B8;text-align:center;line-height:28px;border-left:1px solid rgba(255,255,255,.1);font-family:var(--font-display)}
/* L1 */
.node-l1{padding:14px 28px;border-radius:12px;text-align:center;background:linear-gradient(135deg,rgba(0,212,255,0.12),rgba(168,85,247,0.08));border:1px solid rgba(0,212,255,0.3);box-shadow:0 0 30px rgba(0,212,255,0.1),inset 0 1px 0 rgba(255,255,255,0.05)}
.node-l1 .l1-name{font-size:18px;font-weight:700;color:var(--cyan);letter-spacing:2px}
.node-l1 .l1-sub{font-size:12px;color:var(--text-dim);margin-top:4px}
.intermediate-layer{position:relative;width:100%;height:72px}
.intermediate-layer .v-line{height:72px}
.intermediate-node-wrap{position:absolute;left:385px;top:11px;display:flex;align-items:center;gap:8px}
.intermediate-link{width:42px;height:1px;background:linear-gradient(90deg,rgba(0,212,255,0.35),rgba(0,212,255,0.08))}
.node-intermediate{width:118px;cursor:pointer}
.node-intermediate.active-l3{border-color:var(--cyan);background:rgba(0,212,255,0.15);box-shadow:0 0 15px rgba(0,212,255,0.2)}
.node-intermediate .l2-name{font-size:12px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.node-intermediate .l2-count{font-size:11px;color:var(--cyan);margin-top:2px;white-space:nowrap}
.node-intermediate .l2-sub{font-size:10px;color:var(--text-dim);margin-top:1px}

/* L2 */
.l2-row{display:flex;flex-wrap:nowrap;gap:4px;padding:0 2px 10px;width:max-content;min-width:100%}
.l2-col{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;width:118px;min-width:118px}
.node-l2{padding:6px 3px;border-radius:var(--radius);text-align:center;width:100%;background:var(--dept-tint,var(--bg-panel));border:1px solid var(--dept-border,var(--border));transition:all 0.3s}
.node-l2:hover{border-color:var(--dept-color,var(--cyan));box-shadow:0 4px 12px var(--dept-shadow,rgba(0,212,255,0.10));transform:translateY(-2px)}
.node-l2 .l2-name{font-size:12px;font-weight:600;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.node-l2 .l2-count{font-size:11px;color:var(--cyan);margin-top:2px;white-space:nowrap}
.node-l2 .l2-sub{font-size:10px;color:var(--text-dim);margin-top:1px}

.v-line{width:1px;height:14px;background:linear-gradient(180deg,rgba(0,212,255,0.3),rgba(0,212,255,0.1));margin:0 auto}
.h-connector{height:1px;background:linear-gradient(90deg,rgba(0,212,255,0.1),rgba(0,212,255,0.3),rgba(0,212,255,0.1))}

/* L3 - Pill shape */
.l3-list{display:flex;flex-direction:column;align-items:center;width:100%;gap:4px}
.node-l3{display:flex;align-items:center;border-radius:20px;background:rgba(0,212,255,0.06);border:1px solid rgba(0,212,255,0.18);transition:all 0.3s;overflow:hidden;width:100%;position:relative}
.node-l3:hover{border-color:var(--cyan);box-shadow:0 0 12px rgba(0,212,255,0.15)}
.node-l3.active-l3{border-color:var(--cyan);background:rgba(0,212,255,0.15);box-shadow:0 0 15px rgba(0,212,255,0.2)}
.node-l3 .l3-name-btn{flex:1;min-width:0;padding:4px;font-size:11px;line-height:16px;font-weight:500;color:var(--text-primary);cursor:pointer;white-space:nowrap;overflow:visible;text-overflow:clip;text-align:center}
.node-l3 .l3-count-btn{flex:0 0 auto;padding:4px 5px;font-size:11px;color:var(--cyan);background:rgba(0,212,255,0.15);border-left:1px solid rgba(0,212,255,0.2);cursor:pointer;white-space:nowrap;transition:all 0.2s;border-radius:0 20px 20px 0}
.node-l3 .l3-count-btn:hover{background:rgba(0,212,255,0.3);color:#fff}

/* L4 Panel */
.l4-panel{width:100%;margin-top:4px;border-radius:var(--radius);background:rgba(0,229,160,0.04);border:1px solid rgba(0,229,160,0.15);padding:6px 8px;display:flex;flex-direction:column;gap:4px;animation:fadeIn 0.2s ease-out}
.person-item{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:6px;transition:all 0.2s;cursor:pointer}
.person-item:hover{background:rgba(0,229,160,0.1)}
.person-dot{width:5px;height:5px;border-radius:50%;background:var(--green);flex-shrink:0}
.person-name{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


.intermediate-kpi-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.intermediate-kpi-group{min-width:0}
.intermediate-kpi-title{font-size:12px;font-weight:700;color:var(--cyan);margin-bottom:8px}
.intermediate-kpi-group .kpi-donut-wrap{padding:10px}
@media (max-width:1280px){.intermediate-kpi-groups{grid-template-columns:1fr}}

/* Right: Detail Panel */
.detail-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-dim);font-size:12px;gap:8px}
.detail-empty-icon{font-size:28px;opacity:0.3}

.detail-header{display:flex;align-items:center;justify-content:space-between;padding:0 0 10px;border-bottom:1px solid rgba(0,212,255,0.12);margin-bottom:10px}
.detail-header-left{display:flex;align-items:center;gap:10px}
.detail-header-title{font-size:15px;font-weight:600;color:var(--cyan)}
.detail-header-count{font-size:11px;color:var(--cyan);background:rgba(0,212,255,0.1);padding:2px 8px;border-radius:12px;border:1px solid rgba(0,212,255,0.2)}
.detail-close-btn{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;background:rgba(255,107,107,0.08);color:var(--red);cursor:pointer;font-size:18px;line-height:1;transition:all 0.2s;border:1px solid rgba(255,107,107,0.15);flex-shrink:0}
.detail-close-btn:hover{background:rgba(255,107,107,0.2);color:#fff}

/* Tabs */
.tab-nav{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.tab-btn{padding:4px 10px;border-radius:14px;border:1px solid rgba(0,212,255,0.12);background:rgba(0,212,255,0.04);color:var(--text-secondary);font-size:10px;font-family:var(--font-body);cursor:pointer;transition:all 0.2s;white-space:nowrap}
.tab-btn:hover{background:rgba(0,212,255,0.1);color:var(--text-primary)}
.tab-btn.active-tab{background:var(--cyan);color:#0a1628;font-weight:600;border-color:var(--cyan)}
.detail-view{height:100%;min-height:0;display:flex;flex-direction:column}
.tab-nav{flex-shrink:0}
.tab-content{display:none}
.tab-content.active-content{display:block;animation:fadeIn 0.25s ease-out}

.detail-section-content{font-size:11px;color:var(--text-secondary);line-height:1.8;white-space:pre-wrap;padding:6px 0}

.ali-req-panel{width:100%;padding:0;background:transparent;color:#fff;overflow:hidden}
.ali-req-section{width:100%;min-width:0;padding:10px 0}
.ali-req-section:first-child{padding-top:2px}
.ali-req-section+.ali-req-section{border-top:1px solid rgba(255,255,255,.06)}
.ali-req-title{font-size:12px;font-weight:700;line-height:1.2;margin-bottom:8px;text-align:left;flex-shrink:0}
.ali-req-list{display:flex;align-items:center;justify-content:flex-start;gap:14px 24px;min-width:0;flex-wrap:wrap}
.ali-req-condition{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#fff;line-height:1.45;white-space:normal;min-width:0}
.ali-req-bullet{font-size:12px;line-height:1;color:#00E5A0;flex-shrink:0}
.ali-req-skill-list{display:flex;align-items:center;justify-content:flex-start;gap:12px 22px;min-width:0;flex-wrap:wrap}
.ali-req-skill-row{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#fff;line-height:1.25;white-space:normal;min-width:0}
.ali-req-stars{font-size:12px;color:#FFB800;line-height:1;letter-spacing:0;white-space:nowrap;flex-shrink:0}
.ali-req-tools{display:flex;align-items:center;justify-content:flex-start;gap:14px 32px;min-width:0;flex-wrap:wrap}
.ali-req-tool{display:inline-flex;align-items:center;gap:10px;text-align:left;white-space:normal;min-width:0}
.ali-req-tool-main{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#fff;line-height:1.2}
.ali-req-tool-icon{font-size:28px;line-height:1}
.ali-req-tool-sub{font-size:12px;color:#64748B;line-height:1.2}
.ali-req-note{font-size:12px;color:#475569;line-height:1;text-align:center;margin-top:8px}

.ali-duty-panel{width:100%;min-height:420px;padding:0;background:transparent;color:#fff;display:flex;flex-direction:column;justify-content:space-evenly;overflow:hidden}
.ali-duty-panel.ali-duty-compact{min-height:auto;justify-content:flex-start;gap:10px;overflow:visible}
.ali-duty-layer{width:100%;min-width:0;padding:12px 0}
.ali-duty-compact .ali-duty-layer{padding:8px 0}
.ali-duty-layer:first-child{padding-top:2px}
.ali-duty-compact .ali-duty-layer:first-child{padding-top:0}
.ali-duty-layer+.ali-duty-layer{border-top:1px dashed rgba(255,255,255,.08)}
.ali-duty-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.ali-duty-compact .ali-duty-head{margin-bottom:6px}
.ali-duty-badge{display:inline-flex;align-items:center;padding:2px 14px;border-radius:4px;background:rgba(255,255,255,.06);color:var(--layer-color);font-size:12px;font-weight:700;line-height:1.4}
.ali-duty-count{font-size:10px;color:#64748B;line-height:1}
.ali-duty-list{display:flex;flex-direction:column;gap:14px}
.ali-duty-compact .ali-duty-list{gap:8px}
.ali-duty-item{min-width:0}
.ali-duty-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#fff;line-height:1.35}
.ali-duty-title span:last-child{min-width:0;overflow-wrap:anywhere}
.ali-duty-dot{font-size:8px;color:var(--layer-color);line-height:1;flex-shrink:0}
.ali-duty-desc{margin-top:6px;margin-left:4px;padding-left:10px;border-left:2px solid rgba(255,255,255,.08);font-size:12px;color:#94A3B8;line-height:1.7;white-space:normal;word-break:break-word}
.ali-duty-compact .ali-duty-desc{margin-top:4px;line-height:1.55}

.dabo-flow-board{position:relative;padding:0 2px}
.dabo-flow-legend{display:flex;align-items:center;justify-content:flex-end;gap:10px;color:#94A3B8;font-size:10px;line-height:1;white-space:nowrap}
.dabo-flow-legend-item{display:inline-flex;align-items:center;gap:4px}
.dabo-flow-role-dot{width:6px;height:6px;border-radius:50%;background:var(--role-color);box-shadow:0 0 8px var(--role-color);flex-shrink:0}
.dabo-flow-section{width:100%}
.dabo-flow-section+.dabo-flow-section{margin-top:4px;padding-top:4px;border-top:1px solid rgba(255,255,255,.05)}
.dabo-flow-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;min-height:14px}
.dabo-flow-section-title{font-size:12px;font-weight:700;line-height:1.15}
.dabo-flow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.dabo-flow-card{border:1px solid rgba(43,127,255,.15);background:rgba(255,255,255,.05);border-radius:8px;padding:8px 12px;min-width:0}
.dabo-flow-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;height:26px;margin-bottom:2px}
.dabo-flow-card-title{display:flex;align-items:flex-start;gap:4px;font-size:12px;font-weight:700;color:#fff;line-height:1.2;min-width:0;flex-wrap:nowrap}
.dabo-flow-card-title span:last-child{white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-overflow:clip;min-width:0}
.dabo-flow-icon{font-size:14px;line-height:1;flex-shrink:0}
.dabo-flow-desc{grid-column:1/-1;font-size:11px;color:#94A3B8;line-height:1.3;white-space:normal;word-break:break-word}
.dabo-flow-loop{display:flex;justify-content:flex-end;margin-top:5px;color:#64748B;font-size:10px;line-height:1}

/* Person detail sections */
.pdetail-section{margin-bottom:10px}
.pdetail-section-title{font-size:11px;font-weight:600;margin-bottom:4px;display:flex;align-items:center;gap:6px}
.pdetail-section-title .bar{width:3px;height:12px;border-radius:2px}
.pdetail-section-content{font-size:11px;color:var(--text-secondary);line-height:1.7;padding:8px 10px;border-radius:6px;background:rgba(0,229,160,0.03);border:1px solid rgba(0,229,160,0.08);white-space:pre-wrap}
.ali-sop-panel{width:100%;height:100%;display:flex;flex-direction:column;background:transparent;color:var(--text-primary);gap:10px}
.ali-sop-top{display:flex;align-items:center;justify-content:space-between}
.ali-sop-title{font-size:14px;color:#fff;font-weight:700}
.ali-sop-sub{font-size:11px;color:#64748B}
.ali-sop-group{display:flex;flex-direction:column;gap:8px}
.ali-sop-group-head{display:flex;align-items:center;gap:6px;font-size:11px;color:#94A3B8;font-weight:700}
.ali-sop-group-bar{width:2px;height:12px;border-radius:1px;background:var(--sop-color)}
.ali-sop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.ali-sop-grid.single{grid-template-columns:1fr}
.ali-sop-card{position:relative;min-width:0;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);border-radius:10px;padding:14px 16px 12px 18px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}
.ali-sop-card::before{content:"";position:absolute;left:7px;top:20%;height:60%;width:3px;border-radius:2px;background:var(--sop-color)}
.ali-sop-card.single{width:100%;min-height:154px}
.ali-sop-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
.ali-sop-card-name{font-size:14px;color:#fff;font-weight:700;line-height:1.35}
.ali-sop-step-count{flex:0 0 auto;font-size:9px;color:#64748B;line-height:18px}
.ali-sop-meta{font-size:10px;color:#64748B;margin-bottom:8px;line-height:1.3}
.ali-sop-meta-sep{color:#475569;margin:0 5px}
.ali-sop-steps{display:flex;flex-direction:column;align-items:stretch;gap:4px;line-height:1.45}
.ali-sop-steps.single{flex-direction:row;align-items:flex-start;gap:8px 10px;flex-wrap:wrap;line-height:1.5}
.ali-sop-step{display:flex;align-items:flex-start;min-width:0}
.ali-sop-steps.single .ali-sop-step{align-items:center;min-width:auto;max-width:none}
.ali-sop-steps.single .ali-sop-step:not(:last-child)::after{content:"→";margin-left:10px;color:#475569;font-size:12px;line-height:1}
.ali-sop-step-num{display:inline-block;width:20px;flex:0 0 20px;font-size:9px;color:#00B4FF}
.ali-sop-steps.single .ali-sop-step-num{width:auto;flex:0 0 auto;margin-right:4px}
.ali-sop-step-text{font-size:10px;color:#E2E8F0;white-space:normal;overflow:visible;text-overflow:clip}
.ali-sop-steps.single .ali-sop-step-text{white-space:normal}
.ali-sop-output{margin-top:6px;font-size:9px;color:#64748B;line-height:1.5}
.ali-process-panel{width:100%;height:100%;display:flex;flex-direction:column;background:transparent;color:var(--text-primary)}
.ali-process-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ali-process-title{font-size:14px;font-weight:700;color:#fff}
.ali-process-sub{font-size:11px;color:#64748B}
.ali-process-table{width:100%;border-collapse:collapse;table-layout:fixed}
.ali-process-table th{padding:10px 16px;background:rgba(255,255,255,.05);color:#94A3B8;font-size:11px;font-weight:600;text-align:left}
.ali-process-table th:last-child{text-align:right}
.ali-process-table td{height:44px;padding:10px 16px;border-bottom:1px solid rgba(255,255,255,.04);font-size:13px;color:#fff}
.ali-process-table td:last-child{text-align:right;font-size:16px}
.ali-process-table tbody tr:nth-child(odd) td{background:rgba(255,255,255,.02)}
.ali-process-table tbody tr:hover td{background:rgba(255,255,255,.06)}
.kpi-donut-wrap{display:flex;flex-direction:column;align-items:center;gap:14px;padding:14px;border-radius:8px;background:rgba(0,212,255,0.03);border:1px solid rgba(0,212,255,0.08)}
.kpi-donut-stage{width:100%;min-height:226px;position:relative;display:flex;align-items:center;justify-content:center}
.kpi-donut-plot{width:100%;max-width:360px;height:226px;position:relative;display:flex;align-items:center;justify-content:center}
.kpi-donut{width:166px;height:166px;border-radius:50%;position:relative;flex-shrink:0}
.kpi-donut::after{content:"";position:absolute;inset:36px;border-radius:50%;background:var(--panel)}
.kpi-donut-label{position:absolute;max-width:170px;padding:5px 7px;border-radius:6px;background:rgba(10,18,32,0.88);border:1px solid currentColor;font-size:11px;font-weight:600;line-height:1.25;text-align:center;transform:translate(-50%,-50%);box-shadow:0 6px 18px rgba(0,0,0,0.25)}
.kpi-legend{display:flex;flex-direction:column;gap:9px;width:100%;max-width:280px}
.kpi-legend-item{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:9px;align-items:center;font-size:12px;color:var(--text-secondary);text-align:left}
.kpi-legend-dot{width:11px;height:11px;border-radius:3px}
.kpi-legend-name{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;word-break:break-word}
.kpi-legend-value{font-size:12px;font-weight:700;color:var(--text-primary)}

/* Animations */
@keyframes fadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes scanLine{0%{transform:translateY(-100%)}100%{transform:translateY(100vh)}}
.scan-line{position:fixed;top:0;left:0;right:0;height:2px;z-index:9999;pointer-events:none;background:linear-gradient(90deg,transparent,var(--cyan),transparent);opacity:0.06;animation:scanLine 6s linear infinite}

body:not(.performance-page-active):not(.kb-page-active){
  --bg:var(--paper);--bg-panel:var(--card);--cyan:var(--deep);--cyan-dim:var(--muted);
  --purple:var(--aqua-strong);--green:var(--deep);--orange:var(--gold);--red:var(--lotus);--pink:var(--lotus);
  --text-primary:var(--ink);--text-secondary:var(--muted);--text-dim:rgba(95,120,134,.72);
  --border:var(--line);--border-hover:var(--line-strong);
  color:var(--ink);
  background:radial-gradient(circle at 12% 8%, rgba(185,231,239,.40), transparent 38%),radial-gradient(circle at 88% 92%, rgba(231,169,187,.20), transparent 34%),linear-gradient(160deg,#fbfcf8 0%,#eef8f8 52%,#f8faf2 100%);
}
body:not(.performance-page-active):not(.kb-page-active) .bg-grid{background-image:linear-gradient(rgba(185,231,239,.20) 1px,transparent 1px),linear-gradient(90deg,rgba(185,231,239,.20) 1px,transparent 1px)}
body:not(.performance-page-active):not(.kb-page-active) .bg-grid::after{background:radial-gradient(ellipse at 50% 0%,rgba(185,231,239,.30) 0%,transparent 60%)}
body:not(.performance-page-active):not(.kb-page-active) .sidebar,
body:not(.performance-page-active):not(.kb-page-active) .top-header,
body:not(.performance-page-active):not(.kb-page-active) .panel,
body:not(.performance-page-active):not(.kb-page-active) .kb-container,
body:not(.performance-page-active):not(.kb-page-active) .stat-card,
body:not(.performance-page-active):not(.kb-page-active) .node-l2,
body:not(.performance-page-active):not(.kb-page-active) .metric-card,
body:not(.performance-page-active):not(.kb-page-active) .metric-value-box,
body:not(.performance-page-active):not(.kb-page-active) .search-result-card,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-card{background:var(--card)!important;border-color:var(--line)!important;box-shadow:var(--shadow-sm)!important}
body:not(.performance-page-active):not(.kb-page-active) .sidebar{background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(223,246,251,.44))!important}
body:not(.performance-page-active):not(.kb-page-active) .top-header{background:var(--card)!important}
body:not(.performance-page-active):not(.kb-page-active) .top-header::after,
body:not(.performance-page-active):not(.kb-page-active) .panel::before,
body:not(.performance-page-active):not(.kb-page-active) .stat-card::before,
body:not(.performance-page-active):not(.kb-page-active) .sidebar-brand .logo,
body:not(.performance-page-active):not(.kb-page-active) .panel-title .bar,
body:not(.performance-page-active):not(.kb-page-active) .pdetail-section-title .bar{background:linear-gradient(90deg,var(--aqua-strong),var(--gold),transparent)!important}
body:not(.performance-page-active):not(.kb-page-active) .sidebar-brand .logo{color:#ffffff!important}
body:not(.performance-page-active):not(.kb-page-active) .header-title{background:none!important;-webkit-text-fill-color:var(--ink)!important;color:var(--ink)!important;text-shadow:none!important}
body:not(.performance-page-active):not(.kb-page-active) .global-search,
body:not(.performance-page-active):not(.kb-page-active) .global-search input,
body:not(.performance-page-active):not(.kb-page-active) .global-search button,
body:not(.performance-page-active):not(.kb-page-active) .tab-btn,
body:not(.performance-page-active):not(.kb-page-active) .detail-header-count,
body:not(.performance-page-active):not(.kb-page-active) .l4-panel,
body:not(.performance-page-active):not(.kb-page-active) .pdetail-section-content,
body:not(.performance-page-active):not(.kb-page-active) .detail-section-content{background:#ffffff!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:none!important}
body:not(.performance-page-active):not(.kb-page-active) .global-search input::placeholder{color:var(--muted)!important}
body:not(.performance-page-active):not(.kb-page-active) .nav-item:hover,
body:not(.performance-page-active):not(.kb-page-active) .nav-item.active,
body:not(.performance-page-active):not(.kb-page-active) .nav-icon-only:hover,
body:not(.performance-page-active):not(.kb-page-active) .nav-icon-only.active,
body:not(.performance-page-active):not(.kb-page-active) .left-icon-item:hover,
body:not(.performance-page-active):not(.kb-page-active) .left-icon-item.active,
body:not(.performance-page-active):not(.kb-page-active) .metric-tag:hover,
body:not(.performance-page-active):not(.kb-page-active) .metric-tag.active,
body:not(.performance-page-active):not(.kb-page-active) .tab-btn:hover,
body:not(.performance-page-active):not(.kb-page-active) .tab-btn.active-tab,
body:not(.performance-page-active):not(.kb-page-active) .node-l3,
body:not(.performance-page-active):not(.kb-page-active) .node-l3:hover,
body:not(.performance-page-active):not(.kb-page-active) .node-l3.active-l3,
body:not(.performance-page-active):not(.kb-page-active) .node-intermediate.active-l3,
body:not(.performance-page-active):not(.kb-page-active) .person-item:hover,
body:not(.performance-page-active):not(.kb-page-active) .search-result-card:hover{background:var(--aqua)!important;border-color:var(--line-strong)!important;color:var(--ink)!important;box-shadow:var(--shadow-sm)!important}
body:not(.performance-page-active):not(.kb-page-active) .node-l1{background:linear-gradient(135deg,var(--deep),#0f5a4e)!important;border-color:var(--deep)!important;box-shadow:var(--shadow-sm)!important}
body:not(.performance-page-active):not(.kb-page-active) .node-l1 .l1-name,
body:not(.performance-page-active):not(.kb-page-active) .node-l1 .l1-sub{color:#ffffff!important}
body:not(.performance-page-active):not(.kb-page-active) .v-line,
body:not(.performance-page-active):not(.kb-page-active) .h-connector,
body:not(.performance-page-active):not(.kb-page-active) .intermediate-link{background:linear-gradient(90deg,rgba(18,52,72,.12),var(--line-strong),rgba(18,52,72,.12))!important}
body:not(.performance-page-active):not(.kb-page-active) .intermediate-layer .v-line{background:linear-gradient(180deg,var(--line-strong),rgba(18,52,72,.12))!important}
body:not(.performance-page-active):not(.kb-page-active) .node-l3 .l3-count-btn,
body:not(.performance-page-active):not(.kb-page-active) .metric-tag,
body:not(.performance-page-active):not(.kb-page-active) .search-result-type,
body:not(.performance-page-active):not(.kb-page-active) .kpi-chip{background:var(--aqua-strong)!important;border-color:var(--line)!important;color:var(--deep)!important}
body:not(.performance-page-active):not(.kb-page-active) .collapse-btn,
body:not(.performance-page-active):not(.kb-page-active) .left-collapse-btn,
body:not(.performance-page-active):not(.kb-page-active) .org-zoom-controls,
body:not(.performance-page-active):not(.kb-page-active) .org-zoom-btn{background:#ffffff!important;border-color:var(--line)!important;color:var(--ink)!important}
body:not(.performance-page-active):not(.kb-page-active) .detail-close-btn{background:rgba(231,169,187,.20)!important;border-color:rgba(231,169,187,.45)!important;color:var(--gold)!important}
body:not(.performance-page-active):not(.kb-page-active) .detail-close-btn:hover{background:var(--lotus)!important;color:#ffffff!important}
body:not(.performance-page-active):not(.kb-page-active) .person-dot,
body:not(.performance-page-active):not(.kb-page-active) .footer-dot,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-role-dot{background:var(--deep)!important;box-shadow:0 0 8px rgba(8,60,51,.28)!important}
body:not(.performance-page-active):not(.kb-page-active) .org-tree-body::-webkit-scrollbar-thumb,
body:not(.performance-page-active):not(.kb-page-active) .panel-body::-webkit-scrollbar-thumb,
body:not(.performance-page-active):not(.kb-page-active) ::-webkit-scrollbar-thumb{background:rgba(18,52,72,.22)!important}
body:not(.performance-page-active):not(.kb-page-active) .clock .time,
body:not(.performance-page-active):not(.kb-page-active) .panel-sub,
body:not(.performance-page-active):not(.kb-page-active) .stat-value,
body:not(.performance-page-active):not(.kb-page-active) .headcount-value,
body:not(.performance-page-active):not(.kb-page-active) .metric-lib-count,
body:not(.performance-page-active):not(.kb-page-active) .metric-card-title,
body:not(.performance-page-active):not(.kb-page-active) .metric-group-title,
body:not(.performance-page-active):not(.kb-page-active) .detail-header-title,
body:not(.performance-page-active):not(.kb-page-active) .intermediate-kpi-title,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-title,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table td,
body:not(.performance-page-active):not(.kb-page-active) .node-l2 .l2-count,
body:not(.performance-page-active):not(.kb-page-active) .node-intermediate .l2-count,
body:not(.performance-page-active):not(.kb-page-active) .search-summary b,
body:not(.performance-page-active):not(.kb-page-active) .search-group-title{color:var(--ink)!important;text-shadow:none!important}
body:not(.performance-page-active):not(.kb-page-active) .clock .date,
body:not(.performance-page-active):not(.kb-page-active) .stat-label,
body:not(.performance-page-active):not(.kb-page-active) .stat-desc,
body:not(.performance-page-active):not(.kb-page-active) .headcount-label,
body:not(.performance-page-active):not(.kb-page-active) .leader-role,
body:not(.performance-page-active):not(.kb-page-active) .node-l2 .l2-sub,
body:not(.performance-page-active):not(.kb-page-active) .node-intermediate .l2-sub,
body:not(.performance-page-active):not(.kb-page-active) .person-name,
body:not(.performance-page-active):not(.kb-page-active) .detail-empty,
body:not(.performance-page-active):not(.kb-page-active) .detail-section-content,
body:not(.performance-page-active):not(.kb-page-active) .pdetail-section-content,
body:not(.performance-page-active):not(.kb-page-active) .search-summary,
body:not(.performance-page-active):not(.kb-page-active) .search-result-desc,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-note,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-tool-sub,
body:not(.performance-page-active):not(.kb-page-active) .ali-duty-desc,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-desc,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-loop,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-sub,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-sub,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table th,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-group-head{color:var(--muted)!important}
body:not(.performance-page-active):not(.kb-page-active) .sidebar-brand .brand-text,
body:not(.performance-page-active):not(.kb-page-active) .panel-title,
body:not(.performance-page-active):not(.kb-page-active) .node-l2 .l2-name,
body:not(.performance-page-active):not(.kb-page-active) .node-intermediate .l2-name,
body:not(.performance-page-active):not(.kb-page-active) .node-l3 .l3-name-btn,
body:not(.performance-page-active):not(.kb-page-active) .leader-name,
body:not(.performance-page-active):not(.kb-page-active) .metric-lib-title,
body:not(.performance-page-active):not(.kb-page-active) .metric-card-content,
body:not(.performance-page-active):not(.kb-page-active) .search-result-name,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-panel,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-condition,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-skill-row,
body:not(.performance-page-active):not(.kb-page-active) .ali-req-tool-main,
body:not(.performance-page-active):not(.kb-page-active) .ali-duty-panel,
body:not(.performance-page-active):not(.kb-page-active) .ali-duty-title,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-card-title,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-card-name,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-step-text,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-title{color:var(--ink)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-meta,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-step-count,
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-output{color:var(--muted)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-sop-card{background:rgba(255,255,255,.62)!important;border-color:var(--line)!important;box-shadow:var(--shadow-sm)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-req-bullet,
body:not(.performance-page-active):not(.kb-page-active) .ali-duty-dot{color:var(--deep)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-req-stars{color:var(--gold)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-req-section+.ali-req-section,
body:not(.performance-page-active):not(.kb-page-active) .ali-duty-layer+.ali-duty-layer,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table td,
body:not(.performance-page-active):not(.kb-page-active) .detail-header,
body:not(.performance-page-active):not(.kb-page-active) .panel-header,
body:not(.performance-page-active):not(.kb-page-active) .sidebar-brand{border-color:var(--line)!important}
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table th,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table tbody tr:nth-child(odd) td,
body:not(.performance-page-active):not(.kb-page-active) .ali-process-table tbody tr:hover td{background:rgba(223,246,251,.34)!important}

body.kb-page-active .kb-container{
  border-color:var(--line)!important;
  background:var(--card)!important;
  box-shadow:var(--shadow-sm)!important;
}
body.kb-page-active{
  --bg:var(--paper);--bg-panel:var(--card);--cyan:var(--deep);--cyan-dim:var(--muted);
  --purple:var(--aqua-strong);--green:var(--deep);--orange:var(--gold);--red:var(--lotus);--pink:var(--lotus);
  --text-primary:var(--ink);--text-secondary:var(--muted);--text-dim:rgba(95,120,134,.72);
  --border:var(--line);--border-hover:var(--line-strong);
  color:var(--ink);
  background:radial-gradient(circle at 12% 8%, rgba(185,231,239,.40), transparent 38%),radial-gradient(circle at 88% 92%, rgba(231,169,187,.20), transparent 34%),linear-gradient(160deg,#fbfcf8 0%,#eef8f8 52%,#f8faf2 100%);
}
body.kb-page-active .bg-grid{background-image:linear-gradient(rgba(185,231,239,.20) 1px,transparent 1px),linear-gradient(90deg,rgba(185,231,239,.20) 1px,transparent 1px)}
body.kb-page-active .bg-grid::after{background:radial-gradient(ellipse at 50% 0%,rgba(185,231,239,.30) 0%,transparent 60%)}
body.kb-page-active .sidebar,
body.kb-page-active .top-header{background:var(--card)!important;border-color:var(--line)!important;box-shadow:var(--shadow-sm)!important}
body.kb-page-active .sidebar{background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(223,246,251,.44))!important}
body.kb-page-active .top-header::after,
body.kb-page-active .sidebar-brand .logo{background:linear-gradient(90deg,var(--aqua-strong),var(--gold),transparent)!important}
body.kb-page-active .sidebar-brand .logo{color:#ffffff!important}
body.kb-page-active .header-title{background:none!important;-webkit-text-fill-color:var(--ink)!important;color:var(--ink)!important;text-shadow:none!important}
body.kb-page-active .global-search,
body.kb-page-active .global-search input,
body.kb-page-active .global-search button{background:#ffffff!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:none!important}
body.kb-page-active .global-search input::placeholder{color:var(--muted)!important}
body.kb-page-active .nav-item:hover,
body.kb-page-active .nav-item.active,
body.kb-page-active .nav-icon-only:hover,
body.kb-page-active .nav-icon-only.active{background:var(--aqua)!important;border-color:var(--line-strong)!important;color:var(--ink)!important;box-shadow:var(--shadow-sm)!important}
body.kb-page-active .collapse-btn{background:#ffffff!important;border-color:var(--line)!important;color:var(--ink)!important}
body.kb-page-active .sidebar-brand{border-color:var(--line)!important}
body.kb-page-active .clock .time{color:var(--ink)!important;text-shadow:none!important}
body.kb-page-active .clock .date,
body.kb-page-active .sidebar-brand .brand-sub{color:var(--muted)!important}

body.performance-page-active{
  --bg:var(--paper);--bg-panel:var(--card);--cyan:var(--deep);--cyan-dim:var(--muted);
  --purple:var(--aqua-strong);--green:var(--deep);--orange:var(--gold);--red:var(--lotus);--pink:var(--lotus);
  --text-primary:var(--ink);--text-secondary:var(--muted);--text-dim:rgba(95,120,134,.72);
  --border:var(--line);--border-hover:var(--line-strong);
  color:var(--ink);
  background:radial-gradient(circle at 12% 8%, rgba(185,231,239,.40), transparent 38%),radial-gradient(circle at 88% 92%, rgba(231,169,187,.20), transparent 34%),linear-gradient(160deg,#fbfcf8 0%,#eef8f8 52%,#f8faf2 100%);
}
body.performance-page-active .bg-grid{background-image:linear-gradient(rgba(185,231,239,.20) 1px,transparent 1px),linear-gradient(90deg,rgba(185,231,239,.20) 1px,transparent 1px)}
body.performance-page-active .bg-grid::after{background:radial-gradient(ellipse at 50% 0%,rgba(185,231,239,.30) 0%,transparent 60%)}
body.performance-page-active .top-header,
body.performance-page-active .sidebar,
body.performance-page-active .panel,
body.performance-page-active .kb-container,
body.performance-page-active .performance-filter-bar,
body.performance-page-active .transparent-perf-shell,
body.performance-page-active .transparent-kpi-card,
body.performance-page-active .leader-bubble-card,
body.performance-page-active .leader-treemap-card,
body.performance-page-active .leader-data-card,
body.performance-page-active .leader-data-table-wrap,
body.performance-page-active .leader-related-panel,
body.performance-page-active .achievement-area-card,
body.performance-page-active .formula-card,
body.performance-page-active .leader-score-trend-chart,
body.performance-page-active .qingshu-card,
body.performance-page-active .qingshu-table-wrap,
body.performance-page-active .warning-item,
body.performance-page-active .product-line-card,
body.performance-page-active .product-line-insight,
body.performance-page-active .product-line-heatmap{
  background:var(--card)!important;
  border-color:var(--line)!important;
  box-shadow:var(--shadow-sm)!important;
  color:var(--ink)!important;
}
body.performance-page-active .top-header::after,
body.performance-page-active .panel::before,
body.performance-page-active .panel-title .bar{
  background:linear-gradient(90deg,var(--aqua-strong),var(--gold),transparent)!important;
}
body.performance-page-active .header-title{
  background:none!important;
  -webkit-text-fill-color:var(--ink)!important;
  color:var(--ink)!important;
  text-shadow:none!important;
}
body.performance-page-active .global-search,
body.performance-page-active .global-search input,
body.performance-page-active .performance-field select,
body.performance-page-active .performance-field input,
body.performance-page-active .transparent-input,
body.performance-page-active .transparent-select,
body.performance-page-active .performance-month-popover,
body.performance-page-active .performance-week-popover,
body.performance-page-active .performance-date-popover,
body.performance-page-active .month-picker-cell,
body.performance-page-active .week-picker-cell,
body.performance-page-active .leader-bubble-chart-wrap,
body.performance-page-active .leader-view-tab,
body.performance-page-active .leader-data-table th,
body.performance-page-active .leader-data-table td:first-child,
body.performance-page-active .leader-data-table th:first-child,
body.performance-page-active .leader-bubble-fast-tooltip{
  background:#ffffff!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}
body.performance-page-active .global-search input::placeholder,
body.performance-page-active .performance-field select option,
body.performance-page-active .transparent-select option{color:var(--muted)!important;background:#ffffff!important}
body.performance-page-active .performance-field select:focus,
body.performance-page-active .performance-field input:focus,
body.performance-page-active .transparent-input:focus,
body.performance-page-active .transparent-select:focus{
  border-color:var(--deep)!important;
  box-shadow:0 0 0 2px rgba(185,231,239,.36)!important;
}
body.performance-page-active .global-search button,
body.performance-page-active .performance-btn,
body.performance-page-active .leader-view-tab.active{
  background:var(--deep)!important;
  border-color:var(--deep)!important;
  color:#ffffff!important;
  box-shadow:var(--shadow-sm)!important;
}
body.performance-page-active .performance-btn.secondary,
body.performance-page-active .leader-related-link,
body.performance-page-active .leader-related-row .leader-related-link,
body.performance-page-active .performance-tab,
body.performance-page-active .month-picker-cell:hover,
body.performance-page-active .month-picker-cell.selected,
body.performance-page-active .week-picker-row:hover .week-picker-cell,
body.performance-page-active .week-picker-row.selected .week-picker-cell,
body.performance-page-active .date-picker-cell.in-range{
  background:var(--aqua)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
body.performance-page-active .leader-related-link:hover,
body.performance-page-active .performance-btn:hover,
body.performance-page-active .performance-tab.active,
body.performance-page-active .week-picker-row.selected .week-picker-cell.week-end,
body.performance-page-active .date-picker-cell.range-start,
body.performance-page-active .date-picker-cell.range-end,
body.performance-page-active .week-picker-cell.today{
  background:var(--aqua-strong)!important;
  border-color:var(--gold)!important;
  color:var(--deep)!important;
}
body.performance-page-active .panel-title,
body.performance-page-active .transparent-section-title,
body.performance-page-active .leader-bubble-title,
body.performance-page-active .leader-view-title,
body.performance-page-active .leader-score-trend-title,
body.performance-page-active .qingshu-chart-title,
body.performance-page-active .leader-related-title,
body.performance-page-active .product-line-title,
body.performance-page-active .product-line-heatmap-title,
body.performance-page-active .product-line-rank-name,
body.performance-page-active .product-line-insight b,
body.performance-page-active .leader-data-name,
body.performance-page-active .leader-data-table td,
body.performance-page-active .leader-bubble-name,
body.performance-page-active .leader-treemap-legend,
body.performance-page-active .leader-bubble-legend-item,
body.performance-page-active .leader-score-legend-item{
  color:var(--ink)!important;
  fill:var(--ink)!important;
  text-shadow:none!important;
}
body.performance-page-active .panel-sub,
body.performance-page-active .clock .time,
body.performance-page-active .clock .date,
body.performance-page-active .performance-field label,
body.performance-page-active .transparent-field label,
body.performance-page-active .transparent-tip,
body.performance-page-active .leader-bubble-sub,
body.performance-page-active .leader-bubble-note,
body.performance-page-active .leader-treemap-note,
body.performance-page-active .leader-related-foot,
body.performance-page-active .leader-score-trend-sub,
body.performance-page-active .qingshu-card-label,
body.performance-page-active .qingshu-chart-sub,
body.performance-page-active .qingshu-axis-text,
body.performance-page-active .qingshu-chart-label,
body.performance-page-active .leader-data-empty,
body.performance-page-active .leader-metric-empty,
body.performance-page-active .achievement-tick,
body.performance-page-active .achievement-label,
body.performance-page-active .achievement-legend,
body.performance-page-active .leader-score-tick,
body.performance-page-active .leader-bubble-tick,
body.performance-page-active .leader-bubble-profit,
body.performance-page-active .leader-bubble-rate{
  color:var(--muted)!important;
  fill:var(--muted)!important;
  text-shadow:none!important;
}
body.performance-page-active .product-line-sub,
body.performance-page-active .product-line-rank-row,
body.performance-page-active .product-line-tick,
body.performance-page-active .product-line-axis-title,
body.performance-page-active .product-line-heat-cell,
body.performance-page-active .product-line-status,
body.performance-page-active .product-line-insight{color:var(--muted)!important;fill:var(--muted)!important}
body.performance-page-active .product-line-heat-head,
body.performance-page-active .product-line-heat-row-head{background:#ffffff!important;color:var(--ink)!important}
body.performance-page-active .product-line-axis,
body.performance-page-active .product-line-grid-line{stroke:var(--grid-strong)!important}
body.performance-page-active .product-line-matrix{background:#ffffff!important}
body.performance-page-active .product-line-quadrant{fill:var(--muted)!important}
body.performance-page-active .product-line-rank-fill{background:linear-gradient(90deg,var(--c8),var(--c1))!important}
body.performance-page-active .transparent-kpi-value,
body.performance-page-active .qingshu-card-value,
body.performance-page-active .leader-data-score,
body.performance-page-active .qingshu-chart-value,
body.performance-page-active .list-count .num{
  color:var(--ink)!important;
  fill:var(--ink)!important;
  text-shadow:none!important;
}
body.performance-page-active .transparent-kpi-value.warn,
body.performance-page-active .warning-tag,
body.performance-page-active .warning-tag.high{color:var(--gold)!important}
body.performance-page-active .leader-bubble-grid,
body.performance-page-active .achievement-grid,
body.performance-page-active .leader-score-grid,
body.performance-page-active .qingshu-grid-line{stroke:var(--grid)!important}
body.performance-page-active .leader-bubble-axis,
body.performance-page-active .achievement-axis,
body.performance-page-active .leader-score-axis,
body.performance-page-active .qingshu-axis-line{stroke:var(--grid-strong)!important}
body.performance-page-active .leader-bubble-ref,
body.performance-page-active .achievement-standard{stroke:var(--target)!important}
body.performance-page-active .leader-bubble-ref-label{fill:var(--gold)!important}
body.performance-page-active .leader-bubble-quadrant{fill:var(--muted)!important}
body.performance-page-active .leader-bubble-axis-title{fill:var(--ink)!important}
body.performance-page-active .leader-bubble-guide{stroke:rgba(18,52,72,.42)!important}
body.performance-page-active .leader-bubble-point{stroke:#ffffff!important;opacity:.72!important;mix-blend-mode:normal!important}
body.performance-page-active .leader-bubble-point:hover{opacity:.9!important;stroke:#ffffff!important}
body.performance-page-active .leader-bubble-dot,
body.performance-page-active .leader-data-dot,
body.performance-page-active .leader-score-legend-dot,
body.performance-page-active .achievement-legend-dot{box-shadow:0 0 0 2px rgba(18,52,72,.08)!important}
body.performance-page-active .leader-treemap-rect{stroke:var(--line)!important}
body.performance-page-active .leader-treemap-name,
body.performance-page-active .leader-treemap-value,
body.performance-page-active .leader-treemap-owner{fill:#ffffff!important;text-shadow:none!important}
body.performance-page-active .achievement-target{fill:rgba(95,120,134,.18)!important;stroke:var(--muted)!important}
body.performance-page-active .achievement-actual{fill:var(--series-area)!important;stroke:var(--c8)!important}
body.performance-page-active .achievement-target-line{stroke:var(--muted)!important}
body.performance-page-active .achievement-actual-line{stroke:var(--c8)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+1){stroke:var(--c1)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+2){stroke:var(--c2)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+3){stroke:var(--c3)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+4){stroke:var(--c4)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+5){stroke:var(--c5)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+6){stroke:var(--c6)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+7){stroke:var(--c7)!important}
body.performance-page-active .leader-score-line:nth-of-type(8n+8){stroke:var(--c8)!important}
body.performance-page-active .leader-score-dot{stroke:#ffffff!important}
body.performance-page-active .leader-data-table th{color:var(--muted)!important}
body.performance-page-active .leader-data-table tbody tr:nth-child(odd){background:rgba(223,246,251,.28)!important}
body.performance-page-active .formula-card code{background:var(--aqua)!important;color:var(--deep)!important}
body .sidebar-brand .logo,
body:not(.performance-page-active):not(.kb-page-active) .sidebar-brand .logo,
body.performance-page-active .sidebar-brand .logo,
body.kb-page-active .sidebar-brand .logo{
  background:linear-gradient(135deg,#8FB5B0,#7A9E9F)!important;
  color:#ffffff!important;
}
.product-line-view-toggle{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #DCE6F0;border-radius:999px;background:#F4F7FA;white-space:nowrap}.product-line-view-btn{display:inline-flex;align-items:center;gap:4px;border:0;border-radius:999px;background:transparent;color:#64748B;font-size:12px;font-weight:800;line-height:28px;padding:0 10px;cursor:pointer}.product-line-view-btn:hover{background:#E8F1FA;color:#185FA5}.product-line-view-btn.active{background:#0F6E56;color:#FFFFFF;box-shadow:0 1px 3px rgba(15,110,86,.24)}.product-line-view-icon{font-size:13px;line-height:1}.product-line-head-actions{display:flex;align-items:flex-end;gap:10px;flex-direction:column}.product-line-table-wrap{width:100%;overflow:hidden;border:1px solid #DCE6F0;border-radius:8px;background:#FFFFFF}.product-line-data-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.product-line-data-table th,.product-line-data-table td{height:40px;border-bottom:1px solid #E6EEF6;padding:0 7px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334155}.product-line-data-table th{height:38px;background:#F3F6F9;color:#475569;font-weight:900}.product-line-data-table th:first-child,.product-line-data-table td:first-child{width:22%;text-align:left}.product-line-data-table th:nth-child(2),.product-line-data-table td:nth-child(2){width:17%}.product-line-data-table th:nth-child(3),.product-line-data-table td:nth-child(3),.product-line-data-table th:nth-child(4),.product-line-data-table td:nth-child(4){width:16%}.product-line-data-table th:nth-child(5),.product-line-data-table td:nth-child(5){width:12%}.product-line-data-table th:nth-child(6),.product-line-data-table td:nth-child(6){width:17%}.product-line-data-table tbody tr:nth-child(even){background:#FAFCFE}.product-line-data-table tbody tr:hover{background:#F2F8FB}.product-line-table-name{font-weight:900;color:#0F2F4F}@media (max-width:1280px){.product-line-view-btn{font-size:11px;padding:0 8px}.product-line-data-table{font-size:11px}.product-line-data-table th,.product-line-data-table td{height:38px;padding:0 5px}}
body:not(.performance-page-active):not(.kb-page-active) .node-l2{background:var(--dept-tint,var(--card))!important;border-color:var(--dept-border,var(--line))!important;box-shadow:none!important}
body:not(.performance-page-active):not(.kb-page-active) .node-l2:hover{background:var(--dept-tint,var(--card))!important;border-color:var(--dept-color,var(--line-strong))!important;box-shadow:0 4px 12px var(--dept-shadow,rgba(18,52,72,.10))!important}
/* Match long-term organization page backgrounds to the CMS presentation. */
body:not(.performance-page-active):not(.kb-page-active) .sidebar{
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(223,246,251,.44))!important;
  border-right:1px solid var(--line)!important;
  box-shadow:var(--shadow-sm)!important;
}
body:not(.performance-page-active):not(.kb-page-active) .top-header,
body:not(.performance-page-active):not(.kb-page-active) .panel,
body:not(.performance-page-active):not(.kb-page-active) .kb-container,
body:not(.performance-page-active):not(.kb-page-active) .stat-card,
body:not(.performance-page-active):not(.kb-page-active) .metric-card,
body:not(.performance-page-active):not(.kb-page-active) .metric-value-box,
body:not(.performance-page-active):not(.kb-page-active) .search-result-card,
body:not(.performance-page-active):not(.kb-page-active) .dabo-flow-card{
  background:var(--card)!important;
  border-color:var(--line)!important;
  box-shadow:var(--shadow-sm)!important;
}
body:not(.performance-page-active):not(.kb-page-active) .content-grid > .panel,
body:not(.performance-page-active):not(.kb-page-active) .content-grid > .kb-container{
  background:var(--card)!important;
  border-color:var(--line)!important;
  box-shadow:var(--shadow-sm)!important;
}
body:not(.performance-page-active):not(.kb-page-active) .node-l2{
  background:var(--dept-tint,var(--card))!important;
  border-color:var(--dept-border,var(--line))!important;
  box-shadow:none!important;
}
/* Keep each tertiary position visually grouped with its parent department. */
body:not(.performance-page-active):not(.kb-page-active) .node-l3{
  background:var(--dept-l3-tint,var(--aqua))!important;
  border-color:var(--dept-l3-border,var(--line))!important;
  box-shadow:none!important;
}
body:not(.performance-page-active):not(.kb-page-active) .node-l3:hover,
body:not(.performance-page-active):not(.kb-page-active) .node-l3.active-l3{
  background:var(--dept-l3-tint,var(--aqua))!important;
  border-color:var(--dept-l3-color,var(--line-strong))!important;
  box-shadow:var(--shadow-sm)!important;
}
body:not(.performance-page-active):not(.kb-page-active) .node-l3 .l3-count-btn{
  background:var(--dept-l3-count-bg,var(--aqua-strong))!important;
  border-left-color:var(--dept-l3-border,var(--line))!important;
  color:var(--dept-l3-color,var(--deep))!important;
}
body:not(.performance-page-active):not(.kb-page-active) .node-l3 .l3-count-btn:hover{
  background:var(--dept-l3-count-hover,var(--aqua-strong))!important;
  color:var(--ink)!important;
}
/* Match the reference: four summary cards share the available width evenly. */
body:not(.performance-page-active):not(.kb-page-active) .stats-bar{
  width:100%!important;
  height:96px!important;
  padding:10px 10px!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-columns:minmax(0,1fr)!important;
}
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-card{
  width:100%!important;
  min-height:76px!important;
  padding:14px 26px!important;
  gap:18px!important;
  min-width:0!important;
  overflow:visible!important;
}
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-icon{
  width:42px!important;
  height:42px!important;
  margin-left:2px!important;
}
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-body{
  min-width:0!important;
  padding:2px 0!important;
}
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-label,
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-value{
  line-height:1.15!important;
}
body:not(.performance-page-active):not(.kb-page-active) .stats-bar .stat-desc{
  line-height:1.3!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Local metric-library preview: only the left metric tree and right detail states. */
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .panel-body{padding:0 8px 8px;overflow-y:auto;min-height:0}
body:not(.performance-page-active):not(.kb-page-active) .tag-grid{max-height:none;overflow:visible;padding-bottom:4px}
.metric-category{border-bottom:1px solid rgba(148,163,184,.18)}
.metric-category-row{position:sticky;top:0;z-index:2;width:100%;height:34px;display:flex;align-items:center;gap:7px;border:0;border-bottom:1px solid rgba(148,163,184,.14);background:var(--card);color:var(--text-primary);padding:0 7px;text-align:left;cursor:pointer;font-size:12px;font-weight:700}
.metric-category-row:hover{background:rgba(15,110,86,.06)}
.metric-category-chevron{width:12px;color:var(--green);font-size:14px}
.metric-category-name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-category-count,.metric-tag-count,.right-mode-count{font-size:10px;line-height:17px;min-width:21px;padding:0 5px;text-align:center;border-radius:10px;background:rgba(15,110,86,.1);color:var(--green);font-weight:700}
.metric-category-items{padding:4px 0 7px}
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .metric-category-row,
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .metric-tag,
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .metric-tag:hover,
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .metric-tag.active{background:var(--card)!important;color:var(--ink)!important;box-shadow:none!important}
body:not(.performance-page-active):not(.kb-page-active) .metric-panel .metric-tag.active{border-left-color:var(--deep)!important}
.metric-tag{width:100%;min-height:28px;height:auto;display:flex;align-items:center;gap:5px;border:0;border-left:3px solid transparent;border-radius:6px;background:transparent;color:var(--text-secondary);padding:5px 5px 5px 8px;text-align:left;font-size:11px;line-height:15px;cursor:pointer}
.metric-tag:hover{background:rgba(15,110,86,.07);color:var(--text-primary)}
.metric-tag.active{border-left-color:var(--green);background:rgba(15,110,86,.12);color:var(--green);font-weight:700}
.metric-tag-name{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-normalized{font-size:12px;color:#18865f;font-weight:800}
.metric-tree-empty,.metric-loading,.metric-tree-error{padding:14px 8px;color:var(--text-dim);font-size:11px;text-align:center;line-height:1.6}
.metric-tree-error button{border:1px solid rgba(15,110,86,.25);background:transparent;color:var(--green);border-radius:5px;padding:4px 9px;cursor:pointer}
.right-mode-tabs{display:flex;gap:4px;padding:0 0 9px;margin-bottom:10px;border-bottom:1px solid rgba(148,163,184,.2)}
.right-mode-tab{border:0;border-radius:6px;background:transparent;color:var(--text-dim);padding:6px 10px;font-size:11px;cursor:pointer}
.right-mode-tab.active{background:rgba(15,110,86,.12);color:var(--green);font-weight:700}
.right-mode-count{display:inline-block;margin-left:5px;min-width:18px;line-height:16px}
.metric-detail{display:flex;flex-direction:column;gap:9px;min-width:0}
.metric-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.metric-detail-head .detail-header-title{max-width:270px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-badge-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.metric-badge{display:inline-flex;align-items:center;max-width:100%;border-radius:10px;padding:3px 7px;font-size:10px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-badge-category{background:rgba(15,110,86,.1);color:#176b55}.metric-badge-type{background:rgba(59,130,246,.1);color:#3565a8}.metric-badge-ok{background:rgba(34,139,94,.12);color:#17734b}.metric-badge-pending{background:rgba(180,116,35,.14);color:#9a621c}
.metric-stat-strip{display:flex;flex-wrap:wrap;gap:5px;color:var(--text-dim);font-size:10px;padding:7px 8px;border-radius:6px;background:rgba(148,163,184,.08)}
.metric-stat-strip span{white-space:nowrap}.metric-stat-strip b{color:var(--text-primary);font-size:11px}
.metric-detail .metric-card{max-width:none!important;width:auto!important;box-sizing:border-box;margin:0;padding:10px;border:1px solid rgba(148,163,184,.16);border-radius:8px;background:rgba(255,255,255,.72);display:block}
.metric-detail .metric-card-title{display:flex;align-items:center;gap:6px;margin-bottom:8px;color:var(--text-primary);font-size:11px;font-weight:700}
.metric-card-note{margin-left:auto;color:var(--text-dim);font-size:9px;font-weight:400}
.metric-inline-status{font-size:9px;color:#9a621c;font-weight:500}
.metric-archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px}.metric-archive-item{min-width:0}.metric-archive-item span{display:block;color:var(--text-dim);font-size:9px;margin-bottom:2px}.metric-archive-item strong{display:block;color:var(--text-primary);font-size:10px;line-height:1.45;word-break:break-word;font-weight:600}
.metric-variant-list{max-height:150px;overflow:auto;color:var(--text-secondary);font-size:10px;line-height:1.5}.metric-variant-list div{padding:4px 0;border-bottom:1px solid rgba(148,163,184,.12)}
.metric-role-list{display:flex;flex-direction:column;gap:4px}.metric-role-item{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;border:1px solid rgba(148,163,184,.16);border-radius:6px;background:transparent;padding:6px 7px;text-align:left;cursor:pointer;color:var(--text-primary)}.metric-role-item:hover{background:rgba(15,110,86,.07);border-color:rgba(15,110,86,.3)}.metric-role-item span{min-width:0}.metric-role-item b,.metric-role-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-role-item b{font-size:10px}.metric-role-item small{color:var(--text-dim);font-size:9px;margin-top:2px}.metric-role-item strong{color:var(--green);font-size:10px;white-space:nowrap}
.metric-dept-bars{display:flex;flex-direction:column;gap:6px}.metric-dept-bar{display:grid;grid-template-columns:62px minmax(0,1fr) 25px;align-items:center;gap:6px;font-size:9px;color:var(--text-secondary)}.metric-dept-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.metric-dept-bar i{height:6px;background:rgba(148,163,184,.16);border-radius:4px;overflow:hidden}.metric-dept-bar em{display:block;height:100%;border-radius:4px;background:#4b9b82}.metric-dept-bar b{text-align:right;font-size:9px;color:var(--text-primary)}
.metric-instance-card{min-height:0}.metric-instance-scroll{max-height:300px;overflow:auto;border:1px solid rgba(148,163,184,.16);border-radius:5px}.metric-instance-table{width:100%;min-width:650px;border-collapse:collapse;font-size:9px;color:var(--text-secondary)}.metric-instance-table th{position:sticky;top:0;z-index:1;background:#f3f6f5;color:var(--text-primary);font-weight:700;text-align:left;white-space:nowrap}.metric-instance-table th,.metric-instance-table td{padding:6px 7px;border-bottom:1px solid rgba(148,163,184,.14);vertical-align:top}.metric-instance-table td{max-width:170px;line-height:1.4}.metric-instance-table td:last-child{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
