:root{--primary:#087584;--primary-glow:#08758466;--primary-light:#e0f2f1;--secondary:#10b981;--accent:#f59e0b;--danger:#ef4444;--background:#f1f5f9;--surface:#fff;--text-main:#0f172a;--text-muted:#64748b;--border:#e2e8f0;--sidebar:#0f172a;--shadow-sm:0 1px 2px 0 #0000000d;--shadow:0 4px 10px -1px #0000000d, 0 2px 4px -2px #0000000d;--shadow-md:0 12px 20px -5px #00000014, 0 8px 10px -6px #0000000d;--shadow-lg:0 30px 45px -10px #0000001f, 0 15px 20px -10px #00000014;--shadow-inner:inset 0 2px 4px 0 #0000000d;--glass:#ffffffb3;--glass-border:#fff6;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--radius-xl:36px}[data-theme=dark]{--background:#0b0f19;--surface:#111827;--text-main:#f8fafc;--text-muted:#9ca3af;--border:#1f2937;--sidebar:#0b0f19;--glass:#111827d9;--glass-border:#1f2937cc;--shadow-sm:0 1px 2px 0 #0006;--shadow:0 4px 10px -1px #0006;--shadow-md:0 12px 20px -5px #00000080;--shadow-lg:0 30px 45px -10px #0009}[data-theme=dark] body,[data-theme=dark] #root{color:#f8fafc!important;background-color:#0b0f19!important}[data-theme=dark] .card,[data-theme=dark] [style*="background: white" i],[data-theme=dark] [style*="background:'white'" i],[data-theme=dark] [style*="background-color: white" i],[data-theme=dark] [style*="background-color:'white'" i],[data-theme=dark] [style*=\#fff i],[data-theme=dark] [style*="255, 255, 255"],[data-theme=dark] [style*="255,255,255"],[data-theme=dark] [style*=\#f8fafc i],[data-theme=dark] [style*="248, 250, 252"],[data-theme=dark] [style*="248,250,252"],[data-theme=dark] [style*="border: 1px solid #E2E8F0" i],[data-theme=dark] [style*="border: 1px solid #e2e8f0" i],[data-theme=dark] [style*="border: 2px solid #E2E8F0" i],[data-theme=dark] [style*="border: 2px solid #e2e8f0" i],[data-theme=dark] [style*="226, 232, 240"]{color:#f8fafc!important;background-color:#111827!important;border-color:#1f2937!important}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea{color:#f8fafc!important;background-color:#1f2937!important;border-color:#374151!important}[data-theme=dark] select option{color:#f8fafc!important;background-color:#111827!important}[data-theme=dark] table{background-color:#0b1120!important;border-color:#1f2937!important}[data-theme=dark] thead tr,[data-theme=dark] thead th{color:#fff!important;background-color:#087584!important;border-color:#1f2937!important}[data-theme=dark] tbody tr,[data-theme=dark] tr[style*=borderBottom i],[data-theme=dark] tr[style*=border-bottom i]{background-color:#0b1120!important;border-bottom-color:#1f2937!important}[data-theme=dark] tbody tr:hover{background-color:#131d31!important}[data-theme=dark] td{color:#f8fafc!important;border-color:#1f2937!important}[data-theme=dark] td[style*="248, 250, 252"],[data-theme=dark] td[style*="248,250,252"],[data-theme=dark] td[style*=\#f8fafc i],[data-theme=dark] td[style*="255, 255, 255"],[data-theme=dark] td[style*="255,255,255"],[data-theme=dark] td[style*=white i]{background-color:#0b1120!important;border-color:#ffffff0d!important}[data-theme=dark] [style*=\#1E293B i],[data-theme=dark] [style*="30, 41, 59"],[data-theme=dark] [style*=\#0F172A i],[data-theme=dark] [style*="15, 23, 42"],[data-theme=dark] [style*=\#334155 i],[data-theme=dark] [style*="51, 65, 85"],[data-theme=dark] [style*=\#374151 i],[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] h5{color:#f8fafc!important}[data-theme=dark] [style*=\#475569 i],[data-theme=dark] [style*="71, 85, 105"],[data-theme=dark] [style*=\#64748B i],[data-theme=dark] [style*="100, 116, 139"],[data-theme=dark] [style*=\#94A3B8 i],[data-theme=dark] [style*="148, 163, 184"]{color:#94a3b8!important}[data-theme=dark] [style*=\#f1f5f9 i],[data-theme=dark] [style*="241, 245, 249"],[data-theme=dark] [style*="241,245,249"],[data-theme=dark] [style*=\#e2e8f0 i],[data-theme=dark] [style*="226, 232, 240"],[data-theme=dark] [style*="226,232,240"],[data-theme=dark] [style*=\#cbd5e1 i],[data-theme=dark] [style*="203, 213, 225"],[data-theme=dark] [style*="203,213,225"],[data-theme=dark] [style*=\#f0f4f8 i],[data-theme=dark] [style*="240, 244, 248"]{color:#e2e8f0!important;background-color:#1a2233!important;border-color:#2d3748!important}[data-theme=dark] [style*=\#fef2f2 i],[data-theme=dark] [style*="254, 242, 242"],[data-theme=dark] [style*="254,242,242"],[data-theme=dark] [style*=\#fee2e2 i],[data-theme=dark] [style*="254, 226, 226"],[data-theme=dark] [style*="254,226,226"]{color:#f87171!important;background-color:#ef444426!important;border-color:#ef444440!important}[data-theme=dark] [style*=\#eff6ff i],[data-theme=dark] [style*="239, 246, 255"],[data-theme=dark] [style*="239,246,255"]{color:#60a5fa!important;background-color:#2563eb26!important;border-color:#2563eb40!important}[data-theme=dark] [style*=\#fef3c7 i],[data-theme=dark] [style*="254, 243, 199"],[data-theme=dark] [style*="254,243,199"],[data-theme=dark] [style*=\#fffbeb i],[data-theme=dark] [style*="255, 251, 235"]{color:#fbbf24!important;background-color:#f59e0b26!important;border-color:#f59e0b40!important}[data-theme=dark] [style*=\#f0fdf4 i],[data-theme=dark] [style*="240, 253, 244"],[data-theme=dark] [style*="240,253,244"],[data-theme=dark] [style*=\#dcfce7 i],[data-theme=dark] [style*="220, 252, 231"]{color:#34d399!important;background-color:#10b9811f!important;border-color:#10b98140!important}[data-theme=dark] [style*=\#f0fdfa i],[data-theme=dark] [style*="240, 253, 250"],[data-theme=dark] [style*="240,253,250"],[data-theme=dark] [style*=\#ccfbf1 i],[data-theme=dark] [style*="204, 251, 241"],[data-theme=dark] [style*=\#e0f2f1 i],[data-theme=dark] [style*="224, 242, 241"],[data-theme=dark] [style*=\#e6f4f1 i]{color:#4db6ac!important;background-color:#08758426!important;border-color:#08758440!important}[data-theme=dark] [style*=\#f5f3ff i],[data-theme=dark] [style*="245, 243, 255"],[data-theme=dark] [style*=\#ede9fe i]{color:#c4b5fd!important;background-color:#8b5cf626!important;border-color:#8b5cf640!important}[data-theme=dark] [style*=\#fff7ed i],[data-theme=dark] [style*="255, 247, 237"],[data-theme=dark] [style*=\#ffedd5 i],[data-theme=dark] [style*="255, 237, 213"]{background-color:#ea580c1f!important;border-color:#ea580c33!important}[data-theme=dark] [style*="border: 1px solid #F1F5F9" i],[data-theme=dark] [style*="border: 1px solid #CBD5E1" i],[data-theme=dark] [style*="border: 2px solid #E2E8F0" i],[data-theme=dark] [style*="border-bottom: 1px solid #E2E8F0" i],[data-theme=dark] [style*="border-bottom: 2px solid #E2E8F0" i],[data-theme=dark] [style*="border-bottom: 1px solid #F1F5F9" i],[data-theme=dark] [style*="border-top: 1px solid #E2E8F0" i],[data-theme=dark] [style*="border-top: 1px solid #F1F5F9" i]{border-color:#2d3748!important}[data-theme=dark] [style*="background: rgba(0,0,0,0.5)"],[data-theme=dark] [style*="background: rgba(0, 0, 0, 0.5)"],[data-theme=dark] [style*="background: rgba(0,0,0,0.6)"],[data-theme=dark] [style*="background: rgba(15, 23, 42, 0.6)"]{background-color:#000000bf!important}[data-theme=dark] [style*="background: linear-gradient(135deg, #f8fafc" i],[data-theme=dark] [style*="background: linear-gradient(to bottom, #f8fafc" i]{background:linear-gradient(135deg,#111827,#1a2332)!important}[data-theme=dark] [style*="color: #374155" i],[data-theme=dark] [style*="color: #475569" i],[data-theme=dark] [style*="color: #CBD5E1" i],[data-theme=dark] [style*="color: #4B5563" i]{color:#94a3b8!important}[data-theme=dark] [style*="color: #087584" i]{color:#4db6ac!important}[data-theme=dark] thead th.no-dark-override{background-color:inherit!important;color:inherit!important}[data-theme=dark] ::-webkit-scrollbar-thumb{border-radius:8px;background:#475569!important}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#38bdf8!important}[data-theme=dark] ::-webkit-scrollbar-track{background:#ffffff0a}[data-theme=dark] .shimmer{background:linear-gradient(90deg,#1e293b 25%,#2d3748 50%,#1e293b 75%) 0 0/200% 100%!important}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html{background-color:var(--background);height:100%;min-height:100%}body{background-color:var(--background);color:var(--text-main);-webkit-font-smoothing:antialiased;zoom:.9;min-height:111.111vh;font-family:Outfit,sans-serif;line-height:1.6;overflow-x:hidden}#root{flex-direction:column;min-height:111.111vh;display:flex}@media (width<=1024px){html{-webkit-overflow-scrolling:touch!important;height:auto!important;min-height:100%!important;overflow-y:auto!important}body{zoom:1!important;-webkit-overflow-scrolling:touch!important;height:auto!important;min-height:100vh!important;overflow:hidden auto!important}#root{height:auto!important;min-height:100vh!important;overflow-y:visible!important}}h1,h2,h3,h4{letter-spacing:-.025em;font-weight:800}button{cursor:pointer;border:none;font-family:inherit;transition:all .2s cubic-bezier(.4,0,.2,1)}button:active{transform:scale(.96)}.card{background:var(--surface);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);padding:24px;transition:all .3s}.card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.glass{background:var(--glass);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border)}.safe-area{padding:24px}*{scrollbar-width:thin;scrollbar-color:#64748b #0000000d}[data-theme=dark] *{scrollbar-color:#475569 #ffffff0a}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#0000000d;border-radius:8px}::-webkit-scrollbar-thumb{background:#94a3b8 padding-box content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background:#087584}[style*="overflow-x: auto"],[style*="overflowX: 'auto'"],[style*="overflowX: auto"]{overscroll-behavior-y:auto}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-up{animation:.5s forwards slideUp}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.98)}to{opacity:1;transform:scale(1)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-10px)}to{transform:translateY(0)}}.animate-spin{animation:1s linear infinite spin}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.animate-float{animation:3s ease-in-out infinite float}.shimmer{background:linear-gradient(90deg,#f1f5f9 25%,#e2e8f0 50%,#f1f5f9 75%) 0 0/200% 100%;animation:1.5s infinite shimmer}.status-badge{text-transform:uppercase;border-radius:20px;padding:4px 12px;font-size:.75rem;font-weight:700}.badge-success{color:#166534;background:#dcfce7}.badge-warning{color:#854d0e;background:#fef9c3}.badge-danger{color:#991b1b;background:#fee2e2}.badge-primary{color:#3730a3;background:#e0e7ff}.input-glow:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-glow)}.app-container{background:var(--surface);max-width:450px;min-height:100vh;margin:0 auto;position:relative;box-shadow:0 0 60px #0000000d}.tab-nav{background:var(--glass);-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-top:1px solid var(--border);z-index:1000;justify-content:space-between;width:100%;max-width:450px;padding:12px 24px 28px;display:flex;position:fixed;bottom:0}@page{size:A4;margin:15mm 12mm}@media print{html,body{zoom:1!important;color:#000!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#fff!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;font-size:12pt!important;overflow:visible!important}#root{height:auto!important;display:block!important;overflow:visible!important}aside,aside *,header,header *,nav,nav *,.tab-nav,.no-print,.no-print *,.no-print-area,.no-print-area *,.client-tab-bar,.quick-actions,.scanner-area,[role=button]{visibility:hidden!important;display:none!important}.print-only-header{visibility:visible!important;display:block!important}body>div,#root>div,#root>div>div{flex-direction:unset!important;width:100%!important;height:auto!important;max-height:none!important;display:block!important;position:static!important;overflow:visible!important}main{flex:unset!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}button,[role=button]{display:none!important}*{box-shadow:none!important;text-shadow:none!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}thead tr,thead th{color:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#087584!important}.card{break-inside:avoid;page-break-inside:avoid;box-shadow:none!important;border:1px solid #e2e8f0!important;border-radius:8px!important;height:auto!important;max-height:none!important;margin-bottom:16px!important;padding:12px!important;overflow:visible!important}table{border-collapse:collapse!important;width:100%!important;margin-top:12px!important;overflow:visible!important}th,td{color:#000!important;background:0 0!important;border:1px solid #ddd!important;padding:6px 10px!important;font-size:9pt!important}thead th{color:#fff!important;text-transform:uppercase!important;letter-spacing:.3px!important;background:#087584!important;font-size:8.5pt!important;font-weight:700!important}tfoot td,tfoot th{color:#087584!important;background:#f1f5f9!important;border-top:2px solid #087584!important;font-weight:700!important;position:static!important}thead{position:static!important}div[style*=overflow]{height:auto!important;max-height:none!important;overflow:visible!important}tr,.card{break-inside:avoid;page-break-inside:avoid!important}h1,h2,h3{break-after:avoid;page-break-after:avoid}.modal-print-container{width:100%!important;height:auto!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important;margin:0!important;padding:0!important;display:block!important;position:static!important;top:0!important;left:0!important;overflow:visible!important;transform:none!important}body:has(#invoice-print) *{visibility:hidden!important}:is(body:has(#invoice-print) #invoice-print,body:has(#invoice-print) #invoice-print *){visibility:visible!important}body:has(#invoice-print) #invoice-print{width:100%!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:fixed!important;top:0!important;left:0!important;overflow:visible!important}body:has(.pos-receipt) *{visibility:hidden!important}:is(body:has(.pos-receipt) .pos-receipt,body:has(.pos-receipt) .pos-receipt *){visibility:visible!important}body:has(.pos-receipt) .pos-receipt{width:80mm!important;margin:0 auto!important;display:block!important;position:fixed!important;top:0!important;left:0!important}body:has(#voucher-printable-area) *{visibility:hidden}:is(body:has(#voucher-printable-area) #voucher-printable-area,body:has(#voucher-printable-area) #voucher-printable-area *){visibility:visible!important}body:has(#voucher-printable-area) #voucher-printable-area{background:#fff!important;width:100%!important;margin:0!important;padding:0!important;display:block!important;position:fixed!important;top:0!important;left:0!important}input,select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none!important;color:#000!important;background:0 0!important;border:none!important;padding:0!important;font-weight:700!important}.print-grid-reset{grid-template-columns:1fr!important;display:block!important}.print-wide{width:100%!important;max-width:100%!important}}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{appearance:textfield}table{border-collapse:separate!important;border-spacing:0!important}thead{z-index:25!important;position:sticky!important;top:0!important}thead tr{background:#087584!important}thead th,.ledger-table thead th,.accounts-table thead th{padding:13px 16px;z-index:25!important;color:#fff!important;text-transform:uppercase!important;letter-spacing:.04em!important;box-shadow:none!important;background-color:#087584!important;background-image:none!important;border:none!important;font-size:.74rem!important;font-weight:800!important;position:sticky!important;top:0!important}[data-theme=dark] thead tr{background:#087584!important}[data-theme=dark] thead th,[data-theme=dark] .ledger-table thead th,[data-theme=dark] .accounts-table thead th{color:#fff!important;box-shadow:none!important;background-color:#087584!important;background-image:none!important;border:none!important}thead tr:first-child th:first-child,.ledger-table thead tr:first-child th:first-child,.accounts-table thead tr:first-child th:first-child{border-top-left-radius:14px!important}thead tr:first-child th:last-child,.ledger-table thead tr:first-child th:last-child,.accounts-table thead tr:first-child th:last-child{border-top-right-radius:14px!important}.table-responsive,.table-container,[id*=table-scroll]{-webkit-overflow-scrolling:touch!important;overflow:auto!important}tfoot{z-index:24!important;position:sticky!important;bottom:0!important}tfoot tr{z-index:24!important;background:#f8fafc!important;position:sticky!important;bottom:0!important}tfoot td,tfoot th{z-index:24!important;background:#f8fafc!important;position:sticky!important;bottom:0!important;box-shadow:0 -3px 8px #00000014!important}[data-theme=dark] tfoot tr,[data-theme=dark] tfoot td,[data-theme=dark] tfoot th{color:#f8fafc!important;background:#1e293b!important;box-shadow:0 -3px 8px #0000004d!important}
