: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%}*{box-sizing:border-box}:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;background:#f5f7fb;font-family:Inter,Arial,sans-serif}body{background:#f5f7fb;min-width:320px;margin:0}button,input,select,textarea{font-family:inherit}button{cursor:pointer}.app{background:#f5f7fb;min-height:100vh;display:flex}.sidebar{color:#fff;background:#101828;flex-direction:column;width:250px;min-height:100vh;padding:24px 14px;display:flex;position:fixed;top:0;bottom:0;left:0}.brand{align-items:center;gap:12px;padding:4px 10px 28px;display:flex}.brand-logo{background:linear-gradient(135deg,#2563eb,#1747b8);border-radius:11px;justify-content:center;align-items:center;width:42px;height:42px;font-size:14px;font-weight:800;display:flex}.brand h2{margin:0;font-size:16px}.brand span{color:#98a2b3;margin-top:4px;font-size:11px;display:block}.menu-label{color:#667085;letter-spacing:1px;padding:0 12px 10px;font-size:10px;font-weight:700}nav{flex-direction:column;gap:4px;display:flex}.menu-item{color:#98a2b3;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;padding:11px 12px;font-size:13px;transition:all .2s;display:flex}.menu-item:hover{color:#fff;background:#1b2638}.menu-item.active{color:#fff;background:#2563eb;box-shadow:0 5px 15px #2563eb38}.menu-icon{text-align:center;width:20px;font-size:17px}.sidebar-bottom{border-top:1px solid #253044;margin-top:auto;padding-top:14px}.main{width:calc(100% - 250px);min-height:100vh;margin-left:250px;padding:0 34px 40px}.topbar{border-bottom:1px solid #e4e7ec;justify-content:space-between;align-items:center;height:94px;margin-bottom:30px;display:flex}.welcome-small{color:#98a2b3;letter-spacing:1px;margin:0 0 5px;font-size:10px;font-weight:700}.topbar h1{color:#101828;margin:0;font-size:25px}.top-actions{align-items:center;gap:20px;display:flex}.notification{color:#667085;background:#fff;border:1px solid #e4e7ec;border-radius:9px;width:38px;height:38px;font-size:19px}.user{align-items:center;gap:10px;display:flex}.avatar{color:#2563eb;background:#e8efff;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-weight:700;display:flex}.user strong{font-size:12px;display:block}.user span{color:#98a2b3;margin-top:3px;font-size:10px;display:block}.stats:before{content:"WEIGHT SUMMARY";letter-spacing:1.5px;color:#64748b;grid-column:1/-1;margin-bottom:-4px;font-size:14px;font-weight:700;display:block}.stat-card{background:#fff;border:1px solid #eaecf0;border-radius:13px;min-height:145px;padding:21px;position:relative;box-shadow:0 2px 8px #10182808}.stat-icon{border-radius:9px;justify-content:center;align-items:center;width:40px;height:40px;margin-bottom:14px;font-size:18px;display:flex}.stat-icon.blue{color:#2563eb;background:#eaf1ff}.stat-icon.orange{color:#e87b13;background:#fff1e5}.stat-icon.green{color:#159455;background:#e8f8ef}.stat-icon.red{color:#dc3545;background:#ffeaec}.stat-card span{color:#667085;font-size:11px}.stat-card h2{margin:5px 0 0;font-size:23px}.stat-card h2 small{color:#98a2b3;font-size:10px}.stat-link{color:#2563eb;font-size:10px;font-weight:600;position:absolute;bottom:20px;right:20px}.section{margin-top:30px}.section-heading{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.section-heading h2{margin:0;font-size:17px}.section-heading p{color:#98a2b3;margin:5px 0 0;font-size:11px}.quick-actions{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.quick-card{text-align:left;background:#fff;border:1px solid #eaecf0;border-radius:12px;align-items:center;gap:13px;padding:18px;display:flex}.quick-icon{border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.blue-bg{color:#2563eb;background:#eaf1ff}.orange-bg{color:#e87b13;background:#fff1e5}.green-bg{color:#159455;background:#e8f8ef}.quick-card strong{font-size:12px;display:block}.quick-card span{color:#98a2b3;margin-top:4px;font-size:10px;display:block}.quick-card b{color:#98a2b3;margin-left:auto}.empty-table{background:#fff;border:1px solid #eaecf0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:235px;display:flex}.empty-icon{color:#98a2b3;background:#f2f4f7;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.empty-table h3{margin:12px 0 0;font-size:13px}.empty-table p{color:#98a2b3;margin:7px 0 0;font-size:10px}.page-content{max-width:1050px;margin:0 auto}.back-button{color:#2563eb;background:0 0;border:0;margin-bottom:12px;padding:0;font-size:11px;font-weight:600}.page-header h2{color:#101828;margin:0;font-size:24px}.page-header p{color:#98a2b3;margin:6px 0 0;font-size:12px}.form-card{background:#fff;border:1px solid #eaecf0;border-radius:14px;padding:28px;box-shadow:0 2px 8px #10182808}.form-title{border-bottom:1px solid #eaecf0;align-items:center;gap:14px;margin-bottom:25px;padding-bottom:22px;display:flex}.form-title-icon{color:#2563eb;background:#eaf1ff;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;display:flex}.form-title h3{margin:0;font-size:16px}.form-title p{color:#98a2b3;margin:4px 0 0;font-size:11px}.form-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.form-group{flex-direction:column;display:flex}.form-group.full{grid-column:1/-1}.form-group label{color:#344054;margin-bottom:7px;font-size:11px;font-weight:600}.form-group label span{color:#dc3545}.form-group input,.form-group select,.form-group textarea{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:8px;outline:none;width:100%;padding:11px 12px;font-size:12px;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb17}.form-group textarea{resize:vertical;min-height:100px}.success-message{color:#087443;background:#ecfdf3;border-radius:8px;margin-top:22px;padding:13px 15px;font-size:12px;font-weight:600}.success-message span{margin-top:4px;font-size:10px;font-weight:400;display:block}.form-footer{border-top:1px solid #eaecf0;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;display:flex}.cancel-button{color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:11px 18px;font-size:11px}.save-button,.primary-btn{color:#fff;background:#2563eb;border:0;border-radius:8px;padding:11px 20px;font-size:11px;font-weight:600}.coming{text-align:center;background:#fff;border:1px solid #eaecf0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:420px;display:flex}.coming-icon{color:#2563eb;background:#eaf1ff;border-radius:16px;justify-content:center;align-items:center;width:65px;height:65px;margin-bottom:18px;font-size:27px;display:flex}.coming h2{margin:0;font-size:22px}.coming p{color:#98a2b3;font-size:12px}@media (width<=1100px){.stats{grid-template-columns:repeat(2,1fr)}.quick-actions{grid-template-columns:1fr}}@media (width<=760px){.sidebar{width:70px;padding:18px 8px}.brand{justify-content:center;padding:4px 0 25px}.brand>div:last-child,.menu-label,.menu-item span:last-child{display:none}.menu-item{justify-content:center}.main{width:calc(100% - 70px);margin-left:70px;padding:0 18px 30px}.stats,.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.topbar{height:80px}.user>div:last-child{display:none}}.ledger-grid{grid-template-columns:1fr 1fr;gap:20px;margin-top:24px;display:grid}.ledger-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #0000000a}.ledger-title{text-align:center;letter-spacing:1px;padding:16px 20px;font-size:22px;font-weight:800}.inward-title{color:#fff;background:#1f4e79}.outward-title{color:#fff;background:#ed7d31}.table-wrapper{width:100%;overflow-x:auto}.ledger-card table{border-collapse:collapse;width:100%;min-width:700px}.ledger-card th{color:#111827;white-space:nowrap;background:#f3f4f6;border-bottom:1px solid #d1d5db;padding:12px 10px;font-weight:700}.ledger-card td{color:#374151;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:11px 10px}.ledger-card tbody tr:hover{background:#f8fafc}@media (width<=1100px){.ledger-grid{grid-template-columns:1fr}}.master-tabs{flex-wrap:wrap;gap:10px;margin:25px 0 20px;display:flex}.master-tab{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:12px 18px;font-weight:600;transition:all .2s}.master-tab:hover{color:#2563eb;border-color:#2563eb}.master-tab.active{color:#fff;background:#2563eb;border-color:#2563eb}.master-tab span{margin-right:7px}.master-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:25px;box-shadow:0 8px 25px #0f172a0f}.master-card-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.master-card-header h3{color:#0f172a;margin:0 0 5px;font-size:22px}.master-card-header p{color:#64748b;margin:0;font-size:14px}.master-count{color:#2563eb;white-space:nowrap;background:#eff6ff;border-radius:20px;padding:8px 14px;font-size:13px;font-weight:700}.master-add-form{gap:12px;margin-bottom:15px;display:flex}.master-add-form input,.master-search input,.master-name input{box-sizing:border-box;border:1px solid #cbd5e1;border-radius:9px;outline:none;flex:1;width:100%;padding:12px 14px;font-size:14px}.master-add-form input:focus,.master-search input:focus,.master-name input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.master-search{margin-bottom:18px}.master-list{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.master-row{border-bottom:1px solid #eef2f7;grid-template-columns:55px 1fr auto;align-items:center;min-height:58px;display:grid}.master-row:last-child{border-bottom:none}.master-number{text-align:center;color:#94a3b8;font-size:13px}.master-name{color:#1e293b;padding:8px 12px;font-weight:500}.master-name input{max-width:500px}.master-actions{gap:7px;padding-right:12px;display:flex}.master-actions button{cursor:pointer;border:none;border-radius:7px;padding:7px 12px;font-size:12px;font-weight:600}.master-edit{color:#2563eb;background:#eff6ff}.master-delete{color:#dc2626;background:#fef2f2}.master-save{color:#15803d;background:#dcfce7}.master-cancel{color:#475569;background:#f1f5f9}.master-empty{text-align:center;color:#64748b;padding:45px 20px}@media (width<=700px){.master-add-form{flex-direction:column}.master-card-header{flex-direction:column;align-items:flex-start}.master-row{grid-template-columns:40px 1fr;padding:8px 0}.master-actions{grid-column:2;padding:0 12px 5px}}.report-filters{background:#fff;border:1px solid #e5e7eb;border-radius:14px;align-items:end;gap:15px;margin-bottom:25px;padding:20px;display:flex}.report-filter{flex-direction:column;gap:7px;min-width:240px;display:flex}.report-filter label{color:#374151;font-size:13px;font-weight:700}.report-filter select,.report-filter input{background:#fff;border:1px solid #d1d5db;border-radius:8px;height:44px;padding:0 12px;font-size:14px}.print-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;height:44px;padding:0 20px;font-weight:700}.print-btn:disabled{opacity:.5;cursor:not-allowed}.report-paper{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:35px}.report-company-header{text-align:center;border-bottom:2px solid #111827;margin-bottom:20px;padding-bottom:20px}.report-company-header h1{letter-spacing:1px;margin:0;font-size:28px}.report-company-header p{color:#6b7280;margin:6px 0 15px}.report-company-header h2{margin:0;font-size:20px}.report-info{justify-content:space-between;margin-bottom:25px;font-size:15px;display:flex}.report-info div{gap:8px;display:flex}.report-summary{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px;display:grid}.report-summary div{text-align:center;background:#f3f4f6;border-radius:8px;padding:15px}.report-summary span{color:#6b7280;margin-bottom:7px;font-size:12px;display:block}.report-summary strong{font-size:17px}.report-table-wrapper{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:13px}.report-table th{color:#fff;text-align:left;white-space:nowrap;background:#1f4e79;padding:10px}.report-table td{white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:9px 10px}.report-table tr:nth-child(2n){background:#f9fafb}.report-final{border-top:2px solid #111827;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:25px;padding:18px;font-size:14px;display:grid}.report-final div{flex-direction:column;gap:5px;display:flex}.report-final strong{font-size:17px}.report-footer{text-align:center;color:#777;border-top:1px solid #ddd;margin-top:30px;padding-top:15px;font-size:11px}@page{size:A4 portrait;margin:6mm}@media print{html,body,#root{background:#fff!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}.no-print,.sidebar,.page-header{display:none!important}.app,.main,.page-content,.report-paper{width:100%!important;min-width:0!important;max-width:100%!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.report-company-header{text-align:center!important;border-bottom:1px solid #111!important;margin:0 0 3mm!important;padding:0 0 3mm!important;display:block!important}.report-company-header h1{margin:0!important;font-size:17px!important}.report-company-header p{margin:1mm 0!important;font-size:8px!important}.report-company-header h2{margin:0!important;font-size:11px!important}.report-info{justify-content:space-between!important;width:100%!important;margin:0 0 3mm!important;font-size:8px!important;display:flex!important}.report-info div{gap:3px!important;display:flex!important}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2mm!important;width:100%!important;margin:0 0 3mm!important;display:grid!important}.report-summary div{text-align:center!important;border-radius:2px!important;padding:2mm!important}.report-summary span{margin-bottom:1mm!important;font-size:7px!important}.report-summary strong{font-size:9px!important}.report-table-wrapper{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.report-table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:6.5px!important;display:table!important}.report-table th:first-child,.report-table td:first-child,.report-table th:nth-child(2),.report-table td:nth-child(2){width:9%!important}.report-table th:nth-child(3),.report-table td:nth-child(3){width:11%!important}.report-table th:nth-child(4),.report-table td:nth-child(4){width:8%!important}.report-table th:nth-child(5),.report-table td:nth-child(5){width:10%!important}.report-table th:nth-child(6),.report-table td:nth-child(6){width:7%!important}.report-table th:nth-child(7),.report-table td:nth-child(7),.report-table th:nth-child(8),.report-table td:nth-child(8),.report-table th:nth-child(9),.report-table td:nth-child(9){width:11%!important}.report-table th:nth-child(10),.report-table td:nth-child(10){width:13%!important}.report-table th,.report-table td{box-sizing:border-box!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;vertical-align:middle!important;border:.5px solid #999!important;padding:2mm 1mm!important;line-height:1.15!important}.report-table th{color:#000!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eee!important;font-size:6.5px!important;font-weight:700!important}.report-table td{color:#000!important;font-size:6.5px!important}.report-final{border-top:1px solid #111!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2mm!important;width:100%!important;margin:3mm 0 0!important;padding:3mm 0 0!important;font-size:7.5px!important;display:grid!important}.report-final div{text-align:center!important;flex-direction:column!important;gap:1mm!important;display:flex!important}.report-final strong{font-size:9px!important}.report-footer{text-align:center!important;border-top:.5px solid #ddd!important;margin-top:3mm!important;padding-top:2mm!important;font-size:6.5px!important;display:block!important}.report-table tr{break-inside:avoid!important;page-break-inside:avoid!important}}.ledger-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:24px;padding:20px;box-shadow:0 8px 25px #0f172a0d}.ledger-filter-title{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.ledger-filter-title h3{color:#111827;margin:0;font-size:18px}.ledger-filter-row{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.ledger-filter-field{flex-direction:column;gap:7px;min-width:190px;display:flex}.ledger-filter-field label{color:#475569;font-size:13px;font-weight:600}.ledger-filter-field select,.ledger-filter-field input{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;height:42px;padding:0 12px;font-size:14px}.ledger-filter-field select:focus,.ledger-filter-field input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.ledger-clear-btn{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:8px;padding:9px 15px;font-weight:600}.ledger-clear-btn:hover{background:#fecaca}.ledger-filter-info{color:#64748b;border-top:1px solid #e5e7eb;gap:25px;margin-top:18px;padding-top:15px;font-size:14px;display:flex}.ledger-filter-info strong{color:#111827}@media (width<=768px){.ledger-filter-row{flex-direction:column;align-items:stretch}.ledger-filter-field{width:100%;min-width:0}.ledger-filter-title{align-items:flex-start;gap:12px}.ledger-filter-info{flex-direction:column;gap:8px}}.page-content{box-sizing:border-box;width:100%}.page-header{margin-bottom:24px}.page-header h1{color:#0f172a;margin:0;font-size:32px;font-weight:700}.page-header p{color:#94a3b8;margin-top:6px;font-size:14px}.page-content>input[type=text]{box-sizing:border-box;background:#fff;border:1px solid #d7dee8;border-radius:9px;outline:none;width:calc(100% - 130px);height:42px;padding:0 14px;font-size:14px}.page-content>input[type=text]:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.table-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;margin-top:18px;padding:20px;overflow-x:auto;box-shadow:0 8px 25px #0f172a0d}.table-card table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:900px}.table-card thead th{color:#111827;text-align:left;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:16px 12px;font-size:14px;font-weight:700}.table-card tbody td{color:#334155;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:14px 12px;font-size:14px}.table-card tbody tr:hover{background:#f8fafc}.table-card tbody td:first-child{color:#0f172a;white-space:nowrap;font-weight:600}.table-card tbody td:nth-child(2),.table-card tbody td:nth-child(3),.table-card tbody td:nth-child(4),.table-card tbody td:nth-child(5),.table-card tbody td:nth-child(6),.table-card tbody td:last-child{white-space:nowrap}.table-card button{cursor:pointer;border:none;border-radius:6px;margin-right:6px;padding:7px 12px;font-size:13px;font-weight:600}.table-card button:first-child{color:#2563eb;background:#eff6ff}.table-card button:first-child:hover{background:#dbeafe}.table-card button:last-child{color:#dc2626;background:#fef2f2;margin-right:0}.table-card button:last-child:hover{background:#fee2e2}.primary-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600}.primary-btn:hover{background:#1d4ed8}.party-toolbar{align-items:center;gap:14px;margin-bottom:18px;display:flex}.party-toolbar input{border:1px solid #d7dee8;border-radius:9px;outline:none;flex:1;height:42px;padding:0 14px;font-size:14px}.party-toolbar input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}@media (width<=900px){.table-card{overflow-x:auto}.table-card table{min-width:950px}.page-header h1{font-size:26px}}@media (width<=600px){.party-toolbar{flex-direction:column;align-items:stretch}.party-toolbar input,.party-toolbar button{width:100%}}.sidebar-toggle{color:#2563eb;cursor:pointer;z-index:50;background:#fff;border:1px solid #dbe4f0;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;font-size:18px;line-height:1;transition:all .2s;display:flex;position:absolute;top:16px;right:14px;box-shadow:0 2px 6px #00000014}.sidebar-toggle:hover{background:#eef4ff;border-color:#2563eb;transform:translateY(-1px)}.sidebar .brand{padding-top:58px}.sidebar.collapsed .brand>div:not(.brand-logo){display:none}.sidebar.collapsed .brand{justify-content:center;padding-top:58px}.sidebar.collapsed .menu-label,.sidebar.collapsed .menu-item>span:last-child{display:none}.sidebar.collapsed .menu-item{justify-content:center;padding-left:0;padding-right:0}.sidebar.collapsed .sidebar-bottom .menu-item>span:last-child{display:none}.main{transition:margin-left .25s,width .25s}.sidebar{transition:width .25s}.main{min-width:0}button{font-family:inherit}button[type=button]{appearance:none;cursor:pointer;transition:all .2s;color:#475569!important;box-shadow:none!important;background:#f8fafc!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:10px 20px!important;font-size:14px!important;font-weight:600!important}button[type=button]:hover{background:#e2e8f0!important;border-color:#94a3b8!important}button[type=submit]{appearance:none;cursor:pointer;transition:all .2s;color:#fff!important;box-shadow:none!important;background:#2563eb!important;border:1px solid #2563eb!important;border-radius:8px!important;padding:10px 22px!important;font-size:14px!important;font-weight:600!important}button[type=submit]:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}button[type=button]+button[type=submit]{margin-left:16px}button[type=button],button[type=submit]{margin-top:24px}.stats{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.stats .stat-card{width:100%}.rolls-summary{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin-top:18px;overflow:hidden;box-shadow:0 4px 14px #0f172a0d}.rolls-summary-header{letter-spacing:.8px;color:#64748b;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:10px 18px;font-size:12px;font-weight:700}.rolls-summary-content{justify-content:space-around;align-items:center;min-height:78px;padding:8px 20px;display:flex}.roll-item{flex:1;justify-content:center;align-items:center;gap:7px;display:flex}.roll-label{color:#64748b;font-size:13px}.roll-item strong{color:#111827;font-size:20px;font-weight:700}.roll-item small{color:#94a3b8;font-size:11px}.roll-divider{background:#e5e7eb;width:1px;height:35px}.rolls-summary{box-shadow:none!important;background:0 0!important;border:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;margin-top:28px!important;padding:0!important;display:grid!important;overflow:visible!important}.rolls-summary:before{content:"ROLLS SUMMARY";letter-spacing:1.5px;color:#64748b;grid-column:1/-1;margin-bottom:-4px;font-size:14px;font-weight:700;display:block}.roll-summary-card{box-sizing:border-box;position:relative;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:16px!important;flex-direction:column!important;justify-content:space-between!important;align-items:stretch!important;width:100%!important;min-height:160px!important;padding:22px!important;display:flex!important;overflow:visible!important;box-shadow:0 4px 14px #0f172a0f!important}.roll-summary-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #0f172a17!important}.roll-summary-icon{border-radius:10px!important;justify-content:center!important;align-items:center!important;width:40px!important;min-width:40px!important;height:40px!important;font-size:20px!important;font-weight:600!important;display:flex!important}.roll-summary-icon.blue-bg{color:#2563eb!important;background:#eaf2ff!important}.roll-summary-icon.orange-bg{color:#f97316!important;background:#fff1e5!important}.roll-summary-icon.green-bg{color:#16a34a!important;background:#e8f8ef!important}.roll-summary-card>div:last-child{justify-content:space-between!important;align-items:flex-end!important;gap:10px!important;width:100%!important;display:flex!important}.roll-summary-card span{color:#64748b!important;margin-bottom:8px!important;font-size:14px!important;font-weight:500!important;display:block!important}.roll-summary-card strong{color:#111827!important;font-size:27px!important;font-weight:700!important;line-height:1!important;display:inline-block!important}.roll-summary-card strong:after{content:" Rolls";color:#94a3b8;margin-left:5px;font-size:12px;font-weight:500}.rolls-summary-header,.rolls-summary-content,.roll-item,.roll-label,.roll-divider{all:unset}@media (width<=900px){.rolls-summary{grid-template-columns:1fr!important}.roll-summary-card{min-height:145px!important}}.sidebar{transition:width .25s!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important}.auth-screen{background:radial-gradient(circle at 100% 0,#2563eb1a,#0000 32%),#f5f7fb;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.auth-card{background:#fff;border:1px solid #e4e7ec;border-radius:20px;width:min(440px,100%);padding:32px;box-shadow:0 18px 50px #0f172a14}.auth-brand{align-items:center;gap:13px;margin-bottom:30px;display:flex}.auth-logo{color:#fff;background:linear-gradient(135deg,#2563eb,#1747b8);border-radius:13px;justify-content:center;align-items:center;width:48px;height:48px;font-weight:800;display:flex}.auth-brand h1{color:#101828;margin:0;font-size:20px}.auth-brand p{color:#98a2b3;margin:4px 0 0;font-size:12px}.auth-heading h2{color:#101828;margin:0;font-size:24px}.auth-heading p{color:#667085;margin:7px 0 22px;font-size:13px}.auth-form{flex-direction:column;gap:15px;display:flex}.auth-submit{color:#fff;background:#2563eb;border:0;border-radius:9px;width:100%;height:46px;margin-top:3px;font-size:14px;font-weight:700}.auth-submit:hover{background:#1d4ed8}.auth-submit:disabled{opacity:.65;cursor:wait}.auth-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:11px 12px;font-size:12px;line-height:1.5}.auth-footer{text-align:center;color:#98a2b3;margin:20px 0 0;font-size:11px}.auth-loading{text-align:center;background:#f5f7fb;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-loading h2{color:#101828;margin:0 0 6px}.auth-loading p{color:#667085;margin:0;font-size:13px}.settings-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;margin-bottom:20px;padding:22px;box-shadow:0 8px 25px #0f172a0d}.settings-card-header{margin-bottom:20px}.settings-card-header h3{color:#111827;margin:0;font-size:18px}.settings-card-header p{color:#64748b;margin:6px 0 0;font-size:13px}.settings-create-form{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:14px;display:grid}.settings-create-form .primary-btn{white-space:nowrap;height:42px}.settings-error,.settings-success{border-radius:8px;margin-top:15px;padding:11px 13px;font-size:13px}.settings-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.settings-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.settings-loading{text-align:center;color:#64748b;padding:25px}.user-permissions-list{gap:16px;display:grid}.user-permission-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:18px}.user-permission-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;display:flex}.user-permission-header strong{color:#111827;font-size:15px;display:block}.user-permission-header span{color:#64748b;margin-top:4px;font-size:12px;display:block}.user-role-badge{background:#eff6ff;border-radius:999px;align-items:center;padding:6px 9px;font-weight:800;color:#2563eb!important;margin:0!important;font-size:10px!important;display:inline-flex!important}.permission-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.permission-item{color:#334155;cursor:pointer;background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;align-items:center;gap:9px;min-height:42px;padding:10px 12px;font-size:13px;display:flex}.permission-item input{accent-color:#2563eb;width:16px;height:16px}.permission-actions{justify-content:flex-end;margin-top:15px;display:flex}.admin-access-note{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:9px;padding:12px;font-size:13px}@media (width<=900px){.main{padding-left:20px;padding-right:20px}.settings-create-form{grid-template-columns:1fr 1fr}.settings-create-form .primary-btn{width:100%}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.sidebar{width:220px}.main{padding-left:15px;padding-right:15px;width:calc(100% - 220px)!important;margin-left:220px!important}.sidebar.collapsed{width:72px!important}.main.main-expanded{width:calc(100% - 72px)!important;margin-left:72px!important}.topbar{gap:15px;height:auto;min-height:82px}.top-actions{gap:10px}.user>div:last-child{display:none}.settings-create-form,.permission-grid{grid-template-columns:1fr}.auth-card{padding:24px}}.sidebar{scrollbar-width:thin;overflow:hidden auto}.sidebar-bottom{flex-shrink:0}@media (width<=600px){.sidebar{height:100vh!important;overflow-y:auto!important}.sidebar-bottom{margin-top:20px!important;padding-bottom:18px!important}.sidebar-bottom .menu-item{flex-shrink:0}}.sidebar{overflow:hidden!important}.sidebar nav{flex:auto;min-height:0;padding-right:2px;overflow:hidden auto}.sidebar-bottom{flex:none;padding-bottom:4px;margin-top:12px!important}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:#344054;border-radius:10px}@media (width<=600px){.sidebar{height:100vh!important}.sidebar nav{flex:auto!important;min-height:0!important;overflow-y:auto!important}.sidebar-bottom{margin-top:10px!important;padding-top:10px!important;padding-bottom:8px!important}}.main{flex-direction:column!important;min-width:0!important;display:flex!important}.page-content{width:100%!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}.sidebar{z-index:1000!important;width:250px!important;height:100vh!important;min-height:100vh!important;overflow:hidden!important}.sidebar.collapsed{width:80px!important}.main{width:calc(100% - 250px)!important;margin-left:250px!important;transition:margin-left .25s,width .25s!important}.main.main-expanded{width:calc(100% - 80px)!important;margin-left:80px!important}.sidebar nav{flex:auto!important;min-height:0!important;overflow:hidden auto!important}.sidebar-bottom{flex:none!important;margin-top:auto!important;padding-bottom:8px!important}.sidebar.collapsed .sidebar-toggle{right:14px!important}@media (width<=900px){.page-content{max-width:100%!important}}@media (width<=600px){.sidebar{width:220px!important}.sidebar.collapsed{width:72px!important}.main{width:calc(100% - 220px)!important;margin-left:220px!important;padding-left:15px!important;padding-right:15px!important}.main.main-expanded{width:calc(100% - 72px)!important;margin-left:72px!important}.page-content{width:100%!important}}@media (width<=760px){html,body,#root{width:100%;max-width:100%;overflow-x:hidden!important}.app{width:100%;min-width:0;overflow-x:hidden}.sidebar.collapsed{width:72px!important}.sidebar:not(.collapsed){width:220px!important}.main{width:calc(100% - 220px)!important;min-width:0!important;max-width:calc(100% - 220px)!important;margin-left:220px!important;padding:0 14px 30px!important;overflow-x:hidden!important}.main.main-expanded{width:calc(100% - 72px)!important;max-width:calc(100% - 72px)!important;margin-left:72px!important}.page-content{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.topbar{gap:8px!important;width:100%!important;min-width:0!important;height:78px!important;min-height:78px!important;margin-bottom:20px!important}.topbar h1{font-size:22px!important}.welcome-small{font-size:9px!important}.top-actions{flex-shrink:0!important;gap:7px!important}.notification,.avatar{width:34px!important;height:34px!important}.user>div:last-child{display:none!important}.stats{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;width:100%!important;display:grid!important}.stats:before{text-align:center!important;grid-column:1!important;margin-bottom:0!important}.stat-card{width:100%!important;min-width:0!important;min-height:135px!important}.quick-actions{grid-template-columns:1fr!important;width:100%!important}.rolls-summary{grid-template-columns:minmax(0,1fr)!important;gap:14px!important;width:100%!important;display:grid!important}.rolls-summary:before{text-align:center!important;grid-column:1!important}.roll-summary-card{width:100%!important;min-width:0!important;min-height:145px!important}.form-grid{grid-template-columns:minmax(0,1fr)!important}.table-card,.table-wrapper,.report-table-wrapper{max-width:100%!important;overflow-x:auto!important}.page-header{width:100%!important}}@media print{.page-header,.topbar,.welcome-small,.topbar h1,.top-actions{display:none!important}.app,.main,.page-content,.report-paper{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;transform:none!important}.main{width:100%!important;margin-left:0!important}.report-paper{box-sizing:border-box!important}}.sidebar.collapsed .brand{padding-top:58px!important}.sidebar.collapsed .sidebar-toggle{top:16px!important;right:14px!important}.mobile-header,.mobile-bottom-nav,.mobile-menu-overlay{display:none}@media (width<=760px){html,body,#root{width:100%!important;max-width:100%!important;overflow-x:hidden!important}body{background:#f5f7fb!important}.app{width:100%!important;min-width:0!important;padding-bottom:78px!important;display:block!important;overflow-x:hidden!important}.mobile-header{z-index:1100!important;color:#fff!important;background:linear-gradient(135deg,#1677f2,#1769dc)!important;border-radius:0 0 28px 28px!important;justify-content:space-between!important;align-items:center!important;width:100%!important;height:72px!important;padding:0 18px!important;display:flex!important;position:sticky!important;top:0!important;box-shadow:0 4px 14px #0000001a!important}.mobile-header-menu{color:#fff!important;background:0 0!important;border:0!important;width:46px!important;height:46px!important;padding:0!important;font-size:30px!important;line-height:1!important}.mobile-header-title{letter-spacing:.5px!important;flex:1!important;margin-left:10px!important;font-size:17px!important;font-weight:800!important}.mobile-header-page{display:none!important}.main,.main.main-expanded{width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;padding:18px 14px 20px!important;overflow-x:hidden!important}.main>.topbar{display:none!important}.sidebar{z-index:1300!important;width:min(66vw,360px)!important;max-width:360px!important;height:100vh!important;min-height:100vh!important;padding:20px 12px!important;transition:transform .25s!important;position:fixed!important;top:0!important;bottom:0!important;left:0!important;overflow:hidden!important;transform:translate(-105%)!important;box-shadow:12px 0 30px #0003!important}.sidebar.mobile-open{transform:translate(0)!important}.sidebar.collapsed{width:min(66vw,360px)!important}.sidebar .brand{padding-top:58px!important}.sidebar .sidebar-toggle{top:16px!important;right:14px!important}.mobile-menu-overlay{z-index:1200!important;opacity:0!important;pointer-events:none!important;background:#0f172a8c!important;border:0!important;padding:0!important;transition:opacity .25s!important;display:block!important;position:fixed!important;inset:0!important}.mobile-menu-overlay.show{opacity:1!important;pointer-events:auto!important}.page-content{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}.stats,.quick-actions,.form-grid{grid-template-columns:1fr!important}.table-card,.table-wrapper,.report-table-wrapper{max-width:100%!important;overflow-x:auto!important}.mobile-bottom-nav{z-index:1150!important;height:76px!important;padding:7px 6px calc(7px + env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e5e7eb!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;display:grid!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;box-shadow:0 -5px 18px #0f172a1a!important}.mobile-bottom-nav button{color:#111!important;background:0 0!important;border:0!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:3px!important;min-width:0!important;padding:2px 1px!important;display:flex!important}.mobile-bottom-nav button span{font-size:25px!important;font-weight:700!important;line-height:1!important}.mobile-bottom-nav button small{font-size:10px!important;font-weight:700!important;line-height:1.1!important}.mobile-bottom-nav button.active{color:#1677f2!important}.dashboard,.page-content{padding-bottom:8px!important}.sidebar .menu-item>span:last-child{visibility:visible!important;opacity:1!important;display:inline!important}.sidebar .menu-item{justify-content:flex-start!important;gap:12px!important;padding-left:14px!important;padding-right:12px!important}.sidebar .menu-icon{text-align:center!important;flex:0 0 22px!important;width:22px!important}.sidebar .menu-item>span:last-child{white-space:nowrap!important;font-size:14px!important}.sidebar .menu-label{text-align:left!important;padding-left:14px!important;display:block!important}}@media (width>=761px){.sidebar-toggle{color:#2563eb!important;z-index:1100!important;background:#fff!important;border:1px solid #dbe4f0!important;border-radius:12px!important;justify-content:center!important;align-items:center!important;width:42px!important;height:42px!important;padding:0!important;font-size:21px!important;font-weight:700!important;line-height:1!important;transition:all .2s!important;display:flex!important;top:14px!important;right:12px!important;box-shadow:0 4px 12px #0f172a1a!important}.sidebar-toggle:hover{color:#1d4ed8!important;background:#eff6ff!important;border-color:#93c5fd!important;transform:translateY(-1px)!important;box-shadow:0 6px 16px #2563eb2e!important}.sidebar-toggle:active{transform:scale(.96)!important}.sidebar.collapsed .sidebar-toggle{top:14px!important;right:19px!important}}.sidebar .brand h2{color:#fff!important;font-weight:800!important}.sidebar .brand span{color:#bfdbfe!important}@media (width<=760px){.report-page{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}.report-page .page-header{text-align:center!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:10px!important;margin:0 0 18px!important;padding:0!important;display:flex!important}.report-page .page-header h1{margin:0!important;font-size:25px!important}.report-page .page-header p{margin:3px 0 0!important;font-size:12px!important}.report-page .page-header .primary-btn{height:38px!important;margin:0!important;padding:0 18px!important}.report-page .report-filters{border-radius:14px!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;width:100%!important;margin:0 0 18px!important;padding:16px!important;display:flex!important}.report-page .report-filter{gap:6px!important;width:100%!important;min-width:0!important}.report-page .report-filter label{text-align:left!important;font-size:12px!important}.report-page .report-filter select,.report-page .report-filter input{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:44px!important}.report-page .print-btn{width:100%!important;height:44px!important;margin-top:2px!important}.report-page .coming{box-sizing:border-box!important;width:100%!important;min-height:220px!important;margin:0!important;padding:28px 18px!important}.report-page .coming-icon{width:58px!important;height:58px!important;margin-bottom:12px!important;font-size:25px!important}.report-page .coming h2{font-size:20px!important}.report-page .coming p{margin:7px 0 0!important;font-size:12px!important}.report-page .report-paper{box-sizing:border-box!important;border-radius:12px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:18px!important;overflow:hidden!important}.report-page .report-company-header{margin-bottom:14px!important;padding-bottom:12px!important}.report-page .report-company-header h1{font-size:21px!important}.report-page .report-company-header p{margin:4px 0 8px!important;font-size:10px!important}.report-page .report-company-header h2{font-size:15px!important}.report-page .report-info{flex-direction:column!important;gap:8px!important;margin-bottom:14px!important;font-size:12px!important;display:flex!important}.report-page .report-info div{justify-content:space-between!important;gap:6px!important}.report-page .report-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:14px!important}.report-page .report-summary div{padding:10px 6px!important}.report-page .report-summary span{margin-bottom:4px!important;font-size:9px!important}.report-page .report-summary strong{font-size:12px!important}.report-page .report-table-wrapper{-webkit-overflow-scrolling:touch!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}.report-page .report-table{min-width:720px!important;font-size:10px!important}.report-page .report-final{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}}.welcome-small{display:none!important}.brand-logo-image{object-fit:contain!important;background:#fff!important;border-radius:11px!important;flex:0 0 42px!important;width:42px!important;height:42px!important}.avatar img{object-fit:contain!important;background:#fff!important;border-radius:50%!important;width:100%!important;height:100%!important}.mobile-header-brand{flex:1!important;justify-content:center!important;align-items:center!important;margin-right:46px!important;display:flex!important}.mobile-header-brand img{object-fit:contain!important;background:#fff!important;border-radius:10px!important;width:46px!important;height:46px!important}@media (width<=760px){.sidebar .brand-logo-image{flex-basis:48px!important;width:48px!important;height:48px!important}.sidebar.collapsed .brand-logo-image{width:48px!important;height:48px!important}.mobile-header-brand{margin-right:46px!important}}@media print{.mobile-bottom-nav,.sidebar,.sidebar-toggle,.topbar,.page-header,.report-page>.no-print,.report-filters,.report-page .no-print{visibility:hidden!important;display:none!important}.report-page,.report-page>.report-paper{visibility:visible!important;display:block!important}.report-page,.report-paper{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}}.print-company-logo{display:none}@media print{@page{size:A4 portrait;margin:7mm}html,body,#root,.app,.main,.page-content,.report-page,.report-paper{width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important;overflow:visible!important}.mobile-header,.mobile-bottom-nav,.mobile-menu-overlay,.sidebar,.sidebar-toggle,.topbar,.page-header,.report-filters,.no-print{visibility:hidden!important;display:none!important}.report-company-header{text-align:center!important;border-bottom:1px solid #1f2937!important;margin:0 0 3mm!important;padding:0 0 3.5mm!important;display:block!important}.print-company-logo{object-fit:contain!important;width:16mm!important;height:16mm!important;margin:0 auto 1.5mm!important;display:block!important}.report-company-header h1{letter-spacing:.6px!important;margin:0!important;font-size:17px!important;font-weight:800!important}.report-company-header p{color:#64748b!important;margin:1mm 0!important;font-size:7.5px!important}.report-company-header h2{letter-spacing:1px!important;margin:1mm 0 0!important;font-size:10px!important;font-weight:700!important}.report-info{box-sizing:border-box!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:2mm!important;justify-content:space-between!important;align-items:center!important;width:100%!important;margin:0 0 3mm!important;padding:2mm 2.5mm!important;font-size:8px!important;display:flex!important}.report-info div{gap:2px!important;display:flex!important}.report-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2mm!important;width:100%!important;margin:0 0 3mm!important;display:grid!important}.report-summary div{text-align:center!important;box-sizing:border-box!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:2mm!important;padding:2.5mm 1.5mm!important}.report-summary span{color:#64748b!important;margin-bottom:1mm!important;font-size:6.5px!important;display:block!important}.report-summary strong{color:#111827!important;font-size:8.5px!important}.report-table-wrapper,.report-page .report-table-wrapper{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;display:block!important;overflow:visible!important}.report-table,.report-page .report-table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:8px!important;display:table!important}.report-table th,.report-table td{box-sizing:border-box!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;vertical-align:middle!important;border:.35px solid #94a3b8!important;padding:1.35mm .8mm!important;line-height:1.08!important}.report-table th{color:#111827!important;text-align:center!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eef2f7!important;font-size:8px!important;font-weight:800!important}.report-table td{color:#1f2937!important;text-align:center!important;font-size:8px!important}.report-table th:first-child,.report-table td:first-child{width:9%!important}.report-table th:nth-child(2),.report-table td:nth-child(2){width:8%!important}.report-table th:nth-child(3),.report-table td:nth-child(3){width:10%!important}.report-table th:nth-child(4),.report-table td:nth-child(4){width:8%!important}.report-table th:nth-child(5),.report-table td:nth-child(5){width:9%!important}.report-table th:nth-child(6),.report-table td:nth-child(6){width:7%!important}.report-table th:nth-child(7),.report-table td:nth-child(7),.report-table th:nth-child(8),.report-table td:nth-child(8),.report-table th:nth-child(9),.report-table td:nth-child(9){width:11%!important}.report-table th:nth-child(10),.report-table td:nth-child(10){width:16%!important}.report-final{border-top:1px solid #1f2937!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2mm!important;width:100%!important;margin:3mm 0 0!important;padding:2.5mm 0 0!important;font-size:7px!important;display:grid!important}.report-final div{text-align:center!important;gap:1mm!important}.report-final strong{font-size:8.5px!important}.report-footer{text-align:center!important;color:#64748b!important;border-top:1px solid #e5e7eb!important;margin-top:2.5mm!important;padding-top:1.5mm!important;font-size:6px!important;display:block!important}.report-table tr,.report-company-header,.report-info,.report-summary,.report-table-wrapper,.report-final,.report-footer{break-inside:avoid!important;page-break-inside:avoid!important}}.page-header-actions{align-items:center;gap:10px;display:flex}@media print{@page{size:A4 portrait;margin:8mm}.stock-page{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}.stock-page .page-header{border-bottom:1px solid #1f2937!important;justify-content:space-between!important;align-items:flex-start!important;margin:0 0 6mm!important;padding-bottom:3mm!important;display:flex!important}.stock-page .page-header h1{margin:0!important;font-size:18px!important}.stock-page .page-header p{color:#64748b!important;margin:1mm 0 0!important;font-size:8px!important}.stock-page .page-header-actions{display:none!important}.stock-page>div[style]{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:2mm!important;margin:0 0 5mm!important;padding:2.5mm 3mm!important;display:flex!important}.stock-page>div[style] label{font-size:8px!important}.stock-page>div[style] input{background:0 0!important;border:0!important;padding:0!important;font-size:8px!important}.stock-page .table-card{width:100%!important;max-width:100%!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;overflow:visible!important}.stock-page table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;font-size:8px!important}.stock-page th,.stock-page td{text-align:center!important;white-space:normal!important;border:.5px solid #94a3b8!important;padding:2.5mm 2mm!important}.stock-page th{color:#111827!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eef2f7!important;font-weight:800!important}.stock-page th:first-child,.stock-page td:first-child{width:7%!important}.stock-page th:nth-child(2),.stock-page td:nth-child(2){text-align:left!important;width:28%!important}.stock-page th:nth-child(3),.stock-page td:nth-child(3),.stock-page th:nth-child(4),.stock-page td:nth-child(4),.stock-page th:nth-child(5),.stock-page td:nth-child(5),.stock-page th:nth-child(6),.stock-page td:nth-child(6){width:16.25%!important}.stock-page tfoot td{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#f1f5f9!important;font-weight:800!important}}@media (width<=760px){.stock-page .page-header-actions{grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;display:grid!important}.stock-page .page-header-actions button{min-width:0!important;padding:9px 8px!important;font-size:11px!important}.stock-print-btn{justify-content:center!important;align-items:center!important;display:inline-flex!important}}.stock-print-header{display:none}@media print{@page{size:A4 portrait;margin:8mm}html,body,#root,.app,.main,.page-content,.stock-page{background:#fff!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}.stock-page .mobile-header,.stock-page .mobile-bottom-nav,.stock-page .sidebar,.stock-page .topbar,.stock-page .page-header,.stock-page .page-header-actions,.stock-page .no-print{display:none!important}.stock-print-header{text-align:center!important;border-bottom:1px solid #1f2937!important;margin-bottom:4mm!important;padding-bottom:4mm!important;display:block!important}.stock-print-header img{object-fit:contain!important;width:15mm!important;height:15mm!important;margin:0 auto 1.5mm!important;display:block!important}.stock-print-header h1{letter-spacing:.7px!important;margin:0!important;font-size:17px!important;font-weight:800!important}.stock-print-header p{color:#64748b!important;margin:1mm 0!important;font-size:7.5px!important}.stock-print-header h2{letter-spacing:1.2px!important;margin:1mm 0 0!important;font-size:10px!important}.stock-page>div[style]{box-sizing:border-box!important;background:#f8fafc!important;border:1px solid #dbe3ec!important;border-radius:2mm!important;justify-content:space-between!important;align-items:center!important;width:100%!important;margin:0 0 4mm!important;padding:2.5mm 3mm!important;display:flex!important}.stock-page>div[style] label{color:#334155!important;font-size:8px!important;font-weight:700!important}.stock-page>div[style] input{color:#111827!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:1.5mm!important;width:auto!important;min-width:38mm!important;padding:1.5mm 2.5mm!important;font-size:8px!important}.stock-page .table-card{width:100%!important;max-width:100%!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.stock-page .table-card table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;font-size:8px!important;display:table!important}.stock-page .table-card th,.stock-page .table-card td{box-sizing:border-box!important;text-align:center!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;border:.5px solid #94a3b8!important;padding:3mm 1.5mm!important;line-height:1.15!important}.stock-page .table-card th{color:#111827!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eef2f7!important;font-weight:800!important}.stock-page .table-card td:nth-child(2){text-align:left!important;font-weight:600!important}.stock-page .table-card th:first-child,.stock-page .table-card td:first-child{width:7%!important}.stock-page .table-card th:nth-child(2),.stock-page .table-card td:nth-child(2){width:25%!important}.stock-page .table-card th:nth-child(3),.stock-page .table-card td:nth-child(3),.stock-page .table-card th:nth-child(4),.stock-page .table-card td:nth-child(4),.stock-page .table-card th:nth-child(5),.stock-page .table-card td:nth-child(5),.stock-page .table-card th:nth-child(6),.stock-page .table-card td:nth-child(6){width:17%!important}.stock-page .table-card tfoot td{color:#111827!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#f1f5f9!important;border-top:1px solid #334155!important;font-weight:800!important}.stock-page .table-card tr{break-inside:avoid!important;page-break-inside:avoid!important}.stock-page:after{content:"Generated from Hameed Plant Management System"!important;text-align:center!important;color:#64748b!important;border-top:1px solid #e2e8f0!important;margin-top:5mm!important;padding-top:2mm!important;font-size:6.5px!important;display:block!important}.stock-page .table-card tfoot td,.stock-page .table-card tfoot td strong{font-size:8px!important;font-weight:800!important;line-height:1.15!important}}.ledger-title{justify-content:space-between!important;align-items:center!important;gap:12px!important;display:flex!important}.ledger-print-btn{color:#fff!important;cursor:pointer!important;white-space:nowrap!important;background:#2563eb!important;border:0!important;border-radius:7px!important;padding:7px 12px!important;font-size:12px!important;font-weight:700!important}.ledger-print-btn:hover{background:#1d4ed8!important}@media print{.ledger-page .page-header,.ledger-page .ledger-filter-card,.ledger-page .ledger-print-btn,.ledger-page .sidebar,.ledger-page .topbar,.ledger-page .mobile-header,.ledger-page .mobile-bottom-nav,.ledger-page .sidebar-toggle{display:none!important}.ledger-page{background:#fff!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}.ledger-page .ledger-grid{width:100%!important;display:block!important}.ledger-page .ledger-card{width:100%!important;box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important}.ledger-page .ledger-title{text-align:center!important;border-bottom:1px solid #1f2937!important;margin:0 0 5mm!important;padding:3mm 0!important;font-size:14px!important;font-weight:800!important;display:block!important}.ledger-page .table-wrapper{width:100%!important;max-width:100%!important;overflow:visible!important}.ledger-page table{table-layout:fixed!important;border-collapse:collapse!important;width:100%!important;max-width:100%!important;font-size:8px!important}.ledger-page th,.ledger-page td{text-align:center!important;white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;border:.5px solid #94a3b8!important;padding:2mm 1mm!important}.ledger-page th{color:#111827!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;background:#eef2f7!important;font-weight:800!important}.ledger-print-inward .ledger-outward-card,.ledger-print-outward .ledger-inward-card{display:none!important}.ledger-print-inward .ledger-inward-card th:first-child,.ledger-print-inward .ledger-inward-card td:first-child{width:13%!important}.ledger-print-inward .ledger-inward-card th:nth-child(2),.ledger-print-inward .ledger-inward-card td:nth-child(2){width:22%!important}.ledger-print-inward .ledger-inward-card th:nth-child(3),.ledger-print-inward .ledger-inward-card td:nth-child(3){width:19%!important}.ledger-print-inward .ledger-inward-card th:nth-child(4),.ledger-print-inward .ledger-inward-card td:nth-child(4){width:16%!important}.ledger-print-inward .ledger-inward-card th:nth-child(5),.ledger-print-inward .ledger-inward-card td:nth-child(5){width:12%!important}.ledger-print-inward .ledger-inward-card th:nth-child(6),.ledger-print-inward .ledger-inward-card td:nth-child(6){width:18%!important}.ledger-print-outward .ledger-outward-card th:first-child,.ledger-print-outward .ledger-outward-card td:first-child{width:8%!important}.ledger-print-outward .ledger-outward-card th:nth-child(2),.ledger-print-outward .ledger-outward-card td:nth-child(2){width:7%!important}.ledger-print-outward .ledger-outward-card th:nth-child(3),.ledger-print-outward .ledger-outward-card td:nth-child(3){width:13%!important}.ledger-print-outward .ledger-outward-card th:nth-child(4),.ledger-print-outward .ledger-outward-card td:nth-child(4){width:11%!important}.ledger-print-outward .ledger-outward-card th:nth-child(5),.ledger-print-outward .ledger-outward-card td:nth-child(5){width:8%!important}.ledger-print-outward .ledger-outward-card th:nth-child(6),.ledger-print-outward .ledger-outward-card td:nth-child(6){width:9%!important}.ledger-print-outward .ledger-outward-card th:nth-child(7),.ledger-print-outward .ledger-outward-card td:nth-child(7){width:7%!important}.ledger-print-outward .ledger-outward-card th:nth-child(8),.ledger-print-outward .ledger-outward-card td:nth-child(8){width:8%!important}.ledger-print-outward .ledger-outward-card th:nth-child(9),.ledger-print-outward .ledger-outward-card td:nth-child(9),.ledger-print-outward .ledger-outward-card th:nth-child(10),.ledger-print-outward .ledger-outward-card td:nth-child(10){width:10%!important}.ledger-print-outward .ledger-outward-card th:nth-child(11),.ledger-print-outward .ledger-outward-card td:nth-child(11){width:9%!important}.ledger-page tr{break-inside:avoid!important;page-break-inside:avoid!important}}@media (width<=760px){.ledger-title{flex-wrap:wrap!important}.ledger-print-btn{width:100%!important;padding:9px 10px!important}}.ledger-grid{flex-direction:column!important;gap:24px!important;width:100%!important;max-width:100%!important;display:flex!important}.ledger-card{width:100%!important;max-width:100%!important}.ledger-card .table-wrapper{width:100%!important;max-width:100%!important;overflow-x:auto!important}.ledger-card table{width:100%!important;min-width:0!important}@media print{.ledger-print-inward .ledger-inward-card table,.ledger-print-inward .ledger-inward-card th,.ledger-print-inward .ledger-inward-card td,.ledger-print-outward .ledger-outward-card table,.ledger-print-outward .ledger-outward-card th,.ledger-print-outward .ledger-outward-card td{font-size:8px!important}}.invoice-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px;display:grid}.invoice-option-card{appearance:none;text-align:left;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:18px;flex-direction:column;align-items:flex-start;width:100%;min-height:250px;padding:30px;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;box-shadow:0 8px 24px #0f172a0f}.invoice-option-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #0f172a1a}.invoice-option-inward{border-top:5px solid #2563eb}.invoice-option-outward{border-top:5px solid #f97316}.invoice-option-icon{color:#2563eb;background:#eff6ff;border-radius:14px;justify-content:center;align-items:center;width:54px;height:54px;margin-bottom:18px;font-size:28px;font-weight:800;display:inline-flex}.invoice-option-outward .invoice-option-icon{color:#f97316;background:#fff7ed}.invoice-option-title{color:#111827;font-size:24px;font-weight:800;line-height:1.2;display:block}.invoice-option-text{color:#64748b;margin-top:10px;font-size:14px;line-height:1.5;display:block}.invoice-option-action{color:#2563eb;margin-top:auto;padding-top:24px;font-size:13px;font-weight:800;display:block}.invoice-option-outward .invoice-option-action{color:#ea580c}.invoice-coming-card{text-align:center;background:#fff;border:1px solid #dbe3ef;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;margin-top:28px;padding:30px;display:flex;box-shadow:0 8px 24px #0f172a0f}.invoice-coming-card .invoice-option-icon{margin-bottom:14px}.invoice-coming-card h2{color:#111827;margin:0;font-size:24px}.invoice-coming-card p{color:#64748b;margin:8px 0 0}@media (width<=760px){.invoice-options-grid{grid-template-columns:1fr;gap:16px;margin-top:18px}.invoice-option-card{min-height:210px;padding:22px}.invoice-option-title{font-size:21px}.invoice-option-text{font-size:13px}}.invoice-workflow-actions{align-items:center;gap:10px;display:flex}.invoice-workflow-actions .secondary-btn{color:#173a63;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:40px;padding:9px 16px;font-size:14px;font-weight:600;line-height:20px;transition:background .15s,border-color .15s,color .15s}.invoice-workflow-actions .secondary-btn:hover{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.invoice-workflow-actions .secondary-btn:focus-visible{outline-offset:2px;outline:3px solid #2563eb40}.invoice-workflow-controls{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(6,minmax(130px,1fr));gap:14px;margin:20px 0;padding:18px;display:grid}.invoice-workflow-controls label{color:#475569;flex-direction:column;gap:7px;font-size:13px;font-weight:600;display:flex}.invoice-workflow-controls input,.invoice-workflow-controls select{color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-width:0;height:40px;padding:0 10px}.invoice-workflow-message{text-align:center;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px}.invoice-workflow-error{color:#b91c1c}.invoice-workflow-success{color:#166534;background:#f0fdf4;border-color:#86efac}.invoice-saved-list{background:#fff;border:1px solid #e2e8f0;border-radius:12px;margin:20px 0;padding:0;overflow-x:auto}.invoice-saved-list table{border-collapse:collapse;width:100%;min-width:760px}.invoice-saved-list th,.invoice-saved-list td{text-align:left;border-bottom:1px solid #e2e8f0;padding:13px 14px}.invoice-saved-list th{color:#173a63;background:#f8fafc;font-size:12px}.invoice-saved-list td{color:#334155;font-size:13px}.invoice-saved-list tr:last-child td{border-bottom:0}.invoice-print-sheet{color:#111827;background:#fff;border:1px solid #e2e8f0;max-width:920px;margin:24px auto;padding:38px;box-shadow:0 8px 28px #0f172a14}.invoice-print-header{border-bottom:2px solid #173a63;align-items:center;gap:14px;padding-bottom:18px;display:flex}.invoice-print-header img{object-fit:contain;width:58px;height:58px}.invoice-print-brand{flex:1}.invoice-print-brand h1{color:#173a63;letter-spacing:1px;margin:0;font-size:24px}.invoice-print-brand p{color:#64748b;margin:3px 0 0}.invoice-print-title{text-align:right}.invoice-print-title h2{color:#173a63;letter-spacing:2px;margin:0 0 4px}.invoice-print-meta{grid-template-columns:2fr 1.3fr 1fr 1fr;gap:16px;padding:22px 0;display:grid}.invoice-print-meta div{flex-direction:column;gap:6px;display:flex}.invoice-print-meta span{color:#64748b;text-transform:uppercase;font-size:12px}.invoice-print-table{border-collapse:collapse;width:100%;font-size:12px}.invoice-print-table th{color:#fff;text-align:left;background:#173a63;padding:10px 7px}.invoice-print-table td{border-bottom:1px solid #dbe2ea;padding:9px 7px}.invoice-print-table td:nth-child(n+4),.invoice-print-table th:nth-child(n+4){text-align:right}.invoice-print-grand-total td{background:#f8fafc;border-top:2px solid #173a63;border-bottom:0;padding-top:11px;padding-bottom:11px;font-weight:800}.invoice-rate-input{text-align:right;border:1px solid #cbd5e1;border-radius:5px;width:88px;height:32px;padding:3px 6px}.invoice-rate-print{display:none}.invoice-print-bottom{grid-template-columns:1fr 260px;gap:26px;padding-top:20px;display:grid}.invoice-print-note{color:#64748b;font-size:11px}.invoice-print-totals{margin:0}.invoice-print-totals div{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:12px;padding:6px 0;display:flex}.invoice-print-totals dt{color:#475569}.invoice-print-totals dd{text-align:right;margin:0;font-weight:600}.invoice-print-totals .invoice-print-current{border-top:2px solid #173a63;border-bottom:0;padding-top:10px;font-weight:700}.invoice-print-footer{color:#475569;border-top:1px solid #cbd5e1;justify-content:space-between;margin-top:36px;padding-top:14px;font-size:12px;display:flex}@media (width<=850px){.invoice-workflow-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-workflow-actions{flex-wrap:wrap}}@media print{@page{size:A4 portrait;margin:12mm}body{background:#fff!important}.invoice-workflow .sidebar,.invoice-workflow .topbar,.invoice-workflow .mobile-header,.invoice-workflow .mobile-bottom-nav,.invoice-workflow .no-print{display:none!important}.invoice-workflow,.invoice-workflow .main{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.invoice-print-sheet{max-width:none;box-shadow:none;border:0;margin:0;padding:0}.invoice-print-header{padding-bottom:12px}.invoice-print-meta{padding:15px 0}.invoice-print-table{font-size:10px}.invoice-print-table th,.invoice-print-table td{padding:6px 5px}.invoice-rate-print{display:inline!important}.invoice-print-bottom{padding-top:14px}.invoice-print-footer{margin-top:24px}}
