.pharmacy-app{font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.45;--ph-brand: #087d58;--ph-bg: #e9f0f7;--ph-panel: #ffffff;--ph-ink: #142e49;--ph-muted: #526d88;--ph-line: #bdcede;--ph-input: #f9fcff;--ph-head: #d3e1ee;--ph-active: #d5eafb;--ph-product-icon-bg: #dcefe6;--ph-danger: #a13c4c;--ph-focus: #f0b93b;--ph-brand-text: #087d58;--ph-shadow: rgba(0, 0, 0, .15);color-scheme:light;height:100dvh;min-height:580px;display:flex;flex-direction:column;overflow:hidden;background:var(--ph-bg);color:var(--ph-ink)}.pharmacy-app.pharmacy-theme-dark{--ph-bg: #152132;--ph-panel: #223348;--ph-ink: #f0f6ff;--ph-muted: #b6c9dc;--ph-line: #526983;--ph-input: #1b2b3f;--ph-head: #30455d;--ph-active: #365b7d;--ph-product-icon-bg: #304e4a;--ph-danger: #a13c4c;--ph-focus: #f0b93b;--ph-brand-text: #76e4b4;--ph-shadow: rgba(0, 0, 0, .55);color-scheme:dark}.pharmacy-app *,.pharmacy-app *:before,.pharmacy-app *:after{box-sizing:border-box}.pharmacy-app,.pharmacy-app button,.pharmacy-app input,.pharmacy-app select,.pharmacy-app textarea{font-family:Arial,Helvetica,sans-serif}.pharmacy-app button,.pharmacy-app input,.pharmacy-app select,.pharmacy-app textarea{font:inherit}.pharmacy-app input::placeholder,.pharmacy-app textarea::placeholder{font-family:Arial,Helvetica,sans-serif}.pharmacy-app button{cursor:pointer}.pharmacy-app button:disabled{cursor:not-allowed;opacity:.55}.pharmacy-app button:focus-visible,.pharmacy-app input:focus-visible,.pharmacy-app select:focus-visible,.pharmacy-app textarea:focus-visible,.pharmacy-app [tabindex]:focus-visible{outline:3px solid var(--ph-focus);outline-offset:1px}.pharmacy-app ::selection{background:var(--ph-active);color:var(--ph-ink)}.pharmacy-topbar{min-height:50px;max-height:52px;display:flex;align-items:center;gap:10px;padding:4px 12px;background:var(--ph-head);border-bottom:1px solid var(--ph-line)}.pharmacy-brand{display:flex;align-items:center;gap:8px;min-width:0;flex:0 0 auto}.pharmacy-brand-logo{background:var(--ph-brand);color:#fff;border-radius:5px;font-size:20px;font-weight:800;line-height:1;padding:7px 8px;flex:0 0 auto}.pharmacy-brand-title{font-size:18px;font-weight:700;line-height:1.25;white-space:nowrap}.pharmacy-brand-subtitle{color:var(--ph-muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pharmacy-topbar-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;flex:0 0 auto;margin-inline-start:auto}.pharmacy-user-chip{color:var(--ph-muted);font-size:13px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pharmacy-menubar{min-width:0;flex:1 1 auto;display:flex;gap:2px;align-items:center;padding:0 4px;position:relative;z-index:30;overflow:hidden}.pharmacy-menu-wrap{position:relative}.pharmacy-menu-button{background:transparent;border:0;border-radius:4px;color:var(--ph-ink);font-size:16px;font-weight:500;line-height:1.35;padding:5px 9px;min-height:36px;white-space:nowrap;flex:0 0 auto}.pharmacy-menu-button:hover,.pharmacy-menu-button[aria-expanded=true]{background:var(--ph-active)}.pharmacy-dropdown-portal{position:fixed;z-index:80}.pharmacy-dropdown{position:absolute;inset-inline-start:0;top:calc(100% + 2px);width:245px;background:var(--ph-panel);color:var(--ph-ink);border:1px solid var(--ph-line);box-shadow:0 8px 20px var(--ph-shadow);padding:5px;border-radius:5px;z-index:40}.pharmacy-dropdown-portal .pharmacy-dropdown{position:static;width:100%;max-height:min(70vh,520px);overflow-y:auto}.pharmacy-dropdown-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:8px;text-align:start;border:0;border-radius:3px;background:transparent;color:var(--ph-ink);font-size:15px;font-weight:400;line-height:1.4;padding:9px 11px}.pharmacy-dropdown-item:hover,.pharmacy-dropdown-item:focus,.pharmacy-dropdown-item.pharmacy-active-menu-item{background:var(--ph-active)}.pharmacy-dropdown-shortcut{color:var(--ph-muted);font-size:12px;direction:ltr}.pharmacy-scroll-area{position:relative;min-height:0;min-width:0;overflow:hidden}.pharmacy-scroll-viewport{height:100%;overflow:auto;scrollbar-width:none}.pharmacy-scrollable .pharmacy-scroll-viewport{padding-inline-end:18px}.pharmacy-scroll-viewport::-webkit-scrollbar{width:0;height:0}.pharmacy-scrollbar{position:absolute;inset-block:0;inset-inline-end:0;width:18px;display:flex;flex-direction:column;border-inline-start:1px solid var(--ph-line);background:var(--ph-head);color:var(--ph-ink);z-index:2}.pharmacy-scrollbar-button{height:18px;flex:0 0 18px;display:grid;place-items:center;border:0;border-bottom:1px solid var(--ph-line);background:var(--ph-panel);color:var(--ph-ink);padding:0}.pharmacy-scrollbar-button:last-child{border-bottom:0;border-top:1px solid var(--ph-line)}.pharmacy-scrollbar-button:hover:not(:disabled){background:var(--ph-active)}.pharmacy-scrollbar-button:disabled{color:var(--ph-muted);opacity:.45}.pharmacy-scrollbar-track{position:relative;flex:1;min-height:0;background:var(--ph-input)}.pharmacy-scrollbar-thumb{position:absolute;top:0;left:2px;right:2px;min-height:28px;border-radius:7px;border:1px solid var(--ph-line);background:var(--ph-brand);box-shadow:inset 0 0 0 1px #ffffff2e;cursor:grab}.pharmacy-scrollbar-thumb:active{cursor:grabbing}.pharmacy-screen-header{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;border-bottom:1px solid var(--ph-line);flex-wrap:wrap}.pharmacy-screen-title{font-weight:700;font-size:20px;line-height:1.3}.pharmacy-screen-subtitle{color:var(--ph-muted);font-size:13px;font-weight:400;margin-inline-start:7px}.pharmacy-screen-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pharmacy-workspace{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column}.pharmacy-workspace-inner{flex:1;min-height:100%;width:100%}.pharmacy-workspace-pos{overflow:hidden}.pharmacy-workspace-pos .pharmacy-workspace-inner{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.pharmacy-workspace-purchase{overflow:hidden}.pharmacy-workspace-purchase .pharmacy-workspace-inner{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.pharmacy-statusbar{min-height:32px;padding:6px 10px;background:var(--ph-head);border-top:1px solid var(--ph-line);display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:var(--ph-ink)}.pharmacy-status-message{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pharmacy-status-shortcuts{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.pharmacy-kbd{border:1px solid var(--ph-line);border-radius:3px;padding:1px 5px;background:var(--ph-panel);color:var(--ph-ink);font-family:Arial,Helvetica,sans-serif;font-size:11px;direction:ltr;display:inline-block}.pharmacy-btn{border:1px solid var(--ph-line);border-radius:5px;padding:7px 12px;min-height:34px;background:var(--ph-panel);color:var(--ph-ink);font-size:15px;font-weight:500;line-height:1.35}.pharmacy-btn:hover:not(:disabled){background:var(--ph-active)}.pharmacy-btn-primary{background:var(--ph-brand);border-color:var(--ph-brand);color:#fff}.pharmacy-btn-primary:hover:not(:disabled){background:var(--ph-brand);filter:brightness(1.06)}.pharmacy-btn-danger{background:var(--ph-danger);border-color:var(--ph-danger);color:#fff}.pharmacy-btn-danger:hover:not(:disabled){background:var(--ph-danger);filter:brightness(1.06)}.pharmacy-btn-compact{min-height:29px;padding:4px 9px;font-size:13px}.pharmacy-field{width:100%;background:var(--ph-input);border:1px solid var(--ph-line);border-radius:5px;padding:7px 10px;color:var(--ph-ink);font-size:14px;font-weight:400;line-height:1.4;min-width:0;min-height:36px;color-scheme:light}.pharmacy-theme-dark .pharmacy-field{color-scheme:dark}.pharmacy-field::placeholder{color:var(--ph-muted);opacity:1}.pharmacy-field input,.pharmacy-field select,.pharmacy-field textarea{color-scheme:inherit}.pharmacy-form-field{display:grid;gap:5px}.pharmacy-form-label{color:var(--ph-muted);font-size:13px;font-weight:700}.pharmacy-form-error{color:var(--ph-danger);font-size:12px}.pharmacy-form-hint{color:var(--ph-muted);font-size:12px}.pharmacy-panel{background:var(--ph-panel);border:1px solid var(--ph-line);border-radius:7px;min-height:0;display:flex;flex-direction:column;overflow:hidden}.pharmacy-panel-title{font-weight:700;padding:9px 11px;border-bottom:1px solid var(--ph-line);display:flex;justify-content:space-between;align-items:center;gap:8px}.pharmacy-panel-body{padding:10px;overflow:auto;min-height:0}.pharmacy-search-wrap{position:relative;display:flex;gap:7px;align-items:center}.pharmacy-search-input{flex:1;min-width:0}.pharmacy-search-results{position:absolute;top:100%;inset-inline:0;z-index:25;background:var(--ph-panel);border:1px solid var(--ph-line);max-height:210px;overflow:auto;box-shadow:0 8px 20px var(--ph-shadow)}.pharmacy-search-result{display:block;width:100%;text-align:start;border:0;border-bottom:1px solid var(--ph-line);border-radius:0;background:var(--ph-panel);color:var(--ph-ink);padding:10px}.pharmacy-search-result:hover,.pharmacy-search-result.pharmacy-active{background:var(--ph-active)}.pharmacy-table-wrap{overflow:auto;flex:1;min-height:0;border:1px solid var(--ph-line);border-radius:6px;background:var(--ph-panel)}.pharmacy-table{border-collapse:collapse;width:100%;min-width:620px}.pharmacy-table th{background:var(--ph-head);color:var(--ph-ink);position:sticky;top:0;z-index:1;text-align:start;font-size:13px;padding:9px 8px;white-space:nowrap}.pharmacy-table td{border-bottom:1px solid var(--ph-line);padding:7px 8px;font-size:14px;font-weight:400;color:var(--ph-ink)}.pharmacy-table tbody tr:hover,.pharmacy-table tbody tr.pharmacy-selected{background:var(--ph-active)}.pharmacy-table input,.pharmacy-table select{width:100%;min-width:65px;padding:6px;border:1px solid var(--ph-line);background:var(--ph-input);color:var(--ph-ink);border-radius:4px}.pharmacy-table-empty{text-align:center;padding:24px;color:var(--ph-muted)}.pharmacy-state{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;color:var(--ph-muted);text-align:center}.pharmacy-state strong{color:var(--ph-ink);font-size:17px}.pharmacy-state-error strong{color:var(--ph-danger)}.pharmacy-spinner{width:28px;height:28px;border:3px solid var(--ph-line);border-top-color:var(--ph-brand);border-radius:50%;animation:pharmacy-spin .8s linear infinite}@keyframes pharmacy-spin{to{transform:rotate(360deg)}}.pharmacy-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000009e;display:flex;align-items:center;justify-content:center;z-index:10000;padding:15px}.pharmacy-modal{background:var(--ph-panel);color:var(--ph-ink);padding:20px;border:1px solid var(--ph-line);border-radius:9px;width:min(440px,100%);display:grid;gap:14px;box-shadow:0 16px 40px var(--ph-shadow);font-family:Arial,Helvetica,sans-serif}.pharmacy-modal-title{font-size:18px;font-weight:800}.pharmacy-modal-message{line-height:1.55;white-space:pre-wrap}.pharmacy-modal-actions{display:flex;gap:8px;justify-content:flex-end}@media(max-width:780px){.pharmacy-topbar{min-height:45px;padding-block:4px}.pharmacy-menubar{min-height:40px}.pharmacy-menu-button{padding:7px 9px}.pharmacy-screen-header{min-height:38px;padding-block:5px}.pharmacy-btn{min-height:34px;padding:7px 10px}.pharmacy-field{min-height:36px;padding:7px 9px}}@media(max-width:750px){.pharmacy-brand-subtitle,.pharmacy-user-chip{display:none}.pharmacy-menu-button{padding:7px 6px;font-size:13px}.pharmacy-status-shortcuts{display:none}}@media(max-height:620px){.pharmacy-topbar{min-height:40px;padding-block:3px}.pharmacy-menubar{min-height:35px;padding-block:1px}.pharmacy-screen-header{min-height:34px;padding-block:4px}.pharmacy-statusbar{min-height:27px;padding-block:4px}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.pos-workspace{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px;padding:0 10px 10px;overflow:hidden;color:var(--ph-ink)}.pos-toolbar{flex:0 0 auto;min-height:43px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:var(--ph-panel);border:1px solid var(--ph-line);border-radius:7px}.pos-branch-picker{display:flex;align-items:center;gap:7px;min-width:210px;color:var(--ph-muted);font-size:13px;font-weight:700}.pos-branch-picker .pharmacy-field{min-height:32px;padding:5px 8px;font-size:13px;width:170px}.pos-toolbar-actions,.pos-view-toggle,.pos-actions,.pos-payment-methods{display:flex;align-items:center;gap:5px}.pos-toolbar-actions .pharmacy-btn,.pos-link-btn{display:inline-flex;align-items:center;gap:5px;text-decoration:none;white-space:nowrap}.pos-view-toggle{border:1px solid var(--ph-line);border-radius:5px;overflow:hidden;background:var(--ph-input)}.pos-view-toggle button{border:0;min-height:31px;padding:5px 8px;display:inline-flex;align-items:center;gap:4px;background:transparent;color:var(--ph-ink);font-size:12px;font-weight:700}.pos-view-toggle button.active{background:var(--ph-active);color:var(--ph-brand-text)}.pos-main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(295px,34%);gap:10px;overflow:hidden}.pos-products-panel,.pos-cart-panel{min-height:0;overflow:hidden;background:var(--ph-panel);border:1px solid var(--ph-line);border-radius:7px;display:flex;flex-direction:column}.pos-products-panel .pharmacy-panel-title,.pos-cart-panel .pharmacy-panel-title{padding:7px 9px;font-size:14px;flex:0 0 auto}.pos-search-row{flex:0 0 auto;padding:7px 8px;border-bottom:1px solid var(--ph-line)}.pos-search-form{position:relative;display:flex;align-items:center;gap:6px}.pos-search-icon{position:absolute;inset-inline-start:9px;color:var(--ph-muted);pointer-events:none}.pos-search-input{min-height:35px;padding-inline-start:31px;font-size:14px}.pos-inline-error{margin-top:5px;color:var(--ph-danger);font-size:12px;font-weight:700}.pos-products-scroll,.pos-table-scroll{flex:1;min-height:0}.pos-table-scroll{overflow:auto;padding:8px}.pos-scroll-content{padding:8px}.pos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(126px,1fr));gap:8px;align-content:start}.pos-drug-card{min-height:103px;border:1px solid var(--ph-line);border-radius:7px;background:var(--ph-input);color:var(--ph-ink);padding:7px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;text-align:center;font-weight:700}.pos-drug-card:hover,.pos-drug-card:focus-visible,.pos-drug-card.selected{background:var(--ph-active);border-color:var(--ph-brand);box-shadow:inset 0 0 0 1px var(--ph-brand)}.pos-drug-card.unavailable{opacity:.62}.pos-drug-image{width:34px;height:30px;border-radius:5px;display:flex;align-items:center;justify-content:center;color:var(--ph-brand-text);background:var(--ph-product-icon-bg);overflow:hidden;flex:0 0 auto}.pos-drug-image img{width:100%;height:100%;object-fit:cover}.pos-drug-name{width:100%;min-height:30px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.2;font-size:12px}.pos-drug-meta{width:100%;display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:11px;color:var(--ph-muted)}.pos-drug-meta strong{color:var(--ph-brand-text);font-size:12px;direction:ltr}.pos-availability{display:inline-flex;border-radius:10px;padding:1px 6px;font-size:10px;font-weight:700}.pos-availability.available{background:#dff4e9;color:#087d58}.pos-availability.empty{background:#f4dee2;color:var(--ph-danger)}.pharmacy-theme-dark .pos-availability.available{background:#234e42;color:#8ee8bd}.pharmacy-theme-dark .pos-availability.empty{background:#57323a;color:#f3aab5}.pos-empty-products,.pos-table-empty,.pos-cart-empty{padding:22px 10px;color:var(--ph-muted);text-align:center}.pos-cart-empty{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.pos-table-scroll{padding:0}.pos-table{width:100%;border-collapse:collapse;table-layout:fixed}.pos-table th{position:sticky;top:0;z-index:1;background:var(--ph-head);color:var(--ph-ink);padding:7px 8px;font-size:12px;text-align:start;white-space:nowrap}.pos-table td{border-bottom:1px solid var(--ph-line);padding:6px 8px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-table th:nth-child(1){width:34%}.pos-table th:nth-child(2){width:19%}.pos-table th:nth-child(3),.pos-table th:nth-child(4){width:13%}.pos-table th:nth-child(5){width:15%}.pos-table tbody tr{cursor:pointer;color:var(--ph-ink)}.pos-table tbody tr:hover,.pos-table tbody tr.selected,.pos-table tbody tr:focus{background:var(--ph-active);outline:none}.pos-table tbody tr.selected td:first-child{box-shadow:inset 3px 0 0 var(--ph-brand)}.pos-cart-lines{flex:1;min-height:0}.pos-cart-lines-content{padding:0 8px}.pos-cart-line{border-bottom:1px solid var(--ph-line);padding:6px 2px;cursor:pointer}.pos-cart-line.selected{background:var(--ph-active);box-shadow:inset 3px 0 0 var(--ph-brand)}.pos-cart-line-main{display:grid;gap:4px}.pos-cart-line-title{min-width:0;display:flex;align-items:center;gap:5px;font-size:12px}.pos-cart-line-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-cart-index{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:var(--ph-head);color:var(--ph-muted);font-size:10px}.pos-rx-badge{color:var(--ph-brand-text);display:inline-flex;flex:0 0 auto}.pos-cart-line-sub,.pos-cart-line-extra{display:flex;align-items:center;gap:5px;min-width:0;font-size:11px;color:var(--ph-muted)}.pos-line-total{margin-inline-start:auto;color:var(--ph-ink);font-weight:800;direction:ltr}.pos-qty-control{display:inline-flex;align-items:center;border:1px solid var(--ph-line);border-radius:4px;overflow:hidden;background:var(--ph-input)}.pos-qty-control button{width:22px;height:23px;border:0;display:inline-flex;align-items:center;justify-content:center;background:var(--ph-head);color:var(--ph-ink)}.pos-qty-control input{width:38px;height:23px;border:0;border-inline:1px solid var(--ph-line);background:var(--ph-input);color:var(--ph-ink);text-align:center;font-size:12px;padding:0}.pos-qty-control input::-webkit-outer-spin-button,.pos-qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pos-remove-line{border:0;background:transparent;color:var(--ph-danger);padding:3px;border-radius:3px}.pos-remove-line:hover{background:#f4dee2}.pos-cart-line-extra input{flex:1;min-width:0;height:22px;border:1px solid var(--ph-line);border-radius:3px;background:var(--ph-input);color:var(--ph-ink);font-size:11px;padding:2px 5px}.pos-payment-panel{flex:0 0 auto;display:grid;gap:7px;border-top:1px solid var(--ph-line);padding:7px 8px;background:var(--ph-panel)}.pos-customer-compact{display:grid;grid-template-columns:1.3fr 1fr;gap:5px}.pos-customer-compact .pharmacy-field{min-height:30px;padding:5px 7px;font-size:12px}.pos-payment-methods button{flex:1;min-height:29px;border:1px solid var(--ph-line);border-radius:4px;background:var(--ph-input);color:var(--ph-ink);display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:700;padding:3px 4px}.pos-payment-methods button.active{background:var(--ph-active);border-color:var(--ph-brand);color:var(--ph-brand-text)}.pos-totals{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:9px;border-top:1px solid var(--ph-line);padding-top:6px;font-size:11px;color:var(--ph-muted)}.pos-totals div{display:flex;align-items:baseline;gap:4px}.pos-totals b{color:var(--ph-ink)}.pos-grand-total{justify-content:flex-end;font-size:12px}.pos-grand-total b{color:var(--ph-brand-text);font-size:24px;direction:ltr}.pos-actions{align-items:stretch}.pos-checkout-btn{flex:1;min-height:39px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:15px}.pos-actions .pharmacy-btn-compact{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.pos-spin{animation:pharmacy-spin .8s linear infinite}.pos-local-modal{z-index:9000}.pos-form-modal{width:min(460px,100%)}.pos-modal-summary{display:flex;justify-content:space-between;gap:8px;padding:8px;background:var(--ph-input);border:1px solid var(--ph-line);border-radius:5px;font-size:13px}.pos-notes-field{resize:vertical;min-height:58px}.pos-check-row{display:flex;align-items:center;gap:7px;font-size:13px}.pos-receipt-modal{width:min(430px,100%);max-height:88vh;overflow:auto}.pos-receipt-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.pos-receipt-head .pharmacy-modal-title{display:flex;align-items:center;gap:7px}.pos-receipt-meta{display:grid;justify-items:center;gap:2px;text-align:center;border-bottom:1px dashed var(--ph-line);padding-bottom:10px;color:var(--ph-muted);font-size:12px}.pos-receipt-meta strong{color:var(--ph-ink);font-size:16px}.pos-receipt-items{display:grid;gap:5px}.pos-receipt-item,.pos-receipt-totals div{display:flex;justify-content:space-between;gap:8px;font-size:13px}.pos-receipt-totals{border-top:1px dashed var(--ph-line);padding-top:9px;display:grid;gap:5px}.pos-receipt-totals .grand{font-size:17px;font-weight:800}.pos-load-warning{flex:0 0 auto;border:1px solid #d9aa3c;background:#fff4cf;color:#654500;border-radius:6px;padding:6px 8px;font-size:12px;display:grid;gap:3px}.pharmacy-theme-dark .pos-load-warning{background:#514018;color:#ffe09a;border-color:#8a6b25}.pos-load-warning ul{margin:0;padding-inline-start:18px}.pos-load-warning button{justify-self:end;border:0;background:transparent;color:inherit;text-decoration:underline;font-size:11px}.pos-toast{position:fixed;inset-inline-end:18px;bottom:42px;z-index:8500;background:var(--ph-ink);color:var(--ph-panel);border-radius:5px;padding:8px 11px;box-shadow:0 8px 20px var(--ph-shadow);font-size:13px}@media(max-width:1100px){.pos-main{grid-template-columns:minmax(0,1fr) minmax(275px,35%)}.pos-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))}.pos-drug-card{min-height:96px;padding:6px}.pos-toolbar-actions .pharmacy-btn{font-size:11px;padding-inline:6px}.pos-branch-picker{min-width:180px}.pos-branch-picker .pharmacy-field{width:140px}}@media(max-width:800px){.pos-workspace{padding-inline:6px;gap:6px}.pos-main{grid-template-columns:minmax(0,1fr) minmax(245px,38%);gap:6px}.pos-toolbar{padding:4px;gap:5px}.pos-branch-picker{min-width:145px;font-size:11px}.pos-branch-picker .pharmacy-field{width:105px;min-height:29px}.pos-toolbar-actions .pharmacy-btn .pharmacy-kbd,.pos-toolbar-actions .pharmacy-btn svg:not(:first-child){display:none}.pos-view-toggle button{padding-inline:5px;font-size:11px}.pos-customer-compact{grid-template-columns:1fr}.pos-grand-total b{font-size:20px}}@media print{.pos-receipt-backdrop{position:static;background:#fff;padding:0}.pos-receipt-modal{width:100%;max-height:none;border:0;box-shadow:none;color:#000}}.pos-checkout-review{border:1px solid #d9aa3c;background:#fff4cf;color:#654500;border-radius:6px;padding:7px;display:grid;gap:5px;font-size:12px}.pharmacy-theme-dark .pos-checkout-review{background:#514018;color:#ffe09a;border-color:#8a6b25}.pos-checkout-review strong{display:flex;align-items:center;gap:5px;font-size:13px}.pos-checkout-review p{margin:0;line-height:1.45}.pos-checkout-review-actions{display:flex;flex-wrap:wrap;gap:5px}.pos-checkout-review-actions .pharmacy-btn{min-height:28px;font-size:11px}.pos-drug-card.selected{border-color:var(--ph-brand);box-shadow:0 0 0 2px var(--ph-brand),inset 0 0 0 1px var(--ph-brand)}.pos-table tbody tr.selected{outline:2px solid var(--ph-brand);outline-offset:-2px}.pos-table tbody tr.selected td:first-child,[dir=ltr] .pos-table tbody tr.selected td:first-child,[dir=ltr] .pos-cart-line.selected{box-shadow:inset 4px 0 0 var(--ph-brand)}[dir=rtl] .pos-table tbody tr.selected td:first-child,[dir=rtl] .pos-cart-line.selected{box-shadow:inset -4px 0 0 var(--ph-brand)}.pos-checkout-modal{width:min(520px,100%);text-align:center}.pos-checkout-title{font-size:24px;font-weight:800;text-align:center}.pos-checkout-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pos-checkout-stats>div{display:grid;gap:7px;padding:12px 8px;border:1px solid var(--ph-line);border-radius:8px;background:var(--ph-input)}.pos-checkout-stats span{color:var(--ph-muted);font-size:13px;font-weight:700}.pos-checkout-stats strong{font-size:32px;line-height:1;font-weight:800;font-variant-numeric:tabular-nums}.pos-checkout-stats .pos-checkout-payment{display:flex;align-items:center;justify-content:center;gap:7px;font-size:22px;line-height:1.25;color:var(--ph-brand-text)}.pos-checkout-total-panel{display:grid;gap:8px;padding:14px 10px;border-radius:10px;background:var(--ph-active);border:1px solid var(--ph-brand)}.pos-checkout-total-panel>span{font-size:22px;font-weight:700}.pos-checkout-total-panel strong{color:var(--ph-brand-text);font-size:clamp(56px,8vw,64px);line-height:1;font-weight:900;font-variant-numeric:tabular-nums;direction:ltr}.pos-checkout-total-panel strong small{font-size:22px;font-weight:800;margin-inline-start:8px}.pos-checkout-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:10px}.pos-checkout-actions .pharmacy-btn{min-height:52px;font-size:17px;font-weight:800;justify-content:center}.pos-cash-drawer-modal{width:min(460px,100%);text-align:center;align-items:center}.pos-cash-register-icon{width:150px;max-width:48vw;height:auto;filter:drop-shadow(0 8px 12px var(--ph-shadow))}.pos-cash-drawer-success{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--ph-brand-text);font-size:21px;font-weight:900}.pos-cash-drawer-message{font-size:24px;line-height:1.35;font-weight:900}.pos-cash-drawer-modal p{margin:0;color:var(--ph-muted);font-size:14px;line-height:1.5}.pos-cash-drawer-done{min-height:54px;min-width:190px;justify-content:center;font-size:18px;font-weight:900}@media(max-width:560px){.pos-checkout-stats,.pos-checkout-actions{grid-template-columns:1fr}}.purchase-workspace-screen{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:8px 10px 10px;gap:8px}.purchase-toolbar{flex:0 0 auto;min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:10px}.purchase-toolbar-title{min-width:0;display:flex;align-items:baseline;gap:9px;color:var(--ph-ink)}.purchase-toolbar-title strong{font-size:18px;white-space:nowrap}.purchase-toolbar-title small{color:var(--ph-muted);white-space:nowrap}.purchase-back-link{border:0;background:transparent;color:var(--ph-brand);padding:4px;font-weight:700;white-space:nowrap}.purchase-toolbar-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.purchase-toolbar-actions .pharmacy-btn{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 10px;font-size:13px}.purchase-split-layout{flex:1;min-height:0;display:flex;gap:10px;overflow:hidden}.purchase-supplier-panel{flex:0 0 clamp(230px,24%,310px);min-width:0}.purchase-supplier-body{flex:1;min-height:0}.purchase-supplier-content{padding:12px;display:flex;flex-direction:column;gap:11px}.purchase-supplier-body .pharmacy-field{min-height:38px;padding:8px 9px}.purchase-notes-field textarea{resize:vertical;min-height:70px}.purchase-supplier-card{border:1px solid var(--ph-line);border-radius:6px;padding:8px;background:var(--ph-input);color:var(--ph-muted);display:grid;gap:4px;font-size:12px}.purchase-supplier-card strong{color:var(--ph-ink);font-size:13px}.purchase-active{color:var(--ph-brand);font-weight:700}.purchase-inactive{color:var(--ph-danger);font-weight:700}.purchase-status{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:700;background:var(--ph-head);color:var(--ph-muted);white-space:nowrap}.purchase-status-confirmed{color:var(--ph-brand)}.purchase-status-cancelled{color:var(--ph-danger)}.purchase-status-draft,.purchase-status-new{color:var(--ph-ink)}.purchase-totals{flex:0 0 auto;border-top:1px solid var(--ph-line);padding:11px 12px;color:var(--ph-ink)}.purchase-totals-row{display:flex;justify-content:space-between;gap:8px;font-size:14px}.purchase-totals-grid{margin-top:9px;display:grid;grid-template-columns:1fr auto;gap:5px 8px;color:var(--ph-muted);font-size:12px}.purchase-totals-grid b{color:var(--ph-ink);text-align:end}.purchase-grand-label{color:var(--ph-muted);font-size:13px;font-weight:700;margin-top:12px}.purchase-grand-total{color:var(--ph-brand);font-size:clamp(25px,2.7vw,34px);line-height:1.1;font-weight:800;white-space:nowrap}.purchase-grand-total small{font-size:15px}.purchase-items-panel{flex:1 1 auto;min-width:0;overflow:hidden}.purchase-items-searchbar{flex:0 0 auto;padding:10px;border-bottom:1px solid var(--ph-line)}.purchase-medicine-search{display:flex;align-items:center;gap:7px}.purchase-medicine-input-wrap{position:relative;flex:1;min-width:0;display:flex;align-items:center}.purchase-medicine-input-wrap>svg{position:absolute;inset-inline-start:10px;color:var(--ph-muted);pointer-events:none;z-index:1}.purchase-medicine-input-wrap .pharmacy-field{padding-inline-start:34px;min-height:40px}.purchase-medicine-results{top:calc(100% + 2px)}.purchase-medicine-results .pharmacy-search-result{display:flex;justify-content:space-between;align-items:center;gap:12px}.purchase-medicine-results .pharmacy-search-result span{color:var(--ph-muted);font-size:12px;direction:ltr}.purchase-search-hint,.purchase-search-error{font-size:12px;white-space:nowrap}.purchase-search-hint{color:var(--ph-muted)}.purchase-search-error{color:var(--ph-danger)}.purchase-grid-wrap{border:0;border-radius:0}.purchase-grid{min-width:1180px;table-layout:fixed}.purchase-grid th,.purchase-grid td{padding:6px;vertical-align:middle}.purchase-grid input{min-width:58px;height:32px;padding:4px 6px;font-size:13px}.purchase-grid input[type=date]{min-width:126px}.purchase-grid input[data-purchase-field=batch_number]{min-width:96px}.purchase-row-number{color:var(--ph-muted);text-align:center;font-size:12px}.purchase-drug-name{font-weight:700;color:var(--ph-ink);line-height:1.25}.purchase-drug-code{color:var(--ph-muted);font-size:11px;direction:ltr;text-align:end}.purchase-line-total{font-weight:800;white-space:nowrap}.purchase-row-incomplete td:first-child{box-shadow:inset 3px 0 #d79a24}.purchase-delete-row{color:var(--ph-danger);padding:4px 7px}.purchase-grid-bottom{flex:0 0 auto;min-height:40px;border-top:1px solid var(--ph-line);padding:9px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ph-muted);font-size:13px}.purchase-grid-hints{white-space:nowrap;font-size:12px}.purchase-history{height:100%;min-height:0;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.purchase-history-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.purchase-history-header h1{margin:0;color:var(--ph-ink);font-size:22px}.purchase-history-header p{margin:3px 0 0;color:var(--ph-muted);font-size:13px}.purchase-history-header .pharmacy-btn{display:inline-flex;align-items:center;gap:6px}.purchase-history-filters{display:grid;grid-template-columns:minmax(190px,1.4fr) repeat(5,minmax(105px,.7fr));gap:7px;align-items:center}.purchase-history-filters .pharmacy-field{min-height:36px;font-size:13px}.purchase-history-error{color:var(--ph-danger);padding:8px}.purchase-history-loading{min-height:180px;display:flex;align-items:center;justify-content:center;color:var(--ph-brand)}.purchase-history .pharmacy-table-wrap{min-height:220px}.purchase-invoice-number{color:var(--ph-brand);font-weight:800}.purchase-history-actions{display:flex;gap:5px}.purchase-history-actions .pharmacy-btn{display:inline-flex;align-items:center;gap:4px}.purchase-pagination{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--ph-muted);font-size:13px;padding-bottom:4px}.purchase-permission-denied,.purchase-load-error{height:100%;display:flex;align-items:center;justify-content:center;color:var(--ph-muted);padding:24px;text-align:center}@media(max-width:1100px){.purchase-toolbar-title small{display:none}.purchase-toolbar-actions .pharmacy-btn{padding:5px 8px;font-size:12px}.purchase-grid-hints{display:none}}@media(max-width:780px){.purchase-workspace-screen{padding:6px}.purchase-split-layout{gap:7px}.purchase-supplier-panel{flex-basis:min(210px,28%)}.purchase-supplier-body{padding:8px;gap:8px}.purchase-grand-total{font-size:24px}.purchase-history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}body{font-family:Inter,Noto Sans Arabic,sans-serif}.rtl-font{font-family:Noto Sans Arabic,sans-serif}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.dark ::-webkit-scrollbar-thumb{background:#475569}
