:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{text-decoration:none}a:hover{color:#535bf2}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f5f7fb;color:#222}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.shops-container{padding:16px;max-width:600px;margin:0 auto}.shops-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.shops-header h2{margin:0;font-weight:600}.back-arrow{cursor:pointer;font-size:20px;padding:6px 10px;border-radius:8px;transition:background .2s ease}.back-arrow:hover{background:#f2f2f2}.route-select{margin-bottom:16px}.route-select select{padding:10px;width:100%;border-radius:10px;border:1px solid #ddd;font-size:14px;background:#fff}.shop-row{background:#fff;border-radius:16px;padding:14px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 12px #0000000d;transition:transform .1s ease,box-shadow .1s ease}.shop-row:hover{box-shadow:0 6px 16px #00000014}.shop-name{font-weight:600;font-size:15px}.shop-area{font-size:13px;opacity:.6;margin-top:4px}.shop-actions{display:flex;align-items:center;gap:12px}.icon{cursor:pointer;font-size:16px;padding:6px;border-radius:8px;transition:background .2s ease}.icon:hover{background:#f2f2f2}.drag-handle{font-size:18px;cursor:grab;padding:6px 8px;-webkit-user-select:none;user-select:none;opacity:.6}.drag-handle:active{cursor:grabbing}.add-btn{position:fixed;bottom:20px;right:20px;width:52px;height:52px;border-radius:50%;background:#25d366;color:#fff;font-size:28px;display:flex;justify-content:center;align-items:center;box-shadow:0 6px 18px #0003;cursor:pointer;transition:transform .15s ease,opacity .15s ease}.add-btn:hover{transform:scale(1.05);opacity:.95}.clickable-row{cursor:pointer}.popup-overlay{position:fixed;inset:0;background:#00000073;display:flex;justify-content:center;align-items:center;z-index:9999}.popup-box{background:#fff;width:90%;max-width:380px;border-radius:20px;padding:22px;box-shadow:0 15px 40px #00000040;animation:popupScale .2s ease-out}@keyframes popupScale{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}.popup-box h3{margin:0 0 16px;font-weight:600}.popup-box input{width:100%;padding:12px;border-radius:12px;border:1px solid #ddd;font-size:14px;margin-bottom:14px}.popup-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.popup-save{background:#25d366;color:#fff;border:none;padding:8px 16px;border-radius:12px;cursor:pointer}.popup-cancel{background:#f0f0f0;border:none;padding:8px 16px;border-radius:12px;cursor:pointer}.shop-code{font-size:12px;opacity:.5;margin-top:3px}.product-toolbar{display:flex;gap:10px;padding:10px;align-items:center;border-bottom:1px solid #ddd}.search-input{flex:1;padding:6px}.filters{display:flex;gap:5px}.filter{padding:5px 10px;border:1px solid #ccc;background:#fff;cursor:pointer}.filter.active{background:#007bff;color:#fff}.add-btn{padding:6px 12px;background:green;color:#fff;border:none;cursor:pointer}.form-section{margin-bottom:20px}.form-section input{display:block;margin-bottom:8px;padding:6px;width:250px}.products-page{height:100vh;display:flex;flex-direction:column;font-size:14px}.category-bar{display:flex;gap:8px;padding:10px;border-bottom:1px solid #e5e7eb;background:#fff;position:sticky;top:0;z-index:10;overflow:auto}.cat-btn{padding:6px 14px;border:1px solid #d1d5db;background:#f9fafb;cursor:pointer;white-space:nowrap;border-radius:8px;font-weight:500}.product-scroll{flex:1;overflow:auto}.erp-table{border-collapse:collapse;margin:12px;min-width:850px}.erp-table th{background:#f3f4f6;padding:8px 10px;border:1px solid #e5e7eb;font-weight:600;text-align:left}.erp-table td{padding:8px 10px;border:1px solid #e5e7eb;vertical-align:middle}.thumb-med{width:42px;height:42px;object-fit:cover;border-radius:6px;border:1px solid #ddd}.name-cell{min-width:180px;font-weight:500}.mrp-col{text-decoration:line-through;color:#9ca3af}.pri-cell{font-weight:600}.erp-table button{border:none;padding:5px 8px;border-radius:6px;cursor:pointer;margin-right:6px;font-size:13px}.btn-danger{background:#fee2e2}.btn-danger.active{background:#ef4444;color:#fff}.btn-warn{background:#fef3c7}.btn-warn.active{background:#f59e0b;color:#fff}.btn-eye{background:#e5e7eb;font-size:15px}.drag-cell{cursor:grab;font-size:20px;color:#9ca3af;text-align:center}.drag-cell:active{cursor:grabbing}.drag-over-row{background:#dcfce7;transition:.12s}.cat-btn{background:#fff;color:#000}.cat-btn.active{background:#25d366;color:#fff;border-color:#25d366}.erp-table thead th{position:sticky;top:0;z-index:5}.sticky-col{position:sticky;background:#fff;z-index:4}.erp-table td:nth-child(4),.erp-table th:nth-child(4){left:260px}.erp-table td:nth-child(5),.erp-table th:nth-child(5){left:350px}.erp-table td:nth-child(6),.erp-table th:nth-child(6){left:440px}.btn-edit{background:#e0f2fe}.product-toolbar{padding:10px;border-bottom:1px solid #eee;display:flex;gap:10px;background:#fafafa}.product-toolbar input{padding:6px 10px;border:1px solid #ddd;border-radius:6px;width:240px}.filter{padding:5px 10px;border:1px solid #ddd;background:#fff;cursor:pointer}.filter.active{background:#25d366;color:#fff}.btn-delete{background:#fee2e2}.erp-filter-bar{display:flex;gap:8px;padding:8px;background:#ecfdf5;border-bottom:1px solid #d1fae5}.erp-filter-bar input,.erp-filter-bar select{padding:4px 8px;border:1px solid #a7f3d0;background:#fff;border-radius:6px;font-size:13px}.product-cell{display:flex;gap:10px;align-items:center}.product-info .name{font-weight:600}.product-info .sub,.product-info .code{font-size:12px;color:gray}.price-cell .selling{font-weight:700}.price-cell .mrp{text-decoration:line-through;color:gray;font-size:12px}.stock-cell{font-size:13px}.stock-cell .min{color:gray}.status-cell{display:flex;gap:5px}.status{padding:3px 6px;border-radius:4px;font-size:11px;background:#eee}.status.active.low{background:#fff3cd}.status.active.out{background:#f8d7da}.status.active.vis{background:#d1e7dd}.action-cell button{margin-right:5px;cursor:pointer}.products-header{display:flex;justify-content:space-between;align-items:center;padding:10px}.products-header .left{flex:1}.products-header .right{display:flex;align-items:center}.add-btn{padding:8px 14px;background:green;color:#fff;border:none;cursor:pointer;font-weight:600;border-radius:4px}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors:active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors:active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}
