 :root{--orange:#f26a21;--orange-dark:#db5410;--ink:#17191d;--muted:#777d87;--line:#e9e9eb;--canvas:#f7f7f8;--white:#fff;--green:#16865c;--red:#c74242;--shadow:0 12px 34px rgba(25,27,31,.045)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',sans-serif;color:var(--ink);background:var(--canvas);font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:25px 16px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 32px}.brand-mark{width:38px;height:38px;background:var(--orange);border-radius:12px;display:grid;place-items:center;color:#fff;font:800 25px Manrope;box-shadow:0 6px 15px #f26a2133}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-copy strong{font:800 19px Manrope;letter-spacing:-.8px}.brand-copy small{font-size:9px;letter-spacing:1.5px;color:#92949b;font-weight:700}.workspace-label{padding:0 12px 11px;font-size:10px;font-weight:700;letter-spacing:1.3px;color:#a0a2a8}.nav{display:flex;flex-direction:column;gap:5px}.nav a{height:43px;display:flex;align-items:center;gap:13px;padding:0 12px;border-radius:9px;color:#656a73;font-weight:600;transition:.18s}.nav a:hover{background:#faf4f0;color:var(--ink)}.nav a.active{background:#fff1e9;color:#c95112;font-weight:700}.nav-icon{width:20px;text-align:center;font-size:19px}.nav-spacer{margin-top:25px}.sidebar-bottom{margin-top:auto}.help-card{background:#fff8f3;border:1px solid #ffe5d5;border-radius:12px;padding:14px;margin:0 3px 17px}.help-icon{width:25px;height:25px;border-radius:8px;background:#ffdfca;color:#c95112;display:grid;place-items:center;font-weight:800;margin-bottom:12px}.help-card strong{font:700 12px Manrope}.help-card p{font-size:11px;line-height:1.5;color:#858087;margin:6px 0 10px}.help-card a{font-size:11px;font-weight:700;color:#c95112}.sidebar-user{border-top:1px solid var(--line);padding:15px 5px 0;display:flex;align-items:center;gap:9px}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffe6d7;color:#b84c13;font-weight:800;flex-shrink:0}.avatar-small{width:30px;height:30px}.user-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.user-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-copy small{font-size:10px;color:var(--muted);text-transform:capitalize}.logout-mini{color:#92949b;font-size:18px;padding:5px}.main-area{margin-left:250px;min-height:100vh}.topbar{height:72px;position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px}.breadcrumb{color:#8b8e96;font-size:12px}.breadcrumb span{padding:0 9px;color:#c7c8cb}.breadcrumb strong{color:#25272c;font-weight:700}.topbar-right{display:flex;align-items:center;gap:11px;color:#7e828b;font-size:11px}.status-dot{width:7px;height:7px;background:#21a56f;border-radius:50%;box-shadow:0 0 0 3px #e0f6eb}.topbar-date{border-left:1px solid var(--line);padding-left:17px;margin-left:5px}.page-content{padding:30px 34px 48px;max-width:1600px;margin:0 auto}.mobile-menu{display:none;border:0;background:transparent;font-size:20px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:25px}.eyebrow{color:var(--orange-dark);font-size:10px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:9px}.page-heading h1{font:800 27px Manrope;margin:0;letter-spacing:-1px}.page-heading p{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:700;transition:.15s;white-space:nowrap}.btn-primary{background:var(--orange);color:#fff;box-shadow:0 4px 9px #f26a2126}.btn-primary:hover{background:var(--orange-dark);transform:translateY(-1px)}.btn-dark{background:#1b1c20;color:#fff}.btn-outline{background:#fff;border-color:#dedfe2;color:#35373d}.btn-soft{background:#fff0e7;color:#b94b12}.btn-danger{background:#fff0f0;color:#bd3737;border-color:#ffdddd}.btn-sm{padding:8px 11px;font-size:11px}.grid{display:grid;gap:16px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.stat-card,.panel,.table-card,.form-card{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.stat-card{padding:19px 19px 17px;min-height:130px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#777d86;font-size:11px;font-weight:600}.stat-icon{width:34px;height:34px;border-radius:10px;background:#fff0e7;color:#d95b17;display:grid;place-items:center;font-size:18px}.stat-value{font:800 27px Manrope;letter-spacing:-1px;margin:15px 0 5px}.stat-foot{font-size:10px;color:#8d929a}.stat-foot .positive{color:var(--green);font-weight:700}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);align-items:start}.panel{padding:21px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.panel-head h2{font:700 14px Manrope;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.text-link{font-size:11px;font-weight:700;color:#d45817}.mini-chart{height:170px;display:flex;align-items:end;gap:13px;padding:14px 3px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 41px,#f0f0f1 42px)}.bar-group{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:8px}.bars{height:calc(100% - 18px);width:100%;display:flex;align-items:end;justify-content:center;gap:4px}.bar{width:12px;max-width:32%;background:#f8b18a;border-radius:4px 4px 0 0}.bar.dark{background:var(--orange)}.bar-label{font-size:10px;color:#9699a0}.legend{display:flex;gap:16px;margin-top:14px;font-size:10px;color:#777d86}.legend span{display:flex;align-items:center;gap:6px}.legend i{width:7px;height:7px;border-radius:2px;background:var(--orange)}.legend i.light{background:#f8b18a}.activity-list{display:flex;flex-direction:column;gap:17px}.activity{display:flex;align-items:flex-start;gap:11px}.activity-mark{width:32px;height:32px;flex-shrink:0;border-radius:10px;background:#fff1e9;color:#d45817;display:grid;place-items:center;font-size:14px}.activity-copy{flex:1;min-width:0}.activity-copy strong{font-size:11px;display:block;margin:2px 0 5px}.activity-copy p{font-size:10px;color:#8b8e96;line-height:1.5;margin:0}.activity time{font-size:10px;color:#a0a2a8;white-space:nowrap}.table-card{overflow:hidden;margin-top:20px}.table-toolbar{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.table-toolbar h2{font:700 14px Manrope;margin:0}.toolbar-actions{display:flex;gap:9px;align-items:center}.search-input{min-width:210px;border:1px solid #e4e5e7;background:#fff;border-radius:8px;padding:9px 11px;font-size:11px;outline:none}.search-input:focus,input:focus,select:focus,textarea:focus{border-color:#f3a174!important;box-shadow:0 0 0 3px #f26a2115}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#92959d;font-weight:700;background:#fcfcfc;padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:14px 20px;border-bottom:1px solid #f0f0f1;font-size:11px;color:#52565e}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fffdfa}.person-cell{display:flex;align-items:center;gap:10px}.person-cell .avatar{width:31px;height:31px;font-size:11px}.person-cell strong{display:block;color:#282a2f;font-size:11px}.person-cell small{display:block;color:#999da4;font-size:10px;margin-top:4px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;font-size:10px;font-weight:700}.pill::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.pill.success{background:#eaf8f0;color:#16865c}.pill.pending{background:#fff5df;color:#a96c09}.pill.danger{background:#fff0f0;color:#c74242}.pill.neutral{background:#f0f1f3;color:#727782}.pill.orange{background:#fff0e7;color:#c95112}.empty-state{text-align:center;padding:45px 20px;color:#92959d;font-size:12px}.empty-state strong{display:block;color:#41444a;font-size:14px;margin-bottom:6px}.form-card{padding:24px;max-width:900px}.form-section-title{font:700 13px Manrope;margin:0 0 18px;padding-bottom:12px;border-bottom:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:700;color:#4c5057}.field input,.field select,.field textarea{width:100%;border:1px solid #dedfe2;border-radius:8px;padding:11px 12px;background:#fff;outline:none;font-size:12px;color:#282a2f}.field textarea{min-height:90px;resize:vertical}.field-help{font-size:10px;color:#9397a0;line-height:1.5}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.alert{position:relative;border-radius:9px;padding:13px 40px 13px 15px;margin-bottom:20px;font-size:12px;line-height:1.5}.alert.success{background:#eaf8f0;color:#176d4d;border:1px solid #d0efde}.alert.error{background:#fff0f0;color:#a92e2e;border:1px solid #ffdada}.alert.info{background:#eef5ff;color:#2d5f9e;border:1px solid #dceaff}.alert-close{position:absolute;right:12px;top:8px;background:none;border:0;font-size:19px;color:inherit}.attendance-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:18px;align-items:start}.check-card{padding:24px}.check-illustration{height:150px;background:linear-gradient(135deg,#fff2e9,#fffaf7);border:1px solid #ffe2d1;border-radius:12px;display:grid;place-items:center;margin-bottom:20px;overflow:hidden;position:relative}.check-illustration:before,.check-illustration:after{content:'';position:absolute;border:1px solid #ffd4ba;border-radius:50%;width:170px;height:170px}.check-illustration:after{width:230px;height:230px}.pin-graphic{z-index:1;width:55px;height:55px;border-radius:18px;background:var(--orange);color:#fff;display:grid;place-items:center;font-size:26px;box-shadow:0 10px 20px #f26a2140}.check-card h2{font:800 17px Manrope;margin:0 0 8px}.check-card>p{color:#858993;font-size:11px;line-height:1.7;margin:0 0 18px}.camera-box{width:100%;aspect-ratio:4/3;background:#f4f4f5;border:1px dashed #cfd0d4;border-radius:10px;display:grid;place-items:center;overflow:hidden;position:relative;margin-bottom:12px}.camera-box video,.camera-box img{width:100%;height:100%;object-fit:cover}.camera-placeholder{text-align:center;color:#858993;font-size:11px;line-height:1.7;padding:15px}.camera-placeholder span{font-size:28px;display:block;margin-bottom:8px}.attendance-actions{display:flex;gap:9px;flex-wrap:wrap}.attendance-actions .btn{flex:1}.location-status{display:flex;align-items:flex-start;gap:10px;background:#f8f8f9;border:1px solid #ececef;padding:12px;border-radius:9px;margin:14px 0;font-size:11px;color:#747983;line-height:1.5}.location-status .loc-icon{font-size:17px;color:var(--orange)}.location-status strong{display:block;color:#34373c;margin-bottom:3px}.map-note{font-size:10px;color:#9699a0;line-height:1.5;margin-top:12px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-story{background:#1b1b1d;color:#fff;padding:52px 7%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:before{content:'';position:absolute;width:560px;height:560px;border:1px solid #ffffff14;border-radius:50%;right:-200px;top:18%;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.login-story .brand{padding:0;color:#fff;z-index:1}.login-story .brand-copy small{color:#a5a5a8}.story-copy{max-width:510px;z-index:1;position:relative}.story-tag{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff25;border-radius:20px;padding:8px 12px;color:#f8b28c;font-size:10px;font-weight:700;letter-spacing:.7px}.story-copy h1{font:800 clamp(32px,4vw,53px)/1.12 Manrope;letter-spacing:-2px;margin:25px 0 18px}.story-copy h1 span{color:#ff8b4b}.story-copy p{font-size:13px;line-height:1.9;color:#b7b7bb;max-width:410px}.story-features{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:36px}.story-feature{display:flex;gap:10px;align-items:center;color:#e5e5e7;font-size:11px}.story-feature i{font-style:normal;color:#ff8b4b;font-size:17px}.story-foot{z-index:1;color:#8b8b90;font-size:10px}.login-panel{display:flex;align-items:center;justify-content:center;padding:45px 7%}.login-form{width:100%;max-width:390px}.login-form .eyebrow{margin-bottom:13px}.login-form h2{font:800 27px Manrope;letter-spacing:-1px;margin:0 0 9px}.login-form>p{font-size:12px;color:#878b94;line-height:1.6;margin:0 0 28px}.login-form .field{margin-bottom:17px}.login-form .btn{width:100%;margin-top:8px;padding:13px}.login-security{display:flex;gap:7px;justify-content:center;align-items:center;margin-top:20px;color:#a1a3a9;font-size:10px}.login-security span{color:var(--green)}.setup-notice{max-width:550px;margin:45px auto;padding:25px}.muted{color:var(--muted)}.mt-20{margin-top:20px}.mb-0{margin-bottom:0}.inline-form{display:inline}.small-note{font-size:10px;color:#8d929a;line-height:1.6}.section-gap{margin-top:23px}.nowrap{white-space:nowrap}
@media(max-width:1150px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.page-content{padding:25px 22px}.topbar{padding:0 22px}}
@media(max-width:780px){.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:15px 0 40px #00000015}.main-area{margin-left:0}.mobile-menu{display:block}.topbar{height:62px;padding:0 16px;gap:12px}.breadcrumb{flex:1}.topbar-status,.topbar-date{display:none}.page-content{padding:22px 15px 35px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:24px}.stats-grid{gap:10px}.stat-card{padding:14px;min-height:115px}.stat-value{font-size:23px}.stat-top{font-size:10px}.stat-icon{width:29px;height:29px}.attendance-layout{grid-template-columns:1fr}.table-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%;flex-wrap:wrap}.search-input{flex:1;min-width:140px}.form-card{padding:18px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.login-wrap{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100vh;padding:30px 22px}.auth-main{margin:0}.login-form h2{font-size:25px}}
@media(min-width:781px){.auth-main{margin-left:0}.auth-main .page-content{padding:0}}

.avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.profile-hero{display:flex;align-items:center;gap:20px;padding:24px;background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:20px}.profile-photo{width:94px;height:94px;border-radius:24px;background:#fff0e7;color:#c95112;display:grid;place-items:center;font:800 30px Manrope;overflow:hidden;flex-shrink:0;border:1px solid #ffe0cd}.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-meta h2{font:800 21px Manrope;margin:0 0 6px}.profile-meta p{color:var(--muted);font-size:12px;margin:0 0 10px}.map-picker{height:330px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#f5f5f5}.profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.summary-item{background:#fafafa;border:1px solid #eee;border-radius:10px;padding:14px}.summary-item span{font-size:10px;color:var(--muted);display:block;margin-bottom:8px}.summary-item strong{font:700 16px Manrope}@media(max-width:780px){.profile-hero{align-items:flex-start;flex-direction:column}.profile-summary{grid-template-columns:1fr}}

/* Profile image containment and responsive account layouts */
.avatar{overflow:hidden;position:relative;line-height:1;flex:0 0 34px;min-width:34px;min-height:34px;padding:0}
.avatar-small{flex-basis:30px;min-width:30px;min-height:30px}
.avatar-img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center;border-radius:inherit!important;position:absolute;inset:0}
.profile-hero{min-width:0;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.profile-photo{width:94px!important;height:94px!important;min-width:94px;max-width:94px;max-height:94px;flex:0 0 94px;overflow:hidden;position:relative;isolation:isolate}
.profile-photo img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;object-position:center;position:absolute;inset:0;border-radius:inherit!important}
.profile-meta{min-width:0;overflow-wrap:anywhere;flex:1 1 180px}
.profile-meta p{overflow-wrap:anywhere}
.profile-hero>.profile-signout{margin-left:auto}
.profile-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-summary .summary-item{min-width:0}
#profileImageInput{max-width:100%;min-width:0}
.location-status>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:780px){.profile-hero{padding:18px;gap:14px}.profile-photo{width:76px!important;height:76px!important;min-width:76px;max-width:76px;max-height:76px;flex-basis:76px;border-radius:20px}.profile-meta{flex:1 1 calc(100% - 100px)}.profile-meta h2{font-size:18px;overflow-wrap:anywhere}.profile-hero>.profile-signout{margin-left:0;width:100%}.profile-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-summary .summary-item{padding:11px 9px}.profile-summary .summary-item strong{font-size:14px}.location-status{align-items:flex-start}.attendance-actions .btn{min-width:0;white-space:normal}}
@media(max-width:420px){.profile-summary{grid-template-columns:1fr}.profile-hero{align-items:flex-start}.profile-meta{flex-basis:calc(100% - 95px)}.profile-photo{width:68px!important;height:68px!important;min-width:68px;max-width:68px;max-height:68px;flex-basis:68px}.page-heading p{overflow-wrap:anywhere}.check-card{padding:16px}}

/* v4: hiring, offer-letter, resignation, device approval and salary slip UI */
.action-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;max-width:390px}.inline-details{display:inline-block;position:relative}.inline-details>summary{list-style:none;cursor:pointer}.inline-details>summary::-webkit-details-marker{display:none}.mini-action-form{position:absolute;right:0;top:calc(100% + 7px);z-index:15;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px;width:min(310px,calc(100vw - 42px));box-shadow:0 14px 40px #17191d1a;display:grid;gap:10px;white-space:normal}.mini-action-form label{display:grid;gap:5px;font-size:11px;font-weight:700}.mini-action-form input,.mini-action-form select,.mini-action-form textarea{width:100%;min-width:0;padding:9px;border:1px solid var(--line);border-radius:7px;background:#fff}.mini-action-form textarea{min-height:65px}.inline{display:inline}.offer-layout{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);align-items:start}.offer-paper{max-width:900px;margin:0 auto;background:#fff;border:1px solid #e8e8e8;box-shadow:0 15px 45px #17191d0b;padding:44px 54px;position:relative;overflow:hidden;color:#25272c;font-size:13px;line-height:1.75}.offer-topline{height:7px;background:var(--letter-accent);position:absolute;left:0;right:0;top:0}.offer-brand{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;border-bottom:1px solid #eee;padding:12px 0 22px}.offer-brand>div:first-child{display:flex;gap:12px;align-items:center;min-width:0}.offer-logo-mark{width:42px;height:42px;border-radius:12px;background:var(--letter-accent);color:#fff;display:grid;place-items:center;font:800 26px Manrope;flex-shrink:0}.offer-brand h2{font:800 17px Manrope;margin:0 0 3px}.offer-brand p,.offer-contact{font-size:10px;color:#737780;margin:0;line-height:1.5}.offer-contact{text-align:right;overflow-wrap:anywhere}.offer-ref{display:flex;justify-content:space-between;gap:10px;margin:24px 0 10px;font-size:11px;color:#6d717a}.offer-title{text-align:center;font:800 21px Manrope;letter-spacing:1px;margin:20px 0 28px;color:var(--letter-accent)}.offer-paper h3{font:800 13px Manrope;margin:22px 0 8px}.offer-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #eee;border-radius:10px;overflow:hidden;margin:20px 0}.offer-details>div{padding:12px 14px;border-bottom:1px solid #eee;min-width:0}.offer-details>div:nth-child(odd){border-right:1px solid #eee}.offer-details>div:nth-last-child(-n+2){border-bottom:0}.offer-details span{display:block;font-size:10px;color:#858992;margin-bottom:4px}.offer-details strong{font-size:12px;overflow-wrap:anywhere}.offer-terms{white-space:normal}.offer-signatures{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:40px}.signature-space{height:44px;border-bottom:1px solid #d6d7d9;margin-bottom:8px;max-width:230px}.offer-footer{border-top:1px solid #eee;margin-top:36px;padding-top:12px;text-align:center;font-size:9px;color:#92959d}.offer-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px auto 0;flex-wrap:wrap}.offer-actions form{display:flex;gap:8px}.compact-select{padding:9px;border:1px solid var(--line);border-radius:8px;background:#fff}.month-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.month-filter label{font-size:11px;color:var(--muted);font-weight:700}.month-filter input{padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff}.payslip-actions{max-width:1000px;margin:0 auto 15px;background:#fff8f3;border:1px solid #ffe2d0;border-radius:12px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.payslip-actions strong{font:700 13px Manrope}.payslip-actions p{font-size:11px;color:#777d87;margin:5px 0 0;line-height:1.5}.payslip-paper{max-width:1000px;margin:0 auto;background:#fff;border:1px solid #e8e8e8;box-shadow:0 15px 45px #17191d0b;padding:35px 42px;color:#24262b}.payslip-accent{height:6px;background:linear-gradient(90deg,#f26a21,#f4b400);margin:-35px -42px 27px}.payslip-head{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #eee;padding-bottom:20px}.payslip-brand{display:flex;align-items:center;gap:12px}.payslip-logo{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#f26a21;color:#fff;font:800 28px Manrope}.payslip-brand h2{font:800 21px Manrope;margin:0;letter-spacing:-.8px}.payslip-brand p{font-size:9px;letter-spacing:1.2px;color:#9699a0;margin:4px 0 0}.payslip-heading{text-align:right}.payslip-heading h1{font:800 18px Manrope;margin:0;letter-spacing:1px}.payslip-heading p{color:#d45817;font-size:12px;font-weight:700;margin:5px 0 0}.payslip-employee{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;padding:22px 0;border-bottom:1px solid #eee}.payslip-employee>div{min-width:0}.payslip-employee span,.payslip-attendance span{display:block;font-size:10px;color:#888d96;margin-bottom:6px}.payslip-employee strong{font-size:12px;overflow-wrap:anywhere}.payslip-table-wrap{overflow-x:auto;margin-top:20px}.payslip-table{min-width:560px}.payslip-table th{background:#fff4ec;color:#8b4a25;font-size:10px;padding:13px}.payslip-table td{padding:14px 13px;font-size:12px;border-bottom:1px solid #f0f0f1}.payslip-table .money{text-align:right;font-variant-numeric:tabular-nums}.payslip-total td{font-weight:800;background:#fafafa}.payslip-net{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#1d2026;color:#fff;border-radius:10px;padding:19px 21px;margin:20px 0 25px}.payslip-net span{display:block;font-size:10px;color:#d5d6d9}.payslip-net strong{display:block;font:800 25px Manrope;margin:5px 0}.payslip-net small{display:block;color:#c7c8cb;font-size:10px}.payslip-paid{border:1px solid #f26a21;border-radius:6px;padding:7px 9px;color:#ffb082!important;white-space:nowrap}.payslip-paper h3{font:800 13px Manrope;margin:20px 0 12px}.payslip-attendance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.payslip-attendance>div{background:#fafafa;border:1px solid #eee;border-radius:9px;padding:13px}.payslip-attendance strong{font:800 20px Manrope}.payslip-disclaimer{margin:24px 0 0;padding:12px;background:#fff8f3;border-radius:7px;color:#777d87;font-size:9px;line-height:1.7}.payslip-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #eee;padding-top:15px;margin-top:22px;font-size:9px;color:#999da4}.timeline-notes{max-width:280px;white-space:normal;font-size:11px;color:#666;line-height:1.5}.timeline-notes p{margin:7px 0}
@media(max-width:1100px){.offer-layout{grid-template-columns:1fr}.offer-paper{padding:36px 34px}.payslip-paper{padding:28px 25px}.payslip-accent{margin:-28px -25px 24px}}
@media(max-width:780px){.offer-paper{padding:30px 20px}.offer-brand{flex-direction:column}.offer-contact{text-align:left}.offer-ref{flex-direction:column;gap:3px}.offer-details{grid-template-columns:1fr}.offer-details>div:nth-child(odd){border-right:0}.offer-details>div:nth-last-child(2){border-bottom:1px solid #eee}.offer-signatures{grid-template-columns:1fr;gap:20px}.payslip-actions{align-items:flex-start;flex-direction:column}.payslip-actions .btn{width:100%}.payslip-paper{padding:23px 16px}.payslip-accent{margin:-23px -16px 20px}.payslip-head{align-items:flex-start;flex-direction:column}.payslip-heading{text-align:left}.payslip-employee{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.payslip-attendance{grid-template-columns:repeat(2,minmax(0,1fr))}.payslip-footer{flex-direction:column}.month-filter{width:100%}.month-filter input{flex:1;min-width:0}.action-row{min-width:210px}}
@media print{body,html{background:#fff!important}.sidebar,.topbar,.page-heading,.no-print,.alert,.payslip-actions{display:none!important}.main-area{margin:0!important}.page-content{padding:0!important;max-width:none!important}.app-shell{min-height:0}.offer-paper,.payslip-paper{max-width:none;margin:0;border:0;box-shadow:none;padding:12mm 14mm;font-size:11pt}.offer-topline{position:absolute}.offer-actions{display:none!important}.payslip-accent{margin:-12mm -14mm 9mm}.offer-paper,.payslip-paper{break-inside:avoid}.offer-details,.payslip-table,.payslip-net,.payslip-attendance{break-inside:avoid}@page{size:A4;margin:8mm}}
/* Central company branding */
.brand-logo-img{display:block;width:auto;height:auto;max-width:42px;max-height:42px;object-fit:contain;flex:0 0 auto;border-radius:8px}.brand-preview{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid #f0e4dc;border-radius:12px;margin-bottom:22px;background:linear-gradient(135deg,#fffaf7,#fff);position:relative;min-width:0}.brand-preview-logo{width:54px;height:54px;border-radius:12px;border:1px solid #eee;display:grid;place-items:center;overflow:hidden;background:#fff;flex:0 0 auto}.brand-preview-logo img{width:100%;height:100%;object-fit:contain}.brand-preview-logo span{width:100%;height:100%;display:grid;place-items:center;background:var(--brand-accent);color:#fff;font:800 28px Manrope}.brand-preview>div:nth-child(2){display:flex;flex-direction:column;gap:5px;min-width:0}.brand-preview strong{font:800 18px Manrope;overflow-wrap:anywhere}.brand-preview small{font-size:10px;color:#888;letter-spacing:1px;overflow-wrap:anywhere}.preview-label{margin-left:auto;font-size:9px;font-weight:800;color:var(--brand-accent);letter-spacing:1px;white-space:nowrap}.branding-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:start}.branding-layout .form-card{max-width:none}.payslip-company-logo{width:auto;height:auto;max-width:68px;max-height:58px;object-fit:contain;flex:0 0 auto}.payslip-brand small{display:block;font-size:9px;line-height:1.45;color:#858992;margin-top:4px;overflow-wrap:anywhere}
@media(max-width:900px){.branding-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.brand-preview{align-items:flex-start}.preview-label{position:absolute;right:12px;top:10px;font-size:8px}.brand-preview strong{padding-right:60px}.branding-layout .form-card{padding:16px}.brand-logo-img{max-width:36px;max-height:36px}.payslip-company-logo{max-width:48px;max-height:48px}}

/* Central branding theme + polished authentication page */
.brand-mark,.pin-graphic{background:var(--orange);box-shadow:0 6px 15px color-mix(in srgb,var(--orange) 22%,transparent)}
.btn-primary{background:var(--orange);box-shadow:0 8px 18px color-mix(in srgb,var(--orange) 20%,transparent)}
.btn-primary:hover{background:var(--orange-dark)}
.nav a.active{background:color-mix(in srgb,var(--orange) 10%,white);color:var(--orange-dark)}
.login-wrap{min-height:100vh;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);background:#fff}
.login-story{padding:clamp(30px,5vw,64px);background:radial-gradient(circle at 88% 78%,color-mix(in srgb,var(--orange) 30%,#1b1b1d) 0,transparent 38%),linear-gradient(145deg,#17191d,#22252b 72%,#17191d)}
.login-story:before{border-color:#ffffff13;box-shadow:0 0 0 55px #ffffff07,0 0 0 110px #ffffff04}
.login-story .brand{padding:0;gap:13px}
.login-logo-img{width:auto;height:auto;max-width:54px;max-height:54px;object-fit:contain;border-radius:12px;background:#fff;padding:4px;flex:0 0 auto}
.login-story .brand-copy strong{font-size:22px;letter-spacing:-.7px}
.login-story .brand-copy small{font-size:9px;letter-spacing:1.7px;color:#bfc0c5}
.story-tag{border-color:color-mix(in srgb,var(--orange) 50%,transparent);background:color-mix(in srgb,var(--orange) 10%,transparent);color:color-mix(in srgb,var(--orange) 45%,white)}
.story-copy h1 span{color:var(--orange)}
.story-feature i{color:var(--orange)}
.login-panel{padding:clamp(28px,5vw,68px);background:linear-gradient(145deg,#fff 40%,#fafafa)}
.login-form{max-width:410px}
.login-panel-brand{display:flex;align-items:center;gap:11px;margin-bottom:34px}
.login-panel-brand img{max-width:46px;max-height:46px;width:auto;height:auto;object-fit:contain;border-radius:10px}
.login-panel-brand .brand-mark{width:44px;height:44px}
.login-panel-brand>div{display:flex;flex-direction:column;gap:4px}
.login-panel-brand strong{font:800 16px Manrope;letter-spacing:-.4px}
.login-panel-brand small{font-size:9px;color:#8a8d95;letter-spacing:1.2px;font-weight:700}
.login-form .eyebrow{color:var(--orange-dark);letter-spacing:1.8px}
.login-form h2{font-size:clamp(27px,3vw,34px);line-height:1.15;letter-spacing:-1.3px}
.login-title-dot{color:var(--orange)}
.login-form>p{margin-bottom:27px;max-width:350px}
.login-form .field input{min-height:46px;border-color:#e0e2e6;background:#fff}
.login-form .field input:focus{border-color:var(--orange)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 13%,transparent)!important}
.login-form .btn{min-height:48px;border-radius:10px;font-size:13px;justify-content:space-between;padding:0 17px}
.login-security{flex-wrap:wrap;gap:8px;font-size:9px}
.login-security i{height:3px;width:3px;border-radius:50%;background:#c2c5cb}
@media(max-width:780px){.login-wrap{grid-template-columns:1fr}.login-story{display:flex;min-height:220px;padding:25px 24px;background:linear-gradient(145deg,#17191d,#272a30)}.login-story:before{width:280px;height:280px;right:-140px;top:-100px}.story-copy{display:none}.story-foot{margin-top:32px}.login-panel{min-height:calc(100vh - 220px);padding:30px 22px}.login-panel-brand{margin-bottom:27px}.login-form{max-width:440px}.login-form h2{font-size:28px}}
@media(max-width:420px){.login-story{min-height:160px;padding:22px}.story-foot{margin-top:20px}.login-panel{min-height:calc(100vh - 160px);padding:26px 18px}.login-form h2{font-size:26px}.login-security{line-height:1.7}}
