@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/build/assets/inter-latin-400-normal-C38fXH4l.woff2)format("woff2"),url(/build/assets/inter-latin-400-normal-CyCys3Eg.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/build/assets/inter-latin-500-normal-Cerq10X2.woff2)format("woff2"),url(/build/assets/inter-latin-500-normal-BL9OpVg8.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/build/assets/inter-latin-600-normal-LgqL8muc.woff2)format("woff2"),url(/build/assets/inter-latin-600-normal-CiBQ2DWP.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/build/assets/inter-latin-700-normal-Yt3aPRUw.woff2)format("woff2"),url(/build/assets/inter-latin-700-normal-BLAVimhd.woff)format("woff")}:root{--app-font-family:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--sidebar-width:280px;--sidebar-item-height:44px;--sidebar-icon-width:22px;--sidebar-radius:9px;--sidebar-text:#ffffffd1;--sidebar-muted:#ffffff9e;--sidebar-hover:#ffffff13;--sidebar-active:#285e4b;--sidebar-border:#ffffff1f;--sidebar-accent:#83d6a6;--topbar-height:72px;--app-bg:#f4f7f2;--sidebar-bg:#173b2f;--sidebar-bg-soft:#225242;--brand-green:#1f7a4d;--brand-green-dark:#155c3c;--text-main:#17221c}*{box-sizing:border-box}html,body,button,input,select,textarea,table,.modal,.dropdown-menu,.pagination,.tooltip{font-family:var(--app-font-family)}body{background:var(--app-bg);min-height:100vh;color:var(--text-main);font-weight:400}table,.numeric-value,input[type=number],input[type=date],.profit-loss-kpi-value{font-variant-numeric:tabular-nums}.login-page{background:linear-gradient(#f4f7f2e0, #f4f7f2e0), radial-gradient(circle at top left, #1f7a4d33, transparent 34%), var(--app-bg);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #173b2f14;border-radius:8px;width:min(100%,440px);padding:32px;box-shadow:0 18px 50px #173b2f1f}.login-logo,.brand-mark{color:#fff;background:var(--brand-green);border-radius:8px;place-items:center;width:48px;height:48px;display:grid}.admin-shell{display:flex}.admin-sidebar{z-index:1040;width:var(--sidebar-width);overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:auto;background:var(--sidebar-bg);color:#fff;scrollbar-width:thin;scrollbar-color:#ffffff3d transparent;max-width:calc(100vw - 32px);padding:18px 16px 20px;transition:transform .18s;position:fixed;inset:0 auto 0 0;overflow-y:scroll}.admin-sidebar::-webkit-scrollbar{width:8px}.admin-sidebar::-webkit-scrollbar-track{background:0 0}.admin-sidebar::-webkit-scrollbar-thumb{background:#ffffff3d padding-box padding-box;border:2px solid #0000;border-radius:999px}.admin-sidebar::-webkit-scrollbar-thumb:hover{background:#ffffff5c padding-box padding-box}.sidebar-brand{border-bottom:1px solid var(--sidebar-border);align-items:center;gap:11px;min-width:0;margin-bottom:12px;padding:2px 4px 18px;display:flex}.sidebar-brand .brand-mark{flex:0 0 42px;width:42px;height:42px;box-shadow:0 8px 20px #051c1340,inset 0 1px #ffffff24}.sidebar-brand>div:last-child{min-width:0}.brand-title{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:700;line-height:1.2;overflow:hidden}.brand-subtitle{color:var(--sidebar-muted);letter-spacing:.02em;margin-top:3px;font-size:.75rem;font-weight:400;line-height:1.2}.sidebar-nav{align-content:start;gap:8px;display:grid}.sidebar-link{width:100%;height:var(--sidebar-item-height);border-radius:var(--sidebar-radius);min-width:0;color:var(--sidebar-text);font:inherit;border:1px solid #0000;align-items:center;gap:10px;padding:9px 11px;font-size:.9rem;font-weight:500;line-height:1.25;text-decoration:none;transition:background-color .18s,color .18s,box-shadow .18s;display:flex}.sidebar-group-toggle{text-align:left;background:0 0}.sidebar-group-chevron{color:var(--sidebar-muted);margin-left:auto;font-size:.68rem;transition:color .2s,transform .2s}.sidebar-group-toggle[aria-expanded=true] .sidebar-group-chevron{transform:rotate(180deg)}.sidebar-submenu{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .2s,opacity .18s;display:grid}.sidebar-preload .admin-sidebar,.sidebar-preload .admin-sidebar *,.admin-sidebar[data-sidebar-ready=false],.admin-sidebar[data-sidebar-ready=false] *{transition:none!important;animation:none!important}.sidebar-submenu.is-open{opacity:1;grid-template-rows:1fr}.sidebar-submenu-inner{min-height:0;overflow:hidden}[data-sidebar-menu-options]{border-left:1px solid #ffffff1a;gap:2px;margin:5px 0 3px 20px;padding-left:2px;display:grid}.sidebar-link:focus-visible{outline-offset:2px;outline:2px solid #ffffffe0}.sidebar-link:hover{color:#fff;background:var(--sidebar-hover);border-color:#0000}.sidebar-link.active,.sidebar-group-toggle[aria-expanded=true]{color:#fff;background:var(--sidebar-active);box-shadow:inset 3px 0 0 var(--sidebar-accent), 0 4px 14px #051c131f;border-color:#0000}.sidebar-link:hover i,.sidebar-link.active i,.sidebar-group-toggle[aria-expanded=true] i{color:#fff}.sidebar-link i{flex:0 0 var(--sidebar-icon-width);width:var(--sidebar-icon-width);height:var(--sidebar-icon-width);color:#ffffffb8;font-size:.96rem;line-height:var(--sidebar-icon-width);text-align:center;transition:color .18s}.sidebar-link>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.15;display:-webkit-box;overflow:hidden}.sidebar-group-chevron{flex:0 0 var(--sidebar-icon-width)}.sidebar-submenu-link{border-radius:8px;padding-right:10px;font-size:.875rem;font-weight:450;padding-left:24px!important}.admin-main{width:100%;min-width:0;padding-left:var(--sidebar-width)}.admin-topbar{z-index:1020;min-height:var(--topbar-height);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-bottom:1px solid #173b2f14;align-items:center;gap:16px;padding:12px 24px;display:flex;position:sticky;top:0}.admin-content{padding:24px}.page-heading{justify-content:space-between;gap:16px;margin-bottom:22px;display:flex}.page-heading h1{margin:0;font-size:clamp(1.5rem,2vw,2rem);font-weight:800}.page-heading p{color:#65756d;margin:4px 0 0}.created-by-summary{background:#fff;border:1px solid #173b2f1f;border-radius:9px;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 12px;display:flex}.created-by-icon{width:32px;height:32px;color:var(--brand-green-dark);background:#edf5f0;border-radius:50%;flex:0 0 32px;place-items:center;display:inline-grid}.created-by-summary>span:last-child,.created-by-label,.created-by-value{min-width:0;display:block}.created-by-label{color:#718078;font-size:.72rem;line-height:1.2}.created-by-value{color:var(--text-main);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.88rem;line-height:1.25;overflow:hidden}.summary-card,.data-panel,.empty-state,.access-panel{background:#fff;border:1px solid #173b2f14;border-radius:8px;box-shadow:0 10px 28px #173b2f0f}.summary-card{justify-content:space-between;align-items:center;gap:16px;padding:22px;display:flex}.dashboard-card-link{color:inherit;text-decoration:none;transition:transform .16s,box-shadow .16s}.dashboard-card-link:hover{color:inherit;transform:translateY(-2px);box-shadow:0 14px 32px #173b2f1f}.dashboard-period-form{min-width:150px}.dashboard-section-heading{border-bottom:1px solid #173b2f14;justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.dashboard-section-heading h2{margin:0;font-size:1.05rem;font-weight:800}.dashboard-section-heading p{color:#65756d;margin:3px 0 0;font-size:.84rem}.dashboard-product-name{white-space:normal;min-width:150px;max-width:260px}.dashboard-loading{opacity:.55;pointer-events:none;transition:opacity .15s}.customer-address{white-space:normal;min-width:210px;max-width:360px}.ajax-details-modal .modal-dialog{max-width:960px}.ajax-details-modal .modal-content{border:0;border-radius:10px;overflow:hidden;box-shadow:0 24px 70px #12372a3d}.ajax-details-modal-header{border-top:4px solid var(--brand-green)}.ajax-details-modal .modal-body{max-height:min(72vh,760px)}.js-reference-quick-view{cursor:pointer}.expiry-adjustment-modal .modal-dialog{width:calc(100% - 24px);max-width:560px;margin-inline:auto}.expiry-adjustment-modal .modal-content{border:0;border-radius:12px;overflow:hidden;box-shadow:0 24px 70px #12372a47}.expiry-adjustment-modal .modal-header{border-top:4px solid #d69e12}.expiry-adjustment-summary{grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr);gap:8px 16px;margin:0 0 18px;display:grid}.expiry-adjustment-summary dt{color:#65756d;font-size:.84rem}.expiry-adjustment-summary dd{overflow-wrap:anywhere;margin:0;font-weight:600}.adjustment-action-modal .modal-dialog{width:calc(100% - 24px);max-width:560px;margin-inline:auto}.adjustment-action-modal .modal-content{border:0;border-radius:12px;max-height:calc(100vh - 40px);overflow-y:auto;box-shadow:0 24px 70px #12372a47}.adjustment-action-modal .modal-header{border-top:4px solid var(--brand-green)}.adjustment-action-summary{grid-template-columns:minmax(145px,.85fr) minmax(0,1.15fr);gap:8px 16px;margin:0 0 18px;display:grid}.adjustment-action-summary dt{color:#65756d;font-size:.84rem}.adjustment-action-summary dd{overflow-wrap:anywhere;margin:0;font-weight:600}.adjustment-action-button{place-items:center;width:34px;height:34px;padding:0;display:inline-grid}@media (width<=575.98px){.ajax-details-modal .modal-dialog{margin:.5rem}.ajax-details-modal .modal-footer{flex-wrap:wrap}}.order-history-summary{background:#f8fbf9;border:1px solid #173b2f1a;border-radius:10px;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px;display:grid}.order-history-summary>div{min-width:0}.order-history-summary span,.order-history-summary strong{display:block}.order-history-summary>div>span{color:#718078;margin-bottom:4px;font-size:.72rem;font-weight:600}.order-history-summary>div>strong{overflow-wrap:anywhere;font-size:.86rem}.order-history-event{grid-template-columns:18px minmax(0,1fr);gap:12px;padding-bottom:18px;display:grid;position:relative}.order-history-event:not(:last-child):before{content:"";background:#dce8e0;width:2px;position:absolute;top:15px;bottom:0;left:6px}.order-history-marker{z-index:1;background:var(--brand-green);border:3px solid #d8eee0;border-radius:50%;width:14px;height:14px;margin-top:3px;position:relative}.order-history-event-content{min-width:0;padding:0 0 2px}.order-history-transition{align-items:center;gap:8px;display:flex}.order-status-modal{position:fixed;inset:0}.order-status-modal .modal-dialog{width:calc(100% - 40px);max-width:480px;margin-left:auto;margin-right:auto}.order-status-modal .modal-content{border:0;border-radius:11px;max-height:calc(100vh - 40px);overflow:hidden;box-shadow:0 24px 70px #12372a3d}.order-status-modal .modal-body{overflow-y:auto}@media (width<=767.98px){.order-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=575.98px){.order-history-summary{grid-template-columns:1fr}.order-status-modal .modal-dialog{width:calc(100% - 24px)}.order-status-modal .modal-footer{grid-template-columns:1fr;display:grid}.order-status-modal .modal-footer .btn{width:100%}}.dashboard-quick-actions{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;display:flex}.dashboard-quick-actions h2{flex:none;margin:0;font-size:1rem;font-weight:800}.dashboard-quick-actions-buttons{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dashboard-quick-actions .btn{align-items:center;min-height:32px;display:inline-flex}@media (width<=575.98px){.dashboard-period-form{width:100%}.page-heading{flex-wrap:wrap}.dashboard-section-heading,.dashboard-quick-actions{flex-direction:column;align-items:flex-start}.dashboard-quick-actions-buttons{justify-content:flex-start;width:100%}}.summary-label{color:#65756d;font-weight:600}.summary-value{margin-top:6px;font-size:2rem;font-weight:800}.summary-icon{border-radius:8px;flex:none;place-items:center;width:52px;height:52px;font-size:1.25rem;display:grid}.avatar{object-fit:cover;border-radius:50%;flex:none;place-items:center;font-weight:800;display:inline-grid}.avatar-sm{width:36px;height:36px;font-size:.8rem}.avatar-md{width:44px;height:44px;font-size:.95rem}.avatar-fallback{color:#fff;background:var(--brand-green)}.data-panel{overflow:hidden}.data-panel.overflow-visible{overflow:visible}.data-panel:has(.autocomplete-panel){overflow:visible}.table>:not(caption)>*>*{padding:1rem}.access-panel{box-shadow:none;padding:18px}.permission-grid{gap:14px;max-height:520px;padding-right:4px;display:grid;overflow:auto}.permission-group{border:1px solid #173b2f14;border-radius:8px;padding:12px}.permission-group-title{color:var(--brand-green-dark);margin-bottom:8px;font-weight:800}.empty-state{text-align:center;place-items:center;padding:48px 24px;display:grid}.empty-state i{color:var(--brand-green);margin-bottom:16px;font-size:2rem}.empty-state h2{font-size:1.25rem;font-weight:800}.empty-state p{color:#65756d;max-width:520px;margin:0}.product-details dt{color:#65756d}.product-name-cell{white-space:normal;overflow-wrap:anywhere;max-width:340px}.product-list-table{min-width:1260px}.product-list-identity{align-items:center;gap:12px;min-width:250px;display:flex}.product-thumbnail-button,.product-thumbnail-placeholder{color:#65756d;background:#f4f7f2;border:1px solid #173b2f1f;border-radius:8px;flex:none;place-items:center;width:58px;height:58px;padding:0;display:grid;overflow:hidden}.product-thumbnail-button img{object-fit:cover;width:100%;height:100%;transition:transform .16s}.product-thumbnail-button:hover img{transform:scale(1.08)}.product-modal-layout{grid-template-columns:minmax(240px,.8fr) minmax(320px,1.2fr);gap:28px;display:grid}.product-modal-image-panel{text-align:center}.product-modal-image-button,.product-modal-image-placeholder{background:#f8f8f8;border:1px solid #173b2f1f;border-radius:8px;place-items:center;width:100%;min-height:300px;padding:0;display:grid;overflow:hidden}.product-modal-image-button img{object-fit:contain;width:100%;height:300px}.product-modal-image-placeholder{color:#65756d;align-content:center;gap:10px}.product-modal-image-placeholder i{font-size:2rem}.product-image-lightbox{--bs-modal-bg:transparent;--bs-modal-border-width:0}.product-image-lightbox .modal-dialog,.product-image-lightbox .modal-content{width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;margin:0}.product-image-lightbox.fade .modal-dialog{opacity:0;transition:opacity .22s,transform .28s cubic-bezier(.22,1,.36,1);transform:scale(.985)}.product-image-lightbox.show .modal-dialog{opacity:1;transform:scale(1)}body.product-lightbox-open .modal-backdrop.show{opacity:1;-webkit-backdrop-filter:blur(14px)saturate(.75);background:#05090cd1}.product-image-lightbox-header{top:max(20px, env(safe-area-inset-top));right:max(20px, env(safe-area-inset-right));z-index:3;position:absolute}.product-image-lightbox-close{opacity:.9;background-color:#0a0e11b3;border-radius:50%;width:44px;height:44px;padding:.85rem;transition:background-color .16s,opacity .16s,transform .16s;box-shadow:0 8px 28px #00000047}.product-image-lightbox-close:hover,.product-image-lightbox-close:focus-visible{opacity:1;background-color:#0a0e11f0;transform:scale(1.06)}.product-image-zoom-stage{cursor:default;touch-action:none;-webkit-user-select:none;user-select:none;place-items:center;width:100vw;height:100dvh;padding:clamp(24px,5vw,72px);display:grid;overflow:hidden}.product-image-zoom-stage.is-zoomed{cursor:grab}.product-image-zoom-stage.is-dragging{cursor:grabbing}.product-image-zoom-stage img{object-fit:contain;transform-origin:50%;will-change:transform;border-radius:clamp(10px,1.4vw,18px);max-width:min(68vw,1100px);max-height:min(70vh,850px);transition:transform .16s cubic-bezier(.22,1,.36,1);display:block;box-shadow:0 28px 80px #0000007a,0 4px 18px #00000040}.product-image-zoom-stage.is-dragging img{transition:none}@media (width<=767.98px){.product-image-zoom-stage img{max-width:88vw;max-height:70vh}}@media (prefers-reduced-motion:reduce){.product-image-lightbox.fade .modal-dialog,.product-image-zoom-stage img,.product-image-lightbox-close{transition:none}}.searchable-select{position:relative}.searchable-select-native{clip:rect(0, 0, 0, 0);white-space:nowrap;clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.searchable-select-input{background-image:var(--bs-form-select-bg-img);background-position:right .75rem center;background-repeat:no-repeat;background-size:16px 12px;padding-right:2.25rem}.searchable-select-panel{z-index:2200;background:#fff;border:1px solid #173b2f24;border-radius:8px;max-height:260px;margin-top:4px;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 14px 34px #173b2f29}.searchable-select-option,.searchable-select-empty{width:100%;color:var(--text-main);text-align:left;background:#fff;border:0;border-bottom:1px solid #173b2f14;padding:10px 12px;display:block}.searchable-select-option:hover,.searchable-select-option.is-active,.searchable-select-option[aria-selected=true]{background:#f0f7f2}.searchable-select-empty{color:#65756d}.product-image-preview{object-fit:contain;background:#f8f8f8;border:1px solid #173b2f24;border-radius:8px;width:112px;height:112px;margin-top:12px;display:block}.section-title{margin-bottom:18px;font-size:1.05rem;font-weight:800}.order-entry-grid{grid-template-columns:minmax(210px,2fr) minmax(175px,1.7fr) minmax(95px,.85fr) minmax(80px,.75fr) minmax(120px,1.05fr) minmax(105px,1fr) minmax(120px,1.1fr) minmax(120px,1.1fr);align-items:start;gap:12px;display:grid}.order-product-image-preview{background:#fff;border:1px solid #173b2f2e;border-radius:10px;flex:0 0 42px;width:42px;height:42px;padding:0;overflow:hidden;box-shadow:0 6px 16px #1532261f}.order-product-image-preview:disabled{cursor:default;opacity:1}.order-product-preview{opacity:0;pointer-events:none;visibility:hidden;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:9px;min-height:58px;margin-top:7px;padding:7px;transition:opacity .15s,background-color .15s,border-color .15s;display:flex;overflow:hidden}.order-product-preview.is-selected{opacity:1;pointer-events:auto;visibility:visible;background:#f8fbf9;border-color:#e0e9e3}.order-product-preview>div{min-width:0}.order-product-preview strong,.order-product-preview span{text-overflow:ellipsis;display:block;overflow:hidden}.order-product-preview strong{color:var(--text-main);white-space:nowrap;font-size:.86rem;line-height:1.25}.order-product-preview>div>span{color:#65756d;white-space:nowrap;margin-top:2px;font-size:.74rem;line-height:1.25}.order-product-image-preview img{object-fit:contain;border-radius:7px;width:100%;height:100%}.order-search-thumbnail,.order-search-thumbnail-placeholder{object-fit:cover;background:#f1f6f3;border:1px solid #dbe7df;border-radius:.55rem;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex;overflow:hidden}.order-entry-grid .form-label{align-items:end;min-height:21px;margin-bottom:6px;display:flex}.order-entry-field .form-control,.order-entry-field .form-select,.order-entry-grid .btn-success,.custom-discount-control>.form-control,.custom-discount-control>.btn{height:40px;min-height:40px}.order-entry-field{min-width:0}.order-readonly-value{color:var(--brand-green-dark);cursor:default;background:#f1f7f3;align-items:center;font-weight:700;display:flex}.order-field-helper{color:#718078;min-height:32px;padding-top:5px;font-size:.72rem;line-height:1.25}.order-entry-actions{border-top:1px solid #173b2f1a;justify-content:space-between;align-items:flex-start;gap:24px;min-height:88px;margin-top:18px;padding-top:16px;display:flex}.order-entry-actions .btn{border-radius:9px;flex:none;width:clamp(190px,22vw,230px);min-height:42px;margin-top:27px;font-weight:700}.order-item-entry-error{min-height:20px}.order-overall-discount{flex:0 520px;min-width:0;max-width:520px;margin-left:auto}.order-overall-discount-fields{grid-template-columns:repeat(2,minmax(150px,1fr));gap:12px;display:grid}.order-overall-discount .form-label{margin-bottom:6px}.custom-discount-control{grid-template-columns:minmax(0,1fr) 38px;display:grid}.custom-discount-control.d-none{display:none}.custom-discount-control .form-control{border-radius:7px 0 0 7px;min-width:0}.custom-discount-control .btn{border-radius:0 7px 7px 0;width:38px;padding-left:0;padding-right:0}.order-quantity-input{text-align:center;font-variant-numeric:tabular-nums;width:72px;max-width:100%;margin-inline:auto}.order-items-table{table-layout:fixed;width:100%;min-width:0}.order-items-table-wrap{overflow-x:visible}.order-items-table th,.order-items-table td{vertical-align:middle;padding:.6rem .35rem}.order-items-table th{white-space:normal;line-height:1.2}.order-col-serial{width:5%}.order-col-product{width:28%}.order-col-available{width:8%}.order-col-quantity{width:9%}.order-col-discount,.order-col-unit-price{width:10%}.order-col-after-discount{width:11%}.order-col-line-total{width:12%}.order-col-action{width:7%}.order-items-table tbody tr:not(#emptyItemsRow){transition:background-color .14s}.order-items-table tbody tr:not(#emptyItemsRow):hover{background:#f8fbf9}.order-product-details{align-items:center;gap:9px;min-width:0;display:flex}.order-item-product-image{color:#83948a;object-fit:cover;background:#f1f6f3;border:1px solid #dbe7df;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:inline-grid;overflow:hidden}.order-product-details-copy{overflow-wrap:anywhere;min-width:0}.order-product-details-copy .small{line-height:1.25}.order-money-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.order-line-total{font-weight:700}.order-item-remove{place-items:center;width:34px;height:34px;padding:0;display:inline-grid}.purchase-items-table{table-layout:fixed;width:100%;min-width:1120px}.purchase-information-panel .section-title,.purchase-search-panel .section-title{margin-bottom:16px}.purchase-information-panel .form-label,.purchase-search-panel .form-label{margin-bottom:6px;font-size:.875rem;font-weight:700}.purchase-information-panel .form-control:not(textarea),.purchase-information-panel .form-select,.purchase-search-panel .form-control{min-height:42px}.purchase-information-panel textarea{resize:vertical;min-height:92px}.purchase-search-panel{z-index:20;position:relative}.purchase-search-panel .product-search-wrap,.purchase-search-panel .form-control{width:100%}.purchase-search-panel .autocomplete-panel{z-index:30}.purchase-items-table th:first-child{width:27%}.purchase-items-table th:nth-child(2){width:14%}.purchase-items-table th:nth-child(3){width:13%}.purchase-items-table th:nth-child(4){width:8%}.purchase-items-table th:nth-child(5),.purchase-items-table th:nth-child(6){width:11%}.purchase-items-table th:nth-child(7){width:10%}.purchase-items-table th:nth-child(8){width:6%}.purchase-product-cell{min-width:0}.purchase-item-input{border-radius:7px;width:100%;min-width:0;height:38px;padding-inline:.55rem}.purchase-price-input{text-align:right;font-variant-numeric:tabular-nums}.purchase-product-details{align-items:center;gap:10px;min-width:0;display:flex}.purchase-product-thumbnail,.purchase-suggestion-thumbnail{object-fit:cover;background:#f4f7f2;border:1px solid #173b2f1f;border-radius:8px;flex:0 0 44px;width:44px;height:44px}.purchase-product-placeholder{color:#87958e;place-items:center;display:grid}.purchase-product-copy,.purchase-suggestion-content{min-width:0}.purchase-product-copy strong,.purchase-suggestion-content strong{overflow-wrap:anywhere;line-height:1.25;display:block}.purchase-product-copy span,.purchase-suggestion-content span{color:#65756d;overflow-wrap:anywhere;font-size:.8rem;line-height:1.35;display:block}.purchase-product-suggestion{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px}.purchase-suggestion-content{gap:2px;display:grid}.purchase-batch-pill{color:var(--brand-green-dark);overflow-wrap:anywhere;background:#edf6eb;border-radius:999px;padding:.22rem .5rem;font-size:.78rem;font-weight:700;display:inline-flex}.purchase-items-table th,.purchase-items-table td{vertical-align:middle}.purchase-items-table th{color:#52635a;letter-spacing:.01em;padding-block:.75rem;font-size:.78rem}.purchase-items-table tbody tr:not(.purchase-empty-row) td{border-bottom-color:#173b2f14;padding-block:.7rem}.purchase-items-table tbody tr:not(.purchase-empty-row){transition:background-color .15s}.purchase-items-table tbody tr:not(.purchase-empty-row):hover{background:#fbfdfb}.purchase-items-table th:first-child,.purchase-items-table td:first-child{text-align:left}.purchase-items-table th:nth-child(2),.purchase-items-table td:nth-child(2),.purchase-items-table th:nth-child(3),.purchase-items-table td:nth-child(3),.purchase-items-table th:nth-child(4),.purchase-items-table td:nth-child(4),.purchase-items-table th:nth-child(8),.purchase-items-table td:nth-child(8){text-align:center}.purchase-items-table th:nth-child(5),.purchase-items-table td:nth-child(5),.purchase-items-table th:nth-child(6),.purchase-items-table td:nth-child(6),.purchase-items-table th:nth-child(7),.purchase-items-table td:nth-child(7){text-align:right}.purchase-batch-cell{overflow-wrap:anywhere}.purchase-quantity-input{text-align:center;max-width:76px;margin-inline:auto}.purchase-line-total{color:var(--brand-green-dark);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.purchase-action-cell{text-align:center}.purchase-remove-button{place-items:center;width:34px;height:34px;padding:0;transition:background-color .15s,color .15s,border-color .15s;display:inline-grid}.purchase-empty-state{min-height:150px;padding:24px}.purchase-empty-state i{margin-bottom:8px}.purchase-empty-state h2{margin-bottom:4px}.purchase-total-footer{color:var(--brand-green-dark);font-variant-numeric:tabular-nums;border-top:1px solid #173b2f1a;justify-content:flex-end;padding:14px 18px;font-size:1.1rem;font-weight:700;display:flex}.purchase-form-actions{justify-content:flex-end;gap:10px;display:flex}.purchase-form-actions .btn{min-width:118px;min-height:42px}.product-search-wrap,.customer-search-wrap{position:relative}.autocomplete-panel{z-index:2100;background:#fff;border:1px solid #173b2f1f;border-radius:8px;max-height:340px;margin-top:6px;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 18px 40px #173b2f29}.product-search-wrap .autocomplete-item{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px}.order-suggestion-content{gap:2px;min-width:0;display:grid!important}.order-suggestion-stats{justify-content:space-between;gap:10px;margin-top:3px;display:flex!important}.order-suggestion-stats em:first-child{color:var(--brand-green-dark);font-weight:700}.autocomplete-item,.autocomplete-empty{text-align:left;white-space:normal;background:#fff;border:0;border-bottom:1px solid #173b2f14;gap:2px;width:100%;padding:10px 12px;display:grid}.autocomplete-item strong{white-space:normal;overflow-wrap:anywhere}.autocomplete-item:hover,.autocomplete-item.is-active{background:#f4f7f2}.autocomplete-match{color:inherit;background:#fff0a8;border-radius:2px;padding:0}.autocomplete-item.is-active{border-left:4px solid var(--brand-green);outline:1px solid #2f7d323d;padding-left:8px}.autocomplete-item span,.autocomplete-item em,.autocomplete-empty{color:#65756d;font-size:.85rem;font-style:normal}.order-side-panel{top:calc(var(--topbar-height) + 20px);width:100%;position:sticky}.order-right-column{flex-direction:column;gap:14px;display:flex}.order-right-column .created-by-summary{width:100%}.totals-panel{background:#f4f7f2;border-radius:8px;gap:10px;padding:16px;display:grid}.totals-panel>div{justify-content:space-between;gap:12px;display:flex}.totals-panel .payable{color:var(--brand-green-dark);border-top:1px solid #173b2f1f;padding-top:10px;font-size:1.1rem}.order-detail-header{border-bottom:1px solid #173b2f1f;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;padding-bottom:14px;display:flex}.order-detail-header h2{color:var(--brand-green-dark);margin:0;font-size:1.35rem}.order-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.order-detail-grid section,.order-detail-section{background:#fff;border:1px solid #173b2f1f;border-radius:8px;padding:16px}.order-detail-grid h3,.order-detail-section h3{color:var(--brand-green-dark);margin:0 0 12px;font-size:.95rem;font-weight:800}.order-detail-grid dl{grid-template-columns:minmax(120px,.7fr) 1fr;gap:8px 12px;margin:0;display:grid}.order-detail-grid dt{color:#65756d}.order-detail-grid dd{margin:0;font-weight:700}.order-detail-section{margin:18px 0}.order-history-list{gap:10px;display:grid}.order-history-item{border-left:3px solid var(--brand-green);gap:2px;padding-left:10px;display:grid}.order-history-item span{color:#65756d;font-size:.85rem}.receipt-filter-form{justify-content:space-between;align-items:end;gap:16px;display:flex}.date-filter{flex:none}.search-filter{width:min(100%,520px);margin-left:auto}.receipt-table{min-width:1180px}.address-cell{white-space:normal;word-break:break-word;min-width:180px;max-width:260px}.notes-cell{white-space:pre-wrap;overflow-wrap:anywhere;min-width:180px;max-width:320px}.status-option{border:1px solid #173b2f1a;border-radius:8px;align-items:center;gap:10px;padding:12px;display:flex}.status-option span{font-weight:700}.status-option small{color:#65756d;margin-left:auto}.status-option.disabled{color:#7c8c84;background:#f4f7f2}.status-badge{border-radius:999px;align-items:center;gap:6px;padding:.35rem .6rem;font-size:.78rem;font-weight:800;display:inline-flex}.status-pending{color:#7a4d00;background:#fff3cd}.status-approve{color:#084298;background:#cfe2ff}.status-complete{color:#0f5132;background:#d1e7dd}.status-cancel{color:#842029;background:#f8d7da}.report-filter-form{flex-wrap:wrap;align-items:end;gap:14px;display:flex}.profit-loss-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.profit-loss-actions .btn{border-radius:8px;justify-content:center;align-items:center;min-height:40px;padding:.5rem 1rem;line-height:1.25;display:inline-flex}.profit-loss-actions .btn i{text-align:center;width:1rem}.profit-loss-filter-panel{padding:14px 16px}.profit-loss-filter-panel .report-filter-form{grid-template-columns:minmax(120px,.8fr) repeat(2,minmax(135px,.9fr)) minmax(240px,1.7fr) minmax(200px,1.3fr) auto;gap:10px 12px;display:grid}.profit-loss-filter-panel .form-label{color:#52665c;margin-bottom:4px;font-size:.76rem;font-weight:700}.profit-loss-filter-panel .form-control,.profit-loss-filter-panel .form-select{min-height:38px;font-size:.86rem}.profit-loss-filter-actions{white-space:nowrap;align-items:end;gap:8px;display:flex}.profit-loss-filter-actions .btn{min-height:38px}.profit-loss-advanced-filters{visibility:hidden;opacity:0;grid-column:1/-1;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;max-height:0;transition:max-height .22s,opacity .18s,visibility .18s;display:grid;overflow:hidden}.profit-loss-advanced-filters.is-open{visibility:visible;opacity:1;max-height:110px;padding-top:2px}.profit-loss-loading{color:#65756d;visibility:hidden;opacity:0;align-items:center;gap:7px;height:0;font-size:.78rem;transition:height .15s,opacity .15s;display:flex;overflow:hidden}.profit-loss-loading.is-visible{visibility:visible;opacity:1;height:26px;padding-top:8px}#profitLossResults{transition:opacity .15s}#profitLossResults.is-updating{opacity:.68}.profit-loss-filter-summary{color:#52665c;background:#f5faf6;border:1px solid #1f7a4d1f;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:8px 12px;font-size:.78rem;display:flex}.profit-loss-filter-summary small{color:#718178}.profit-loss-kpis{gap:14px;display:grid}.profit-loss-kpi-group{gap:8px;display:grid}.profit-loss-group-heading{align-items:center;gap:7px;display:flex}.profit-loss-group-heading h2{color:#53665c;letter-spacing:.055em;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:800}.profit-loss-group-mark{background:var(--brand-green);border-radius:4px;width:4px;height:13px}.profit-loss-group-mark--amber{background:#d59018}.profit-loss-group-mark--muted{background:#8a9b92}.profit-loss-primary-grid,.profit-loss-secondary-grid,.profit-loss-supporting-grid{gap:10px;display:grid}.profit-loss-primary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.profit-loss-secondary-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.profit-loss-supporting-grid{grid-template-columns:repeat(auto-fit,minmax(180px,240px))}.profit-loss-kpi-card{background:#fff;border:1px solid #173b2f1a;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;min-width:0;min-height:76px;padding:11px 12px;display:flex;overflow:hidden;box-shadow:0 3px 12px #12342709}.profit-loss-kpi-card--primary{border-top:3px solid #1f7a4db8;min-height:90px;padding:14px 15px;box-shadow:0 5px 16px #1234270e}.profit-loss-kpi-label{color:#677a70;margin-bottom:4px;font-size:.71rem;font-weight:700;line-height:1.25}.profit-loss-kpi-value{color:#213d31;white-space:nowrap;font-size:.96rem;font-weight:800;line-height:1.15}.profit-loss-kpi-card--primary .profit-loss-kpi-label{font-size:.78rem}.profit-loss-kpi-card--primary .profit-loss-kpi-value{font-size:clamp(1.05rem,1.45vw,1.35rem)}.profit-loss-kpi-help{color:#718178;margin-top:5px;font-size:.66rem;line-height:1.25}.profit-loss-calculation{overflow:hidden}.profit-loss-calculation summary{color:var(--brand-green-dark);cursor:pointer;padding:11px 14px;font-size:.82rem;font-weight:800}.profit-loss-calculation>div{color:#56685f;padding:0 14px 12px 36px;font-size:.78rem}.profit-loss-calculation p{margin-bottom:4px}.profit-loss-kpi-icon{width:31px;height:31px;color:var(--brand-green);background:#edf7f0;border-radius:8px;flex:0 0 31px;place-items:center;font-size:.78rem;display:inline-grid}.profit-loss-kpi-card--primary .profit-loss-kpi-icon{flex-basis:36px;width:36px;height:36px;font-size:.9rem}.profit-loss-kpi-card.is-positive .profit-loss-kpi-value{color:#167044}.profit-loss-kpi-card.is-negative .profit-loss-kpi-value,.profit-loss-kpi-card.is-loss .profit-loss-kpi-value{color:#b43a44}.profit-loss-kpi-card.is-negative .profit-loss-kpi-icon,.profit-loss-kpi-card.is-loss .profit-loss-kpi-icon{color:#b43a44;background:#fff0f1}.profit-loss-kpi-card.is-pending .profit-loss-kpi-value{color:#9a6508}.profit-loss-kpi-card.is-pending .profit-loss-kpi-icon{color:#a66b08;background:#fff6df}.profit-final-card{background:linear-gradient(135deg,#6f42c112,#fff 55%);border-top:4px solid #6f42c1;box-shadow:0 8px 22px #6f42c11f}.profit-final-card .profit-loss-kpi-label{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.profit-final-badge{color:#553094;white-space:nowrap;background:#6f42c11c;border-radius:999px;padding:2px 6px;font-size:.58rem;font-weight:800;line-height:1.2;display:inline-flex}.profit-final-card .profit-loss-kpi-icon{color:#6f42c1;background:#6f42c11a}.profit-final-card .profit-loss-kpi-value{font-size:calc(clamp(1.05rem,1.45vw,1.35rem) + 2px);font-weight:900}.profit-loss-table-heading{border-bottom:1px solid #173b2f14;justify-content:space-between;align-items:center;padding:14px 16px 11px;display:flex}.profit-loss-table-heading h2{color:var(--brand-green-dark);margin:0 0 2px;font-size:1rem;font-weight:800}.profit-loss-table-heading p{color:#718178;margin:0;font-size:.78rem}.profit-loss-table th{white-space:nowrap}.profit-loss-table>:not(caption)>*>*{padding-top:.65rem;padding-bottom:.65rem}.profit-loss-table tbody tr{transition:background-color .14s}.profit-loss-table tbody tr:hover{background:#f4f9f5}.profit-loss-view-button{place-items:center;width:32px;height:32px;padding:0;display:inline-grid}@media (width<=1399.98px){.profit-loss-filter-panel .report-filter-form{grid-template-columns:repeat(4,minmax(140px,1fr))}.profit-loss-search-field{grid-column:span 2}.profit-loss-secondary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=991.98px){.profit-loss-filter-panel .report-filter-form{grid-template-columns:repeat(3,minmax(130px,1fr))}.profit-loss-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-loss-supporting-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profit-loss-advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-loss-advanced-filters.is-open{max-height:210px}}@media (width<=767.98px){.profit-loss-filter-panel .report-filter-form,.profit-loss-secondary-grid,.profit-loss-supporting-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-loss-filter-summary{flex-direction:column;align-items:flex-start;gap:2px}}@media (width<=575.98px){.profit-loss-filter-panel .report-filter-form,.profit-loss-primary-grid,.profit-loss-secondary-grid,.profit-loss-supporting-grid{grid-template-columns:1fr}.profit-loss-search-field{grid-column:auto}.profit-loss-advanced-filters{grid-template-columns:1fr}.profit-loss-advanced-filters.is-open{max-height:390px}.profit-loss-filter-actions{grid-template-columns:1fr 1fr;display:grid}.profit-loss-filter-actions .btn{flex:1}.profit-loss-kpi-card,.profit-loss-kpi-card--primary{min-height:72px}.profit-loss-table-heading{padding-inline:12px}}.report-filter-field{min-width:220px}.report-range-fields{gap:12px;display:flex}.report-table tfoot th{background:#f4f7f2;border-top:2px solid #173b2f29}.business-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.business-pagination-count{color:#65756d;font-size:.85rem}.business-pagination .page-item.active .page-link{background:var(--brand-green);border-color:var(--brand-green)}.prescription-submit-panel{max-width:920px;margin-inline:auto}.prescription-dropzone{cursor:pointer;text-align:center;background:#f6faf7;border:2px dashed #1f7a4d73;border-radius:10px;place-items:center;min-height:360px;padding:24px;transition:all .18s;display:grid}.prescription-dropzone:hover,.prescription-dropzone.is-dragging{border-color:var(--brand-green);background:#eef7f0}.prescription-dropzone>div{color:#65756d;gap:8px;display:grid}.prescription-dropzone i{color:var(--brand-green);font-size:2.5rem}.prescription-dropzone strong{color:var(--brand-green-dark);font-size:1.05rem}.prescription-dropzone img{object-fit:contain;max-width:100%;max-height:520px}.prescription-table{min-width:1050px}.prescription-thumb-button{background:0 0;border:0;border-radius:8px;padding:0;display:block}.prescription-thumb-button img{object-fit:contain;object-position:center;cursor:pointer;background:#fff;border:1px solid #dfe5e2;border-radius:8px;width:112px;height:72px;padding:3px;display:block}.prescription-thumbnail-error,.prescription-pdf-thumbnail{color:#8b1e1e;background:#fff;border:1px solid #dfe5e2;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:112px;height:72px;padding:4px;font-size:.7rem;display:flex}.prescription-pdf-thumbnail i{font-size:1.4rem}.prescription-pdf-thumbnail small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.prescription-image-loading,.prescription-image-error{z-index:2;background:#fff;border-radius:8px;padding:10px 14px;position:absolute}.prescription-pdf-viewer{border:0;border-radius:8px;width:100%;height:100%}.prescription-full-image.is-loading{visibility:hidden}.prescription-note-cell{white-space:normal;min-width:220px;max-width:320px}.prescription-detail-layout{gap:22px;display:grid}.prescription-viewer-section{min-width:0}.prescription-info-row,.prescription-notes-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.prescription-card{background:#fff;border:1px solid #173b2f24;border-radius:10px;min-width:0;padding:18px}.prescription-card-title{color:var(--brand-green-dark);margin:0 0 14px;font-size:1rem;font-weight:800}.prescription-zoom-toolbar{flex-wrap:wrap;gap:7px;margin-bottom:10px;display:flex}.prescription-zoom-stage{touch-action:none;cursor:zoom-in;background:#f8f8f8;border:1px solid #ddd;border-radius:10px;place-items:center;height:360px;min-height:320px;display:grid;position:relative;overflow:auto}.prescription-zoom-stage.is-zoomed{cursor:grab}.prescription-zoom-stage.is-zoomed:active{cursor:grabbing}.prescription-full-image{object-fit:contain;transform-origin:50%;-webkit-user-select:none;user-select:none;pointer-events:none;max-width:100%;max-height:100%;transition:transform 80ms ease-out;display:block}.prescription-history{gap:10px;max-height:260px;display:grid;overflow-y:auto}.prescription-history>div{border-left:3px solid var(--brand-green);background:#f4f7f2;padding:10px 12px}.prescription-history p{white-space:pre-wrap;margin:5px 0 0}.success-popup-backdrop{z-index:2000;pointer-events:none;opacity:0;place-items:center;padding:20px;transition:opacity .18s;display:grid;position:fixed;inset:0}.success-popup-backdrop.show{pointer-events:auto;opacity:1}.confirm-modal-backdrop{z-index:2100;pointer-events:none;opacity:0;background:#091a145c;place-items:center;padding:20px;transition:opacity .18s;display:grid;position:fixed;inset:0}.confirm-modal-backdrop.show{pointer-events:auto;opacity:1}.confirm-modal-card{text-align:center;background:#fff;border-radius:8px;width:min(100%,380px);padding:28px 24px;transition:transform .18s;transform:scale(.92);box-shadow:0 24px 70px #173b2f3d}.confirm-modal-backdrop.show .confirm-modal-card{transform:scale(1)}.confirm-icon{color:#842029;background:#f8d7da;border-radius:50%;place-items:center;width:70px;height:70px;margin:0 auto 16px;font-size:1.8rem;animation:.36s both success-pop;display:grid}.confirm-modal-card h2{font-size:1.25rem;font-weight:800}.confirm-modal-card p{color:#65756d}.success-popup-card{text-align:center;background:#fff;border:1px solid #173b2f1a;border-radius:8px;width:min(100%,360px);padding:30px 24px 26px;transition:transform .18s;position:relative;transform:scale(.92);box-shadow:0 24px 70px #173b2f38}.success-popup-backdrop.show .success-popup-card{transform:scale(1)}.success-popup-close{color:#65756d;background:0 0;border:0;position:absolute;top:10px;right:10px}.success-check{color:#1f7a4d;border:3px solid #1f7a4d;border-radius:50%;place-items:center;width:78px;height:78px;margin:0 auto 18px;font-size:2rem;animation:.36s both success-pop;display:grid}.success-popup-card h2{margin:0;font-size:1.25rem;font-weight:800}.success-popup-card p{color:#65756d;margin:8px 0 0}@keyframes success-pop{0%{opacity:0;transform:scale(.4)}80%{transform:scale(1.08)}to{opacity:1;transform:scale(1)}}.sidebar-backdrop{z-index:1030;background:#091a147a;display:none;position:fixed;inset:0}body.sidebar-open .sidebar-backdrop{display:block}.btn-success{--bs-btn-bg:var(--brand-green);--bs-btn-border-color:var(--brand-green);--bs-btn-hover-bg:var(--brand-green-dark);--bs-btn-hover-border-color:var(--brand-green-dark)}@media (width>=1200px) and (width<=1699.98px){.order-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-entry-grid>.product-search-wrap,.order-entry-grid>.order-entry-field:nth-child(2){grid-column:span 2}}@media (width<=991.98px){body.sidebar-open{overflow:hidden}.admin-sidebar{transform:translate(-100%);box-shadow:18px 0 45px #061b1438}body.sidebar-open .admin-sidebar{transform:translate(0)}.admin-main{padding-left:0}.admin-content,.admin-topbar{padding-inline:16px}.page-heading{flex-direction:column}.receipt-filter-form{flex-direction:column;align-items:stretch}.search-filter{width:100%;margin-left:0}.report-filter-form,.report-range-fields{flex-direction:column;align-items:stretch}.report-filter-field{width:100%;min-width:0}.order-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.order-entry-grid>.product-search-wrap,.order-entry-grid>.order-entry-field:nth-child(2){grid-column:span 3}.order-quantity-input{width:88px}.order-items-table-wrap{overflow:visible}.order-items-table,.order-items-table tbody{width:100%;display:block}.order-items-table thead{display:none}.order-items-table tbody tr:not(#emptyItemsRow){border-bottom:1px solid #173b2f1f;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:16px;display:grid}.order-items-table tbody tr:not(#emptyItemsRow) td{border:0;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0;display:flex;text-align:right!important}.order-items-table tbody tr:not(#emptyItemsRow) td:before{content:attr(data-label);color:#65756d;text-align:left;font-size:.76rem;font-weight:700}.order-items-table .order-product-details-cell,.order-items-table .order-item-action-cell{grid-column:1/-1}.order-items-table .order-product-details-cell{text-align:left!important;display:block!important}.order-items-table .order-product-details-cell:before{margin-bottom:7px;display:block}.order-items-table .order-item-action-cell{justify-content:flex-end!important;padding-top:4px!important}.order-items-table .order-item-action-cell:before{display:none}.order-items-table #emptyItemsRow,.order-items-table #emptyItemsRow td{width:100%;display:block}.order-detail-header,.order-detail-grid{grid-template-columns:1fr}.order-detail-header{display:grid}.order-detail-grid dl,.prescription-info-row,.prescription-notes-row{grid-template-columns:1fr}.prescription-zoom-stage{height:320px;min-height:280px}.product-modal-layout{grid-template-columns:1fr}}@media (width<=767.98px){.created-by-summary{max-width:none}.order-entry-actions{flex-direction:column;gap:16px}.order-overall-discount{flex-basis:auto;width:100%;max-width:none}.order-entry-actions .btn{align-self:stretch;width:100%;margin-top:0}}@media (width<=575.98px){.order-items-table tbody tr:not(#emptyItemsRow){grid-template-columns:1fr}.order-items-table .order-product-details-cell,.order-items-table .order-item-action-cell{grid-column:auto}.order-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-entry-grid>.product-search-wrap,.order-entry-grid>.order-entry-field:nth-child(2){grid-column:1/-1}.order-entry-actions .btn{width:100%;margin-top:0}.order-overall-discount-fields{grid-template-columns:1fr}.profit-loss-actions{width:100%}.profit-loss-actions .btn{flex:145px}}@media (width>=992px){.sidebar-toggle{display:none}}.inventory-product-image{color:#83948a;background:#f1f6f3;border:1px solid #dbe7df;border-radius:.65rem;justify-content:center;align-items:center;width:48px;height:48px;padding:0;display:inline-flex;overflow:hidden}.inventory-product-image:not(:disabled){cursor:zoom-in}.inventory-product-image img{object-fit:cover;width:100%;height:100%}.product-stock-table{min-width:1320px}.product-stock-name{white-space:normal;overflow-wrap:anywhere;min-width:180px;max-width:280px}[data-stock-results]{transition:opacity .18s}[data-stock-results].stock-results-loading{opacity:.55;pointer-events:none}@media (width<=1199.98px){.purchase-items-table-wrap{overflow:visible}.purchase-items-table{min-width:0;display:block}.purchase-items-table thead{display:none}.purchase-items-table tbody{gap:14px;padding:14px;display:grid}.purchase-items-table tbody tr:not(.purchase-empty-row){background:#fff;border:1px solid #173b2f1f;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:16px;display:grid;box-shadow:0 4px 14px #173b2f0d}.purchase-items-table tbody tr:not(.purchase-empty-row)>td{text-align:right;border:0;justify-content:space-between;align-items:center;gap:12px;width:auto;padding:0;display:flex}.purchase-items-table tbody tr:not(.purchase-empty-row)>td:before{content:attr(data-label);color:#65756d;text-align:left;flex:none;font-size:.78rem;font-weight:700}.purchase-items-table .purchase-product-cell,.purchase-items-table .purchase-action-cell{grid-column:1/-1}.purchase-items-table .purchase-product-cell{text-align:left!important;border-bottom:1px solid #173b2f1a!important;padding-bottom:12px!important;display:block!important}.purchase-items-table .purchase-product-cell:before,.purchase-items-table .purchase-action-cell:before{display:none}.purchase-items-table .purchase-item-input{max-width:180px}.purchase-items-table .purchase-quantity-input{max-width:76px;margin-inline:0}.purchase-items-table .purchase-action-cell{justify-content:flex-end!important}.purchase-items-table .purchase-empty-row,.purchase-items-table .purchase-empty-row td{width:100%;display:block}}@media (width<=575.98px){.purchase-items-table tbody{padding:10px}.purchase-items-table tbody tr:not(.purchase-empty-row){grid-template-columns:1fr}.purchase-items-table .purchase-product-cell,.purchase-items-table .purchase-action-cell{grid-column:auto}.purchase-items-table .purchase-item-input{max-width:160px}.purchase-form-actions{flex-direction:column-reverse}.purchase-form-actions .btn{width:100%}.purchase-total-footer{text-align:center;justify-content:center}}.stock-print-frame{visibility:hidden;border:0;width:0;height:0;position:fixed;top:0;right:0}@media print{.admin-sidebar,.admin-topbar,.sidebar-backdrop,[data-stock-filter-form],[data-stock-export],[data-stock-print],.pagination{display:none!important}.admin-main{margin-left:0!important}.admin-content{padding:0!important}}.status-count-chip{background:#fff;border:1px solid;border-radius:.75rem;grid-template-columns:auto auto;align-items:center;gap:.15rem .55rem;min-width:150px;padding:.55rem .8rem;font-size:.78rem;line-height:1.1;display:inline-grid}.status-count-chip i{grid-row:1/3;font-size:1rem}.status-count-chip strong{font-size:1.1rem}.status-count-chip-warning{color:#9a6700;background:#fff9e8}.status-count-chip-primary{color:#1769aa;background:#eff7ff}.status-count-chip-success{color:#177245;background:#effbf4}.status-count-chip-danger{color:#b42318;background:#fff2f0}@media (width<=575.98px){.status-count-chip{width:100%;min-width:0}}
