@charset "UTF-8";:root,[data-theme=light]{--bg-primary: #f6f8fc;--bg-secondary: #ffffff;--bg-tertiary: #eef2f8;--bg-hover: #e2e8f0;--bg-sidebar: #16213a;--bg-sidebar-hover: #233152;--bg-sidebar-active: #2563eb;--text-primary: #1e293b;--text-secondary: #475569;--text-muted: #8896ab;--text-sidebar: #cbd5e1;--text-sidebar-active: #ffffff;--border-color: #e3e8f0;--border-light: #eef2f8;--accent: #2563eb;--accent-hover: #1d4ed8;--accent-light: #dbeafe;--accent-text: #1d4ed8;--ring: rgba(37, 99, 235, .3);--success: #10b981;--success-light: #d1fae5;--success-hover: #059669;--danger: #ef4444;--danger-light: #fee2e2;--danger-hover: #dc2626;--warning: #f59e0b;--warning-light: #fef3c7;--warning-text: #b45309;--purple: #8b5cf6;--purple-light: #ede9fe;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow-md: 0 4px 12px -2px rgba(15, 23, 42, .08), 0 2px 4px -2px rgba(15, 23, 42, .06);--shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, .14), 0 4px 8px -4px rgba(15, 23, 42, .08);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--radius-xl: 16px}[data-theme=dark]{--bg-primary: #0b1220;--bg-secondary: #131e31;--bg-tertiary: #1c2a42;--bg-hover: #283a5a;--bg-sidebar: #0a101c;--bg-sidebar-hover: #182539;--bg-sidebar-active: #2563eb;--text-primary: #eef2f9;--text-secondary: #c3cfe1;--text-muted: #8294b0;--text-sidebar: #94a3bd;--text-sidebar-active: #ffffff;--border-color: #243450;--border-light: #1a2740;--accent: #3b82f6;--accent-hover: #60a5fa;--accent-light: #1d3357;--accent-text: #9ec5fd;--ring: rgba(96, 165, 250, .4);--success: #10b981;--success-light: #0a3d31;--success-hover: #34d399;--danger: #f87171;--danger-light: #45191c;--danger-hover: #fca5a5;--warning: #f59e0b;--warning-light: #3a2a0a;--warning-text: #fbbf24;--purple: #a78bfa;--purple-light: #2e1065;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);--shadow-md: 0 4px 12px -2px rgba(0, 0, 0, .45), 0 2px 4px -2px rgba(0, 0, 0, .35);--shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, .55), 0 4px 8px -4px rgba(0, 0, 0, .4)}*{padding:0;margin:0;box-sizing:border-box}html{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent);color:#fff}.print-only{display:none!important}.simple-button{background:var(--accent);color:#fff;padding:.5rem 1rem;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:.875rem;font-weight:500;transition:background .2s,transform .1s}.simple-button:hover{background:var(--accent-hover)}.simple-button:active{transform:scale(.98)}@media print{@page{size:80mm auto;margin:0}html,body{margin:0!important;padding:0!important;background:#fff!important;color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body *{visibility:hidden}.billing-container,.billing-container *{visibility:visible}.billing-container{position:absolute;left:0;top:0;width:80mm;max-width:80mm;padding:3mm 2mm;margin:0;box-sizing:border-box;font-family:Courier New,Consolas,monospace;color:#000;box-shadow:none!important;border:none!important;background:#fff!important}.screen-only{display:none!important}.print-only{display:revert!important}.print\:hidden{display:none!important}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-tertiary)}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}.print-header,.print-totals,.print-footer{display:none}.print-title{font-size:20px;font-weight:700;color:#1f2937}.print-subtitle{font-size:12px;color:#6b7280}@media print{.page-header,.scanner-section,.cart-toolbar,.billing-total .totals-grid,.billing-total .payment-panel,.billing-actions,.empty-state,.modal-overlay,.col-code,.code-cell{display:none!important}.billing-page{padding:0!important;margin:0!important;max-width:none!important;background:#fff!important}.receipt-section,.receipt-card{background:#fff!important;border:none!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important}.print-header{display:block;text-align:center;margin-bottom:6px;padding-bottom:5px;border-bottom:1px dashed #000}.print-title{font-family:Courier New,Consolas,monospace;font-size:13px!important;font-weight:700;color:#000!important;margin:0;letter-spacing:.5px}.print-subtitle{font-size:10px!important;color:#000!important;margin:1px 0}.print-date{font-size:10px;margin-top:2px}.billing-table-wrapper{overflow:visible!important;border:none!important;border-radius:0!important}.billing-table{width:100%!important;border-collapse:collapse!important;font-family:Courier New,Consolas,monospace;font-size:10px!important;margin:0}.billing-table thead th{border-top:1px dashed #000!important;border-bottom:1px dashed #000!important;padding:2px!important;font-size:10px!important;font-weight:700!important;color:#000!important;background:#fff!important;text-align:left}.billing-table tbody tr{background:#fff!important;border:none!important}.billing-table td{padding:2px!important;font-size:10px!important;color:#000!important;background:#fff!important;border:none!important;vertical-align:top!important;line-height:1.25!important}.billing-table .product-name-cell{text-align:left!important;max-width:none!important;white-space:normal!important;word-break:break-word;font-weight:500}.billing-table .text-center{text-align:center!important}.billing-table .text-right{text-align:right!important}.billing-table .price-cell{text-align:right!important;font-weight:700}.billing-table .col-qty{width:10mm}.billing-table .col-price{width:14mm}.billing-table .col-total{width:18mm}.print-totals{display:block;font-family:Courier New,Consolas,monospace;margin-top:4px;padding-top:4px;border-top:1px dashed #000;font-size:11px;color:#000}.print-totals .print-line{display:flex;justify-content:space-between;padding:1px 0}.print-totals .print-line.grand{font-weight:700;font-size:12px;border-top:1px dashed #000;padding-top:3px;margin-top:3px}.print-line.grand.loan-line{color:#000!important}.print-footer{display:block;text-align:center;font-family:Courier New,Consolas,monospace;font-size:10px;color:#000;margin-top:8px;padding-top:5px;border-top:1px dashed #000}.print-footer p{margin:0}*{box-shadow:none!important;text-shadow:none!important}}
