.login-page{width:100%;height:100vh;background:var(--sidebar-border);display:flex;align-items:center;justify-content:center;padding:30px;box-sizing:border-box}.login-panel{width:100%;max-width:360px;background:var(--white);border:1px solid var(--panel-border-color);padding:32px;border-radius:8px;box-sizing:border-box;box-shadow:var(--shadow)}.login-logo{width:150px;height:auto;display:block;margin:0 auto 20px;opacity:.9}.login-title{text-align:center;font-size:1.4rem;font-weight:700;margin-bottom:6px;color:var(--grey-900)}.login-subtitle{text-align:center;margin-bottom:24px;color:var(--grey-700);font-size:.95rem}.form-field{margin-bottom:20px;display:flex;flex-direction:column}.form-field .ui-label{margin-bottom:6px}.login-error{color:var(--danger);margin-bottom:16px;font-size:.9rem}.login-form{display:flex;flex-direction:column;gap:10px}@media(max-width:480px){.login-panel{padding:24px}}.link-btn{background:none;border:none;padding:0;margin-top:12px;font:inherit;font-size:14px;color:#5b6cff;cursor:pointer;text-decoration:underline;align-self:center}.link-btn:hover{color:#3f4de0;text-decoration:none}.link-btn:focus-visible{outline:2px solid #5b6cff;outline-offset:2px;border-radius:4px}.link-btn:disabled{color:#9aa0ff;cursor:default;text-decoration:none}.auth-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:900}.auth-modal{background:#fff;border-radius:8px;padding:24px;width:420px;max-width:90%;box-shadow:0 4px 16px #0003;animation:auth-fade .2s ease-out;text-align:center}@keyframes auth-fade{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.auth-modal h2{margin:0 0 12px;font-size:22px;font-weight:600}.auth-modal p{margin-bottom:16px;font-size:14px;color:#555}.auth-form{display:grid;gap:12px;margin-top:16px}.auth-form label{text-align:left;font-size:13px}.auth-form input{width:100%;padding:10px 12px;font-size:14px;border:1px solid #d0d3da;border-radius:6px}.auth-form input:focus{outline:none;border-color:#5b6cff;box-shadow:0 0 0 2px #5b6cff26}.auth-error{background:#fff4f4;border:1px solid #f1c0c0;color:#a12222;padding:10px 12px;border-radius:6px;font-size:13px;margin-bottom:12px}.auth-actions{display:flex;justify-content:center;gap:12px;margin-top:18px}.auth-divider{border:none;border-top:1px solid #e4e6eb;margin:18px 0 14px}.auth-terms{max-width:340px;margin:0 auto;font-size:13px;color:#444}.auth-terms-text{margin-bottom:10px;line-height:1.4}.auth-terms-checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.auth-terms-checkbox span{font-size:13px}.auth-terms-checkbox input{margin:0}.auth-link-btn{background:none;border:none;color:#5b6cff;cursor:pointer;padding:0;font-size:13px}.auth-link-btn:hover{text-decoration:underline}.no-wrap{white-space:nowrap}.auth-panel{max-width:420px;margin:80px auto;text-align:center}.auth-terms-modal{max-width:720px}.auth-terms-scroll{max-height:60vh;overflow-y:auto;padding:12px 16px;margin:16px 0;border:1px solid #e4e6eb;border-radius:6px;background:#fafafa;text-align:left}.auth-terms-scroll h1,.auth-terms-scroll h2,.auth-terms-scroll h3{margin-top:16px}.auth-terms-scroll p{font-size:14px;line-height:1.5}.modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.modal{background:#fff;width:100%;max-width:520px;border-radius:6px;padding:20px;box-shadow:0 10px 30px #0003}.modal h2{font-size:18px;font-weight:600;margin-bottom:14px}.error-box{background:#fee2e2;color:#991b1b;border:1px solid #fecaca;padding:8px 10px;border-radius:4px;font-size:13px;margin-bottom:12px}.form-grid{display:grid;grid-template-columns:140px 1fr;row-gap:10px;column-gap:12px;align-items:center}.form-grid label{font-size:13px;color:#374151}.form-grid input{width:100%;padding:7px 9px;font-size:14px;border:1px solid #d1d5db;border-radius:4px}.form-grid input:disabled{background:#f9fafb;color:#6b7280}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.ui-btn{padding:7px 12px;font-size:14px;border-radius:4px;border:1px solid #d1d5db;background:#fff;cursor:pointer}.ui-btn-primary{background:#2563eb;border-color:#2563eb;color:#fff}.ui-btn:disabled{opacity:.6;cursor:not-allowed}.page-wrapper-admin{padding:24px;display:flex;justify-content:center}.admin-dashboard{width:100%;max-width:1400px}.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.admin-header h1{font-size:26px;font-weight:600}.admin-logout-btn{padding:8px 14px;border:none;background:#e53935;color:#fff;border-radius:4px;cursor:pointer}.admin-columns{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.admin-column{display:flex;flex-direction:column;gap:24px}.admin-section{background:#fff;border-radius:6px;padding:20px;box-shadow:0 2px 8px #0000000f;border:1px solid grey}.admin-section h2{font-size:18px;margin-bottom:16px;font-weight:600}.admin-actions{margin-top:16px;display:flex;gap:10px}.admin-btn{padding:6px 12px;border-radius:4px;border:1px solid #ccc;background:#f5f5f5;cursor:pointer}.company-table-wrapper{overflow-x:auto}.company-table{width:100%;border-collapse:collapse;font-size:14px}.company-table th{text-align:left;padding:10px;border-bottom:1px solid #e0e0e0;font-weight:600}.company-table td{padding:10px;border-bottom:1px solid #f0f0f0}.status{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.status.active{background:#e8f5e9;color:#2e7d32}.status.suspended{background:#fff3e0;color:#ef6c00}.status.deleted{background:#ffebee;color:#c62828}.placeholder-box{min-height:200px;background:#fafafa;border:1px dashed #ccc;border-radius:4px;padding:16px;font-size:14px;color:#666}.audit-table-wrapper{max-height:420px;overflow-y:auto;border:1px solid #eee;border-radius:4px}.audit-table{width:100%;border-collapse:collapse;font-size:13px}.audit-table th{position:sticky;top:0;background:#fafafa;padding:8px;text-align:left;border-bottom:1px solid #e0e0e0;font-weight:600}.audit-table td{padding:8px;border-bottom:1px solid #f0f0f0}.audit-badge{padding:3px 6px;border-radius:4px;font-size:11px;font-weight:600}.audit-badge.login{background:#e3f2fd;color:#1565c0}.audit-badge.logout{background:#fce4ec;color:#ad1457}.audit-pagination{margin-top:12px;display:flex;justify-content:space-between;align-items:center}.audit-pagination button{padding:4px 8px;border:1px solid #ccc;background:#f5f5f5;cursor:pointer}.audit-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.audit-table-wrapper-large{max-height:600px;overflow-y:auto;border:1px solid #eee;border-radius:4px}.audit-row{cursor:pointer}.audit-row:hover{background:#fafafa}.audit-expand td{background:#f9f9f9}.audit-json{padding:10px;background:#fff;border:1px solid #eee;border-radius:4px}.audit-json pre{background:#f4f4f4;padding:8px;overflow-x:auto;font-size:12px}.audit-badge.create{background:#e8f5e9;color:#2e7d32}.audit-badge.update{background:#fff8e1;color:#f9a825}.audit-badge.delete{background:#ffebee;color:#c62828}.admin-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:16px}.admin-error{grid-column:1 / -1;color:#c62828;font-size:13px}.users-two-column{display:grid;grid-template-columns:2fr 1fr;gap:20px}.compact-table{width:100%;border-collapse:collapse;font-size:12px}.compact-row{height:30px}.small-btn{padding:4px 8px;font-size:11px}.expand-row td{background:#f9f9f9;font-size:12px}.compact-form{display:flex;flex-direction:column;gap:6px;font-size:12px}.compact-form input,.compact-form select{padding:4px 6px;font-size:12px}.companies-two-column{display:grid;grid-template-columns:2fr 1fr;gap:20px}.selected-row{background:#f5f7fa}.company-detail-grid{display:grid;grid-template-columns:1fr;gap:12px;font-size:13px;margin-top:10px}.company-actions{margin-top:20px;display:flex;gap:10px}.security-stats{display:grid;gap:12px;font-size:13px}.danger-btn{background:#c62828;color:#fff;border:none}.security-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.security-stat{background:#f8f9fb;padding:12px;border-radius:4px;font-size:14px}.compact-table{width:100%;border-collapse:collapse;font-size:13px}.compact-table th,.compact-table td{padding:6px 8px;border-bottom:1px solid #eee}.compact-row:hover{background:#fafafa}.small-btn{padding:4px 8px;font-size:12px}.initials-avatar{display:inline-block;color:#fff;font-weight:700;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:middle;box-shadow:0 1px #0000000f}.user-profile-modal{width:360px;background-color:#fff;padding:20px;border-radius:8px}.profile-preview{display:flex;justify-content:center;margin-bottom:16px}.profile-preview-img{width:120px;height:120px;border-radius:8px;border-color:gray;object-fit:cover}.profile-preview-fallback{width:120px;height:120px;border-radius:50%;background:#2d3748;color:#fff;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:600}.form-error{margin-top:12px;color:#c53030;font-size:14px}.modal-backdrop{position:fixed;inset:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.payroll-manage-modal{background:#fff;width:980px;max-width:100%;max-height:85vh;display:flex;flex-direction:column;border-radius:12px;box-shadow:0 24px 70px #00000040;overflow:hidden;font-family:inherit}.payroll-manage-modal .payroll-table-scroll{max-height:240px;overflow-y:auto}.payroll-manage-modal .ui-table thead th{position:sticky;top:0;z-index:5;background:var(--brand-blue)}.payroll-manage-modal .modal-content{padding:20px 24px;overflow-y:auto;flex:1}.payroll-manage-modal .modal-message{font-size:.9rem;color:#6b7280}.payroll-manage-modal .modal-error{color:#b91c1c;font-weight:500}.payroll-manage-modal .payroll-filter{display:flex;justify-content:flex-end;margin-bottom:18px}.payroll-manage-modal .payroll-filter button{padding:6px 14px;font-size:.75rem;font-weight:600;border:none;background:#f3f4f6;color:#4b5563;border-radius:8px;cursor:pointer;transition:all .15s ease;margin-left:6px}.payroll-manage-modal .payroll-filter button:hover{background:#e5e7eb}.payroll-manage-modal .payroll-filter button.active{background:var(--brand-blue);color:var(--brand-blue-100);box-shadow:0 2px 6px #0000000f}.payroll-manage-modal .ui-table{width:100%;border-collapse:collapse;font-size:.9rem}.payroll-manage-modal .ui-table th{background-color:var(--brand-blue)}.payroll-manage-modal .ui-table th,.payroll-manage-modal .ui-table td{padding:10px 12px;border-bottom:1px solid #e5e7eb;text-align:left}.payroll-manage-modal .ui-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--brand-blue-100);font-weight:600}.payroll-manage-modal .editable-row{cursor:pointer;transition:background .15s ease}.payroll-manage-modal .editable-row:hover{background:var(--brand-blue-100)}.payroll-manage-modal .current-indicator{margin-left:6px;font-size:.7rem;color:#047857;font-weight:600}.payroll-manage-modal .modal-footer{padding:18px 24px;border-top:1px solid #e5e7eb;background:var(--brand-blue-100)}.payroll-manage-modal .payroll-builder{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-top:10px}.payroll-manage-modal .builder-input{display:flex;flex-direction:column;gap:20px}.payroll-manage-modal .panel-section{display:flex;flex-direction:column;gap:6px}.payroll-manage-modal .builder-review{display:flex;flex-direction:column;gap:20px}.payroll-manage-modal .review-card{border:1px solid #e5e7eb;border-radius:12px;padding:20px;background:#fafafa;display:flex;flex-direction:column;gap:16px;transition:all .15s ease}.payroll-manage-modal .review-title{font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6b7280}.payroll-manage-modal .review-item{display:flex;flex-direction:column;gap:4px}.payroll-manage-modal .review-label{font-size:.75rem;color:#6b7280}.payroll-manage-modal .review-value{font-size:.95rem;font-weight:500;color:#111827}.payroll-manage-modal .editable-description{padding:6px 8px;border-radius:6px;cursor:text;border:1px dashed transparent;transition:background .15s ease,border .15s ease}.payroll-manage-modal .editable-description:hover{border-color:#d1d5db;background:#fff}.payroll-manage-modal .editable-description:focus{outline:none;border-color:#3b82f6;background:#fff}.payroll-manage-modal .field-label{font-size:.75rem;font-weight:500;color:#4b5563}.payroll-manage-modal .field-input{padding:8px 10px;border-radius:8px;border:1px solid #d1d5db;font-size:.85rem;background:#fff;transition:border .15s ease,box-shadow .15s ease}.payroll-manage-modal .field-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f626}.payroll-manage-modal .create-payroll-actions{display:flex;justify-content:flex-end;gap:12px}.payroll-manage-modal .ui-btn-small{padding:5px 9px;font-size:.75rem}.payroll-manage-modal .ui-btn-ghost{background:transparent;border:1px solid #d1d5db}.payroll-manage-modal .ui-btn-ghost:hover{background:#f3f4f6}.payroll-manage-modal .status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.payroll-manage-modal .status-dot{width:8px;height:8px;border-radius:50%}.payroll-manage-modal .status-draft{background:#f3f4f6;color:#374151}.payroll-manage-modal .status-draft .status-dot{background:#9ca3af}.payroll-manage-modal .status-approved{background:#ecfdf5;color:#065f46}.payroll-manage-modal .status-approved .status-dot{background:#10b981}.payroll-manage-modal .status-posted{background:#eff6ff;color:#1e40af}.payroll-manage-modal .status-posted .status-dot{background:#3b82f6}@media(max-width:900px){.payroll-manage-modal .payroll-builder{grid-template-columns:1fr;gap:24px}.payroll-manage-modal{width:100%}}.ui-btn-danger{background:#b42318;color:#fff;border:1px solid #b42318}.ui-btn-danger:hover{background:#912018}.review-header{display:flex;justify-content:space-between;align-items:center}.review-delete-link{background:none;border:none;padding:0;font-size:.85rem;cursor:pointer;color:var(--danger)}.review-delete-link:hover{text-decoration:underline;opacity:.85}.pm-delete-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:3000}.pm-delete-modal{background:#fff;width:380px;max-width:90%;padding:28px;border-radius:10px;box-shadow:0 20px 40px #00000040}.pm-delete-title{font-size:18px;font-weight:600;margin-bottom:12px}.pm-delete-text{font-size:14px;margin-bottom:10px;line-height:1.5}.pm-delete-input{width:100%;padding:10px;margin:16px 0 20px;border:1px solid #ddd;border-radius:6px;font-size:14px}.pm-delete-actions{display:flex;justify-content:flex-end;gap:12px}.pm-delete-modal{border-left:4px solid var(--brand-blue)}.ccm-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.ccm-modal{width:640px;max-width:calc(100vw - 40px);background:#fff;border-radius:8px;padding:24px 28px;box-shadow:0 20px 50px #0000004d}.ccm-modal h2{margin:0 0 18px;font-size:20px}.ccm-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:10px 12px;border-radius:6px;font-size:13px;margin-bottom:14px}.ccm-form{display:flex;flex-direction:column;gap:14px}.ccm-field{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:14px}.ccm-field>label{font-size:13px;font-weight:500;color:#374151}.ccm-control input{width:100%;height:36px;padding:6px 10px;border-radius:6px;border:1px solid #d1d5db;font-size:14px}.ccm-control input:focus{border-color:#2563eb;box-shadow:0 0 0 1px #2563eb;outline:none}.ccm-modules{display:flex;flex-direction:column;gap:4px}.ccm-module{display:grid;grid-template-columns:16px 10px 1fr auto;align-items:center;column-gap:6px;font-size:14px;line-height:1.2}.ccm-module input{margin:0}.ccm-module span{grid-column:3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ccm-module em{grid-column:4;font-size:11px;font-style:normal;color:#6b7280;margin-left:2px}.ccm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.ccm-actions button{height:36px;padding:0 16px;border-radius:6px;border:1px solid #d1d5db;background:#fff;cursor:pointer}.ccm-actions button.primary{background:#15803d;border-color:#15803d;color:#fff}.ccm-actions button:disabled{opacity:.6;cursor:not-allowed}.topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;height:var(--topbar-height);padding:0 20px;background:var(--topbar-color);box-shadow:var(--shadow);position:relative;z-index:5}.topbar-left{display:flex;align-items:center;gap:12px}.topbar-logo{height:40px;width:auto;opacity:.95;border-radius:8px}.topbar-nav{display:flex;justify-content:center;align-items:center}.topbar-link{position:relative;display:flex;align-items:center;justify-content:center;min-width:120px;gap:8px;color:var(--brand-blue);text-decoration:none;font-size:.95rem;font-weight:500;opacity:.85;transition:opacity .15s ease,color .15s ease}.topbar-link:hover{opacity:1}.topbar-link .nav-icon{display:flex;font-size:1.6rem}.topbar-link .nav-label{display:none;white-space:nowrap}.topbar-link.active{opacity:1;font-weight:600;color:var(--brand-blue)}.topbar-link.active .nav-icon{display:none}.topbar-link.active .nav-label{display:inline}.topbar-link:after{content:"";position:absolute;left:20%;right:20%;bottom:-10px;height:2px;background:transparent;border-radius:2px}.topbar-link.active:after{background:currentColor}.topbar-link:before{content:attr(data-label);position:absolute;bottom:-38px;left:50%;transform:translate(-50%) translateY(6px);background:#1f2937;color:#fff;font-size:12px;padding:6px 8px;border-radius:4px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:1000}.topbar-link:not(.active):hover:before{opacity:1;transform:translate(-50%) translateY(0)}.topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:16px;font-size:.9rem}.topbar-company-box{padding:6px 12px;border:1px solid var(--brand-blue-100);border-radius:6px;font-size:13px;font-weight:700;color:var(--brand-blue-100);background:var(--brand-blue);white-space:nowrap;cursor:pointer}.topbar-modal-box{padding:6px 12px;border:1px solid var(--brand-blue);border-radius:6px;font-size:13px;font-weight:500;color:var(--brand-blue);background:var(--brand-blue-100);white-space:nowrap;cursor:pointer}.topbar-avatar{width:36px;height:36px;cursor:pointer}.topbar-avatar img{width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid #d1d5db}.hamburger-btn{background:none;border:none;font-size:22px;cursor:pointer}.hamburger-dropdown{position:absolute;right:0;top:44px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;min-width:180px;box-shadow:0 6px 20px #00000014;z-index:1000}.hamburger-dropdown button{width:100%;padding:10px 14px;background:none;border:none;text-align:left;display:flex;align-items:center;gap:8px;cursor:pointer}.hamburger-dropdown button:hover{background:#f3f4f6}.submenu-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px}.company-submenu{margin-left:12px;border-left:2px solid #e5e7eb}.company-submenu button{padding-left:26px;font-size:14px}.company-submenu button.active{font-weight:600}.submenu-empty{padding:8px 14px;font-size:13px;color:#6b7280}.rotated{transform:rotate(90deg)}.hamburger-link{display:flex;align-items:center;gap:8px;padding:10px 12px;width:100%;background:none;border:none;text-align:left;cursor:pointer;color:inherit;text-decoration:none}.hamburger-link:hover{background:#f3f4f6}.desktop-layout{display:grid;grid-template-rows:var(--topbar-height) 1fr;grid-template-columns:1fr;height:100vh;width:100%;overflow:hidden}.topbar-area{grid-row:1 / 2;grid-column:1 / 2;height:var(--topbar-height);background:var(--topbar-color);z-index:1000;position:relative}.content-area{grid-row:2 / 3;grid-column:1 / 2;background:var(--content-bg-color);box-shadow:var(--shadow-middle);display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;min-height:0}.page-wrapper{max-width:1200px;width:100%;margin:0 auto;padding-top:30px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.content-area,.page-wrapper{min-width:0}.mobile-shell{display:flex;flex-direction:column;min-height:100vh;background:#f4f4f4}.mobile-topbar{height:85px;background:#5a5a5a;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 14px;border-bottom:1px solid rgba(0,0,0,.2);position:fixed;top:0;left:0;right:0;z-index:3000}.mobile-company{font-size:16px;font-weight:600;margin-bottom:2px}.mobile-payroll{font-size:12px;opacity:.9}.mobile-content{flex:1;overflow-y:auto;padding:12px;margin-top:80px;margin-bottom:64px}.mobile-bottom-nav{height:64px;background:#5a5a5a;border-top:1px solid rgba(0,0,0,.3);display:flex;justify-content:space-around;align-items:center;position:fixed;bottom:0;left:0;right:0;z-index:3000}.mobile-nav-item{flex:1;color:#fff;text-decoration:none;font-size:12px;display:flex;flex-direction:column;align-items:center;padding:6px 0;opacity:.8;transition:opacity .2s ease,background .2s ease}.mobile-nav-item:hover{opacity:1}.mobile-nav-item.active{opacity:1;font-weight:600;background:#ffffff26;border-radius:6px 6px 0 0}.mobile-nav-item span{margin-top:2px}.page-wrapper-dashboard{max-width:1200px;width:100%;margin:0 auto;padding:30px 0 10px;display:flex;flex-direction:column;gap:16px}.dash-grid-3{display:grid;grid-template-columns:360px 1fr 360px;gap:20px;align-items:start}.dash-column{display:flex;flex-direction:column;gap:20px}.dash-card{background:#fff;border:1px solid #e4e6eb;border-radius:8px;padding:18px;display:flex;flex-direction:column;gap:2px;font-size:12px;overflow:hidden}.dash-card h3{margin:-18px -18px 14px;padding:12px 18px;background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);font-size:14px;font-weight:600;display:flex;align-items:center}.dash-section{margin-bottom:10px}.dash-divider{height:1px;background:#e5e7eb;margin:10px 0}.dash-subtitle,.dash-strong,.dash-total{font-weight:600}.dash-subtitle{margin-bottom:4px}.dash-total{margin-top:6px}.dashboard-reports-btn{padding:8px 12px;border:1px solid var(--brand-blue);background:var(--brand-blue-100);cursor:pointer;border-radius:6px}.dashboard-reports-btn:hover{background:var(--brand-blue-200)}.health-summary,.health-ok{padding:10px;font-weight:600}.health-summary{cursor:pointer}.health-ok{background:#ecfdf5;border-top:1px solid #86efac;border-bottom:1px solid #86efac;color:#065f46}.health-critical,.health-warning,.health-info{border-top:1px solid;border-bottom:1px solid}.health-critical{background:#fee2e2;border-color:#fca5a5;color:#7f1d1d}.health-warning{background:#fef9c3;border-color:#fde047;color:#92400e}.health-info{background:#e0f2fe;border-color:#7dd3fc;color:#075985}.health-list{margin-top:6px;display:flex;flex-direction:column;gap:4px}.health-item{padding:8px;font-size:11px}.sars-month{margin-bottom:10px}.sars-month-header{display:flex;justify-content:space-between;padding:10px;cursor:pointer;font-size:12px}.sars-month-body{padding:10px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.sars-payroll-row{display:flex;justify-content:space-between;padding:6px 0;font-size:12px}.sars-month-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end}.sars-month-total{font-weight:600}.sars-month-status{font-size:11px;font-weight:700;letter-spacing:.5px}.sars-green,.sars-yellow,.sars-red{border-top:1px solid;border-bottom:1px solid}.sars-green{background:#ecfdf5;border-color:#86efac}.sars-yellow{background:#fef9c3;border-color:#fde047}.sars-red{background:#fee2e2;border-color:#fca5a5}.sars-pay-btn{margin-top:10px;padding:6px 12px;background:#fee2e2;border:1px solid #b91c1c;cursor:pointer;border-radius:4px;font-size:12px}.sars-pay-btn:hover{opacity:.9}.sars-payroll-left{display:flex;align-items:center;gap:8px}.payroll-status-badge{padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;letter-spacing:.4px}.payroll-posted,.payroll-approved,.payroll-draft{border:1px solid}.payroll-posted{background:#ecfdf5;color:#065f46;border-color:#86efac}.payroll-approved{background:#fef9c3;color:#92400e;border-color:#fde047}.payroll-draft{background:#fee2e2;color:#7f1d1d;border-color:#fca5a5}.payroll-health-row{padding:8px;margin-bottom:6px;border-top:1px solid;border-bottom:1px solid;font-size:12px}.payroll-green,.payroll-yellow,.payroll-red{border-color:inherit}.payroll-green{background:#ecfdf5;border-color:#86efac}.payroll-yellow{background:#fef9c3;border-color:#fde047}.payroll-red{background:#fee2e2;border-color:#fca5a5}.payroll-top,.payroll-one-line{display:flex;justify-content:space-between;font-weight:400}.payroll-mid,.payroll-bottom{font-size:11px;margin-top:4px}.reports-page{padding:30px 24px;max-width:1400px;margin:0 auto}.reports-grid{display:grid;grid-template-columns:340px 760px;gap:36px}.reports-left{display:flex;flex-direction:column;gap:12px}.reports-filter{display:flex;gap:8px}.reports-filter button{padding:6px 14px;font-size:.75rem;font-weight:600;border:none;background:#f3f4f6;color:#4b5563;border-radius:8px;cursor:pointer;transition:.15s ease}.reports-filter button.active{background:var(--brand-blue);color:var(--brand-blue-100);box-shadow:0 2px 6px #0000000f}.reports-input{padding:8px 10px;border-radius:8px;border:1px solid #d1d5db;font-size:.7rem}.reports-generate{padding:8px 12px;font-weight:600}.reports-card-selector{border:1px solid var(--brand-blue);border-radius:8px;padding:20px;background:var(--brand-blue-100);display:flex;flex-direction:column;gap:12px}.reports-card{border:1px solid #e5e7eb;border-radius:8px;padding:20px;background:#fafafa;display:flex;flex-direction:column;gap:12px}.reports-card-title{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6b7280}.reports-row{display:flex;justify-content:space-between;font-size:.9rem}.reports-row.highlight{font-weight:600}.reports-divider{border-top:1px solid #e5e7eb}.reports-right{display:flex;flex-direction:column;border:1px solid #e5e7eb;border-radius:8px;height:calc(100vh - 120px);overflow:hidden;background:#fff}.reports-body{flex:1;overflow-y:auto}.reports-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid var(--brand-blue);background:var(--brand-blue-100)}.reports-table{width:100%;border-collapse:collapse;font-size:.8rem}.reports-table th{background-color:var(--brand-blue);color:var(--brand-blue-100);font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;padding:10px 12px}.reports-table td{padding:5px 12px;border-bottom:1px solid #e5e7eb}.reports-table tr:hover{background:#f3f4f6}.reports-table thead th{position:sticky;top:0;z-index:5;background-color:var(--brand-blue);color:var(--brand-blue-100)}.reports-error{color:#b91c1c;font-weight:500}@media print{body *{visibility:hidden}.reports-page,.reports-page *{visibility:visible}.reports-page{position:absolute;left:0;top:0;width:100%}.no-print{display:none!important}}@media(max-width:1000px){.reports-grid{grid-template-columns:1fr}}.pr-page{display:flex;flex-direction:column;height:100vh;gap:16px;overflow:hidden;background:#f5f6f8}.page-wrapper-preview{max-width:1200px;width:100%;margin:0 auto;padding-top:30px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.pr-summary{display:flex;justify-content:space-between;align-items:center;flex:1;min-width:0;background-color:var(--brand-blue-100);color:var(--brand-blue);border-top:2px solid var(--brand-blue);border-bottom:2px solid var(--brand-blue);padding:10px;height:60px}.pr-summary-items{display:flex;align-items:center;justify-content:space-between;flex:1}.pr-summary-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding-left:10px;padding-right:10px}.pr-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-blue);margin-bottom:4px}.pr-value{font-size:14px}.pr-big{font-size:18px;font-weight:700}.pr-actions button{padding:10px 16px;font-weight:600}.pr-grid{display:grid;grid-template-columns:350px 1fr 350px;gap:16px;flex:1;min-height:0}.pr-employees{background:#fff;border:1px solid #e4e6eb;border-radius:6px;overflow-y:auto;min-height:0}.pr-employee{display:flex;flex-direction:column;justify-content:center;min-height:30px;max-height:34px;height:52px;padding:6px 10px;cursor:pointer;border-bottom:1px solid #f0f0f0}.pr-employee:hover{background:#f7f9fb}.pr-employee.active{background:#eef3ff;border-left:3px solid var(--brand-blue)}.pr-employee-name{font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pr-employee-amount{font-size:13px;font-weight:600;line-height:1.25;color:#111827}.pr-payslip{display:flex;flex-direction:column;gap:10px}.pr-payslip-header{background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);padding:12px 16px;border-radius:4px}.pr-payslip-employee{font-size:20px;font-weight:600;color:var(--brand-blue)}.pr-block{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:14px 16px}.pr-block-title{font-size:14px;font-weight:600;color:#111827;margin-bottom:6px}.pr-block-divider{border-bottom:1px solid #e5e7eb;margin-bottom:12px}.pr-line{display:flex;justify-content:space-between;align-items:flex-start;padding:6px 0;font-size:14px}.pr-line-label{color:#111827}.pr-line-value{font-weight:500;color:#111827}.pr-line.negative .pr-line-value{color:#b91c1c}.pr-row-description{font-size:12px;color:#6b7280;margin-top:2px}.pr-subtotal{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:10px;border-top:1px solid #e5e7eb;font-weight:600}.pr-subtotal-label,.pr-subtotal-value{color:#111827}.pr-subtotal-value.highlight{font-size:18px;color:var(--brand-blue)}.pr-netpay{background:#f8fafc;border-color:var(--brand-blue-100)}.pr-ledger{background:#fff;overflow-y:auto;min-height:0}.pr-ledger-group{margin-top:20px}.pr-ledger-header{font-weight:600;border-bottom:1px solid #e4e6eb;margin-bottom:6px;padding-bottom:4px;padding-left:20px}.pr-ledger-row{display:grid;grid-template-columns:160px 1fr;gap:8px;padding:4px 0 4px 40px}.pr-ledger-date{font-size:13px;color:#374151;white-space:nowrap}.pr-ledger-detail{font-size:13px}.pr-header{display:grid;grid-template-columns:1fr 100px;align-items:center;gap:12px}.pr-lifecycle{flex-shrink:0;display:flex;align-items:center}.pr-lifecycle-btn{background:var(--brand-blue-100);color:var(--brand-blue);border-radius:6px;padding:12px 24px;cursor:pointer;font-weight:600;min-width:100px;min-height:60px}.pr-lifecycle-btn:disabled{opacity:.6;cursor:not-allowed}.pr-employee-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.pr-employee-net{font-weight:600;font-size:13px;white-space:nowrap}.pr-employee.active .pr-employee-net{color:var(--brand-blue)}.pr-net{margin-top:0;background-color:var(--brand-blue-100);border-left:3px solid var(--brand-blue)}.pr-total{display:flex;justify-content:space-between;font-weight:500;font-size:1.1rem}.pr-total-label{text-transform:uppercase;letter-spacing:.5px}.pr-total-value{font-weight:700}.confirm-backdrop{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:2000}.confirm-modal{background:#fff;width:420px;max-width:90%;padding:24px;border-radius:12px;box-shadow:0 20px 60px #00000040;display:flex;flex-direction:column;gap:18px}.confirm-title{font-size:1rem;font-weight:600}.confirm-message{font-size:.9rem;color:#374151;white-space:pre-line}.confirm-actions{display:flex;justify-content:flex-end;gap:10px}.confirm-btn{padding:8px 16px;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;border:none}.confirm-btn-secondary{background:#f3f4f6;color:#374151}.confirm-btn-secondary:hover{background:#e5e7eb}.confirm-btn-primary{background:#2563eb;color:#fff}.confirm-btn-primary:hover{background:#1d4ed8}.pe-page{display:flex;flex-direction:column;height:100%;overflow:hidden}.pe-context{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding-bottom:10px;padding-left:15px;color:var(--brand-blue);border-bottom:1px solid var(--brand-blue);background:#fff}.pe-context-left{display:flex;flex-direction:column}.pe-title{font-size:20px;font-weight:600}.pe-title-dates{font-size:12px;font-weight:400;font-style:italic}.pe-period{font-size:13px;color:#666;margin-top:2px}.pe-status{font-size:12px;font-weight:600;padding:6px 10px;border-radius:4px;text-transform:uppercase;background:#f0f0f0}.pe-status-approved{background:#e7f4ec;color:#207a43}.pe-status-draft{background:#fef3c7;color:#92400e}.pe-day-nav{display:flex;gap:6px;overflow-x:auto;padding:2px 10px}.pe-day-chip{width:28px;height:28px;border-radius:4px;font-size:12px;line-height:28px;text-align:center;cursor:pointer;background:#f1f2f4;color:#555;-webkit-user-select:none;user-select:none}.pe-day-chip-has{background:#e0e3ff;color:#231bc2;font-weight:600}.pe-day-chip-active{outline:2px solid #231bc2;outline-offset:1px}.pe-body{flex:1;overflow:hidden;background:#f7f8fa}.pe-calendar{height:100%;overflow-x:auto;padding:12px}.pe-calendar-track{display:flex;gap:12px;height:100%}.pe-day{position:relative;flex:0 0 250px;display:flex;flex-direction:column;background:#fff;border:1px solid #e4e6eb;border-radius:6px;overflow:hidden;cursor:pointer}.pe-day-selected{border:2px solid var(--brand-blue)}.pe-day-header{position:sticky;top:0;background:var(--brand-blue);border-bottom:1px solid #e4e6eb;padding:10px 12px;display:flex;align-items:center;font-size:13px;font-weight:600;color:var(--brand-blue-100)}.pe-day-header-selected{background:var(--brand-blue-100);color:var(--brand-blue);font-weight:600;border-bottom:2px solid var(--brand-blue)}.pe-day-body{flex:1;overflow-y:auto;padding:10px;display:flex;flex-direction:column;gap:10px}.pe-day-empty{font-size:13px;color:#999;text-align:center;padding:20px 0}.pe-group{display:flex;flex-direction:column;gap:4px}.pe-group-title{font-size:12px;font-weight:600;border-bottom:1px solid var(--brand-blue);border-top:1px solid var(--brand-blue);background-color:var(--brand-blue-100);padding:3px;color:var(--brand-blue)}.pe-group-items{padding:0 3px 0 6px;display:flex;flex-direction:column;gap:2px}.pe-line{display:flex;justify-content:space-between;font-size:12px;gap:6px}.pe-employee{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pe-value{flex-shrink:0;font-weight:500;padding-right:3px}.pe-add-button{position:absolute;bottom:12px;right:12px;width:36px;height:36px;border-radius:8px;border:none;background:var(--brand-blue);color:#fff;font-size:22px;font-weight:500;cursor:pointer;box-shadow:0 4px 12px #00000040;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,box-shadow .15s ease}.pe-add-button:hover{transform:scale(1.05);box-shadow:0 6px 16px #0000004d}.pe-add-button:active{transform:scale(.95)}.pe-day-body::-webkit-scrollbar{width:6px}.pe-day-body::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.pe-calendar::-webkit-scrollbar{height:8px}.pe-calendar::-webkit-scrollbar-thumb{background:#c7c9d3;border-radius:4px}.pe-calendar{cursor:grab}.pe-calendar.pe-grabbing{cursor:grabbing}.pe-no-select{-webkit-user-select:none!important;user-select:none!important}.pe-line-wrapper{display:flex;flex-direction:column;gap:4px}.pe-line-actions{display:flex;gap:6px;padding-left:4px}.pe-btn{font-size:11px;padding:3px 6px;border-radius:4px;border:1px solid #ccc;background:#f8f8f8;cursor:pointer}.pe-btn:hover{background:#eaeaea}.pe-btn-edit{border-color:#2563eb;color:#2563eb}.pe-btn-delete{border-color:#dc2626;color:#dc2626}.pe-btn-save{border-color:#16a34a;color:#16a34a}.pe-btn-cancel{border-color:#6b7280;color:#6b7280}.pe-line input,.pe-line select{font-size:12px;padding:2px 4px;width:90px}.pe-modal-overlay{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:9999}.pe-modal{width:720px;max-width:95%;background:#fff;border-radius:12px;box-shadow:0 18px 40px #00000040;display:flex;flex-direction:column;overflow:hidden}.pe-modal-header{padding:20px 28px;font-size:16px;font-weight:600;border-bottom:1px solid #e5e7eb}.pe-modal-body{padding:24px 28px;display:flex;flex-direction:column;gap:20px}.pe-modal-row{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:14px;align-items:center}.pe-select,.pe-input{height:38px;width:100%;padding:6px 12px;border-radius:8px;border:1px solid #d1d5db;font-size:14px;background:#fff}.pe-btn-primary{background:var(--brand-blue);color:#fff;border:none;border-radius:8px;height:38px;padding:0 16px;cursor:pointer;font-weight:500}.pe-btn-primary:hover{opacity:.92}.pe-btn-secondary{background:#e5e7eb;border:none;border-radius:8px;height:38px;padding:0 16px;cursor:pointer}.pe-added-list{display:flex;flex-direction:column;gap:8px}.pe-added-row{display:grid;grid-template-columns:1fr 1fr 140px 36px;gap:14px;padding:12px 14px;border-radius:8px;background:#f3f4f6;font-size:14px;align-items:center}.pe-added-employee{font-weight:500}.pe-added-type{color:#4b5563}.pe-added-value{text-align:right;font-weight:600}.pe-remove-btn{height:30px;width:30px;border:none;border-radius:6px;background:transparent;color:#dc2626;font-size:18px;font-weight:600;cursor:pointer;transition:background .15s ease}.pe-remove-btn:hover{background:#dc262614}.pe-modal-footer{padding:22px 28px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.pe-override-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000}.pe-override-modal{background:#fff;padding:24px;border-radius:8px;width:320px;box-shadow:0 10px 30px #0003}.pe-override-title{font-weight:600;margin-bottom:10px}.pe-override-text{font-size:14px;margin-bottom:12px}.pe-override-modal input{width:100%;padding:8px;margin-bottom:16px}.pe-override-actions{display:flex;justify-content:flex-end;gap:10px}.pe-context{display:flex;justify-content:space-between;align-items:center}.mini-timeline{position:relative;display:flex;align-items:center;gap:12px;padding:8px 10px 8px 0}.mini-timeline-line{position:absolute;left:0;right:0;height:2px;background:var(--grey-300);top:50%;transform:translateY(-50%);z-index:0}.mini-timeline-day{position:relative;z-index:1;cursor:pointer}.mini-timeline-dot{width:12px;height:12px;border-radius:40%;background:var(--grey-400);transition:all .2s ease;display:flex;align-items:center;justify-content:center}.mini-timeline-dot.has-events{background:var(--brand-blue)}.mini-timeline-dot.selected{width:22px;height:22px;background:var(--brand-blue-100);color:(--brand-blue-100);font-size:.75rem;font-weight:600;box-shadow:0 0 0 2px var(--brand-blue)}.mini-timeline-number{line-height:1}.page-wrapper-leave{max-width:1200px;width:100%;margin:0 auto;padding-top:30px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.leave-column{display:flex;flex-direction:column;gap:18px}.leave-card{background:#fff;border:1px solid #e4e6eb;padding:18px;display:flex;flex-direction:column;gap:2px;font-size:12px;overflow:hidden}.leave-section-title{font-size:14px;font-weight:600;color:#111827}.leave-card h3{margin:-18px -18px 14px;padding:12px 18px;background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);font-size:14px;font-weight:600;display:flex;align-items:center}.leave-form{display:flex;gap:10px;flex-wrap:wrap}.leave-form select,.leave-form input{border:1px solid #e5e7eb;padding:8px 10px;font-size:13px}.leave-primary-btn{background:var(--brand-blue-100);color:var(--brand-blue);border:1px solid var(--brand-blue);padding:8px 14px;font-weight:600;cursor:pointer}.leave-primary-btn:hover{background:var(--brand-blue);color:#fff}.leave-app-card{border:1px solid #e5e7eb;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:8px;transition:.15s ease}.leave-app-card:hover{background:#fafafa}.leave-app-top{display:flex;justify-content:space-between;align-items:center}.leave-app-name{font-weight:600;color:#111827}.leave-type-pill{font-size:11px;padding:3px 8px;background:#eef2ff;color:#4338ca;font-weight:600}.leave-dates{font-size:13px;color:#6b7280}.leave-app-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.leave-grid{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:22px;align-items:start}.leave-filter{margin-bottom:10px;border:1px solid #e5e7eb;padding:6px 8px}.leave-balance-table{display:flex;flex-direction:column;font-size:13px}.leave-balance-header,.leave-balance-row{display:grid;grid-template-columns:2.7fr .8fr .8fr .8fr;padding:8px 6px;align-items:center}.leave-balance-header div:not(:first-child),.leave-balance-row div:not(:first-child){text-align:center}.leave-balance-row div:first-child,.leave-balance-header div:first-child{padding-left:4px}.leave-balance-header{font-weight:600;border-bottom:1px solid #e5e7eb}.leave-balance-row{border-bottom:1px solid #f1f5f9}.leave-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.leave-form select:first-child{grid-column:span 2}.leave-primary-btn{grid-column:span 2;justify-self:start}.leave-pending-card{border:1px solid #e5e7eb;padding:12px 14px;background:#fff;display:flex;flex-direction:column;gap:4px;cursor:pointer;transition:.15s ease}.leave-pending-card:hover{background:#fafafa}.leave-pending-line1{display:flex;justify-content:space-between;align-items:center}.leave-pending-employee{font-weight:600;color:#111827}.leave-pending-line2{display:flex;justify-content:space-between;font-size:13px;color:#6b7280}.leave-days{font-weight:600}.leave-pending-card.expanded{background:#f9fafb}.leave-type-pill{font-size:11px;padding:3px 8px;border-radius:6px;background:#eef2ff;color:#4338ca;font-weight:600}.loans-page{display:flex;flex-direction:column;gap:16px;color:#111827}.loans-summary{display:flex;gap:16px}.loans-summary-card{flex:1;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.loans-summary-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#6b7280}.loans-summary-value{font-size:18px;font-weight:700;color:var(--brand-blue)}.loans-summary-action{display:flex;align-items:center;justify-content:center}.loans-content{display:flex;gap:16px;min-height:0}.loans-list,.loans-detail{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:16px}.loans-list{width:40%;max-height:600px;overflow-y:auto}.loans-detail{flex:1}.loans-row{padding:10px 12px;border-bottom:1px solid #f0f0f0;cursor:pointer}.loans-row:hover{background:#f7f9fb}.loans-row.active{background:#eef3ff;border-left:3px solid var(--brand-blue)}.loans-row-main{display:flex;justify-content:space-between;font-size:14px;font-weight:500}.loans-row-meta{font-size:12px;color:#6b7280;margin-top:4px;display:flex;justify-content:space-between}.loans-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px;font-size:14px}.loans-section-title{font-size:14px;font-weight:600;color:#111827;margin-bottom:12px}.loans-section-subtitle{margin:20px 0 8px;font-size:13px;font-weight:600;color:#374151}.loans-empty{font-size:13px;color:#6b7280}.loans-repayment-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #e5e7eb;font-size:13px}.loans-primary-btn{background:var(--brand-blue-100);color:var(--brand-blue);border:1px solid var(--brand-blue);padding:8px 14px;border-radius:6px;font-weight:600;cursor:pointer;min-height:36px}.loans-primary-btn:hover{background:var(--brand-blue);color:#fff}.loans-secondary-btn{background:#f3f4f6;border:1px solid #e5e7eb;padding:8px 14px;border-radius:6px;color:#374151;cursor:pointer}.loans-secondary-btn:hover{background:#e5e7eb}.loans-modal-overlay{position:fixed;inset:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;z-index:2000}.loans-modal{background:#fff;width:420px;max-width:90%;padding:24px;border-radius:12px;box-shadow:0 20px 60px #00000040;display:flex;flex-direction:column;gap:18px}.loans-modal-header{font-size:1rem;font-weight:600;color:#111827}.loans-form-row{display:flex;flex-direction:column;gap:6px}.loans-form-row label{font-size:12px;font-weight:600;color:#374151}.loans-form-row input,.loans-form-row select{border:1px solid #e5e7eb;border-radius:6px;padding:8px 10px;font-size:13px;background:#fff;color:#111827}.loans-form-row input:focus,.loans-form-row select:focus{border-color:var(--brand-blue);outline:none}.loans-modal-footer{display:flex;justify-content:flex-end;gap:10px}.page-wrapper-roster{max-width:1200px;width:100%;margin:0 auto;padding-top:30px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.roster-page{background:#fff;color:#111;padding:20px;display:flex;flex-direction:column;gap:12px;min-height:calc(100vh - 60px)}.roster-page h2{margin:0;font-size:18px;font-weight:600}.roster-body{border:1px solid #ddd;overflow-x:auto;overflow-y:auto;max-height:70vh;min-height:0;border-radius:6px}.roster-page table{width:max-content;min-width:100%;border-collapse:collapse;table-layout:fixed}.roster-page th,.roster-page td{padding:6px 8px;font-size:14px;text-align:center;border-bottom:1px solid #ddd;background-clip:padding-box}.roster-page th{font-weight:600;white-space:nowrap;background:#f4f4f4;color:#111}.roster-page thead th{position:sticky;top:0;z-index:4;background:var(--brand-blue);color:var(--brand-blue-100)}.roster-page th:first-child,.roster-page td:first-child{position:sticky;left:0;padding-left:20px;z-index:3;width:200px;min-width:180px;max-width:200px;text-align:left;font-weight:500;box-shadow:2px 0 #00000014}.roster-page thead th:first-child{z-index:6;background:var(--brand-blue);color:var(--brand-blue-100)}.action-col,.row-delete{position:sticky;right:0;z-index:3;width:36px;min-width:36px;max-width:36px;text-align:center;box-shadow:-2px 0 #00000014}.roster-page thead .action-col{z-index:6;background:var(--brand-blue)}.roster-page th:not(:first-child):not(.action-col),.roster-page td:not(:first-child):not(.row-delete){width:130px;min-width:120px}.roster-page td select,.roster-page td input{width:100%;box-sizing:border-box;padding:2px 3px;font-size:12px;border:1px solid #ccc;border-radius:3px}.roster-page td select:disabled,.roster-page td input:disabled{background:#f3f3f3;color:#666;border:1px solid #ddd}.select-employee-hint{color:#888;font-size:12px;font-style:italic}.roster-page tbody tr:nth-child(odd) td{background-color:#fff}.roster-page tbody tr:nth-child(2n) td{background-color:var(--brand-blue-100)}.roster-page tbody tr:nth-child(odd) td:first-child,.roster-page tbody tr:nth-child(odd) .row-delete{background-color:#fff}.roster-page tbody tr:nth-child(2n) td:first-child,.roster-page tbody tr:nth-child(2n) .row-delete{background-color:var(--brand-blue-100)}.roster-page tbody tr:hover td,.roster-page tbody tr:hover td:first-child,.roster-page tbody tr:hover .row-delete{background-color:var(--brand-blue-200)}.roster-row .delete-row{opacity:0;cursor:pointer;background:none;border:none;font-size:14px;color:#900}.roster-row:hover .delete-row{opacity:1}.add-employee{align-self:flex-start;margin-top:8px;padding:6px 12px;font-size:13px;font-weight:500;background:var(--brand-blue);color:#fff;border-radius:4px;cursor:pointer}.add-employee:hover{background:#222}.employee-locked{font-weight:700;display:inline-block}@media(max-width:900px){.roster-page{padding:12px}}.roster-actions{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.print-roster{padding:6px 12px;font-size:13px;font-weight:500;background:#fff;color:#111;border:1px solid #ccc;border-radius:4px;cursor:pointer;margin-left:auto}.print-roster:hover{background:#f0f0f0;border-color:#bbb}.roster-page td select.shift-off{background-color:#fff3b0;border-color:#e1b800;font-weight:600}.roster-page td select.shift-off option{background:#fff;color:#111}.roster-nav{display:flex;gap:8px;padding:6px 8px;border-bottom:2px solid var(--brand-blue);background-color:var(--brand-blue-100);border-radius:8px 8px 0 0}.roster-tab{padding:6px 14px;font-size:14px;font-weight:600;color:var(--brand-blue);text-decoration:none;border-radius:4px 4px 0 0;background:transparent;border:1px solid transparent}.roster-tab:hover{background:#e6f2ee}.roster-tab.active{background:var(--brand-blue);color:#fff;border-color:var(--brand-blue)}.roster-nav{display:flex;justify-content:space-between;align-items:center;padding:6px 12px;border-bottom:2px solid var(--brand-blue);background-color:var(--brand-blue-100)}.roster-tabs{display:flex;gap:8px}.roster-controls{display:flex;align-items:center;gap:20px}.roster-filter{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--brand-blue)}.roster-filter select{padding:4px 8px;border-radius:4px;border:1px solid #cfd8dc;font-size:13px}.ed-layout{display:grid;grid-template-columns:1fr 360px;gap:16px;height:calc(100vh - 120px);min-height:0}.ed-list{display:flex;flex-direction:column;background:#fff;overflow:hidden;min-height:0}.ed-list-topbar{background:var(--brand-blue-100);padding:12px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;border:1px solid #e4e6eb;border-radius:6px}.ed-filters{display:flex;align-items:center;gap:12px}.ed-actions{display:flex;gap:8px}.ed-btn{padding:6px 12px;font-size:13px;border-radius:4px;border:1px solid var(--brand-blue);background:var(--brand-blue);color:#fff;cursor:pointer}.ed-btn-secondary{background:#fff;color:var(--brand-blue)}.ed-btn:hover,.ed-btn-secondary:hover{opacity:.9}.ed-filter-select{padding:6px 10px;border-radius:6px;border:1px solid #d1d5db;font-size:.8rem;background:#fff;cursor:pointer}.ed-filter-select:focus{outline:none;border-color:#3b82f6}.ed-list-body{overflow-y:auto;flex:1;min-height:0;border:2px solid var(--brand-blue);border-radius:0 0 6px 6px}.ed-row{display:grid;grid-template-columns:2.2fr 2fr 1.6fr 1.2fr 1.2fr 1.5fr;align-items:center;font-size:12px}.ed-row>div{padding:5px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ed-row>div:nth-child(n+3),.ed-header>div:nth-child(n+3){text-align:center}.ed-header{background:var(--brand-blue);font-size:12px;font-weight:600;text-transform:uppercase;color:var(--brand-blue-100);border-radius:6px 6px 0 0}.ed-row:not(.ed-header){border-bottom:1px solid #eef0f3;cursor:pointer}.ed-row:not(.ed-header):hover{background:#f9fafb}.ed-active{background:var(--brand-blue-100);border-left:3px solid var(--brand-blue)}.ed-sidebar{display:flex;flex-direction:column;border:1px solid #e4e6eb;border-radius:6px;background:var(--brand-blue-100);overflow:hidden;min-height:0}.ed-name-card{position:sticky;top:0;z-index:2;background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);padding:12px;border-bottom:1px solid #e4e6eb}.ed-name{font-size:15px;font-weight:600}.ed-sub{font-size:12px;color:#666}.ed-sidebar-body{overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:12px;min-height:0}.ed-card{border:1px solid #e4e6eb;border-radius:6px;padding:12px;background:#fff}.ed-card h3{margin:0 0 8px;font-size:12px;font-weight:600;text-transform:uppercase;color:#333}.ed-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ed-kv{display:flex;justify-content:space-between;gap:8px;font-size:13px;padding:4px 0}.ed-kv span:first-child{color:#777}.ed-input{width:180px;font-size:13px;padding:4px 6px;border:1px solid #dcdfe4;border-radius:4px}.ed-input:focus{outline:none;border-color:var(--brand-blue)}.ed-divider{height:1px;background:#ddd;margin:10px 0}.ed-subsection-header{margin:10px 0;font-weight:600}.ed-override-box{display:flex;flex-direction:column;gap:10px}.ed-checkbox-row{display:flex;align-items:center;gap:8px}.ed-checkbox-group{display:flex;gap:24px;align-items:center}.ed-modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.ed-modal{background:#fff;padding:24px;width:400px;border-radius:6px}.ed-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.ed-radio-group{display:flex;flex-direction:column;gap:8px;margin-top:12px}.ed-radio-row{display:flex;align-items:center;gap:8px;font-size:14px}.ce-page{width:100%;display:flex;justify-content:center;padding-top:40px}.ce-card{width:100%;max-width:420px;background:#fff;border:1px solid #e4e6eb;border-radius:6px;padding:16px;box-sizing:border-box}.ce-title{margin:0 0 12px;font-size:14px;font-weight:600}.ce-error{background:#fee2e2;color:#991b1b;font-size:13px;padding:8px 10px;border-radius:6px;margin-bottom:10px}.ce-form{display:flex;flex-direction:column;gap:14px;width:100%}.ce-field{display:flex;flex-direction:column;gap:6px;width:100%}.ce-field label{font-size:11px;text-transform:uppercase;color:#6b7280;font-weight:500}.ce-field input,.ce-field select{width:100%;font-size:13px;padding:8px 10px;border-radius:6px;border:1px solid #d1d5db;background:#fff;box-sizing:border-box}.ce-field input:focus,.ce-field select:focus{outline:none;border-color:#6366f1}.ce-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}.ce-btn{font-size:13px;padding:8px 14px;border-radius:6px;border:1px solid #d1d5db;cursor:pointer}.ce-btn:disabled{opacity:.6;cursor:not-allowed}.ce-btn-secondary{background:#fff}.ce-btn-secondary:hover:not(:disabled){background:#f3f4f6}.ce-btn-primary{background:#eef2ff;border-color:#c7d2fe;font-weight:600}.ce-btn-primary:hover:not(:disabled){background:#e0e7ff;border-color:#a5b4fc}.payslip{font-family:Arial,sans-serif;font-size:13px;color:#000;max-width:800px;margin:0 auto}.payslip-header{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #000;padding-bottom:10px;margin-bottom:16px}.payslip-header h1{margin:0;font-size:20px}.period{font-size:12px}h2{font-size:14px;font-weight:700;border-bottom:1px solid #000;margin:20px 0 6px;padding-bottom:2px}.employee{margin-bottom:18px}.employee div{margin-bottom:4px}.work-summary table{margin-top:6px}.work-summary td{border-bottom:none;padding:4px 6px}.work-summary td:first-child{font-weight:700}table{width:100%;border-collapse:collapse}th,td{padding:6px;border-bottom:1px solid #ccc}th{font-weight:700;text-align:left}.right{text-align:right}.section-total{display:flex;justify-content:space-between;margin-top:6px;padding-top:6px;border-top:1px solid #000;font-weight:700}.summary{margin-top:24px;width:100%}.summary .net{display:flex;justify-content:space-between;border-top:2px solid #000;padding-top:8px;font-weight:700;font-size:15px}@media print{body{margin:0}.payslip{max-width:none}table{page-break-inside:avoid}}.page-wrapper-company{max-width:1200px;width:100%;margin:0 auto;padding-top:30px;padding-bottom:10px;display:flex;flex-direction:column;gap:16px;flex:1;min-height:0}.company-layout{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;align-items:start}.company-column{display:flex;flex-direction:column;gap:20px}.company-header{background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);border-radius:8px;padding:20px;display:flex;justify-content:space-between;align-items:center}.company-header-name{font-size:20px;font-weight:600}.company-header-meta{font-size:13px;color:#666;margin-top:6px}.company-header-left{display:flex;flex-direction:column}.employees-btn{display:flex;align-items:center;gap:6px;background:var(--brand-blue);color:#fff;border:none;padding:8px 14px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer}.employees-btn:hover{opacity:.9}.company-card{background:#fff;border:1px solid #e4e6eb;border-radius:8px;padding:18px;display:flex;flex-direction:column;gap:14px;overflow:hidden}.company-card h3{margin:-18px -18px 14px;padding:12px 18px;background:var(--brand-blue-100);border-left:3px solid var(--brand-blue);font-size:14px;font-weight:600;display:flex;align-items:center}.company-card-stack{display:flex;flex-direction:column;gap:5px}.company-card-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.company-card-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px 20px}.company-table{display:flex;flex-direction:column;gap:4px}.company-table-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:10px 0;border-bottom:1px solid #f1f3f5;font-size:13px}.company-table-row .field label{display:none}.toggle-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #f1f3f5;font-size:13px}.toggle-row:last-child{border-bottom:none}.empty-note{font-size:13px;color:#777;padding:8px 0}.inline-add{margin-left:auto;background:none;border:none;color:var(--brand-blue);font-size:13px;font-weight:500;cursor:pointer;padding:0}.inline-add:hover{text-decoration:underline}.field,.company-field{display:flex;flex-direction:column;gap:2px}.field label,.company-field label{font-size:11px;text-transform:uppercase;color:#777;letter-spacing:.5px}.field span,.company-field-value{font-size:13px;font-weight:500}.field-value.editable,.company-field-value.editable{cursor:pointer}.field-value.editable:hover,.company-field-value.editable:hover{text-decoration:underline}.field input,.field select,.company-field input,.company-field select{font-size:13px;padding:4px 6px;border:1px solid #dcdfe4;border-radius:4px}.toggle-switch{position:relative;width:42px;height:22px}.toggle-switch input{display:none}.toggle-switch .slider{position:absolute;inset:0;background:#d0d4da;border-radius:22px;cursor:pointer;transition:background .2s ease}.toggle-switch .slider:before{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;background:#fff;border-radius:50%;transition:transform .2s ease}.toggle-switch input:checked+.slider{background:var(--brand-blue)}.toggle-switch input:checked+.slider:before{transform:translate(20px)}@media(max-width:1200px){.company-layout{grid-template-columns:1fr 1fr}}@media(max-width:800px){.company-layout,.company-card-grid-3,.company-card-grid-2{grid-template-columns:1fr}}.company-table-header{display:grid;grid-template-columns:1fr auto;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:#777;padding:6px 0 10px;border-bottom:1px solid #e4e6eb}.company-table-row{display:grid;grid-template-columns:1fr auto;align-items:center;padding:12px 0;border-bottom:1px solid #f1f3f5;font-size:14px}.company-table-row:last-child{border-bottom:none}.table-primary{font-weight:500}.table-secondary{color:#555}.department-status-select{font-size:12px;padding:4px 6px;border:1px solid #e5e7eb;border-radius:4px;background:#fff;cursor:pointer}.department-status-select:focus{outline:none;border-color:var(--brand-blue)}.shift-multiplier-row{display:flex;align-items:center;gap:8px}.shift-delete-btn{border:none;background:#ef4444;color:#fff;font-size:14px;font-weight:700;width:22px;height:22px;border-radius:4px;cursor:pointer;line-height:1}.shift-delete-btn:hover{background:#dc2626}:root{--brand-blue: #050069;--brand-blue-50: #f2f1ff;--brand-blue-100: #eef2ff;--brand-blue-200: #cbc8ff;--brand-blue-hover: #1f18ad;--brand-blue-active: #1a1496;--brand-blue-border: #4b44d4;--brand-blue-strong: #72126c;--brand-teal-OLD: #064e3b;--brand-teal-dark: #238C8C;--brand-teal-light: #c0fcec;--brand-teal-highlite: #22f1ba;--topbar-color: #ffffff;--sidebar-color: #ffffff;--icon-color: #5e5e5e;--content-bg-color: #ffffff;--sidebar-border: #e4e4e4;--button-color: #004116;--button-hover-color: #44a866;--label-color: #555555;--grid-header-color: #2b5339;--panel-border-color: #dddddd;--grid-row-highlite: #dffce8;--grid-row-select: #71f59b;--icon-active-color: #038a8a;--brand-magenta: #B12178;--brand-coral: #F0633A;--brand-mustard: #F0C419;--charcoal-900: #1e1869;--charcoal-800: #333333;--charcoal-600: #555555;--grey-50: #FAF9F7;--grey-100: #F2F1EF;--grey-200: #E8E6E3;--grey-400: #BDBAB6;--grey-300: #d1d5db;--grey-700: #374151;--grey-900: #111827;--white: #FFFFFF;--success: #16A34A;--warning: #F59E0B;--danger: #DC2626;--info: var(--brand-teal);--shadow: 0 2px 6px rgba(0, 0, 0, .35);--shadow-middle: 0 0 6px rgba(0, 0, 0, .35);--input-border: #555555;--input-border-focus: #999;--input-bg: #fff;--input-radius: 4px;--input-padding: 5px;--topbar-height: 55px;--sidebar-min: 200px;--sidebar-max: 300px;--radius: 8px;--radius-sm: 4px;--font-main: "Segoe UI", Inter, Arial, sans-serif}body{background:var(--white);color:var(--grey-900);font-family:var(--font-main)}.form-row{display:flex;gap:20px;margin-bottom:16px}.form-group{flex:1;display:flex;flex-direction:column;margin-bottom:16px}.ui-label{font-size:.85rem;font-weight:600;color:var(--label-color);margin-bottom:2px;margin-top:0;text-transform:none}.ui-input,.ui-textarea,.ui-select{width:100%;padding:var(--input-padding);border:1px solid var(--input-border);border-radius:var(--input-radius);background:var(--input-bg);font-size:.95rem;box-sizing:border-box}.ui-input:focus,.ui-select:focus{border-color:var(--input-border-focus);outline:none}.ui-input[disabled],.ui-select[disabled]{background:#eee;cursor:not-allowed}.ui-textarea{min-height:90px;resize:vertical;margin:0;line-height:1.4}.ui-value{font-size:.95rem;color:var(--charcoal-800)}.ui-btn{padding:12px 16px;border-radius:var(--radius-sm);border:none;cursor:pointer;font-weight:600;font-size:.95rem;transition:.15s ease}.ui-btn-primary{background:var(--brand-blue-100);color:var(--brand-blue);border:solid 1px}.ui-btn-primary:hover{background:var(--button-hover-color)}.ui-btn-secondary{background:var(--white);color:var(--grey-700);border:2px solid var(--grey-700)}.ui-btn-secondary:hover{background:var(--grey-100)}.ui-btn-danger{background:#b23b3b;color:#fff}.ui-btn-danger:hover{background:#962e2e}.ui-btn-full{width:100%}.ui-btn-row{display:flex;gap:12px;margin-top:20px}.ui-table{width:100%;border-collapse:collapse;font-size:14px}.ui-table thead{background:#f5f6f8}.ui-table th,.ui-table td{padding:10px 12px;text-align:left;border-bottom:1px solid #e5e7eb;white-space:nowrap}.ui-table th{font-weight:600;color:#374151}.ui-table tbody tr:hover{background:#f9fafb}.panel{background:#fff;border:1px solid #ddd;box-sizing:border-box;display:flex;flex-direction:column;height:auto;overflow:visible;margin-bottom:10px}.panel-header{padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee}.panel-header h2{margin:0;font-size:1.4rem;font-weight:700}.panel-body{padding:20px;flex:0}.panel--scroll .panel-body{flex:1;min-height:0;overflow-y:auto}.panel-footer{padding:16px 20px;border-top:1px solid #eee;display:flex;gap:12px;justify-content:flex-end}.panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;width:100%;box-sizing:border-box;margin-bottom:20px}.page-title{font-size:2.2rem;padding-bottom:20px;padding-left:30px;font-weight:00}.link-button{background:none;border:none;padding:0;margin:0;color:#5b6cff;text-decoration:underline;cursor:pointer;font:inherit}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;width:100%;margin:0;padding:0;overflow:hidden}body{display:block}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{color:inherit;text-decoration:none}button{font-family:inherit}img,picture,video,canvas,svg{display:block;max-width:100%}
