/* Payroll OS visual parity layer. Business behavior remains in app.css/app.js. */
[hidden]{display:none!important}
:root{
  --zf-ink:#172033;--zf-muted:#778197;--zf-deep:#181c2b;--zf-deep-2:#22273a;
  --zf-green:#26a979;--zf-green-2:#26a979;--zf-gold:#6757d9;--zf-gold-soft:#eeebff;
  --zf-canvas:#f4f6fa;--zf-surface:#fff;--zf-line:#e7eaf0;
  --zf-shadow:0 10px 30px rgba(31,37,56,.07);--zf-shadow-hover:0 16px 36px rgba(31,37,56,.11);
  --payroll-purple:#6757d9;--payroll-purple-dark:#5242c4;--payroll-purple-soft:#eeebff;
  --payroll-blue:#4388e7;--payroll-blue-soft:#e9f2ff;--payroll-green:#26a979;--payroll-green-soft:#e7f8f2;
  --payroll-amber:#e39a31;--payroll-amber-soft:#fff5e6;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--zf-ink);background:var(--zf-canvas)
}
html{background:var(--zf-canvas)}
body{grid-template-columns:236px minmax(0,1fr);background:var(--zf-canvas);color:var(--zf-ink);letter-spacing:0}
::selection{background:#dcd6ff;color:#272044}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(103,87,217,.2);outline-offset:2px}
:where(input,select,textarea){color:#293146!important;border-color:#dfe3eb!important;background:#fff!important;box-shadow:none}
:where(input,select,textarea):hover{border-color:#bcc4d2!important}
:where(input,select,textarea):focus{border-color:var(--payroll-purple)!important;box-shadow:0 0 0 4px rgba(103,87,217,.1)!important}

.sidebar{position:sticky;top:0;height:100vh;padding:24px 16px 18px;background:#181c2b;border:0;box-shadow:none}
.brand{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:52px;margin:0 0 17px;padding:0 9px 20px;border-bottom:1px solid rgba(255,255,255,.055)}
.brand::before{content:none!important}
.brand>i{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#806ff0,#5c4bd0);color:#fff;box-shadow:0 8px 20px rgba(103,87,217,.34),inset 0 1px rgba(255,255,255,.24);font-style:normal;font-size:20px;font-weight:750}
.brand>div{display:grid;gap:3px;min-width:0}.brand strong{color:#fff;font-family:inherit;font-size:18px;font-weight:750;letter-spacing:.08em;white-space:nowrap}.brand span{margin:0;color:#747b92;font-size:8px;font-weight:700;letter-spacing:.18em;white-space:nowrap}
.sidebar nav{display:grid;gap:5px}.sidebar .nav-section{margin:10px 12px 3px;color:#626980;font-size:9px;font-weight:750;letter-spacing:.16em}
.sidebar button{display:flex;align-items:center;gap:12px;min-height:46px;padding:9px 11px;border:1px solid transparent;border-radius:11px;color:#969db0;font-size:14px;font-weight:600;letter-spacing:0}
.sidebar button::before{content:none!important;display:none!important}
.sidebar button>i{display:grid;flex:0 0 25px;width:25px;height:25px;place-items:center;border-radius:7px;background:#202538;color:#777f96;font-style:normal;font-size:12px;font-weight:750}
.sidebar button:hover{border-color:transparent;background:#202538;color:#fff;transform:none}.sidebar button:hover>i{background:#292f46;color:#bbb5ee}
.sidebar button.active{border-color:rgba(255,255,255,.04);background:linear-gradient(135deg,#6e5ddd,#594ac5);color:#fff;box-shadow:0 10px 24px rgba(70,55,180,.3)}.sidebar button.active>i{background:rgba(255,255,255,.13);color:#ded9ff}
.sidebar-footer{display:flex;align-items:center;gap:9px;margin:20px 8px 0;padding:15px 6px 4px;border-top:1px solid rgba(255,255,255,.055)}.sidebar-footer>div{display:grid;gap:3px}.sidebar-footer strong{color:#9da4b7;font-size:10px;font-weight:650}.sidebar-footer small{color:#5e6579;font-size:9px}.sidebar-status-dot{width:8px;height:8px;border-radius:50%;background:#37c994;box-shadow:0 0 0 4px rgba(55,201,148,.1)}

main{padding:0 32px 54px;min-width:0}
main>header{position:sticky;top:0;z-index:30;height:76px;margin:0 -32px;padding:0 32px;border-bottom:1px solid #e9ebf1;background:rgba(255,255,255,.94);color:#778197;backdrop-filter:blur(14px)}
.breadcrumb{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px}.breadcrumb span{color:#9aa1b1}.breadcrumb i{color:#d0d4dd;font-style:normal}.breadcrumb strong{color:#263047;font-size:13px}
.header-actions{gap:18px}.header-profile{display:flex;align-items:center;gap:10px;padding-left:18px;border-left:1px solid #edf0f4}.header-profile>span{display:grid;width:37px;height:37px;place-items:center;border-radius:10px;background:#252a3e;color:#fff;font-size:14px;font-weight:750}.header-profile>div{display:grid;gap:2px;min-width:76px}.header-profile strong{color:#273047;font-size:12px;font-weight:700}.header-profile small{display:block;max-width:120px;color:#9299a9;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.feishu-login{border-radius:9px;background:#6757d9;box-shadow:0 6px 16px rgba(103,87,217,.2)}

.page{padding-top:1px}.page.active{animation:payrollPageIn .24s ease both}@keyframes payrollPageIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.page-title{margin:31px 0 18px;align-items:flex-end}.page-title small{color:#9084dc!important;font-size:10px!important;font-weight:750;letter-spacing:.1em}.page-title h1,.placeholder h1{margin:6px 0 5px;color:#172033;font-family:inherit;font-size:28px;font-weight:760;line-height:1.22;letter-spacing:0}.page-title p{max-width:780px;color:#7b8497;font-size:12px;line-height:1.65}
.secondary{border:1px solid #e0e4ec!important;border-radius:9px!important;background:#fff!important;color:#596277!important;box-shadow:0 4px 12px rgba(31,37,56,.04)}.secondary:hover{border-color:#cfc8f7!important;background:#f9f8ff!important;color:#5d4dcc!important;box-shadow:0 7px 18px rgba(68,57,135,.08);transform:translateY(-1px)}
.primary{border-color:transparent!important;border-radius:9px!important;background:linear-gradient(135deg,#6e5ddd,#594ac5)!important;box-shadow:0 7px 18px rgba(89,74,197,.22)!important}.text-button{color:#6757d9;font-weight:650}.text-button:hover{color:#4f3fc3}

#dashboard .dashboard-title{min-height:154px;margin:28px 0 20px;padding:29px 36px;border:0;border-radius:22px;background:linear-gradient(115deg,#25243b 0%,#37315f 55%,#6958d9 115%);box-shadow:0 15px 34px rgba(59,48,135,.18)}
#dashboard .dashboard-title::before,#dashboard .dashboard-title::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none}#dashboard .dashboard-title::before{right:115px;top:-86px;width:205px;height:205px}#dashboard .dashboard-title::after{right:-36px;bottom:-92px;width:225px;height:225px}
#dashboard .dashboard-title small{color:#bdb4ff!important}#dashboard .dashboard-title h1{color:#fff;font-family:inherit;font-size:30px;font-weight:760}#dashboard .dashboard-title p{color:#b9b8cc;font-size:12px}#dashboard .dashboard-title .secondary{border:0!important;background:#fff!important;color:#393653!important;box-shadow:0 8px 22px rgba(25,22,55,.14)}#dashboard .dashboard-title .secondary:hover{background:#f5f3ff!important;color:#5b4dcc!important}
.dashboard-identity{z-index:2;margin:-8px 0 20px;padding:0 5px}.dashboard-identity span{border:1px solid #e7e8f1;background:#fff;box-shadow:0 4px 13px rgba(31,37,56,.045);color:#727b8f}.dashboard-identity b{color:#6757d9}
.dashboard-section-title{margin:24px 0 12px}.dashboard-section-title small,.dashboard-panel-head small{color:#9287d8!important;font-size:10px!important;font-weight:700;letter-spacing:.08em}.dashboard-section-title h2,.dashboard-panel-head h2{color:#222b40;font-family:inherit;font-size:17px;font-weight:720;letter-spacing:0}

:where(.dashboard-summary,.traffic-summary,.registration-summary,.payroll-summary,.expense-summary,.admin-summary,.monthly-missing-summary,.group-period-summary,.traffic-health-cards)>article{border:1px solid #e8eaf0!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--zf-shadow)}
:where(.dashboard-summary,.traffic-summary,.registration-summary,.payroll-summary,.expense-summary,.admin-summary,.monthly-missing-summary,.group-period-summary,.traffic-health-cards)>article::before{content:"";position:absolute;left:18px;top:18px;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:var(--payroll-purple-soft);color:var(--payroll-purple);font-size:12px;font-weight:760;opacity:1}
:where(.dashboard-summary,.traffic-summary,.registration-summary,.payroll-summary,.expense-summary,.admin-summary)>article:hover{border-color:#ddd9f5!important;box-shadow:var(--zf-shadow-hover);transform:translateY(-2px)}
.dashboard-summary{gap:14px}.dashboard-summary article{min-height:114px;padding:19px 17px 17px 70px}.dashboard-summary article:nth-child(1)::before{content:"监"}.dashboard-summary article:nth-child(2)::before{content:"队";background:var(--payroll-blue-soft);color:var(--payroll-blue)}.dashboard-summary article:nth-child(3)::before{content:"接";background:var(--payroll-amber-soft);color:var(--payroll-amber)}.dashboard-summary article:nth-child(4)::before{content:"评";background:var(--payroll-green-soft);color:var(--payroll-green)}.dashboard-summary span{color:#747d91;font-size:11px}.dashboard-summary strong{margin:7px 0 4px;color:#222b40;font-size:25px}.dashboard-summary small{color:#a0a6b3;font-size:9px}
.dashboard-columns{gap:17px}
:where(.dashboard-panel,.traffic-analytics-panel,.traffic-table-panel,.submit-panel,.runtime-panel,.traffic-scope-panel,.traffic-keyword-panel,.traffic-settings-panel,.traffic-operations-panel,.traffic-audit-panel,.directory-panel,.support-panel,.org-card,.transfer-panel,.expense-panel,.admin-panel,.admin-rule-card,.expense-config-card,.placeholder,.registration-table-panel){border:1px solid #e8eaf0!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--zf-shadow)}
.dashboard-panel{padding:22px}.dashboard-panel:hover{border-color:#e1def5!important;box-shadow:var(--zf-shadow-hover)}.dashboard-kpis div{border:0;background:#f6f7fa;padding:13px}.dashboard-kpis span{color:#858da0}.dashboard-kpis strong{color:#2a3348}.dashboard-progress{background:#ececf3}.dashboard-progress i{background:linear-gradient(90deg,#7868e7,#6757d9)}
.dashboard-shortcuts button{min-height:88px;padding:18px 18px 18px 56px;border-color:#e6e8ef;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(31,37,56,.04)}.dashboard-shortcuts button::before{left:18px;top:18px;display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:#eeebff;color:#6757d9;font-size:11px;font-weight:750}.dashboard-shortcuts button:nth-child(1)::before{content:"流"}.dashboard-shortcuts button:nth-child(2)::before{content:"人";background:#e9f2ff;color:#4388e7}.dashboard-shortcuts button:nth-child(3)::before{content:"薪";background:#e7f8f2;color:#26a979}.dashboard-shortcuts button:nth-child(4)::before{content:"报";background:#fff5e6;color:#e39a31}.dashboard-shortcuts button:hover{border-color:#d7d1f5;background:#fbfaff;box-shadow:var(--zf-shadow-hover)}.dashboard-shortcuts strong{color:#293247}.dashboard-shortcuts span{color:#828a9b}

.traffic-tabs,.payroll-tabs{gap:3px;margin-bottom:18px;padding:4px;border:1px solid #e4e6ed;border-radius:12px;background:#eef0f4;box-shadow:inset 0 1px 2px rgba(31,37,56,.035)}.traffic-tabs button,.payroll-tabs button{min-height:38px;border-radius:9px;color:#737c8f;font-size:12px}.traffic-tabs button.active,.payroll-tabs button.active{color:#5445c6;background:#fff;box-shadow:0 4px 12px rgba(31,37,56,.09)}.traffic-tabs button.active::after,.payroll-tabs button.active::after{background:#6757d9}
.traffic-summary{gap:12px}.traffic-summary article{min-height:96px;padding:17px 14px 14px 62px}.traffic-summary article:nth-child(1)::before{content:"监"}.traffic-summary article:nth-child(2)::before{content:"队";background:var(--payroll-blue-soft);color:var(--payroll-blue)}.traffic-summary article:nth-child(3)::before{content:"接";background:var(--payroll-amber-soft);color:var(--payroll-amber)}.traffic-summary article:nth-child(4)::before{content:"醒";background:var(--payroll-green-soft);color:var(--payroll-green)}.traffic-summary article:nth-child(5)::before{content:"评";background:#ffedef;color:#e45d63}.traffic-summary span{color:#7a8396;font-size:11px}.traffic-summary strong{margin-top:7px;color:#273047;font-size:23px}
.traffic-help-card,.traffic-runtime-guide{background:linear-gradient(125deg,#292642,#3d3568 58%,#6958d9)!important;box-shadow:0 14px 30px rgba(59,48,135,.15)}.traffic-help-card small,.traffic-runtime-guide small{color:#bdb4ff}.traffic-help-card p,.traffic-runtime-guide p,.traffic-help-card ol{color:#d1d0df}.traffic-trend-column i,.traffic-submission-column i{background:#6757d9}.traffic-ranking-index,.traffic-breakdown-row>b{background:#eeebff;color:#5e4dcc}.traffic-funnel-row strong{color:#5d4dcc}

.registration-summary{gap:14px}.registration-summary article{position:relative;min-height:108px;padding:18px 16px 16px 68px}.registration-summary article:nth-child(1)::before{content:"视"}.registration-summary article:nth-child(3)::before{content:"监";background:var(--payroll-green-soft);color:var(--payroll-green)}.registration-summary article:nth-child(4)::before{content:"阅";background:var(--payroll-blue-soft);color:var(--payroll-blue)}.registration-summary span{color:#7a8396;font-size:11px}.registration-summary strong{margin:7px 0 4px;color:#273047;font-size:24px}.registration-summary small{color:#9ca3b2;font-size:9px}
.registration-table-panel{padding:21px}.registration-hint{border:1px solid #e4e1f7;background:#f7f6ff;color:#6d678a}.registration-table th{background:#f6f7fa;color:#737c8f;border-bottom-color:#e4e7ed}.registration-table td{color:#454e62;border-bottom-color:#eef0f4}.registration-table tbody tr:hover td{background:#fafaff}.registration-table a{color:#5d4dcc}.registration-metrics b,.registration-cost strong{color:#30384c}.registration-entry-status{background:#fff5e6;color:#b57416}.registration-actions button,.period-read-source button{border-color:#dcd7f5;background:#f5f3ff;color:#5d4dcc}.registration-actions button:hover,.period-read-source button:hover{background:#ebe8ff}.registration-actions .submit-review{border-color:#efddba;background:#fff8eb;color:#a46d1c}

.notice{padding:12px 15px 12px 18px;border-color:#eadfbf;border-radius:10px;background:#fffaf0;color:#75642c;box-shadow:none;font-size:12px}.notice::before{width:3px;background:#e39a31}.notice.ok{border-color:#cce9df;background:#f1faf7;color:#28785b}.notice.ok::before{background:#26a979}.notice.error{border-color:#f0cfd2;background:#fff6f7;color:#a74750}.notice.error::before{background:#e45d63}
.table-scroll{border-radius:11px}:where(.traffic-table,.mini-table,.directory-table,.expense-table,.admin-table,.expense-config-table,.traffic-scope-table,.registration-table){border-collapse:separate;border-spacing:0}:where(.traffic-table,.mini-table,.directory-table,.expense-table,.admin-table,.expense-config-table,.traffic-scope-table,.registration-table) th{border-top:0;border-bottom:1px solid #e3e6ed;background:#f6f7fa;color:#767f91;font-size:10px;font-weight:720;letter-spacing:.04em}:where(.traffic-table,.mini-table,.directory-table,.expense-table,.admin-table,.expense-config-table,.traffic-scope-table,.registration-table) td{border-top:0;border-bottom:1px solid #eef0f4}:where(.traffic-table,.mini-table,.directory-table,.expense-table,.admin-table,.expense-config-table,.traffic-scope-table,.registration-table) tbody tr:hover td{background:#fafaff}
.status-pill.monitoring,.admin-status,.assignment-type{border-color:#cceadf;background:#e7f8f2;color:#24845f}.status-pill.pending{border-color:#d6e4f8;background:#e9f2ff;color:#3876c9}.status-pill.takeover{border-color:#f2dfbb;background:#fff5e6;color:#b47619}.row-actions button,.expense-row-actions button,.edit-grants{border-color:#e0ddf5;background:#f2f0ff;color:#5a4bc4}.row-actions button:hover,.expense-row-actions button:hover,.edit-grants:hover{border-color:#cfc8f7;background:#e9e5ff}
dialog{border-color:rgba(255,255,255,.7);border-radius:18px;background:#fff;box-shadow:0 36px 100px rgba(24,28,43,.32)}dialog::backdrop{background:rgba(24,28,43,.57);backdrop-filter:blur(5px)}.detail-head{border-bottom-color:#e7e9ef;background:linear-gradient(180deg,#fff,#fafaff)}.detail-head h2{color:#252e43;font-family:inherit}.detail-head button{background:#f0f1f5;color:#646d7e}.traffic-daily-limit{border-color:#e1ddf7;background:#f6f4ff;color:#6559a1!important}.traffic-setting-group-title{border-left-color:#6757d9;background:#f4f2ff}.traffic-setting-group-title strong{color:#3b3658}.dev-login{border-color:rgba(255,255,255,.08);background:rgba(24,28,43,.93);box-shadow:0 16px 36px rgba(24,28,43,.3)}.dev-login span{color:#b7bdcb}.dev-login button{background:#6757d9;color:#fff}
*{scrollbar-color:#b4b9c6 transparent}::-webkit-scrollbar-thumb{background:#b4b9c6;background-clip:padding-box}

@media(max-width:1100px){body{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-inline:13px}main{padding-inline:24px}main>header{margin-inline:-24px;padding-inline:24px}}
@media(max-width:800px){body{display:block}.sidebar{position:relative;height:auto;padding:16px}.brand{min-height:46px;margin-bottom:8px;padding:0 4px 14px}.brand>i{width:38px;height:38px;flex-basis:38px}.sidebar .nav-section,.sidebar-footer{display:none}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sidebar button{justify-content:flex-start;min-height:40px;padding:7px 8px;font-size:11px}.sidebar button>i{width:22px;height:22px;flex-basis:22px}main{padding:0 15px 34px}main>header{height:62px;margin:0 -15px;padding:0 15px}.breadcrumb span,.breadcrumb i,.header-profile>div{display:none}.header-profile{padding-left:0;border-left:0}.header-profile>span{width:32px;height:32px}#dashboard .dashboard-title{min-height:0;padding:26px 23px}#dashboard .dashboard-title h1{font-size:26px}.registration-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Module polish: remove remaining legacy green surfaces and preserve readable card spacing. */
#payroll .payroll-actions{border-color:#e6e8ef;background:#fff;box-shadow:var(--zf-shadow)}
#payroll .payroll-actions #recalculatePayroll{background:linear-gradient(135deg,#6e5ddd,#594ac5);color:#fff;box-shadow:0 7px 18px rgba(89,74,197,.2)}
#payroll .payroll-actions #togglePayrollLock{background:linear-gradient(135deg,#e4a33c,#c7801e);color:#fff;box-shadow:0 7px 18px rgba(199,128,30,.18)}
#payroll .payroll-actions #togglePayrollLock.unlock{background:#eeebff;color:#5b4bc4;box-shadow:none}
.payroll-summary article{position:relative;min-height:110px;padding:19px 16px 16px 70px}
.payroll-summary article.total{border-color:#e8eaf0!important;background:#fff!important;color:#172033!important}
.payroll-summary article:nth-child(1)::before{content:"人"}.payroll-summary article:nth-child(2)::before{content:"整";background:var(--payroll-green-soft);color:var(--payroll-green)}.payroll-summary article:nth-child(3)::before{content:"补";background:var(--payroll-amber-soft);color:var(--payroll-amber)}.payroll-summary article:nth-child(4)::before{content:"薪";background:var(--payroll-blue-soft);color:var(--payroll-blue)}
.payroll-summary span,.payroll-summary .total span,.payroll-summary .total small{color:#7a8396}.payroll-summary strong{color:#273047}
.monthly-missing-summary article::before,.group-period-summary article::before{display:none!important}.monthly-missing-summary article,.group-period-summary article{min-height:78px;padding:14px 16px;border-color:#e7e9ef!important;background:#f8f8fb!important}.monthly-missing-summary strong,.group-period-summary strong{color:#5c4cc6}
.salary-hero{background:linear-gradient(115deg,#292642,#40376c 58%,#6958d9);box-shadow:0 13px 28px rgba(59,48,135,.16)}.salary-hero span,.salary-hero small{color:#d0cdea}.salary-breakdown article,.management-cards article,.salary-kpi-list>div{background:#f7f7fb}.management-cards b,.performance-kpi-row b,.salary-total{color:#5b4bc4}.payroll-progress span{background:linear-gradient(90deg,#7868e7,#6757d9)}
.payroll-detail-button,.performance-edit{background:#f1efff;color:#5a4bc4}.group-data-head{background:#f5f4fb}.group-data-head>div:last-child strong,.period-title b,.period-member-row b{color:#5a4bc4}.period-actions button{background:#6757d9}.payroll-lock-body p,.performance-person-card{background:#f6f5fb}

.expense-page-actions #openClaimForm,.expense-page-actions #openAdvanceForm{background:linear-gradient(135deg,#6e5ddd,#594ac5);color:#fff;box-shadow:0 7px 17px rgba(89,74,197,.18)}
.expense-summary article{position:relative;min-height:110px;padding:19px 16px 16px 70px}.expense-summary article.total{border-color:#e8eaf0!important;background:#fff!important;color:#172033!important}.expense-summary article:nth-child(1)::before{content:"流"}.expense-summary article:nth-child(2)::before{content:"待";background:var(--payroll-amber-soft);color:var(--payroll-amber)}.expense-summary article:nth-child(3)::before{content:"报";background:var(--payroll-green-soft);color:var(--payroll-green)}.expense-summary article:nth-child(4)::before{content:"垫";background:var(--payroll-blue-soft);color:var(--payroll-blue)}
.expense-summary span,.expense-summary .total span,.expense-summary .total small{color:#7a8396}.expense-summary strong{color:#273047}.expense-amount{color:#5a4bc4}.expense-config-actions button,.expense-config-card .table-toolbar button{background:#6757d9;color:#fff}.expense-config-switch input{accent-color:#6757d9}.expense-action-body p{background:#f6f5fb}

.admin-summary article{position:relative;min-height:110px;padding:19px 16px 16px 70px}.admin-summary article.total{border-color:#e8eaf0!important;background:#fff!important;color:#172033!important}.admin-summary article:nth-child(1)::before{content:"人"}.admin-summary article:nth-child(2)::before{content:"绑";background:var(--payroll-blue-soft);color:var(--payroll-blue)}.admin-summary article:nth-child(3)::before{content:"管";background:var(--payroll-amber-soft);color:var(--payroll-amber)}.admin-summary article:nth-child(4)::before{content:"审";background:var(--payroll-green-soft);color:var(--payroll-green)}
.admin-summary span,.admin-summary .total span,.admin-summary .total small{color:#7a8396}.admin-summary strong{color:#273047}.capability-badges span{background:#f0eff8;color:#5b5578}.capability-badges span.admin{background:#fff5e6;color:#ad711a}.grant-employee-card{background:#f6f5fb}.grant-option:has(input:checked){border-color:#aaa0ee;background:#f1efff}.admin-rule-actions button{background:#6757d9}

.organization-structure-actions>div:last-child button,.directory-actions button,#openEmployeeCreate,.transfer-panel button{background:linear-gradient(135deg,#6e5ddd,#594ac5)!important;color:#fff!important;box-shadow:0 6px 16px rgba(89,74,197,.16)}
.org-card h2{color:#273047}.team-members span{background:#f0eff7;color:#5e5875}.org-card>small,.org-card small{color:#7e879a}.organization-structure-actions{border-color:#e8eaf0;background:#fff;box-shadow:var(--zf-shadow)}
.traffic-team-cards article{border-color:#e6e8ef;background:#f8f8fb}.traffic-team-cards strong{color:#5a4bc4}.traffic-comment-stream article,.traffic-ranking-list article{border-color:#ebedf2}
.registration-edit-grid input,.registration-edit-grid select,.registration-edit-grid textarea,.registration-review-body textarea{border-color:#dfe3eb}.registration-screenshot-hint{background:#f6f4ff;color:#6f6791}

@media(max-width:800px){.payroll-summary article,.expense-summary article,.admin-summary article{min-height:102px;padding-left:64px}}

/* Central command system and high-granularity permission matrix. */
.sidebar button[data-page="central"]>i{background:linear-gradient(135deg,#e5c483,#9c7839);color:#252033}.sidebar button[data-page="central"].active{background:linear-gradient(135deg,#292642,#6b57d5);box-shadow:0 10px 26px rgba(75,59,173,.35)}
.boss-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:31px 0 18px;padding:27px 30px;border-radius:20px;background:linear-gradient(115deg,#202436,#33304f 58%,#6655d5);color:#fff;box-shadow:0 16px 34px rgba(40,35,90,.18);overflow:hidden;position:relative}.boss-hero::after{content:"";position:absolute;right:-70px;top:-95px;width:260px;height:260px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.018)}.boss-hero>div{position:relative;z-index:1}.boss-hero small{color:#c9c3fa;font-size:9px;font-weight:750;letter-spacing:.15em}.boss-hero h1{margin:7px 0 6px;font-size:29px}.boss-hero p{margin:0;color:#cbcbdc;font-size:12px}.boss-hero-badge{min-width:205px;padding:15px 18px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.boss-hero-badge span,.boss-hero-badge strong,.boss-hero-badge small{display:block}.boss-hero-badge span{color:#c8c5dd;font-size:9px}.boss-hero-badge strong{margin:5px 0;color:#fff;font-size:16px}.boss-hero-badge small{color:#d8c493;letter-spacing:0}
.boss-panel{display:none}.boss-panel.active{display:block}.boss-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.boss-summary>button{position:relative;min-height:116px;padding:18px 16px 16px 70px;border:1px solid #e7e9ef;border-radius:16px;background:#fff;text-align:left;box-shadow:var(--zf-shadow);cursor:pointer;transition:.18s}.boss-summary>button:hover{border-color:#d7d1f5;box-shadow:var(--zf-shadow-hover);transform:translateY(-2px)}.boss-summary i{position:absolute;left:18px;top:18px;display:grid;width:38px;height:38px;place-items:center;border-radius:11px;background:#eeebff;color:#6655d5;font-style:normal;font-size:11px;font-weight:750}.boss-summary>button:nth-child(2) i{background:#e9f2ff;color:#4388e7}.boss-summary>button:nth-child(3) i{background:#e7f8f2;color:#26a979}.boss-summary>button:nth-child(4) i{background:#fff5e6;color:#e39a31}.boss-summary span,.boss-summary strong,.boss-summary small{display:block}.boss-summary span{color:#788195;font-size:10px}.boss-summary strong{margin:7px 0 4px;color:#252e43;font-size:23px}.boss-summary small{color:#9aa1af;font-size:9px}.boss-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:17px}.boss-card{padding:21px;border:1px solid #e8eaf0;border-radius:16px;background:#fff;box-shadow:var(--zf-shadow)}.boss-team-list,.boss-module-list{display:grid;gap:9px;margin-top:15px}.boss-team-row{display:grid;grid-template-columns:minmax(150px,1.35fr) repeat(3,minmax(70px,.55fr));align-items:center;gap:9px;padding:12px 13px;border:1px solid #eceef3;border-radius:11px;background:#fafbfc}.boss-team-row>div strong,.boss-team-row>div span{display:block}.boss-team-row>div span{margin-top:3px;color:#8a92a1;font-size:9px}.boss-team-row>span{color:#7d8595;font-size:9px}.boss-team-row>span b{display:block;margin-top:3px;color:#344056;font-size:12px}.boss-module-row{padding:13px 14px;border-radius:11px;background:#f7f7fb}.boss-module-row>div{display:flex;justify-content:space-between;gap:12px}.boss-module-row strong{font-size:11px}.boss-module-row b{color:#5c4dc7;font-size:12px}.boss-module-row p{margin:5px 0 0;color:#8991a1;font-size:9px;line-height:1.5}
.boss-reimbursement-summary>article{padding:17px 19px;border:1px solid #e7e9ef;border-radius:14px;background:#fff;box-shadow:var(--zf-shadow)}.boss-reimbursement-summary>article:nth-child(2){background:#fff9ed}.boss-reimbursement-summary>article:nth-child(3){background:#f3f1ff}.boss-reimbursement-summary>article:nth-child(4){background:#eef8f3}
.boss-permission-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:23px 25px;border:1px solid #e6e4f5;border-radius:17px;background:linear-gradient(135deg,#fff,#f7f5ff);box-shadow:var(--zf-shadow)}.boss-permission-head small{color:#7b6ed5;font-size:9px;font-weight:720;letter-spacing:.1em}.boss-permission-head h2{margin:5px 0;color:#273047;font-size:20px}.boss-permission-head p{max-width:720px;margin:0;color:#7d8596;font-size:10px;line-height:1.65}.boss-permission-actions{display:flex;gap:8px;white-space:nowrap}.boss-permission-actions button,.boss-save-bar button{padding:10px 14px}.boss-role-tabs{display:flex;gap:8px;margin:15px 0;overflow-x:auto}.boss-role-tabs button{min-width:112px;padding:11px 14px;border:1px solid #e1e4eb;border-radius:11px;background:#fff;color:#717a8e;text-align:left;cursor:pointer}.boss-role-tabs button strong,.boss-role-tabs button small{display:block}.boss-role-tabs button strong{color:#343d52;font-size:11px}.boss-role-tabs button small{margin-top:3px;font-size:8px}.boss-role-tabs button.active{border-color:#9d92e8;background:#f0eeff;box-shadow:0 6px 15px rgba(83,68,176,.1)}.boss-role-tabs button.active strong{color:#5748c3}.boss-permission-legend{display:flex;align-items:center;gap:14px;margin-bottom:10px;padding:10px 13px;border-radius:10px;background:#fff;color:#70798b;font-size:9px}.boss-permission-legend span{display:flex;align-items:center;gap:5px}.boss-permission-legend i{width:8px;height:8px;border-radius:3px;background:#6757d9}.boss-permission-legend i.tab{background:#4388e7}.boss-permission-legend i.widget{background:#26a979}.boss-permission-legend i.action{background:#e39a31}.boss-permission-legend em{margin-left:auto;color:#9a7a3f;font-style:normal}.boss-permission-tree{display:grid;gap:12px}.boss-resource-page{overflow:hidden;border:1px solid #e5e8ee;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(31,37,56,.045)}.boss-resource-row{display:grid;grid-template-columns:34px minmax(180px,1fr) auto;align-items:center;gap:11px;min-height:52px;padding:9px 15px;border-top:1px solid #eef0f4}.boss-resource-row:first-child{border-top:0}.boss-resource-row[data-kind="page"]{min-height:60px;background:#f7f6ff}.boss-resource-row[data-kind="tab"]{padding-left:34px}.boss-resource-row[data-kind="widget"]{padding-left:60px}.boss-resource-row[data-kind="action"]{padding-left:86px}.boss-resource-kind{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;background:#eeebff;color:#5d4dc8;font-size:8px;font-weight:750}.boss-resource-row[data-kind="tab"] .boss-resource-kind{background:#e9f2ff;color:#4388e7}.boss-resource-row[data-kind="widget"] .boss-resource-kind{background:#e7f8f2;color:#23875f}.boss-resource-row[data-kind="action"] .boss-resource-kind{background:#fff5e6;color:#bd7a18}.boss-resource-copy strong,.boss-resource-copy small{display:block}.boss-resource-copy strong{color:#354055;font-size:11px}.boss-resource-copy small{margin-top:3px;color:#969dab;font-size:8px}.boss-resource-switch{display:flex;align-items:center;gap:8px;color:#7c8495;font-size:9px;cursor:pointer}.boss-resource-switch input{position:absolute;opacity:0}.boss-resource-switch i{position:relative;width:38px;height:21px;border-radius:999px;background:#cfd3dc;transition:.18s}.boss-resource-switch i::after{content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(31,37,56,.2);transition:.18s}.boss-resource-switch input:checked+i{background:#6757d9}.boss-resource-switch input:checked+i::after{transform:translateX(17px)}.boss-resource-switch input:disabled+i{opacity:.42}.boss-resource-row.inherited-off{opacity:.52}.boss-save-bar{position:sticky;bottom:14px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:13px 16px;border:1px solid rgba(103,87,217,.18);border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 13px 35px rgba(31,37,56,.13);backdrop-filter:blur(10px)}.boss-save-bar span{color:#757e90;font-size:9px}.boss-detail-dialog{width:min(820px,calc(100vw - 36px))}.boss-detail-body{max-height:65vh;padding:22px;overflow:auto}.boss-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.boss-detail-item{padding:13px 14px;border:1px solid #e8eaf0;border-radius:11px;background:#fafbfc}.boss-detail-item strong,.boss-detail-item span,.boss-detail-item small{display:block}.boss-detail-item span{color:#81899a;font-size:9px}.boss-detail-item strong{margin:5px 0;color:#354055;font-size:12px}.boss-detail-item small{color:#9ca3b1;font-size:8px}
.boss-overview-filters{display:flex;align-items:center;gap:8px}.boss-overview-filters select,.boss-overview-filters input{min-width:128px;border:1px solid #e1e4eb;border-radius:9px;padding:8px 10px;background:#fff;color:#596276;font-size:10px}.boss-config-grid{margin-top:17px}.boss-rule-list{display:grid;gap:10px;margin-top:15px}.boss-rule-list article{padding:14px;border:1px solid #e8eaf0;border-radius:11px;background:#fafbfc}.boss-rule-list span,.boss-rule-list strong,.boss-rule-list small{display:block}.boss-rule-list span{color:#7e8799;font-size:9px}.boss-rule-list strong{margin:5px 0;color:#30394d;font-size:12px}.boss-rule-list small{color:#979eab;font-size:8px}.boss-audit-grid{grid-template-columns:minmax(0,1.45fr) minmax(430px,1fr)}.boss-audit-grid .table-scroll{max-height:560px}.boss-audit-grid .storage-status-grid{grid-template-columns:1fr}.boss-audit-grid .admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.boss-summary{grid-template-columns:repeat(2,1fr)}.boss-grid{grid-template-columns:1fr}.boss-permission-head{align-items:flex-start;flex-direction:column}.boss-permission-actions{width:100%}.boss-permission-actions button{flex:1}}
@media(max-width:800px){.boss-hero{align-items:flex-start;flex-direction:column;padding:24px}.boss-hero-badge{width:100%}.boss-summary{grid-template-columns:1fr}.boss-team-row{grid-template-columns:1fr 1fr}.boss-team-row>div{grid-column:1/-1}.boss-permission-legend{flex-wrap:wrap}.boss-permission-legend em{width:100%;margin-left:0}.boss-resource-row[data-kind]{padding-left:12px;grid-template-columns:30px minmax(0,1fr) auto}.boss-save-bar{align-items:stretch;flex-direction:column}.boss-detail-grid{grid-template-columns:1fr}.boss-overview-filters{align-items:stretch;flex-direction:column;width:100%}.boss-overview-filters select,.boss-overview-filters input,.boss-overview-filters button{width:100%}}

/* Operating overview analytics, daily likes, and the boss-only trial workspace. */
.dashboard-summary-traffic{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-summary-traffic article:nth-child(2)::before{content:"评";background:var(--payroll-green-soft);color:var(--payroll-green)}
.traffic-panel .traffic-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.traffic-summary article:nth-child(2)::before{content:"醒";background:var(--payroll-green-soft);color:var(--payroll-green)}
.traffic-summary article:nth-child(3)::before{content:"评";background:#ffedef;color:#e45d63}
.boss-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.boss-summary>button:nth-child(3) i{background:#fff0ed;color:#dc6f5e}
.boss-summary>button:nth-child(4) i{background:#e7f8f2;color:#26a979}
.boss-summary>button:nth-child(5) i{background:#e9f2ff;color:#4388e7}
.boss-summary>button:nth-child(6) i{background:#fff5e6;color:#e39a31}
.boss-team-row{grid-template-columns:minmax(150px,1.35fr) repeat(4,minmax(66px,.5fr))}
.boss-overview-filters label{display:grid;gap:3px;color:#858da0;font-size:8px}
.boss-overview-filters label input{min-width:132px}
.central-trial-form{overflow:hidden;border:1px solid #e6e8ef;border-radius:16px;background:#fff;box-shadow:var(--zf-shadow)}
.central-trial-form>.table-toolbar{padding:20px 24px;border-bottom:1px solid #eceef3;background:#fafaff}
.central-trial-actions{display:flex;justify-content:flex-end;padding:13px 24px;border-top:1px solid #eceef3;background:#fafbfc;color:#7d8596;font-size:10px}
.boss-detail-dialog{width:min(980px,calc(100vw - 36px))}
.boss-detail-body{max-height:70vh}
.boss-detail-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #e7e9ef;border-radius:11px;background:#f8f8fb}
.boss-detail-controls.single{justify-content:flex-end}
.boss-detail-controls>label{display:grid;gap:5px;min-width:180px;color:#7b8496;font-size:9px}
.boss-detail-controls select{width:100%;border:1px solid #dfe2e9;border-radius:8px;padding:8px 10px;background:#fff;color:#4f596d;font-size:10px}
.boss-detail-tabs{display:flex;gap:3px;padding:3px;border-radius:9px;background:#e9ebf0}
.boss-detail-tabs button{min-width:88px;padding:8px 11px;border:0;border-radius:7px;background:transparent;color:#747d90;cursor:pointer;font-size:10px}
.boss-detail-tabs button.active{background:#fff;color:#5949c5;box-shadow:0 3px 9px rgba(31,37,56,.09)}
.boss-detail-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:17px}
.boss-detail-summary article{padding:14px;border:1px solid #e7e9ef;border-radius:11px;background:#f7f7fb}
.boss-detail-summary span,.boss-detail-summary strong{display:block}
.boss-detail-summary span{color:#858da0;font-size:9px}
.boss-detail-summary strong{margin-top:6px;color:#2c354a;font-size:18px}
.boss-detail-table{width:100%;border-collapse:collapse}
.boss-detail-table th,.boss-detail-table td{padding:11px 10px;border-bottom:1px solid #eceef3;text-align:left;font-size:10px;vertical-align:middle}
.boss-detail-table th{background:#f6f7fa;color:#798295;font-size:9px;white-space:nowrap}
.boss-detail-table td{color:#4d566a}
.boss-detail-table td strong,.boss-detail-table td small{display:block}
.boss-detail-table td small{margin-top:3px;color:#9199a8;font-size:8px}
.boss-detail-table td:first-child{width:48px}
.boss-detail-table td:nth-child(2){min-width:130px}
.boss-rank{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;background:#eeebff;color:#5d4dc8;font-size:9px;font-weight:750}
.boss-incomplete-row{background:#fafafa;color:#9299a6}
.boss-detail-note{padding:15px;border:1px solid #e2def7;border-radius:11px;background:#f7f5ff;color:#696285;font-size:10px}
@media(max-width:1100px){.boss-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
  .dashboard-summary-traffic,.traffic-panel .traffic-summary{grid-template-columns:1fr}
  .boss-summary>button{padding-left:58px}
  .boss-summary i{left:13px;width:34px;height:34px}
  .boss-summary strong{font-size:17px}
  .boss-summary>button:nth-child(3) strong,.boss-summary>button:nth-child(4) strong,.boss-summary>button:nth-child(5) strong{font-size:15px;overflow-wrap:anywhere}
  .dashboard-operating-overview,.boss-grid,.boss-card,.boss-team-list,.boss-team-row,.boss-card .table-toolbar,.boss-card .table-toolbar>div{min-width:0;max-width:100%}
  .boss-grid{grid-template-columns:minmax(0,1fr)}
  .boss-card{padding:16px}
  .boss-team-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .boss-overview-filters{min-width:0;max-width:100%}
  .boss-overview-filters select,.boss-overview-filters input,.boss-overview-filters button,.boss-overview-filters label{width:100%;min-width:0!important;max-width:100%}
  .boss-team-row>div strong,.boss-team-row>div span{overflow-wrap:anywhere}
  .boss-detail-controls,.boss-detail-controls.single{align-items:stretch;flex-direction:column}
  .boss-detail-controls>label{width:100%;min-width:0}
  .boss-detail-tabs{width:100%;overflow-x:auto}
  .boss-detail-tabs button{flex:1;min-width:88px}
  .boss-detail-summary{grid-template-columns:1fr}
  .central-trial-form>.table-toolbar{align-items:stretch}
  .central-trial-form>.table-toolbar button{width:100%}
}

/* Traffic form simplification and operations card readability. */
.traffic-submit-layout.single{display:block}.traffic-submit-layout.single .submit-panel{max-width:920px}.traffic-submit-policy{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:13px 14px;border:1px solid #e3e0f5;border-radius:11px;background:#f7f6ff}.traffic-submit-policy span{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7a8295;font-size:10px}.traffic-submit-policy strong{color:#5848c3;font-size:12px}.traffic-submit-policy small{grid-column:1/-1;color:#979dab;font-size:8px}.traffic-account-only{grid-template-columns:1fr}.traffic-health-cards>article{position:relative;padding:15px!important}.traffic-health-cards>article::before{display:none!important}.traffic-health-cards>article span,.traffic-health-cards>article strong,.traffic-health-cards>article small{position:relative;z-index:1}
@media(max-width:800px){.traffic-submit-policy{grid-template-columns:1fr}.traffic-submit-policy small{grid-column:auto}}

/* Workbench operating overview and actionable task queue. */
.dashboard-operating-overview{margin-bottom:22px}.dashboard-operating-overview .dashboard-section-title{margin-top:0}.dashboard-boss-grid{margin-bottom:4px}.dashboard-task-panel{margin:20px 0;padding:21px;border:1px solid #e4e7ec;border-radius:16px;background:#fff;box-shadow:var(--zf-shadow)}.dashboard-task-count{min-width:58px;padding:7px 10px;border-radius:999px;background:#f1efff;color:#6655d5;text-align:center;font-size:10px;font-weight:750}.dashboard-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.dashboard-task-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:82px;padding:10px 12px;border:1px solid #e8eaf0;border-radius:12px;background:#fafbfc}.dashboard-task-item.urgent{border-color:#edd9b6;background:#fffaf1}.dashboard-task-main{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.dashboard-task-main>i{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#edf1ff;color:#5969c7;font-style:normal;font-size:11px;font-weight:750}.dashboard-task-item.urgent .dashboard-task-main>i{background:#fff0d9;color:#bf7b18}.dashboard-task-main>span{display:grid;gap:3px;min-width:0}.dashboard-task-main strong{color:#30394d;font-size:12px}.dashboard-task-main b{overflow:hidden;color:#5e687b;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.dashboard-task-main small{overflow:hidden;color:#9299a7;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.dashboard-task-action{border:0;background:transparent;color:#6655d5;padding:7px 4px;white-space:nowrap;cursor:pointer;font-size:10px;font-weight:700}.dashboard-task-action:hover{color:#3e30a5}.dashboard-task-empty{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding:18px;border-radius:11px;background:#f4f8f6}.dashboard-task-empty>i{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#dff1e7;color:#268258;font-style:normal}.dashboard-task-empty strong,.dashboard-task-empty span{display:block}.dashboard-task-empty strong{color:#355344;font-size:12px}.dashboard-task-empty span{margin-top:4px;color:#7c8982;font-size:9px}
@media(max-width:1000px){.dashboard-task-list{grid-template-columns:1fr}}
@media(max-width:600px){.dashboard-task-panel{padding:16px}.dashboard-task-item{grid-template-columns:1fr}.dashboard-task-action{justify-self:end}.dashboard-task-main b,.dashboard-task-main small{white-space:normal}}
.status-pill.alert{border-color:#f2dfbb;background:#fff5e6;color:#b47619}

.dashboard-boss-grid{align-items:stretch}
.dashboard-boss-grid>.boss-card{display:flex;height:640px;min-height:640px;flex-direction:column;overflow:hidden}
.dashboard-boss-grid>.boss-card>.boss-module-list{min-height:0;padding-right:5px;overflow:auto;overscroll-behavior:contain}
