/* SCALE UP · Crimson accounting identity (inspired by category conventions, not third-party assets).
   Colors only. Financial meaning (green success / amber pending) is preserved. */
body.poac-hwc.workspace{
 --hwc-accent:#b91f38;--hwc-accent-light:#fff0f3;--hwc-side:#3b1521;--hwc-side-muted:#ead7de;
 --teal:#bc2b44;--teald:#a61932;--navy:#3a1422;--navy2:#4c2232;
 --hwc-page:#f8f6f7;--hwc-border:#ece3e6;--hwc-shadow:0 7px 24px #4f14210d;
 --hwc-text:#31212a;
}
body.poac-hwc.workspace .drawer{background:#3a1520;border-color:#612d3c}
body.poac-hwc.workspace .drawerHead .brandMark{background:#ffffff16;color:#fff;border-color:#ffffff35}
body.poac-hwc.workspace .drawerHead small,
body.poac-hwc.workspace .drawerFoot{color:#dfc2cd}
body.poac-hwc.workspace .drawer .navCaption{color:#d7acb9}
body.poac-hwc.workspace .navItem{color:#f1dce3}
body.poac-hwc.workspace .navItem:hover{color:#fff;background:#ffffff18}
body.poac-hwc.workspace .navItem.selected{background:#b91f38;color:#fff;box-shadow:0 4px 17px #28071155}
body.poac-hwc.workspace .companyBadge{background:#ffffff12;color:#fff4f6;border-color:#ffffff22}
body.poac-hwc.workspace .brandMark{background:linear-gradient(135deg,#d52a47,#86172d);box-shadow:0 5px 15px #86172d20}
body.poac-hwc.workspace .brandMark span{color:#fff0f3}
body.poac-hwc.workspace .topbar .brand strong{color:#751429}
body.poac-hwc.workspace .avatar{background:#ffe5eb;color:#9d1d35}
body.poac-hwc.workspace .pageHead .eyebrow{color:#ac1d35}
body.poac-hwc.workspace #main:has(.kpiGrid) .pageHead{background:linear-gradient(115deg,#a51b34 0%,#681528 100%);box-shadow:0 16px 38px #67162b24}
body.poac-hwc.workspace #main:has(.kpiGrid) .pageHead .eyebrow{color:#ffe1e8}
body.poac-hwc.workspace #main:has(.kpiGrid) .pageHead .btn{color:#9d2137}
body.poac-hwc.workspace .btn:not(.secondary):not(.danger):not(.sposPay){background:#b91f38;border-color:#b91f38;box-shadow:0 4px 12px #a7153226}
body.poac-hwc.workspace .btn:not(.secondary):not(.danger):not(.sposPay):hover{background:#971a30;border-color:#971a30}
body.poac-hwc.workspace .btn.secondary{background:#fff;border-color:#ead3d9;color:#7a2a3e}
body.poac-hwc.workspace .btn.secondary:hover{background:#fff2f5}
body.poac-hwc.workspace .kpi .bubble,
body.poac-hwc.workspace .statIcon{background:#ffe9ee;color:#b51d37}
body.poac-hwc.workspace .kpi b{color:#7d1e31}
body.poac-hwc.workspace .kpi.profit b{color:#137b60}
body.poac-hwc.workspace .quick span,
body.poac-hwc.workspace .choiceBar button.current,
body.poac-hwc.workspace .pageHead .eyebrow{color:#b91f38}
body.poac-hwc.workspace .quick:hover{background:#fff3f5;border-color:#e8a6b3}
body.poac-hwc.workspace .pill:not(.warn):not(.gray):not(.danger){background:#ffeaf0;color:#a51b34}
body.poac-hwc.workspace .summaryStrip{background:#fff1f4;border-color:#f1cad5}
body.poac-hwc.workspace .summaryStrip strong{color:#9d1b34}
body.poac-hwc.workspace .field input:focus,body.poac-hwc.workspace .field select:focus,
body.poac-hwc.workspace .field textarea:focus{border-color:#b91f38;box-shadow:0 0 0 3px #b91f381c}
body.poac-hwc.workspace .checkboxRow input{accent-color:#b91f38}
body.poac-hwc.workspace .demoTargetPanel .demoProgressFill,
body.poac-hwc.workspace .keepProgress>div{background:#b91f38}
body.poac-hwc.workspace .keepCheckBox{border-color:#bb7487;color:#a51832}
body.poac-hwc.workspace .keepMiniBtn{background:#fff0f3;border-color:#f1c8d0;color:#8e2035}
body.poac-hwc.workspace .keepMiniBtn:hover{background:#ffe2e9}
body.poac-hwc.workspace .demoAttendActions button{background:#b91f38}
body.poac-hwc.workspace .demoAttendActions button:nth-child(2){background:#7e1c36}
body.poac-hwc.workspace .demoAttendPanel h2{color:#7c2034}
body.poac-hwc.workspace .demoAttendStats strong{color:#992039}
body.poac-hwc.workspace .demoAttendStats>div{background:#fff5f7;border-color:#f2dce1}
body.poac-hwc.workspace .reportTypes button.selected{background:#b91f38;border-color:#b91f38;color:#fff}
body.poac-hwc.workspace .scaleupReportHeader{border-color:#a51b34}
body.poac-hwc.workspace .scaleupReportTable th{background:#fff0f3;color:#772238}
body.poac-hwc.workspace .scaleupReportTotal td{background:#fff5f7}
body.poac-hwc.workspace.scaleup-accounting .drawer{background:#fff!important;color:#562431!important;border-right-color:#e9d8dc!important}
body.poac-hwc.workspace.scaleup-accounting .drawerHead{background:#fff8fa!important;border-bottom-color:#ecd6dc!important}
body.poac-hwc.workspace.scaleup-accounting .drawerHead b{color:#7d1932}
body.poac-hwc.workspace.scaleup-accounting .navItem{color:#654452!important}
body.poac-hwc.workspace.scaleup-accounting .navItem:hover{color:#a11b35!important;background:#fff0f3!important}
body.poac-hwc.workspace.scaleup-accounting .navItem.selected{color:#9c1833!important;background:#ffe3ea!important;border-left:3px solid #bf2641!important}
body.poac-hwc.workspace.scaleup-accounting .drawer .navCaption{color:#9b6f7e}
body.poac-hwc.workspace.scaleup-accounting .companyBadge{background:#fff1f5;color:#9a233a;border-color:#ebbdc9}
body.poac-hwc.workspace.scaleup-accounting .pageHead h1{color:#721b32}
body.poac-hwc.workspace.scaleup-accounting .kpi{border-top:3px solid #bf2641!important}
body.poac-hwc.workspace.scaleup-accounting .kpi b{color:#a51b34}
body.poac-hwc.workspace.scaleup-accounting .dataTable thead th{background:#fff1f4!important;color:#6e3648}
body.poac-hwc.workspace.scaleup-accounting .jobdeskMetrics b,
body.poac-hwc.workspace.scaleup-accounting .jobdeskStats strong{color:#a51b34}
/* Employee dashboard: actionable checklist first, historical task overview compact. */
body.poac-hwc.workspace .employeeChecklistSlot{display:grid;gap:16px;margin:16px 0}
body.poac-hwc.workspace .employeeChecklistSlot>.card:first-child{border-top:4px solid #bc2640}
body.poac-hwc.workspace .employeeProfileCard{margin-bottom:17px}
body.poac-hwc.workspace .employeeProfileCard .demoPerson{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}
body.poac-hwc.workspace .demoPersonInfo{min-width:0}
body.poac-hwc.workspace .demoPersonInfo p{margin:4px 0 6px}
body.poac-hwc.workspace .employeeQuickAttendance{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:135px;min-height:78px;border:0;border-radius:12px;padding:11px 13px;background:#b91f38;color:#fff;text-align:center;box-shadow:0 5px 15px #b91f3826}
body.poac-hwc.workspace .employeeQuickAttendance>span{font-size:21px;line-height:1}
body.poac-hwc.workspace .employeeQuickAttendance strong{font-size:12px;white-space:nowrap}
body.poac-hwc.workspace .employeeQuickAttendance small{font-size:10px;color:#fff0f2}
body.poac-hwc.workspace .employeeQuickAttendance:not(:disabled):hover{background:#941c32}
body.poac-hwc.workspace .employeeQuickAttendance:disabled{background:#81626c;color:#fff;opacity:.8;cursor:default}
body.poac-hwc.workspace .employeeMyTasks{margin:16px 0}
body.poac-hwc.workspace .employeeTaskLine{display:flex;align-items:center;gap:10px;border-top:1px solid #eee4e7;padding:11px 0}
body.poac-hwc.workspace .employeeTaskLine>div{flex:1;min-width:0}
body.poac-hwc.workspace .employeeTaskLine strong{font-size:12px;color:#493543;line-height:1.45;display:block;overflow-wrap:anywhere}
body.poac-hwc.workspace .employeeTaskLine small{display:block;font-size:10px;color:#85717b;margin-top:3px}
body.poac-hwc.workspace .employeeTaskGlyph{color:#b91f38;font-size:19px;flex:none;width:21px}
body.poac-hwc.workspace .employeeTaskDone strong{color:#7d8594;text-decoration:line-through}
body.poac-hwc.workspace .employeeTaskFold{border-top:1px solid #eee2e6;margin-top:9px}
body.poac-hwc.workspace .employeeTaskFold>summary{padding:13px 3px;cursor:pointer;font-size:12px;color:#9b1e37;font-weight:800}
body.poac-hwc.workspace .employeeTaskFold[open]>summary{margin-bottom:5px}
body.poac-hwc.workspace .employeeTaskFoldBody{max-height:370px;overflow:auto}
body.poac-hwc.workspace .employeeTaskFold summary:focus-visible,body.poac-hwc.workspace .employeeQuickAttendance:focus-visible{outline:3px solid #e68a9e;outline-offset:3px}
@media(max-width:690px){
 body.poac-hwc.workspace .employeeProfileCard .demoPerson{grid-template-columns:auto minmax(0,1fr);gap:10px}
 body.poac-hwc.workspace .employeeProfileCard .demoPerson>a{grid-column:1;grid-row:1/3;align-self:start}
 body.poac-hwc.workspace .demoPersonInfo{grid-column:2;grid-row:1}
 body.poac-hwc.workspace .employeeQuickAttendance{grid-column:2;grid-row:2;min-height:49px;min-width:0;width:100%;flex-direction:row;gap:8px}
 body.poac-hwc.workspace .employeeQuickAttendance>span{font-size:17px}
 body.poac-hwc.workspace .employeeQuickAttendance small{margin-left:auto}
}
/* Home welcome theme */
body.scaleup-welcome .backgroundGlow{background:radial-gradient(circle at 9% 15%,#ffd7dfaa,transparent 43%),radial-gradient(circle at 91% 9%,#f5d5e5aa,transparent 40%),linear-gradient(160deg,#fffafa,#f9f3f6)}
body.scaleup-welcome .logoMark{background:linear-gradient(135deg,#c52643,#80182f)}
body.scaleup-welcome .logoMark span{color:#ffccda}
body.scaleup-welcome .navLogin{color:#921c36;border-color:#eed5de}
body.scaleup-welcome .hero h1 em,body.scaleup-welcome .eyebrow,body.scaleup-welcome .kicker,
body.scaleup-welcome .feature span{color:#b91f38}
body.scaleup-welcome .eyebrow .dot{background:#b91f38;box-shadow:0 0 0 5px #b91f3818}
body.scaleup-welcome .welcomeBannerWrap{border-color:#ecc7d0;background:#7f1c34}
body.scaleup-welcome .tabs button.active{color:#9d1c36}
body.scaleup-welcome .authForm input:focus{border-color:#b91f38;box-shadow:0 0 0 3px #b91f381c}
body.scaleup-welcome .submit,body.scaleup-welcome .demoButton,body.scaleup-welcome .existing button{background:#b91f38;color:#fff}
body.scaleup-welcome .submit:hover,body.scaleup-welcome .demoButton:hover{background:#961a30}
body.scaleup-welcome .welcomeDivider span{color:#9a2940}
/* Demo selection: additional class avoids styles escaping to other pages */
body.scaleup-red-demo{background:radial-gradient(ellipse at 0% 0%,#ffdee5,#faf8fa 48%)!important}
body.scaleup-red-demo .eyebrow{color:#b91f38}
body.scaleup-red-demo .ico{background:linear-gradient(145deg,#ffe1e8,#f9c9d4);color:#a51b34}
body.scaleup-red-demo .card button:not(.back),body.scaleup-red-demo .demoAccess button[type=submit]{background:#b91f38}
body.scaleup-red-demo .card button:not(.back):hover,body.scaleup-red-demo .demoAccess button[type=submit]:hover{background:#991c34}
body.scaleup-red-demo .demoAccess .switch button.active{background:#b91f38;color:white}
body.scaleup-red-demo .brand{color:#841b34}
body.scaleup-red-demo button:focus-visible{outline:3px solid #e7a0b1;outline-offset:3px}
/* Live employee portal */
body.scaleup-employee{background:#faf6f8}
body.scaleup-employee header{background:linear-gradient(105deg,#ad1f3a,#5f1529)}
body.scaleup-employee .card{border-color:#efdee3}
body.scaleup-employee button.primary,body.scaleup-employee button.secondary{background:#b91f38}
body.scaleup-employee button.primary:hover,body.scaleup-employee button.secondary:hover{background:#991c34}
body.scaleup-employee .badge{background:#fff0f3;color:#902038}
