:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--navy:#0f172a;--navy-soft:#162033;--teal:#10b981;--blue:#2563eb;--yellow:#d97706;--red:#dc2626;--line:#e2e8f0;--muted:#64748b;--panel:#fff;--workspace:#f8fafc;background:#f8fafc;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--workspace)}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{background:var(--workspace);min-height:100vh;display:flex}.sidebar{z-index:30;background:var(--navy);color:#e2e8f0;flex-direction:column;width:240px;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(0)}.sidebar-brand{border-bottom:1px solid #94a3b824;align-items:center;gap:12px;min-height:68px;padding:16px;display:flex}.brand-mark{background:#fff;border:1px solid #e2e8f0d1;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid;overflow:hidden;box-shadow:0 8px 18px #0f172a24}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.sidebar-brand strong{color:#fff;font-size:15px;display:block}.sidebar-brand span{color:#cbd5e1;margin-top:2px;font-size:11px;display:block}.sidebar-close{margin-left:auto;display:none}.sidebar-nav{flex:1;padding:12px 8px;overflow-y:auto}.nav-group{margin-bottom:2px}.nav-item,.nav-child{color:#f8fafc;text-align:left;background:0 0;border:0;border-radius:8px;width:100%;transition:background .16s,color .16s}.nav-item{align-items:center;gap:12px;padding:10px 12px;display:flex}.nav-item:hover,.nav-child:hover{background:#94a3b81f}.nav-active{color:#34d399;background:#10b98124}.nav-chevron{margin-left:auto;transition:transform .16s}.nav-chevron-open{transform:rotate(90deg)}.nav-children{gap:2px;margin:2px 0 6px 34px;display:grid}.nav-child{color:#cbd5e1;padding:8px 10px;font-size:13px}.nav-child-active{color:#34d399;background:#10b9811f}.sidebar-user{border-top:1px solid #94a3b824;padding:16px 24px 20px}.sidebar-user span,.sidebar-user small{color:#94a3b8;font-size:11px;display:block}.sidebar-user small{margin-top:4px}.logout-button{color:#cbd5e1;background:0 0;border:0;align-items:center;gap:10px;width:100%;margin-top:18px;padding:8px 0;display:flex}.secondary-logout-button{color:#94a3b8;margin-top:12px}.workspace{width:100%;min-width:0;margin-left:240px;padding:24px}.page{width:100%;max-width:1280px;margin:0 auto}.page-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.page-header h1{color:#0f172a;margin:0;font-size:24px;line-height:32px}.page-header p{color:#475569;margin:4px 0 0;font-size:14px}.mobile-menu{z-index:10;color:#fff;background:#1f2937;margin-bottom:14px;display:none;position:sticky;top:12px;box-shadow:0 8px 18px #0f172a2e}.workspace-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.workspace-toolbar-active{margin-bottom:14px}.workspace-toolbar .mobile-menu{margin-bottom:0;position:static}.notification-wrap{margin-left:auto;position:relative}.notification-button{color:#2563eb;background:#fff;border:1px solid #dbeafe;border-radius:10px;place-items:center;width:42px;height:42px;display:inline-grid;position:relative;box-shadow:0 8px 20px #0f172a14}.notification-button:hover{background:#eff6ff}.notification-button span{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:999px;place-items:center;min-width:21px;height:21px;padding:0 5px;font-size:10px;font-weight:800;display:grid;position:absolute;top:-7px;right:-7px}.notification-menu{z-index:25;background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:min(380px,100vw - 32px);position:absolute;top:calc(100% + 10px);right:0;overflow:hidden;box-shadow:0 20px 55px #0f172a2e}.notification-head{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.notification-head div{gap:2px;display:grid}.notification-head strong{font-size:15px}.notification-head span,.notification-empty{color:#64748b;font-size:12px}.mark-read-button,.notification-read-button{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border:0;border-radius:8px;font-size:11px;font-weight:800}.mark-read-button{padding:8px 10px}.mark-read-button:disabled{cursor:default;opacity:.45}.notification-list{max-height:420px;display:grid;overflow-y:auto}.notification-item{color:#0f172a;text-align:left;background:#fff;border:0;border-bottom:1px solid #f8fafc;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;display:grid}.notification-item-unread{background:#f8fbff;box-shadow:inset 3px 0 #2563eb}.notification-item-read{opacity:.72}.notification-item:hover,.notification-main:hover{background:#f8fafc}.notification-main{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 0 12px 14px;display:grid}.notification-icon{border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.notification-pending{color:#d97706;background:#fffbeb}.notification-order{color:#047857;background:#ecfdf5}.notification-invoice{color:#2563eb;background:#eff6ff}.notification-return{color:#7c3aed;background:#ede9fe}.notification-copy{gap:2px;min-width:0;display:grid}.notification-copy strong,.notification-copy small,.notification-copy em{overflow-wrap:anywhere}.notification-copy strong{font-size:13px}.notification-copy small,.notification-copy em{color:#64748b;font-size:12px;font-style:normal}.notification-read-button{margin-right:14px;padding:7px 9px}.notification-read-button:hover,.mark-read-button:not(:disabled):hover{background:#dbeafe}.notification-read-text{color:#94a3b8;margin-right:14px;font-size:11px;font-weight:800}.notification-empty{margin:0;padding:18px 16px}.section-label{color:#94a3b8;letter-spacing:.04em;text-transform:uppercase;margin:14px 0 8px;font-size:12px;font-weight:700}.metric-grid{gap:12px;margin-bottom:18px;display:grid}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.metric-card{border:1px solid;border-radius:12px;min-height:100px;padding:16px}.metric-head{justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:600;display:flex}.metric-card strong{margin-top:10px;font-size:22px;line-height:28px;display:block}.metric-card small{color:#64748b;margin-top:6px;font-size:12px;display:block}.metric-green{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.metric-blue{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.metric-yellow{color:#d97706;background:#fffbeb;border-color:#fde68a}.metric-red{color:#dc2626;background:#fef2f2;border-color:#fecaca}.metric-gray{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.metric-indigo{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.dashboard-filter{align-items:center;gap:10px;display:flex}.dashboard-filter span{color:#475569;white-space:nowrap;font-size:13px;font-weight:800}.dashboard-filter select{width:auto;min-width:190px}.dashboard-grid,.dashboard-list-grid{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:16px;margin-top:16px;display:grid}.dashboard-list-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:24px}.card,.table-card,.settings-card{background:var(--panel);border:1px solid #f1f5f9;border-radius:12px;width:100%;min-width:0;box-shadow:0 1px 2px #0f172a0d}.card-header{justify-content:space-between;align-items:center;gap:12px;padding:16px 16px 0;display:flex}.card-header h2{margin:0;font-size:16px;line-height:24px}.card-body{padding:16px}.summary-row{color:#475569;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.summary-row strong{color:#0f172a}.salary-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.salary-progress{gap:12px;display:grid}.salary-progress-values,.salary-progress-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.salary-progress-values strong{color:#0f172a;font-size:20px}.salary-progress-values span,.salary-progress-footer{color:#64748b;font-size:13px}.salary-progress-footer strong{color:#334155;font-size:13px}.salary-progress-track{background:#e2e8f0;border-radius:6px;width:100%;height:12px;overflow:hidden}.salary-progress-fill{border-radius:inherit;height:100%;transition:width .24s;display:block}.salary-progress-green{background:#16a34a}.salary-progress-blue{background:#2563eb}.summary-divider{background:#e2e8f0;height:1px;margin:8px 0}.text-green{color:#059669!important}.text-red{color:#dc2626!important}.list-line{justify-content:space-between;align-items:flex-start;gap:16px;padding-top:8px;display:flex}.list-line>div:first-child{min-width:0}.list-line strong,.list-line span{display:block}.list-line span{color:#475569;margin-top:2px;font-size:12px}.list-line-right{justify-items:end;gap:6px;display:grid}.link-button,.table-link{color:#059669;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.table-link{color:#0f172a;font-weight:700}.action-row,.filter-row,.date-row,.report-toolbar{flex-wrap:wrap;align-items:center;gap:10px;max-width:100%;display:flex}.primary-button,.secondary-button,.filter-button{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 12px;font-size:14px;font-weight:700;display:inline-flex}.primary-button{color:#fff;background:#059669}.primary-button:hover{background:#047857}.secondary-button,.filter-button{color:#334155;background:#fff;border-color:#cbd5e1}.filter-button{color:#475569}.filter-select{width:auto;min-width:150px}.danger-button{background:#dc2626}.danger-button:hover{background:#b91c1c}.danger-text{color:#dc2626}.wide{width:100%}.search-wrap{color:#94a3b8;background:#fff;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:10px;width:min(360px,100%);margin-bottom:14px;padding:0 12px;display:flex}.search-wrap input{border:0;outline:none;width:100%;min-width:0;height:40px}.table-card{-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:760px}th,td{text-align:left;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 16px}th{color:#64748b;letter-spacing:.03em;background:#f8fafc;font-size:12px;font-weight:800}td{font-size:14px}td small{color:#64748b;margin-top:2px;display:block}.two-line-cell{gap:2px;min-width:0;display:grid}.two-line-cell strong,.two-line-cell small{overflow-wrap:anywhere;white-space:normal;min-width:0}.two-line-cell strong{color:#0f172a}.sales-table table{table-layout:fixed;min-width:0}.sales-table th,.sales-table td{padding:12px 10px}.sales-table td{white-space:normal}.sales-table .row-actions{min-width:74px}.sales-orders-table th:first-child,.sales-orders-table td:first-child,.invoices-table th:first-child,.invoices-table td:first-child{width:15%}.sales-orders-table th:nth-child(2),.sales-orders-table td:nth-child(2),.invoices-table th:nth-child(2),.invoices-table td:nth-child(2){width:22%}.sales-orders-table th:nth-child(3),.sales-orders-table td:nth-child(3),.invoices-table th:nth-child(3),.invoices-table td:nth-child(3){width:12%}.sales-orders-table th:nth-child(4),.sales-orders-table td:nth-child(4),.invoices-table th:nth-child(4),.invoices-table td:nth-child(4){width:10%}.sales-orders-table th:nth-child(5),.sales-orders-table td:nth-child(5),.invoices-table th:nth-child(5),.invoices-table td:nth-child(5){width:15%}.sales-orders-table th:nth-child(6),.sales-orders-table td:nth-child(6),.invoices-table th:nth-child(6),.invoices-table td:nth-child(6){width:12%}.sales-orders-table th:nth-child(7),.sales-orders-table td:nth-child(7),.invoices-table th:nth-child(7),.invoices-table td:nth-child(7){text-align:right;width:14%}tr:last-child td{border-bottom:0}.row-actions{justify-content:flex-end;align-items:center;gap:4px;min-width:84px;display:inline-flex}.row-action{color:#64748b;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:30px;display:inline-grid}.row-action-gray:hover{color:#334155;background:#f1f5f9}.row-action-green:hover{color:#047857;background:#ecfdf5}.row-action-blue:hover{color:#2563eb;background:#eff6ff}.row-action-red:hover{color:#dc2626;background:#fef2f2}.empty-cell{color:#64748b;text-align:center;padding:36px 16px}.badge{border:1px solid;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:2px 8px;font-size:12px;font-weight:700;display:inline-flex}.badge-green{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.badge-blue{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.badge-yellow{color:#d97706;background:#fffbeb;border-color:#fde68a}.badge-red{color:#dc2626;background:#fef2f2;border-color:#fecaca}.badge-gray{color:#475569;background:#f8fafc;border-color:#e2e8f0}.badge-indigo{color:#4f46e5;background:#eef2ff;border-color:#c7d2fe}.mini-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.mini-metric{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px}.mini-metric span,.record-count,.muted{color:#64748b;font-size:13px}.mini-metric strong{margin-top:4px;font-size:18px;display:block}.tabs{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.tabs button{color:#475569;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:9px 12px;font-weight:700}.tabs .tab-active{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.date-row,.report-toolbar{margin-bottom:14px}.expense-toolbar{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:16px;display:flex}.expense-date-filter{gap:5px;display:grid}.expense-date-filter span{color:#475569;font-size:12px;font-weight:700}.expense-date-filter input{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:38px;padding:7px 10px}.expense-records{gap:14px;margin-top:20px;display:grid}.expense-records .section-label{margin:8px 0 -4px}.daily-expense-report-title{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.daily-expense-report-title h2{margin:0;font-size:20px;line-height:28px}.daily-expense-report-title span{color:#475569;font-weight:800}.daily-expense-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.daily-expense-report-table table{table-layout:fixed;min-width:720px}.daily-expense-report-table th:first-child,.daily-expense-report-table td:first-child,.daily-expense-report-table th:nth-child(3),.daily-expense-report-table td:nth-child(3){text-align:right;width:18%}.daily-expense-report-table th:nth-child(2),.daily-expense-report-table td:nth-child(2),.daily-expense-report-table th:nth-child(4),.daily-expense-report-table td:nth-child(4){white-space:normal;width:32%}.daily-expense-report-table tfoot td{color:#0f172a;background:#f8fafc;font-weight:800}.mpo-report-sheet{background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;padding:22px;box-shadow:0 1px 2px #0f172a0d}.mpo-report-letterhead{color:#0f172a;border-bottom:2px solid #0f172a;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:16px;margin-bottom:18px;padding-bottom:16px;display:grid}.mpo-report-letterhead img{object-fit:contain;width:68px;height:68px}.mpo-report-letterhead h1{color:#166534;margin:0;font-size:28px;line-height:34px}.mpo-report-letterhead p{margin:0 0 4px;font-weight:800}.mpo-report-letterhead span{color:#475569;font-size:12px;line-height:18px;display:block}.mpo-report-title{color:#0f172a;text-align:center;justify-items:center;gap:4px;margin-bottom:18px;display:grid}.mpo-report-title h2{margin:0;font-size:22px;line-height:30px}.mpo-report-title span{color:#475569;font-size:15px;font-weight:800}.print-only{display:none!important}.stock-report-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.stock-report-table th,.stock-report-table td{text-align:left;vertical-align:top}.stock-report-table th:nth-child(2),.stock-report-table td:nth-child(2){white-space:normal;overflow-wrap:break-word;word-break:break-word}.stock-report-table table{table-layout:fixed;width:100%}.stock-col-code{width:9%}.stock-col-product{width:39%}.stock-col-unit{width:7%}.stock-col-opening{width:11%}.stock-col-qty{width:12%}.stock-col-cost,.stock-col-sales{width:11%}.stock-report-table th:nth-child(5),.stock-report-table th:nth-child(6),.stock-report-table th:nth-child(7),.stock-report-table th:nth-child(4),.stock-report-table td:nth-child(5),.stock-report-table td:nth-child(6),.stock-report-table td:nth-child(7),.stock-report-table td:nth-child(4){text-align:right}.stock-wise-band{text-align:center;border:1px solid #111827;border-bottom:0;margin-bottom:0;display:grid;overflow:hidden}.stock-wise-band strong,.stock-wise-band span{margin:0;padding:4px 8px}.stock-wise-band strong{color:#063016;background:#16a34a;font-size:13px}.stock-wise-band span{color:#111827;background:#0ea5e9;font-size:12px;font-weight:800}.stock-wise-report-table{border-radius:0;overflow-x:auto}.stock-wise-report-table table{border-collapse:collapse;min-width:1040px}.stock-wise-report-table th,.stock-wise-report-table td{color:#111827;text-align:center;white-space:nowrap;border:1px solid #111827;padding:5px 7px;font-size:11px;line-height:1.15}.stock-wise-report-table thead th{color:#fff;text-transform:uppercase;background:#ef1b1b;font-size:10px;font-weight:800}.stock-wise-report-table tbody td:first-child{background:#fff3bf}.stock-wise-report-table tbody td:nth-child(2){text-align:left;background:#fee9a6;min-width:170px;font-weight:800}.stock-wise-report-table tbody tr:nth-child(2n) td:nth-child(2){background:#fff}.stock-wise-report-table tbody td:nth-child(n+3){background:#dbe7f5}.stock-wise-report-table tbody td:nth-last-child(5),.stock-wise-report-table tbody td:nth-last-child(4){background:#d1d5db}.stock-wise-report-table tbody td:nth-last-child(3){background:#a8d38b}.stock-wise-report-table tbody td:nth-last-child(2){background:#f7c9ae}.stock-wise-report-table tbody td:last-child{background:#cfe4f4;font-weight:800}.stock-wise-report-table tfoot td{background:#cfe4f4;border-top:2px solid #111827;font-weight:900}.stock-wise-report-table tfoot td:first-child{text-align:right}.customer-report-title{text-align:center;justify-items:center;gap:4px;margin-bottom:16px;display:grid}.customer-report-title h2{color:#0f172a;margin:0;font-size:24px;line-height:30px}.customer-report-title span{color:#475569;font-size:14px;font-weight:800}.customer-report-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.customer-performance-card{background:#f8fafc;border:1px solid #dbe2ea;border-radius:8px;gap:10px;margin-bottom:16px;padding:14px;display:grid}.performance-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.performance-head span{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:800;display:block}.performance-head strong{color:#0f172a;font-size:24px}.performance-label{text-transform:uppercase;border-radius:6px;padding:7px 10px;font-size:12px}.performance-red{color:#991b1b;background:#fee2e2}.performance-yellow{color:#92400e;background:#fef3c7}.performance-green{color:#166534;background:#dcfce7}.performance-meter{border:1px solid #0f172a;border-radius:999px;grid-template-columns:59fr 16fr 25fr;height:18px;display:grid;position:relative;overflow:visible}.performance-meter span:first-child{border-radius:999px 0 0 999px}.performance-meter span:nth-child(3){border-radius:0 999px 999px 0}.performance-meter i{color:#0f172a;text-align:center;background:#fff;border:2px solid #0f172a;border-radius:999px;width:20px;height:20px;font-size:13px;font-style:normal;font-weight:900;line-height:16px;position:absolute;top:-11px;transform:translate(-50%)}.performance-scale-labels{color:#475569;grid-template-columns:59fr 16fr 25fr;gap:8px;font-size:11px;font-weight:800;display:grid}.performance-scale-labels span:first-child{color:#991b1b}.performance-scale-labels span:nth-child(2){color:#92400e;text-align:center}.performance-scale-labels span:nth-child(3){color:#166534;text-align:right}.report-empty-state{color:#475569;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:28px 18px;font-size:14px;font-weight:800}.customer-performance-card p{color:#475569;margin:0;font-size:13px}.customer-wise-table table{min-width:720px}.customer-wise-table th,.customer-wise-table td{text-align:right}.customer-wise-table th:first-child,.customer-wise-table td:first-child{text-align:left}.customer-wise-table thead th{color:#0f172a;background:#e0f2fe}.customer-wise-table tfoot td{background:#f8fafc;border-top:2px solid #0f172a;font-weight:900}.mpo-report-table th,.mpo-report-table td{text-align:right}.mpo-report-table th{text-align:center;vertical-align:middle;white-space:normal;padding-left:6px;padding-right:6px;line-height:1.1}.mpo-report-table .stacked-heading{white-space:normal;flex-direction:column;justify-content:center;align-items:center;gap:2px;line-height:1.05;display:inline-flex}.mpo-report-table table{table-layout:fixed;min-width:860px}.mpo-report-table th:first-child,.mpo-report-table td:first-child{text-align:left;white-space:normal;overflow-wrap:anywhere;width:32%}.mpo-report-table th:last-child,.mpo-report-table td:last-child{text-align:left;white-space:normal;overflow-wrap:anywhere;width:15%}.mpo-report-table tfoot td{color:#0f172a;background:#f8fafc;border-top:1px solid #cbd5e1;font-weight:800}.mpo-report-table tfoot td:first-child{text-align:right}.mpo-report-table tfoot td:last-child{text-align:left}input,select,textarea{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-width:0}input,select{height:40px;padding:0 10px}textarea{resize:vertical;min-height:92px;padding:10px}.date-row input,.report-toolbar input,.report-toolbar select{width:auto;min-width:180px}.settings-card{padding:20px}.company-badge{align-items:center;gap:12px;margin-bottom:18px;display:flex}.company-badge .brand-mark{width:54px;height:54px}.company-badge h2{margin:0;font-size:18px}.company-badge span{color:#64748b;font-size:13px}.permissions-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;display:grid}.check-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:8px 10px;display:flex}.check-row input{width:16px;height:16px}.modal-layer{z-index:60;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-backdrop{background:#0f172a8c;border:0;position:absolute;inset:0}.modal-panel{background:#fff;border-radius:14px;width:min(560px,100%);max-height:min(820px,100dvh - 40px);position:relative;overflow:auto;box-shadow:0 24px 60px #0f172a47}.modal-wide{width:min(1040px,100%)}.modal-header{z-index:1;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex;position:sticky;top:0}.modal-header h2{margin:0;font-size:18px}.modal-panel form,.modal-panel .details-grid{padding:18px}.form-grid{gap:12px;display:grid}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-fieldset{border:0;min-width:0;margin:0;padding:0}.field{gap:6px;display:grid}.field span{color:#334155;font-size:13px;font-weight:700}.searchable-select-field{min-width:0}.select-search-input{background:#f8fafc;border-color:#dbe2ea}.report-toolbar .searchable-select-field{width:auto;min-width:240px}.report-toolbar .searchable-select-field input,.report-toolbar .searchable-select-field select{width:100%;min-width:0}.field-wide{grid-column:1/-1}.order-form{gap:14px;display:grid}.payment-policy-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;display:grid}.payment-policy-box .summary-row{padding:0}.line-items{border:1px solid #e2e8f0;border-radius:10px;margin-top:16px;padding:14px}.line-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.sales-lines{gap:12px;display:grid}.line-grid{grid-template-columns:2fr repeat(5,1fr);gap:10px;display:grid}.sales-line-grid{grid-template-columns:minmax(260px,2fr) repeat(5,minmax(82px,1fr)) 34px;align-items:end}.collection-submit-line{grid-template-columns:minmax(240px,1fr) minmax(160px,220px) 34px;align-items:end;gap:10px;margin-top:10px;display:grid}.auto-amount-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;gap:3px;min-height:64px;padding:9px 10px;display:grid}.auto-amount-box span,.auto-amount-box small{color:#64748b;font-size:12px}.auto-amount-box strong{color:#047857;font-size:17px}.submission-detail-list{color:#475569;gap:3px;min-width:180px;font-size:12px;display:grid}.line-remove{margin-bottom:5px}.compact-button{min-height:32px;padding:6px 10px}.customer-due-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;display:grid}.customer-due-box .detail-row{border-bottom:0;padding:0}.totals-box{background:#f8fafc;border-radius:8px;width:min(360px,100%);margin:14px 0 0 auto;padding:8px 12px}.live-totals{margin-top:0}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.modal-content,.confirm-box{padding:18px}.invoice-modal-body{background:#f8fafc;padding:16px}.invoice-toolbar{justify-content:flex-end;align-items:center;gap:10px;margin-bottom:14px;display:flex}.invoice-status{margin-left:auto}.invoice-print-sheet{color:#000;background:#fff;border:1px solid #e2e8f0;width:min(794px,100%);min-height:1122px;margin:0 auto;padding:50px 50px 52px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.28;position:relative;overflow:hidden;box-shadow:0 14px 38px #0f172a1a}.invoice-print-sheet>*{z-index:1;position:relative}.receipt-modal-body{background:#f8fafc;padding:16px}.receipt-print-sheet{color:#0f172a;background:#fff;border:1px solid #e2e8f0;width:min(760px,100%);margin:0 auto;padding:32px 36px 38px;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.35;box-shadow:0 14px 38px #0f172a1a}.document-letterhead{margin-bottom:16px}.receipt-title-row{justify-content:flex-end;margin-bottom:18px;display:flex}.receipt-head{border-bottom:2px solid #111827;justify-content:space-between;gap:24px;padding-bottom:18px;display:flex}.receipt-brand{gap:3px;display:grid}.receipt-brand h1{color:#166534;letter-spacing:0;margin:0;font-size:30px;line-height:1}.receipt-brand p{margin:0 0 8px;font-weight:800}.receipt-brand span{color:#475569;font-size:11px}.receipt-meta{text-align:right;justify-items:end;gap:6px;display:grid}.receipt-title-row .receipt-meta{min-width:220px}.receipt-meta span{color:#64748b;text-transform:uppercase;font-size:12px;font-weight:800}.receipt-meta strong{font-size:23px}.receipt-meta small{color:#475569}.receipt-amount-band{background:#f0fdf4;border:1px solid #bbf7d0;gap:4px;margin:22px 0;padding:16px 18px;display:grid}.receipt-amount-band span{color:#166534;text-transform:uppercase;font-weight:800}.receipt-amount-band strong{color:#14532d;font-size:28px}.receipt-amount-band small{color:#334155;font-weight:700}.receipt-table-wrap{width:100%;overflow-x:auto}.receipt-table{table-layout:fixed;min-width:0}.receipt-table th,.receipt-table td{border:1px solid #cbd5e1;padding:9px 10px}.receipt-table th{text-align:left;background:#f8fafc}.receipt-table td:last-child,.receipt-table th:last-child,.receipt-table tfoot td{text-align:right}.receipt-table tfoot td{color:#0f172a;font-weight:800}.receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.receipt-panel{background:#fff;border:1px solid #e2e8f0;padding:14px}.receipt-panel h2{letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px;font-size:12px}.receipt-line{border-top:1px solid #f1f5f9;grid-template-columns:150px minmax(0,1fr);gap:10px;padding:6px 0;display:grid}.receipt-line:first-of-type{border-top:0}.receipt-line span{color:#64748b}.receipt-line strong{overflow-wrap:anywhere}.receipt-line-strong strong{color:#166534;font-size:14px}.receipt-summary,.receipt-notes{margin-top:14px}.receipt-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;display:grid}.receipt-notes p{color:#334155;margin:0}.receipt-signature-row{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-letterhead{grid-template-columns:1fr 1.35fr 1fr;align-items:start;gap:18px;display:grid}.office-block{gap:2px;padding-top:18px;font-size:12px;line-height:1.18;display:grid}.office-block strong{font-size:13px}.office-block-right{text-align:right}.invoice-brand{text-align:center}.invoice-brand-heading{justify-content:center;align-items:center;gap:12px;display:inline-flex}.invoice-brand-heading img{object-fit:contain;width:46px;height:46px}.invoice-brand h1{letter-spacing:0;margin:0;font-size:36px;line-height:1}.invoice-brand p{margin:10px 0 0;font-size:14px;font-weight:700}.invoice-title{text-align:center;letter-spacing:0;margin:26px 0;font-size:23px;font-style:italic;font-weight:800}.invoice-info-grid{grid-template-columns:minmax(0,1fr) 270px;gap:54px;margin-bottom:26px;display:grid}.invoice-info-column{gap:8px;display:grid}.invoice-info-column:last-child{justify-self:end;width:260px}.invoice-info-line{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:10px;display:grid}.invoice-info-line span{font-size:13px}.invoice-info-line strong{overflow-wrap:anywhere;font-size:13px;font-weight:800}.invoice-section-title{margin-bottom:10px;font-size:15px;font-style:italic;font-weight:800}.invoice-table-wrap{width:100%;overflow-x:auto}.invoice-product-table{border-collapse:collapse;table-layout:fixed;border:1px solid #9ca3af;width:100%;min-width:0}.invoice-product-table th,.invoice-product-table td{color:#000;text-align:center;white-space:normal;border:1px solid #9ca3af;padding:7px 6px;font-size:11.5px;line-height:1.18}.invoice-product-table th:first-child,.invoice-product-table td:first-child{text-align:left;width:25%}.invoice-product-table th{letter-spacing:0;background:#f8fafc;font-style:italic;font-weight:800}.invoice-total-area{grid-template-columns:minmax(0,1fr) 220px;align-items:start;gap:34px;margin-top:12px;display:grid}.invoice-terms{gap:7px;display:grid}.invoice-terms p{margin:0;font-size:13px;font-weight:800}.invoice-payment-terms,.invoice-payment-terms strong{color:#c1121f}.invoice-total-lines{gap:4px;display:grid}.invoice-total-line{justify-content:space-between;gap:14px;padding:3px 0;font-size:13px;display:flex}.invoice-total-strong{border-top:1px solid #111827;padding-top:6px;font-weight:800}.account-summary-box{background:#fff;border:5px dotted #000;border-radius:0;width:440px;min-height:166px;margin-top:10px;padding:15px 28px 12px;position:relative;overflow:hidden}.account-summary-box h2{color:#000;text-align:center;letter-spacing:0;margin:0 0 10px;font-size:16px;line-height:20px}.account-summary-box>:not(.account-summary-watermark){z-index:1;position:relative}.account-summary-watermark{opacity:.055;pointer-events:none;width:210px;position:absolute;top:54%;left:50%;transform:translate(-50%,-50%)}.account-summary-grid{grid-template-columns:1fr 1fr;gap:7px 56px;display:grid;position:relative}.account-summary-grid:before{content:"";border-left:4px dotted #94a3b8b3;position:absolute;top:-8px;bottom:-6px;left:50%;transform:translate(-50%)}.account-summary-item,.remaining-due-row,.last-collection-row{color:#334963;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;min-height:24px;padding:0;font-size:15px;font-weight:800;display:flex}.account-summary-item strong{color:#334963;font-size:13px;font-weight:800}.account-summary-item .summary-green{color:#059669}.remaining-due-row{color:#111827;justify-content:flex-start;min-height:22px;margin-top:7px;font-style:italic;font-weight:800}.remaining-due-row strong{color:#111827;margin-left:auto;font-size:14px}.last-collection-row{color:#475569;min-height:21px;margin-top:5px;font-size:13px;font-weight:800}.invoice-last-collection{color:#c1121f;justify-content:space-between;align-items:center;width:440px;margin-top:18px;font-size:13px;font-weight:800;display:flex}.invoice-last-collection strong{color:#c1121f}.last-collection-row strong{color:#334963;margin-left:auto;font-size:13px}.account-summary-empty{min-height:14px;display:block}.account-summary-flow{border-top:5px dotted #94a3b88c;height:13px;margin:4px 70px 0 34px;position:relative}.account-summary-flow:after{content:"";border-top:5px solid #94a3b88c;border-right:5px solid #94a3b88c;width:14px;height:14px;position:absolute;top:-9px;right:-12px;transform:rotate(45deg)}.statement-date{color:#475569;text-align:center;margin-top:6px;font-size:14px;font-weight:800}.signature-row{grid-template-columns:1fr 1fr;gap:72px;margin-top:150px;font-size:15px;font-weight:800;display:grid}.signature-row div{text-align:left}.signature-row div:last-child{text-align:right}.signature-row span{background:0 0;width:100%;height:1px;margin-bottom:8px;display:block}.toast{z-index:80;color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;max-width:min(360px,100vw - 40px);padding:12px 14px;font-weight:700;position:fixed;bottom:20px;right:20px;box-shadow:0 12px 30px #0f172a29}.details-grid{gap:10px;display:grid}.detail-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:16px;padding:10px 0;display:flex}.detail-row span{color:#64748b}.icon-button{width:38px;height:38px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.icon-button:hover{background:#94a3b829}.icon-button.mobile-menu,.icon-button.sidebar-close{display:none}.login-page{background:linear-gradient(135deg,#10b9811f,#0000 34%),#f8fafc;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:min(420px,100%);padding:28px;box-shadow:0 18px 50px #0f172a1f}.login-card .brand-mark{border-width:2px;width:82px;height:82px;margin:0 auto 14px;box-shadow:0 12px 28px #0f172a29}.login-card h1{text-align:center;margin:0 0 4px}.login-card p{color:#64748b;text-align:center}.login-form{gap:12px;display:grid}.login-form label{color:#334155;gap:6px;font-size:13px;font-weight:700;display:grid}.login-form .remember-option{color:#475569;align-items:center;gap:9px;margin:2px 0 4px;font-size:13px;font-weight:700;display:flex}.remember-option input{accent-color:#059669;width:16px;height:16px}.login-note{text-align:center;margin:14px 0 0;font-size:13px}.mobile-backdrop{display:none}@media screen and (width<=1080px){.workspace{padding:18px}.metric-grid.four,.metric-grid.five,.metric-grid.six{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.dashboard-list-grid{grid-template-columns:1fr}.mini-metrics,.permissions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-policy-box{grid-template-columns:1fr}.customer-due-box,.line-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-line-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}.collection-submit-line{grid-template-columns:minmax(0,1fr)}.line-remove{width:100%;margin-bottom:0}.customer-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-wise-table table{min-width:640px}.select-search-input{padding:9px 11px;font-size:13px}}@media screen and (width<=760px){.sidebar{transition:transform .2s;transform:translate(-102%);box-shadow:14px 0 40px #0f172a40}.sidebar-open{transform:translate(0)}.icon-button.sidebar-close,.mobile-backdrop{display:inline-grid}.mobile-backdrop{z-index:20;background:#0f172a59;border:0;position:fixed;inset:0}.workspace{margin-left:0;padding:12px}.workspace-toolbar{z-index:15;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f8fafcf0;border-bottom:1px solid #e2e8f0;align-items:center;margin:-12px -12px 14px;padding:10px 12px;position:sticky;top:0}.workspace-toolbar-active{margin-bottom:14px}.icon-button.mobile-menu{display:inline-grid}.notification-button{width:40px;height:40px}.notification-menu{width:calc(100vw - 24px);max-height:calc(100dvh - 86px);right:0}.notification-list{max-height:calc(100dvh - 160px)}.page-header{gap:12px;margin-bottom:16px;display:grid}.page-header h1{font-size:21px;line-height:28px}.page-header .action-row,.page-header>.primary-button,.page-header>div+*{margin-top:0}.metric-grid.four,.metric-grid.five,.metric-grid.six,.mini-metrics,.customer-report-summary,.permissions-grid,.customer-due-box,.form-grid.two,.line-grid,.sales-line-grid{grid-template-columns:1fr}.action-row,.filter-row,.date-row,.report-toolbar,.expense-toolbar,.line-title{flex-direction:column;align-items:stretch}.action-row>*,.filter-row>*,.date-row>*,.report-toolbar>*,.expense-toolbar>*,.line-title>*,.primary-button,.secondary-button,.filter-select,.search-wrap{width:100%}.daily-expense-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-expense-summary .mini-metric:last-child{grid-column:1/-1}.daily-expense-report-title{flex-direction:column;align-items:flex-start;gap:2px}.metric-card{min-height:84px}.dashboard-filter{flex-direction:column;align-items:stretch}.dashboard-filter select{width:100%}.table-card{border-left:0;border-right:0;border-radius:0;width:calc(100% + 24px);margin-inline:-12px}table{min-width:680px}th,td{padding:12px}.sales-table table{min-width:760px}.customer-wise-table table{min-width:640px}.searchable-select-field{gap:6px}.select-search-input{padding:9px 11px;font-size:13px}.mpo-report-letterhead{grid-template-columns:58px minmax(0,1fr);gap:12px}.mpo-report-letterhead img{width:52px;height:52px}.mpo-report-letterhead h1{font-size:22px;line-height:27px}.date-row input,.report-toolbar input,.report-toolbar select{width:100%}.modal-layer{place-items:end center;padding:10px}.modal-panel{border-radius:14px 14px 0 0;width:100%;max-height:calc(100dvh - 20px)}.modal-panel form,.modal-panel .details-grid,.modal-content,.confirm-box{padding:14px}.modal-actions{grid-template-columns:1fr;display:grid}.line-items{padding:12px}.line-remove{height:38px}.invoice-modal-body,.receipt-modal-body{padding:10px}.invoice-print-sheet{min-height:auto;padding:22px 16px 28px}.receipt-print-sheet{padding:22px 16px 28px}.receipt-head,.receipt-grid,.receipt-summary-grid,.receipt-signature-row{grid-template-columns:1fr}.receipt-head{display:grid}.receipt-meta{text-align:left;justify-items:start}.receipt-line{grid-template-columns:120px minmax(0,1fr)}.invoice-letterhead,.invoice-info-grid,.invoice-total-area,.account-summary-grid,.signature-row{grid-template-columns:1fr;gap:16px}.office-block,.office-block-right{text-align:center;padding-top:0}.invoice-brand-heading img{width:32px;height:32px}.invoice-brand h1{font-size:28px}.invoice-info-column:last-child{justify-self:stretch;width:auto}.invoice-title{letter-spacing:0}.invoice-info-line{grid-template-columns:110px minmax(0,1fr)}.invoice-product-table{min-width:720px}.account-summary-box{padding:14px}.account-summary-box h2{font-size:15px}.account-summary-item,.remaining-due-row,.last-collection-row{font-size:13px}.statement-date,.signature-row div,.signature-row div:last-child{text-align:left}}@media print{@page{size:A4;margin:6mm}@page stock-wise-report{size:A4 landscape;margin:4mm}html,body,#root{min-height:0;background:#fff!important}body{margin:0!important}.sidebar,.workspace-toolbar,.notification-wrap,.notification-menu,.notification-button,.modal-backdrop,.modal-header,.no-print,.toast{display:none!important}.print-only{display:block!important}.app-shell,.modal-layer{background:#fff!important;min-height:0!important;padding:0!important;display:block!important}body:has(.modal-layer) .workspace{display:none!important}body:has(.mpo-report-sheet) .workspace{background:#fff!important;margin-left:0!important;padding:0!important;display:block!important}body:has(.mpo-report-sheet) .page{max-width:none!important;margin:0!important}body:has(.mpo-report-sheet) .page>:not(.mpo-report-sheet){display:none!important}body:has(.mpo-report-sheet) .mpo-report-sheet{box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:3mm!important;display:block!important}body:has(.mpo-report-sheet) .mpo-report-letterhead{border-bottom:1.5px solid #111827!important;grid-template-columns:18mm minmax(0,1fr)!important;gap:4mm!important;margin-top:0!important;margin-bottom:4mm!important;padding-top:0!important;padding-bottom:3mm!important}body:has(.mpo-report-sheet) .mpo-report-letterhead img{width:16mm!important;height:16mm!important}body:has(.mpo-report-sheet) .mpo-report-letterhead h1{font-size:20px!important;line-height:24px!important}body:has(.mpo-report-sheet) .mpo-report-letterhead p{margin-bottom:2px!important;font-size:11px!important}body:has(.mpo-report-sheet) .mpo-report-letterhead span{font-size:9px!important;line-height:13px!important}body:has(.mpo-report-sheet) .mpo-report-title{margin-bottom:12px!important}body:has(.mpo-report-sheet) .mpo-report-title h2{font-size:18px!important;line-height:24px!important}body:has(.mpo-report-sheet) .mpo-report-title span{font-size:13px!important}body:has(.mpo-report-sheet) .table-card{width:100%!important;box-shadow:none!important;border:0!important;margin:0!important;overflow:visible!important}body:has(.mpo-report-sheet) table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important}:is(body:has(.mpo-report-sheet) th,body:has(.mpo-report-sheet) td){color:#000!important;border:1px solid #111827!important;padding:5px 7px!important;font-size:9.5px!important;line-height:1.12!important}body:has(.mpo-report-sheet) tfoot td{background:#f8fafc!important;font-weight:800!important}:is(body:has(.mpo-report-sheet) .mpo-report-table th:first-child,body:has(.mpo-report-sheet) .mpo-report-table td:first-child){white-space:normal!important;overflow-wrap:anywhere!important;width:32%!important}:is(body:has(.mpo-report-sheet) .mpo-report-table th:last-child,body:has(.mpo-report-sheet) .mpo-report-table td:last-child){text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;width:15%!important}body:has(.daily-expense-report-sheet) .daily-expense-report-title{flex-direction:row!important;align-items:center!important;margin-bottom:4mm!important;display:flex!important}body:has(.daily-expense-report-sheet) .daily-expense-report-title h2{font-size:17px!important;line-height:21px!important}body:has(.daily-expense-report-sheet) .daily-expense-summary{grid-template-columns:repeat(5,1fr)!important;gap:2mm!important;margin-bottom:4mm!important;display:grid!important}body:has(.daily-expense-report-sheet) .daily-expense-summary .mini-metric{background:#fff!important;border:1px solid #111827!important;border-radius:0!important;min-height:0!important;padding:2.5mm!important}body:has(.daily-expense-report-sheet) .daily-expense-summary .mini-metric span{font-size:8px!important}body:has(.daily-expense-report-sheet) .daily-expense-summary .mini-metric strong{margin-top:1mm!important;font-size:11px!important}:is(body:has(.daily-expense-report-sheet) .daily-expense-report-table th,body:has(.daily-expense-report-sheet) .daily-expense-report-table td){white-space:normal!important;overflow-wrap:anywhere!important;vertical-align:top!important;padding:2.4mm!important;font-size:10px!important;line-height:1.25!important}:is(body:has(.daily-expense-report-sheet) .daily-expense-report-table th:first-child,body:has(.daily-expense-report-sheet) .daily-expense-report-table td:first-child,body:has(.daily-expense-report-sheet) .daily-expense-report-table th:nth-child(3),body:has(.daily-expense-report-sheet) .daily-expense-report-table td:nth-child(3)){width:18%!important}:is(body:has(.daily-expense-report-sheet) .daily-expense-report-table th:nth-child(2),body:has(.daily-expense-report-sheet) .daily-expense-report-table td:nth-child(2),body:has(.daily-expense-report-sheet) .daily-expense-report-table th:nth-child(4),body:has(.daily-expense-report-sheet) .daily-expense-report-table td:nth-child(4)){width:32%!important}body:has(.customer-wise-report-sheet) .customer-report-title{margin-bottom:4mm!important}body:has(.customer-wise-report-sheet) .customer-report-title h2{font-size:17px!important;line-height:21px!important}body:has(.customer-wise-report-sheet) .customer-report-summary{grid-template-columns:repeat(4,1fr)!important;gap:2mm!important;margin-bottom:4mm!important;display:grid!important}body:has(.customer-wise-report-sheet) .customer-report-summary .mini-metric{background:#fff!important;border:1px solid #111827!important;border-radius:0!important;min-height:0!important;padding:2.5mm!important}body:has(.customer-wise-report-sheet) .customer-report-summary .mini-metric span{font-size:8px!important}body:has(.customer-wise-report-sheet) .customer-report-summary .mini-metric strong{margin-top:1mm!important;font-size:12px!important}:is(body:has(.customer-wise-report-sheet) .customer-wise-table th,body:has(.customer-wise-report-sheet) .customer-wise-table td){padding:1.35mm 1.7mm!important;font-size:7.4px!important;line-height:1.15!important}body:has(.customer-wise-report-sheet) .customer-wise-table tfoot td{font-size:7.8px!important}body:has(.customer-wise-report-sheet) .report-empty-state{padding:12px!important;font-size:10px!important}body:has(.stock-wise-report-sheet) .stock-wise-report-sheet{page:stock-wise-report;padding:3mm!important}body:has(.stock-wise-report-sheet) .mpo-report-letterhead{grid-template-columns:12mm minmax(0,1fr)!important;gap:3mm!important;margin-bottom:3mm!important;padding-bottom:2mm!important}body:has(.stock-wise-report-sheet) .mpo-report-letterhead img{width:11mm!important;height:11mm!important}body:has(.stock-wise-report-sheet) .mpo-report-letterhead h1{font-size:16px!important;line-height:18px!important}:is(body:has(.stock-wise-report-sheet) .mpo-report-letterhead p,body:has(.stock-wise-report-sheet) .mpo-report-letterhead span){font-size:7px!important;line-height:9px!important}:is(body:has(.stock-wise-report-sheet) .stock-wise-band strong,body:has(.stock-wise-report-sheet) .stock-wise-band span){padding:1mm!important;font-size:8px!important;line-height:10px!important}body:has(.stock-wise-report-sheet) .stock-wise-report-table table{table-layout:auto!important;min-width:0!important}:is(body:has(.stock-wise-report-sheet) .stock-wise-report-table th,body:has(.stock-wise-report-sheet) .stock-wise-report-table td){white-space:normal!important;border:.35mm solid #111827!important;padding:1.25mm 1mm!important;font-size:8.4px!important;line-height:1.1!important}body:has(.stock-wise-report-sheet) .stock-wise-report-table tbody td:nth-child(2){min-width:30mm!important}body:has(.stock-wise-report-sheet) .stock-wise-report-table thead th{font-size:7.8px!important}body:has(.stock-wise-report-sheet) .stock-wise-report-table-detailed{display:block!important}body:has(.stock-wise-report-sheet) .stock-wise-print-table{display:none!important}body:has(.mpo-report-sheet) .stock-report-summary{grid-template-columns:repeat(4,1fr)!important;gap:3mm!important;margin-bottom:5mm!important;display:grid!important}body:has(.mpo-report-sheet) .stock-report-summary .mini-metric{background:#fff!important;border:1px solid #111827!important;border-radius:0!important;padding:3mm!important}body:has(.mpo-report-sheet) .stock-report-summary .mini-metric span{font-size:9px!important}body:has(.mpo-report-sheet) .stock-report-summary .mini-metric strong{margin-top:1mm!important;font-size:13px!important}:is(body:has(.stock-report-sheet) .stock-report-table th:nth-child(2),body:has(.stock-report-sheet) .stock-report-table td:nth-child(2)){white-space:normal!important;overflow-wrap:break-word!important;word-break:break-word!important;vertical-align:top!important}body:has(.stock-report-sheet) .stock-report-table table{table-layout:fixed!important}.modal-layer{position:static!important;inset:auto!important}.modal-panel{width:auto!important;max-height:none!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}.invoice-modal-body{background:#fff!important;padding:0!important}.invoice-print-sheet{width:100%!important;min-height:0!important;box-shadow:none!important;border:0!important;margin:0!important;padding:10mm 13mm 8mm!important;font-size:10.8px!important;line-height:1.16!important}.invoice-letterhead{grid-template-columns:1fr 1.35fr 1fr!important;gap:5mm!important}.office-block{text-align:left!important;padding-top:7mm!important;font-size:9px!important}.office-block-right{text-align:right!important}.office-block strong{font-size:10px!important}.invoice-brand-heading{gap:2.5mm!important}.invoice-brand-heading img{width:10mm!important;height:10mm!important}.invoice-brand h1{font-size:30px!important}.invoice-brand p{margin-top:5px!important;font-size:12px!important}.invoice-title{letter-spacing:0!important;margin:11mm 0 8mm!important;font-size:18px!important}.invoice-info-grid{grid-template-columns:minmax(0,1fr) 62mm!important;gap:24mm!important;margin-bottom:9mm!important}.invoice-info-column{gap:5px!important}.invoice-info-column:last-child{justify-self:end!important;width:62mm!important}.invoice-info-line{grid-template-columns:27mm minmax(0,1fr)!important;gap:7px!important}.invoice-info-line span,.invoice-info-line strong{font-size:10.5px!important}.invoice-section-title{margin-bottom:6px!important;font-size:12px!important}.invoice-table-wrap{overflow:visible!important}.invoice-product-table{min-width:0!important}.invoice-product-table th,.invoice-product-table td{padding:4px 5px!important;font-size:9.3px!important;line-height:1.15!important}.invoice-total-area{grid-template-columns:minmax(0,1fr) 48mm!important;gap:16mm!important;margin-top:4mm!important}.invoice-terms{gap:4px!important}.invoice-terms p,.invoice-total-line{font-size:10.2px!important}.invoice-payment-terms,.invoice-payment-terms strong{color:#c1121f!important}.account-summary-box{break-inside:avoid;background:#fff!important;border:1.4mm dotted #000!important;border-radius:0!important;width:106mm!important;min-height:31mm!important;margin-top:2mm!important;padding:2.5mm 7mm 2mm!important;line-height:1.05!important}.account-summary-box h2{color:#000!important;margin-bottom:1.5mm!important;font-size:12px!important;line-height:13px!important}.account-summary-watermark{opacity:.055!important;width:44mm!important}.account-summary-grid{grid-template-columns:1fr 1fr!important;gap:.8mm 15mm!important}.account-summary-item,.remaining-due-row,.last-collection-row{color:#334963!important;min-height:3.6mm!important;padding:0!important;font-size:9.5px!important;font-weight:800!important;line-height:1.05!important}.account-summary-item strong{color:#334963!important;font-size:9px!important}.remaining-due-row{color:#111827!important;min-height:4mm!important;margin-top:1mm!important}.remaining-due-row strong{color:#111827!important;font-size:9px!important}.last-collection-row{color:#475569!important;min-height:4mm!important;margin-top:1mm!important;font-size:8.8px!important}.last-collection-row strong{color:#334963!important;font-size:8.8px!important}.invoice-last-collection{color:#c1121f!important;width:106mm!important;margin-top:4mm!important;font-size:10.2px!important;line-height:1.1!important}.invoice-last-collection strong{color:#c1121f!important}.account-summary-empty{min-height:2.5mm!important}.account-summary-flow{border-top-width:1.2mm!important;height:2mm!important;margin:.8mm 18mm 0 9mm!important}.account-summary-flow:after{border-top-width:1.2mm!important;border-right-width:1.2mm!important;width:3.2mm!important;height:3.2mm!important;top:-2.1mm!important;right:-3mm!important}.statement-date{text-align:center!important;margin-top:.8mm!important;font-size:10px!important;line-height:1.1!important}.signature-row{grid-template-columns:1fr 1fr!important;gap:45mm!important;margin-top:28mm!important;font-size:11px!important;font-weight:800!important;line-height:1.1!important}.signature-row span{margin-bottom:3mm!important}.signature-row div{text-align:left!important}.signature-row div:last-child{text-align:right!important}.receipt-modal-body{background:#fff!important;padding:0!important}.receipt-print-sheet{width:100%!important;box-shadow:none!important;border:0!important;margin:0!important;padding:8mm 9mm!important;font-size:10px!important;line-height:1.25!important}.document-letterhead{grid-template-columns:18mm minmax(0,1fr)!important;gap:4mm!important;margin-bottom:5mm!important;padding-bottom:4mm!important}.document-letterhead img{width:16mm!important;height:16mm!important}.document-letterhead h1{font-size:20px!important;line-height:24px!important}.document-letterhead p,.document-letterhead span{font-size:9px!important;line-height:13px!important}.receipt-title-row{margin-bottom:12px!important}.receipt-head{gap:20px!important;padding-bottom:12px!important}.receipt-brand h1{font-size:25px!important}.receipt-brand p,.receipt-meta span,.receipt-panel h2{font-size:10px!important}.receipt-meta strong{font-size:19px!important}.receipt-amount-band{break-inside:avoid;margin:16px 0!important;padding:12px 14px!important}.receipt-amount-band strong{font-size:23px!important}.receipt-grid,.receipt-summary-grid{grid-template-columns:1fr 1fr!important;gap:10px 14px!important}.receipt-panel{break-inside:avoid;padding:10px!important}.receipt-line{grid-template-columns:120px minmax(0,1fr)!important;gap:8px!important;padding:4px 0!important}.receipt-table{width:100%!important;min-width:0!important}.receipt-table th,.receipt-table td{padding:6px 7px!important;font-size:9px!important}.receipt-signature-row{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:34px!important}.receipt-signature-row div,.receipt-signature-row div:last-child{text-align:center!important}}
