*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f7f8fc;color:#111827;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit}button{cursor:pointer;border:none;border-radius:10px;padding:.85rem 1rem;font-weight:600;background:#111827;color:#fff;min-height:44px}button.secondary{background:#fff;color:#111827;border:1px solid #d1d5db}input,select,textarea{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:.8rem .9rem;background:#fff;min-height:44px;font-size:16px}.page{max-width:1180px;margin:0 auto;padding:1.5rem 1.25rem}.page-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.page-title{font-size:1.4rem;font-weight:800;margin:0}.card{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:0 10px 30px #1118270f}.muted{color:#6b7280}.error{color:#b91c1c;background:#fee2e2;border-radius:10px;padding:.8rem}.success{color:#065f46;background:#d1fae5;border-radius:10px;padding:.8rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;cursor:pointer;border:none;border-radius:10px;padding:.65rem 1rem;font-weight:600;font-size:.875rem;min-height:44px;white-space:nowrap}.btn-primary{background:#111827;color:#fff}.btn-ghost{background:#fff;color:#374151;border:1px solid #e5e7eb}.btn-ghost:hover{border-color:#9ca3af}.btn-sm{padding:.35rem .75rem;font-size:.8rem;min-height:36px;border-radius:8px}.btn-link{background:none;border:none;padding:0;color:#111827;font-weight:600;cursor:pointer;text-decoration:underline;min-height:auto;font-size:inherit}.form{display:flex;flex-direction:column;gap:.875rem}.form-grid{display:grid;gap:.9rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-actions{display:flex;gap:.75rem;justify-content:flex-end;flex-wrap:wrap;margin-top:.25rem}.field-label{display:block;font-size:.8rem;font-weight:600;color:#374151;margin-bottom:.35rem}.input{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:.75rem .9rem;background:#fff;font-size:16px;min-height:44px;color:#111827}.input-sm{padding:.4rem .75rem;font-size:.875rem;min-height:36px;border-radius:8px}.input:focus,input:focus,select:focus{outline:2px solid #111827;outline-offset:1px}.tabs{display:flex;gap:.25rem;margin-bottom:1.25rem;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}.tabs::-webkit-scrollbar{display:none}.tab{flex-shrink:0;background:#fff;color:#6b7280;border:1px solid #e5e7eb;padding:.5rem .9rem;border-radius:999px;font-size:.875rem;font-weight:500;cursor:pointer;min-height:40px;white-space:nowrap}.tab-active{background:#111827;color:#fff;border-color:#111827}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:100;padding:1rem;overflow-y:auto}.modal{background:#fff;border-radius:16px;padding:1.5rem;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;position:relative;margin:auto}.modal h2{margin:0 0 1.25rem;font-size:1.1rem;font-weight:700}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px}.table,table{width:100%;border-collapse:collapse;min-width:520px}th,td,.table th,.table td{text-align:left;padding:.875rem .75rem;border-bottom:1px solid #e5e7eb;font-size:.875rem;white-space:nowrap}th{font-weight:600;color:#374151}.table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;flex-wrap:wrap;gap:.5rem}.table-header h3{margin:0;display:flex;align-items:center;gap:.5rem}.empty-state{text-align:center;color:#9ca3af;padding:2rem 1rem!important;white-space:normal!important}.badge{display:inline-block;padding:.2rem .65rem;border-radius:999px;font-size:.75rem;font-weight:600;text-transform:capitalize;white-space:nowrap}.badge-income{background:#d1fae5;color:#065f46}.badge-expense{background:#fee2e2;color:#991b1b}.amount-income{color:#065f46;font-weight:600}.amount-expense{color:#991b1b;font-weight:600}.tx-count{background:#f3f4f6;color:#6b7280;font-size:.75rem;font-weight:600;padding:.15rem .5rem;border-radius:999px}.brand{font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#6b7280;margin-bottom:.25rem}.greeting{font-size:1.5rem;font-weight:700;margin:0 0 .25rem}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem}.content-grid{display:grid;grid-template-columns:360px 1fr;gap:1rem;margin-bottom:1.5rem}.period-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;flex-wrap:wrap}.tab-btn{background:#fff;color:#6b7280;border:1px solid #e5e7eb;padding:.5rem 1rem;border-radius:999px;font-size:.875rem;font-weight:500;min-height:40px}.tab-btn.active{background:#111827;color:#fff;border-color:#111827}.tab-btn:hover:not(.active){border-color:#9ca3af;color:#111827}.custom-range{display:flex;align-items:center;gap:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem 1rem;margin-bottom:1.5rem;flex-wrap:wrap}.custom-range label{font-size:.875rem;color:#6b7280;font-weight:500}.custom-range input[type=date]{width:auto;padding:.45rem .75rem;font-size:.875rem;min-height:36px}.custom-range button{padding:.5rem 1.25rem;font-size:.875rem;border-radius:8px;min-height:36px}.auth-layout{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.auth-card{width:100%;max-width:420px;display:grid;gap:.9rem}.forgot-link{text-align:center;color:#6b7280;font-size:.875rem;text-decoration:none}.forgot-link:hover{color:#111827}.type-toggle{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.type-btn{background:#f3f4f6;color:#6b7280;border:2px solid transparent;padding:.6rem;border-radius:10px;font-weight:600;min-height:44px}.type-income{background:#d1fae5;color:#065f46;border-color:#6ee7b7}.type-expense{background:#fee2e2;color:#991b1b;border-color:#fca5a5}.permissions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.permission-toggle{display:flex;align-items:center;gap:.5rem;font-size:.875rem;cursor:pointer;padding:.5rem;border-radius:8px;border:1px solid #e5e7eb;min-height:44px}.permission-toggle:hover{background:#f9fafb}.btn-edit{background:none;color:#9ca3af;padding:.25rem .5rem;font-size:.875rem;border-radius:6px;min-height:36px}.btn-edit:hover{background:#eff6ff;color:#1d4ed8}.btn-delete{background:none;color:#9ca3af;padding:.25rem .5rem;font-size:.75rem;border-radius:6px;min-height:36px}.btn-delete:hover{background:#fee2e2;color:#b91c1c}.edit-row td{background:#f9fafb;padding:.5rem 0}.landing{min-height:100vh;background:#fff}.landing-nav{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 2rem;border-bottom:1px solid #f3f4f6;position:sticky;top:0;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:10;gap:.75rem}.landing-brand{font-size:1rem;font-weight:800;letter-spacing:-.02em;color:#111827;flex-shrink:0}.landing-nav-actions{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.hero{max-width:760px;margin:0 auto;padding:5rem 2rem 4rem;text-align:center}.hero-badge{display:inline-block;background:#d1fae5;color:#065f46;font-size:.8rem;font-weight:600;padding:.3rem .9rem;border-radius:999px;margin-bottom:1.5rem}.hero-title{font-size:clamp(2rem,5vw,3.5rem);font-weight:800;line-height:1.15;letter-spacing:-.03em;color:#111827;margin:0 0 1.25rem}.hero-subtitle{font-size:1.125rem;color:#6b7280;line-height:1.7;max-width:560px;margin:0 auto 2rem}.hero-actions{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.hero-cta{background:#111827;color:#fff;padding:.9rem 2rem;border-radius:12px;font-size:1rem;font-weight:700;min-height:48px}.hero-cta:hover{background:#1f2937}.hero-note{color:#9ca3af;font-size:.875rem}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#f3f4f6;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6}.stat{background:#fff;padding:2rem;text-align:center}.stat-value{font-size:1.5rem;font-weight:800;color:#111827;margin-bottom:.25rem}.stat-label{color:#6b7280;font-size:.875rem}.payment-logos{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:1.25rem 2rem;flex-wrap:wrap;background:#f9fafb;border-bottom:1px solid #f3f4f6}.payment-label{color:#6b7280;font-size:.875rem}.payment-badge{font-size:.8rem;font-weight:700;padding:.35rem .9rem;border-radius:999px}.payment-badge.mtn{background:#fef3c7;color:#92400e}.payment-badge.orange{background:#ffedd5;color:#9a3412}.features{max-width:1100px;margin:0 auto;padding:5rem 2rem}.section-title{text-align:center;font-size:2rem;font-weight:800;letter-spacing:-.02em;margin-bottom:3rem}.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.feature-card{background:#f9fafb;border-radius:16px;padding:1.75rem}.feature-icon{font-size:1.75rem;margin-bottom:.75rem}.feature-card h3{font-size:1rem;font-weight:700;margin:0 0 .5rem}.feature-card p{color:#6b7280;font-size:.9rem;line-height:1.6;margin:0}.landing-cta{background:#111827;color:#fff;text-align:center;padding:5rem 2rem}.landing-cta h2{font-size:2rem;font-weight:800;margin:0 0 .75rem}.landing-cta p{color:#9ca3af;margin:0 0 2rem}.landing-cta .hero-cta{background:#fff;color:#111827}.landing-footer{padding:2rem;text-align:center;border-top:1px solid #f3f4f6;display:flex;flex-direction:column;gap:.5rem;align-items:center}.payslip{max-width:680px;margin:2rem auto;padding:2.5rem;background:#fff;border:1px solid #e5e7eb}.payslip-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #111827;gap:1rem}.payslip-company{font-size:1.25rem;font-weight:800;color:#111827}.payslip-title{font-size:.875rem;color:#6b7280;margin-top:.25rem}.payslip-period{font-size:1rem;font-weight:700}.payslip-employee{background:#f9fafb;padding:1rem;border-radius:8px;margin-bottom:1.5rem}.payslip-table{width:100%;border-collapse:collapse;margin-bottom:2rem}.payslip-table th,.payslip-table td{padding:.75rem 0;border-bottom:1px solid #e5e7eb;font-size:.9rem;white-space:normal}.payslip-table th{color:#6b7280;font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.payslip-total td{border-top:2px solid #111827;border-bottom:none;padding-top:1rem;font-size:1.1rem}.payslip-footer{display:flex;justify-content:space-between;margin-top:3rem}@keyframes shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.skeleton{background:linear-gradient(90deg,#f3f4f6 25%,#e5e7eb,#f3f4f6 75%);background-size:800px 100%;animation:shimmer 1.4s infinite;border-radius:16px}@media print{.no-print{display:none!important}body{background:#fff}.payslip{border:none;margin:0}}@media (max-width: 900px){.summary-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.features-grid,.stats-strip{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.page{padding:1rem}.page-header{flex-direction:column;align-items:flex-start;gap:.75rem}.page-header>div:last-child{display:flex;overflow-x:auto;gap:.5rem;width:100%;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.page-header>div:last-child::-webkit-scrollbar{display:none}.page-header button,.page-header .btn{flex-shrink:0;font-size:.8rem;padding:.55rem .85rem;min-height:40px}.page-title,.greeting{font-size:1.2rem}.summary-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.card{padding:1rem}.tab-btn{padding:.4rem .75rem;font-size:.8rem;min-height:38px}.custom-range{flex-direction:column;align-items:stretch;gap:.5rem;padding:.75rem}.custom-range input[type=date],.custom-range button{width:100%}.table-wrap{border-radius:8px}table,.table{min-width:480px}th,td,.table th,.table td{padding:.65rem .5rem;font-size:.78rem}.modal-overlay{padding:0;align-items:flex-end}.modal{border-radius:20px 20px 0 0;max-width:100%;max-height:92vh;padding:1.25rem 1rem}.form-grid{gap:.75rem}.form-actions{justify-content:stretch}.form-actions button,.form-actions .btn{flex:1}input,select,textarea,.input{padding:.7rem .8rem;font-size:16px}.auth-layout{padding:2rem 1rem 1rem;align-items:flex-start}.auth-card{max-width:100%}.permissions-grid{grid-template-columns:1fr}.landing-nav{padding:.875rem 1rem}.landing-nav-actions{gap:.4rem}.landing-nav-actions button{padding:.5rem .75rem;font-size:.8rem;min-height:40px}.hero{padding:3rem 1rem 2rem}.hero-subtitle{font-size:1rem}.hero-actions{flex-direction:column;width:100%}.hero-cta{width:100%}.stats-strip{grid-template-columns:repeat(2,1fr)}.stat{padding:1.25rem 1rem}.stat-value{font-size:1.25rem}.features{padding:3rem 1rem}.features-grid{grid-template-columns:1fr;gap:1rem}.section-title{font-size:1.5rem;margin-bottom:2rem}.landing-cta{padding:3rem 1rem}.landing-cta h2{font-size:1.5rem}.landing-cta .hero-cta{width:100%}.payslip{margin:0;padding:1.25rem;border:none}.payslip-header{flex-direction:column}.payslip-table{min-width:unset}.payslip-table th,.payslip-table td{font-size:.8rem}}
