@import "https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap";:root{--brand-black:#000;--brand-red:#c8102e;--brand-red-hover:#a30d25;--brand-red-dark:#140506;--brand-red-mid:#5c0c14;--brand-gold:#c5b358;--brand-gold-muted:#a8944a;--brand-gold-bright:#d4af37;--brand-white:#fff;--color-text:#0f0a00;--color-text-muted:#5a4d24;--color-text-faint:#8c7a3e;--color-surface-page:#fffdef;--color-surface-warm:#fffbe0;--color-surface-muted:#fff6c2;--color-surface-card:#fff;--color-border:#ecdf8f;--color-border-strong:#c5a800;--color-primary:var(--brand-red);--color-primary-hover:var(--brand-red-hover);--color-primary-active:#8a0b1f;--color-on-primary:#fff;--color-danger:var(--brand-red);--color-danger-hover:var(--brand-red-hover);--color-success-bg:#e8f2ea;--color-success-border:#9dc5a4;--color-success-text:#0e3d18;--color-info-bg:#f0eef8;--color-info-border:#c4bdd9;--color-info-text:#26196b;--chart-track:#e8d97a;--chart-used:var(--brand-gold-muted);--chart-rem:#5a8a62;--chart-salary-fixed:#8b7355;--chart-salary-khoan:#2d6a4f;--chart-salary-task:#c5a800;--chart-salary-bonus:#5a8a62;--chart-salary-penalty:#c8102e;color:var(--color-text);background:var(--color-surface-page);font-family:Montserrat,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{background:var(--color-primary);color:var(--color-on-primary);cursor:pointer;letter-spacing:.01em;border:0;border-radius:8px;padding:10px 14px;font-weight:600;transition:background .18s,border-color .18s,color .18s}button:not(.ghost):not(.danger):not(.logoutBtn):not(.appNavBtn):not(.appNavBtnActive):not(.appTopSecondary):not(.appTopRefresh):not(.demoFill):not(.bannerClose):not(.dashTabBtn):not(.dashTabBtnActive):not(.kpiRuleItem):not(.assignToggle):not(.appSidebarLogout):not(.modal-close):hover:not(:disabled){background:var(--color-primary-hover)}button:disabled{cursor:not-allowed;background:#9a9a9a}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{background:var(--color-surface-card);color:var(--color-text);border:1px solid #ddcd7e;border-radius:8px;width:100%;padding:10px 12px;transition:border-color .18s,box-shadow .18s}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--brand-red);cursor:pointer;margin:0}.customSelectContainer{width:100%;position:relative}.customSelectHeader{background:var(--color-surface-card);color:var(--color-text);cursor:pointer;-webkit-user-select:none;user-select:none;border:1px solid #ddcd7e;border-radius:8px;justify-content:space-between;align-items:center;width:100%;padding:10px 12px;transition:border-color .18s,box-shadow .18s;display:flex}.customSelectHeader:hover,.customSelectHeader.open{border-color:var(--color-primary)}.customSelectHeader.open{box-shadow:0 0 0 3px #c8102e1f}.customSelectArrow{transition:transform .2s}.customSelectArrow.open{transform:rotate(180deg)}.customSelectList{background:var(--color-surface-card);z-index:100;border:1px solid #ddcd7e;border-radius:8px;width:100%;max-height:240px;margin:0;padding:6px 0;list-style:none;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto;box-shadow:0 4px 16px #0000001a}.customSelectItem{cursor:pointer;padding:10px 14px;transition:background .15s,color .15s}.customSelectItem:hover{background:var(--color-surface-muted)}.customSelectItem.selected{color:var(--color-primary);background:#c8102e14;font-weight:600}input[type=file]{cursor:pointer;width:auto;padding:0}input[type=file]::file-selector-button{background:var(--color-surface-muted);border:1px solid var(--color-border-strong);color:var(--color-text);cursor:pointer;border-radius:8px;margin-right:12px;padding:8px 12px;font-weight:600;transition:all .2s ease-in-out}input[type=file]::file-selector-button:hover{background:var(--color-border)}label{align-items:center;gap:8px;font-weight:600;display:inline-flex}:is(label:has(input:not([type=checkbox]):not([type=radio])),label:has(select),label:has(textarea)){align-items:stretch;gap:6px;font-weight:700;display:grid}pre{background:var(--brand-red-dark);color:var(--brand-white);white-space:pre-wrap;border-radius:12px;max-height:360px;padding:14px;overflow:auto}.shell{max-width:1180px;margin:0 auto;padding:32px}.hero{justify-content:space-between;align-items:end;gap:24px;display:flex}.hero h1{word-wrap:break-word;max-width:760px;margin:0;font-size:clamp(32px,5vw,56px);line-height:1.1}.eyebrow{color:var(--brand-gold);letter-spacing:.08em;text-transform:uppercase;font-weight:800}.error{color:var(--color-danger);font-weight:700}.loginWrap{color:var(--color-text);background:radial-gradient(120% 60% at 50% 0,#c5a80038 0%,#0000 60%),linear-gradient(160deg,#fffde8 0%,#fff6c2 100%);flex-direction:column;justify-content:center;align-items:center;gap:28px;min-height:100vh;padding:24px 20px 32px;display:flex}.loginBrand{text-align:center;flex-shrink:0;max-width:min(340px,92vw);line-height:0}.loginBrandLogo{object-fit:contain;width:100%;height:auto;max-height:128px;margin:0 auto;display:block}.loginCard{background:var(--color-surface-card);border:1px solid #c5b35873;border-radius:24px;gap:18px;width:100%;max-width:440px;padding:36px;display:grid}.loginHeader{justify-content:space-between;align-items:flex-start;gap:16px;min-width:0;display:flex}.loginHeader>div:first-child{flex:1;min-width:0}.loginHeader h1{color:var(--color-text);word-wrap:break-word;margin:4px 0 0;font-size:28px}.loginWrap .eyebrow{color:var(--brand-gold-muted)}.loginBtn{width:100%;padding:14px;font-size:16px}.loginError{color:var(--color-danger);background:#fff1f2;border:1px solid #f4a0a8;border-radius:10px;margin:0;padding:10px 14px}.loginHint{border-top:1px solid var(--color-border);padding-top:16px}.loginHint table{border-collapse:collapse;width:100%;margin-top:10px;font-size:13px}.loginHint th,.loginHint td{border:1px solid var(--color-border);text-align:left;padding:6px 10px}.loginHint th{background:var(--color-surface-muted);font-weight:700}.demoFill{border:1px solid var(--color-border-strong);color:var(--brand-red);cursor:pointer;background:0 0;border-radius:6px;padding:2px 8px;font-size:13px}.userBar{background:var(--color-surface-warm);border:1px solid var(--color-border);color:var(--color-text);border-radius:18px;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:16px;min-width:0;max-width:100%;padding:14px 18px;display:flex}.userInfo{flex-direction:column;gap:2px;min-width:0;display:flex}.userName{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.userRole{color:var(--brand-gold-muted);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:800;overflow:hidden}.logoutBtn{background:var(--color-surface-muted);color:var(--color-text);padding:8px 14px;font-size:14px}.logoutBtn:hover{background:var(--color-border)}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;display:grid}.card{background:var(--color-surface-card);border:1px solid var(--color-border);border-radius:18px;flex-direction:column;min-width:0;padding:28px 28px 24px;display:flex}.card h2{word-wrap:break-word;margin:0 0 16px;line-height:1.3}.stack{gap:12px;min-width:0;display:grid}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.stat{background:var(--color-surface-muted);border-radius:14px;padding:14px}.stat strong,.stat span{display:block}.stat strong{font-size:18px}.stat span{color:var(--color-text-muted);margin-top:4px;font-size:13px}.checkList{gap:8px;display:grid}.checkItem{align-items:center;gap:8px;font-weight:400;display:flex}.checkItem input[type=checkbox]{width:auto;accent-color:var(--brand-red)}.submissionTable{border-collapse:collapse;width:100%;font-size:13px}.submissionTable th,.submissionTable td{border:1px solid var(--color-border);text-align:left;padding:6px 10px}.submissionTable th{background:var(--color-surface-muted);font-weight:700}hr{border:0;border-top:1px solid var(--color-border);margin:4px 0}.appRoot{flex-direction:column;min-height:100vh;display:flex}.appBootMessage{padding:2rem}.appHeader{border-bottom:2px solid var(--color-border-strong);color:var(--color-text);background:linear-gradient(135deg,#fffde8 0%,#fff6c2 100%);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px 24px;padding:16px 24px;display:flex}.appHeaderLeading{flex-wrap:wrap;flex:240px;align-items:center;gap:16px 20px;min-width:0;display:flex}.appHeaderBrand{flex-shrink:0;line-height:0}.appHeaderLogo{object-fit:contain;width:auto;max-width:min(200px,42vw);height:44px;display:block}.appHeaderTitle{color:var(--color-text);margin:4px 0 0;font-size:clamp(22px,3vw,32px);line-height:1.15}.appHeaderLeft .eyebrow{color:var(--brand-gold-muted);margin:0}.appHeaderLeft{flex:160px;min-width:0}.appHeaderRight{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;max-width:100%;display:flex}.appLayout{flex:1;min-height:0;display:flex}.appSidebar{background:linear-gradient(180deg, var(--color-surface-sidebar) 0%, var(--color-surface-sidebar-2) 100%);border-right:2px solid var(--color-border-strong);color:var(--color-text);flex-direction:column;flex-shrink:0;gap:20px;width:260px;padding:24px 20px;display:flex}.appSidebarBrand .eyebrow{color:var(--brand-gold-muted);margin:0;font-size:11px}.appSidebarTitle{color:var(--color-text);margin:6px 0 0;font-size:18px;font-weight:800}.appNav{flex-direction:column;gap:6px;display:flex}.appNavBtn{color:var(--color-text);text-align:left;background:0 0;border-radius:10px;padding:12px 14px;font-weight:600;transition:all .2s ease-in-out}.appNavBtn:hover{background:#c5a8001f}.appNavBtnActive{background:var(--brand-red);color:#fff}.appNavBtnActive:hover{background:var(--brand-red-hover)}.appBody{background:var(--color-surface-page);flex-direction:column;flex:1;min-width:0;display:flex}.appTopBar{background:var(--color-surface-muted);border-bottom:2px solid var(--color-border-strong);padding:14px 24px}.appTopBarInner{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.appTopField{gap:4px;min-width:220px;margin:0;display:grid}.appTopLabel{color:var(--color-text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:700}.appTopSelect{width:100%;max-width:360px}.appTopRefresh{background:var(--color-surface-muted);color:var(--color-text);margin-bottom:2px;padding:10px 14px;font-size:14px}.appTopSecondary{border:1px solid var(--color-border-strong);color:var(--color-text);background:0 0;margin-bottom:2px;padding:10px 14px;font-size:14px}.appTopSecondary:hover{background:var(--color-surface-warm)}.appTopHint{flex:1;min-width:200px;margin:0;font-size:14px}.appMain{flex:1;min-width:0;padding:24px;overflow:hidden auto}.appMainInner{gap:24px;width:100%;min-width:0;max-width:1440px;margin:0 auto;display:grid;overflow-x:hidden}.tableScroll{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.formRow{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;display:grid}.btnRow{flex-wrap:wrap;align-items:center;gap:10px;display:flex}code{background:var(--color-surface-muted);border-radius:6px;padding:2px 6px;font-size:13px}@media (width<=768px){.appLayout{flex-direction:column}.appSidebar,.appNav{flex-flow:wrap;width:100%}.appNavBtn{text-align:center;flex:1;min-width:120px}.appMain{padding:16px 12px}.appTopBar{padding:12px 14px}.appTopBarInner{flex-direction:column;align-items:stretch}.appTopField{flex:auto;width:100%;min-width:0;max-width:100%}.appTopSelect{max-width:none}.appTopHint{min-width:0}}@media (width<=420px){.appHeader{padding:16px 14px}.appNavBtn{white-space:normal;flex:calc(50% - 4px);min-width:0}.stats{grid-template-columns:1fr}.loginCard{padding:28px 20px}}.banner{border:1px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;font-size:14px;font-weight:600;display:flex}.banner-info{background:var(--color-surface-muted);border-color:var(--brand-gold-bright);color:var(--brand-red-dark)}.banner-success{background:var(--color-success-bg);border-color:var(--color-success-border);color:var(--color-success-text)}.banner-error{color:var(--color-danger);background:#fff1f2;border-color:#f4a0a8}.bannerClose{color:inherit;background:0 0;padding:0 6px;font-size:18px;line-height:1}.badge{letter-spacing:.01em;text-transform:none;white-space:nowrap;border-radius:999px;align-items:center;gap:7px;padding:5px 12px 5px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.badge-success{color:#0a7c3e;background:#e3f7ec}.badge-warning{color:#8a6d00;background:#fdf3d2}.badge-danger{color:#b3122a;background:#fdecee}.badge-info{color:#3b357f;background:#eef0fa}.badge-neutral{color:#6b5e2e;background:#f1ead0}.emptyState{background:var(--color-surface-muted);border:1px dashed var(--color-border-strong);text-align:center;border-radius:12px;padding:20px}.emptyStateTitle{margin:0 0 4px;font-weight:700}.dataTable{border-collapse:collapse;width:100%;min-width:0;font-size:14px}.dataTable th,.dataTable td{border-bottom:1px solid var(--color-border);text-align:left;vertical-align:middle;padding:12px 14px}.dataTable th{background:var(--color-surface-muted);letter-spacing:.04em;text-transform:uppercase;font-size:12px;font-weight:800}.dataTable tbody tr:nth-child(2n){background:var(--color-surface-warm)}.dataTable tbody tr:hover{background:var(--color-surface-muted);transition:background .15s}.dataTable tbody tr.selected{background:var(--color-surface-muted)}.dataTable tbody tr.templateRowClickable{cursor:pointer}.dataTable tbody tr.templateRowSelected{background:var(--color-surface-muted)}.dataTable tbody tr.templateRowSelected:hover{background:var(--color-border)}.dataTable .codeCell{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.dataTable .numCell{text-align:right;font-variant-numeric:tabular-nums}.dataTable .actionCell{white-space:nowrap}.dataTable .actionCell button{margin-right:6px;padding:6px 10px;font-size:13px}.dataTable .actionCell button:last-child{margin-right:0}.dataTable td input,.dataTable td select{min-width:0;max-width:100%}.dataTableBudgetAmountCol{width:38%;min-width:8.5rem}@media (width>=480px){.dataTableBudgetAmountCol{min-width:12rem}}button.danger{background:var(--color-danger);color:var(--brand-white)}button.danger:hover{background:var(--color-danger-hover)}button.danger:disabled{background:#d6a39e}.dl{grid-template-columns:max-content 1fr;gap:6px;font-size:14px;display:grid}.dl dt{color:var(--color-text-muted);font-weight:700}.dl dd{overflow-wrap:anywhere;min-width:0;margin:0}@media (width<=560px){.dl{grid-template-columns:1fr}.dl dt{margin-top:10px}.dl dt:first-of-type{margin-top:0}.dl dd{margin-bottom:4px}}.dashTabs{border-bottom:2px solid var(--color-border);flex-wrap:wrap;gap:0;margin-bottom:20px;display:flex}.dashTabBtn{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;border-radius:0;margin-bottom:-2px;padding:10px 18px;font-size:14px;font-weight:700;transition:color .2s,border-color .2s}.dashTabBtn:hover{color:var(--color-text);border-bottom-color:var(--brand-gold-muted)}.dashTabBtnActive,.dashTabBtnActive:hover{border-bottom-color:var(--brand-red);color:var(--brand-red)}.salaryDashboardSection{margin-top:20px}.salaryDashboardSection:first-child{margin-top:0}.salaryDashboardSection>.cardSectionTitle{margin-bottom:12px}.dashDayPicker{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.dashDayPicker label{flex-direction:row;align-items:center;gap:8px;display:inline-flex}.dashDayPicker input[type=date]{width:auto;max-width:100%}.cardSection{border-top:1px solid var(--color-border);margin-top:14px;padding-top:14px}.cardSectionTitle{letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px;font-size:13px;font-weight:800}.tierRow{grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:8px;display:grid}.tierRow input{width:100%}@media (width<=600px){.tierRow{grid-template-columns:1fr 1fr}}@media (width<=420px){.tierRow{grid-template-columns:1fr}}textarea{background:var(--color-surface-card);border:1px solid var(--color-border-strong);color:var(--color-text);font:inherit;resize:vertical;border-radius:10px;width:100%;min-height:80px;padding:10px 12px}label.inline{flex-direction:row;align-items:center;gap:8px;font-weight:400;display:flex}label.inline input[type=checkbox]{width:auto;accent-color:var(--brand-red)}.scrollList{max-height:280px;overflow:auto}.modalBackdrop{padding:max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));z-index:1000;background:#600e0e80;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modalDialog{background:var(--color-surface-warm);border:1px solid var(--color-border);border-radius:16px;width:100%;max-width:min(440px,100vw - 24px);max-height:min(90vh,900px);padding:24px;overflow-y:auto;box-shadow:0 20px 50px #1a0a0a38}.modalDialog h2{margin:0 0 8px}.budgetDonutWrap{flex-wrap:wrap;justify-content:center;align-items:center;gap:28px;max-width:100%;display:flex}.budgetDonutChartRing{flex-shrink:0;width:clamp(160px,72vw,220px);max-width:100%;height:clamp(160px,72vw,220px);margin-inline:auto;position:relative}.budgetDonutSvg{width:100%;max-width:100%;height:100%;display:block}.budgetDonutHoleLabel{pointer-events:none;text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.budgetDonutCenterLabel{color:var(--color-text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}.budgetDonutCenterValue{color:var(--color-text);margin-top:4px;font-size:15px}.budgetDonutWarn{color:var(--color-danger);margin-top:6px;font-size:12px;font-weight:700}.budgetDonutLegend{flex:200px;min-width:0;margin:0;padding:0;list-style:none}.budgetDonutLegend li{border-bottom:1px solid var(--color-border);grid-template-columns:16px 1fr auto;align-items:center;gap:8px;padding:10px 0;display:grid}.budgetDonutLegend li:last-child{border-bottom:0}.budgetDonutSwatch{border-radius:4px;width:14px;height:14px}.budgetDonutSwatchUsed{background:var(--chart-used)}.budgetDonutSwatchRem{background:var(--chart-rem)}.modalDialogWide{width:100%;max-width:min(720px,100vw - 24px);max-height:min(90vh,920px);overflow-y:auto}.modalDialogWide>h2{margin-bottom:14px}.modalDialogWide form.modalTaskTplForm.stack{gap:18px}.modalDialogWide form.modalTaskTplForm .cardSection{margin-top:0;padding-top:20px}.modalDialogWide form.modalTaskTplForm .cardSectionTitle{margin-bottom:12px}.modalDialogWide form.modalTaskTplForm .cardSection>.muted{margin-bottom:10px}.modalAddFieldBtnRow{margin-top:16px}.modalDialogWide form.modalTaskTplForm .modalTaskTplFooterBtns{border-top:1px solid var(--color-border);margin-top:6px;padding-top:18px}.managerDashboardBudgetBlock .cardSectionTitle{margin:0 0 16px}.salaryTotalVisuals{flex-direction:column;gap:24px;display:flex}.salaryTotalDonutWrap{flex-direction:column;align-items:center;gap:16px;display:flex}.salaryTotalDonutRing{width:200px;height:200px;position:relative}.salaryTotalDonutSvg{width:100%;height:100%;display:block}.salaryTotalDonutHole{pointer-events:none;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:0 18px;display:flex;position:absolute;inset:0}.salaryTotalDonutHoleLabel{color:var(--color-text-muted);letter-spacing:.04em;text-transform:uppercase;font-size:.75rem;font-weight:600}.salaryTotalDonutHoleValue{color:var(--color-text);font-size:1.05rem;line-height:1.2}.salaryTotalDonutLegend{flex-direction:column;gap:0;width:100%;max-width:320px;margin:0;padding:0;list-style:none;display:flex}.salaryTotalDonutLegend li{border-bottom:1px solid var(--color-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 0;display:flex}.salaryTotalDonutLegend li:last-child{border-bottom:0}.salaryDonutSwatch{border-radius:4px;flex-shrink:0;width:14px;height:14px}.salaryDonutSwatchFixed{background:var(--chart-salary-fixed)}.salaryDonutSwatchKhoan{background:var(--chart-salary-khoan)}.salaryHBarSection .cardSectionTitle{margin-bottom:12px}.salaryHBarList{grid-template-columns:max-content minmax(0,1fr) auto;align-items:center;gap:14px 12px;display:grid}.salaryHBarRow{display:contents}@media (width<=520px){.salaryHBarList{gap:14px;row-gap:unset;flex-direction:column;display:flex}.salaryHBarRow{grid-template-columns:1fr;gap:8px;display:grid}.salaryHBarTrack{grid-column:1}.salaryHBarValue{text-align:left;justify-self:start}}.salaryHBarLabel{color:var(--color-text);font-size:.9rem;font-weight:600}.salaryHBarTrack{background:var(--color-surface-muted);border-radius:6px;min-width:0;height:14px;overflow:hidden}.salaryHBarFill{border-radius:6px;min-width:2px;height:100%;transition:width .25s}.salaryHBarFill--fixed{background:var(--chart-salary-fixed)}.salaryHBarFill--task{background:var(--chart-salary-task)}.salaryHBarFill--bonus{background:var(--chart-salary-bonus)}.salaryHBarFill--penalty{background:var(--chart-salary-penalty)}.salaryHBarValue{color:var(--color-text-muted);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:.85rem}.salary5p{margin-top:1rem}.salary5pGrid{gap:.35rem;max-width:28rem;display:grid}.salary5pRow{justify-content:space-between;gap:1rem;display:flex}.salary5pRow.total{border-top:1px solid var(--color-border);padding-top:.5rem;font-weight:600}.salary5pRow.net{color:var(--color-accent);font-weight:700}.salary5pRow .positive{color:var(--ok-fg)}.salary5pRow .negative{color:var(--red)}.salary5pDetails{margin-top:.75rem}.salary5pDetails .pill{background:var(--color-accent-soft);color:var(--color-accent);border-radius:4px;margin-right:.35rem;padding:.1rem .4rem;font-size:.75rem;display:inline-block}.empDash{flex-direction:column;gap:20px;display:flex}.empDashSummaryGrid{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=720px){.empDashSummaryGrid{grid-template-columns:1fr}}.empDashCard{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:16px 18px}.empDashCardMonth{background:linear-gradient(135deg, var(--maroon-2), var(--maroon));color:#fff;border:none}.empDashCardMonth .empDashCardLabel,.empDashCardMonth .empDashCardHint{color:#ffffffd9}.empDashCardToday{border-left:4px solid var(--brand-gold,#c9a227)}.empDashCardLabel{letter-spacing:.04em;text-transform:uppercase;margin:0 0 8px;font-size:.75rem;font-weight:700}.empDashBigAmount{font-variant-numeric:tabular-nums;margin:4px 0;font-size:1.75rem;font-weight:700}.empDashCardHint{margin:0;font-size:.85rem}.empDashDelta{margin:8px 0 0;font-size:.85rem;font-weight:600}.empDashDeltaUp{color:var(--ok-fg)}.empDashDeltaDown{color:var(--red)}.empDashDateInline{align-items:center;gap:8px;margin-bottom:8px;font-size:.85rem;display:flex}.empDashDateInline input[type=date]{width:auto}.empDashSectionHeading{letter-spacing:.05em;text-transform:uppercase;margin:0 0 12px;font-size:.8rem;font-weight:700}.empDashFloorBadge{color:#7a5c00;background:#fef9e6;border:1px solid #d4af37;border-radius:8px;margin:0 0 12px;padding:8px 12px;font-size:.85rem}.cardHead{justify-content:space-between;align-items:center;gap:8px;display:flex}.cardHead h2{margin:0}.infoTooltip{display:inline-flex;position:relative}.infoTooltipBtn{color:#8a6d00;cursor:help;background:0 0;border:none;padding:2px 4px;font-size:.9rem;line-height:1}.infoTooltipBubble{color:#fff;white-space:normal;z-index:50;background:#1f2430;border-radius:6px;width:max-content;max-width:280px;padding:8px 10px;font-size:.78rem;font-weight:400;line-height:1.4;position:absolute;top:130%;left:0}.kpiRuleBlock{border-top:1px solid #eee;padding-top:12px}.kpiRuleHead{align-items:baseline;gap:10px;margin-bottom:8px;display:flex}.kpiPreview{background:#fef9e6;border-radius:8px;align-items:center;gap:16px;margin:12px 0;padding:10px 12px;display:flex}.kpiPreviewResult{font-size:1rem}.feedbackPage{text-align:center;max-width:480px;margin:0 auto;padding:32px 20px}.feedbackStars{justify-content:center;gap:8px;margin:20px 0;display:flex}.feedbackStar{color:#d8d8d8;cursor:pointer;background:0 0;border:none;padding:0;font-size:2.4rem;line-height:1}.feedbackStar.on{color:#d4af37}.feedbackComment{width:100%;min-height:80px}.feedbackThanks{padding:40px 0}.exportCols{border:1px solid #eee;border-radius:8px;flex-wrap:wrap;gap:12px;margin:8px 0;padding:8px 12px;display:flex}.exportColOption{flex-direction:row;align-items:center;gap:4px;display:inline-flex}.liveBadge{color:#10b981;align-items:center;gap:5px;font-size:.78rem;display:inline-flex}.liveDot{background:#10b981;border-radius:50%;width:8px;height:8px;animation:1.6s ease-in-out infinite livePulse}@keyframes livePulse{0%,to{opacity:1}50%{opacity:.3}}.empDashPillars{flex-direction:column;gap:14px;display:flex}.empDashPillar{border:1px solid var(--color-border);background:var(--color-bg,#fafafa);border-radius:10px;padding:14px 16px}.empDashPillarHead{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.empDashPillarBadge{background:var(--brand-gold,#c9a227);color:#1a1a1a;border-radius:4px;padding:2px 8px;font-size:.7rem;font-weight:800}.empDashPillarBadgeLight{color:#fff;background:#fff3}.empDashPillarAmount{font-variant-numeric:tabular-nums;margin-left:auto;font-weight:700}.empDashPillarSub{margin:0;font-size:.85rem}.empDashP2Table{font-size:.9rem}.empDashP3Card{background:#fffbec;border-color:#e8d57a}.empDashP3Card .empDashPillarBadgeLight{color:#8a6d00;background:#fbf1cf}.empDashP3Muted{color:var(--color-text-muted)}.empDashKpiBadges{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.empDashKpiBadge{background:#fff8d6;border:1px solid #e8d57a;border-radius:8px;flex-direction:column;gap:4px;padding:8px 12px;font-size:.85rem;display:flex}.empDashCultureCols{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=560px){.empDashCultureCols{grid-template-columns:1fr}}.empDashCultureColTitle{margin:0 0 6px;font-size:.9rem;font-weight:600}.empDashCultureList{margin:0;padding-left:1.1rem;font-size:.9rem}.empDashTodayStrip{border:2px solid var(--brand-gold,#c9a227);text-align:center;background:var(--color-surface);border-radius:12px;padding:16px 20px}.empDashTodayStripLabel{letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.8rem;font-weight:700}.empDashTodayStripAmount{font-variant-numeric:tabular-nums;margin:8px 0;font-size:2rem;font-weight:800}.empDashTodayStripBreakdown{color:var(--color-muted,#666);margin:0;font-size:.85rem}.empDashBottomGrid{grid-template-columns:1.4fr 1fr;gap:16px;display:grid}@media (width<=900px){.empDashBottomGrid{grid-template-columns:1fr}}.empDashChartCard{border:1px solid var(--color-border);background:var(--color-surface);border-radius:12px;padding:16px}.empDashRulesCard{border:1px solid var(--color-border);background:#f2eae180;border-radius:12px;padding:16px}.empDashChartBars{align-items:flex-end;gap:3px;height:120px;margin-bottom:12px;display:flex}.empDashChartBarWrap{flex:1;align-items:flex-end;min-width:4px;height:100%;display:flex}.empDashChartBar{background:var(--chart-track,#e8e4dc);border-radius:3px 3px 0 0;width:100%;min-height:4px}.empDashChartBarSelected .empDashChartBar{background:var(--brand-gold,#c9a227)}.empDashChartStats{grid-template-columns:1fr 1fr;gap:12px;margin:0;display:grid}.empDashChartStats dt{color:var(--color-muted);margin:0;font-size:.8rem}.empDashChartStats dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-weight:700}.empDashRulesList{margin:0 0 12px;padding:0;list-style:none}.empDashRulesBtn{text-align:left;border:1px solid var(--color-border);background:var(--color-bg);cursor:pointer;width:100%;font:inherit;border-radius:8px;margin-bottom:8px;padding:10px 12px}.empDashRulesBtn:hover{border-color:var(--brand-gold,#c9a227)}.empDashRulesNote{background:#fff8e6;border:1px solid #f0e0a8;border-radius:8px;padding:12px;font-size:.85rem}.empDashRulesNote p{margin:0 0 6px}.empDashRulesNote p:last-child{margin-bottom:0}.empDash .positive{color:var(--ok-fg)}.empDash .negative{color:var(--red)}.btnRow{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.75rem 0;display:flex}.chatFab{color:#1f2430;cursor:pointer;z-index:100;background:#d4af37;border:none;border-radius:50%;width:56px;height:56px;font-size:1.5rem;position:fixed;bottom:20px;right:20px;box-shadow:0 4px 14px #00000040}.chatPanel{z-index:100;background:#fff;border:1px solid #e3e3e3;border-radius:12px;flex-direction:column;width:360px;max-width:calc(100vw - 32px);height:520px;max-height:calc(100vh - 40px);display:flex;position:fixed;bottom:20px;right:20px;box-shadow:0 8px 28px #00000038}.chatHead{color:#1f2430;background:#d4af37;border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.chatClose{cursor:pointer;background:0 0;border:none;font-size:1.3rem;line-height:1}.chatBody{flex-direction:column;flex:1;gap:8px;padding:12px;display:flex;overflow-y:auto}.chatHint{font-size:.85rem}.chatMsg{white-space:pre-wrap;border-radius:10px;max-width:85%;padding:8px 11px;font-size:.9rem}.chatMsg-user{background:#fef9e6;align-self:flex-end}.chatMsg-assistant{background:#f3f4f6;align-self:flex-start}.chatSuggestions{flex-wrap:wrap;gap:6px;display:flex}.chatChip{color:#7a5c00;cursor:pointer;background:#fff;border:1px solid #d4af37;border-radius:14px;padding:4px 10px;font-size:.8rem}.chatCite{background:var(--gold-soft,#fff8d0);border:1px solid var(--gold,#d4af37);color:var(--gold-deep,#7a5c00);cursor:pointer;vertical-align:super;border-radius:4px;justify-content:center;align-items:center;margin:0 1px;padding:1px 5px;font-size:.7rem;font-weight:700;line-height:1;transition:background .15s,color .15s;display:inline-flex}.chatCite:hover{background:var(--gold,#d4af37);color:#fff}.docViewBackdrop{z-index:500;background:#0000008c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.docViewModal{background:var(--color-surface-card,#fff);border-radius:16px;flex-direction:column;width:min(960px,94vw);height:88vh;display:flex;overflow:hidden;box-shadow:0 12px 48px #00000059}.docViewHead{border-bottom:1px solid var(--color-border,#ecdf8f);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.docViewTitle{align-items:center;font-size:.9rem;font-weight:600;display:flex}.docViewClose{color:var(--color-text-muted,#666);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:2px 6px;font-size:1.4rem;line-height:1}.docViewClose:hover{background:var(--color-surface-muted,#fff6c2);color:var(--color-text,#0f0a00)}.docViewFrame{border:none;flex:1;width:100%}.chatInputRow{border-top:1px solid #eee;gap:6px;padding:10px;display:flex}.chatInputRow input{flex:1}.dashTabs{border-bottom:2px solid var(--color-border);gap:12px;margin-bottom:20px;padding-bottom:8px;display:flex;overflow-x:auto}.dashTabBtn{color:var(--color-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:8px;padding:8px 16px;font-weight:600;transition:all .2s ease-in-out}.dashTabBtn:hover{background:var(--color-surface-muted);color:var(--color-text)}.dashTabBtnActive{background:var(--color-surface-muted);color:var(--brand-red);box-shadow:inset 0 -3px 0 var(--brand-red);border-bottom-right-radius:0;border-bottom-left-radius:0}.docCardGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin-top:16px;display:grid}.docCard{background:var(--color-surface-card);border:1px solid var(--color-border-strong);border-radius:12px;flex-direction:column;padding:16px;transition:all .2s ease-in-out;display:flex}.docCard:hover{border-color:var(--brand-red);background:var(--color-surface-warm)}.docCardIcon{text-align:center;margin-bottom:12px;font-size:32px}.docCardTitle{word-wrap:break-word;flex:1;margin-bottom:16px;font-size:14px;font-weight:600}.docCardActions{border-top:1px solid var(--color-border);justify-content:space-between;gap:8px;padding-top:12px;display:flex}.docCardActions button{flex:1;padding:6px 8px;font-size:12px}.docSearchInput{max-width:400px;margin-bottom:16px}.reviewDrawer{z-index:2000;background:#fff;border-left:1px solid #e8d97a;flex-direction:column;gap:20px;width:480px;max-width:96vw;padding:28px 24px;animation:.22s reviewDrawerSlideIn;display:flex;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;box-shadow:-4px 0 24px #0000001a}@keyframes reviewDrawerSlideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.drawerBackdrop{z-index:1999;background:#0000002e;position:fixed;inset:0}.assignmentsContainer{flex-direction:column;gap:20px;display:flex}.assignmentsHeader{border-bottom:1px solid var(--color-border);padding-bottom:16px}.assignmentsGrid{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:20px;display:grid}.managerCard{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.managerCardHead{border-bottom:1px solid var(--color-border);background:#fff;align-items:center;gap:16px;padding:20px 16px;display:flex}.managerCardIcon{color:#8a6d00;background:#fdf3d2;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.managerCardName{color:var(--color-text);font-size:16px;font-weight:700}.managerCardCount{color:var(--color-text-muted);margin-top:4px;font-size:13px}.managerCardBody{background:#fff}.managerCardListHead{color:#6b5e2e;text-transform:uppercase;letter-spacing:.05em;background:#fdf3d2;border-bottom:1px solid #eee;padding:10px 16px;font-size:11px;font-weight:700}.managerCardList{flex-direction:column;display:flex}.managerCardRow{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.managerCardRow:last-child{border-bottom:none}.managerCardFoot{justify-content:flex-end;padding:16px;display:flex}.empDash.newDesign{flex-direction:column;gap:24px;max-width:1100px;margin:0 auto;padding:16px;display:flex}.heroCard{color:#fff;background:linear-gradient(135deg,#4a0e17 0%,#7a1f2d 100%);border-radius:16px;justify-content:flex-start;align-items:center;gap:60px;padding:32px 40px;display:flex;box-shadow:0 10px 30px -8px #4a0e1759}.heroCardDivider{background:#ffffff1a;width:1px;height:80px}.heroCardSection{flex-direction:column;gap:8px;display:flex}.heroCardLabel{color:#d8b878;letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:13px;font-weight:800}.heroCardBigAmount{color:#f5f0e6;font-size:48px;font-weight:900;line-height:1}.heroCardAmount{color:#f5f0e6;font-size:28px;font-weight:800;line-height:1}.heroCardCurrency{color:#f5f0e6;text-underline-offset:4px;margin-left:4px;font-size:.7em;font-weight:800;text-decoration:underline}.heroCardSub{color:#fff9;margin:0;font-size:14px}.heroCardDelta{margin:0;font-size:13px;font-weight:600}.heroCardDelta.up{color:#4ade80}.heroCardDelta.down{color:#f00000}.heroCardDelta span{color:#fff9;font-size:12px;font-weight:400}.structureCard{border:1px solid var(--color-border);background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000008}.structureHeader{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.structureTitle{align-items:center;gap:8px;margin:0 0 4px;font-size:16px;font-weight:700;display:flex}.structureSub{color:var(--color-text-muted);margin:0;font-size:13px}.structureLiveBadge{background:var(--surface-2);color:var(--green);border-radius:99px;align-items:center;gap:6px;padding:4px 10px;font-size:12px;font-weight:600;display:flex}.structureBarContainer{margin-bottom:24px}.structureBar{background:var(--surface-2);border-radius:12px;height:24px;display:flex;overflow:hidden}.structureSegment{height:100%;transition:width .5s}.structureSegment.p1{background:var(--p1)}.structureSegment.p2{background:linear-gradient(90deg, var(--amber-1), var(--amber-2))}.structureSegment.p3{background:var(--p3)}.structureSegment.p4{background:var(--p4)}.structureSegment.p5{background:var(--p5)}.structureLegends{flex-wrap:wrap;justify-content:space-between;gap:16px;display:flex}.structureLegend{flex-direction:column;gap:4px;display:flex}.legendTitle{color:var(--color-text-muted);align-items:center;gap:6px;font-size:11px;font-weight:700;display:flex}.legendDot{border-radius:2px;width:8px;height:8px}.legendDot.p1{background:var(--p1)}.legendDot.p2{background:var(--p2)}.legendDot.p3{background:var(--p3)}.legendDot.p4{background:var(--p4)}.legendDot.p5{background:var(--p5)}.legendAmount{color:var(--color-text);font-size:15px;font-weight:700}.legendAmount.negative{color:var(--red)}.legendPct{color:var(--color-text-muted);font-size:12px}.empDashMiddleGrid{grid-template-columns:2fr 1fr;gap:24px;display:grid}.detailedBreakdownSection{margin-top:16px}.sectionTitle{color:var(--color-text-muted);letter-spacing:.05em;text-transform:uppercase;margin:0 0 16px;font-size:13px;font-weight:700}.detailCardGrid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.detailCard{border:1px solid var(--color-border);background:#fff;border-radius:12px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 2px 8px #00000008}.detailCardHeader{border-bottom:1px solid #0000;justify-content:space-between;align-items:center;padding:16px;display:flex}.detailCardTitle{align-items:center;gap:8px;font-size:13px;font-weight:700;display:flex}.badge{color:#fff;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:800}.detailCardHeader.p1 .badge{background:var(--p1)}.detailCardHeader.p2 .badge{background:var(--p2)}.detailCardHeader.p3 .badge{background:var(--p3)}.detailCardHeader.p4 .badge{background:var(--p4)}.detailCardAmount{font-size:16px;font-weight:800}.cleanTable{margin:0}.cleanTable th{letter-spacing:.05em;border-bottom:1px solid var(--color-border);background:0 0;padding:12px 8px 8px;font-size:10px}.cleanTable td{border-bottom:1px dashed var(--color-border);padding:12px 8px}.cleanTable tr:last-child td{border-bottom:none}.kpiList{margin:0;padding:0;list-style:none}.kpiItem{border-bottom:1px dashed var(--color-border);justify-content:space-between;padding:12px 0;display:flex}.kpiItem:last-child{border-bottom:none}.kpiDesc{flex-direction:column;gap:4px;display:flex}.kpiDesc strong{color:var(--color-text);font-size:13px}.kpiSub{color:var(--color-text-muted);font-size:12px}.kpiAmount{font-size:14px;font-weight:700}.tag{background:var(--surface-2);border-radius:99px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.tag.positive{color:var(--p4);background:#7a1f2d14}.tag.negative{color:var(--red);background:#f871711a}@media (width<=900px){.heroCard{flex-direction:column;align-items:flex-start;gap:16px}.heroCardDivider{width:100%;height:1px}.empDashMiddleGrid,.detailCardGrid,.cultureStatsGrid,.cultureGrid{grid-template-columns:1fr}}@media (width<=560px){.heroCard{gap:14px;padding:20px}.heroCardBigAmount{font-size:clamp(30px,9vw,48px)}.heroCardAmount{font-size:22px}.structureCard,.detailCard{padding:16px}.structureLegends{grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:12px;display:grid}.structureLegend{background:var(--color-surface-muted,#f5f5f3);border-radius:10px;padding:10px 12px}.legendTitle{min-height:2.6em;align-items:flex-start!important;font-size:10px!important}.legendAmount{font-size:13px!important}.legendPct{font-size:10px!important}.cultureStatsGrid{grid-template-columns:1fr 1fr}}.iconBox{border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:flex}.iconBox.yellowLight{background:var(--color-surface-warm);color:var(--brand-gold)}.rulesCard{background:color-mix(in srgb, var(--color-surface-warm) 50%, #fff)}.rulesList{margin:0;padding:0;list-style:none}.rulesList li{border-bottom:1px dashed var(--color-border);color:var(--color-text-muted);align-items:flex-start;gap:12px;padding:16px 0;font-size:13px;display:flex}.ruleIcon{color:var(--brand-gold);margin-top:2px;font-size:16px}.rulesList li strong{color:var(--color-text)}.rulesNote{color:var(--color-text-muted);align-items:center;gap:10px;padding:20px 0;font-size:13px;font-style:italic;display:flex}.noteStar{color:var(--brand-gold);font-size:16px}.newChartBars{border-bottom:1px solid var(--color-border);align-items:flex-end;gap:8px;height:140px;margin-top:32px;padding-bottom:16px;display:flex}.newChartBarWrap{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;display:flex}.newChartBar{border-radius:4px 4px 0 0;width:14px;transition:height .3s}.newChartBarLabel{color:var(--color-text-muted);font-size:10px;font-weight:600}.newChartStats{gap:40px;margin-top:16px;display:flex}.statLabel{color:var(--color-text-muted);font-size:11px;font-weight:700}.statValue{color:var(--color-text);font-size:20px;font-weight:800}.culturePanel{flex-direction:column;gap:24px;display:flex}.cultureStatsGrid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.cultureStatCard{border:1px solid var(--color-border);background:#fff;border-radius:12px;flex-direction:column;gap:16px;padding:20px 24px;display:flex;box-shadow:0 2px 8px #00000008}.statTitle{color:var(--color-text);align-items:center;gap:8px;font-size:13px;font-weight:700;display:flex}.statTitle .dot{border-radius:50%;width:8px;height:8px}.dot.bonus{background:var(--p4)}.dot.penalty{background:var(--red)}.dot.net,.dot.count{background:var(--p1)}.statAmount{color:var(--color-text);font-size:24px;font-weight:800}.statAmount.bonus{color:var(--p4)}.statAmount.penalty{color:var(--red)}.cultureGrid{grid-template-columns:2fr 1fr;gap:24px;display:grid}.btnRed{color:#fff;cursor:pointer;background:#c92a2a;border:none;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:700;transition:opacity .2s}.btnRed:hover{opacity:.9}.btnRed:disabled{opacity:.5;cursor:not-allowed}.tagDot{background:currentColor;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}:root{--brand-black:#000;--brand-red:#c8102e;--brand-red-hover:#a30d25;--brand-red-active:#8a0b1f;--brand-red-dark:#140506;--brand-red-mid:#7a1f2d;--brand-gold:#c5a059;--brand-gold-muted:#b8924b;--brand-gold-bright:#d4af37;--brand-white:#fff;--color-text:#1a1a1a;--color-text-muted:#6e655f;--color-text-faint:#857c74;--color-surface-page:#f5f5f3;--color-surface-sidebar:#d8c3a5;--color-surface-sidebar-2:#eae0d5;--color-surface-warm:#f2eae1;--color-surface-muted:#efe7dc;--color-surface-card:#fff;--color-border:#e0d7cd;--color-border-strong:#c5a059;--color-border-strong-2:#d1c7bd;--color-primary:var(--brand-red);--color-primary-hover:var(--brand-red-hover);--color-primary-active:var(--brand-red-active);--color-on-primary:#fff;--color-danger:var(--brand-red);--color-danger-hover:var(--brand-red-hover);--color-success-bg:#e3f7ec;--color-success-border:#74c98f;--color-success-text:#0a7c3e;--color-info-bg:#f0eef8;--color-info-border:#c4bdd9;--color-info-text:#26196b;--chart-track:#efe7dc;--chart-used:var(--brand-gold-muted);--chart-rem:#b3802d;--chart-salary-fixed:#8b7355;--chart-salary-khoan:#b3802d;--chart-salary-task:#c5a059;--chart-salary-bonus:#7a1f2d;--chart-salary-penalty:#c8102e;--font-sans:Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, monospace;--fw-regular:400;--fw-semibold:600;--fw-bold:700;--fw-extra:800;--radius-xs:6px;--radius-sm:8px;--radius-md:10px;--radius-lg:12px;--radius-xl:14px;--radius-2xl:18px;--radius-3xl:24px;--radius-pill:999px;--shadow-modal:0 20px 50px #1a0a0a38;--shadow-chat:0 8px 28px #00000038;--shadow-fab:0 4px 14px #00000040;--ease-default:all .2s ease-in-out;--bg:var(--color-surface-page);--bg-sidebar:var(--color-surface-sidebar);--bg-sidebar-2:var(--color-surface-sidebar-2);--surface:var(--color-surface-card);--surface-2:var(--color-surface-muted);--surface-3:var(--color-surface-warm);--border:var(--color-border);--border-2:var(--color-border-strong-2);--text:var(--color-text);--text-muted:var(--color-text-muted);--text-faint:var(--color-text-faint);--on-dark:#2b231d;--on-dark-muted:#6e655f;--on-dark-faint:#857c74;--navy:var(--brand-red);--navy-hover:var(--brand-red-hover);--navy-soft:#fdecef;--gold:var(--brand-gold-muted);--gold-bright:var(--brand-gold-bright);--gold-deep:var(--color-border-strong);--gold-soft:#fff3c4;--red:var(--brand-red);--red-hover:var(--brand-red-hover);--red-soft:#fdecef;--maroon:#7a1f2d;--maroon-2:#4a0e17;--amber-1:#8c5e1a;--amber-2:#b3802d;--p1:var(--chart-salary-fixed);--p2:var(--chart-salary-khoan);--p3:var(--chart-salary-task);--p4:var(--chart-salary-bonus);--p5:var(--chart-salary-penalty);--green:#0a7c3e;--ok-bg:#e3f7ec;--ok-fg:#0a7c3e;--ok-bd:#9dd6ad;--warn-bg:#fdf2cf;--warn-fg:#8a6a00;--warn-bd:#ecd585;--info-bg:#f0eef8;--info-fg:#26196b;--info-bd:#c4bdd9;--danger-bg:#fdeaec;--danger-fg:#b3122a;--danger-bd:#f1c2c9;--r-xs:6px;--r-sm:8px;--r-md:12px;--r-lg:16px;--r-pill:999px;--sh-sm:0 4px 20px #3c280408;--sh-md:0 8px 30px #3c28040a;--sh-lg:0 12px 40px #3c28040d;--font:var(--font-sans);--mono:var(--font-mono)}body{font-family:var(--font-sans);color:var(--color-text);background:var(--color-surface-page);margin:0}h1,.h1{font-size:clamp(22px,3vw,32px);font-weight:var(--fw-bold);margin:0;line-height:1.15}.h1-hero{font-size:clamp(32px,5vw,56px);font-weight:var(--fw-bold);line-height:1.1}h2,.h2{font-size:20px;font-weight:var(--fw-bold);margin:0;line-height:1.3}.sidebar-title{font-size:18px;font-weight:var(--fw-extra)}.eyebrow{color:var(--brand-gold);font-weight:var(--fw-extra);letter-spacing:.08em;text-transform:uppercase;font-size:12px}.card-section-title{font-size:13px;font-weight:var(--fw-extra);letter-spacing:.06em;text-transform:uppercase}.role-label{color:var(--brand-gold-muted);font-size:13px;font-weight:var(--fw-extra);letter-spacing:.06em;text-transform:uppercase}p,.body{margin:0;font-size:15px;line-height:1.5}.muted{color:var(--color-text-muted)}.subtle{color:var(--color-text-muted);font-size:13px}.amount{font-variant-numeric:tabular-nums;font-weight:var(--fw-extra)}code,.code{font-family:var(--font-mono);background:var(--color-surface-muted);border-radius:var(--radius-xs);padding:2px 6px;font-size:13px}*,:before,:after{box-sizing:border-box}button{letter-spacing:.01em;border-radius:8px;font-weight:600;transition:background .18s,border-color .18s,color .18s}.loginBtn{letter-spacing:.04em;border-radius:8px}button.ghost{color:#6b5a12;background:#fbf1cf}button.ghost:hover{background:#f5e6b4}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{border:1px solid #ddcd7e;border-radius:8px;transition:border-color .18s,box-shadow .18s}input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,select:focus,textarea:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px #c8102e1f}.badge{letter-spacing:.01em;text-transform:none;align-items:center;gap:7px;padding:5px 12px 5px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.badge:before{content:"";background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.badge-success{background:var(--ok-bg);color:var(--ok-fg)}.badge-warning{background:var(--warn-bg);color:var(--warn-fg)}.badge-danger{background:var(--danger-bg);color:var(--danger-fg)}.badge-info{background:var(--info-bg);color:var(--info-fg)}.badge-neutral{background:var(--surface-2);color:var(--text-muted)}.statRow{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}@media (width<=980px){.statRow{grid-template-columns:1fr 1fr}}@media (width<=560px){.statRow{grid-template-columns:1fr}}.statCard{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--sh-sm);min-width:0;padding:16px 18px}.statCardK{color:var(--text-muted);align-items:center;gap:7px;margin:0;font-size:12px;font-weight:700;display:flex}.statCardDot{border-radius:3px;flex-shrink:0;width:9px;height:9px}.statCardV{letter-spacing:-.01em;font-variant-numeric:tabular-nums;margin:9px 0 0;font-size:24px;font-weight:800}.statCardDelta{margin:5px 0 0;font-size:12px;font-weight:700}.statCardIcon{flex-shrink:0;width:16px;height:16px}.budgetBar{flex-direction:column;gap:14px;display:flex}.budgetBarTop{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.budgetBarBig{letter-spacing:-.02em;color:var(--text);font-size:34px;font-weight:800;line-height:1}.budgetBarWarn{color:var(--red);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.budgetBarTrack{background:var(--surface-2);border-radius:8px;height:14px;overflow:hidden}.budgetBarUsed{border-radius:8px;height:100%;transition:width .3s}.budgetBarFigures{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.budgetBarFig{background:var(--surface-3);border:1px solid var(--border);border-radius:var(--r-sm);flex-direction:column;gap:4px;min-width:0;padding:12px 14px;display:flex}.budgetBarFig dt{letter-spacing:.04em;text-transform:uppercase;color:var(--text-faint);margin:0;font-size:11px;font-weight:700}.budgetBarFig dd{margin:0;font-size:16px;font-weight:800}@media (width<=560px){.budgetBarFigures{grid-template-columns:1fr}}.dataTable tfoot td{background:var(--surface-2);border-top:2px solid var(--border-2);border-bottom:0;font-weight:800}.quickApply{background:var(--surface-3);border:1px solid var(--border);border-radius:var(--r-md);margin-bottom:20px;padding:16px 18px}.quickApplyRow{grid-template-columns:minmax(110px,150px) minmax(120px,180px) 1fr;align-items:center;gap:12px;display:grid}@media (width<=560px){.quickApplyRow{grid-template-columns:1fr}}.cultureGrid{grid-template-columns:2fr 1fr;align-items:start;gap:16px;display:grid}.cultureCardTypes{grid-area:1/1}.cultureCardAdjs{grid-area:2/1}.cultureCardForm{grid-area:1/2/span 2}@media (width<=1024px){.cultureGrid{flex-direction:column;display:flex}.cultureCardForm{order:1}.cultureCardAdjs{order:2}.cultureCardTypes{order:3}}.modalDialogWide{max-width:min(980px,100vw - 24px)}.tplFieldRow{grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;display:grid}.tplFieldRowProof{grid-template-columns:1fr 1fr 1fr auto}.tplFieldActions{align-items:center;gap:10px;padding-bottom:9px;display:flex}@media (width<=720px){.tplFieldRow,.tplFieldRowProof{grid-template-columns:1fr}.tplFieldActions{padding-bottom:0}}.checkListGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;max-height:230px;display:grid;overflow:auto}.assignToggle{background:var(--surface-3);border:1px solid var(--border);width:100%;color:var(--text);border-radius:var(--r-sm);justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-size:13.5px;font-weight:700;display:flex}.assignToggle:hover{background:var(--surface-2)}.actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.kpiMasterDetail{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (width<=900px){.kpiMasterDetail{grid-template-columns:1fr}}.kpiRuleList{flex-direction:column;gap:6px;display:flex}.kpiRuleItem{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:11px 13px;transition:border-color .15s,background .15s;display:flex;position:relative}.kpiRuleItem:hover{background:var(--surface-3)}.kpiRuleItem.active{border-color:var(--navy);background:var(--navy-soft)}.kpiRuleItem.active:before{content:"";background:var(--red);border-radius:0 3px 3px 0;width:3px;height:24px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.kpiRuleItemName{color:var(--text);font-size:14px;font-weight:700}.kpiRuleItemMeta{color:var(--text-faint);font-size:11.5px;font-family:var(--mono)}.checkList{gap:8px}.checkList label.inline{border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);cursor:pointer;align-items:center;gap:12px;padding:12px 14px;font-size:14px;font-weight:600;line-height:1.3;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.checkList label.inline:hover{border-color:var(--border-2);background:var(--surface-3)}.checkList label.inline:has(input:checked){border-color:var(--navy);background:var(--navy-soft);box-shadow:inset 0 0 0 1px var(--navy)}.checkList label.inline>span{min-width:0}input[type=checkbox]{appearance:none;border:2px solid var(--border-2);background:var(--surface);cursor:pointer;border-radius:6px;flex-shrink:0;place-content:center;width:20px;height:20px;margin:0;transition:background .15s,border-color .15s,box-shadow .15s;display:inline-grid}label.inline input[type=checkbox],.checkItem input[type=checkbox],.checkList input[type=checkbox]{width:20px;height:20px}input[type=checkbox]:before{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;margin-top:-2px;transition:transform .12s;transform:rotate(45deg)scale(0)}input[type=checkbox]:hover{border-color:var(--navy)}input[type=checkbox]:checked{background:var(--navy);border-color:var(--navy)}input[type=checkbox]:checked:before{transform:rotate(45deg)scale(1)}input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 3px #c8102e2e}input[type=checkbox]:disabled{opacity:.5;cursor:not-allowed}.appSidebar{background:linear-gradient(90deg, var(--bg-sidebar), var(--bg-sidebar-2));gap:16px;height:100vh;padding-bottom:16px;position:sticky;top:0;overflow-y:auto}.appSidebarBrand{flex-direction:column;gap:6px;padding:2px 6px 0;display:flex}.appSidebarLogo{object-fit:contain;width:auto;max-width:220px;height:64px;display:block}.appNavGroupLabel{letter-spacing:.14em;text-transform:uppercase;color:var(--on-dark-faint);margin:6px 0 -4px;padding:0 10px;font-size:10px;font-weight:800}.appNavIcon{opacity:.9;flex-shrink:0;width:19px;height:19px}.appSidebarSpacer{flex:auto}.appSidebarUser{border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);align-items:center;gap:11px;padding:11px;display:flex}.appUserAvatar{background:linear-gradient(145deg, var(--gold-bright), var(--gold-deep));color:#1c1606;border:1px solid #785a0a40;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:14px;font-weight:800;display:grid}.appUserMeta{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.appUserName{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:700;overflow:hidden}.appUserRole{letter-spacing:.08em;text-transform:uppercase;color:#9a7d12;white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;font-weight:800;overflow:hidden}.appSidebarLogout{color:var(--on-dark-muted);background:0 0;border-radius:8px;flex-shrink:0;place-items:center;padding:6px;display:grid}.appSidebarLogout:hover{color:var(--red);background:var(--red-soft)}.appSidebarLogout .appNavIcon{width:18px;height:18px}.appTopBar{align-items:center;gap:20px;display:flex}.appTopBarTitle{letter-spacing:-.01em;color:var(--text);min-width:0;margin:0;font-size:21px;font-weight:800}.appTopBarControls{align-items:center;gap:12px;min-width:0;margin-left:auto;display:flex}@media (width<=768px){.appLayout{flex-direction:column!important}.appBody{padding-bottom:76px!important}.appSidebar{z-index:1000;background:linear-gradient(90deg, var(--bg-sidebar), var(--bg-sidebar-2));border-top:1px solid var(--border);border-right:none;align-items:center;gap:8px;padding:8px 12px;overflow:auto hidden;box-shadow:0 -4px 20px #3c280414;box-sizing:border-box!important;flex-flow:row!important;width:100%!important;height:auto!important;position:fixed!important;inset:auto 0 0!important}.appSidebarBrand,.appNavGroupLabel{display:none}.appNav{-webkit-overflow-scrolling:touch;flex:1;gap:8px;display:flex;overflow-x:auto;flex-flow:row!important;width:auto!important}.appNav::-webkit-scrollbar{display:none}.appNavBtn{white-space:nowrap;border-radius:12px;flex:none;justify-content:center;align-items:center;padding:10px 14px;display:flex}.appNavBtnActive:before{display:none}.appNavBtnActive{background:var(--navy)!important;color:#fff!important;box-shadow:none!important}.appSidebarSpacer{display:none}.appSidebarUser{background:0 0;border:none;flex-shrink:0;margin:0;padding:6px}.appUserMeta{display:none}.appTopBar{flex-direction:column;align-items:stretch;gap:12px;padding:16px}.appTopBarControls{margin-left:0}.appMain{padding:12px!important}.cultureStatsGrid{grid-template-columns:1fr 1fr!important}.detailCard{min-width:0!important}.dashTabs{flex-wrap:wrap!important;gap:8px!important}.btnRow{flex-wrap:wrap!important;gap:12px!important}.tabContent .btnRow input[type=file]{width:100%}.tabContent .btnRow label{flex:100%;margin-bottom:8px}.directorTopCharts,.directorManagerGrid{grid-template-columns:1fr!important;gap:16px!important}.directorBudgetInputWrapper{flex-wrap:wrap!important}.directorBudgetInputWrapper input{width:100%;min-width:0;flex:100%!important}.kpiEditorGrid,.kpiEditorGrid.wide{grid-template-columns:1fr!important}.appMainInner{padding-bottom:80px!important}.dashChartsGrid{grid-template-columns:1fr!important}.inlineEditRow{flex-wrap:wrap;justify-content:flex-end}.inlineEditRow input{min-width:100px;flex:100%!important}.hide-sm{display:none!important}.show-sm{display:inline!important}}.show-sm{display:none}@media (width<=480px){.cultureStatsGrid{grid-template-columns:1fr!important}}.newChartBars{align-items:flex-end;gap:3px;height:100px;margin-bottom:16px;display:flex}.newChartBarWrap{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:3px;min-width:4px;height:100%;display:flex}.newChartBar{border-radius:3px 3px 0 0;width:100%;min-height:4px;transition:height .2s}.newChartBar.yellowBar{background:var(--brand-gold-muted,#b8924b)}.newChartBar.redBar{background:var(--brand-red,#c8102e)}.newChartBarLabel{color:var(--color-text-muted);text-align:center;margin-top:2px;font-size:9px;line-height:1}.newChartStats{border-top:1px solid var(--color-border);grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;padding-top:12px;display:grid}.statBlock{flex-direction:column;gap:3px;display:flex}.statLabel{letter-spacing:.06em;text-transform:uppercase;color:var(--color-text-muted);font-size:10px;font-weight:700}.statValue{font-variant-numeric:tabular-nums;color:var(--color-text);font-size:15px;font-weight:800;line-height:1.2}@media (width<=640px){.empSegLegend{grid-template-columns:1fr 1fr!important;align-items:stretch!important;gap:10px 12px!important}.empSegItem{align-items:flex-start!important}.empSegTag{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;letter-spacing:.01em!important;font-size:9px!important}.empSegAmt{font-size:.88rem!important}.empSegPct{font-size:9.5px!important}.empDashPillarHead{flex-wrap:wrap!important;align-items:center!important;gap:4px 8px!important;margin-bottom:4px!important;display:flex!important}.empDashPillarBadge{flex:none;padding:2px 6px!important;font-size:.63rem!important}.empDashPillarHead>strong{min-width:0;white-space:normal!important;flex:1 1 0!important;font-size:11px!important}.empDashPillarHead>.infoTooltip{flex:none}.empDashPillarAmount{font-weight:800;text-align:right!important;width:100%!important;margin-left:0!important;font-size:14px!important}.statValue{word-break:break-all;font-size:13px!important}.statLabel{font-size:9px!important}.newChartBars{height:72px!important}.empDashBottomGrid,.empDashSummaryGrid{grid-template-columns:1fr!important}.empDashBigAmount{word-break:break-all;font-size:1.4rem!important}.empDashPillar,.empDashChartCard,.empDashRulesCard,.empDashCard,.detailCard{word-break:break-word;overflow:visible;min-width:0!important}.empDashCultureCols{grid-template-columns:1fr!important}.tableScroll{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto!important}.cleanTable{min-width:100%;table-layout:auto!important;width:max-content!important;display:table!important}.cleanTable thead{display:table-header-group!important}.cleanTable tbody{display:table-row-group!important}.cleanTable tr{background:0 0!important;border:none!important;margin:0!important;padding:0!important;display:table-row!important}.cleanTable th,.cleanTable td{white-space:nowrap;border-bottom:1px solid var(--color-border)!important;padding:8px 10px!important;font-size:12px!important;display:table-cell!important}.empDashTodayStripAmount{font-size:1.6rem!important}.empDashSectionHeading{font-size:.75rem!important}.appMain{padding:12px!important}.detailCardHeader{flex-direction:column!important;align-items:flex-start!important;gap:6px!important;padding:12px!important}.detailCardTitle{white-space:normal;flex-wrap:nowrap;width:100%;min-width:0;font-size:11px!important}.detailCardAmount{width:100%;font-weight:800;text-align:right!important;align-self:flex-end!important;font-size:13px!important}}.appNavBtn{color:var(--on-dark-muted);align-items:center;gap:12px;font-size:14px;display:flex;position:relative}.appNavBtn:hover{color:var(--on-dark);background:#8c640a14}.appNavBtnActive,.appNavBtnActive:hover{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #785a0a29}.appNavBtnActive:before{content:"";background:var(--red);border-radius:0 3px 3px 0;width:3px;height:22px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.appTopBar{border-bottom:1px solid var(--border);background:#fffde8eb}.appTopLabel{color:var(--text-faint)}.loginBtn,button.danger{box-shadow:0 1px 2px #a00d2552}button.ghost{background:var(--surface);color:var(--text);border:1px solid var(--border-2)}button.ghost:hover{background:var(--surface-3);border-color:#c9bfa8}.card{box-shadow:var(--sh-sm)}.card>.cardHead{border-bottom:1px solid var(--border);margin-bottom:4px;padding-bottom:16px}.cardHead h2{letter-spacing:.01em;font-size:15px;font-weight:800}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--sh-sm);padding:18px}.stat strong{letter-spacing:-.01em;font-variant-numeric:tabular-nums;font-size:24px;font-weight:800}.stat span{color:var(--text-muted);font-size:12px;font-weight:700}.dataTable th{background:var(--surface-2);color:var(--text-muted);letter-spacing:.06em;border-bottom:1px solid var(--border);font-size:11px}.dataTable tbody tr:hover{background:var(--surface-3)}.dataTable .numCell{font-weight:700}@keyframes vgFade{0%{opacity:0}to{opacity:1}}@keyframes vgPop{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:none}}.modalBackdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c122080;animation:.15s vgFade}.modalDialog{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--sh-lg);animation:.18s vgPop}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c122080;justify-content:center;align-items:center;padding:24px;animation:.15s vgFade;display:flex;position:fixed;inset:0}.modal-content{background:var(--surface);border-radius:var(--r-lg);width:100%;max-width:min(560px,100vw - 24px);max-height:90vh;box-shadow:var(--sh-lg);animation:.18s vgPop;overflow:auto}.modal-header{border-bottom:1px solid var(--border);background:var(--surface);align-items:flex-start;gap:14px;padding:20px 24px;display:flex;position:sticky;top:0}.modal-header h3{margin:0;font-size:17px;font-weight:800}.modal-close{color:var(--text-faint);background:0 0;border-radius:8px;width:32px;height:32px;margin-left:auto;padding:0;font-size:18px}.modal-close:hover{background:var(--surface-2);color:var(--text)}.modal-body{padding:24px}@media print{.appSidebar,.appTopBar{display:none!important}}.directorTopCharts{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:32px;display:grid}.directorManagerGrid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.directorBudgetInputWrapper{align-items:center;gap:6px;display:flex}.kpiEditorGrid{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:20px;display:grid}.kpiEditorGrid.wide{grid-template-columns:minmax(0,1fr) 280px}.kpiEditorGrid>div{min-width:0;min-inline-size:0}.quickApplyRow{align-items:center;gap:10px;display:flex}.quickApplyBtn{white-space:nowrap;padding:6px 12px;font-size:13px}.inlineEditRow{align-items:center;gap:6px;display:flex}.inlineEditRow input{flex:1}.dashChartsGrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:20px;display:grid}.donutChartWrapper{align-items:center;gap:32px;display:flex}@media (width<=768px){.directorTopCharts,.directorManagerGrid{grid-template-columns:1fr}.donutChartWrapper{flex-direction:column;align-items:center;gap:16px}.donutChartWrapper>div:last-child{width:100%}}.banner-info{background:var(--gold-soft);color:#7a5f12;border-color:#ecd9a3}.loginWrap{background:radial-gradient(75% 45% at 50% -8%,#d4af3752,#0000 62%),linear-gradient(#fffdef 0%,#fff3c4 100%)}.loginWrap:before{content:"";background:linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));z-index:1;height:6px;position:fixed;top:0;left:0;right:0}.loginCard{box-shadow:var(--sh-lg);border:1px solid var(--border)}.chatFab{background:linear-gradient(145deg, var(--gold-bright), var(--gold));color:#1c1813;box-shadow:var(--sh-lg)}.chatPanel{border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-lg);overflow:hidden}.chatHead{background:linear-gradient(135deg, var(--maroon-2), var(--maroon));color:#fff;border-radius:0}.chatClose{color:#ffffffb3}.chatClose:hover{color:#fff;background:#ffffff1f;border-radius:8px}.chatBody{background:var(--surface-3)}.chatMsg-assistant{background:var(--surface);border:1px solid var(--border)}.chatMsg-user{background:var(--navy);color:#fff}.chatChip{background:var(--surface);border:1px solid var(--border-2);color:var(--navy);border-radius:var(--r-pill)}.chatChip:hover{background:var(--navy-soft);border-color:var(--navy)}.empSegBar{border-radius:var(--r-pill);background:var(--surface-2);height:14px;margin:14px 0 12px;display:flex;overflow:hidden}.empSegBar>div{transition:width .4s}.empSegLegend{text-align:left;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;display:grid}.empSegItem{align-items:flex-start;gap:8px;display:flex}.empSegChip{border-radius:4px;flex:none;width:12px;height:12px;margin-top:3px}.empSegItemBody{min-width:0}.empSegTag{letter-spacing:.04em;color:var(--text-faint);font-size:11px;font-weight:800}.empSegAmt{font-variant-numeric:tabular-nums;font-size:.95rem;font-weight:800}.empSegPct{color:var(--text-muted);font-size:11px}.payrollSteps{flex-wrap:wrap;align-items:center;gap:6px 4px;margin:14px 0 16px;padding:0;list-style:none;display:flex}.payrollStep{color:var(--text-faint);align-items:center;gap:8px;font-size:13px;font-weight:600;display:inline-flex}.payrollStepNum{background:var(--surface-2);width:22px;height:22px;color:var(--text-muted);border:1.5px solid var(--border-2);border-radius:999px;justify-content:center;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.payrollStep.is-done{color:var(--ok-fg)}.payrollStep.is-done .payrollStepNum{background:var(--ok-bg);color:var(--ok-fg);border-color:var(--ok-fg)}.payrollStep.is-current{color:var(--red)}.payrollStep.is-current .payrollStepNum{background:var(--red);color:#fff;border-color:var(--red)}.payrollStepSep{color:var(--text-faint);margin:0 4px;font-weight:400}.payrollStep:last-child .payrollStepSep{display:none}.docCardStatus{border-radius:var(--r-pill);align-self:flex-start;align-items:center;gap:5px;margin-bottom:12px;padding:3px 9px;font-size:11px;font-weight:700;display:inline-flex}.docCardStatus.is-done{background:var(--ok-bg);color:var(--ok-fg)}.docCardStatus.is-processing{background:var(--warn-bg);color:var(--warn-fg)}.docCardProcessing,.docCardProcessing:hover{border-color:var(--warn-fg);background:var(--warn-bg)}.docCardIconPulse{animation:1.4s ease-in-out infinite docHourglassPulse}@keyframes docHourglassPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.9)}}@media (prefers-reduced-motion:reduce){.docCardIconPulse{animation:none}}.autoRulesReport{border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface);gap:2px;max-width:520px;display:grid;overflow:hidden}.autoRulesRow{background:var(--surface);justify-content:space-between;align-items:center;gap:16px;padding:11px 14px;display:flex}.autoRulesRow+.autoRulesRow{border-top:1px solid var(--border)}.autoRulesKey{color:var(--text-muted);font-size:13px;font-weight:600}.autoRulesPill{border-radius:var(--r-pill);padding:3px 10px;font-size:12px;font-weight:700}.autoRulesPill.is-on{background:var(--ok-bg);color:var(--ok-fg)}.autoRulesPill.is-off{background:var(--surface-2);color:var(--text-muted)}.autoRulesStamp{color:var(--ok-fg);font-variant-numeric:tabular-nums;font-size:13px;font-weight:700}.pager{justify-content:flex-end;align-items:center;gap:10px;padding:10px 0 2px;display:flex}.pagerInfo{color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:13px;font-weight:600}
