@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");:root{--bg:#f6f7fb;--surface:#fff;--ink:#211b2c;--muted:#827d8c;--line:#eceaf1;--purple:#512d75;--purple2:#6c3f91;--mint:#dff7ef;--green:#167a54;--orange:#a75c17;--shadow:0 10px 32px rgba(35,22,55,.045)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:DM Sans,sans-serif;font-size:14px}button,input,select{font:inherit}a,button{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:#fff;border-right:1px solid var(--line);padding:27px 18px;display:flex;flex-direction:column;z-index:5}.brand{height:65px;display:flex;align-items:center;padding:0 8px 20px;border-bottom:1px solid var(--line)}.brand img{width:180px;height:auto;object-fit:contain}.eyebrow,.side-label,.topbar-kicker{font-size:10px;letter-spacing:1.35px;font-weight:800;color:#a29cab}.side-label{margin:30px 12px 12px}.sidebar nav{display:grid;grid-gap:6px;gap:6px}.nav-link{height:46px;border-radius:10px;padding:0 13px;display:flex;align-items:center;gap:12px;color:#706a7b;font-weight:600;transition:.18s}.nav-link:hover{background:#f8f5fa;color:var(--purple)}.nav-link.active{background:#f1eaf6;color:var(--purple);font-weight:700}.sidebar-bottom{margin-top:auto}.company-mini{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:18px 3px 0}.mini-mark{width:34px;height:34px;border-radius:10px;background:#25113e;color:#fff;display:grid;place-items:center;font-family:Manrope;font-weight:800}.company-mini b,.company-mini small{display:block}.company-mini b{font-size:12px}.company-mini small{font-size:10px;color:var(--muted);margin-top:3px}.main-area{margin-left:246px;min-height:100vh}.topbar{height:76px;background:rgba(255,255,255,.88);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:-webkit-sticky;position:sticky;top:0;z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar>div:first-child{display:grid;grid-gap:3px;gap:3px}.topbar>div:first-child b{font-size:13px}.topbar-kicker{font-size:9px;color:#a59dab}.topbar-right{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.online-dot{width:7px;height:7px;background:#2dbb86;border-radius:50%}.online-dot.offline{background:#d14343}.db-banner{margin:14px 38px 0;padding:12px 14px;border-radius:10px;background:#fff1f0;border:1px solid #f3c6c2;color:#8a2f2a;font-size:12px;line-height:1.5}.db-banner code{font-size:11px;background:#ffe4e1;padding:1px 5px;border-radius:4px}.logout-btn{width:100%;margin-top:12px;border:1px solid var(--line);background:#faf8fc;color:#6b6278;border-radius:9px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:700;cursor:pointer}.logout-btn:hover{background:#f3edf8;color:var(--purple)}.checkbox-row{display:flex!important;align-items:center;gap:10px;grid-template-columns:none!important}.checkbox-row input{width:16px;height:16px}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left,#f3e9fb,transparent 40%),linear-gradient(160deg,#f7f5fb,#efe8f6 55%,#f8f7fb)}.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px 26px 24px;box-shadow:0 20px 50px rgba(45,24,70,.08)}.login-card img{width:180px;height:auto;margin-bottom:18px}.login-card h1{font:800 26px Manrope;margin:0 0 6px;letter-spacing:-.6px}.login-card>p{margin:0 0 22px;color:var(--muted);font-size:13px}.login-form{display:grid;grid-gap:14px;gap:14px}.login-form label{display:grid;grid-gap:7px;gap:7px;font-size:11px;font-weight:700;color:#6d6576}.input-with-icon{display:flex;align-items:center;gap:8px;border:1px solid #e8e4ed;border-radius:9px;padding:0 12px;height:44px;background:#fff}.input-with-icon svg{color:#9a92a6;flex:none}.input-with-icon input{border:0;outline:0;width:100%;background:transparent;font-size:13px;color:#3f3749}.login-form .button{width:100%;min-height:44px;margin-top:4px}.login-error{background:#fff1f0;border:1px solid #f3c6c2;color:#8a2f2a;border-radius:8px;padding:10px 12px;font-size:12px}.login-hint{margin-top:18px;background:#f8f5fa;border-radius:10px;padding:12px 14px}.login-hint b{font-size:11px;color:var(--purple)}.login-hint p{margin:6px 0 0;font-size:11px;color:#7a7384}.profile-grid{display:grid;grid-gap:22px;gap:22px}.profile-hero{display:flex;align-items:center;gap:16px}.profile-hero h2{margin:0;font:800 22px Manrope}.profile-hero p{margin:4px 0 10px;color:var(--muted)}.avatar.large{width:64px;height:64px;border-radius:16px;font-size:18px}.profile-info{margin:0}.onboard-result{display:flex;gap:12px;align-items:flex-start;border-radius:12px;padding:14px;margin-top:4px}.onboard-result.ok{background:#eaf8f1;border:1px solid #c9ebd8;color:#176b46}.onboard-result.warn{background:#fff8ef;border:1px solid #f0dfc4;color:#8a5a16}.onboard-result b{display:block;font-size:13px;margin-bottom:4px}.onboard-result p{margin:0;font-size:12px;line-height:1.55}.onboard-result code{font-size:12px;background:#fff;border:1px solid #ead7b5;padding:2px 6px;border-radius:5px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.info-banner{background:#f6f1fa;border:1px solid #e7dcf0;border-radius:12px;padding:12px 14px;margin-bottom:16px;font-size:12px;line-height:1.55;color:#5d536a}.info-banner b{color:#3f2d55}.ok-banner{margin:0 0 14px;padding:12px 14px;border-radius:10px;background:#eaf8f1;border:1px solid #c9ebd8;color:#176b46;font-size:12px;line-height:1.5}.full-hint{grid-column:1/-1;margin:0}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.page-content{max-width:1480px;padding:36px 38px 60px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.eyebrow{color:#a18ba9;margin-bottom:9px}.page-heading h1{font-family:Manrope,sans-serif;font-size:29px;letter-spacing:-1.1px;margin:0;font-weight:800}.page-heading p{margin:7px 0 0;color:var(--muted);font-size:13px}.button{border:0;border-radius:9px;min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;font-size:12px;cursor:pointer;transition:.2s}.button.primary{background:var(--purple);color:#fff;box-shadow:0 5px 12px #512d751c}.button.primary:hover{background:#3e205d;transform:translateY(-1px)}.button.secondary{background:#f3f1f6;color:#51485b}.button.secondary:hover{background:#eae5ef}.welcome-banner{background:linear-gradient(110deg,#28143e,#5a3479);border-radius:15px;padding:24px 28px;color:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;margin-bottom:20px}.banner-tag{font-size:9px;letter-spacing:1.5px;color:#d7c4e5;font-weight:800}.welcome-banner h2{font:800 24px Manrope;margin:7px 0 4px}.welcome-banner p{color:#d9cde2;font-size:12px;margin:0}.banner-art{width:90px;height:90px;border-radius:26px;background:#ffffff12;display:grid;place-items:center;color:#e5d4f1;transform:rotate(-10deg);margin-right:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:15px;gap:15px;margin-bottom:20px}.panel,.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.stat-card{padding:18px 19px;min-height:147px}.quick-icon,.stat-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#e7f8f2;color:#168a69;margin-bottom:14px}.quick-icon.purple,.stat-icon.purple{background:#f0eafa;color:#684092}.quick-icon.green,.stat-icon.green{background:#e5f6ed;color:#168253}.quick-icon.orange,.stat-icon.orange{background:#fff2e5;color:#b56b24}.stat-label{font-size:11px;color:var(--muted);font-weight:600}.stat-value{font:800 22px Manrope;letter-spacing:-.5px;margin-top:4px}.stat-note{font-size:10px;color:#a09aa8;margin-top:4px}.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);grid-gap:18px;gap:18px}.panel{padding:20px;min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-heading h3{font:800 14px Manrope;margin:0}.panel-heading p{font-size:11px;color:var(--muted);margin:5px 0 0}.text-link{font-size:11px;color:var(--purple);font-weight:700;display:flex;align-items:center;gap:4px}.table-wrap{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.data-table th{font-size:9px;letter-spacing:.7px;color:#a19ba8;font-weight:800;padding:12px;border-bottom:1px solid var(--line)}.data-table td{font-size:11px;color:#625c6c;padding:13px 12px;border-bottom:1px solid #f1eff4}.data-table tbody tr:last-child td{border-bottom:0}.data-table td:first-child,.data-table th:first-child{padding-left:4px}.person-cell{display:flex;align-items:center;gap:9px}.person-cell b,.person-cell small{display:block}.person-cell b{font-size:11px;color:#332b3c}.person-cell small{font-size:9px;color:#a09aa8;margin-top:3px}.avatar{width:32px;height:32px;flex:none;border-radius:10px;background:#f0eaf6;color:#644080;font-size:10px;font-weight:800;display:grid;place-items:center}.amount-cell{font-weight:800;color:#352b41!important}.status-pill{font-size:9px;font-weight:800;border-radius:30px;padding:5px 9px;display:inline-flex;align-items:center}.status-pill.active,.status-pill.paid{background:#e5f6ed;color:#168253}.status-pill.inactive,.status-pill.unpaid{background:#fff1e4;color:#ad641e}.quick-panel{padding-bottom:16px}.quick-action{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0eef3;color:#655e6e}.quick-action>span:nth-child(2){flex:1 1}.quick-action b,.quick-action small{display:block}.quick-action b{font-size:11px;color:#332b3c}.quick-action small{font-size:9px;color:#9992a1;margin-top:4px}.quick-icon{margin:0;width:34px;height:34px;flex:none}.tip-box{margin-top:15px;background:#f8f5fa;border-radius:9px;padding:12px}.tip-box b{font-size:10px;color:var(--purple)}.tip-box p{font-size:10px;color:#817889;line-height:1.6;margin:5px 0 0}.empty-state{min-height:190px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#aaa2b0;gap:8px}.empty-state b{font-size:13px;color:#51485a}.empty-state p{font-size:11px;margin:0 0 7px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:17px}.month-picker,.search-box{height:41px;background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#a39cab}.search-box{width:min(360px,100%)}.month-picker input,.search-box input{border:0;outline:0;background:transparent;color:#4b4355;width:100%;font-size:11px}.search-box input::placeholder{color:#aaa4b0}.month-picker{width:190px}.month-picker input{color:#5b5364}.muted-count{margin-left:auto;font-size:10px;color:#9b95a2}.action-buttons{display:flex;gap:5px}.action-buttons a,.action-buttons button,.icon-button{width:29px;height:29px;border:1px solid var(--line);background:#fff;color:#756b80;border-radius:7px;display:grid;place-items:center;cursor:pointer}.action-buttons a:hover,.action-buttons button:hover{background:#f3edf8;color:var(--purple)}.modal-backdrop{position:fixed;inset:0;background:#20152d80;z-index:20;display:grid;place-items:center;padding:20px}.modal{width:min(570px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:24px;box-shadow:0 25px 80px #170e2540}.compact-modal{width:min(500px,100%)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-heading h2{font:800 19px Manrope;margin:0}.modal-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.icon-button{border:0;background:#f4f1f6}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.form-grid label{font-size:10px;color:#6d6576;font-weight:700;display:grid;grid-gap:7px;gap:7px}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select{height:40px;width:100%;border:1px solid #e8e4ed;border-radius:8px;padding:0 10px;outline:0;color:#3f3749;background:#fff;font-size:11px}.form-grid input:focus,.form-grid select:focus{border-color:#9473ad;box-shadow:0 0 0 3px #704a9012}.form-grid input:disabled{background:#f6f4f8;color:#928b99}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.form-hint{font-size:10px;color:#948c9c}.payroll-summary{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:17px}.payroll-summary>div{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px 17px}.payroll-summary b,.payroll-summary small{display:block}.payroll-summary small{font-size:10px;color:#928b9a}.payroll-summary b{font:800 17px Manrope;margin-top:7px}.green-text{color:#168253}.orange-text{color:#b56b24}.net-preview{background:#f6f2f8;border-radius:9px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:11px;color:#70677a}.net-preview b{font:800 16px Manrope;color:var(--purple)}.slip-layout{display:grid;grid-template-columns:245px minmax(0,1fr);grid-gap:17px;gap:17px;align-items:start}.slip-picker{padding:15px;position:-webkit-sticky;position:sticky;top:95px}.slip-option{width:100%;border:1px solid transparent;background:#fff;border-radius:9px;padding:10px 8px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.slip-option.selected,.slip-option:hover{background:#f6f1f9;border-color:#e8dced}.slip-option span:nth-child(2){flex:1 1}.slip-option b,.slip-option small{display:block}.slip-option b{font-size:10px}.slip-option small{font-size:9px;color:#938b9c;margin-top:4px}.empty-small{font-size:10px;color:#968e9d;padding:20px 5px}.slip-preview-area{min-width:0}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:#81798b;font-size:11px}.small-button{min-height:32px;padding:0 11px;font-size:10px}.salary-slip{background:#fff;border:1px solid #e8e4eb;box-shadow:0 12px 35px rgba(35,22,55,.06);padding:34px 38px;color:#30283a;max-width:780px;margin:0 auto;font-family:DM Sans,sans-serif}.slip-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.slip-logo{width:190px;height:auto;object-fit:contain}.slip-title{text-align:right}.slip-title h2{font:800 20px Manrope;color:#241044;margin:0}.slip-title p{font-size:9px;letter-spacing:1px;color:#716879;margin:5px 0 7px}.slip-rule{height:3px;background:#b52d72;margin:20px 0 24px}.slip-section{font-size:9px;letter-spacing:.8px;color:#b52d72;margin:0 0 10px;font-weight:800}.slip-info{display:grid;grid-template-columns:1fr 1fr;grid-gap:0;gap:0;background:#faf7fb;border:1px solid #e8e0eb;border-radius:7px;margin-bottom:22px}.slip-info>div{padding:10px 12px;border-bottom:1px solid #e8e0eb}.slip-info>div:nth-last-child(-n+2){border-bottom:0}.slip-info b,.slip-info small{display:block}.slip-info small{font-size:8px;color:#817889;margin-bottom:5px}.slip-info b{font-size:9px;color:#30283a}.slip-table{width:100%;border-collapse:collapse;margin-bottom:13px}.slip-table th{background:#241044;color:#fff;padding:10px 12px;text-align:left;font-size:9px;text-transform:uppercase}.slip-table td:last-child,.slip-table th:last-child{text-align:right}.slip-table td{padding:11px 12px;border-bottom:1px solid #e9e4ec;font-size:9px;color:#51485a}.slip-total{display:flex;justify-content:space-between;align-items:center;background:#f4eaf2;border:1px solid #e5c6d9;border-radius:6px;padding:14px 13px;color:#241044}.slip-total b{font-size:10px}.slip-total strong{font:800 15px Manrope}.amount-words{font-size:9px;margin:14px 0 0;color:#51485a}.slip-signatures{display:grid;grid-template-columns:1fr 1fr;align-items:end;grid-gap:20px;gap:20px;margin-top:27px;min-height:130px}.stamp-wrap{display:flex;align-items:center;flex-direction:column;justify-content:flex-end}.stamp-wrap img{width:112px;height:112px;object-fit:contain}.employee-sign small,.stamp-wrap small{font-size:8px;color:#716879}.employee-sign{display:flex;align-items:center;flex-direction:column;gap:5px;padding-bottom:13px}.employee-sign span{width:170px;border-top:1px solid #8d8594;margin-bottom:5px}.employee-sign b{font-size:9px;color:#4c4354}.slip-contact{border-top:1px solid #e8e0eb;margin-top:22px;padding-top:10px;text-align:center;font-size:8px;color:#817889}.slip-contact:empty{display:none}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.page-content{padding:28px 24px 50px}.topbar{padding:0 24px}}@media(max-width:700px){.sidebar{width:68px;padding:18px 9px}.brand{padding:0 0 17px;justify-content:center}.brand img{width:48px;height:48px;object-fit:cover;object-position:left;max-width:none}.side-label{font-size:0;margin:22px 0 10px}.nav-link{justify-content:center;padding:0}.company-mini div,.nav-link span{display:none}.company-mini{justify-content:center}.main-area{margin-left:68px}.topbar{height:64px;padding:0 15px}.topbar-right{font-size:0}.page-content{padding:24px 14px 40px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.stats-grid{gap:9px}.stat-card{padding:14px;min-height:130px}.stat-value{font-size:18px}.welcome-banner{padding:20px}.banner-art{width:60px;height:60px}.payroll-summary{grid-template-columns:1fr 1fr}.toolbar{flex-wrap:wrap}.search-box{width:100%;order:3}.month-picker{width:180px}.slip-layout{grid-template-columns:1fr}.slip-picker{position:static}.salary-slip{padding:22px 17px}.slip-logo{width:135px}.slip-title h2{font-size:16px}.slip-info{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.modal{padding:19px}.data-table td,.data-table th{padding-left:9px;padding-right:9px}}@media print{@page{size:A4;margin:12mm}body{background:#fff!important}.page-heading,.preview-toolbar,.sidebar,.slip-layout>.panel,.slip-picker,.toolbar,.topbar{display:none!important}.main-area{margin:0!important}.page-content{padding:0!important;max-width:none!important}.slip-layout{display:block!important}.salary-slip,.slip-preview-area{width:100%!important}.salary-slip{max-width:none!important;border:0!important;box-shadow:none!important;padding:8mm!important;margin:0!important}.slip-logo{width:180px!important}.slip-info,.slip-signatures,.slip-table,.slip-total{page-break-inside:avoid;break-inside:avoid}}