:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#aa3bff;--accent-bg:#aa3bff1a;--accent-border:#aa3bff80;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:system-ui, "Segoe UI", Roboto, sans-serif;--heading:system-ui, "Segoe UI", Roboto, sans-serif;--mono:ui-monospace, Consolas, monospace;font:18px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:16px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#c084fc;--accent-bg:#c084fc26;--accent-border:#c084fc80;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}body{margin:0}#root{text-align:center;border-inline:1px solid var(--border);box-sizing:border-box;flex-direction:column;width:1126px;max-width:100%;min-height:100svh;margin:0 auto;display:flex}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}@media print{@page{size:A4 portrait;margin:10mm 12mm}}*{box-sizing:border-box;margin:0;padding:0;font-family:Arial,sans-serif}html,body,#root{width:100%;min-height:100%}.app{min-height:100vh;display:flex}.sidebar{color:#fff;background:#1f2937;width:250px;min-height:100vh;padding:20px}.sidebar h2{margin-bottom:30px}.sidebar ul{list-style:none}.sidebar li{cursor:pointer;border-radius:6px;padding:12px}.sidebar li:hover{background:#374151}.content{background:#fff;flex:1;min-height:100vh;overflow-y:auto}.header{background:#fff;justify-content:space-between;align-items:center;min-height:90px;padding:15px 30px;display:flex;box-shadow:0 2px 5px #0000001a}.header h1{margin:0;font-size:28px}.header p{margin:5px 0}.header small{display:block}.dashboard-welcome{text-align:center;background:linear-gradient(90deg,#3e8b6a,#5c6fff,#28814d);border-radius:10px;margin-top:0;padding:10px 15px;box-shadow:0 3px 10px #0000001f}.dashboard-welcome h1{color:#020202;margin:0 0 8px;font-size:40px}.dashboard-welcome p{color:#fff;margin:0;font-size:20px}.dashboard-welcome small{color:#e0e7ff;margin-top:5px;font-size:15px;display:block}.card{background:#fff;border-radius:10px;justify-content:center;align-items:center;height:150px;font-size:22px;font-weight:700;display:flex;box-shadow:0 3px 10px #0000001a}@media (width<=768px){.sidebar{width:200px}.header{padding:0 15px}}.header{color:#fff;box-sizing:border-box;background:linear-gradient(135deg,#13264f,#2f2f2f);border-radius:0;justify-content:space-between;align-items:center;width:100%;margin-bottom:0;padding:20px 30px;display:flex;box-shadow:0 4px 12px #00000026}.header h1{color:#fff;margin:0;font-size:28px}.header p{color:#5f9bea;margin:4px 0;font-size:14px}.header small{color:#dbeafe}.header-company-name{color:#f8f8f9;font-size:22px;font-weight:700}.dashboard-page{box-sizing:border-box;background:#f5f6f8;width:100%;min-height:calc(100vh - 70px);padding:24px}.dashboard-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.dashboard-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:600}.dashboard-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.dashboard-date{color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:7px;padding:9px 15px;font-size:14px}.dashboard-cards{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px;display:grid}.dashboard-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;position:relative;overflow:hidden;box-shadow:0 2px 6px #0000000a}.dashboard-card:before{content:"";width:4px;position:absolute;top:0;bottom:0;left:0}.sales-card:before{background:#2563eb}.purchase-card:before{background:#7c3aed}.cash-card:before{background:#059669}.bank-card:before{background:#d97706}.card-title{color:#6b7280;margin-bottom:10px;font-size:14px}.card-value{color:#111827;font-size:23px;font-weight:700}.card-footer{color:#9ca3af;margin-top:8px;font-size:12px}.dashboard-section{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px;display:grid}.dashboard-panel{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.panel-header{background:#fafafa;border-bottom:1px solid #e5e7eb;padding:16px 20px}.panel-header h3{color:#1f2937;margin:0;font-size:16px;font-weight:600}.summary-list{padding:5px 20px}.summary-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;padding:15px 0;display:flex}.summary-row:last-child{border-bottom:none}.summary-row span{color:#6b7280;font-size:14px}.summary-row strong{color:#1f2937;font-size:14px}.recent-panel{min-height:170px}.empty-activity{color:#9ca3af;justify-content:center;align-items:center;min-height:110px;font-size:14px;display:flex}@media (width<=1100px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.dashboard-page{padding:15px}.dashboard-header{flex-direction:column;align-items:flex-start;gap:15px}.dashboard-cards,.dashboard-section{grid-template-columns:1fr}}.coa-page{padding:25px 30px 100px 10px;position:relative}.coa-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.coa-header h2{margin:0;font-size:30px}.coa-header p{color:#0a0a0a}.new-btn{color:#fff;cursor:pointer;background:#1624ec;border:none;border-radius:4px;padding:10px 18px;font-size:14px}.new-btn:hover{background:#16a34a}.coa-toolbar{gap:15px;margin-bottom:20px;display:flex}.search-box{width:400px;padding:10px}.filter{padding:10px}.coa-table{border-collapse:collapse;background:#fff;width:100%}.coa-table th{color:#fff;text-align:center;background:#1e293b;padding:12px 12px 12px 20px}.coa-table th:last-child,.coa-table td:last-child{text-align:center;width:180px}.coa-table td{border:5px solid #dbeafe;padding:6px}.coa-table tr:hover{background:#f5f5f5}.active{color:#fff;background:#16a34a;border-radius:20px;padding:5px 15px;font-size:13px}.coa-table button{cursor:pointer;margin-right:10px;padding:5px 15px}.modal-overlay{z-index:99999;background:#00000073;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal{background:#fff;border-radius:10px;width:900px;padding:25px;box-shadow:0 10px 30px #0003}.modal h3{margin-top:0;margin-bottom:20px}.form-group{flex-direction:column;margin-bottom:15px;display:flex}.form-group label{margin-bottom:6px;font-weight:600}.form-group input,.form-group select{border:1px solid #ccc;border-radius:6px;padding:10px;font-size:14px}.modal-footer{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.edit-btn{color:#040404!important;cursor:pointer!important;background:#fff!important;border:1px solid #2563eb!important;border-radius:6px!important;padding:6px 10px!important;font-size:14px!important;font-weight:500!important}.edit-btn:hover{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.delete-btn{color:#040404;background:#fef2f2;border:1px solid #fca5a5;transition:all .2s;cursor:pointer!important;border-radius:6px!important;padding:6px 5px!important;font-size:14px!important;font-weight:500!important}.delete-btn:hover{border-color:#dc2626;background:#ec6e6e!important}.btn-save{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:10px 18px;transition:background .3s}.btn-save:hover{background:#16a34a}.btn-cancel{color:#fff;cursor:pointer;background:#e28a32;border:none;border-radius:6px;padding:10px 18px;transition:background .3s}.btn-cancel:hover{color:#fff;background:#16a34a}.chart-container{padding-right:340px;position:relative}.account-details h3{margin-bottom:15px}.account-details p{margin:8px 0}.account-details{background:#fff;border:1px solid #ddd;border-radius:8px;width:400px;padding:20px;position:absolute;top:10px;right:5px}.journal-print-template{display:none}@media print{.journal-header,.journal-form,.journal-table,.journal-total,.journal-save-btn,.journal-view-btn,.journal-print-btn{display:none!important}.journal-print-template{display:block!important}}.journal-container{background:#f4f7fb;min-height:100vh;padding:20px;font-family:Segoe UI,sans-serif}.journal-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.journal-header h2{color:#000;margin:0;font-size:28px;font-weight:700}.journal-form{background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:25px;box-shadow:0 8px 25px #0000001f}.journal-row{flex-wrap:wrap;gap:15px;margin-bottom:18px;display:flex}.journal-row label{color:#444;margin-bottom:5px;font-size:13px;font-weight:600;display:block}.journal-row input,.journal-row select{background:#fff;border:1px solid #cfd8e3;border-radius:6px;flex:1;min-width:180px;padding:10px 12px;font-size:14px;transition:all .3s}.journal-row input:focus,.journal-row select:focus{border-color:#1976d2;outline:none;box-shadow:0 0 8px #1976d240}.journal-table{border-collapse:collapse;border-radius:8px;width:100%;margin-top:20px;overflow:hidden}.journal-table thead{color:#fff;background:#1d3557}.journal-table th{padding:12px;font-size:14px;font-weight:700}.journal-table td{background:#fff;border:1px solid #d8d8d8;padding:8px}.journal-table tr:nth-child(2n){background:#f7f9fc}.journal-table tbody tr:hover{background:#eef5ff}.journal-table input,.journal-table select{border:1px solid #cfd8e3;border-radius:5px;width:100%;padding:8px;font-size:14px}.journal-table input:focus,.journal-table select:focus{border-color:#1976d2;outline:none}.journal-save-btn{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:6px;margin-top:20px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.journal-save-btn:hover{background:#1d8a38;transform:translateY(-2px)}.journal-total{color:#1d3557;justify-content:flex-end;gap:40px;margin-top:20px;font-size:18px;font-weight:700;display:flex}.journal-total span{color:#0d6efd}@media (width<=900px){.journal-row{flex-direction:column}.journal-table{display:block;overflow-x:auto}.journal-total{flex-direction:column;align-items:flex-end;gap:8px}}.journal-table th:first-child,.journal-table td:first-child{width:66%}.journal-table th:nth-child(2),.journal-table td:nth-child(2),.journal-table th:nth-child(3),.journal-table td:nth-child(3){width:15%}.journal-table th:nth-child(4),.journal-table td:nth-child(4){width:4%}.journal-view-btn{color:#fff;cursor:pointer;background:#0d6efd;border:none;border-radius:6px;margin-top:20px;margin-left:10px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.journal-view-btn:hover{transform:translateY(-2px)}.journal-search-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:5px;padding:10px 20px}.journal-search-btn:hover{background:#157347}@media print{body *{visibility:hidden}#journal-print,#journal-print *{visibility:visible}#journal-print{color:#000;background:#fff;width:100%;padding:20px;position:absolute;top:0;left:0}.journal-save-btn,.journal-view-btn,.journal-print-btn,.journal-new-btn{display:none!important}}.journal-print-template{color:#000;width:100%;font-family:Arial,Helvetica,sans-serif;font-size:14px}.journal-print-template h1{margin:0;font-size:28px;font-weight:700}.journal-print-template h2{letter-spacing:1px;border-bottom:2px solid #000;margin:5px 0 20px;padding-bottom:8px;font-size:22px}.voucher-info{border-collapse:collapse;width:100%;margin-bottom:18px}.voucher-info td{border:1px solid #000;padding:8px 10px;font-size:14px}.voucher-info strong{color:#000}.journal-print-template table{border-collapse:collapse;border-spacing:0;border-collapse:collapse;border-spacing:0;width:100%}.journal-print-template thead tr{background:#0f134a}.journal-print-template thead th{box-sizing:border-box;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:2px solid #000;padding:10px 8px;color:#fff!important;background:#0f134a!important}.journal-print-template td{border:2px solid #000;padding:8px;font-size:13px}.journal-print-template tbody tr:last-child td{font-weight:700}.narration-box{margin-top:20px}.narration-box h3{margin-bottom:8px;font-size:15px}.narration-text{border:1px solid #000;min-height:50px;padding:10px;line-height:22px}.signature-table{width:100%;margin-top:50px}.signature-table,.signature-table tr,.signature-table td,.signature-table th{border:none!important}.signature-table td{text-align:center;font-size:14px}.print-info{text-align:right;margin-top:30px;font-size:12px}.print-info p{margin:4px 0}.journal-print-btn{color:#fff;cursor:pointer;background:#f59e0b;border:none;border-radius:6px;margin-top:20px;margin-left:10px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.journal-print-btn:hover{transform:translateY(-2px)}.company-print-header{text-align:left;box-sizing:border-box;width:100%;margin-top:35px;margin-bottom:8px;padding:0;display:block;position:relative;overflow:visible}.company-print-info{text-align:left;width:calc(100% - 200px);min-width:0;overflow:visible}.company-print-info h1{text-transform:uppercase;text-align:left;letter-spacing:.5px;color:#000;margin:0 0 4px;padding:0;font-family:Georgia,Times New Roman,Times,serif;font-size:32px;font-weight:700;line-height:1.15;display:block}.company-print-info div{text-align:left;color:#000;font-size:15px;line-height:1.4}.company-address{white-space:normal;overflow-wrap:break-word;word-break:normal;max-width:650px;margin-bottom:2px;line-height:1.35!important}.company-print-contact{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;margin:0;display:flex}.company-print-tax{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;margin:0;font-weight:600;display:flex}.company-print-logo{object-fit:contain;width:180px;height:180px;margin:0;display:block;position:absolute;top:0;right:0}@media print{.company-print-header{box-sizing:border-box;width:100%;margin-top:-15px;margin-bottom:40px;padding:0;display:block;position:relative;overflow:visible}.company-print-info{text-align:left;width:calc(100% - 200px);min-width:0;overflow:visible}.company-print-info h1{letter-spacing:.5px;text-align:left;color:#000;margin:0 0 4px;padding:0;font-family:Georgia,Times New Roman,Times,serif;font-size:25px;font-weight:700;line-height:1.15;display:block}.company-print-info div{text-align:left;color:#000;font-size:14px;line-height:1.35;display:block}.company-address{white-space:normal;overflow-wrap:break-word;word-break:normal;max-width:500px;margin-bottom:2px;display:block;line-height:1.3!important}.company-print-contact{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;margin:0;display:flex}.company-print-tax{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:12px;margin:0;font-weight:600;display:flex}.company-print-logo{object-fit:contain;width:180px;height:180px;margin:0;display:block;position:absolute;top:-38px;right:0}}.payment-container{background:#f4f7fb;min-height:100vh;padding:20px;font-family:Segoe UI,sans-serif}.payment-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.payment-header h2{color:#000;margin:0;font-size:28px;font-weight:700}.payment-form{background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:25px;box-shadow:0 8px 25px #0000001f}.payment-row{flex-wrap:wrap;gap:15px;margin-bottom:18px;display:flex}.payment-row label{color:#444;margin-bottom:5px;font-size:13px;font-weight:600;display:block}.payment-row input,.payment-row select{background:#fff;border:1px solid #cfd8e3;border-radius:6px;flex:1;min-width:180px;padding:10px 12px;font-size:14px;transition:all .3s}.payment-row input:focus,.payment-row select:focus{border-color:#1976d2;outline:none;box-shadow:0 0 8px #1976d240}.payment-table{border-collapse:collapse;border-radius:8px;width:100%;margin-top:20px;overflow:hidden}.payment-table thead{color:#fff;background:#1d3557}.payment-table th{padding:12px;font-size:14px;font-weight:700}.payment-table td{background:#fff;border:1px solid #d8d8d8;padding:8px}.payment-table tr:nth-child(2n){background:#f7f9fc}.payment-table tbody tr:hover{background:#eef5ff}.payment-table input,.payment-table select{box-sizing:border-box;border:1px solid #cfd8e3;border-radius:5px;width:100%;padding:8px;font-size:14px}.payment-table input:focus,.payment-table select:focus{border-color:#1976d2;outline:none}.payment-table th:first-child,.payment-table td:first-child{width:66%}.payment-table th:nth-child(2),.payment-table td:nth-child(2),.payment-table th:nth-child(3),.payment-table td:nth-child(3){width:15%}.payment-table th:nth-child(4),.payment-table td:nth-child(4){width:4%}.journal-total{color:#1d3557;justify-content:flex-end;align-items:center;gap:40px;margin-top:20px;font-size:16px;font-weight:700;display:flex}.journal-total div{white-space:nowrap}.payment-button-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:20px;display:flex}.payment-button-row button,.payment-save-btn,.payment-post-btn,.payment-view-btn,.payment-print-btn{color:#fff;cursor:pointer;box-sizing:border-box;border:none;border-radius:6px;justify-content:center;align-items:center;width:140px;height:40px;margin:0;padding:0 15px;font-size:15px;font-weight:700;transition:all .3s;display:inline-flex}.payment-save-btn{background:#28a745}.payment-save-btn:hover{background:#1d8a38;transform:translateY(-2px)}.payment-post-btn{background:#c14642}.payment-post-btn:hover{background:#c14642;transform:translateY(-2px)}.payment-view-btn{background:#0d6efd}.payment-view-btn:hover{background:#0b5ed7;transform:translateY(-2px)}.payment-print-btn{background:#f59e0b}.payment-print-btn:hover{background:#f59e0b;transform:translateY(-2px)}.payment-post-btn:disabled{cursor:not-allowed;background:#adb5bd;transform:none}@media (width<=700px){.payment-button-row{flex-direction:column;align-items:stretch}.payment-button-row button{width:100%}}.voucher-modal{z-index:9999;box-sizing:border-box;background:#00000073;justify-content:flex-end;align-items:flex-start;width:100%;height:100%;padding-top:125px;display:flex;position:fixed;top:0;left:0}.voucher-modal-content{box-sizing:border-box;background:#fff;border-radius:10px;width:1215px;max-width:95%;padding:20px;box-shadow:0 10px 30px #00000040}.payment-print-template table{border-collapse:collapse;border:2px solid #000}.payment-print-template th,.payment-print-template td{border:1px solid #000;padding:2px}.payment-print-template .signature-table,.payment-print-template .signature-table td,.payment-print-template .signature-table th{border:none!important}@media (width<=900px){.payment-row{flex-direction:column}.payment-table{display:block;overflow-x:auto}.journal-total{flex-direction:column;align-items:flex-end;gap:8px}.payment-button-row{flex-wrap:wrap}}@media (width<=700px){.payment-button-row{flex-direction:column;align-items:stretch}.payment-button-row button{width:100%}}@media print{body *{visibility:hidden}#payment-print,#payment-print *{visibility:visible}#payment-print{box-sizing:border-box;background:#fff;width:100%;padding:20px;position:absolute;top:0;left:0}.payment-header,.payment-button-row,.payment-save-btn,.payment-post-btn,.payment-view-btn,.payment-print-btn,.payment-new-btn,.journal-form{display:none!important}.payment-print-template{display:block!important}.payment-print-template table{border-collapse:collapse;border:2px solid #000}.payment-print-template th,.payment-print-template td{border:1px solid #000;padding:2px}.payment-print-template .signature-table,.payment-print-template .signature-table td,.payment-print-template .signature-table th{border:none!important}}.payment-purchase-invoice-fetch-row{align-items:center;margin-bottom:14px;display:flex}.payment-purchase-invoice-fetch-btn{color:#fff;cursor:pointer;background:#1f4e79;border:1px solid #1f4e79;border-radius:5px;padding:9px 16px;font-size:14px;font-weight:600}.payment-purchase-invoice-fetch-btn:hover{background:#163a5c}.payment-purchase-invoice-modal-overlay{z-index:9999;background:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.payment-purchase-invoice-modal{background:#fff;border-radius:8px;flex-direction:column;width:92%;max-width:1100px;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 8px 30px #00000040}.payment-purchase-invoice-modal-header{background:#f5f7fa;border-bottom:1px solid #d9d9d9;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.payment-purchase-invoice-modal-header h3{margin:0;font-size:17px;font-weight:700}.payment-purchase-invoice-modal-close{cursor:pointer;color:#555;background:0 0;border:none;font-size:24px;line-height:1}.payment-purchase-invoice-modal-search{border-bottom:1px solid #e1e1e1;gap:8px;padding:12px 18px;display:flex}.payment-purchase-invoice-modal-search input{border:1px solid #bfc5cc;border-radius:4px;flex:1;min-width:0;padding:8px 10px;font-size:14px}.payment-purchase-invoice-search-btn{color:#fff;cursor:pointer;background:#1f4e79;border:1px solid #1f4e79;border-radius:4px;padding:8px 16px;font-weight:600}.payment-purchase-invoice-search-btn:hover{background:#163a5c}.payment-purchase-invoice-selected-count{color:#444;padding:8px 18px;font-size:13px;font-weight:600}.payment-purchase-invoice-table-wrap{flex:1;padding:0 18px 12px;overflow:auto}.payment-purchase-invoice-table{border-collapse:collapse;width:100%;font-size:13px}.payment-purchase-invoice-table th{z-index:1;text-align:left;white-space:nowrap;background:#eef2f6;border:1px solid #d4d9df;padding:9px 8px;position:sticky;top:0}.payment-purchase-invoice-table td{white-space:nowrap;border:1px solid #e0e3e7;padding:8px}.payment-purchase-invoice-table tbody tr:hover{background:#f7f9fb}.payment-purchase-invoice-table input[type=checkbox]{cursor:pointer;width:16px;height:16px}.payment-purchase-invoice-loading{text-align:center;color:#666;padding:25px}.payment-purchase-invoice-empty{text-align:center;color:#777;padding:25px}.payment-purchase-invoice-modal-footer{background:#f5f7fa;border-top:1px solid #d9d9d9;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;display:flex}.payment-purchase-invoice-cancel-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #999;border-radius:4px;padding:8px 16px;font-weight:600}.payment-purchase-invoice-cancel-btn:hover{background:#eee}.payment-purchase-invoice-fetch-selected-btn{color:#fff;cursor:pointer;background:#1f4e79;border:1px solid #1f4e79;border-radius:4px;padding:8px 16px;font-weight:600}.payment-purchase-invoice-fetch-selected-btn:hover{background:#163a5c}.receipt-container{background:#f4f7fb;min-height:100vh;padding:20px;font-family:Segoe UI,sans-serif}.receipt-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.receipt-header h2{color:#000;margin:0;font-size:28px;font-weight:700}.receipt-form{background:#fff;border:1px solid #dbe5ef;border-radius:12px;padding:25px;box-shadow:0 8px 25px #0000001f}.receipt-row{flex-wrap:wrap;gap:15px;margin-bottom:18px;display:flex}.receipt-row label{color:#444;margin-bottom:5px;font-size:13px;font-weight:600;display:block}.receipt-row input,.receipt-row select{background:#fff;border:1px solid #cfd8e3;border-radius:6px;flex:1;min-width:180px;padding:10px 12px;font-size:14px;transition:all .3s}.receipt-row input:focus,.receipt-row select:focus{border-color:#1976d2;outline:none;box-shadow:0 0 8px #1976d240}.receipt-table{border-collapse:collapse;border-radius:8px;width:100%;margin-top:20px;overflow:hidden}.receipt-table thead{color:#fff;background:#1d3557}.receipt-table th{padding:12px;font-size:14px;font-weight:700}.receipt-table td{background:#fff;border:1px solid #d8d8d8;padding:8px}.receipt-table tr:nth-child(2n){background:#f7f9fc}.receipt-table tbody tr:hover{background:#eef5ff}.receipt-table input,.receipt-table select{border:1px solid #cfd8e3;border-radius:5px;width:100%;padding:8px;font-size:14px}.receipt-table input:focus,.receipt-table select:focus{border-color:#1976d2;outline:none}.btn-add:hover{background:#218838}.delete-row-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:16px;line-height:28px;display:flex}.delete-row-btn:hover{background:#b02a37}.receipt-save-btn{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:6px;margin-top:20px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.receipt-save-btn:hover{background:#1d8a38;transform:translateY(-2px)}.receipt-total{color:#1d3557;justify-content:flex-end;gap:40px;margin-top:20px;font-size:18px;font-weight:700;display:flex}.receipt-total span{color:#0d6efd}@media (width<=900px){.receipt-row{flex-direction:column}.receipt-table{display:block;overflow-x:auto}.receipt-total{flex-direction:column;align-items:flex-end;gap:8px}}.receipt-table th:first-child,.receipt-table td:first-child{width:66%}.receipt-table th:nth-child(2),.receipt-table td:nth-child(2),.receipt-table th:nth-child(3),.receipt-table td:nth-child(3){width:15%}.receipt-table th:nth-child(4),.receipt-table td:nth-child(4){width:4%}.receipt-view-btn{color:#fff;cursor:pointer;background:#0d6efd;border:none;border-radius:6px;margin-top:20px;margin-left:10px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.receipt-view-btn:hover{transform:translateY(-2px)}.button-area{justify-content:space-between;align-items:center;margin-top:20px;display:flex}.voucher-search-bar{align-items:center;gap:10px;margin:15px 0;display:flex}.voucher-search-bar label{font-weight:700}.voucher-search-bar input{border:1px solid #ccc;border-radius:5px;width:250px;padding:10px}.receipt-search-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:5px;padding:10px 20px}.receipt-search-btn:hover{background:#157347}.voucher-search-table{border-collapse:collapse;width:100%;margin-top:15px}.voucher-search-table th,.voucher-search-table td{text-align:left;border:1px solid #ddd;padding:10px}.voucher-search-table thead{color:#fff;background:#1d3557}.voucher-search-table tbody tr:hover{cursor:pointer;background:#eef5ff}.voucher-modal{z-index:9999;background:#00000073;justify-content:right;align-items:flex-start;width:100%;height:100%;padding-top:125px;display:flex;position:fixed;top:0;left:0}.voucher-modal-content{background:#fff;border-radius:10px;width:1215px;max-width:95%;padding:20px;box-shadow:0 10px 30px #00000040}.voucher-modal-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.voucher-modal-header h2{color:#1d3557;margin:0}.close-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:5px;padding:8px 12px;font-size:14px}.close-btn:hover{background:#bb2d3b}@media print{body *{visibility:hidden}#receipt-print,#receipt-print *{visibility:visible}#receipt-print{background:#fff;width:100%;padding:20px;position:absolute;top:0;left:0}.receipt-save-btn,.receipt-view-btn,.receipt-print-btn,.receipt-new-btn{display:none!important}@media print{.receipt-header{display:none!important}}}.receipt-print-template table{border-collapse:collapse;border:2px solid #000}.receipt-print-template th,.receipt-print-template td{border:1px solid #000;padding:2px}.receipt-print-template .signature-table,.receipt-print-template .signature-table td,.receipt-print-template .signature-table th{border:none!important}.receipt-print-btn{color:#fff;cursor:pointer;background:#f59e0b;border:none;border-radius:6px;margin-top:20px;margin-left:10px;padding:12px 45px;font-size:15px;font-weight:700;transition:all .3s}.receipt-print-btn:hover{transform:translateY(-2px)}.receipt-sales-invoice-fetch-row{align-items:center;width:100%;margin-bottom:18px;display:flex}.receipt-sales-invoice-fetch-btn{color:#fff;cursor:pointer;background:#0d6efd;border:none;border-radius:6px;padding:11px 24px;font-size:14px;font-weight:600;transition:all .2s;box-shadow:0 2px 5px #0000001f}.receipt-sales-invoice-fetch-btn:hover{background:#0b5ed7;transform:translateY(-1px);box-shadow:0 4px 9px #00000029}.receipt-sales-invoice-fetch-btn:active{transform:translateY(0)}.receipt-sales-invoice-modal{box-sizing:border-box;z-index:10000;background:#0000007a;justify-content:center;align-items:flex-start;width:100%;height:100%;padding:70px 20px 30px;display:flex;position:fixed;inset:0;overflow-y:auto}.receipt-sales-invoice-modal-content{box-sizing:border-box;background:#fff;border-radius:10px;width:1180px;max-width:100%;max-height:calc(100vh - 100px);padding:22px;overflow:hidden;box-shadow:0 12px 35px #00000047}.receipt-sales-invoice-modal-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px;display:flex}.receipt-sales-invoice-modal-header h2{color:#1d3557;margin:0;font-size:22px;font-weight:700}.receipt-sales-invoice-search-bar{align-items:center;gap:12px;margin:15px 0 18px;display:flex}.receipt-sales-invoice-search-bar label{color:#333;min-width:105px;font-size:14px;font-weight:600}.receipt-sales-invoice-search-bar input{box-sizing:border-box;background:#fff;border:1px solid #cfd8e3;border-radius:6px;flex:1;min-width:0;padding:10px 12px;font-size:14px}.receipt-sales-invoice-search-bar input:focus{border-color:#1976d2;outline:none;box-shadow:0 0 7px #1976d233}.receipt-sales-invoice-search-bar button{color:#fff;cursor:pointer;white-space:nowrap;background:#198754;border:none;border-radius:6px;padding:10px 20px;font-size:14px;font-weight:600}.receipt-sales-invoice-search-bar button:hover{background:#157347}.receipt-sales-invoice-table-wrapper{border:1px solid #d9e1ea;border-radius:7px;width:100%;max-height:52vh;overflow:auto}.receipt-sales-invoice-table{border-collapse:collapse;background:#fff;width:100%;min-width:1000px}.receipt-sales-invoice-table thead{color:#fff;background:#1d3557}.receipt-sales-invoice-table th{text-align:center;white-space:nowrap;border:1px solid #304b6e;padding:10px 9px;font-size:13px;font-weight:700}.receipt-sales-invoice-table td{color:#333;vertical-align:middle;background:#fff;border:1px solid #d8dee6;padding:9px;font-size:13px}.receipt-sales-invoice-table tbody tr:nth-child(2n) td{background:#f8fafc}.receipt-sales-invoice-table tbody tr:hover td{background:#eef5ff}.receipt-sales-invoice-table input[type=checkbox]{cursor:pointer;width:16px;height:16px}.receipt-sales-invoice-table td:nth-child(6),.receipt-sales-invoice-table td:nth-child(7),.receipt-sales-invoice-table td:nth-child(8){text-align:right;white-space:nowrap}.receipt-sales-invoice-table th:first-child,.receipt-sales-invoice-table td:first-child{text-align:center;width:55px}.receipt-sales-invoice-loading,.receipt-sales-invoice-empty{text-align:center;color:#666;padding:25px;font-size:14px}.receipt-sales-invoice-fetch-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:18px;display:flex}.receipt-sales-invoice-fetch-btn{color:#fff;cursor:pointer;background:#198754;border:none;border-radius:6px;padding:10px 22px;font-size:14px;font-weight:600}.receipt-sales-invoice-fetch-btn:hover{background:#157347}.receipt-sales-invoice-fetch-actions .close-btn{padding:10px 22px;font-size:14px}@media (width<=900px){.receipt-sales-invoice-modal{padding:30px 10px 20px}.receipt-sales-invoice-modal-content{max-height:calc(100vh - 50px);padding:15px}.receipt-sales-invoice-search-bar{flex-wrap:wrap}.receipt-sales-invoice-search-bar label{width:100%}.receipt-sales-invoice-search-bar input{flex:none;width:100%}.receipt-sales-invoice-search-bar button{width:auto}.receipt-sales-invoice-fetch-actions{flex-wrap:wrap}}.item-master-page{box-sizing:border-box;background:#f4f6f9;min-height:100vh;padding:20px;font-family:Arial,Helvetica,sans-serif}.item-master-header{color:#fff;background:linear-gradient(135deg,#2563eb,#1e40af);border-radius:10px;margin-bottom:18px;padding:18px 22px;box-shadow:0 4px 12px #0000001a}.item-master-header h2{margin:0;font-size:23px;font-weight:700}.item-master-header p{opacity:.9;margin:5px 0 0;font-size:13px}.item-master-card{background:#fff;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 3px 12px #00000012}.item-master-card h3{color:#1f2937;border-bottom:1px solid #e5e7eb;margin:0 0 18px;padding-bottom:12px;font-size:17px}.item-master-form{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;display:grid}.item-master-field{flex-direction:column;gap:6px;display:flex}.item-master-field label{color:#374151;font-size:13px;font-weight:600}.item-master-field input,.item-master-field select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:40px;padding:0 11px;font-size:14px;transition:all .2s}.item-master-field input:focus,.item-master-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.item-master-field input[readonly]{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;font-weight:700}.item-search-box{margin-bottom:15px}.item-search-box input{border:1px solid #ec7f7f;border-radius:6px;outline:none;width:420px;padding:10px 14px;font-size:14px;transition:all .2s}.item-search-box input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1f}.item-search-box input::placeholder{color:#0956dc}.item-master-buttons{border-top:1px solid #e5e7eb;gap:10px;margin-top:20px;padding-top:18px;display:flex}.save-btn{color:#040404;background:#fef2f2;border:1px solid #0744e9;transition:all .3s}.save-btn:hover{color:#fff;background:#3b26dc;border-color:#2651dc;transform:translateY(-2px);box-shadow:0 4px 8px #dc262640}.item-update-btn{background:linear-gradient(135deg,#059669,#047857)}.clear-btn{color:#040404;background:#f59e0b;border:1px solid #fca5a5;margin-right:20px;transition:all .3s}.clear-btn:hover{color:#fff;background:#dc2626;border-color:#dc2626;transform:translateY(-2px);box-shadow:0 4px 8px #dc262640}.item-list-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.item-list-header h3{color:#1f2937;margin:0;font-size:18px}.item-count{color:#1d4ed8;background:#eff6ff;border-radius:15px;padding:6px 12px;font-size:12px;font-weight:700}.item-table-wrapper{border:1px solid #e5e7eb;border-radius:8px;overflow-x:auto}.item-table{border-collapse:collapse;width:100%;min-width:850px}.item-table thead th{color:#374151;text-align:left;background:#f1f5f9;border-bottom:2px solid #e5e7eb;padding:12px;font-size:13px;font-weight:700}.item-table tbody td{color:#374151;border-bottom:1px solid #eef0f3;padding:11px 12px;font-size:13px}.item-table tbody tr:hover{background:#f8fafc}.item-code{color:#1d4ed8;font-weight:700}.item-status-active{color:#15803d;background:#dcfce7;border-radius:15px;padding:5px 9px;font-size:11px;font-weight:700}.item-status-inactive{color:#b91c1c;background:#fee2e2;border-radius:15px;padding:5px 9px;font-size:11px;font-weight:700}.delete-btn{color:#040404;background:#fef2f2;border:1px solid #fca5a5;transition:all .3s}.delete-btn:hover{color:#fff;background:#dc2626;border-color:#dc2626;transform:translateY(-2px);box-shadow:0 4px 8px #dc262640}.edit-btn{color:#040404;background:#a60707;border:1px solid #fca5a5;transition:all .3s}.edit-btn:hover{color:#fff;background:#dc2626;border-color:#dc2626;transform:translateY(-2px);box-shadow:0 4px 8px #dc262640}.item-delete-btn:hover{background:#fee2e2}.item-empty{text-align:center;color:#9ca3af;padding:25px;font-size:14px}@media (width<=900px){.item-master-form{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.item-master-page{padding:12px}.item-master-form{grid-template-columns:1fr}.item-master-buttons{flex-wrap:wrap}}.purchase-order-page{box-sizing:border-box;color:#000;background:#f4f7f8;min-height:100vh;padding:20px;font-family:Arial,Helvetica,sans-serif}.purchase-order-header{color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex;box-shadow:0 4px 12px #0000001f}.purchase-order-header h1{letter-spacing:.2px;margin:0;font-size:30px;font-weight:700}.purchase-order-header p{opacity:.92;margin:5px 0 0;font-size:13px}.purchase-order-number{background:#ffffff24;border:1px solid #ffffff47;border-radius:8px;flex-direction:column;align-items:flex-end;min-width:170px;padding:11px 16px;display:flex}.purchase-order-number span{opacity:.9;font-size:12px;font-weight:600}.purchase-order-number strong{color:#fff;margin-top:3px;font-size:19px;font-weight:800}.purchase-order-card{background:#fff;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 3px 12px #00000012}.purchase-order-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;display:grid}.po-field{flex-direction:column;gap:6px;display:flex}.po-field label{color:#030404;font-size:13px;font-weight:600}.po-field input,.po-field select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;height:40px;padding:0 11px;font-size:14px;transition:all .2s}.po-field input:focus,.po-field select:focus,.po-field textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.po-field textarea{box-sizing:border-box;color:#111827;resize:vertical;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;padding:10px 11px;font-size:14px;transition:all .2s}.po-section-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;display:flex}.po-section-header h2{color:#1f2937;margin:0;font-size:17px;font-weight:700}.po-add-button{color:#0f766e;cursor:pointer;background:#ecfdf5;border:1px solid #0f766e;border-radius:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s}.po-add-button:hover{color:#fff;background:#0f766e;transform:translateY(-1px)}.po-table-wrapper{background:#fff;border:2px solid #164e63;border-radius:8px;overflow-x:auto}.purchase-order-table thead th{color:#fff;text-align:left;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;padding:12px 9px;font-size:14px;font-weight:700}.purchase-order-table tbody td{color:#374151;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:7px;font-size:14px}.purchase-order-table tbody tr:hover{background:#f0fdfa}.purchase-order-table tbody tr:last-child td{border-bottom:none}.purchase-order-table input,.purchase-order-table select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #0f766e;border-radius:5px;outline:none;height:36px;padding:0 8px;font-size:13px;transition:all .2s}.purchase-order-table input:focus,.purchase-order-table select:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.purchase-order-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1100px}.purchase-order-table th:first-child,.purchase-order-table td:first-child{text-align:center;width:20px}.purchase-order-table th:nth-child(2),.purchase-order-table td:nth-child(2){width:23%}.purchase-order-table th:nth-child(3),.purchase-order-table td:nth-child(3){width:20%}.purchase-order-table th:nth-child(4),.purchase-order-table td:nth-child(4){width:10%}.purchase-order-table th:nth-child(5),.purchase-order-table td:nth-child(5){width:8%}.purchase-order-table th:nth-child(6),.purchase-order-table td:nth-child(6){width:10%}.purchase-order-table th:nth-child(7),.purchase-order-table td:nth-child(7){text-align:right;width:12%}.purchase-order-table th:nth-child(8),.purchase-order-table td:nth-child(8){text-align:center;width:55px}.purchase-order-table td:nth-child(2) select,.purchase-order-table td:nth-child(3) input,.purchase-order-table td:nth-child(4) input,.purchase-order-table td:nth-child(5) input,.purchase-order-table td:nth-child(6) input{box-sizing:border-box;width:100%!important}.purchase-order-table tbody td{box-sizing:border-box;vertical-align:middle;padding:7px}.purchase-order-table td.po-amount{text-align:right;padding-right:12px}.purchase-order-page .po-total-row{box-sizing:border-box!important;text-align:right!important;background:#eef6ff!important;border:1px solid #2563eb!important;border-radius:6px!important;justify-content:flex-end!important;align-items:center!important;width:fit-content!important;min-width:130px!important;margin-top:18px!important;margin-left:auto!important;padding:9px!important;display:flex!important;box-shadow:0 2px 6px #00000014!important}.purchase-order-page .po-total-label{color:#1e3a8a!important;text-align:right!important;margin:0!important;padding:0!important;font-size:16px!important;font-weight:700!important;display:block!important}.purchase-order-page .po-total-amount{color:#000!important;text-align:right!important;white-space:nowrap!important;min-width:10px!important;margin:0 0 0 45px!important;padding:0!important;font-size:18px!important;font-weight:800!important;display:block!important}.purchase-order-bottom-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.purchase-order-bottom-grid textarea{min-height:100px}.purchase-order-actions{border-top:1px solid #dfe5e7;align-items:center;gap:10px;margin-top:20px;padding:18px 0 5px;display:flex}.po-save-button{color:#fff;cursor:pointer;background:#2f313d;border:1px solid #2f313d;border-radius:6px;padding:11px 17px;font-size:14px;font-weight:600;transition:all .2s}.po-save-button:hover{background:#2f313d;transform:translateY(-1px);box-shadow:0 3px 7px #05966933}.po-print-button{color:#fff;cursor:pointer;background:#f59e0b;border:1px solid #d97706;border-radius:6px;padding:11px 35px;font-size:14px;font-weight:600;transition:all .2s}.po-print-button:hover{background:#d97706;transform:translateY(-1px);box-shadow:0 3px 7px #d9770633}.po-clear-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;min-width:110px;height:40px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;color:#fff!important;background-color:#0d673f!important;background-image:none!important;border:1px solid #0d673f!important}.po-clear-button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #dc354533;color:#fff!important;background-color:#0d673f!important;border-color:#0d673f!important}.po-clear-button:active{transform:translateY(0)}.po-clear-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none;color:#fff!important;background-color:#0d673f!important;border-color:#0d673f!important}.po-view-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;min-width:110px;height:40px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;color:#fff!important;background-color:#0d6efd!important;background-image:none!important;border:1px solid #0d6efd!important}.po-view-button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #0d6efd33;color:#fff!important;background-color:#0b5ed7!important;border-color:#0b5ed7!important}.po-view-button:active{transform:translateY(0)}.po-view-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none;color:#fff!important;background-color:#0d6efd!important;border-color:#0d6efd!important}@media (width<=1000px){.purchase-order-grid{grid-template-columns:repeat(2,1fr)}.purchase-order-header{flex-direction:column;align-items:flex-start}.purchase-order-number{box-sizing:border-box;align-items:flex-start;width:100%}.purchase-order-bottom-grid{grid-template-columns:1fr}}@media (width<=650px){.purchase-order-page{padding:12px}.purchase-order-card{padding:15px}.purchase-order-grid{grid-template-columns:1fr}.purchase-order-header h1{font-size:24px}.po-section-header{flex-direction:column;align-items:flex-start;gap:10px}.po-add-button,.po-total-row{width:100%}.purchase-order-actions{flex-wrap:wrap}.purchase-order-actions button{flex:2}}@media print{.purchase-order-page{background:#fff;min-height:auto;padding:0}.purchase-order-card{box-shadow:none;margin-bottom:10px}.purchase-order-actions,.po-add-button,.po-remove-button{display:none!important}.po-table-wrapper{border:2px solid #000;overflow:visible}.purchase-order-table{min-width:0}.purchase-order-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#155e75!important}.purchase-order-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.inventory-receiving-page{box-sizing:border-box;color:#000;background:#f4f7f8;min-height:100vh;padding:20px;font-family:Arial,Helvetica,sans-serif}.inventory-receiving-header{color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex;box-shadow:0 4px 12px #0000001f}.inventory-receiving-header h1{letter-spacing:.2px;margin:0;font-size:30px;font-weight:700}.inventory-receiving-header p{opacity:.92;margin:5px 0 0;font-size:13px}.inventory-receiving-page .grn-field label{box-sizing:border-box;padding-left:25px;font-weight:600;display:block;text-align:left!important;font-size:18px!important}.inventory-receiving-page .grn-field select{color:#222;box-sizing:border-box;cursor:pointer;background:#fff;border:1px solid #d7dce2;border-radius:6px;outline:none;width:40%;height:42px;margin-left:20px;padding:0 25px;font-size:14px}.inventory-receiving-page .grn-field select:focus{border-color:#4a90e2;box-shadow:0 0 0 2px #4a90e21f}.inventory-receiving-number{background:#ffffff24;border:1px solid #ffffff47;border-radius:8px;flex-direction:column;align-items:flex-end;min-width:170px;padding:11px 16px;display:flex}.inventory-receiving-number span{opacity:.9;font-size:12px;font-weight:600}.inventory-receiving-number strong{color:#fff;margin-top:3px;font-size:19px;font-weight:800}.inventory-receiving-card{background:#fff;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 3px 12px #00000012}.inventory-receiving-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;display:grid}.grn-field{flex-direction:column;gap:6px;display:flex}.grn-field label{color:#030404;font-size:13px;font-weight:600}.grn-field input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;height:40px;padding:0 11px;font-size:14px;transition:all .2s}.grn-field input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.grn-field input[readonly]{background:#f8fafc}.grn-po-select{gap:7px;width:100%;display:flex}.grn-po-select input{flex:1;min-width:0}.grn-search-button{color:#fff;cursor:pointer;white-space:nowrap;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;height:40px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s}.grn-search-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px);box-shadow:0 3px 7px #0d6efd33}.grn-section-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;display:flex}.grn-section-header h2{color:#1f2937;margin:0;font-size:17px;font-weight:700}.grn-table-wrapper{background:#fff;border:2px solid #164e63;border-radius:8px;overflow-x:auto}.inventory-receiving-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1150px}.inventory-receiving-table thead th{color:#fff;text-align:left;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;padding:12px 9px;font-size:14px;font-weight:700}.inventory-receiving-table tbody td{color:#374151;white-space:nowrap;vertical-align:middle;box-sizing:border-box;border-bottom:1px solid #e5e7eb;padding:7px;font-size:14px}.inventory-receiving-table tbody tr:hover{background:#f0fdfa}.inventory-receiving-table tbody tr:last-child td{border-bottom:none}.inventory-receiving-table th:first-child,.inventory-receiving-table td:first-child{text-align:center;width:45px}.inventory-receiving-table th:nth-child(2),.inventory-receiving-table td:nth-child(2){width:25%}.inventory-receiving-table th:nth-child(3),.inventory-receiving-table td:nth-child(3){text-align:right;width:10%}.inventory-receiving-table th:nth-child(4),.inventory-receiving-table td:nth-child(4){text-align:right;width:12%}.inventory-receiving-table th:nth-child(5),.inventory-receiving-table td:nth-child(5){text-align:right;width:11%}.inventory-receiving-table th:nth-child(6),.inventory-receiving-table td:nth-child(6){width:11%}.inventory-receiving-table th:nth-child(7),.inventory-receiving-table td:nth-child(7){width:7%}.inventory-receiving-table th:nth-child(8),.inventory-receiving-table td:nth-child(8){text-align:right;width:9%}.inventory-receiving-table th:nth-child(9),.inventory-receiving-table td:nth-child(9){text-align:right;width:12%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table{min-width:850px}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:first-child,.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:first-child{text-align:center;width:60px}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(2),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(2){text-align:left;width:35%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(3),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(3){text-align:right;width:15%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(4),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(4){text-align:center;width:10%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(5),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(5){text-align:right;width:12%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(6),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(6){text-align:right;width:13%}.inventory-receiving-page .inventory-receiving-table.customer-processing-table th:nth-child(7),.inventory-receiving-page .inventory-receiving-table.customer-processing-table td:nth-child(7){text-align:center;width:10%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table){min-width:1150px}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:first-child,.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:first-child{text-align:center;width:60px}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(2),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(2){text-align:left;width:28%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(3),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(3){text-align:right;width:10%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(4),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(4){text-align:right;width:12%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(5),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(5){text-align:right;width:11%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(6),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(6){text-align:right;width:12%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(7),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(7){text-align:center;width:8%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(8),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(8){text-align:right;width:10%}.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) th:nth-child(9),.inventory-receiving-page .inventory-receiving-table:not(.customer-processing-table) td:nth-child(9){text-align:right;width:11%}.grn-item-name{white-space:normal;flex-direction:column;gap:2px;display:flex}.grn-item-name strong{color:#111827;font-size:14px}.grn-item-name small{color:#6b7280;font-size:11px}.grn-number-cell{text-align:right;font-variant-numeric:tabular-nums}.grn-balance{font-weight:700;color:#0f766e!important}.grn-rate,.grn-amount{text-align:right;font-variant-numeric:tabular-nums}.grn-amount{font-weight:700;color:#111827!important}.inventory-receiving-table input[type=number]{box-sizing:border-box;color:#111827;text-align:right;background:#fff;border:1px solid #0f766e;border-radius:5px;outline:none;width:100%;height:36px;padding:0 8px;font-size:13px;transition:all .2s}.inventory-receiving-table input[type=number]:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.grn-receive-disabled{cursor:not-allowed;color:#94a3b8!important;background:#f1f5f9!important;border-color:#cbd5e1!important}.grn-no-items{text-align:center;color:#6b7280!important;padding:35px 15px!important;font-size:14px!important}.inventory-receiving-page .grn-total-row{justify-content:flex-end;align-items:center;gap:15px;margin-top:18px;margin-left:auto;width:fit-content!important;display:flex!important}.inventory-receiving-page .grn-total-box{box-sizing:border-box;background:#eef6ff;border:1px solid #2563eb;border-radius:6px;justify-content:space-between;align-items:center;gap:25px;min-width:180px;padding:9px 12px;display:flex;box-shadow:0 2px 6px #00000014}.inventory-receiving-page .grn-total-label{color:#1e3a8a;text-align:right;margin:0;padding:0;font-size:16px;font-weight:700;display:block}.inventory-receiving-page .grn-total-amount{color:#000;text-align:right;white-space:nowrap;min-width:10px;margin:0;padding:0;font-size:18px;font-weight:800;display:block}.inventory-receiving-actions{border-top:1px solid #dfe5e7;align-items:center;gap:10px;margin-top:20px;padding:18px 0 5px;display:flex}.grn-save-button{color:#fff;cursor:pointer;background:#2f313d;border:1px solid #2f313d;border-radius:6px;padding:11px 17px;font-size:14px;font-weight:600;transition:all .2s}.grn-save-button:hover{background:#2f313d;transform:translateY(-1px);box-shadow:0 3px 7px #05966933}.grn-save-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.grn-clear-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;min-width:110px;height:40px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;color:#fff!important;background-color:#0d673f!important;background-image:none!important;border:1px solid #0d673f!important}.grn-clear-button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #dc354533;background-color:#0d673f!important;border-color:#0d673f!important}.grn-clear-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.grn-search-overlay{z-index:9999;box-sizing:border-box;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.grn-search-modal{background:#fff;border-radius:10px;flex-direction:column;width:min(850px,100%);max-height:85vh;display:flex;overflow:hidden;box-shadow:0 15px 45px #00000040}.grn-search-header{color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;display:flex}.grn-search-header h2{margin:0;font-size:19px;font-weight:700}.grn-search-header p{opacity:.9;margin:4px 0 0;font-size:12px}.grn-search-close{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:6px;width:34px;height:34px;font-size:25px;line-height:1}.grn-search-close:hover{background:#ffffff40}.grn-search-box{background:#fff;border-bottom:1px solid #e5e7eb;padding:14px 18px}.grn-search-box input{box-sizing:border-box;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;height:40px;padding:0 12px;font-size:14px}.grn-search-box input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.grn-search-list{padding:8px 0;overflow-y:auto}.grn-search-message{text-align:center;color:#6b7280;padding:30px 20px;font-size:14px}.grn-search-row{border-bottom:1px solid #edf0f2;justify-content:space-between;align-items:center;gap:20px;padding:12px 18px;transition:background .2s;display:flex}.grn-search-row:hover{background:#f0fdfa}.grn-search-info{flex-direction:column;gap:3px;min-width:0;display:flex}.grn-search-info strong{color:#111827;font-size:14px}.grn-search-info span{color:#6b7280;white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.grn-search-right{white-space:nowrap;align-items:center;gap:12px;display:flex}.grn-search-right>span{color:#374151;font-size:13px;font-weight:600}.grn-select-button{color:#fff;cursor:pointer;background:#0d6efd;border:1px solid #0d6efd;border-radius:5px;min-width:75px;height:34px;padding:0 13px;font-size:13px;font-weight:600;transition:all .2s}.grn-select-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px)}.inventory-receiving-actions .grn-view-button{color:#fff!important;cursor:pointer!important;background:#2563eb!important;border:1px solid #2563eb!important;border-radius:6px!important;justify-content:center!important;align-items:center!important;min-width:120px!important;height:40px!important;padding:0 18px!important;font-size:14px!important;font-weight:600!important;transition:all .2s!important;display:inline-flex!important}.inventory-receiving-actions .grn-view-button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #2563eb40;background:#1d4ed8!important;border-color:#1d4ed8!important}@media (width<=1000px){.inventory-receiving-grid{grid-template-columns:repeat(2,1fr)}.inventory-receiving-header{flex-direction:column;align-items:flex-start}.inventory-receiving-number{box-sizing:border-box;align-items:flex-start;width:100%}}@media (width<=650px){.inventory-receiving-page{padding:12px}.inventory-receiving-card{padding:15px}.inventory-receiving-grid{grid-template-columns:1fr}.inventory-receiving-header h1{font-size:24px}.grn-po-select{flex-direction:column}.grn-search-button{width:100%}.grn-total-row{width:100%!important}.inventory-receiving-actions{flex-wrap:wrap}.inventory-receiving-actions button{flex:1}.grn-search-row{flex-direction:column;align-items:flex-start}.grn-search-right{justify-content:space-between;width:100%}}@media print{.inventory-receiving-page{background:#fff;min-height:auto;padding:0}.inventory-receiving-card{box-shadow:none;margin-bottom:10px}.inventory-receiving-actions,.grn-search-button{display:none!important}.grn-table-wrapper{border:2px solid #000;overflow:visible}.inventory-receiving-table{min-width:0}.inventory-receiving-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#155e75!important}.inventory-receiving-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.inventory-issue-page{box-sizing:border-box;color:#000;background:#f4f7f8;min-height:100vh;padding:20px;font-family:Arial,Helvetica,sans-serif}.inventory-issue-header{color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex;box-shadow:0 4px 12px #0000001f}.inventory-issue-header h1{letter-spacing:.2px;margin:0;font-size:30px;font-weight:700}.inventory-issue-header p{color:#fff;opacity:.92;margin:5px 0 0;font-size:13px}.inventory-issue-number{box-sizing:border-box;background:#ffffff24;border:1px solid #ffffff47;border-radius:8px;flex-direction:column;align-items:flex-end;min-width:170px;padding:11px 16px;display:flex}.inventory-issue-number span{color:#fff;opacity:.9;font-size:12px;font-weight:600}.inventory-issue-number strong{color:#fff;margin-top:3px;font-size:19px;font-weight:800}.inventory-issue-card{box-sizing:border-box;background:#fff;border:none;border-radius:10px;width:100%;margin-bottom:20px;padding:22px;box-shadow:0 3px 12px #00000012}.inventory-issue-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;width:100%;display:grid}.issue-field{box-sizing:border-box;flex-direction:column;gap:6px;width:100%;display:flex}.issue-field label{color:#030404;margin:0;font-size:13px;font-weight:600}.issue-field input,.issue-field select,.issue-field textarea{color:#111827;box-sizing:border-box;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;height:40px;min-height:40px;padding:0 11px;font-family:inherit;font-size:14px;transition:all .2s}.issue-field input:focus,.issue-field select:focus,.issue-field textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.issue-field input[readonly]{color:#4b5563;background:#f8fafc}.issue-field textarea{resize:vertical;height:auto;min-height:80px;padding:9px 11px}.issue-select-with-button{align-items:stretch;gap:7px;width:100%;display:flex}.issue-select-with-button select{flex:1;min-width:0}.issue-add-button{color:#fff;cursor:pointer;white-space:nowrap;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;flex-shrink:0;height:40px;min-height:40px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.issue-add-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px);box-shadow:0 3px 7px #0d6efd33}.issue-po-select{align-items:stretch;gap:7px;width:100%;display:flex}.issue-po-select input{flex:1;min-width:0}.issue-search-button{color:#fff;cursor:pointer;white-space:nowrap;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;flex-shrink:0;height:40px;min-height:40px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.issue-search-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px);box-shadow:0 3px 7px #0d6efd33}.issue-section-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;width:100%;margin-bottom:15px;padding-bottom:12px;display:flex}.issue-section-header h2{color:#1f2937;margin:0;font-size:17px;font-weight:700}.issue-item-entry{grid-template-columns:minmax(0,1fr) 150px 150px 120px;align-items:end;gap:14px;width:100%;display:grid}.issue-available-field input,.issue-qty-field input{text-align:right}.issue-add-item-wrapper{align-items:flex-end;height:100%;display:flex}.issue-add-item-button{color:#fff;cursor:pointer;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;width:100%;height:40px;min-height:40px;padding:0 15px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.issue-add-item-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px);box-shadow:0 3px 7px #0d6efd33}.issue-table-wrapper{box-sizing:border-box;background:#fff;border:2px solid #164e63;border-radius:8px;width:100%;overflow-x:auto}.inventory-issue-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1150px}.inventory-issue-table thead th{color:#fff;text-align:left;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;padding:12px 9px;font-size:14px;font-weight:700}.inventory-issue-table tbody td{color:#374151;white-space:nowrap;vertical-align:middle;box-sizing:border-box;background:#fff;border-bottom:1px solid #e5e7eb;padding:7px;font-size:14px}.inventory-issue-table tbody tr:hover,.inventory-issue-table tbody tr:hover td{background:#f0fdfa}.inventory-issue-table tbody tr:last-child td{border-bottom:none}.inventory-issue-table th:first-child,.inventory-issue-table td:first-child{text-align:center;width:60px}.inventory-issue-table th:nth-child(2),.inventory-issue-table td:nth-child(2){text-align:left;width:13%}.inventory-issue-table th:nth-child(3),.inventory-issue-table td:nth-child(3){text-align:left;width:25%}.inventory-issue-table th:nth-child(4),.inventory-issue-table td:nth-child(4){text-align:right;width:11%}.inventory-issue-table th:nth-child(5),.inventory-issue-table td:nth-child(5){text-align:right;width:12%}.inventory-issue-table th:nth-child(6),.inventory-issue-table td:nth-child(6){text-align:center;width:8%}.inventory-issue-table th:nth-child(7),.inventory-issue-table td:nth-child(7){text-align:right;width:10%}.inventory-issue-table th:nth-child(8),.inventory-issue-table td:nth-child(8){text-align:right;width:12%}.inventory-issue-table th:nth-child(9),.inventory-issue-table td:nth-child(9){text-align:center;width:9%}.issue-number-cell{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right!important}.inventory-issue-table td input{text-align:right;box-sizing:border-box;color:#111827;background:#fff;border:1px solid #0f766e;border-radius:5px;outline:none;width:100%;height:36px;min-height:36px;padding:0 8px;font-family:inherit;font-size:13px}.inventory-issue-table td input:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.issue-no-items{height:65px;text-align:center!important;color:#6b7280!important;padding:35px 15px!important;font-size:14px!important}.issue-remove-button{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #dc2626;border-radius:5px;width:30px;height:30px;padding:0;font-size:12px;font-weight:700;transition:all .2s}.issue-remove-button:hover{color:#fff;background:#dc2626;transform:translateY(-1px)}.issue-total-row{box-sizing:border-box;justify-content:flex-end;align-items:center;gap:12px;width:100%;margin-top:18px;margin-bottom:18px;padding:0;display:flex}.issue-total-item{box-sizing:border-box;background:#eef6ff;border:1px solid #2563eb;border-radius:6px;justify-content:flex-end;align-items:center;gap:25px;min-width:180px;padding:9px 12px;display:flex;box-shadow:0 2px 6px #00000014}.issue-total-item span{color:#1e3a8a;font-size:16px;font-weight:700}.issue-total-item strong{color:#000;text-align:right;white-space:nowrap;min-width:85px;font-size:18px;font-weight:800}.inventory-issue-actions{box-sizing:border-box;border-top:1px solid #dfe5e7;align-items:center;gap:10px;width:100%;margin-top:20px;padding:18px 0 5px;display:flex}.issue-clear-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;min-width:110px;height:40px;padding:0 18px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;color:#fff!important;background-color:#0d673f!important;background-image:none!important;border:1px solid #0d673f!important}.issue-clear-button:hover{transform:translateY(-1px);box-shadow:0 3px 7px #dc354533;background-color:#0d673f!important;border-color:#0d673f!important}.issue-save-button{color:#fff;cursor:pointer;background:#2f313d;border:1px solid #2f313d;border-radius:6px;justify-content:center;align-items:center;min-width:110px;height:40px;padding:0 17px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.issue-save-button:hover{background:#2f313d;border-color:#2f313d;transform:translateY(-1px);box-shadow:0 3px 7px #05966933}.issue-clear-button:disabled,.issue-save-button:disabled{opacity:.65;cursor:not-allowed;box-shadow:none;transform:none}.issue-modal-overlay{z-index:9999;box-sizing:border-box;background:#00000073;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.issue-modal{background:#fff;border-radius:10px;flex-direction:column;width:min(850px,100%);max-height:85vh;display:flex;overflow:hidden;box-shadow:0 15px 45px #00000040}.issue-department-modal{box-sizing:border-box;background:#fff;border-radius:10px;width:450px;max-width:95vw;padding:20px;box-shadow:0 15px 45px #00000040}.issue-modal-header{color:#fff;box-sizing:border-box;background:linear-gradient(135deg,#0f766e,#164e63);justify-content:space-between;align-items:center;width:100%;padding:17px 20px;display:flex}.issue-modal-header h2{color:#fff;margin:0;font-size:19px;font-weight:700}.issue-department-modal .issue-modal-header{background:0 0;margin-bottom:18px;padding:0 0 14px}.issue-department-modal .issue-modal-header h2{color:#1f2937;font-size:17px}.issue-modal-header button{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:6px;width:34px;height:34px;padding:0;font-size:25px;line-height:1}.issue-modal-header button:hover{background:#ffffff40}.issue-department-modal .issue-modal-header button{color:#6b7280;background:0 0}.issue-department-modal .issue-modal-header button:hover{color:#111827;background:#e5e7eb}.issue-modal-search{background:#fff;border-bottom:1px solid #e5e7eb;padding:14px 18px}.issue-modal-search input{box-sizing:border-box;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;height:40px;min-height:40px;padding:0 12px;font-family:inherit;font-size:14px}.issue-modal-search input:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1c}.issue-modal-table-wrapper{max-height:55vh;overflow:auto}.issue-modal-table{border-collapse:collapse;width:100%;font-size:13px}.issue-modal-table th{color:#fff;text-align:left;z-index:1;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;padding:12px 10px;font-size:13px;font-weight:700;position:sticky;top:0}.issue-modal-table td{color:#374151;background:#fff;border-bottom:1px solid #e5e7eb;padding:10px}.issue-modal-table tbody tr:hover td{background:#f0fdfa}.issue-modal-table tbody tr:last-child td{border-bottom:none}.issue-modal-message{text-align:center!important;color:#6b7280!important;padding:30px!important;font-size:14px!important}.issue-select-button{color:#fff;cursor:pointer;background:#0d6efd;border:1px solid #0d6efd;border-radius:5px;min-width:75px;height:34px;padding:0 13px;font-family:inherit;font-size:13px;font-weight:600;transition:all .2s}.issue-select-button:hover{background:#0b5ed7;border-color:#0b5ed7;transform:translateY(-1px)}.issue-department-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}@media (width<=1000px){.inventory-issue-grid{grid-template-columns:repeat(2,1fr)}.inventory-issue-header{flex-direction:column;align-items:flex-start}.inventory-issue-number{box-sizing:border-box;align-items:flex-start;width:100%}}@media (width<=900px){.issue-item-entry{grid-template-columns:minmax(0,1fr) 140px 140px 110px}}@media (width<=650px){.inventory-issue-page{padding:12px}.inventory-issue-card{padding:15px}.inventory-issue-grid{grid-template-columns:1fr}.inventory-issue-header h1{font-size:24px}.issue-item-entry{grid-template-columns:1fr}.issue-add-item-wrapper{height:auto}.issue-select-with-button,.issue-po-select{flex-direction:column}.issue-add-button,.issue-search-button{width:100%}.issue-total-row{flex-direction:column;align-items:stretch;width:100%}.issue-total-item{width:100%}.inventory-issue-actions{flex-wrap:wrap}.inventory-issue-actions button{flex:1}.issue-department-actions{flex-wrap:wrap}.issue-department-actions button{flex:1}}@media print{.inventory-issue-page{background:#fff;min-height:auto;padding:0}.inventory-issue-card{box-shadow:none;margin-bottom:10px}.inventory-issue-actions,.issue-add-button,.issue-search-button,.issue-add-item-button,.issue-remove-button{display:none!important}.issue-table-wrapper{border:2px solid #000;overflow:visible}.inventory-issue-table{min-width:0}.inventory-issue-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#155e75!important}.inventory-issue-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.production-job-order-page{box-sizing:border-box;color:#000;background:#f4f7f8;width:100%;min-height:100vh;padding:20px;font-family:Arial,Helvetica,sans-serif}.production-job-order-header{box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);border-radius:10px;align-items:center;width:100%;min-height:85px;margin-bottom:18px;padding:11px 22px;display:flex;box-shadow:0 2px 8px #0000001a;text-align:center!important;justify-content:center!important}.production-job-order-header h2{letter-spacing:.9px;color:#000;text-align:center;margin:0;font-family:Times New Roman,Times,serif;font-size:40px;font-weight:800}.production-job-order-header span{color:#dbeafe;text-align:center;margin-top:4px;font-size:13px;font-weight:500;display:block}.production-job-order-card{box-sizing:border-box;background:#fff;border-radius:10px;width:100%;padding:22px;box-shadow:0 2px 10px #0000000f}.production-section-title{box-sizing:border-box;color:#111827;background:0 0;border-bottom:1px solid #e5e7eb;border-left:none;align-items:center;width:100%;min-height:38px;margin:0 0 15px;padding:0 0 12px;font-size:17px;font-weight:700;display:flex}.production-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;margin-bottom:20px;display:grid}.production-field{flex-direction:column;width:100%;min-width:0;display:flex}.production-field label{color:#000;margin-bottom:6px;font-size:13px;font-weight:600}.production-field input,.production-field select,.production-field textarea{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;min-height:40px;padding:0 11px;font-family:Arial,Helvetica,sans-serif;font-size:14px;transition:border-color .15s,box-shadow .15s}.production-field input:focus,.production-field select:focus,.production-field textarea:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-field textarea{resize:vertical;min-height:100px;padding:9px 11px}.production-finished-goods{grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(140px,1fr);gap:16px;width:100%;margin-bottom:20px;display:grid}.production-master-section{width:100%;margin-top:5px;margin-bottom:20px}.production-master-toolbar{justify-content:flex-end;align-items:center;width:100%;margin-bottom:12px;display:flex}.production-add-master-btn{color:#0f766e;cursor:pointer;background:#eefbf8;border:1px solid #0f766e;border-radius:6px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:700;transition:background .15s,transform .1s}.production-add-master-btn:hover{background:#dff7f1}.production-add-master-btn:active{transform:translateY(1px)}.production-add-master-btn:disabled{opacity:.55;cursor:not-allowed}.production-master-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;margin-bottom:10px;display:grid}.production-master-field{box-sizing:border-box;min-width:0;box-shadow:none;background:#fff;border:1px solid #d7dee1;border-radius:6px;padding:14px;transition:border-color .15s,box-shadow .15s;position:relative}.production-master-field:hover{border-color:#0f766e;box-shadow:0 2px 6px #0f766e14}.production-master-field-header{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.production-master-field-title{color:#111827;font-size:13px;font-weight:700}.production-master-field input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;min-height:40px;padding:0 10px;font-size:14px}.production-master-field input:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-master-actions{justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.production-master-values-btn{color:#0f766e;cursor:pointer;background:#fff;border:1px solid #0f766e;border-radius:6px;flex:1;min-height:36px;padding:7px 10px;font-size:12px;font-weight:700}.production-master-values-btn:hover{background:#eefbf8}.production-master-count{white-space:nowrap;color:#6b7280;font-size:11px}.production-search-btn{color:#fff;cursor:pointer;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:700;transition:background .15s,transform .1s}.production-search-btn:hover{background:#0b5ed7}.production-search-btn:active{transform:translateY(1px)}.production-table-wrapper{background:#fff;border:2px solid #164e63;border-radius:8px;width:100%;margin-bottom:12px;overflow-x:auto}.production-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1100px}.production-table th{color:#fff;text-align:center;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;border-right:1px solid #ffffff26;height:40px;padding:10px 9px;font-size:13px;font-weight:700}.production-table th:last-child{border-right:none}.production-table td{color:#374151;vertical-align:middle;background:#fff;border-bottom:1px solid #e0e5e7;border-right:1px solid #e0e5e7;padding:7px;font-size:13px}.production-table td:last-child{border-right:none}.production-table tbody tr:hover td{background:#f0fdfa}.production-table input,.production-table select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #0f766e;border-radius:5px;outline:none;width:100%;height:36px;padding:0 8px;font-size:13px}.production-table input:focus,.production-table select:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-table th:first-child,.production-table td:first-child{text-align:center;width:35px}.production-table th:nth-child(2),.production-table td:nth-child(2){text-align:left;width:22%}.production-table th:nth-child(3),.production-table td:nth-child(3){text-align:left;width:21%}.production-table th:nth-child(4),.production-table td:nth-child(4){text-align:left;width:12%}.production-table th:nth-child(5),.production-table td:nth-child(5){text-align:center;width:9%}.production-table th:nth-child(6),.production-table td:nth-child(6){text-align:center;width:7%}.production-table th:nth-child(7),.production-table td:nth-child(7){text-align:right;width:9%}.production-table th:nth-child(8),.production-table td:nth-child(8){text-align:right;width:10%}.production-table th:nth-child(9),.production-table td:nth-child(9){text-align:center;width:55px}.production-table td:nth-child(5) input,.production-table td:nth-child(6) input,.production-table td:nth-child(7) input{padding-left:5px;padding-right:5px;font-size:12px}.production-table td:nth-child(8){white-space:nowrap;font-weight:600}.production-add-line-btn{color:#0f766e;cursor:pointer;background:#eefbf8;border:1px solid #0f766e;border-radius:6px;min-height:40px;margin-bottom:15px;padding:9px 16px;font-size:13px;font-weight:700}.production-add-line-btn:hover{background:#dff7f1}.production-delete-line-btn{color:#b91c1c;cursor:pointer;background:#fff5f5;border:1px solid #dc2626;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:14px;font-weight:700;display:inline-flex}.production-delete-line-btn:hover{background:#fee2e2}.production-total{box-sizing:border-box;color:#1e3a8a;text-align:right;background:#eef6ff;border:1px solid #2563eb;border-radius:6px;align-items:center;width:fit-content;min-width:130px;margin-top:5px;margin-bottom:18px;margin-left:auto;padding:9px;font-size:16px;font-weight:700;display:flex;box-shadow:0 1px 4px #2563eb14}.production-total span{color:#000;text-align:right;min-width:150px;margin-left:45px;font-size:18px;font-weight:700}.production-remarks{width:100%;margin-top:5px;margin-bottom:18px}.production-remarks label{color:#000;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.production-remarks textarea{box-sizing:border-box;resize:vertical;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;width:100%;min-height:100px;padding:9px 11px;font-size:14px}.production-remarks textarea:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-footer{border-top:1px solid #e5e7eb;justify-content:flex-end;align-items:center;gap:10px;width:100%;margin-top:20px;padding:18px 0 5px;display:flex}.production-save-btn{color:#fff;cursor:pointer;background:#2f313d;border:1px solid #2f313d;border-radius:6px;min-height:40px;padding:11px 17px;font-size:14px;font-weight:700}.production-save-btn:hover{background:#242631}.production-save-btn:disabled{opacity:.55;cursor:not-allowed}.production-print-btn{color:#fff;cursor:pointer;background:#f59e0b;border:1px solid #f59e0b;border-radius:6px;min-height:40px;padding:11px 35px;font-size:14px;font-weight:700}.production-print-btn:hover{background:#d97706}.production-search-overlay{z-index:9999;box-sizing:border-box;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.production-search-modal{background:#fff;border:1px solid #d1d5db;border-radius:10px;flex-direction:column;width:min(950px,100%);max-height:82vh;display:flex;overflow:hidden;box-shadow:0 18px 50px #00000040}.production-search-header{box-sizing:border-box;color:#fff;background:linear-gradient(135deg,#0f766e,#164e63);justify-content:space-between;align-items:center;min-height:58px;padding:0 20px;display:flex}.production-search-header h3{color:#fff;margin:0;font-size:18px;font-weight:700}.production-search-header button{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:22px;line-height:1;transition:background .15s;display:flex}.production-search-header button:hover{background:#ffffff26}.production-search-bar{background:#f8fafb;border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;padding:14px 18px;display:flex}.production-search-bar input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5d8;border-radius:6px;outline:none;flex:1;min-height:40px;padding:0 11px;font-size:14px}.production-search-bar input:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-search-bar input::placeholder{color:#9ca3af}.production-search-bar .production-search-btn{color:#fff;cursor:pointer;background:#0d6efd;border:1px solid #0d6efd;border-radius:6px;min-width:90px;min-height:40px;padding:9px 16px;font-size:13px;font-weight:700}.production-search-bar .production-search-btn:hover{background:#0b5ed7}.production-search-results{background:#fff;flex:1;padding:14px 18px 18px;overflow-y:auto}.production-search-results table{border-collapse:collapse;table-layout:fixed;border:1px solid #d1d5db;width:100%}.production-search-results th{color:#fff;text-align:center;white-space:nowrap;background:#155e75;border-bottom:2px solid #0e3f50;border-right:1px solid #ffffff26;height:40px;padding:8px 10px;font-size:13px;font-weight:700}.production-search-results th:last-child{border-right:none}.production-search-results td{color:#374151;vertical-align:middle;background:#fff;border-bottom:1px solid #e0e5e7;border-right:1px solid #e0e5e7;height:40px;padding:7px 10px;font-size:13px}.production-search-results td:last-child{border-right:none}.production-search-results tbody tr:hover td{background:#f0fdfa}.production-search-results th:first-child,.production-search-results td:first-child{text-align:left;width:28%}.production-search-results th:nth-child(2),.production-search-results td:nth-child(2){text-align:center;width:27%}.production-search-results th:nth-child(3),.production-search-results td:nth-child(3){text-align:center;width:20%}.production-search-results th:nth-child(4),.production-search-results td:nth-child(4){text-align:center;width:25%}.production-search-results td:first-child{color:#0f766e;font-weight:700}.production-search-results td button{color:#0d6efd;cursor:pointer;background:#fff;border:1px solid #0d6efd;border-radius:5px;min-width:70px;min-height:32px;padding:6px 12px;font-size:12px;font-weight:700;transition:background .15s,color .15s}.production-search-results td button:hover{color:#fff;background:#0d6efd}.production-search-message{text-align:center;color:#6b7280;padding:40px 10px;font-size:13px}.production-master-values-list{box-sizing:border-box;width:100%;max-height:330px;padding:10px 16px;overflow-y:auto}.production-master-value-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;display:flex}.production-master-value-row span{color:#374151;flex:1;font-size:13px}.production-master-add-value{background:#f8fafb;border-top:1px solid #e5e7eb;align-items:center;gap:8px;padding:12px 16px;display:flex}.production-master-add-value input{border:1px solid #cbd5d8;border-radius:6px;outline:none;flex:1;min-height:40px;padding:0 10px;font-size:13px}.production-master-add-value input:focus{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e1a}.production-modal-footer{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:14px 16px;display:flex}.production-table-wrapper::-webkit-scrollbar{width:7px;height:7px}.production-search-results::-webkit-scrollbar{width:7px;height:7px}.production-master-values-list::-webkit-scrollbar{width:7px;height:7px}.production-table-wrapper::-webkit-scrollbar-track{background:#f1f3f6}.production-search-results::-webkit-scrollbar-track{background:#f1f3f6}.production-master-values-list::-webkit-scrollbar-track{background:#f1f3f6}.production-table-wrapper::-webkit-scrollbar-thumb{background:#b8c2cc;border-radius:10px}.production-search-results::-webkit-scrollbar-thumb{background:#b8c2cc;border-radius:10px}.production-master-values-list::-webkit-scrollbar-thumb{background:#b8c2cc;border-radius:10px}.production-table-wrapper::-webkit-scrollbar-thumb:hover{background:#8f9ba7}.production-search-results::-webkit-scrollbar-thumb:hover{background:#8f9ba7}.production-master-values-list::-webkit-scrollbar-thumb:hover{background:#8f9ba7}@media (width<=1200px){.production-form-grid,.production-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=800px){.production-job-order-page{padding:12px}.production-job-order-card{padding:14px}.production-finished-goods,.production-form-grid,.production-master-grid{grid-template-columns:1fr}.production-job-order-header{padding:15px}.production-job-order-header h2{font-size:24px}.production-footer{flex-wrap:wrap}}@media (width<=600px){.production-job-order-page{padding:8px}.production-job-order-card{padding:10px}.production-job-order-header{min-height:70px}.production-job-order-header h2{font-size:21px}.production-search-overlay{padding:10px}.production-search-modal{width:100%;max-height:92vh}.production-search-bar{flex-direction:column;align-items:stretch}.production-search-bar .production-search-btn{width:100%}.production-search-results{padding:10px}.production-search-results table{min-width:650px}.production-footer{flex-direction:column;align-items:stretch}.production-footer button{width:100%}.production-master-toolbar{justify-content:stretch}.production-add-master-btn{width:100%}.production-master-add-value{flex-direction:column;align-items:stretch}.production-master-add-value input{width:100%}.production-master-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;display:grid}.production-master-field{box-sizing:border-box;background:#fff;border:1px solid #d9dee5;border-radius:6px;flex-direction:column;gap:6px;padding:10px 38px 10px 10px;display:flex;position:relative}.production-master-name-input{color:#344054;box-sizing:border-box;background:#fff;border:1px solid #cfd6df;border-radius:5px;width:100%;height:34px;padding:6px 9px;font-size:13px;font-weight:600}.production-master-value-btn{color:#344054;text-align:left;cursor:pointer;box-sizing:border-box;background:#f6f8fa;border:1px solid #cfd6df;border-radius:5px;width:100%;min-height:34px;padding:7px 9px;font-size:13px;font-weight:500}.production-master-value-btn:hover{background:#eef2f5}.production-master-remove-btn{justify-content:center;align-items:center;width:25px;height:25px;padding:0;display:flex;position:absolute;top:8px;right:8px;margin:0!important}}@media print{body{background:#fff!important}.production-job-order-page{background:#fff!important;min-height:auto!important;padding:0!important}.production-job-order-header{color:#000!important;min-height:60px!important;box-shadow:none!important;background:#fff!important;border:1px solid #000!important}.production-job-order-header h2,.production-job-order-header span{color:#000!important}.production-job-order-card{box-shadow:none!important;border:none!important;padding:0!important}.production-section-title{color:#000!important;background:#f2f2f2!important;border-bottom:1px solid #000!important}.production-add-master-btn,.production-add-line-btn,.production-delete-line-btn,.production-footer,.production-search-overlay,.production-search-btn,.production-print-btn{display:none!important}.production-table-wrapper{border:1px solid #000!important;overflow:visible!important}.production-table{min-width:0!important}.production-table th{color:#000!important;background:#eee!important;border:1px solid #000!important}.production-table td{border:1px solid #000!important}.production-table input,.production-table select,.production-field input,.production-field select,.production-field textarea,.production-remarks textarea,.production-master-field input{box-shadow:none!important;background:0 0!important;border:none!important}.production-master-grid{grid-template-columns:repeat(4,1fr)!important}.production-master-field{box-shadow:none!important;border:1px solid #000!important}.production-total{color:#000!important;background:#fff!important;border:1px solid #000!important}.production-total span{color:#000!important}}.qty-input{text-align:right;width:75px;position:relative;top:8px}.add-row-container{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:10px;margin-top:14px;display:flex}.excel-download-btn{color:#217346;cursor:pointer;background:#e8f5ed;border:1px solid #217346;border-radius:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s}.excel-download-btn:hover{color:#fff;background:#217346;transform:translateY(-1px)}.excel-upload-btn{color:#1f4e78;cursor:pointer;background:#edf4fa;border:1px solid #1f4e78;border-radius:6px;padding:4px 15px;font-size:13px;font-weight:600;transition:all .2s}.excel-upload-btn:hover{color:#fff;background:#1f4e78;transform:translateY(-1px)}.purchase-invoice-fetch-grnpo-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:1px solid #2563eb;border-radius:6px;padding:10px 15px;font-size:14px;font-weight:600;transition:all .25s}.purchase-invoice-fetch-grnpo-btn:hover{background:#1e40af;border-color:#1e40af;transform:translateY(-1px)}.purchase-invoice-fetch-grnpo-btn:active{transform:translateY(0)}.invoice-search-row input[type=checkbox]{cursor:pointer;accent-color:#2563eb;width:15px!important;height:15px!important}.invoice-search-row strong{font-size:15px;font-weight:700}.invoice-search-row span{font-size:13px}.invoice-search-row small{font-size:13px!important}@media (width<=1000px){.invoice-info-grid{grid-template-columns:repeat(2,1fr)}.purchase-invoice-header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}}@media (width<=650px){.purchase-invoice-page{padding:12px}.invoice-card{padding:15px}.invoice-info-grid{grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.totals-grid{width:100%}.bottom-actions{flex-wrap:wrap}.invoice-footer-note{text-align:left;color:#000;margin-top:50px;padding-left:5px;font-size:14px;font-weight:600}}.conversion-page{background:#f4f6f9;width:100%;min-height:calc(100vh - 90px);padding:24px 30px 40px}.conversion-header{color:#fff;background:linear-gradient(90deg,#75a573,#4a57ea);border-radius:10px;margin-bottom:20px;padding:18px 25px;box-shadow:0 4px 12px #0000001f}.conversion-header h2{text-align:center;margin:0;font-size:25px;font-weight:700}.conversion-header p{color:#e6edf5;margin:6px 0 0;font-size:14px}.conversion-card{background:#fff;border:1px solid #e1e6ec;border-radius:10px;margin-bottom:20px;padding:20px 22px;box-shadow:0 2px 6px #00000014,0 1px 2px #0000000a}.section-title{color:#3240fb;border-bottom:2px solid #e7e7f3;margin-bottom:18px;padding-bottom:10px;font-size:17px;font-weight:700}.conversion-form-grid{grid-template-columns:repeat(4,minmax(180px,1fr));align-items:end;gap:18px 20px;display:grid}.conversion-field{flex-direction:column;gap:7px;display:flex}.conversion-field label{color:#373d51;font-size:13px;font-weight:600}.conversion-field input,.conversion-field select,.conversion-table input,.conversion-table select{color:#000;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;height:38px;padding:7px 10px;font-size:14px;transition:border-color .2s,box-shadow .2s}.conversion-field input:focus,.conversion-field select:focus,.conversion-table input:focus,.conversion-table select:focus{border-color:#0f0fe1;box-shadow:0 0 0 3px #315f8c1f}.conversion-field input[readonly]{color:#4b5563;background:#f3f4f7;font-weight:600}.conversion-table{table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #dce3ea;border-radius:8px;width:100%;margin-top:5px;overflow:hidden}.conversion-table thead th{color:#fffcfc;text-align:center;background:#0c447b;border-bottom:1px solid #d5dde6;padding:11px 8px;font-size:13px;font-weight:700}.conversion-table tbody td{color:#374151;text-align:center;background:#fff;border-bottom:1px solid #edf0f3;padding:9px 8px;font-size:13px}.conversion-table tbody tr:last-child td{border-bottom:none}.conversion-table tbody tr:hover td{background:#f8fafc}.conversion-table th:first-child,.conversion-table td:first-child{width:6%}.conversion-table th:nth-child(2),.conversion-table td:nth-child(2){width:27%}.conversion-table th:nth-child(3),.conversion-table td:nth-child(3){width:22%}.conversion-table th:nth-child(4),.conversion-table td:nth-child(4){width:10%}.conversion-table th:nth-child(5),.conversion-table td:nth-child(5){width:8%}.conversion-table th:nth-child(6),.conversion-table td:nth-child(6){width:11%}.conversion-table th:nth-child(7),.conversion-table td:nth-child(7){width:12%}.conversion-table th:nth-child(8),.conversion-table td:nth-child(8){width:6%}.conversion-table td:nth-child(2) select{width:100%}.conversion-table td:nth-child(4) input,.conversion-table td:nth-child(6) input{text-align:right;width:80px;max-width:100%}.conversion-table td:nth-child(3){color:#475569;font-weight:600}.conversion-table td:nth-child(7){text-align:right;color:#1f2937;white-space:nowrap;font-weight:600}.conversion-table td:nth-child(5){white-space:nowrap;font-weight:600}.conversion-table input,.conversion-table select{height:35px;font-size:13px}.delete-line-btn{color:#f0ecec;cursor:pointer;background:#0905ef;border:none;border-radius:6px;width:32px;height:32px;font-size:18px;font-weight:700;transition:background .2s,transform .15s}.delete-line-btn:hover{background:#ff7373;transform:scale(1.05)}.conversion-table+button,button[type=button]{cursor:pointer}.conversion-card:last-of-type{position:relative}.conversion-card>div:last-child{margin-top:15px}.conversion-card{color:#040404}.conversion-page button{font-family:Arial,sans-serif}.conversion-page button:not(.delete-line-btn){color:#fff;cursor:pointer;background:#3c39e9;border:none;border-radius:6px;min-height:38px;padding:8px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .15s;box-shadow:0 2px 5px #0000001f}.conversion-page button:not(.delete-line-btn):hover{background:#095d34;transform:translateY(-1px)}@media (width<=1100px){.conversion-form-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}@media (width<=1100px){.conversion-form-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media (width<=768px){.conversion-page{padding:15px}.conversion-form-grid{grid-template-columns:1fr}.conversion-card{padding:15px}.conversion-table{white-space:nowrap;display:block;overflow-x:auto}}.conversion-search-action{justify-content:flex-end;margin:15px 0;display:flex}.search-conversion-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;padding:10px 18px;font-size:14px;font-weight:600}}.sales-invoice-qty-input{text-align:right!important;vertical-align:middle!important;box-sizing:border-box!important;width:75px!important;height:36px!important;margin:0!important;padding:0 8px!important;position:relative!important;top:14px!important}.sales-invoice-unit-input{box-sizing:border-box;width:80px;height:36px}.invoice-table th:nth-child(3),.invoice-table td:nth-child(3){text-align:center;vertical-align:middle;width:90px;min-width:90px;max-width:90px;padding:7px 5px}.qty-input{text-align:right;box-sizing:border-box;width:75px;height:36px;margin-top:0;position:static!important;top:auto!important}.btn-print-large{color:#fff;cursor:pointer;background:#f59e0b;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 5px #0000001f;width:110px!important;height:60px!important}@media (width<=1000px){.invoice-info-grid{grid-template-columns:repeat(2,1fr)}.sales-invoice-header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}}@media (width<=650px){.sales-invoice-page{padding:12px}.invoice-card{padding:15px}.invoice-info-grid{grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.totals-grid{width:100%}.bottom-actions{flex-wrap:wrap}}.sales-master-add-btn{color:#fff;cursor:pointer;background:#1976d2;border:none;border-radius:4px;min-width:38px;height:36px;padding:0 10px;font-size:20px;font-weight:600;line-height:1}.sales-master-add-btn:hover{background:#1565c0}.sales-master-add-btn:active{background:#0d47a1}.sales-invoice-page{box-sizing:border-box;color:#000;background:#f4f6f9;min-height:100vh;padding:20px;font-family:Aril,Helvetica,sans-serif}.sales-invoice-header{color:#fff;background:linear-gradient(135deg,#b0e7a5,#2652ef);border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex;box-shadow:0 4px 12px #0000001a}.sales-invoice-header h2{margin:0;font-size:30px;font-weight:700}.sales-invoice-header p{opacity:.9;margin:5px 0 0;font-size:13px}.sales-return-qty-input{text-align:right;box-sizing:border-box;width:75px;height:36px;margin-top:0!important;position:static!important;top:auto!important}.sales-return-unit-input{box-sizing:border-box;width:80px;height:36px}@media (width<=1000px){.invoice-info-grid{grid-template-columns:repeat(2,1fr)}.sales-invoice-header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}}@media (width<=650px){.sales-invoice-page{padding:12px}.invoice-card{padding:15px}.invoice-info-grid{grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.totals-grid{width:100%}.bottom-actions{flex-wrap:wrap}}.btn-fetch-sales{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:6px;height:38px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-fetch-sales:hover{background:#1d4ed8;transform:translateY(-1px)}.btn-fetch-sales:active{transform:translateY(0)}.btn-fetch-sales:focus{outline:none;box-shadow:0 0 0 3px #2563eb2e}.delivery-challan-page{box-sizing:border-box;background:#f4f7fb;width:100%;min-height:100%;padding:24px 28px 40px}.delivery-challan-page-header{justify-content:space-between;align-items:center;width:100%;margin-bottom:22px;display:flex}.delivery-challan-page-header h1{color:#0f2f5f;letter-spacing:-.2px;margin:0;font-size:30px;font-weight:700}.delivery-challan-page-header p{color:#000;margin:5px 0 0;font-size:13px}.delivery-challan-card{box-sizing:border-box;background:#fff;border:1px solid #dbe4f0;border-radius:10px;width:100%;margin-bottom:18px;overflow:visible;box-shadow:0 2px 7px #0f2f5f0f}.delivery-challan-card-title{color:#fcfcff;letter-spacing:.15px;background:linear-gradient(90deg,#608663,#5591e0);border-bottom:1px solid #d7e3f2;border-left:4px solid #2563eb;border-radius:10px 10px 0 0;padding:13px 18px;font-size:16px;font-weight:700}.delivery-challan-form-grid{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;padding:20px;display:grid}.delivery-challan-field{min-width:0}.delivery-challan-field label{color:#334155;margin-bottom:6px;font-size:14px;font-weight:600;display:block}.delivery-challan-field .optional{color:#94a3b8;margin-left:6px;font-size:10px;font-weight:500}.delivery-challan-field input,.delivery-challan-field select,.delivery-challan-field textarea{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:7px;outline:none;width:100%;font-size:14px;transition:border-color .15s,box-shadow .15s,background .15s}.delivery-challan-field input,.delivery-challan-field select{height:39px;padding:0 11px}.delivery-challan-field textarea{resize:vertical;min-height:90px;padding:10px;font-family:inherit;line-height:1.5}.delivery-challan-field input:hover,.delivery-challan-field select:hover,.delivery-challan-field textarea:hover{border-color:#94a3b8}.delivery-challan-field input:focus,.delivery-challan-field select:focus,.delivery-challan-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.delivery-challan-field input[readonly]{color:#475569;background:#f1f5f9;font-weight:600}.delivery-challan-page .react-select__control{min-height:39px;box-shadow:none;border:1px solid #cbd7e6;border-radius:7px}.delivery-challan-page .react-select__control:hover{border-color:#94a3b8}.delivery-challan-page .react-select__control--is-focused{border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb1a!important}.delivery-challan-page .react-select__menu{z-index:2147483647}.delivery-challan-page .react-select__option--is-focused{background:#eef6ff}.delivery-challan-page .react-select__option--is-selected{color:#fff;background:#2563eb}.delivery-challan-table-wrapper{width:100%;padding:0;overflow-x:auto}.delivery-challan-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.delivery-challan-table th{color:#fff;text-align:left;white-space:nowrap;letter-spacing:.2px;background:#1f4f8f;border-bottom:1px solid #173d70;padding:11px 9px;font-size:13px;font-weight:600}.delivery-challan-table th:first-child,.delivery-challan-table th:last-child{border-radius:0}.delivery-challan-table td{vertical-align:middle;background:#fff;border-bottom:1px solid #e5ebf3;padding:8px}.delivery-challan-table tbody tr:nth-child(2n) td{background:#f8fbff}.delivery-challan-table tbody tr:hover td{background:#eef6ff}.delivery-challan-table td input{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:6px;outline:none;width:100%;height:36px;padding:0 9px;font-size:13px;transition:border-color .15s,box-shadow .15s}.delivery-challan-table td input:hover{border-color:#94a3b8}.delivery-challan-table td input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.delivery-challan-table th:first-child{width:28%}.delivery-challan-table th:nth-child(2){width:38%}.delivery-challan-table th:nth-child(3){width:14%}.delivery-challan-table th:nth-child(4){width:12%}.delivery-challan-table th:nth-child(5){width:70px}.delivery-challan-add-line-btn{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #2563eb;border-radius:7px;margin:14px 16px 16px;padding:8px 15px;font-size:12px;font-weight:700;transition:background .15s,color .15s,box-shadow .15s}.delivery-challan-add-line-btn:hover{background:#eff6ff;box-shadow:0 2px 6px #2563eb1f}.delivery-challan-delete-btn{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:19px;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.delivery-challan-delete-btn:hover{background:#fee2e2;border-color:#fca5a5}.delivery-challan-notes-card{overflow:hidden}.delivery-challan-full-field{padding:16px 18px 0}.delivery-challan-full-field:last-child{padding-bottom:18px}.delivery-challan-footer{align-items:center;gap:12px;width:100%;padding:18px 0 0;display:flex}.delivery-challan-save-btn,.delivery-challan-clear-btn,.delivery-challan-search-btn{cursor:pointer;border-radius:7px;min-width:145px;height:41px;padding:0 18px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s,transform 50ms}.delivery-challan-save-btn{color:#fff;background:#2563eb;border:1px solid #2563eb;box-shadow:0 2px 5px #2563eb2e}.delivery-challan-save-btn:hover{background:#167112;box-shadow:0 4px 9px #2563eb38}.delivery-challan-save-btn:disabled{opacity:.65;cursor:not-allowed}.delivery-challan-clear-btn{color:#fefefe;background:#e1a312;border:1px solid #cde1cb}.delivery-challan-clear-btn:hover{background:#7a4962;border-color:#94a3b8}.delivery-challan-search-btn{color:#fefdff;background:#525353;border:1px solid #475b59}.delivery-challan-search-btn:hover{background:#0d9488;border-color:#0d9488}.delivery-challan-print-btn{color:#fefdff;cursor:pointer;background:#525353;border:1px solid #475b59;border-radius:7px;min-width:145px;height:41px;padding:0 18px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s,transform 50ms}.delivery-challan-print-btn:hover{background:#0d9488;border-color:#0d9488;box-shadow:0 3px 7px #0d94882e}.delivery-challan-print-btn:active{transform:translateY(1px)}.delivery-challan-search-overlay{z-index:2147483647;box-sizing:border-box;background:#0f172a85;justify-content:center;align-items:flex-start;width:100vw;height:100vh;padding-top:70px;display:flex;position:fixed;inset:0}.delivery-challan-search-modal{background:#fff;border:1px solid #d7e1ed;border-radius:11px;flex-direction:column;width:min(1100px,100vw - 40px);max-height:calc(100vh - 110px);display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a47}.delivery-challan-search-header{box-sizing:border-box;background:linear-gradient(90deg,#edf5ff,#f8fbff);border-bottom:1px solid #d7e3f2;justify-content:space-between;align-items:center;min-height:64px;padding:12px 18px;display:flex}.delivery-challan-search-header>div{flex-direction:column;gap:3px;display:flex}.delivery-challan-search-header strong{color:#173b6d;font-size:15px;font-weight:800}.delivery-challan-search-header span{color:#64748b;font-size:11px}.delivery-challan-modal-close{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:6px;width:34px;height:34px;font-size:21px}.delivery-challan-modal-close:hover{background:#fee2e2}.delivery-challan-search-box{background:#fff;border-bottom:1px solid #e2e8f0;padding:15px 18px}.delivery-challan-search-box label{color:#334155;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.delivery-challan-search-box input{box-sizing:border-box;color:#172033;border:1px solid #cbd7e6;border-radius:7px;outline:none;width:100%;height:40px;padding:0 11px;font-size:13px}.delivery-challan-search-box input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.delivery-challan-search-list{flex:1;min-height:120px;overflow:auto}.delivery-challan-search-list table{border-collapse:collapse;width:100%}.delivery-challan-search-list th{z-index:2;color:#fff;text-align:left;white-space:nowrap;background:#1f4f8f;border-bottom:1px solid #173d70;padding:11px 12px;font-size:11px;font-weight:800;position:sticky;top:0}.delivery-challan-search-list td{color:#334155;border-bottom:1px solid #e2e8f0;padding:10px 12px;font-size:12px}.delivery-challan-search-list tr:nth-child(2n) td{background:#f8fbff}.delivery-challan-search-list tr:hover td{background:#eef6ff}.delivery-challan-view-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;min-width:62px;height:30px;padding:0 10px;font-size:11px;font-weight:700;box-shadow:0 1px 3px #2563eb26}.delivery-challan-view-btn:hover{background:#1d4ed8}.delivery-challan-no-result{text-align:center;color:#64748b;padding:35px 20px;font-size:13px}.delivery-challan-required{color:#dc2626;margin-left:3px;font-weight:700}.delivery-challan-page .css-portal,.delivery-challan-page .react-select__menu{z-index:2147483647}@media print{.delivery-challan-page{background:#fff;padding:0}.delivery-challan-page-header{margin-bottom:12px}.delivery-challan-footer,.delivery-challan-add-line-btn,.delivery-challan-delete-btn,.delivery-challan-search-overlay{display:none!important}.delivery-challan-card{box-shadow:none;border:none;margin-bottom:10px}.delivery-challan-card-title{-webkit-print-color-adjust:exact;print-color-adjust:exact}.delivery-challan-field input,.delivery-challan-field textarea,.delivery-challan-field select{box-shadow:none;background:0 0;border:none}.delivery-challan-table{border:1px solid #999}.delivery-challan-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media (width<=1200px){.delivery-challan-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=850px){.delivery-challan-page{padding:18px}.delivery-challan-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.delivery-challan-page{padding:12px}.delivery-challan-form-grid{grid-template-columns:1fr}.delivery-challan-footer{flex-direction:column;align-items:stretch}.delivery-challan-save-btn,.delivery-challan-clear-btn,.delivery-challan-search-btn{width:100%}.delivery-challan-search-modal{width:calc(100vw - 20px)}}.quotation-page{box-sizing:border-box;background:#f4f7fb;width:100%;min-height:100%;padding:24px 28px 40px}.quotation-page-header{justify-content:space-between;align-items:center;width:100%;margin-bottom:22px;display:flex}.quotation-page-header h1{color:#0f2f5f;letter-spacing:-.2px;margin:0;font-size:30px;font-weight:700}.quotation-page-header p{color:#000;margin:5px 0 0;font-size:13px}.quotation-card{box-sizing:border-box;background:#fff;border:1px solid #dbe4f0;border-radius:10px;width:100%;margin-bottom:18px;overflow:visible;box-shadow:0 2px 7px #0f2f5f0f}.quotation-card-title{color:#fcfcff;letter-spacing:.15px;background:linear-gradient(90deg,#608663,#5591e0);border-bottom:1px solid #d7e3f2;border-left:4px solid #2563eb;border-radius:10px 10px 0 0;padding:13px 18px;font-size:16px;font-weight:700}.quotation-form-grid{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;padding:20px;display:grid}.quotation-field{min-width:0}.quotation-field label{color:#334155;margin-bottom:6px;font-size:14px;font-weight:600;display:block}.quotation-field .optional{color:#94a3b8;margin-left:6px;font-size:10px;font-weight:500}.quotation-field input,.quotation-field select,.quotation-field textarea{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:7px;outline:none;width:100%;font-size:14px;transition:border-color .15s,box-shadow .15s,background .15s}.quotation-field input,.quotation-field select{height:39px;padding:0 11px}.quotation-field textarea{resize:vertical;min-height:90px;padding:10px;font-family:inherit;line-height:1.5}.quotation-field input:hover,.quotation-field select:hover,.quotation-field textarea:hover{border-color:#94a3b8}.quotation-field input:focus,.quotation-field select:focus,.quotation-field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.quotation-field input[readonly]{color:#475569;background:#f1f5f9;font-weight:600}.quotation-table-wrapper{width:100%;padding:0;overflow-x:auto}.quotation-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.quotation-table th{color:#fff;text-align:left;white-space:nowrap;letter-spacing:.2px;background:#1f4f8f;border-bottom:1px solid #173d70;padding:11px 9px;font-size:13px;font-weight:600}.quotation-table th:first-child,.quotation-table th:last-child{border-radius:0}.quotation-table td{vertical-align:middle;background:#fff;border-bottom:1px solid #e5ebf3;padding:8px}.quotation-table tbody tr:nth-child(2n) td{background:#f8fbff}.quotation-table tbody tr:hover td{background:#eef6ff}.quotation-table td input{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:6px;outline:none;width:100%;height:36px;padding:0 9px;font-size:13px;transition:border-color .15s,box-shadow .15s}.quotation-table td input:hover{border-color:#94a3b8}.quotation-table td input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.quotation-table td:nth-child(3) input,.quotation-table td:nth-child(5) input{text-align:right}.quotation-amount{box-sizing:border-box;color:#172033;background:#f1f5f9;border:1px solid #dbe4ef;border-radius:6px;justify-content:flex-end;align-items:center;height:36px;padding:0 9px;font-size:14px;font-weight:600;display:flex}.quotation-spec-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:100%}.quotation-spec-table th{color:#fff;text-align:left;letter-spacing:.2px;background:#1f4f8f;border-bottom:1px solid #173d70;padding:11px 10px;font-size:14px;font-weight:700}.quotation-spec-table td{background:#fff;border-bottom:1px solid #e5ebf3;padding:8px}.quotation-spec-table tbody tr:nth-child(2n) td{background:#f8fbff}.quotation-spec-table tbody tr:hover td{background:#eef6ff}.quotation-spec-table td input{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd7e6;border-radius:6px;outline:none;width:100%;height:36px;padding:0 9px;font-size:14px;transition:border-color .15s,box-shadow .15s}.quotation-spec-table td input:hover{border-color:#94a3b8}.quotation-spec-table td input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.quotation-add-line-btn{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #2563eb;border-radius:7px;margin:14px 16px 16px;padding:8px 15px;font-size:12px;font-weight:700;transition:background .15s,color .15s,box-shadow .15s}.quotation-add-line-btn:hover{background:#eff6ff;box-shadow:0 2px 6px #2563eb1f}.quotation-delete-btn{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;font-size:19px;line-height:1;transition:background .15s,border-color .15s;display:inline-flex}.quotation-delete-btn:hover{background:#fee2e2;border-color:#fca5a5}.quotation-bottom-grid{grid-template-columns:minmax(0,1.35fr) minmax(350px,.65fr);align-items:start;gap:18px;width:100%;display:grid}.quotation-bottom-grid .quotation-card{margin-bottom:0}.quotation-notes-card{overflow:hidden}.quotation-full-field{padding:16px 18px 0}.quotation-full-field:last-child{padding-bottom:18px}.quotation-totals-card{overflow:hidden}.quotation-total-row{box-sizing:border-box;border-bottom:1px solid #edf2f7;grid-template-columns:1fr 150px;align-items:center;gap:14px;min-height:46px;padding:6px 18px;display:grid}.quotation-total-row span{color:#475569;font-size:13px;font-weight:700}.quotation-total-row strong{text-align:right;color:#172033;font-size:13px;font-weight:700}.quotation-total-row input{box-sizing:border-box;text-align:right;color:#172033;border:1px solid #cbd7e6;border-radius:6px;outline:none;justify-self:end;width:150px;height:36px;padding:0 9px;font-size:13px}.quotation-total-row input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.quotation-grand-total-row{background:#eaf2ff;border-top:2px solid #93b4e5;justify-content:space-between;align-items:center;min-height:62px;padding:10px 18px;display:flex}.quotation-grand-total-row span{color:#173b6d;font-size:15px;font-weight:800}.quotation-grand-total-row strong{color:#0f3f82;font-size:18px;font-weight:800}.quotation-footer{align-items:center;gap:12px;width:100%;padding:18px 0 0;display:flex}.quotation-save-btn,.quotation-print-btn,.quotation-clear-btn,.quotation-search-btn{cursor:pointer;border-radius:7px;min-width:145px;height:41px;padding:0 18px;font-size:13px;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s,transform 50ms}.quotation-save-btn,.quotation-print-btn{color:#fff;background:#2563eb;border:1px solid #2563eb;box-shadow:0 2px 5px #2563eb2e}.quotation-print-btn:hover,.quotation-save-btn:hover{background:#167112;box-shadow:0 4px 9px #2563eb38}.quotation-save-btn:disabled{opacity:.65;cursor:not-allowed}.quotation-clear-btn{color:#fefefe;background:#e1a312;border:1px solid #cde1cb}.quotation-clear-btn:hover{background:#7a4962;border-color:#94a3b8}.quotation-search-btn{color:#fefdff;background:#525353;border:1px solid #475b59}.quotation-search-btn:hover{background:#0d9488;border-color:#0d9488}.quotation-search-overlay{z-index:2147483647;box-sizing:border-box;background:#0f172a85;justify-content:center;align-items:flex-start;width:100vw;height:100vh;padding-top:70px;display:flex;position:fixed;inset:0}.quotation-search-modal{background:#fff;border:1px solid #d7e1ed;border-radius:11px;flex-direction:column;width:min(1100px,100vw - 40px);max-height:calc(100vh - 110px);display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a47}.quotation-search-header{box-sizing:border-box;background:linear-gradient(90deg,#edf5ff,#f8fbff);border-bottom:1px solid #d7e3f2;justify-content:space-between;align-items:center;min-height:64px;padding:12px 18px;display:flex}.quotation-search-header>div{flex-direction:column;gap:3px;display:flex}.quotation-search-header strong{color:#173b6d;font-size:15px;font-weight:800}.quotation-search-header span{color:#64748b;font-size:11px}.quotation-modal-close{color:#dc2626;cursor:pointer;background:#fff1f2;border:1px solid #fecaca;border-radius:6px;width:34px;height:34px;font-size:21px}.quotation-modal-close:hover{background:#fee2e2}.quotation-search-box{background:#fff;border-bottom:1px solid #e2e8f0;padding:15px 18px}.quotation-search-box label{color:#334155;margin-bottom:6px;font-size:12px;font-weight:700;display:block}.quotation-search-box input{box-sizing:border-box;color:#172033;border:1px solid #cbd7e6;border-radius:7px;outline:none;width:100%;height:40px;padding:0 11px;font-size:13px}.quotation-search-box input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.quotation-search-list{flex:1;min-height:120px;overflow:auto}.quotation-search-list table{border-collapse:collapse;width:100%}.quotation-search-list th{z-index:2;color:#fff;text-align:left;white-space:nowrap;background:#1f4f8f;border-bottom:1px solid #173d70;padding:11px 12px;font-size:11px;font-weight:800;position:sticky;top:0}.quotation-search-list td{color:#334155;border-bottom:1px solid #e2e8f0;padding:10px 12px;font-size:12px}.quotation-search-list tr:nth-child(2n) td{background:#f8fbff}.quotation-search-list tr:hover td{background:#eef6ff}.quotation-view-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;min-width:62px;height:30px;padding:0 10px;font-size:11px;font-weight:700;box-shadow:0 1px 3px #2563eb26}.quotation-view-btn:hover{background:#1d4ed8}.quotation-no-result{text-align:center;color:#64748b;padding:35px 20px;font-size:13px}.quotation-page .css-portal,.quotation-page .react-select__menu{z-index:2147483647}@media (width<=1200px){.quotation-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quotation-bottom-grid{grid-template-columns:1fr}.quotation-totals-card{max-width:100%}}@media (width<=850px){.quotation-page{padding:18px}.quotation-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.quotation-page{padding:12px}.quotation-form-grid{grid-template-columns:1fr}.quotation-footer{flex-direction:column;align-items:stretch}.quotation-save-btn,.quotation-clear-btn,.quotation-search-btn{width:100%}.quotation-search-modal{width:calc(100vw - 20px)}}.purchase-invoice-page{box-sizing:border-box;color:#000;background:#f4f6f9;min-height:100vh;padding:20px;font-family:Aril,Helvetica,sans-serif}.purchase-invoice-header{color:#fff;background:linear-gradient(135deg,#b0e7a5,#2652ef);border-radius:10px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:18px 22px;display:flex;box-shadow:0 4px 12px #0000001a}.purchase-invoice-header h2{margin:0;font-size:30px;font-weight:700}.purchase-invoice-header p{opacity:.9;margin:5px 0 0;font-size:13px}.header-actions{align-items:center;gap:10px;display:flex}.invoice-card{background:#fff;border-radius:10px;margin-bottom:20px;padding:22px;box-shadow:0 3px 12px #00000012}.invoice-card h3{color:#1f2937;border-bottom:1px solid #e5e7eb;margin:0 0 18px;padding-bottom:12px;font-size:17px}.invoice-info-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:16px;display:grid}.form-field{flex-direction:column;gap:6px;display:flex}.form-field label{color:#030404;font-size:13px;font-weight:600}.form-field input,.form-field select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:40px;padding:0 11px;font-size:14px;transition:all .2s}.form-field input:focus,.form-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.invoice-number-input{font-weight:700;color:#1d4ed8!important;background:#eff6ff!important;border-color:#93c5fd!important}.invoice-search-overlay{z-index:9999;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.invoice-search-modal{background:#fff;border-radius:10px;flex-direction:column;width:650px;max-width:95%;max-height:85vh;display:flex;overflow:hidden;box-shadow:0 15px 40px #00000040}.invoice-search-header{color:#fff;background:linear-gradient(135deg,#2563eb,#1e40af);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.invoice-search-header strong{font-size:18px;display:block}.invoice-search-header span{opacity:.9;margin-top:3px;font-size:12px;display:block}.modal-close{color:#fff;cursor:pointer;background:0 0;border:none;font-size:25px;line-height:1}.invoice-search-box{border-bottom:1px solid #e5e7eb;padding:20px}.invoice-search-box label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:700;display:block}.invoice-search-box input{box-sizing:border-box;border:1px solid #2563eb;border-radius:6px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.invoice-search-box input:focus{box-shadow:0 0 0 3px #2563eb1a}.invoice-search-list{max-height:380px;padding:10px 20px 20px;overflow-y:auto}.invoice-search-row{background:#fff;border:1px solid #e5e7eb;border-radius:7px;justify-content:space-between;align-items:center;gap:15px;margin-top:8px;padding:12px 14px;transition:all .2s;display:flex}.invoice-search-row:hover{background:#f8fafc;border-color:#bfdbfe}.invoice-search-row strong{color:#1f2937;font-size:14px;display:block}.invoice-search-row span{color:#6b7280;margin-top:4px;font-size:12px;display:block}.btn-edit-view{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #2563eb;border-radius:5px;flex-shrink:0;padding:7px 14px;font-size:12px;font-weight:700}.btn-edit-view:hover{color:#fff;background:#2563eb}.no-invoice{text-align:center;color:#9ca3af;padding:30px;font-size:14px}.invoice-table-wrapper{border:3px solid #000;border-radius:8px;overflow-x:auto}.invoice-table{border-collapse:collapse;width:100%;min-width:1250px}.invoice-table thead th{color:#fff;text-align:left;white-space:nowrap;background:#1f4e78;border-bottom:2px solid #163a5a;padding:12px 9px;font-size:12px;font-weight:700}.invoice-table tbody td{color:#374151;white-space:nowrap;border-bottom:1px solid #eef0f3;padding:7px;font-size:13px}.invoice-table tbody tr:hover{background:#f8fafc}.invoice-table input,.invoice-table select{box-sizing:border-box;background:#fff;border:1px solid #0a63e9;border-radius:5px;outline:none;height:36px;padding:0 8px;font-size:13px}.invoice-table input:focus,.invoice-table select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.item-select{width:280px}.description-input{width:190px}.purchase-invoice-page .invoice-table td{vertical-align:middle}.purchase-invoice-page .invoice-table .qty-input{text-align:right;box-sizing:border-box;width:75px;height:34px;margin:0;padding:6px 8px;position:static;top:auto}.unit-input{width:80px}.rate-input{text-align:right;width:100px}.discount-input{text-align:right;width:95px;background:#fffbeb!important;border-color:#f59e0b!important}.amount-cell{text-align:right;color:#374151;min-width:110px;font-weight:700}.action-cell{text-align:center;width:80px}.delete-row-btn{color:#fcf8f8;cursor:pointer;background:#1904fc;border:1px solid #1904fc;border-radius:5px;padding:6px 10px;font-size:15px;font-weight:600;transition:all .2s}.delete-row-btn:hover{color:#fff;background:#dc2626}.delete-row-btn:disabled{opacity:.45;cursor:not-allowed}.add-row-container{justify-content:flex-start;margin-top:14px;display:flex}.add-row-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #2563eb;border-radius:6px;padding:9px 16px;font-size:13px;font-weight:600;transition:all .2s}.add-row-btn:hover{color:#fff;background:#2563eb;transform:translateY(-1px)}.tax-totals-section{width:350px;margin-top:18px;margin-left:auto}.tax-totals-section h3{color:#374151;margin:0 0 8px;font-size:17px;font-weight:700}.totals-box{background:#dde6f3;border:1px solid #e2e8f0;border-radius:8px;padding:12px 14px;box-shadow:0 2px 8px #0000000d}.totals-box .total-box{background:0 0;border:none;justify-content:space-between;align-items:center;gap:10px;min-height:15px;padding:3px 0;display:flex}.totals-box .total-box span{color:#000;font-size:13px;font-weight:600}.totals-box .total-box strong{color:#374151;font-size:13px;font-weight:700}.totals-box input{text-align:right;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:5px;width:90px;height:28px;padding:0 7px;font-size:13px}.rate-control{align-items:center;gap:5px;display:flex}.rate-control input{width:70px}.rate-control span{color:#6b7280;font-size:13px;font-weight:700}.totals-box .net-total-box{border-top:1px solid #cbd5e1;margin-top:6px;padding-top:8px}.totals-box .net-total-box span,.totals-box .net-total-box strong{color:#1d4ed8;font-size:15px;font-weight:700}.net-total-box{border-top:2px solid #dbe3ef;border-bottom:none;margin-top:8px;padding:14px 0}.net-total-box span{color:#1d4ed8;font-size:16px;font-weight:700}.net-total-box strong{color:#1d4ed8;font-size:18px}.bottom-actions{border-top:1px solid #e5e7eb;gap:10px;margin-top:20px;padding-top:18px;display:flex}.btn-save-large,.btn-view-large{cursor:pointer;border-radius:6px;padding:10px 15px;font-size:14px;font-weight:600;transition:all .25s}.btn-save-large{color:#fff;background:#059669;border:1px solid #059669}.btn-save-large:hover{background:#047857;transform:translateY(-1px)}.btn-view-large{color:#fff;background:#2563eb;border:1px solid #2563eb}.btn-view-large:hover{color:#fff;background:#2563eb;transform:translateY(-1px)}.btn-print-large{color:#fff;cursor:pointer;background:#f59e0b;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:10px 5px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 5px #0000001f}.btn-print-large:hover{background:#f59e0b;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.btn-print-large:active{transform:translateY(0);box-shadow:0 2px 4px #0000001f}@media (width<=1000px){.invoice-info-grid{grid-template-columns:repeat(2,1fr)}.purchase-invoice-header{flex-direction:column;align-items:flex-start}.header-actions{width:100%}}@media (width<=650px){.purchase-invoice-page{padding:12px}.invoice-card{padding:15px}.invoice-info-grid{grid-template-columns:1fr}.header-actions{flex-wrap:wrap}.totals-grid{width:100%}.bottom-actions{flex-wrap:wrap}}.invoice-footer-note{text-align:left;color:#000;margin-top:50px;padding-left:5px;font-size:14px;font-weight:600}.btn-fetch{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:6px;height:38px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-fetch:hover{background:#1d4ed8;transform:translateY(-1px)}.btn-fetch:active{transform:translateY(0)}.btn-fetch:focus{outline:none;box-shadow:0 0 0 3px #2563eb2e}.aging-report-page{box-sizing:border-box;background:#f5f6f8;width:100%;min-height:calc(100vh - 100px);padding:20px 24px 30px}.aging-report-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.aging-report-header h1{color:#111827;letter-spacing:.2px;margin:0;font-size:23px;font-weight:750}.aging-report-header p{color:#64748b;margin:5px 0 0;font-size:13px;font-weight:550}.aging-print-btn,.aging-load-btn{cursor:pointer;border:none;border-radius:5px;height:38px;padding:0 18px;font-size:13px;font-weight:650}.aging-print-btn{color:#fff;background:#1f2937}.aging-load-btn{color:#fff;background:#2563eb;align-self:flex-end;min-width:115px}.aging-print-btn:hover,.aging-load-btn:hover{opacity:.92}.aging-load-btn:disabled{cursor:not-allowed;opacity:.65}.aging-report-filter{background:#fff;border:1px solid #e1e5ea;border-radius:8px;align-items:flex-end;gap:14px;margin-bottom:16px;padding:17px;display:flex;box-shadow:0 2px 7px #0f172a0a}.aging-filter-field{flex-direction:column;gap:6px;min-width:190px;display:flex}.aging-report-type{min-width:290px}.aging-filter-field label{color:#475569;font-size:12px;font-weight:700}.aging-filter-field select,.aging-filter-field input{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:5px;outline:none;height:38px;padding:0 11px;font-size:13px}.aging-filter-field select:focus,.aging-filter-field input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.aging-report-meta{background:#fff;border:1px solid #e1e5ea;border-radius:8px;align-items:center;gap:32px;margin-bottom:16px;padding:13px 17px;display:flex}.aging-report-meta div{flex-direction:column;gap:3px;display:flex}.aging-report-meta span{color:#64748b;text-transform:uppercase;letter-spacing:.3px;font-size:11px;font-weight:600}.aging-report-meta strong{color:#111827;font-size:13px;font-weight:700}.aging-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin-bottom:16px;padding:12px 15px;font-size:13px}.aging-report-card{background:#fff;border:1px solid #e1e5ea;border-radius:8px;width:100%;overflow:hidden;box-shadow:0 2px 7px #0f172a0a}.aging-table-wrap{width:100%;overflow-x:auto}.aging-report-table{border-collapse:collapse;border-spacing:0;table-layout:fixed;width:100%;min-width:980px}.aging-report-table th,.aging-report-table td{box-sizing:border-box;margin:0}.aging-report-table .aging-col-index{width:45px}.aging-report-table .aging-col-date{width:105px}.aging-report-table .aging-col-invoice{width:125px}.aging-report-table .aging-col-party{width:240px}.aging-report-table .aging-col-amount,.aging-report-table .aging-col-aging{width:105px}.aging-report-table thead,.aging-report-table tbody,.aging-report-table tfoot,.aging-report-table tr{margin:0;padding:0}.aging-report-table th{color:#334155;text-align:left;vertical-align:middle;white-space:nowrap;background:#f1f5f9;border:0;border-bottom:2px solid #dbe2ea;height:38px;padding:8px 10px;font-size:12px;font-weight:750;line-height:20px}.aging-report-table td{color:#374151;vertical-align:middle;white-space:nowrap;border:0;border-bottom:1px solid #e5e7eb;height:37px;padding:8px 10px;font-size:12.5px;line-height:20px}.aging-report-table tbody tr{height:37px}.aging-report-table tbody tr:hover{background:#f8fafc}.aging-report-table .aging-index{color:#64748b;text-align:center;width:45px}.aging-report-table .aging-party{color:#111827;text-overflow:ellipsis;min-width:0;font-weight:650;overflow:hidden}.aging-report-table .aging-document{color:#1e40af;text-overflow:ellipsis;font-weight:650;overflow:hidden}.aging-report-table .amount{text-align:right;font-variant-numeric:tabular-nums}.aging-report-table tfoot td{color:#111827;background:#f8fafc;border-top:2px solid #cbd5e1;border-bottom:none;height:40px;padding:9px 10px;font-weight:750;line-height:20px}.aging-report-table .aging-total-label{text-align:right}.aging-no-data{height:100px;font-weight:550;text-align:center!important;color:#64748b!important;padding:10px!important}@media (width<=900px){.aging-report-page{padding:15px}.aging-report-filter{flex-wrap:wrap}.aging-report-type{min-width:240px}.aging-load-btn{align-self:flex-end}.aging-report-meta{flex-wrap:wrap;gap:18px 28px}}@page aging-report{size:A4 landscape;margin:10mm}@media print{.aging-report-page{page:aging-report;background:#fff!important;min-height:auto!important;padding:0!important}.aging-report-header,.aging-report-filter,.aging-report-meta,.aging-error{display:none!important}.aging-report-card{box-shadow:none!important;border:none!important;border-radius:0!important;display:none!important;overflow:visible!important}.aging-table-wrap{overflow:visible!important}.aging-report-table{width:100%!important;min-width:0!important}.aging-report-table th{-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:7px 6px;font-size:9px;background:#f1f5f9!important}.aging-report-table td{padding:6px;font-size:9px}.aging-report-table tr{page-break-inside:avoid}.aging-report-table .aging-party{min-width:0}}.aging-report-table thead th:nth-child(4),.aging-report-table thead th:nth-child(5),.aging-report-table thead th:nth-child(6),.aging-report-table thead th:nth-child(7),.aging-report-table thead th:nth-child(8),.aging-report-table thead th:nth-child(9),.aging-report-table thead th:nth-child(10),.aging-report-table thead th:first-child{text-indent:85px}.profit-loss-page{color:#1f2937;background:#f5f7fa;min-height:calc(100vh - 120px);padding:24px}.profit-loss-header{background:#fff;border:1px solid #d9dee5;border-radius:8px;max-width:1100px;margin:0 auto 20px;padding:20px 24px;box-shadow:0 2px 8px #0000000a}.profit-loss-header h1{text-align:center;letter-spacing:.4px;color:#111827;margin:0 0 18px;font-size:25px;font-weight:700}.profit-loss-filters{justify-content:center;align-items:flex-end;gap:14px;display:flex}.date-field{flex-direction:column;gap:6px;display:flex}.date-field label{color:#4b5563;font-size:13px;font-weight:600}.date-field input{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #cbd2da;border-radius:5px;outline:none;min-width:160px;height:38px;padding:0 10px;font-size:14px}.date-field input:focus{border-color:#6b7280;box-shadow:0 0 0 2px #6b72801f}.view-report-btn,.print-report-btn{color:#fff;cursor:pointer;background:#1f2937;border:none;border-radius:5px;height:38px;padding:0 22px;font-size:14px;font-weight:600;transition:opacity .15s}.view-report-btn:hover,.print-report-btn:hover{opacity:.88}.view-report-btn:disabled,.print-report-btn:disabled{opacity:.55;cursor:not-allowed}.profit-loss-report{box-sizing:border-box;background:#fff;border:1px solid #d9dee5;border-radius:8px;max-width:1100px;margin:0 auto;padding:30px 38px;box-shadow:0 2px 10px #0000000a}.pl-section{margin-bottom:24px}.pl-section-title{text-align:center;color:#111827;border-top:1px solid #9ca3af;border-bottom:1px solid #9ca3af;margin:0 0 10px;padding:9px 0 8px;font-size:16px;font-weight:700}.pl-group{margin:8px 0 16px}.pl-group-title{color:#1f2937;padding:5px 0 5px 22px;font-size:14px;font-weight:700}.pl-row{box-sizing:border-box;justify-content:space-between;align-items:center;min-height:31px;padding:3px 12px 3px 44px;font-size:14px;line-height:1.35;display:flex}.pl-row span:first-child{padding-right:20px}.pl-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;min-width:155px}.subtotal{border-top:1px solid #d1d5db;margin-top:5px;padding-top:7px;font-weight:700}.total-row{box-sizing:border-box;border-top:1px solid #9ca3af;border-bottom:1px solid #9ca3af;min-height:39px;margin-top:9px;padding:7px 12px 7px 22px;font-weight:700}.total-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;min-width:155px}.major-total{box-sizing:border-box;border-top:2px solid #374151;border-bottom:1px solid #374151;min-height:42px;margin-top:10px;padding:8px 12px 8px 22px;font-weight:700}.major-total span:last-child{text-align:right;font-variant-numeric:tabular-nums;min-width:155px}.profit-row{box-sizing:border-box;border-top:2px solid #374151;border-bottom:2px solid #374151;min-height:44px;margin-top:18px;padding:9px 12px 9px 22px;font-weight:700}.profit-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;min-width:155px}.other-income-section{margin-top:20px}.other-income-section .pl-group{margin-bottom:12px}.final-profit-row{color:#111827;box-sizing:border-box;border-top:3px double #1f2937;border-bottom:3px double #1f2937;min-height:48px;margin-top:20px;padding:10px 12px 10px 22px;font-size:16px;font-weight:800}.final-profit-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;min-width:155px;font-size:16px}.pl-empty-row{color:#6b7280;padding:10px 44px;font-size:13px;font-style:italic}.profit-loss-empty{text-align:center;color:#6b7280;background:#fff;border:1px solid #d9dee5;border-radius:8px;max-width:1100px;margin:30px auto;padding:40px}.profit-loss-error{color:#a00000;background:#fff4f4;border:1px solid #e0a5a5;border-radius:6px;max-width:1100px;margin:15px auto;padding:12px 16px;font-size:14px}.profit-loss-print-container{display:none!important}@media (width<=700px){.profit-loss-page{padding:12px}.profit-loss-header{padding:16px}.profit-loss-filters{flex-direction:column;align-items:stretch}.date-field input,.view-report-btn,.print-report-btn{width:100%}.profit-loss-report{padding:20px 14px}.pl-row{padding-left:15px;padding-right:8px}.pl-row span:last-child,.total-row span:last-child,.major-total span:last-child,.profit-row span:last-child,.final-profit-row span:last-child{min-width:115px}.pl-group-title{padding-left:10px}}@media print{@page profit-loss-report{size:A4 portrait;margin:12mm 14mm}.profit-loss-page{page:profit-loss-report}html,body{background:#fff!important;margin:0!important;padding:0!important}.profit-loss-page{background:#fff!important;min-height:auto!important;margin:0!important;padding:0!important}.profit-loss-print-container{background:#fff;width:100%;margin:0;padding:0;display:block!important}.profit-loss-print-container .pl-print-page{width:100%;max-width:none!important;box-shadow:none!important;border:none!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important}.profit-loss-header{box-shadow:none!important;border:none!important;margin:0!important;padding:0 0 8px!important}.profit-loss-filters,.view-report-btn,.print-report-btn,.profit-loss-error,.profit-loss-empty{display:none!important}.pl-section{margin-bottom:16px}.pl-section-title{border-top:1px solid #555;border-bottom:1px solid #555;margin-bottom:7px;padding:6px 0;font-size:14px}.pl-group{margin:5px 0 10px}.pl-group-title{padding:3px 0 3px 18px;font-size:12px}.pl-row{min-height:23px;padding:2px 8px 2px 35px;font-size:11px}.pl-row span:last-child,.total-row span:last-child,.major-total span:last-child,.profit-row span:last-child,.final-profit-row span:last-child{min-width:130px}.total-row{min-height:28px;margin-top:6px;padding:5px 8px 5px 18px;font-size:11px}.major-total{min-height:30px;margin-top:7px;padding:5px 8px 5px 18px;font-size:11px}.profit-row{min-height:32px;margin-top:12px;padding:6px 8px 6px 18px;font-size:11px}.final-profit-row{min-height:36px;margin-top:12px;padding:7px 8px 7px 18px;font-size:12px}.final-profit-row span:last-child{font-size:12px}.pl-empty-row{padding:5px 35px;font-size:10px}}.balance-sheet-page{box-sizing:border-box;color:#222;background:#f7f8fa;min-height:100%;padding:24px}.bs-header{align-items:left;text-align:center;border-bottom:1px solid #d9d9d9;flex-direction:column;justify-content:center;gap:5px;width:100%;margin-bottom:24px;padding-bottom:16px;display:flex}.bs-header .bs-title{text-align:center;text-transform:uppercase;width:100%;margin:0;font-size:26px;font-weight:700}.bs-header .bs-period{text-align:center;width:100%;margin:0;font-size:15px;font-weight:500}.bs-controls{align-items:flex-end;gap:10px;display:flex}.bs-controls label{color:#555;font-size:13px;font-weight:600}.bs-controls input{background:#fff;border:1px solid #cfcfcf;border-radius:4px;height:36px;padding:0 10px;font-size:14px}.bs-controls button{color:#fff;cursor:pointer;background:#333;border:0;border-radius:4px;height:36px;padding:0 16px;font-size:14px;font-weight:600}.bs-controls button:hover{opacity:.9}.bs-section{background:#fff;border:1px solid #ddd;border-radius:5px;max-width:1000px;margin:0 auto 22px;overflow:hidden}.bs-main-heading{letter-spacing:.4px;background:#eee;border-bottom:1px solid #d5d5d5;padding:12px 18px;font-size:17px;font-weight:800}.bs-sub-heading{background:#fafafa;border-bottom:1px solid #e5e5e5;padding:10px 18px;font-size:15px;font-weight:700}.bs-group-title-text{padding:10px 18px 5px;font-size:14px;font-weight:700}.bs-row{box-sizing:border-box;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;min-height:38px;padding:6px 18px;font-size:14px;display:flex}.bs-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;min-width:150px}.bs-details{padding-left:18px}.bs-detail-row{color:#555;padding-left:28px;font-size:13px}.bs-detail-row span:first-child{padding-left:10px}.bs-group{border-bottom:1px solid #eee}.bs-group>.bs-row{border-bottom:0}.bs-group-title{font-weight:600}.bs-subtotal{background:#fafafa;font-weight:700}.bs-total{background:#f4f4f4;border-top:1px solid #d8d8d8;font-weight:700}.bs-grand-total{background:#e9e9e9;border-top:2px solid #bdbdbd;border-bottom:0;font-size:15px;font-weight:800}.bs-final-section{background:#fff;border:1px solid #ddd;border-radius:5px;max-width:1000px;margin:0 auto;overflow:hidden}.bs-final-section .bs-row{min-height:46px}.bs-balance-check{justify-content:space-between;align-items:center;padding:12px 18px;font-size:13px;font-weight:700;display:flex}.bs-balance-check.balanced,.bs-balance-check.not-balanced{background:#f1f1f1}.bs-loading,.bs-error{text-align:center;background:#fff;border:1px solid #ddd;border-radius:5px;max-width:1000px;margin:40px auto;padding:20px}.bs-error{color:#b00020}@media (width<=768px){.balance-sheet-page{padding:12px}.bs-header{flex-direction:column;align-items:stretch}.bs-controls{flex-wrap:wrap}.bs-controls input{flex:1}.bs-row{padding-left:12px;padding-right:12px}.bs-details{padding-left:8px}.bs-row span:last-child{min-width:120px}}.purchase-report-page{box-sizing:border-box;background:#f5f6f8;width:100%;min-height:calc(100vh - 100px);padding:20px}.purchase-report-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.purchase-report-header h2{margin:0;font-size:24px;font-weight:700}.purchase-report-header p{color:#666;margin:5px 0 0;font-size:13px}.purchase-report-filter{background:#fff;border:1px solid #dcdfe4;border-radius:8px;align-items:flex-end;gap:14px;margin-bottom:20px;padding:16px;display:flex;box-shadow:0 1px 3px #0000000f}.purchase-filter-field{flex-direction:column;gap:6px;display:flex}.purchase-filter-field label{color:#333;font-size:13px;font-weight:600}.purchase-filter-field select,.purchase-filter-field input{box-sizing:border-box;background:#fff;border:1px solid #cfd3d8;border-radius:5px;min-width:180px;height:38px;padding:0 10px;font-size:13px}.purchase-filter-field select{min-width:250px}.purchase-report-actions{gap:8px;display:flex}.purchase-report-actions button{cursor:pointer;border:none;border-radius:5px;height:38px;padding:0 18px;font-size:13px;font-weight:600}.purchase-report-actions button:disabled{opacity:.55;cursor:not-allowed}.purchase-report-print-area{background:#fff;border:1px solid #dcdfe4;border-radius:8px;padding:20px;overflow-x:auto}.purchase-report-title{text-align:center;margin-bottom:18px}.purchase-report-title h1{margin:0 0 8px;font-size:20px;font-weight:700}.purchase-report-period{color:#555;font-size:13px}.purchase-table-wrapper{width:100%;overflow-x:auto}.purchase-report-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.purchase-report-table th,.purchase-report-table td{text-align:center;vertical-align:middle;border:1px solid #cfd3d8;padding:7px 8px}.purchase-report-table thead th{color:#222;background:#eef1f4;font-weight:700}.purchase-report-table tbody tr:nth-child(2n){background:#fafafa}.purchase-report-table tbody tr:hover{background:#f1f5f8}.purchase-report-table .text-left{text-align:left}.purchase-report-table .amount{text-align:right}.purchase-report-table tfoot th{text-align:right;background:#eef1f4;font-weight:700}.purchase-report-table tfoot th:first-child{text-align:center}.purchase-report-table .no-data{text-align:center;color:#777;padding:30px;font-style:italic}@media print{@page purchase-report{size:A4 landscape;margin:10mm}.purchase-report-print{page:purchase-report}body{background:#fff!important}.purchase-report-page{background:#fff!important;min-height:auto!important;padding:0!important}.purchase-report-header,.purchase-report-filter{display:none!important}.purchase-report-print-area{border:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}.purchase-report-title{margin-bottom:12px}.purchase-report-title h1{font-size:18px}.purchase-report-period{font-size:11px}.purchase-report-table{width:100%!important;font-size:9px!important}.purchase-report-table th,.purchase-report-table td{border:1px solid #999!important;padding:4px 5px!important}.purchase-report-table thead{display:table-header-group}.purchase-report-table tfoot{display:table-footer-group}.purchase-report-table tr{page-break-inside:avoid}}.sales-report-page{box-sizing:border-box;background:#f5f6f8;width:100%;min-height:calc(100vh - 100px);padding:20px}.sales-report-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.sales-report-header h2{margin:0;font-size:24px;font-weight:700}.sales-report-header p{color:#666;margin:5px 0 0;font-size:13px}.sales-report-filter{background:#fff;border:1px solid #dcdfe4;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:20px;padding:16px;display:flex;box-shadow:0 1px 3px #0000000f}.sales-filter-field{flex-direction:column;gap:6px;display:flex}.sales-filter-field label{color:#333;font-size:13px;font-weight:600}.sales-filter-field select,.sales-filter-field input{box-sizing:border-box;background:#fff;border:1px solid #cfd3d8;border-radius:5px;min-width:180px;height:38px;padding:0 10px;font-size:13px}.sales-filter-field select{min-width:250px}.sales-report-actions{gap:8px;display:flex}.sales-report-actions button,.sales-report-header button{cursor:pointer;border:none;border-radius:5px;height:38px;padding:0 18px;font-size:13px;font-weight:600}.btn-view-report{color:#fff;background:#1f5f8b}.btn-view-report:hover{background:#174a6e}.btn-print-report{color:#fff;background:#555}.btn-print-report:hover{background:#333}.sales-report-actions button:disabled{opacity:.55;cursor:not-allowed}.sales-report-print-area{background:#fff;border:1px solid #dcdfe4;border-radius:8px;padding:20px;overflow-x:auto}.sales-report-title{text-align:center;margin-bottom:18px}.sales-report-title h1{margin:0 0 8px;font-size:20px;font-weight:700}.sales-report-period{color:#555;font-size:13px}.sales-table-wrapper{width:100%;overflow-x:auto}.sales-report-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.sales-report-table th,.sales-report-table td{text-align:center;vertical-align:middle;border:1px solid #cfd3d8;padding:7px 8px}.sales-report-table thead th{color:#222;background:#eef1f4;font-weight:700}.sales-report-table tbody tr:nth-child(2n){background:#fafafa}.sales-report-table tbody tr:hover{background:#f1f5f8}.sales-report-table .text-left{text-align:left}.sales-report-table .amount{text-align:right}.sales-report-table tfoot th,.sales-report-table tfoot td{background:#eef1f4;font-weight:700}.sales-report-table tfoot th{text-align:right}.sales-report-table tfoot th:first-child{text-align:center}.no-data{text-align:center;color:#777;padding:30px;font-style:italic}@media print{@page sales-report{size:A4 landscape;margin:10mm}.sales-report-print{page:sales-report}body{background:#fff!important}.sales-report-page{background:#fff!important;min-height:auto!important;padding:0!important}.sales-report-header,.sales-report-filter{display:none!important}.sales-report-print-area{border:none!important;border-radius:0!important;padding:0!important;overflow:visible!important}.sales-report-title{margin-bottom:12px}.sales-report-title h1{font-size:18px}.sales-report-period{font-size:11px}.sales-table-wrapper{overflow:visible!important}.sales-report-table{width:100%!important;font-size:7px!important}.sales-report-table th,.sales-report-table td{border:1px solid #999!important;padding:3px!important}.sales-report-table thead{display:table-header-group}.sales-report-table tfoot{display:table-footer-group}.sales-report-table tr{page-break-inside:avoid}}.stock-report-page{box-sizing:border-box;background:#f7f8fa;width:100%;min-height:calc(100vh - 100px);padding:20px 24px 30px}.stock-report-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.stock-report-header h2{color:#1f2937;margin:0;font-size:24px;font-weight:700}.stock-report-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.stock-report-filters{background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px;padding:16px 18px;display:flex;box-shadow:0 1px 3px #0000000d}.stock-filter-group{flex-direction:column;gap:6px;display:flex}.stock-filter-group label{color:#4b5563;font-size:12px;font-weight:600}.stock-filter-group input,.stock-filter-group select{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;min-width:145px;height:38px;padding:0 10px;font-size:13px}.stock-filter-group input:focus,.stock-filter-group select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.stock-filter-button{align-items:flex-end;display:flex}.stock-filter-button button{color:#fff;cursor:pointer;white-space:nowrap;box-sizing:border-box;background:#2563eb;border:1px solid #2563eb;border-radius:6px;min-width:125px;height:38px;padding:0 20px;font-size:13px;font-weight:600;transition:all .15s}.stock-filter-button button:hover{background:#0e2155;border-color:#101e47}.stock-filter-button button:active{transform:translateY(1px)}.stock-filter-button button:disabled{opacity:.65;cursor:not-allowed;transform:none}.stock-filter-button .btn-print-report{color:#fff!important;background:#0e0b2b!important;border-color:#16a34a!important;margin-left:20px!important}.stock-filter-button .btn-print-report:hover{background:#15803d!important;border-color:#15803d!important}.stock-report-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:15px;padding:11px 14px;font-size:13px}.stock-report-info{color:#6b7280;margin-bottom:15px;font-size:13px}.stock-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:100%;overflow-x:auto;box-shadow:0 1px 3px #0000000d}.stock-report-table{border-collapse:collapse;color:#374151;width:100%;min-width:1450px;font-size:12px}.stock-report-table th{color:#374151;text-align:center;white-space:nowrap;vertical-align:middle;background:#f1f3f5;border:1px solid #dfe3e8;padding:10px 8px;font-size:11px;font-weight:700}.stock-report-table td{white-space:nowrap;vertical-align:middle;background:#fff;border:1px solid #e5e7eb;padding:8px}.stock-report-table tbody tr:hover td{background:#f8fafc}.stock-report-table td:first-child{text-align:center}.stock-report-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}.stock-report-table .voucher-cell{color:#2563eb;font-weight:600}.stock-report-table .item-name-cell{min-width:160px;font-weight:500}.stock-report-table .closing-cell{text-align:right;font-weight:700}.stock-report-table tfoot th,.stock-report-table tfoot td{background:#f3f4f6;border:1px solid #d1d5db;padding:10px 8px;font-weight:700}.stock-report-table tfoot .number-cell{text-align:right}.stock-no-data{color:#6b7280;font-size:13px;text-align:center!important;background:#fff!important;padding:35px 20px!important}@media (width<=900px){.stock-report-page{padding:15px}.stock-report-header{flex-direction:column;align-items:flex-start}.stock-report-filters{flex-direction:column;align-items:stretch}.stock-filter-group input,.stock-filter-group select,.stock-filter-button{width:100%}}@media print{.stock-report-page{background:#fff;min-height:auto;padding:0}.stock-report-header{margin-bottom:10px}.stock-report-header h2{font-size:18px}.stock-report-filters{display:none}.stock-report-info{margin-bottom:8px;font-size:10px}.stock-table-wrapper{box-shadow:none;border:none;overflow:visible}.stock-report-table{width:100%;min-width:0;font-size:8px}.stock-report-table th,.stock-report-table td{padding:4px 3px;font-size:8px}.stock-report-table th{white-space:normal}@page stock-report{size:A4 landscape;margin:10mm}.stock-report-print{page:stock-report}}.store-stock-report-page{box-sizing:border-box;width:100%;padding:20px}.store-stock-report-header{margin-bottom:18px}.store-stock-report-header h2{margin:0;font-size:22px;font-weight:700}.store-stock-report-header p{color:#666;margin:6px 0 0;font-size:13px}.store-stock-report-filters{background:#fff;border:1px solid #ddd;border-radius:6px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px;padding:16px;display:flex}.store-stock-filter-group{flex-direction:column;gap:6px;min-width:175px;display:flex}.store-stock-filter-group label{font-size:13px;font-weight:600}.store-stock-filter-group input,.store-stock-filter-group select{box-sizing:border-box;color:#222;background:#fff;border:1px solid #cfcfcf;border-radius:4px;width:100%;height:38px;padding:7px 10px;font-family:inherit;font-size:14px}.store-stock-filter-group input:focus,.store-stock-filter-group select:focus{border-color:#777;outline:none}.store-stock-filter-group select{cursor:pointer;appearance:auto}.store-stock-filter-button{align-items:center;gap:8px;display:flex}.store-stock-filter-button button{color:#fff;cursor:pointer;background:#333;border:1px solid #333;border-radius:4px;height:38px;padding:0 18px;font-size:13px;font-weight:600}.store-stock-filter-button button:hover{opacity:.9}.store-stock-filter-button button:disabled{opacity:.6;cursor:not-allowed}.store-stock-filter-button .store-stock-clear-button{color:#333;background:#fff}.store-stock-report-error{color:#a00000;background:#fff4f4;border:1px solid #d9a0a0;border-radius:4px;margin-bottom:15px;padding:10px 12px;font-size:13px}.store-stock-report-info{flex-wrap:wrap;gap:25px;margin-bottom:12px;font-size:13px;display:flex}.store-stock-table-wrapper{background:#fff;border:1px solid #ddd;width:100%;overflow-x:auto}.store-stock-report-table{border-collapse:collapse;width:100%;min-width:1250px;font-size:12px}.store-stock-report-table th{color:#222;text-align:center;white-space:nowrap;background:#f1f1f1;border:1px solid #ccc;padding:9px 8px;font-weight:700}.store-stock-report-table td{vertical-align:middle;white-space:nowrap;border:1px solid #ddd;padding:8px}.store-stock-report-table tbody tr:hover{background:#fafafa}.store-stock-item-cell{text-align:left;min-width:220px}.store-stock-text-cell{text-align:left;min-width:180px}.store-stock-number-cell{text-align:right;font-variant-numeric:tabular-nums;min-width:105px}.store-stock-closing-cell{font-weight:700}.store-stock-no-data{text-align:center;color:#666;padding:30px;font-size:14px}@media (width<=1000px){.store-stock-report-page{padding:12px}.store-stock-report-filters{align-items:stretch}.store-stock-filter-group{width:100%;min-width:0}.store-stock-filter-button{width:100%}}@media print{.store-stock-report-page{padding:0}.store-stock-report-filters,.store-stock-report-error{display:none}.store-stock-report-info{margin-bottom:10px}.store-stock-table-wrapper{border:none;overflow:visible}.store-stock-report-table{width:100%;min-width:0;font-size:9px}.store-stock-report-table th,.store-stock-report-table td{padding:4px}}.item-margin-report-page{box-sizing:border-box;background:#f5f6f8;width:100%;min-height:calc(100vh - 100px);padding:20px}.item-margin-report-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.item-margin-report-header h2{margin:0;font-size:24px;font-weight:700}.item-margin-report-header p{color:#666;margin:5px 0 0;font-size:13px}.item-margin-filter{background:#fff;border:1px solid #dcdfe4;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:20px;padding:16px;display:flex;box-shadow:0 1px 3px #0000000f}.item-margin-filter-field{flex-direction:column;gap:6px;display:flex}.item-margin-filter-field label{color:#333;font-size:13px;font-weight:600}.item-margin-filter-field input,.item-margin-filter-field select{box-sizing:border-box;background:#fff;border:1px solid #cfd3d8;border-radius:5px;min-width:180px;height:38px;padding:0 10px;font-size:13px}.item-margin-actions{gap:8px;display:flex}.item-margin-view-btn,.item-margin-print-btn{cursor:pointer;border:none;border-radius:5px;height:38px;padding:0 18px;font-size:13px;font-weight:600}.item-margin-view-btn{color:#fff;background:#1f5f8b}.item-margin-view-btn:hover{background:#174a6e}.item-margin-print-btn{color:#fff;background:#555}.item-margin-print-btn:hover{background:#333}.item-margin-view-btn:disabled{opacity:.55;cursor:not-allowed}.item-margin-report-area{background:#fff;border:1px solid #dcdfe4;border-radius:8px;padding:20px;overflow-x:auto}.item-margin-report-title{text-align:center;margin-bottom:18px}.item-margin-report-title h1{margin:0 0 6px;font-size:20px;font-weight:700}.item-margin-report-title>div{color:#555;font-size:13px}.item-margin-period{margin-top:5px}.item-margin-table-wrapper{width:100%;overflow-x:auto}.item-margin-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.item-margin-table th,.item-margin-table td{text-align:center;vertical-align:middle;border:1px solid #cfd3d8;padding:8px 9px}.item-margin-table thead th{color:#222;background:#eef1f4;font-weight:700}.item-margin-table tbody tr:nth-child(2n){background:#fafafa}.item-margin-table tbody tr:hover{background:#f1f5f8}.item-margin-table .text-left{text-align:left}.item-margin-table .amount{text-align:right}.item-margin-table tfoot th,.item-margin-table tfoot td{background:#eef1f4;font-weight:700}.item-margin-table tfoot th{text-align:right}.margin-return-row{font-style:italic}.item-margin-no-data{text-align:center;color:#777;padding:30px;font-style:italic}.item-margin-report-print{display:none}@media print{.item-margin-report-page>:not(.item-margin-report-print){display:none!important}.item-margin-report-print{color:#111;box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:0;top:0;left:0;background:#fff!important;display:block!important;position:absolute!important;overflow:visible!important}.item-margin-report-page{background:#fff!important;min-height:auto!important;padding:0!important;display:block!important}.item-margin-report-header,.item-margin-filter{display:none!important}}.production-job-costing-report{box-sizing:border-box;background:#f7f8fa;width:100%;min-height:100%;padding:20px}.production-job-costing-header{background:#fff;border:1px solid #dfe3e8;border-radius:8px;margin-bottom:16px;padding:18px 20px}.production-job-costing-header h1{letter-spacing:.3px;color:#1f2937;margin:0;font-size:21px;font-weight:700}.production-job-costing-header p{color:#6b7280;margin:6px 0 0;font-size:13px}.production-job-costing-filters{background:#fff;border:1px solid #dfe3e8;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:16px;padding:16px;display:flex}.production-job-costing-filter-group{flex-direction:column;gap:6px;display:flex}.production-job-costing-filter-group label{color:#374151;font-size:12px;font-weight:600}.production-job-costing-filter-group input,.production-job-costing-filter-group select{color:#1f2937;box-sizing:border-box;background:#fff;border:1px solid #cfd5dc;border-radius:5px;outline:none;min-width:155px;height:38px;padding:0 10px;font-size:13px}.production-job-costing-filter-group input:focus,.production-job-costing-filter-group select:focus{border-color:#6b7280}.production-job-costing-pjo-filter{flex:1;min-width:300px}.production-job-costing-pjo-filter select{width:100%}.production-job-costing-filter-actions{gap:8px;display:flex}.production-job-costing-btn{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:5px;height:38px;padding:0 18px;font-size:13px;font-weight:600}.production-job-costing-btn:disabled{opacity:.6;cursor:not-allowed}.production-job-costing-btn-primary{color:#fff;background:#1f2937;border-color:#1f2937}.production-job-costing-btn-primary:hover:not(:disabled){background:#111827}.production-job-costing-btn-secondary{color:#374151;background:#fff;border-color:#cfd5dc}.production-job-costing-btn-secondary:hover:not(:disabled){background:#f3f4f6}.production-job-costing-error{color:#a11a1a;background:#fff5f5;border:1px solid #e5b8b8;border-radius:6px;margin-bottom:16px;padding:12px 14px;font-size:13px}.production-job-costing-summary{grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:16px;display:grid}.production-job-costing-summary-card{background:#fff;border:1px solid #dfe3e8;border-radius:8px;min-width:0;padding:14px 16px}.production-job-costing-summary-card span{color:#6b7280;margin-bottom:5px;font-size:12px;display:block}.production-job-costing-summary-card strong{color:#1f2937;font-size:18px;font-weight:700;display:block}.production-job-costing-table-wrapper{background:#fff;border:1px solid #dfe3e8;border-radius:8px;width:100%;overflow-x:auto}.production-job-costing-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:1450px}.production-job-costing-table th{color:#374151;text-align:left;white-space:nowrap;background:#f1f3f5;border-bottom:1px solid #cfd5dc;padding:11px 10px;font-size:11px;font-weight:700}.production-job-costing-table td{color:#374151;white-space:nowrap;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:10px;font-size:12px}.production-job-costing-table tbody tr:hover{background:#f8fafc}.production-job-costing-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.production-job-costing-table .pjo-number{color:#1f2937;font-weight:600}.production-job-costing-table .gross-margin{font-weight:700}.production-job-costing-table tfoot td{color:#1f2937;background:#f1f3f5;border-top:2px solid #c7ccd1;border-bottom:0;padding:11px 10px;font-size:12px;font-weight:700}.production-job-costing-empty{text-align:center!important;color:#6b7280!important;padding:35px 15px!important;font-size:13px!important}@media (width<=1100px){.production-job-costing-summary{grid-template-columns:repeat(2,minmax(150px,1fr))}.production-job-costing-pjo-filter{min-width:250px}}@media (width<=700px){.production-job-costing-report{padding:12px}.production-job-costing-summary{grid-template-columns:1fr}.production-job-costing-filter-group,.production-job-costing-pjo-filter{width:100%;min-width:100%}.production-job-costing-filter-actions{width:100%}.production-job-costing-btn{flex:1}}@media print{.production-job-costing-report{background:#fff;padding:0}.production-job-costing-filters,.production-job-costing-summary,.production-job-costing-error{display:none}.production-job-costing-header{border:0;margin-bottom:10px;padding:0 0 12px}.production-job-costing-table-wrapper{border:0;overflow:visible}.production-job-costing-table{width:100%;min-width:0}.production-job-costing-table th,.production-job-costing-table td{padding:5px 4px;font-size:8px}}.pjo-status-report-page{box-sizing:border-box;background:#fff;width:100%;padding:20px 24px 30px}.pjo-status-report-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.pjo-status-report-header h2{color:#1f2937;margin:0;font-size:22px;font-weight:700}.pjo-status-report-subtitle{color:#6b7280;margin-top:4px;font-size:13px}.pjo-status-report-filters{background:#f8fafc;border:1px solid #d9e2ec;border-radius:8px;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:14px;padding:15px 16px;display:flex}.pjo-status-filter-group{flex-direction:column;gap:5px;display:flex}.pjo-status-filter-group label{color:#374151;font-size:12px;font-weight:600}.pjo-status-filter-group input,.pjo-status-filter-group select{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #cbd5e1;border-radius:5px;outline:none;min-width:145px;height:36px;padding:0 10px;font-size:13px}.pjo-status-filter-group input:focus,.pjo-status-filter-group select:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.pjo-filter-pjo select{min-width:280px}.pjo-status-filter-actions{align-items:flex-end;gap:8px;display:flex}.pjo-status-load-btn,.pjo-status-clear-btn,.pjo-status-print-btn{cursor:pointer;border-radius:5px;height:36px;padding:0 17px;font-size:13px;font-weight:600;transition:all .15s}.pjo-status-load-btn{color:#fff;background:#2e3d5f;border:1px solid #2e3d5f}.pjo-status-load-btn:hover{background:#1d4ed8;border-color:#1d4ed8}.pjo-status-load-btn:disabled{opacity:.65;cursor:not-allowed}.pjo-status-clear-btn{color:#374151;background:#fff;border:1px solid #94a3b8}.pjo-status-clear-btn:hover{background:#f1f5f9}.pjo-status-print-btn{color:#fff;background:#2e3d5f;border:1px solid #2e3d5f}.pjo-status-print-btn:hover{background:#1d4ed8;border-color:#1d4ed8}.pjo-status-print-btn:disabled{opacity:.65;cursor:not-allowed}.pjo-status-legend{flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:14px;padding:8px 2px;display:flex}.pjo-legend-item{color:#475569;align-items:center;gap:7px;font-size:12px;font-weight:500;display:flex}.pjo-legend-box{border:1px solid #0000001f;border-radius:3px;width:13px;height:13px;display:inline-block}.pjo-legend-green{background:#dcfce7}.pjo-legend-blue{background:#dbeafe}.pjo-legend-red{background:#fee2e2}.pjo-legend-completed{background:#f1f5f9}.pjo-status-report-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;margin-bottom:14px;padding:10px 13px;font-size:13px}.pjo-status-table-wrapper{background:#fff;border:1px solid #d7dee8;border-radius:7px;width:100%;overflow-x:auto}.pjo-status-report-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:950px}.pjo-status-report-table thead th{color:#1f2937;text-align:left;white-space:nowrap;background:#f1f5f9;border-bottom:1px solid #cbd5e1;padding:10px 11px;font-size:12px;font-weight:700}.pjo-status-report-table tbody td{color:#374151;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:9px 11px;font-size:13px}.pjo-status-report-table tbody tr:hover{background:#f8fafc}.pjo-status-report-table tbody tr:last-child td{border-bottom:none}.pjo-status-report-table th:first-child,.pjo-status-report-table td:first-child,.pjo-status-report-table th:nth-child(2),.pjo-status-report-table td:nth-child(2){white-space:nowrap}.pjo-status-report-table th:nth-child(5),.pjo-status-report-table td:nth-child(5){text-align:right;white-space:nowrap}.pjo-status-report-table th:nth-child(6),.pjo-status-report-table td:nth-child(6){white-space:nowrap}.pjo-no-cell{font-weight:600;color:#1e3a8a!important}.pjo-qty-cell{font-variant-numeric:tabular-nums}.pjo-status-badge{white-space:nowrap;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;min-width:82px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1.2;display:inline-flex}.pjo-status-green{color:#166534;background:#dcfce7;border-color:#86efac}.pjo-status-blue{color:#1d4ed8;background:#dbeafe;border-color:#93c5fd}.pjo-status-red{color:#b91c1c;background:#fee2e2;border-color:#fca5a5}.pjo-status-completed{color:#475569;background:#f1f5f9;border-color:#cbd5e1}.pjo-status-loading,.pjo-status-no-data{text-align:center!important;color:#64748b!important;padding:28px 15px!important;font-size:13px!important}.pjo-status-report-footer{text-align:right;color:#475569;margin-top:10px;font-size:13px}.pjo-status-report-footer strong{color:#1f2937}@media (width<=900px){.pjo-status-report-page{padding:15px}.pjo-status-report-filters{align-items:stretch}.pjo-status-filter-group{flex:180px}.pjo-filter-pjo{flex:280px}.pjo-status-filter-actions{width:100%}.pjo-status-load-btn,.pjo-status-clear-btn,.pjo-status-print-btn{flex:none}}@media print{.pjo-status-report-page{background:#fff;padding:0}.pjo-status-report-filters,.pjo-status-legend,.pjo-status-report-footer{display:none}.pjo-status-table-wrapper{border:none;overflow:visible}.pjo-status-report-table{min-width:0}.pjo-status-report-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#f1f5f9!important}.pjo-status-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.pjo-status-print-only{visibility:hidden;width:100%;position:absolute;top:0;left:-100000px}@media print{.pjo-status-report-page{display:none!important}.pjo-status-print-only{visibility:visible!important;width:100%!important;position:static!important;top:auto!important;left:auto!important}}
