.table-panel{padding:0;overflow:auto}.table-panel table{border-collapse:collapse;width:100%}.table-panel th,.table-panel td{text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:14px 16px}.table-panel th{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:#fafafd;font-size:12px}.table-panel td{font-size:14px}.table-panel td:first-child{gap:3px;display:grid}.table-panel td small{color:var(--muted)}.status{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.status.active{color:#067647;background:#ecfdf3}.status.inactive{color:#b42318;background:#fef3f2}.capitalize{text-transform:capitalize}.table-empty{color:var(--muted);text-align:center!important;padding:50px!important}
.primary,.soft{justify-content:center;align-items:center;gap:7px;display:inline-flex}.soft{color:var(--brand-dark);background:#f1eff8;border:0;border-radius:9px;padding:10px 12px;font-weight:750}.full{width:100%}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.entity-card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:18px;box-shadow:0 1px 2px #10182806}.entity-head{grid-template-columns:auto 1fr auto;align-items:center;gap:11px;display:grid}.entity-head>div{gap:3px;display:grid}.entity-head small,.entity-meta,.entity-label,.location-list small{color:var(--muted)}.entity-icon{width:40px;height:40px;color:var(--brand);background:#ede9fe;border-radius:11px;place-items:center;display:grid}.entity-meta{border-bottom:1px solid var(--line);gap:5px;padding:16px 0;font-size:13px;display:grid}.entity-label{text-transform:uppercase;letter-spacing:.04em;justify-content:space-between;gap:12px;margin:16px 0 9px;font-size:12px;font-weight:750;display:flex}.location-list{gap:7px;margin-bottom:12px;display:grid}.location-list>div{background:#fafafd;border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:9px 10px;font-size:13px;display:grid}.dialog-backdrop{z-index:30;background:#17152da3;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:17px;gap:17px;width:min(620px,100%);max-height:92vh;padding:22px;display:grid;overflow:auto;box-shadow:0 28px 90px #00000047}.dialog-head{justify-content:space-between;gap:16px;display:flex}.dialog h2{margin:0 0 4px}.dialog p{color:var(--muted);margin:0}.dialog label{gap:7px;font-size:13px;font-weight:750;display:grid}.dialog input,.dialog select{border:1px solid var(--line);background:#fff;border-radius:9px;width:100%;height:44px;padding:0 11px}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.check-row{align-items:center;grid-template-columns:auto 1fr!important;gap:9px!important;display:flex!important}.check-row input{width:18px;height:18px}.dialog-actions{justify-content:flex-end;gap:9px;padding-top:4px;display:flex}.icon-btn{background:#f3f4f6;border:0;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.number{text-align:right!important}@media (max-width:1050px){.card-grid{grid-template-columns:1fr 1fr}}@media (max-width:760px){.card-grid,.form-grid{grid-template-columns:1fr}.entity-head{grid-template-columns:auto 1fr}.entity-head>.status{grid-column:2}.dialog{padding:18px}}
.segmented{background:#e9e8ef;border-radius:10px;padding:3px;display:flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:9px 15px;font-weight:750}.segmented button.selected{color:var(--ink);background:#fff;box-shadow:0 1px 4px #0000001a}.section-actions{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.section-actions>div{gap:3px;display:grid}.section-actions span{color:var(--muted);font-size:13px}.product-list{gap:15px;display:grid}.product-card{margin:0;padding:0;overflow:hidden}.product-title{grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:17px;display:grid}.product-title>div{gap:3px;display:grid}.product-title small{color:var(--muted)}.embedded{border:0;border-top:1px solid var(--line);border-radius:0}.price-btn{color:var(--ink);text-align:left;background:0 0;border:0;padding:3px;font-weight:700}.price-btn small{color:var(--brand);font-size:10px;display:block}.wide{grid-column:1/-1}@media (max-width:760px){.segmented{width:100%}.segmented button{flex:1}.section-actions{align-items:flex-start}.product-title{grid-template-columns:auto 1fr}.product-title>.soft{grid-column:2;justify-self:start}}.master-search{border:1px solid var(--line);max-width:520px;color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:10px;margin-bottom:14px;padding:0 13px;display:flex}.master-search input{background:0 0;border:0;outline:0;flex:1;padding:13px 0}.master-search button{color:var(--muted);background:0 0;border:0;place-items:center;display:grid}.master-product-table{overflow-x:auto}.master-product-table table{min-width:1050px}.row-actions{flex-wrap:wrap;gap:7px;display:flex}.soft.compact{white-space:nowrap;padding:7px 9px;font-size:12px}.override-label{color:var(--brand);font-size:10px;font-weight:700;display:block}.form-help{color:var(--muted);margin:10px 0 0;font-size:13px}
.center-options{border:1px solid var(--line);border-radius:10px;gap:8px;padding:13px;display:grid}.center-options legend{padding:0 5px;font-size:13px;font-weight:800}.center-options label{align-items:center;gap:9px;font-size:14px;display:flex}.center-options input{width:17px;height:17px}.table-panel code{white-space:normal;color:var(--muted);font-size:11px}.permission-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.permission-summary{max-width:360px;color:var(--muted);font-size:13px;line-height:1.45}.protected-account{color:#6d28d9;background:#f1eafe;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.user-dialog{max-width:760px;max-height:92vh;overflow:auto}
.toast-stack{z-index:1000;gap:10px;width:min(390px,100vw - 32px);display:grid;position:fixed;top:24px;right:24px}.toast{color:#fff;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:14px 15px;animation:.2s ease-out toast-in;display:grid;box-shadow:0 16px 40px #11182733}.toast.success{background:#15803d}.toast.error{background:#b91c1c}.toast button{color:inherit;background:0 0;border:0;place-items:center;display:grid}.route-loading{min-height:55vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.route-loading strong{color:var(--ink);font-size:18px}.loading-spinner{border:4px solid #e9ddff;border-top-color:#6d28d9;border-radius:50%;width:38px;height:38px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.purchase-pos-full{z-index:50;color:var(--ink);background:#f3f4f8;flex-direction:column;display:flex;position:fixed;inset:0}.pos-topbar{color:#fff;background:#211b3d;flex:0 0 70px;grid-template-columns:1fr auto 1fr;align-items:center;height:70px;padding:0 22px;display:grid;box-shadow:0 2px 10px #1113}.pos-back{color:#ddd9ed;align-items:center;gap:8px;font-weight:700;text-decoration:none;display:flex}.pos-back svg{width:20px}.pos-brand{text-align:center;display:grid}.pos-brand b{font-size:20px}.pos-brand small{color:#aaa4c4}.pos-topbar label{color:#c7c2dd;justify-self:end;align-items:center;gap:9px;font-size:12px;display:flex}.pos-topbar select{color:#fff;background:#31294f;border:1px solid #ffffff2e;border-radius:9px;min-width:230px;height:40px;padding:0 12px}.pos-sale-screen{flex:1;grid-template-columns:minmax(0,1fr) 430px;gap:0;min-height:0;display:grid}.pos-products{min-width:0;padding:18px;overflow-y:auto}.pos-search{background:#fff;border:2px solid #d8ccfc;border-radius:12px;align-items:center;gap:11px;height:52px;padding:0 14px;display:flex}.pos-search:focus-within{border-color:var(--brand)}.pos-search input{border:0;outline:0;flex:1;font-size:16px}.pos-search button{color:var(--muted);background:0 0;border:0}.pos-categories{gap:8px;padding:14px 0;display:flex;overflow-x:auto}.pos-categories button{white-space:nowrap;border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:9px;padding:9px 14px;font-weight:700}.pos-categories button.active{background:var(--brand);border-color:var(--brand);color:#fff}.pos-product-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:11px;display:grid}.pos-product{text-align:left;border:1px solid var(--line);background:#fff;border-radius:13px;flex-direction:column;align-items:flex-start;gap:7px;min-height:160px;padding:14px;transition:all .15s;display:flex}.pos-product:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:0 10px 24px #6d28d918}.pos-product>span{color:var(--brand);background:#f1eafe;border-radius:6px;padding:4px 7px;font-size:10px;font-weight:900}.pos-product strong{font-size:16px}.pos-product small{color:var(--muted);min-height:30px}.pos-product b{margin-top:auto}.pos-product em{color:var(--brand);align-items:center;gap:4px;font-size:12px;font-style:normal;font-weight:800;display:flex}.pos-cart{border-left:1px solid var(--line);background:#fff;flex-direction:column;min-height:0;display:flex}.pos-cart-head{border-bottom:1px solid var(--line);flex:0 0 58px;justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex}.pos-cart-head>div{align-items:center;gap:8px;display:flex}.pos-cart-head>span{color:var(--brand);background:#f1eafe;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.pos-cart-lines{flex:1;align-content:start;gap:9px;min-height:0;padding:10px;display:grid;overflow-y:auto}.pos-cart-line{border:1px solid var(--line);background:#fafafd;border-radius:11px;padding:10px}.pos-line-title{grid-template-columns:24px 1fr 30px;align-items:center;gap:8px;display:grid}.pos-line-title>span{width:23px;height:23px;color:var(--brand);background:#ede9fe;border-radius:7px;place-items:center;font-size:11px;font-weight:900;display:grid}.pos-line-title>div{display:grid}.pos-line-title small{color:var(--muted);font-size:10px}.pos-line-title>button{color:#b42318;background:#fee4e2;border:0;border-radius:7px;place-items:center;width:29px;height:29px;display:grid}.pos-line-title svg{width:15px}.pos-cart-line>label,.pos-line-values label{color:var(--muted);text-transform:uppercase;gap:5px;margin-top:9px;font-size:10px;font-weight:800;display:grid}.pos-cart-line select,.pos-line-values input{border:1px solid var(--line);background:#fff;border-radius:8px;height:38px;padding:0 9px}.required-field{background:#fff8f7!important;border-color:#f04438!important}.pos-line-values{grid-template-columns:1fr auto;align-items:end;gap:9px;display:grid}.pos-line-values label{margin:9px 0 0}.pos-line-values small{text-transform:none}.pos-qty{grid-template-columns:32px 64px 32px;display:grid}.pos-qty button,.pos-qty input{border:1px solid var(--line);text-align:center;background:#fff;height:38px}.pos-qty button{place-items:center;display:grid}.pos-qty button:first-child{border-radius:8px 0 0 8px}.pos-qty button:last-child{border-radius:0 8px 8px 0}.pos-qty input{border-left:0;border-right:0;width:64px}.pos-qty svg{width:15px}.pos-line-total{border-top:1px dashed var(--line);justify-content:space-between;margin-top:9px;padding-top:8px;display:flex}.pos-line-total span{color:var(--muted);font-size:11px}.pos-empty-cart{color:var(--muted);flex-direction:column;align-items:center;gap:7px;padding:70px 15px;display:flex}.pos-empty-cart svg{width:44px;height:44px}.pos-empty-cart strong{color:var(--ink)}.pos-error,.pos-warning{margin:0 10px 8px;padding:8px!important;font-size:11px!important}.pos-cart-footer{border-top:1px solid var(--line);flex:none;padding:13px}.pos-cart-footer>div{justify-content:space-between;align-items:end;margin-bottom:11px;display:flex}.pos-cart-footer span{display:grid}.pos-cart-footer small{color:var(--muted)}.pos-cart-footer strong{font-size:23px}.pos-payment-button{width:100%;height:48px;font-size:16px}.pos-payment-button:disabled{opacity:.5}.quality-picker{z-index:80}.quality-options{gap:9px;display:grid}.quality-options button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;justify-content:space-between;padding:14px;display:flex}.quality-options button:hover{border-color:var(--brand);background:#faf8ff}.quality-options span{gap:3px;display:grid}.quality-options small{color:var(--muted)}.quality-options b{color:var(--brand)}.pos-payment-screen{flex:1;grid-template-columns:minmax(420px,650px) minmax(360px,480px);justify-content:center;align-items:start;gap:22px;padding:42px 25px;display:grid;overflow-y:auto}.payment-card,.payment-summary{border:1px solid var(--line);background:#fff;border-radius:16px;padding:25px}.payment-back{color:var(--brand);background:#f1eff8;border:0;border-radius:9px;align-items:center;gap:7px;margin-bottom:25px;padding:9px 12px;font-weight:700;display:flex}.payment-back svg{width:17px}.payment-card h1{margin:8px 0 5px;font-size:34px}.payment-card>p{color:var(--muted);margin:0 0 22px}.payment-fields{gap:14px;margin-top:17px;display:grid}.payment-fields label{color:var(--muted);gap:7px;font-size:12px;font-weight:800;display:grid}.payment-fields input,.payment-fields select,.payment-fields textarea{border:1px solid var(--line);border-radius:9px;padding:0 11px}.payment-fields input,.payment-fields select{height:46px}.payment-fields textarea{resize:vertical;min-height:90px;padding-top:11px}.payment-summary h2{margin-top:0}.summary-center{background:#f7f5fc;border-radius:10px;gap:5px;padding:13px;display:grid}.summary-center small,.summary-lines small,.summary-total small{color:var(--muted)}.summary-lines{gap:11px;margin:18px 0;display:grid}.summary-lines>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:14px;padding-bottom:10px;display:flex}.summary-lines span{display:grid}.summary-total{border-top:2px solid var(--ink);justify-content:space-between;align-items:end;padding-top:15px;display:flex}.summary-total span{display:grid}.summary-total strong{font-size:23px}.confirm-payment{justify-content:center;align-items:center;gap:8px;width:100%;height:50px;margin-top:18px;display:flex}.confirm-payment svg{width:18px}.pos-complete{text-align:center;border:1px solid var(--line);background:#fff;border-radius:18px;width:min(650px,90%);margin:auto;padding:60px}.pos-complete>svg{color:#079455}.pos-complete h1{margin:15px 0 6px;font-size:34px}.pos-complete p{color:var(--muted)}.pos-complete>strong{margin:22px;font-size:30px;display:block}.pos-complete>div{justify-content:center;gap:10px;display:flex}.product-empty{text-align:center;color:var(--muted);grid-column:1/-1;padding:70px}@media (max-width:1150px){.pos-product-grid{grid-template-columns:repeat(3,1fr)}.pos-sale-screen{grid-template-columns:minmax(0,1fr) 390px}}@media (max-width:850px){.purchase-pos-full{min-height:100vh;position:absolute}.pos-topbar{grid-template-columns:auto 1fr}.pos-brand{display:none}.pos-sale-screen{display:block;overflow-y:auto}.pos-products{overflow:visible}.pos-cart{border:1px solid var(--line);margin:0 18px 18px}.pos-cart-lines{max-height:none;overflow:visible}.pos-product-grid{grid-template-columns:repeat(2,1fr)}.pos-payment-screen{grid-template-columns:1fr;padding:20px}.pos-topbar select{min-width:150px}.pos-back span{display:none}}@media (max-width:520px){.pos-product-grid{grid-template-columns:1fr 1fr}.pos-product{min-height:145px;padding:10px}.pos-products{padding:11px}.pos-topbar{padding:0 10px}.pos-payment-screen{padding:10px}.payment-card,.payment-summary{padding:17px}}@media (max-width:850px){.purchase-pos-full{width:100%;max-width:100vw;overflow-x:hidden}.pos-sale-screen,.pos-products,.pos-cart,.pos-cart-lines,.pos-cart-line{min-width:0;max-width:100%}.pos-cart{margin-left:12px;margin-right:12px}.pos-line-title{grid-template-columns:24px minmax(0,1fr) 30px}.pos-line-title>div{min-width:0}.pos-line-title strong{overflow-wrap:anywhere}.pos-line-values{grid-template-columns:minmax(0,1fr) auto;gap:8px}.pos-line-values label{min-width:0}.pos-line-values label input{width:100%;min-width:0}}@media (max-width:520px){.pos-topbar{grid-template-columns:auto minmax(0,1fr);gap:8px}.pos-topbar label{gap:5px;min-width:0}.pos-topbar select{width:100%;min-width:0;max-width:220px;padding:0 7px}.pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-product{min-width:0}.pos-qty{grid-template-columns:32px 52px 32px}.pos-qty input{width:52px;min-width:0;padding:0 3px}.pos-line-total{align-items:flex-start;gap:6px}.pos-line-total strong{white-space:nowrap}.pos-cart-footer strong{font-size:clamp(18px,6vw,23px)}}.pos-topbar{grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px}.pos-topbar label{min-width:0}.pos-topbar .offline-pos-indicator{justify-self:end;margin-left:0}@media (max-width:850px){.pos-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.pos-topbar .offline-pos-indicator{grid-column:3}}@media (max-width:520px){.pos-topbar{grid-template-columns:auto minmax(0,1fr) auto}.pos-topbar .offline-pos-indicator{padding:6px;font-size:10px}.pos-topbar .offline-pos-indicator>b{max-width:92px;overflow:hidden}}.purchase-complete-layout{flex:1;grid-template-columns:minmax(320px,.9fr) minmax(380px,1.1fr);align-items:center;gap:24px;width:min(1440px,100%);min-height:0;margin:0 auto;padding:24px;display:grid;overflow:auto}.purchase-complete-layout .pos-complete{width:100%;max-width:620px;margin:0 auto;padding:clamp(24px,4vw,56px)}.purchase-complete-layout>.standard-bill{width:100%;max-width:440px;max-height:calc(100vh - 48px);margin:0 auto;overflow-y:auto}.purchase-complete-layout .pos-complete>div{flex-wrap:wrap}@media (max-width:1100px){.purchase-complete-layout{grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:16px;padding:16px}.purchase-complete-layout .pos-complete{padding:28px 20px}}@media (max-width:850px){.purchase-complete-layout{grid-template-columns:minmax(0,1fr);align-content:start;justify-items:center;gap:14px;padding:16px;overflow-y:auto}.purchase-complete-layout .pos-complete{max-width:650px}.purchase-complete-layout>.standard-bill{max-height:none;margin:0 auto;overflow:visible}}@media (max-width:520px){.purchase-complete-layout{padding:12px}.purchase-complete-layout .pos-complete{padding:24px 16px}.purchase-complete-layout .pos-complete h1{font-size:27px}.purchase-complete-layout>.standard-bill{padding:18px}}.pos-mobile-cart-jump{display:none}@media (max-width:850px){.pos-mobile-cart-jump{z-index:30;width:100%;min-height:48px;color:var(--brand-dark);text-align:left;background:#fff;border:1px solid #d8ccfc;border-radius:12px;align-items:center;gap:9px;margin:10px 0 2px;padding:9px 13px;font-weight:800;display:flex;position:sticky;top:8px;box-shadow:0 6px 18px #17152d18}.pos-mobile-cart-jump svg{flex:none;width:20px;height:20px}.pos-mobile-cart-jump span{flex:1;min-width:0}.pos-mobile-cart-jump strong{white-space:nowrap}.pos-cart{scroll-margin-top:12px}}.pos-available-cash{background:linear-gradient(110deg,#fff 0%,#f6f2ff 100%);border:1px solid #ddd6fe;border-radius:12px;flex-wrap:wrap;align-items:center;gap:14px;margin:10px 18px 0;padding:11px 15px;display:flex;box-shadow:0 2px 8px #17152d0a}.pos-available-cash-label{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.pos-available-cash-label>span{width:36px;height:36px;color:var(--brand);background:#ede9fe;border-radius:10px;flex:0 0 36px;place-items:center;display:grid}.pos-available-cash-label>div{gap:2px;min-width:0;display:grid}.pos-available-cash-label>div strong{font-size:13px}.pos-available-cash-label small,.pos-cash-offline-note{color:var(--muted);font-size:11px}.pos-available-cash-amount{white-space:nowrap;color:var(--brand-dark);font-size:18px}.pos-cash-offline-note{flex-basis:100%;margin-top:-8px;margin-left:46px}@media (max-width:520px){.pos-available-cash{gap:5px;margin:8px 10px 0;padding:9px 10px}.pos-available-cash-label>span{flex-basis:32px;width:32px;height:32px}.pos-available-cash-label>div strong{font-size:12px}.pos-available-cash-label small{font-size:10px}.pos-available-cash-amount{font-size:15px}.pos-cash-offline-note{margin-left:42px}}.supplier-select-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;display:grid}.supplier-select-row>label{min-width:0}.supplier-create-button{white-space:nowrap;height:46px;padding:0 13px}.supplier-create-button:disabled{opacity:.5;cursor:not-allowed}.supplier-quick-create{z-index:120}.supplier-quick-create .dialog-head h2{align-items:center;gap:8px;display:flex}.supplier-quick-create .dialog-head h2 svg{color:var(--brand)}@media (max-width:480px){.supplier-select-row{grid-template-columns:minmax(0,1fr)}.supplier-create-button{justify-self:start;height:40px}}.detail-purchase-scroll{background:var(--canvas);flex:1;min-height:0;padding:18px 14px 28px;overflow-y:auto}.detail-purchase-content{gap:14px;width:min(100%,720px);margin:0 auto;display:grid}.detail-purchase-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.detail-purchase-heading h1{letter-spacing:-.03em;margin:4px 0;font-size:25px}.detail-purchase-heading p{color:var(--muted);margin:0;font-size:13px}.detail-mode-tag{white-space:nowrap;color:#5b21b6;background:#ede9fe;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.detail-totals-sticky{z-index:6;background:var(--canvas);grid-template-columns:1fr 1fr;gap:9px;padding:8px 0;display:grid;position:sticky;top:0}.detail-totals-sticky>div{color:#211832;background:#ede9fe;border-radius:11px;gap:1px;padding:9px 12px;display:grid}.detail-totals-sticky small{color:#625778;font-size:11px;font-weight:700}.detail-totals-sticky strong{font-size:19px;line-height:1.25}.detail-party-section{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.detail-party-section label,.detail-price-field,.detail-location-field{gap:5px;font-size:12px;font-weight:750;display:grid}.detail-party-section select,.detail-price-field input,.detail-location-field select,.detail-product-search input,.detail-weight-row input{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;border-radius:9px;padding:9px 11px}.detail-add-farmer{white-space:nowrap;height:44px}.detail-location-hint{color:var(--muted);margin:-7px 0 0;font-size:12px}.detail-product-picker h2{margin:0 0 7px;font-size:15px}.detail-product-search{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:9px;align-items:center;gap:8px;padding:0 10px;display:flex}.detail-product-search input{background:0 0;border:0;outline:0;flex:1;min-width:0}.detail-categories{gap:7px;padding:8px 1px;display:flex;overflow-x:auto}.detail-categories button{white-space:nowrap;border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:999px;padding:7px 11px;font-weight:700}.detail-categories button.selected{background:var(--brand);border-color:var(--brand);color:#fff}.detail-product-list{gap:6px;max-height:185px;display:grid;overflow-y:auto}.detail-product-choice{text-align:left;border:1px solid var(--line);background:var(--paper);min-height:54px;color:var(--ink);border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 11px;display:flex}.detail-product-choice>span{gap:2px;display:grid}.detail-product-choice small{color:var(--muted);font-size:11px}.detail-product-choice b{color:var(--brand);white-space:nowrap}.detail-empty-products,.detail-empty-weight{text-align:center;color:var(--muted);margin:0;padding:14px;font-size:13px}.detail-weight-sections{gap:11px;display:grid}.detail-product-group{border:1px solid var(--line);background:var(--paper);border-radius:12px;gap:9px;padding:12px;display:grid}.detail-product-group>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.detail-product-group>header>div{gap:2px;display:grid}.detail-product-group>header small{color:var(--muted);font-size:11px}.detail-add-row{color:#5b21b6;background:#f1eafe;border:0;border-radius:8px;align-items:center;gap:4px;min-height:38px;padding:0 9px;font-weight:750;display:flex}.detail-price-field{font-size:11px}.detail-weight-rows{gap:7px;display:grid}.detail-weight-row{grid-template-columns:22px minmax(0,1fr) minmax(0,.78fr) 38px;align-items:end;gap:7px;display:grid}.detail-row-number{color:var(--muted);text-align:center;align-self:center;font-size:12px;font-weight:750}.detail-weight-row label{color:var(--muted);gap:4px;font-size:11px;font-weight:750;display:grid}.detail-weight-row input{width:100%;font-size:16px}.detail-weight-row button{color:#b42318;background:#fff0ef;border:0;border-radius:8px;place-items:center;width:38px;height:42px;display:grid}.detail-product-subtotal{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding-top:8px;font-size:12px;display:flex}.detail-product-subtotal strong{color:var(--ink)}.detail-purchase-footer{z-index:5;background:linear-gradient(180deg,transparent,var(--canvas) 18%);grid-template-columns:1fr 1.25fr;align-items:center;gap:10px;padding:10px 0 0;display:grid;position:sticky;bottom:0}.detail-purchase-footer>div{gap:1px;display:grid}.detail-purchase-footer small{color:var(--muted);font-size:11px}.detail-purchase-footer strong{font-size:18px}.detail-purchase-footer button{min-height:48px}.pos-available-cash+.detail-purchase-scroll{padding-top:10px}@media (max-width:600px){.detail-purchase-scroll{padding:13px 12px 18px}.detail-purchase-content{gap:12px}.detail-purchase-heading h1{font-size:21px}.detail-purchase-heading p{font-size:12px}.detail-totals-sticky>div{padding:8px 10px}.detail-totals-sticky strong{font-size:17px}.detail-product-list{max-height:160px}.detail-party-section{grid-template-columns:minmax(0,1fr) auto}.detail-add-farmer{padding:0 8px;font-size:12px}.detail-product-group{padding:10px}.detail-weight-row{grid-template-columns:19px minmax(0,1fr) minmax(0,.8fr) 36px;gap:5px}.detail-weight-row button{width:36px;height:44px}.detail-purchase-footer{grid-template-columns:minmax(0,1fr) 1.25fr}.detail-purchase-footer strong{font-size:16px}.detail-purchase-footer button{padding:9px 8px;font-size:13px}}.detail-totals-sticky{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.detail-totals-sticky>div{min-width:0;padding:7px 9px}.detail-totals-sticky small{font-size:clamp(10px,2.7vw,12px)}.detail-context-card strong{overflow-wrap:anywhere;font-size:clamp(13px,3.5vw,17px);line-height:1.2;display:block}.detail-total-card strong{font-size:clamp(16px,4.5vw,21px)}.detail-entry-heading{align-items:center}.detail-entry-heading h1{font-size:clamp(19px,5vw,25px)}.detail-back-to-entry{white-space:nowrap;min-height:40px;padding:8px 10px;font-size:clamp(11px,3vw,13px)}.detail-farmer-context{color:var(--ink);align-items:center;gap:8px;padding:2px 1px;display:flex}.detail-farmer-context small{color:var(--muted);font-size:12px;font-weight:700}.detail-farmer-context strong{font-size:13px}.detail-product-summary{background:#f3efff;border-radius:9px;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;display:grid}.detail-product-summary>div{gap:2px;min-width:0;display:grid}.detail-product-summary small{color:#625778;font-size:10px;font-weight:700}.detail-product-summary strong{overflow-wrap:anywhere;color:#211832;font-size:clamp(12px,3.5vw,15px);line-height:1.2}@media (max-width:380px){.detail-product-summary{gap:4px;padding:7px 6px}.detail-product-summary small{font-size:9px}.detail-product-summary strong{font-size:11px}}.labor-pos-fields{grid-template-columns:minmax(0,2fr) minmax(110px,1fr);gap:12px;margin:10px 0;display:grid}.labor-pos-fields label{gap:6px;font-size:13px;font-weight:750;display:grid}.labor-pos-fields select,.labor-pos-fields input{border:1px solid var(--line);width:100%;min-width:0;min-height:42px;color:var(--ink);background:#fff;border-radius:9px;padding:8px 10px}@media (max-width:520px){.labor-pos-fields{grid-template-columns:1fr 100px;gap:8px}.labor-pos-fields label{font-size:12px}}@media (max-width:600px){.pos-payment-screen{gap:10px;padding:8px 10px 14px}.payment-card,.payment-summary{border-radius:12px;padding:13px}.payment-back{min-height:38px;margin:0 0 12px;padding:7px 10px;font-size:13px}.payment-card>.eyebrow{letter-spacing:.1em;font-size:10px}.payment-card h1{margin:5px 0 4px;font-size:23px;line-height:1.15}.payment-card>p{margin:0 0 12px;font-size:13px;line-height:1.4}.payment-fields{gap:10px;margin-top:11px}.payment-fields label{gap:5px;font-size:11px}.payment-fields input,.payment-fields select{height:40px}.supplier-select-row{gap:7px}.supplier-create-button{height:38px;padding:0 10px;font-size:12px}.split-payment-heading{margin-bottom:7px}.split-payment-line{border-radius:10px;padding:10px}.split-payment-title{margin-bottom:7px}.split-payment-grid{gap:8px}.payment-summary h2{margin:0 0 9px;font-size:17px}.summary-lines{gap:7px;margin:10px 0}.summary-lines>div{padding-bottom:7px;font-size:13px}.summary-total{padding-top:10px}.summary-total strong{font-size:19px}.confirm-payment{height:44px;margin-top:12px}.detail-purchase-scroll{padding:8px 10px 14px}.detail-purchase-content{gap:9px}.detail-purchase-heading h1{margin:2px 0;font-size:19px}.detail-purchase-heading p{font-size:11px;line-height:1.3}.detail-totals-sticky{gap:5px;padding:5px 0}.detail-totals-sticky>div{padding:6px 8px}.detail-totals-sticky strong{font-size:15px}.detail-party-section label{font-size:11px}.detail-party-section select,.detail-add-farmer{height:39px;min-height:39px}.detail-product-picker h2{margin-bottom:5px;font-size:14px}.detail-product-search input{min-height:39px;font-size:14px}.detail-categories{gap:6px;padding:5px 0}.detail-categories button{padding:6px 9px;font-size:12px}.detail-product-list{gap:5px;max-height:145px}.detail-product-choice{min-height:47px;padding:6px 9px}.detail-product-group{gap:7px;padding:8px}.detail-weight-sections{gap:8px}.detail-purchase-footer{gap:7px;padding-top:7px}.detail-purchase-footer button{min-height:42px}}.purchase-draft-toolbar{border:1px solid var(--line);background:var(--paper);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 18px 0;padding:10px 12px;display:flex}.purchase-draft-toolbar-label{gap:2px;margin-right:auto;display:grid}.purchase-draft-toolbar-label strong{font-size:13px}.purchase-draft-toolbar-label small{color:var(--muted);font-size:11px}.purchase-draft-select{align-items:center;gap:8px;min-width:0;font-size:12px;font-weight:700;display:flex}.purchase-draft-select select{border:1px solid var(--line);background:var(--paper);min-width:170px;max-width:300px;min-height:40px;font:inherit;border-radius:9px;padding:8px 10px}.purchase-draft-new{justify-content:center;align-items:center;gap:6px;min-height:40px;padding:8px 12px;display:inline-flex}.detail-labor-section{border:1px solid var(--line);background:var(--paper);border-radius:12px;gap:9px;padding:13px;display:grid}.detail-labor-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.detail-labor-heading strong{font-size:14px}.detail-labor-heading small{color:var(--muted);font-size:11px}.detail-labor-fields{grid-template-columns:minmax(0,2fr) minmax(100px,1fr);gap:10px;display:grid}.detail-labor-fields label{gap:5px;font-size:12px;font-weight:700;display:grid}.detail-labor-fields select,.detail-labor-fields input{border:1px solid var(--line);background:var(--paper);width:100%;min-width:0;min-height:44px;color:var(--ink);font:inherit;border-radius:9px;padding:8px 10px}.detail-labor-fields input:disabled{opacity:.6}.detail-labor-hint{color:var(--muted);margin:0;font-size:12px}.detail-labor-hint a{color:var(--brand);font-weight:700}.purchase-allocation-warning{color:#b54708;background:#fff6ed;border:1px solid #fedf89;border-radius:9px;margin:0;padding:9px 11px;font-size:12px;font-weight:700}@media (max-width:700px){.purchase-draft-toolbar{gap:8px;margin:8px 10px 0}.purchase-draft-toolbar-label{width:100%}.purchase-draft-select{flex:1;min-width:0}.purchase-draft-select select{width:100%;min-width:0;max-width:none}.purchase-draft-new{white-space:nowrap}.detail-labor-section{padding:10px}.detail-labor-fields{grid-template-columns:minmax(0,1fr) 95px}}@media (max-width:410px){.purchase-draft-new{width:100%}}.purchase-order-topbar{z-index:35;color:#fff;box-sizing:border-box;background:#211b3d;border-top:1px solid #ffffff25;flex:none;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:5px 18px;display:flex;position:relative}.purchase-order-current{white-space:nowrap;align-items:center;gap:7px;min-width:0;display:flex}.purchase-order-current>span{color:#cfc9e9;font-size:12px;font-weight:650}.purchase-order-current>strong{letter-spacing:.02em;color:#fff;font-size:14px;font-weight:800}.purchase-order-current>small{color:#d9d2fe;background:#433569;border-radius:5px;padding:3px 6px;font-size:10px}.purchase-order-tools{flex:none;align-items:center;gap:6px;display:flex}.purchase-order-mode select{color:#fff;background:#332a51;border:1px solid #71628d;border-radius:7px;width:98px;max-width:100%;height:35px;padding:0 7px;font-size:12px;font-weight:700}.purchase-order-icon{color:#fff;cursor:pointer;background:#332a51;border:1px solid #6d6087;border-radius:9px;place-items:center;width:36px;height:36px;display:grid;position:relative}.purchase-order-icon:hover,.purchase-order-icon:focus-visible{background:#514178;outline-color:#ddd6fe}.purchase-order-icon:disabled{opacity:.5;cursor:not-allowed}.purchase-order-new{background:#6d28d9;border-color:#8760e3}.purchase-order-count{color:#261749;background:#fbbf24;border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 3px;font-size:10px;font-weight:850;display:grid;position:absolute;top:-5px;right:-5px}.purchase-drafts-popover{z-index:45;width:min(350px,100vw - 24px);max-height:min(380px,100dvh - 160px);color:var(--ink);background:#fff;border:1px solid #dcd5ef;border-radius:12px;padding:12px;position:absolute;top:calc(100% + 4px);right:12px;overflow:auto;box-shadow:0 12px 35px #140a3240}.purchase-drafts-popover-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding-bottom:9px;display:flex}.purchase-drafts-popover-head>button{width:30px;height:30px;color:var(--ink);background:#f4f2fa;border:0;border-radius:7px;place-items:center;display:grid}.purchase-drafts-list{gap:7px;padding-top:9px;display:grid}.purchase-drafts-current,.purchase-drafts-item{border:1px solid var(--line);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px;font-size:12px;display:flex}.purchase-drafts-current{background:#f2edff;border-color:#dcd0ff}.purchase-drafts-item{text-align:left;width:100%;color:var(--ink);background:#fff}.purchase-drafts-item:hover{background:#faf8ff;border-color:#b7a3ec}.purchase-drafts-current>strong,.purchase-drafts-item>strong{flex-shrink:0;font-size:12px}.purchase-drafts-current>span,.purchase-drafts-item>span{color:var(--muted);text-align:right;font-size:11px}.purchase-drafts-empty{color:var(--muted);margin:5px 0;font-size:12px}.purchase-drafts-help{color:var(--muted);margin-top:9px;font-size:11px;display:block}@media (max-width:520px){.purchase-order-topbar{gap:6px;min-height:44px;padding:4px 10px}.purchase-order-current{gap:5px}.purchase-order-current>span{font-size:11px}.purchase-order-current>strong{font-size:12px}.purchase-order-current>small{padding:2px 4px;font-size:9px}.purchase-order-tools{gap:5px}.purchase-order-mode select{width:83px;height:34px;padding:0 4px;font-size:11px}.purchase-order-icon{width:34px;height:34px}.purchase-drafts-popover{right:8px}}@media (max-width:355px){.purchase-order-current>span{display:none}.purchase-order-mode select{width:75px}}.purchase-order-mode-label{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.purchase-order-topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;max-width:100%;display:grid}.purchase-order-current{min-width:0;max-width:100%;overflow:hidden}.purchase-order-current>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.purchase-order-tools{justify-self:end;min-width:0}.purchase-order-mode{flex:none;min-width:0;display:block;position:relative}.purchase-order-mode select{box-sizing:border-box;display:block}.purchase-order-icon{flex:none}@media (max-width:520px){.purchase-order-topbar{gap:8px;min-height:50px;padding:6px 10px}.purchase-order-current{gap:5px}.purchase-order-current>small{display:none}.purchase-order-tools{gap:6px}.purchase-order-mode select{width:95px;max-width:95px;height:38px;padding:0 6px;font-size:12px}.purchase-order-icon{width:38px;height:38px}}@media (max-width:380px){.purchase-order-current>span{display:none}.purchase-order-current>strong{font-size:12px}.purchase-order-tools{gap:5px}.purchase-order-mode select{width:86px;max-width:86px}}@media (max-width:310px){.purchase-order-topbar{grid-template-columns:minmax(0,1fr);gap:4px;padding:6px 9px}.purchase-order-current{min-height:20px}.purchase-order-tools{justify-self:end}}
.purchase-pos-full kbd{color:#3f365f;background:#fff;border:1px solid #b9b4ca;border-bottom-width:2px;border-radius:5px;place-items:center;min-width:25px;height:21px;padding:0 5px;font:700 10px/1 system-ui;display:inline-grid}.pos-topbar kbd{color:#fff;background:#4a4168;border-color:#766d91}.pos-search>kbd{flex:none}.pos-product.keyboard-selected,.pos-cart-line.keyboard-selected{border-color:#7c3aed!important;box-shadow:0 0 0 3px #7c3aed24!important}.pos-cart-line:focus{outline:none}.pos-payment-button kbd,.confirm-payment kbd{margin-right:7px}.confirm-payment:before{content:"F10";color:#fff;background:#ffffff20;border:1px solid #ffffff80;border-bottom-width:2px;border-radius:5px;place-items:center;min-width:27px;height:21px;margin-right:3px;padding:0 5px;font:800 10px/1 system-ui;display:inline-grid}.quality-options button:focus{border-color:#7c3aed;outline:3px solid #7c3aed40}.pos-topbar label{font-weight:700}
.print-receipt-button{align-items:center;gap:7px;display:flex}.thermal-receipt{display:none}@media print{@page{size:80mm auto;margin:3mm}html,body{background:#fff!important}.app-shell,.toast-stack,.pos-complete{display:none!important}.purchase-pos-full{background:#fff!important;display:block!important;position:static!important}.thermal-receipt{color:#000;width:74mm;margin:0 auto;font-family:Arial,sans-serif;font-size:10px;display:block!important}.thermal-receipt header{text-align:center;border-bottom:1px dashed #000;padding-bottom:7px}.thermal-receipt header h1{margin:0;font-size:18px}.thermal-receipt header p{margin:2px 0 7px}.thermal-receipt header>b{font-size:14px}.receipt-details{border-bottom:1px dashed #000;grid-template-columns:22mm 1fr;gap:3px;padding:8px 0;display:grid}.receipt-details span,.receipt-details b{font-weight:400}.receipt-items{padding:7px 0}.receipt-table-head{border-bottom:1px solid #000;grid-template-columns:5mm 1fr 23mm;padding-bottom:4px;font-weight:800;display:grid}.receipt-table-head span:last-child{text-align:right}.receipt-item{grid-template-columns:5mm 1fr 23mm;gap:2px;padding:5px 0;display:grid}.receipt-item>span:nth-child(2){display:grid}.receipt-item small{margin-top:2px}.receipt-item>strong{text-align:right}.receipt-totals{border-top:1px dashed #000;border-bottom:1px dashed #000;gap:4px;padding:6px 0;display:grid}.receipt-totals span{justify-content:flex-end;gap:12px;display:flex}.receipt-totals span b{text-align:right;width:26mm}.receipt-totals .grand-total{border-top:1px solid #000;border-bottom:1px solid #000;padding:5px 0;font-size:14px;font-weight:900}.receipt-totals>strong{text-align:center;margin-top:4px;font-size:12px}.thermal-receipt footer{text-align:center;gap:2px;padding-top:9px;display:grid}.thermal-receipt footer b{font-size:12px}}
@media print{.app-shell{display:grid!important}body *{visibility:hidden!important}.thermal-receipt,.thermal-receipt *{visibility:visible!important}.thermal-receipt{background:#fff!important;width:74mm!important;margin:0!important;display:block!important;position:absolute!important;top:0!important;left:0!important}.purchase-pos-full{background:#fff!important;display:block!important;position:static!important}.pos-complete,.toast-stack,.sidebar,.topbar{display:none!important}.workspace,.page-content{max-width:none!important;margin:0!important;padding:0!important;display:block!important}}
.cheque-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.summary-payment-status{text-transform:capitalize;background:#f7f5fc;border-radius:10px;gap:4px;margin:14px 0;padding:13px;display:grid}.summary-payment-status span,.summary-payment-status small{color:var(--muted)}.summary-payment-status small{text-transform:none}@media (max-width:520px){.cheque-fields{grid-template-columns:1fr}}.split-payments{gap:12px;display:grid}.split-payment-heading,.split-payment-title{justify-content:space-between;align-items:center;gap:10px;display:flex}.split-payment-heading button{align-items:center;gap:5px;display:flex}.split-payment-line{border:1px solid var(--line);background:#fafafd;border-radius:12px;padding:13px}.split-payment-title{margin-bottom:11px}.split-payment-title button{color:#b42318;background:#fee4e2;border:0;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.split-payment-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.split-payment-grid .wide{grid-column:1/-1}.bank-account-details{background:#f1eff8;border-radius:9px;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px;display:grid}.bank-account-details span{gap:2px;display:grid}.bank-account-details small{color:var(--muted);font-size:10px}.bank-account-details b{font-size:11px}.allocation-summary{border:1px solid;border-radius:10px;gap:7px;margin:14px 0;padding:13px;display:grid}.allocation-summary span{justify-content:space-between;display:flex}.allocation-summary small{color:var(--muted)}.allocation-summary>strong{text-align:center;margin-top:3px}.allocation-summary.balanced{color:#067647;background:#ecfdf3;border-color:#abefc6}.allocation-summary.unbalanced{color:#b54708;background:#fff6ed;border-color:#fedf89}.receipt-payment-lines{border-top:1px dashed #000;gap:3px;padding:6px 0;display:grid}.receipt-payment-lines div{text-transform:capitalize;justify-content:space-between;display:flex}@media (max-width:520px){.split-payment-grid,.bank-account-details{grid-template-columns:1fr}.split-payment-grid .wide{grid-column:auto}}
.auth-link{text-align:center;color:var(--brand-dark);font-weight:750;text-decoration:none}.auth-link:hover{text-decoration:underline}.alert.success{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.login-form button:disabled{cursor:not-allowed;opacity:.6}.user-row-actions{flex-wrap:wrap;gap:7px;display:flex}.user-row-actions button{align-items:center;gap:5px;display:inline-flex}
.bank-account-heading{justify-content:space-between;align-items:start;gap:18px;margin-bottom:18px;display:flex}.bank-account-heading h2{margin:6px 0}.bank-account-heading p{color:var(--muted);margin:0}@media (max-width:700px){.bank-account-heading{flex-direction:column}}
.cash-chip{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:11px;gap:2px;padding:10px 14px;font-size:12px;display:grid}.cash-chip strong{color:var(--ink);font-size:18px}.page-alert{margin-bottom:14px}.purchase-form{gap:22px;display:grid}.purchase-form label{color:var(--muted);gap:6px;font-size:12px;font-weight:800;display:grid}.purchase-form input,.purchase-form select{border:1px solid var(--line);height:42px;color:var(--ink);background:#fff;border-radius:8px;padding:0 10px}.thirds{grid-template-columns:repeat(3,1fr)}.span-two{grid-column:span 2}.line-heading{border-top:1px solid var(--line);justify-content:space-between;align-items:end;gap:14px;padding-top:3px;display:flex}.line-heading h2{margin:18px 0 3px;font-size:18px}.line-heading p{color:var(--muted);margin:0;font-size:13px}.purchase-lines{gap:9px;display:grid}.purchase-line{background:#fafafd;border:1px solid #ececf1;border-radius:11px;grid-template-columns:30px 1.2fr 1fr 1fr .8fr .8fr 36px;align-items:end;gap:8px;padding:11px;display:grid}.purchase-line:has(label:nth-of-type(6)){grid-template-columns:30px 1.15fr 1fr 1fr .75fr .8fr .8fr 36px}.purchase-line label small{font-size:10px;font-weight:600}.line-number{width:26px;height:26px;color:var(--brand);background:#ede9fe;border-radius:8px;place-items:center;margin-bottom:8px;font-weight:900;display:grid}.delete-line{color:#b42318;background:#fef3f2;border:0;border-radius:8px;height:42px}.line-empty{text-align:center;color:var(--muted);border:1px dashed #d8d8e1;border-radius:11px;padding:32px}.alert.warning{color:#93370d;background:#fff8eb;border:1px solid #fedf89}.purchase-actions{justify-content:flex-end;gap:10px;display:flex}.success-page{text-align:center;max-width:720px;margin:70px auto;padding:60px}.success-page>svg{color:#079455}.success-page h1{margin:15px 0 5px}.success-page p{color:var(--muted)}.success-page>strong{margin:20px;font-size:28px;display:block}.success-page>div{justify-content:center;gap:10px;display:flex}@media (max-width:1100px){:is(.purchase-line,.purchase-line:has(label:nth-of-type(6))){grid-template-columns:30px repeat(3,1fr)}.delete-line{grid-column:4}}@media (max-width:760px){.thirds{grid-template-columns:1fr}.span-two{grid-column:auto}:is(.purchase-line,.purchase-line:has(label:nth-of-type(6))){grid-template-columns:30px 1fr}.purchase-line>*{grid-column:2}.purchase-line>.line-number{grid-area:1/1}.purchase-line>.delete-line{grid-column:2}.line-heading{align-items:start}.success-page{margin:20px auto;padding:35px 18px}}.purchase-list-filters{grid-template-columns:minmax(210px,1.4fr) repeat(4,minmax(130px,1fr));align-items:end;gap:12px;margin-bottom:16px;padding:16px;display:grid}.purchase-list-filters label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:11px;font-weight:800;display:grid}.purchase-list-filters input,.purchase-list-filters select{border:1px solid var(--line);width:100%;min-width:0;height:40px;color:var(--ink);font:inherit;text-transform:none;background:#fff;border-radius:8px;padding:0 9px}.purchase-list-filters .purchase-list-search{grid-column:span 2}.purchase-filter-actions{align-items:center;gap:8px;display:flex}.purchase-filter-actions button,.purchase-filter-actions a{white-space:nowrap;justify-content:center;align-items:center;height:40px;text-decoration:none;display:inline-flex}.purchase-list-summary{color:var(--muted);border-bottom:1px solid var(--line);padding:13px 16px;font-size:13px}.purchase-list-pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:flex-end;align-items:center;gap:14px;padding:14px 16px;font-size:13px;display:flex}.purchase-list-pagination a{border:1px solid var(--line);color:var(--brand-dark);background:#fff;border-radius:8px;padding:8px 12px;font-weight:700;text-decoration:none}.purchase-list-pagination a.disabled{pointer-events:none;opacity:.45}@media (max-width:1000px){.purchase-list-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-list-filters .purchase-list-search{grid-column:span 2}}@media (max-width:600px){.purchase-list-filters{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.purchase-list-filters .purchase-list-search,.purchase-filter-actions{grid-column:1/-1}.purchase-list-table{overflow-x:auto}.purchase-list-table table{min-width:850px}.purchase-list-pagination{justify-content:space-between}}
.stock-metrics{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px;display:grid}.stock-metrics article{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:13px;padding:17px;display:flex}.stock-metrics svg{width:36px;height:36px;color:var(--brand);background:#f1eafe;border-radius:10px;padding:8px}.stock-metrics span{display:grid}.stock-metrics small{color:var(--muted)}.stock-metrics b{font-size:20px}.stock-filter-panel{margin-bottom:16px;padding:16px}.stock-search{border:1px solid var(--line);border-radius:10px;align-items:center;gap:9px;height:48px;padding:0 12px;display:flex}.stock-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #6d28d915}.stock-search svg{width:19px;color:var(--muted)}.stock-search input{border:0;outline:0;width:100%;font-size:14px}.stock-filters{grid-template-columns:repeat(5,minmax(135px,1fr)) auto;align-items:end;gap:10px;margin-top:12px;display:grid}.stock-filters label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:11px;font-weight:800;display:grid}.stock-filters select{border:1px solid var(--line);text-transform:none;background:#fff;border-radius:8px;height:40px;padding:0 8px}.stock-reset{align-items:center;gap:6px;height:40px;display:flex}.stock-reset svg{width:15px}.stock-category-row td{color:var(--brand);border-top:2px solid #d9ccfc;background:#f5f2ff!important}.stock-category-row td:first-child{align-items:center;gap:10px;display:flex}.stock-category-row small{color:var(--muted)}.stock-product-code{color:var(--muted);margin-top:2px;font-size:10px;display:block}.negative-stock{color:#b42318;font-weight:800}@media (max-width:1150px){.stock-filters{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.stock-metrics{grid-template-columns:1fr}.stock-filters{grid-template-columns:1fr 1fr}.stock-table{overflow-x:auto}.stock-table table{min-width:850px}}@media (max-width:460px){.stock-filters{grid-template-columns:1fr}}
.report-filters{margin-bottom:16px;padding:16px}.report-periods{flex-wrap:wrap;gap:7px;display:flex}.report-periods button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;padding:8px 12px;font-weight:700}.report-periods button.active{background:var(--brand);border-color:var(--brand);color:#fff}.report-dates{gap:10px;margin-top:12px;display:flex}.report-dates label,.report-selects label{color:var(--muted);text-transform:uppercase;gap:5px;font-size:11px;font-weight:800;display:grid}.report-dates input,.report-selects select{border:1px solid var(--line);background:#fff;border-radius:8px;height:40px;padding:0 9px}.report-search{border:1px solid var(--line);border-radius:9px;align-items:center;gap:8px;height:46px;margin-top:12px;padding:0 11px;display:flex}.report-search:focus-within{border-color:var(--brand)}.report-search svg{width:18px;color:var(--muted)}.report-search input{border:0;outline:0;flex:1}.report-selects{grid-template-columns:repeat(4,minmax(130px,1fr)) auto;align-items:end;gap:10px;margin-top:12px;display:grid}.report-selects button{align-items:center;gap:6px;height:40px;display:flex}.report-selects svg{width:15px}.report-cards{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px;display:grid}.report-cards article{border:1px solid var(--line);background:#fff;border-radius:13px;align-items:center;gap:11px;padding:15px;display:flex}.report-cards article>svg{width:36px;height:36px;color:var(--brand);background:#f1eafe;border-radius:9px;padding:8px}.report-cards span{display:grid}.report-cards small{color:var(--muted)}.report-cards b{font-size:18px}.report-grid{grid-template-columns:1fr 1.3fr;gap:16px;margin-bottom:16px;display:grid}.report-breakdown,.report-centers{padding:18px}.report-breakdown h2,.report-centers h2{margin-top:0}.report-breakdown>div{border-bottom:1px solid var(--line);grid-template-columns:1fr auto 44px;align-items:center;gap:12px;padding:11px 0;display:grid}.report-breakdown span{display:grid}.report-breakdown small,.report-centers small{color:var(--muted)}.report-breakdown em{text-align:center;color:var(--brand);background:#f1eafe;border-radius:999px;padding:5px;font-size:11px;font-style:normal;font-weight:800}.report-centers>div{border-bottom:1px solid var(--line);grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:11px 0;display:grid}.report-centers>div>span{display:grid}.report-table tbody tr{cursor:pointer}.report-table tbody tr:hover td{background:#faf8ff}.method-pill{color:var(--brand);background:#f1eafe;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800;display:inline-block}.report-detail dl{grid-template-columns:140px 1fr;gap:10px;margin:0;display:grid}.report-detail dt{color:var(--muted)}.report-detail dd{margin:0;font-weight:700}@media (max-width:1050px){.report-selects{grid-template-columns:repeat(3,1fr)}.report-grid{grid-template-columns:1fr}}@media (max-width:700px){.report-cards,.report-selects{grid-template-columns:1fr 1fr}.report-table{overflow-x:auto}.report-table table{min-width:900px}}@media (max-width:460px){.report-cards,.report-selects,.report-centers>div,.report-detail dl{grid-template-columns:1fr}.report-detail dd{margin-bottom:6px}}
.report-section-title{margin:22px 0 12px}.bank-report-grid{grid-template-columns:1fr 1fr}.bank-summary{padding:18px;overflow-x:auto}.bank-summary h2{margin-top:0}.bank-summary-table{min-width:650px}.bank-summary-head,.bank-summary-table>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1.4fr) repeat(4,minmax(90px,1fr));align-items:center;gap:10px;padding:10px 0;display:grid}.bank-summary-head{color:var(--muted);text-transform:uppercase;font-size:11px}.bank-summary-table>div>span:first-child{display:grid}.bank-summary-table small{color:var(--muted)}.bank-summary-table>div>span:not(:first-child),.bank-summary-table>div>strong{text-align:right}.report-account{color:var(--muted);margin-top:2px;font-size:10px;display:block}@media (max-width:1050px){.bank-report-grid{grid-template-columns:1fr}}
.nav-report-group{display:grid}.nav-report-group>a{width:100%}.nav-submenu{border-left:1px solid #ffffff26;margin:0 0 4px 42px;padding-left:8px;display:grid}.sidebar nav .nav-submenu a{color:#aaa7bd;padding:7px 9px;font-size:12px}.sidebar nav .nav-submenu a:hover{color:#fff}.payable-summary{padding:18px}.payable-summary h2{margin-top:0}.payable-summary-table{overflow-x:auto}.payable-head,.payable-summary-table>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(190px,1.5fr) 90px repeat(3,minmax(120px,1fr));align-items:center;gap:12px;min-width:760px;padding:11px 0;display:grid}.payable-head{text-transform:uppercase;color:var(--muted);font-size:11px}.payable-summary-table>div>span:first-child{display:grid}.payable-summary-table small{color:var(--muted)}.payable-summary-table>div>span:not(:first-child),.payable-summary-table>div>strong{text-align:right}@media (max-width:1050px){.nav-submenu{display:none}}
.cheque-setting{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:end;gap:8px;padding:10px;display:flex}.cheque-setting label{align-items:center;gap:8px;font-size:13px;font-weight:700;display:flex}.cheque-setting input{border:1px solid var(--line);border-radius:8px;width:68px;height:40px;padding:0 9px}.alert.success{color:#067647;background:#ecfdf3;border:1px solid #abefc6}.cheque-filters{gap:14px;display:grid}.cheque-table td small{color:var(--muted);margin-top:4px;display:block}.cheque-table tr.cheque-due td:first-child{border-left:4px solid #f59e0b}.cheque-table tr.cheque-overdue td:first-child{border-left:4px solid #d92d20}.cheque-status{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.cheque-status.pending{color:#c2410c;background:#fff7ed}.cheque-status.deposited{color:#175cd3;background:#eff8ff}.cheque-status.cleared{color:#067647;background:#ecfdf3}.cheque-status.bounced{color:#b42318;background:#fef3f2}.cheque-status.cancelled{color:#475467;background:#f2f4f7}.cheque-table select{border:1px solid var(--line);text-transform:capitalize;background:#fff;border-radius:8px;min-width:118px;padding:8px}.dashboard-notifications{padding:0;overflow:hidden}.notification-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.notification-heading>div{align-items:center;gap:12px;display:flex}.notification-heading h2{margin:0 0 3px;font-size:18px}.notification-heading p{color:var(--muted);margin:0;font-size:13px}.notification-heading>a{color:var(--brand);font-weight:750;text-decoration:none}.notification-icon{width:42px;height:42px;color:var(--brand);background:#f4ebff;border-radius:12px;place-items:center;display:grid}.notification-list{display:grid}.notification-list article{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px 22px;display:grid}.notification-list article:last-child{border-bottom:0}.notification-list article svg{width:20px}.notification-list article.upcoming svg{color:#d97706}.notification-list article.overdue{background:#fff8f7}.notification-list article.overdue svg,.notification-list article.overdue>strong{color:#b42318}.notification-list article div{gap:3px;display:grid}.notification-list article span{color:var(--muted);font-size:13px}.notification-list article>strong{font-size:13px}.notification-empty{color:#067647;align-items:center;gap:9px;padding:24px;display:flex}.notification-empty span{background:#dcfae6;border-radius:50%;place-items:center;width:25px;height:25px;font-weight:900;display:grid}.topbar-actions{align-items:center;gap:10px;display:flex!important}.notification-bell{position:relative}.bell-button{border:1px solid var(--line);width:42px;height:42px;color:var(--ink);background:#fff;border-radius:11px;place-items:center;display:grid;position:relative}.bell-button:hover{color:var(--brand);background:#f7f5ff}.bell-button svg{width:20px}.bell-button>span{color:#fff;background:#d92d20;border:2px solid #fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:10px;font-weight:900;display:grid;position:absolute;top:-6px;right:-5px}.notification-popover{z-index:30;border:1px solid var(--line);background:#fff;border-radius:15px;width:min(410px,100vw - 28px);position:absolute;top:50px;right:0;overflow:hidden;box-shadow:0 18px 50px #17152d2e}.notification-popover header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px;display:flex}.notification-popover header>div:first-child{gap:2px;display:grid}.notification-popover header small{color:var(--muted)}.notification-popover header>div:last-child{gap:4px;display:flex}.notification-popover header button{color:var(--brand);background:#f4f2f8;border:0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.notification-popover header svg{width:17px}.notification-popover-list{max-height:390px;overflow-y:auto}.notification-popover article{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr;gap:11px;padding:14px 16px;display:grid}.notification-popover article.unread{background:#faf8ff}.notice-type{color:#d92d20;background:#fff1f0;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.notice-type svg{width:17px}.notification-popover article div{gap:4px;display:grid}.notification-popover article p{color:#475467;margin:0;font-size:13px;line-height:1.4}.notification-popover article small{color:var(--muted);font-size:11px}.notification-popover footer{text-align:center;padding:12px 16px}.notification-popover footer a{color:var(--brand);font-size:13px;font-weight:800;text-decoration:none}.popover-empty{text-align:center;color:var(--muted);justify-items:center;gap:8px;padding:34px 16px;display:grid}.price-alerts .notification-icon{color:#d92d20;background:#fff1f0}.notification-list article.price-alert{background:#fffaf9}.notification-list article.price-alert svg,.notification-list article.price-alert>strong{color:#d92d20}.notification-list article.read-alert{opacity:.72}.notification-list article.read-alert svg{color:#98a2b3}@media (max-width:760px){.cheque-setting{justify-content:space-between;width:100%}.notification-heading{align-items:flex-start}.notification-list article{grid-template-columns:auto 1fr}.notification-list article>strong{grid-column:2}.notification-heading p{display:none}.notification-popover{position:fixed;top:62px;right:14px}}
.cash-receipt-section{margin-top:20px}.cash-section-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.cash-section-title>div{align-items:center;gap:12px;display:flex}.cash-section-title span{color:#c2410c;background:#fff7ed;border-radius:12px;place-items:center;width:44px;height:44px;display:grid}.cash-section-title h2,.table-title h2{margin:0 0 4px;font-size:20px}.cash-section-title p,.table-title p{color:var(--muted);margin:0;font-size:13px}.cash-section-title>b{color:#b42318;background:#fff1f0;border-radius:999px;padding:6px 10px;font-size:12px}.cash-receipt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.cash-receipt-card{background:#fff;border:1px solid #fedf89;border-top:4px solid #f59e0b;border-radius:15px;gap:15px;padding:18px;display:grid}.receipt-card-head{align-items:center;gap:11px;display:flex}.receipt-card-head>span{color:#c2410c;background:#fff7ed;border-radius:11px;place-items:center;width:40px;height:40px;display:grid}.receipt-card-head>div{gap:3px;display:grid}.receipt-card-head small,.issued-by{color:var(--muted)}.receipt-amounts{grid-template-columns:repeat(3,1fr);gap:9px;display:grid}.receipt-amounts label{color:var(--muted);background:#f8f9fb;border-radius:10px;gap:6px;padding:11px;font-size:11px;display:grid}.receipt-amounts strong{color:var(--ink);font-size:15px}.receipt-amounts input{border:1px solid var(--line);width:100%;color:var(--ink);border-radius:7px;padding:7px;font-weight:800}.receipt-amounts .balanced{background:#ecfdf3}.receipt-amounts .balanced strong{color:#067647}.receipt-amounts .different{background:#fef3f2}.receipt-amounts .different strong{color:#b42318}.cash-receipt-card>label{gap:7px;font-size:13px;font-weight:750;display:grid}.cash-receipt-card textarea{resize:vertical;border:1px solid var(--line);min-height:68px;font:inherit;border-radius:9px;padding:10px}.cash-warning{color:#b42318;background:#fff1f0;border-radius:8px;align-items:center;gap:7px;padding:9px;font-size:12px;display:flex}.cash-warning svg{width:17px}.receipt-actions{justify-content:flex-end;gap:8px;display:flex}.receipt-actions button{border:0;border-radius:9px;align-items:center;gap:6px;padding:10px 13px;font-weight:800;display:flex}.receipt-actions svg{width:17px}.reject-cash{color:#b42318;background:#fee4e2}.accept-cash{color:#fff;background:#067647}.table-title{border-bottom:1px solid var(--line);padding:18px 20px}.handover-history{padding:0;overflow-x:auto}.handover-history table{min-width:940px}.handover-history td small{color:var(--muted);margin-top:3px;display:block}.handover-status{text-transform:capitalize;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.handover-status.pending{color:#c2410c;background:#fff7ed}.handover-status.accepted{color:#067647;background:#ecfdf3}.handover-status.rejected{color:#b42318;background:#fef3f2}.difference-value{color:#b42318;font-weight:800}@media (max-width:950px){.cash-receipt-grid{grid-template-columns:1fr}}@media (max-width:560px){.receipt-amounts{grid-template-columns:1fr}.cash-section-title{align-items:flex-start}.receipt-actions{grid-template-columns:1fr 1fr;display:grid}.receipt-actions button{justify-content:center}}
.cash-topups-panel{gap:20px;margin:20px 0;padding:24px;display:grid}.cash-topups-heading{align-items:flex-start;gap:14px;display:flex}.cash-topups-icon{height:46px;color:var(--brand);background:#ede9fe;border-radius:13px;flex:0 0 46px;place-items:center;display:grid}.cash-topups-heading .eyebrow{margin:1px 0 5px;display:block}.cash-topups-heading h2{letter-spacing:-.025em;margin:0;font-size:22px}.cash-topups-heading p{color:var(--muted);margin:6px 0 0;line-height:1.55}.cash-topup-form{border:1px solid var(--line);background:#fafafd;border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;display:grid}.cash-topup-form label{min-width:0;color:var(--ink);align-content:start;gap:7px;font-size:13px;font-weight:750;display:grid}.cash-topup-form label small{color:var(--muted);font-size:12px;font-weight:500}.cash-topup-form input,.cash-topup-form select{width:100%;min-width:0;height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #d9dbe4;border-radius:9px;outline:none;padding:0 12px;font-size:14px;transition:border-color .15s,box-shadow .15s;display:block}.cash-topup-form input::placeholder{color:#9a9baa}.cash-topup-form input:focus,.cash-topup-form select:focus{border-color:var(--brand);box-shadow:0 0 0 3px #ede9fe}.cash-topup-form input:disabled,.cash-topup-form select:disabled{color:var(--muted);cursor:not-allowed;background:#f2f2f5}.cash-topup-form-footer{border-top:1px solid var(--line);grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;padding-top:14px;display:flex}.cash-topup-form-footer p{color:var(--muted);align-items:flex-start;gap:7px;margin:0;font-size:12px;line-height:1.5;display:flex}.cash-topup-form-footer p svg{flex:none;margin-top:1px}.cash-topup-form-footer button{white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-width:150px;display:inline-flex}.cash-topups-admin-note{color:#1d4ed8;background:#eff6ff;border:1px solid #dbeafe;border-radius:10px;align-items:center;gap:9px;padding:12px 14px;font-size:13px;display:flex}.cash-topups-table-wrap{max-width:100%;overflow-x:auto}.cash-topups-table-wrap table{min-width:680px}.cash-topups-table-wrap td{vertical-align:middle}.cash-topup-date{white-space:nowrap;color:var(--muted);align-items:center;gap:7px;font-size:12px;display:inline-flex}.cash-topup-note{color:var(--muted);margin-top:4px;font-size:12px;display:block}.cash-topup-amount{white-space:nowrap;font-weight:750}.cash-topup-status{color:#475467;text-transform:capitalize;background:#f2f4f7;border-radius:999px;align-items:center;width:max-content;padding:5px 9px;font-size:12px;font-weight:750;display:inline-flex}.cash-topup-status.approved,.cash-topup-status.completed{color:#067647;background:#ecfdf3}.cash-topup-status.pending{color:#b54708;background:#fffaeb}.cash-topup-status.rejected{color:#b42318;background:#fef3f2}.cash-topup-review{white-space:nowrap;align-items:center;gap:7px;display:flex}@media (max-width:760px){.cash-topups-panel{padding:18px}.cash-topup-form{grid-template-columns:1fr;padding:14px}.cash-topup-form-footer{flex-direction:column;grid-column:auto;align-items:stretch}.cash-topup-form-footer button{width:100%}.cash-topups-heading h2{font-size:20px}}
.offline-pos-indicator{color:#067647;white-space:nowrap;background:#ecfdf3;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:7px 10px;font-size:12px;font-weight:750;display:inline-flex}.offline-pos-indicator.is-offline{color:#8b5e00;background:#fff4ce}.offline-pos-indicator>b{border-left:1px solid;align-items:center;gap:4px;padding-left:7px;display:inline-flex}.pos-offline-warning{color:#684800;background:#fff4ce;border-bottom:1px solid #f6d97a;padding:10px 14px;font-size:13px;font-weight:650}.pos-offline-pending{background:#f3f4f8;place-items:center;min-height:calc(100dvh - 70px);padding:20px;display:grid}.pos-offline-pending article{border:1px solid var(--line);text-align:center;background:#fff;border-radius:18px;width:min(560px,100%);padding:clamp(24px,5vw,48px);box-shadow:0 12px 34px #17152d12}.pos-offline-pending svg{color:#8b5e00}.pos-offline-pending h1{margin:14px 0 8px}.pos-offline-pending p{color:var(--muted);line-height:1.6}.pos-offline-pending article>strong{margin:18px;font-size:24px;display:block}@media (max-width:520px){.offline-pos-indicator{gap:4px;padding:6px 8px;font-size:11px}.offline-pos-indicator>b{font-size:10px}.pos-offline-warning{font-size:12px}}.pos-offline-actions{gap:12px;width:min(340px,100%);margin:18px auto 0;display:grid}.pos-offline-actions>button,.pos-offline-actions>a{justify-content:center;align-items:center;gap:8px;width:100%;min-height:52px;margin:0;display:flex}
.return-request-dialog{width:min(760px,100vw - 28px);max-height:min(90vh,900px);overflow:auto}.return-request-lines{border:1px solid var(--line);border-radius:12px;margin:10px 0 16px;overflow:auto}.return-request-head,.return-request-line{grid-template-columns:minmax(0,1fr) 120px 130px;align-items:center;gap:12px;padding:11px 14px;display:grid}.return-request-head{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;background:#f8f7fb;font-size:11px;font-weight:800}.return-request-line{border-top:1px solid var(--line)}.return-request-line>span:first-child{gap:3px;min-width:0;display:grid}.return-request-line small{color:var(--muted)}.return-request-line input{border:1px solid var(--line);width:100%;min-width:0;font:inherit;border-radius:8px;padding:9px}.return-request-total{background:#f6f3fc;border-radius:10px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.return-request-dialog>label{gap:7px;font-size:14px;font-weight:700;display:grid}.return-request-dialog textarea{border:1px solid var(--line);min-height:80px;font:inherit;resize:vertical;border-radius:9px;padding:11px}.return-queue{gap:14px;display:grid}.return-card{min-width:0;margin-top:0}.return-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.return-card-heading h2{margin:7px 0 4px;font-size:20px}.return-card-heading p{color:var(--muted);margin:0;font-size:13px}.return-card .table-panel{margin-top:14px;overflow:auto}.return-reason{color:var(--muted);margin:15px 0}.return-card-footer{justify-content:space-between;align-items:center;gap:14px;margin-top:14px;display:flex}.return-card-footer>div:first-child{color:var(--muted);gap:4px;font-size:13px;display:grid}.return-card-footer strong{color:var(--ink);font-size:18px}.return-card-footer small{line-height:1.5}.return-card-actions{flex-wrap:wrap;gap:8px;display:flex}.status.pending{color:#805b00;background:#fff4ce}@media (max-width:650px){.return-request-head,.return-request-line{grid-template-columns:minmax(0,1fr) 76px 92px;gap:8px;padding:10px}.return-request-line input{padding:8px 5px}.return-card-heading,.return-card-footer{flex-direction:column;align-items:stretch}.return-card-actions{width:100%}.return-card-actions button{flex:1}.return-card-heading .ghost{align-self:flex-start}}.return-request-line .return-sacks{grid-column:1/-1;gap:5px;font-size:12px;display:grid}.return-sacks input{width:100%;min-width:0}
.purchase-pos-full{font-size:16px}.pos-topbar{flex-basis:76px;height:76px}.pos-back{font-size:17px}.pos-brand b{font-size:23px}.pos-brand small,.pos-topbar label{font-size:14px}.pos-topbar select{height:46px;font-size:16px}.pos-search{height:58px}.pos-search input{font-size:18px}.pos-categories button{padding:11px 17px;font-size:15px}.pos-product{gap:9px;min-height:180px;padding:16px}.pos-product>span{font-size:12px}.pos-product strong{font-size:19px;line-height:1.25}.pos-product small{font-size:14px;line-height:1.35}.pos-product b{font-size:17px}.pos-product em{font-size:14px}.pos-cart-head{flex-basis:64px;height:64px}.pos-cart-head strong{font-size:18px}.pos-cart-head>span{font-size:13px}.pos-cart-line{padding:13px}.pos-line-title>span{width:27px;height:27px;font-size:13px}.pos-line-title strong{font-size:17px}.pos-line-title small{font-size:13px}.pos-cart-line>label,.pos-line-values label{font-size:12px}.pos-cart-line select,.pos-line-values input{height:44px;font-size:16px}.pos-line-values small{font-size:11px}.pos-qty{grid-template-columns:38px 76px 38px}.pos-qty button,.pos-qty input{height:44px;font-size:17px}.pos-qty input{width:76px}.pos-line-total span{font-size:13px}.pos-line-total strong{font-size:17px}.pos-cart-footer small{font-size:13px}.pos-cart-footer b{font-size:17px}.pos-cart-footer strong{font-size:26px}.pos-payment-button{height:54px;font-size:18px}.payment-card h1{font-size:38px}.payment-card>p{font-size:17px;line-height:1.5}.payment-fields label{font-size:14px}.payment-fields input,.payment-fields select{height:52px;font-size:17px}.payment-fields textarea{font-size:17px}.payment-summary h2{font-size:27px}.summary-center small,.summary-lines small,.summary-total small{font-size:14px}.summary-center strong,.summary-lines b,.summary-lines>div>strong{font-size:17px}.summary-total b{font-size:18px}.summary-total strong{font-size:27px}.confirm-payment{height:56px;font-size:18px}.quality-options strong{font-size:18px}.quality-options small{font-size:14px}.quality-options b{font-size:17px}@media (max-width:520px){.pos-product{min-height:165px}.pos-product strong{font-size:17px}.pos-product small{font-size:13px}.pos-topbar select{font-size:14px}}.purchase-pos-full.is-payment-window{width:100%;max-width:100%;height:100dvh;min-height:0;position:fixed;inset:0;overflow:hidden}.purchase-pos-full.is-payment-window .pos-topbar{flex:none;grid-template-columns:auto minmax(0,1fr) minmax(0,auto) auto;height:auto;min-height:64px;padding:10px 16px}.purchase-pos-full.is-payment-window .pos-topbar label{min-width:0}.purchase-pos-full.is-payment-window .pos-topbar select{width:100%;min-width:0;max-width:320px;height:44px;font-size:16px}.purchase-pos-full.is-payment-window .pos-available-cash{flex:none;margin:10px 16px 0}.purchase-pos-full.is-payment-window .pos-payment-screen{width:100%;min-width:0;min-height:0;padding:16px;padding-bottom:max(16px, env(safe-area-inset-bottom));overflow-anchor:none;overscroll-behavior:contain;flex:1;grid-template:"back back""payment summary""actions actions"/minmax(0,650px) minmax(0,440px);place-content:start center;align-items:start;gap:14px;font-size:14px;line-height:1.45;display:grid;overflow:auto}.purchase-pos-full.is-payment-window .pos-payment-screen>*{min-width:0;max-width:100%}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-back{grid-area:back;justify-self:start;min-height:44px;margin:0;padding:8px 12px;font-size:14px;font-weight:600}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-card{grid-area:payment}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-summary{grid-area:summary}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-card,.purchase-pos-full.is-payment-window .pos-payment-screen .payment-summary{border-radius:12px;width:100%;padding:16px}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-actions{grid-area:actions;justify-self:end;gap:10px;width:100%;max-width:440px;display:grid}.purchase-pos-full.is-payment-window .pos-payment-screen h1{margin:0 0 12px;font-size:22px;font-weight:600;line-height:1.3}.purchase-pos-full.is-payment-window .pos-payment-screen h2{margin:0 0 10px;font-size:18px;font-weight:600;line-height:1.3}.purchase-pos-full.is-payment-window .payment-fields{gap:12px;margin-top:0}.purchase-pos-full.is-payment-window .payment-fields label{gap:5px;min-width:0;font-size:13px;font-weight:600}.purchase-pos-full.is-payment-window .payment-fields label small{font-size:12px;font-weight:400}.purchase-pos-full.is-payment-window .payment-fields input,.purchase-pos-full.is-payment-window .payment-fields select,.purchase-pos-full.is-payment-window .payment-fields textarea{width:100%;min-width:0;max-width:100%;font-size:16px;font-weight:400}.purchase-pos-full.is-payment-window .payment-fields input,.purchase-pos-full.is-payment-window .payment-fields select{height:44px}.purchase-pos-full.is-payment-window .payment-fields textarea{min-height:72px;padding:10px;font-family:inherit}.purchase-pos-full.is-payment-window .supplier-select-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.purchase-pos-full.is-payment-window .supplier-create-button{white-space:normal;justify-content:center;align-items:center;gap:6px;max-width:100%;height:auto;min-height:44px;padding:8px 12px;font-size:14px;font-weight:600;line-height:1.4;display:inline-flex}.purchase-pos-full.is-payment-window .supplier-create-button svg{flex:none}.purchase-pos-full.is-payment-window .labor-pos-fields{grid-template-columns:minmax(0,1fr) minmax(72px,.3fr);gap:10px;margin:0}.purchase-pos-full.is-payment-window .split-payments{gap:12px;min-width:0}.purchase-pos-full.is-payment-window .split-payment-heading{flex-wrap:wrap;gap:8px;margin:0}.purchase-pos-full.is-payment-window .split-payment-heading strong,.purchase-pos-full.is-payment-window .split-payment-title b{font-size:14px;font-weight:600}.purchase-pos-full.is-payment-window .split-payment-heading button{min-height:44px;padding:8px 12px;font-size:14px;font-weight:600}.purchase-pos-full.is-payment-window .split-payment-line{min-width:0;padding:12px}.purchase-pos-full.is-payment-window .split-payment-title{margin-bottom:10px}.purchase-pos-full.is-payment-window .split-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-pos-full.is-payment-window .bank-account-details{overflow-wrap:anywhere;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.purchase-pos-full.is-payment-window .summary-center{gap:3px;padding:10px}.purchase-pos-full.is-payment-window .summary-center small,.purchase-pos-full.is-payment-window .summary-lines small,.purchase-pos-full.is-payment-window .summary-total small{font-size:12px}.purchase-pos-full.is-payment-window .summary-center strong,.purchase-pos-full.is-payment-window .summary-lines b,.purchase-pos-full.is-payment-window .summary-lines>div>strong{overflow-wrap:anywhere;font-size:14px;font-weight:600}.purchase-pos-full.is-payment-window .summary-lines{gap:8px;margin:12px 0}.purchase-pos-full.is-payment-window .summary-lines>div{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-bottom:8px;display:grid}.purchase-pos-full.is-payment-window .summary-lines>div>strong{text-align:right}.purchase-pos-full.is-payment-window .allocation-summary{gap:6px;margin:12px 0;padding:10px;font-size:13px}.purchase-pos-full.is-payment-window .allocation-summary span{flex-wrap:wrap;align-items:baseline;gap:8px}.purchase-pos-full.is-payment-window .allocation-summary span b{overflow-wrap:anywhere;text-align:right;margin-left:auto}.purchase-pos-full.is-payment-window .allocation-summary small{font-size:12px}.purchase-pos-full.is-payment-window .allocation-summary b,.purchase-pos-full.is-payment-window .allocation-summary>strong{font-size:13px;font-weight:600}.purchase-pos-full.is-payment-window .summary-total{flex-wrap:wrap;gap:10px;padding-top:10px}.purchase-pos-full.is-payment-window .summary-total>span:last-child{text-align:right;margin-left:auto}.purchase-pos-full.is-payment-window .summary-total b{font-size:14px;font-weight:600}.purchase-pos-full.is-payment-window .summary-total strong{overflow-wrap:anywhere;font-size:20px;font-weight:600}.purchase-pos-full.is-payment-window .payment-actions button{justify-content:center;align-items:center;gap:8px;width:100%;height:auto;min-height:46px;margin:0;padding:10px 12px;font-size:15px;font-weight:600;display:flex}@media (max-width:900px){.purchase-pos-full.is-payment-window .pos-payment-screen{padding:12px;padding-bottom:max(12px, env(safe-area-inset-bottom));grid-template:"back""summary""payment""actions"/minmax(0,720px);gap:12px}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-actions{max-width:none}.purchase-pos-full.is-payment-window .pos-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.purchase-pos-full.is-payment-window .pos-brand,.purchase-pos-full.is-payment-window .pos-back span{display:none}.purchase-pos-full.is-payment-window .pos-topbar label{width:100%}.purchase-pos-full.is-payment-window .pos-topbar .offline-pos-indicator{grid-column:3}}@media (max-width:600px){.purchase-pos-full.is-payment-window .pos-topbar{min-height:60px;padding:8px 10px}.purchase-pos-full.is-payment-window .pos-topbar label{gap:5px;font-size:12px}.purchase-pos-full.is-payment-window .pos-topbar kbd{display:none}.purchase-pos-full.is-payment-window .pos-topbar select{padding:0 6px;font-size:16px}.purchase-pos-full.is-payment-window .pos-available-cash{margin:8px 10px 0;padding:8px 10px}.purchase-pos-full.is-payment-window .pos-payment-screen{gap:10px;padding:10px}.purchase-pos-full.is-payment-window .pos-payment-screen .payment-card,.purchase-pos-full.is-payment-window .pos-payment-screen .payment-summary{padding:12px}.purchase-pos-full.is-payment-window .supplier-select-row{grid-template-columns:minmax(0,1fr);gap:8px}.purchase-pos-full.is-payment-window .supplier-create-button{justify-self:start}.purchase-pos-full.is-payment-window .split-payment-grid{grid-template-columns:minmax(0,1fr)}.purchase-pos-full.is-payment-window .split-payment-grid .wide{grid-column:1/-1}.purchase-pos-full.is-payment-window .summary-lines>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media screen{.app-shell{width:100%;min-width:0}.app-shell.appearance-list{grid-template-columns:255px minmax(0,1fr)}.app-shell .workspace{min-width:0;max-width:100%}.app-shell .page-content{width:100%;min-width:0;max-width:1500px;padding:clamp(12px,2.2vw,30px)}.app-shell .page-content>*,.app-shell :is(.panel,.entity-card,.product-card,.metric,.app-card,.form-grid,.expense-form,.sales-layout,.report-grid,.stock-metrics,.metric-grid,.card-grid,.expense-layout,.report-cards)>*{min-width:0}.app-shell :is(.panel,.entity-card,.product-card,.table-panel,.report-grid,.sales-layout,.expense-layout){min-width:0;max-width:100%}.app-shell :is(.topbar,.page-heading,.section-actions,.expenses-heading,.report-title,.dashboard-apps-heading,.cash-section-title,.line-heading){flex-wrap:wrap;gap:12px}.app-shell .topbar{grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:68px;padding:12px clamp(12px,2.2vw,28px);display:grid}.app-shell .topbar>div:first-child{overflow-wrap:anywhere;flex:160px;min-width:0}.app-shell .topbar .topbar-actions{flex-wrap:nowrap;justify-self:end;align-items:center;gap:8px;max-width:100%;display:flex}.app-shell .topbar-actions>*{flex:none}.app-shell .topbar-actions form .ghost{white-space:nowrap}.app-shell .current-center{white-space:normal;overflow-wrap:anywhere;width:auto;max-width:100%}.app-shell .page-heading{margin-bottom:18px}.app-shell .page-heading h1{overflow-wrap:anywhere;font-size:clamp(22px,2.4vw,30px);line-height:1.25}.app-shell :is(.page-heading,.entity-head,.product-title,.app-card,.labor-session-main,.launcher-tile,.app-launcher header) :is(h1,h2,b,strong,p,small){overflow-wrap:anywhere}.app-shell .context-nav{gap:10px;min-width:0;padding:8px clamp(12px,2.2vw,28px)}.app-shell .context-back{flex:none}.app-shell .breadcrumbs{flex:1;min-width:0}.app-shell :is(.heading-actions,.labor-actions,.purchase-actions,.receipt-actions,.purchase-filter-actions,.purchase-list-pagination,.report-date-pages,.cash-action-tabs){flex-wrap:wrap}.app-shell :is(.primary,.ghost,.soft){white-space:normal;overflow-wrap:anywhere;max-width:100%}.app-shell :is(.primary,.ghost,.soft) svg{flex-shrink:0}.app-shell :is(.metric-grid,.stock-metrics,.report-cards,.expense-cards){grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}.app-shell :is(.card-grid,.app-card-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.app-shell .laborer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}.app-shell :is(.stock-filters,.report-selects,.purchase-list-filters){grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));align-items:end;gap:10px}.app-shell :is(.stock-filters,.report-selects,.purchase-list-filters)>*{min-width:0}.app-shell :is(.stock-filters,.report-selects,.purchase-list-filters) :is(input,select){width:100%;min-width:0}.app-shell :is(.report-dates,.report-date-form,.credit-date-filters,.sales-fields,.expense-filters){flex-wrap:wrap;gap:10px}.app-shell :is(.report-dates,.report-date-form,.credit-date-filters,.sales-fields,.expense-filters)>label{flex:160px;min-width:0;max-width:100%}.app-shell :is(.master-search,.report-search,.stock-search,.launcher-search){min-width:0;max-width:100%}.app-shell :is(.master-search,.report-search,.stock-search,.launcher-search) input{width:100%;min-width:0}.app-shell .page-content :is(input,select,textarea){min-width:0;max-width:100%}.app-shell .page-content textarea{resize:vertical;width:100%}.app-shell :is(.form-grid,.labor-form-grid,.expense-form){grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .form-grid.thirds{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell :is(.form-grid,.labor-form-grid,.expense-form,.cash-action-form) label{min-width:0}.app-shell .expense-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr);display:grid}.app-shell :is(.entity-head,.product-title)>div{min-width:0}.app-shell :is(.table-panel,.master-product-table,.stock-table,.report-table,.purchase-list-table,.handover-history,.cash-table-scroll,.payable-summary-table,.bank-summary,.fsn-table-scroll){overscroll-behavior-x:contain;min-width:0;max-width:100%;overflow-x:auto}.app-shell .segmented{flex-wrap:wrap;gap:3px;max-width:100%}.app-shell .segmented button{white-space:normal;overflow-wrap:normal;flex:110px;min-width:0}.app-shell .labor-session-main{flex-wrap:wrap}.app-shell .labor-session-main>div{min-width:0}.app-shell .app-launcher{width:100%;min-width:0}.app-shell .app-launcher header{flex-wrap:wrap}.app-shell .launcher-search{flex:0 260px}.app-shell .launcher-brand-footer{max-width:calc(100% - 28px)}.toast-stack{max-width:calc(100vw - 32px);right:16px}.toast{overflow-wrap:anywhere;min-width:0}.dialog-backdrop{padding:12px;overflow-y:auto}.dialog-backdrop :is(.dialog,.labor-dialog){min-width:0;max-width:100%;max-height:calc(100dvh - 24px);padding:clamp(14px,2.5vw,24px);overflow-y:auto}:is(.dialog,.labor-dialog,.appearance-dialog,.sales-customer-dialog) :is(label,fieldset,.form-grid){min-width:0}:is(.dialog,.labor-dialog,.appearance-dialog,.sales-customer-dialog) :is(input,select,textarea){min-width:0;max-width:100%}:is(.dialog,.labor-dialog) .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:is(.dialog-actions,.labor-dialog-actions){flex-wrap:wrap}.dialog-head>div{overflow-wrap:anywhere;min-width:0}.dialog-head .icon-btn{flex:none}.purchase-pos-full{width:100%;max-width:100%;height:100dvh;min-height:0;position:fixed;inset:0}.purchase-pos-full .pos-topbar{flex:none;grid-template-columns:auto minmax(0,1fr) minmax(0,auto) auto;height:auto;min-height:64px;padding:10px 14px}.purchase-pos-full .pos-topbar label{min-width:0}.purchase-pos-full .pos-topbar select{width:100%;min-width:0;max-width:320px}.purchase-pos-full .pos-available-cash{flex:none}.purchase-pos-full :is(.pos-sale-screen,.pos-products,.pos-cart,.detail-purchase-scroll){min-width:0;min-height:0}.purchase-pos-full .pos-search input{min-width:0}.purchase-pos-full .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr))}.purchase-pos-full .pos-product{overflow-wrap:anywhere;min-width:0}.purchase-pos-full .pos-line-title{grid-template-columns:27px minmax(0,1fr) 30px}.purchase-pos-full .pos-line-title>div{overflow-wrap:anywhere;min-width:0}.purchase-pos-full .pos-line-values{grid-template-columns:minmax(0,1fr) auto}.purchase-pos-full .pos-line-values label{min-width:0}.purchase-pos-full .pos-line-values input{min-width:0;max-width:100%}.sales-pos-full .pos-payment-screen{flex:1;grid-template:auto/minmax(0,650px) minmax(0,440px);place-content:start center;align-items:start;gap:14px;min-width:0;min-height:0;padding:16px;overflow:auto}.sales-pos-full :is(.payment-card,.payment-summary){min-width:0;padding:16px}.sales-pos-full .payment-card h1{font-size:22px}.sales-pos-full .payment-card>p{font-size:14px}.sales-pos-full .payment-summary h2{font-size:18px}.sales-pos-full .sales-pos-fieldset>h1{font-size:22px;line-height:1.3}.sales-pos-full .sales-pos-fieldset>p{font-size:14px}.sales-pos-full .split-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-pos-full .payment-fields label{min-width:0;font-size:13px;font-weight:600}.sales-pos-full .payment-fields :is(input,select,textarea){font-size:16px;font-weight:400}.sales-pos-full .summary-lines>div{flex-wrap:wrap}.sales-pos-full .summary-lines span{overflow-wrap:anywhere;min-width:0}.sales-pos-full .summary-total{flex-wrap:wrap;gap:10px}.sales-pos-full .summary-total strong{overflow-wrap:anywhere;font-size:20px}.sales-pos-full .allocation-summary span{flex-wrap:wrap;gap:6px}}@media screen and (max-width:1050px){.app-shell.appearance-list{grid-template-columns:78px minmax(0,1fr)}}@media screen and (max-width:900px){.app-shell .expense-layout{grid-template-columns:minmax(0,1fr)}.purchase-pos-full .pos-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.purchase-pos-full .pos-brand,.purchase-pos-full .pos-back span{display:none}.purchase-pos-full .pos-topbar label{width:100%}.purchase-pos-full .pos-topbar .offline-pos-indicator{grid-column:3}.sales-pos-full .pos-payment-screen{grid-template-columns:minmax(0,720px)}}@media screen and (max-width:760px){.app-shell.appearance-list{display:block}.app-shell.appearance-list .page-content{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.app-shell .sidebar{height:calc(64px + env(safe-area-inset-bottom));padding-bottom:calc(8px + env(safe-area-inset-bottom))}.app-shell :is(.form-grid,.form-grid.thirds,.labor-form-grid,.expense-form){grid-template-columns:minmax(0,1fr)}.app-shell .page-content :is(input,select,textarea){font-size:16px}.app-shell .page-content :is(.primary,.ghost,.soft){min-height:42px}.app-shell .purchase-list-pagination{justify-content:flex-start;gap:10px}.app-shell .notification-popover{width:auto;max-width:none;max-height:calc(100dvh - 90px);position:fixed;top:76px;left:12px;right:12px;overflow-y:auto}.app-shell .notification-popover-list{max-height:55dvh}.dialog-backdrop .form-grid{grid-template-columns:minmax(0,1fr)}.dialog-backdrop :is(input,select,textarea){font-size:16px}.login-page .login-panel{min-width:0;padding:24px 16px}}@media screen and (max-width:600px){.app-shell .topbar{gap:8px;padding:10px 12px}.app-shell .topbar .topbar-actions{gap:6px}.app-shell .topbar-actions form .ghost{min-height:42px;padding:9px 10px;font-size:13px}.app-shell .topbar>div:first-child strong{font-size:13px;line-height:1.35}.app-shell .page-heading{gap:10px}.app-shell :is(.panel:not(.table-panel):not(.handover-history),.entity-card){padding:14px}.app-shell .launcher-search{flex:0 auto}.app-shell .permission-grid,.app-shell .pending-expenses form{grid-template-columns:minmax(0,1fr)}.purchase-pos-full .pos-topbar{min-height:60px;padding:8px 10px}.purchase-pos-full .pos-topbar kbd{display:none}.purchase-pos-full .pos-topbar label{gap:5px;font-size:12px}.purchase-pos-full .pos-topbar select{height:44px;padding:0 6px;font-size:16px}.purchase-pos-full .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-pos-full .detail-party-section{grid-template-columns:minmax(0,1fr)}.purchase-pos-full .detail-add-farmer{justify-self:start}.purchase-pos-full .pos-line-total{flex-wrap:wrap}.sales-pos-full .pos-payment-screen{gap:10px;padding:10px}.sales-pos-full .split-payment-grid{grid-template-columns:minmax(0,1fr)}.sales-pos-full .split-payment-grid .wide{grid-column:1/-1}}
@media screen{.app-shell .module-cards{scrollbar-width:thin;background:var(--canvas);-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;flex-wrap:nowrap;align-items:center;gap:6px;padding:7px clamp(12px,2vw,28px);display:flex;overflow:auto hidden}.app-shell .module-cards>a{white-space:nowrap;scroll-snap-align:start;border-radius:9px;flex:none;justify-content:center;align-items:center;max-width:100%;min-height:36px;padding:7px 11px;font-size:12px;font-weight:700;line-height:1.15;display:inline-flex}.app-shell .module-cards>a:first-child{color:var(--muted)}.app-shell .module-cards>a:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.app-shell .module-cards>a.selected{background:var(--brand);border-color:var(--brand);color:#fff}.app-shell .cp-filter-panel{min-width:0;margin-bottom:12px;padding:10px 12px}.app-shell .cp-filter-toolbar{align-items:end;gap:8px;min-width:0;display:flex}.app-shell .cp-filter-toolbar>label{flex:auto;min-width:0}.app-shell .cp-filter-toolbar input{width:100%;min-width:0}.app-shell .cp-filter-toolbar button{flex:none;min-height:40px}.app-shell .cp-filter-details{border-top:1px solid var(--line);min-width:0;margin-top:8px;display:block}.app-shell .cp-filter-details>summary{cursor:pointer;-webkit-user-select:none;user-select:none;min-height:38px;color:var(--ink);align-items:center;gap:8px;font-size:13px;font-weight:750;list-style:none;display:flex}.app-shell .cp-filter-details>summary::-webkit-details-marker{display:none}.app-shell .cp-filter-details>summary:before{content:"⚙";color:var(--brand);font-size:15px}.app-shell .cp-filter-details>summary:after{content:"⌄";color:var(--muted);margin-left:auto;font-size:20px;line-height:1;transition:transform .15s}.app-shell .cp-filter-details[open]>summary:after{transform:rotate(180deg)}.app-shell .cp-filter-details>summary:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:6px}.app-shell .cp-filter-count{background:var(--brand);color:#fff;border-radius:100px;padding:2px 7px;font-size:11px;font-weight:800;display:inline-block}.app-shell .cp-filter-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr));align-items:end;gap:10px;padding:4px 0 8px;display:grid}.app-shell .cp-filter-fields>label{gap:5px;min-width:0;display:grid}.app-shell .cp-filter-fields :is(input,select){width:100%;min-width:0}.app-shell .cp-filter-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell .cp-filter-actions>:is(a,button){min-height:40px}.app-shell .cp-filter-section{min-width:0}.app-shell .cp-filter-section .cp-filter-details{margin-top:8px}.app-shell .cp-filter-section .cp-filter-fields{padding-top:8px}}@media screen and (max-width:600px){.app-shell .module-cards{gap:5px;padding:6px 10px}.app-shell .module-cards>a{min-height:34px;padding:7px 9px;font-size:11px}.app-shell .cp-filter-toolbar button{min-height:40px;padding:8px 11px}.app-shell .cp-filter-panel{padding:9px 11px}.app-shell .cp-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.app-shell .cp-filter-fields>label:has(select[name=supplier]){grid-column:span 2}.app-shell .cp-filter-actions{grid-column:1/-1}.app-shell .cp-filter-fields :is(input,select){min-height:42px;font-size:16px}.app-shell .cp-filter-toolbar input{font-size:16px}}@media screen and (max-width:360px){.app-shell .cp-filter-fields{grid-template-columns:minmax(0,1fr)}.app-shell .cp-filter-fields>label:has(select[name=supplier]){grid-column:auto}}@media print{.module-cards,.cp-filter-panel{display:none!important}}@media screen{.app-shell .purchase-list-filters.cp-filter-panel{display:block}.app-shell .purchase-list-filters.cp-filter-panel .purchase-list-search{grid-column:auto}.app-shell .purchase-list-filters.cp-filter-panel .cp-filter-fields{display:grid}.app-shell .cash-gl-filters .cp-ledger-extra,.app-shell .bank-statement-filters .cp-ledger-extra{flex:100%}.app-shell .cash-gl-filters .cp-filter-fields,.app-shell .bank-statement-filters .cp-filter-fields{display:grid}.app-shell .cash-gl-filters .cp-filter-fields label,.app-shell .bank-statement-filters .cp-filter-fields label{flex:initial;min-width:0}.app-shell .stock-filter-panel .cp-filter-details{margin-top:8px}.app-shell .stock-filter-panel .cp-filter-fields{display:grid}.app-shell .expense-report .cp-filter-details{margin:8px 0 12px}.app-shell .expense-report .cp-filter-fields{display:grid}}@media screen and (max-width:730px){.app-shell .cash-gl-filters>button.primary,.app-shell .bank-statement-filters>button.primary{flex:none;width:auto}.app-shell .bank-statement-filters>label,.app-shell .cash-gl-filters>label{flex:170px;min-width:0}}@media screen{.app-shell .sales-fields .cp-sales-extra{flex:100%;width:100%}.app-shell .sales-fields .cp-filter-fields{display:grid}.app-shell .sales-fields .cp-filter-fields>label{min-width:0}.app-shell .report-filters .cp-report-extra{margin-top:8px}.app-shell .report-filters .cp-filter-fields{display:grid}.app-shell .report-filters .cp-filter-fields>.report-selects,.app-shell .report-filters .cp-filter-fields>.report-dates{grid-column:1/-1;margin-top:0}.app-shell .report-filters .report-search{margin-top:8px}}
