:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#17201b;background:#eef2ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}input,select{background:#fff;border:1px solid #cbd5ce;border-radius:10px;color:#17201b;min-height:44px;padding:10px 12px;width:100%}label{color:#36423b;display:grid;font-size:13px;font-weight:650;gap:7px;margin:14px 0}label small{color:#6c7870;font-weight:400}.primary,.danger{border:0;border-radius:10px;color:#fff;font-weight:750;padding:13px 18px;width:100%}.primary{background:#176943}.danger{background:#aa3f38}.eyebrow{color:#176943!important;font-size:11px!important;font-weight:800;letter-spacing:.16em}.login-page{align-items:center;background:radial-gradient(circle at 20% 0,#dbece2,transparent 38%),#edf2ef;display:flex;justify-content:center;min-height:100vh;padding:22px}.login-card{background:#fff;border:1px solid #d7dfda;border-radius:20px;box-shadow:0 20px 55px #2747351c;max-width:430px;padding:36px;width:100%}.login-card.wide{max-width:520px}.login-card .logo{align-items:center;background:#176943;border-radius:13px;color:#fff;display:flex;font-size:24px;font-weight:900;height:48px;justify-content:center;width:48px}.login-card h1{font-family:Georgia,serif;font-size:35px;margin:10px 0}.login-card>p{color:#6b776f}.alert,.toast{border-radius:9px;padding:11px 13px}.error{background:#fff0ef!important;color:#a13731!important}.loader{align-items:center;display:flex;font-weight:700;justify-content:center;min-height:100vh}.pos-shell>header{align-items:center;background:#123c2c;color:#fff;display:flex;height:68px;justify-content:space-between;padding:0 22px}.brand{display:flex;gap:7px}.brand b{font-size:22px}.brand small{align-self:flex-end;color:#f5c766;font-size:10px;font-weight:900;letter-spacing:.14em}.online{color:#d3e3da;font-size:12px}.online i{background:#58d48e;border-radius:50%;display:inline-block;height:8px;margin-right:7px;width:8px}.online i.off{background:#f1bd4a}.pos-shell nav{align-items:center;display:flex;gap:7px}.pos-shell nav>button{background:#245340;border:1px solid #396550;border-radius:8px;color:#fff;padding:8px 12px}.user{align-items:center;display:flex!important;font-weight:800;gap:8px}.user span{display:grid;font-size:11px;text-align:left}.user small{color:#bcd0c4;font-weight:400}.pos-shell>main{display:grid;grid-template-columns:minmax(0,1fr) 410px;min-height:calc(100vh - 68px)}.catalog{overflow:hidden;padding:22px}.search{align-items:center;background:#fff;border:1px solid #ccd6cf;border-radius:13px;display:flex;padding:0 14px}.search span{font-size:25px}.search input{border:0;outline:0}.search kbd{background:#eef2ef;border:1px solid #d4dcd7;border-radius:5px;color:#6a756e;font-size:10px;padding:4px 7px}.filters{display:flex;gap:8px;margin:16px 0;overflow:auto;padding-bottom:2px}.filters button,.cart-actions button{background:#fff;border:1px solid #cdd7d0;border-radius:999px;color:#49554e;padding:8px 14px;white-space:nowrap}.filters .active{background:#176943;border-color:#176943;color:#fff}.products{display:grid;gap:13px;grid-template-columns:repeat(4,minmax(135px,1fr))}.product{background:#fff;border:1px solid #d4ddd7;border-radius:14px;min-width:0;overflow:hidden;padding:0 0 13px;text-align:left;transition:.15s}.product:hover{border-color:#76a68d;box-shadow:0 8px 22px #365d4717;transform:translateY(-2px)}.photo{align-items:center;background:#e5ece7;display:flex;height:126px;justify-content:center;margin-bottom:12px}.photo img{height:100%;object-fit:cover;width:100%}.photo span{color:#567062;font-size:30px;font-weight:850}.product>strong,.product>span,.product>small{display:block;overflow:hidden;padding:0 12px;text-overflow:ellipsis;white-space:nowrap}.product>span{color:#32463b;font-size:13px;font-weight:700;margin-top:6px}.product>small{color:#758179;font-size:10px;margin-top:5px}.pos-shell aside{background:#fff;border-left:1px solid #d5ddd8;display:flex;flex-direction:column;padding:20px}.sale-head{align-items:center;display:flex;justify-content:space-between}.sale-head p{color:#7d8981;font-size:10px;font-weight:800;letter-spacing:.15em;margin:0}.sale-head h1{font-family:Georgia,serif;font-size:25px;margin:4px 0}.sale-head button{background:transparent;border:0;color:#a53e36}.customer{background:#f7faf8;border:1px dashed #a9bdb1;border-radius:10px;color:#265c42;font-weight:650;margin:15px 0;padding:12px;text-align:left}.cart-items{flex:1;min-height:180px;overflow:auto}.empty{align-items:center;color:#89948d;display:flex;flex-direction:column;height:100%;justify-content:center}.empty b{color:#536159;margin-bottom:5px}.line{align-items:center;border-bottom:1px solid #e7ece9;display:grid;gap:10px;grid-template-columns:82px 1fr auto;padding:13px 0}.line strong,.line span{display:block;font-size:13px}.line span{color:#7c8780;font-size:10px;margin-top:4px}.line p{font-size:13px;font-weight:700}.stepper{align-items:center;border:1px solid #d4dcd7;border-radius:8px;display:flex;justify-content:space-between;overflow:hidden}.stepper button{background:#f4f7f5;border:0;padding:7px}.stepper b{font-size:12px}.cart-actions{display:flex;gap:8px;padding:10px 0}.cart-actions button{flex:1}.totals{border-top:1px solid #dce3df;padding-top:8px}.totals>div{display:flex;justify-content:space-between;padding:5px 0}.totals span{color:#66736b}.totals .grand{border-top:1px solid #dce3df;font-size:20px;margin-top:7px;padding-top:13px}.pay{background:#eeb347;border:0;border-radius:11px;color:#1f261f;font-size:16px;font-weight:850;margin-top:12px;padding:16px}.sync{color:#819087;font-size:10px;margin:9px 0 0;text-align:center}.overlay{align-items:center;background:#10221a99;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:18px;position:fixed;z-index:10}.modal{background:#fff;border-radius:17px;box-shadow:0 22px 70px #06130d66;max-height:90vh;max-width:520px;overflow:auto;padding:22px;width:100%}.modal>header{align-items:center;display:flex;justify-content:space-between}.modal>header h2{font-family:Georgia,serif;margin:0}.modal>header button{background:transparent;border:0;font-size:28px}.amount-due{align-items:end;background:#edf5f0;border-radius:12px;display:flex;justify-content:space-between;margin:20px 0;padding:16px}.amount-due span{color:#647269}.amount-due b{font-family:Georgia,serif;font-size:27px}.payment-methods{display:grid;gap:8px;grid-template-columns:repeat(4,1fr)}.payment-methods button{background:#fff;border:1px solid #cdd7d0;border-radius:9px;padding:12px 5px}.payment-methods .active{background:#176943;color:#fff}.toast{background:#173d2e;bottom:20px;color:#fff;left:50%;position:fixed;transform:translate(-50%);z-index:20}.list{display:grid;gap:8px;margin-top:15px}.list>button,.sale-row{background:#f7f9f8;border:1px solid #dce3df;border-radius:10px;padding:12px;text-align:left}.list button b,.list button span{display:block}.list button span{color:#748078;font-size:11px;margin-top:4px}.shift-stats{display:grid;gap:10px;grid-template-columns:1fr 1fr;margin:15px 0}.shift-stats div{background:#f1f5f2;border-radius:10px;display:grid;padding:12px}.shift-stats span{color:#728078;font-size:11px}.shift-stats b{margin-top:4px}fieldset{border:1px solid #d6dfd9;border-radius:11px;display:grid;gap:8px;margin:14px 0;padding:13px}.receipt{text-align:center}.receipt h2{margin-bottom:5px}.receipt>p{color:#6d7971;font-size:12px;line-height:1.6}.receipt-line{display:flex;justify-content:space-between;padding:8px 0;text-align:left}.receipt-line small{color:#7d8981;display:block}.history{max-width:760px}.sale-row{align-items:center;display:grid;grid-template-columns:1fr auto auto}.sale-row>button:first-child{background:transparent;border:0;text-align:left}.sale-row span{display:block;color:#77827b;font-size:11px}.link-danger{background:transparent;border:0;color:#a43d36}.receipt-modal{max-width:420px}@media print{body *{visibility:hidden}.receipt,.receipt *{visibility:visible}.receipt{left:0;position:absolute;top:0;width:80mm}.overlay{background:#fff}}@media (max-width:1100px){.products{grid-template-columns:repeat(3,1fr)}}@media (max-width:800px){.pos-shell>header{align-items:flex-start;height:auto;gap:8px;padding:12px;flex-wrap:wrap}.online{order:3;width:100%}.pos-shell nav>button:not(.user){display:none}.pos-shell>main{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,1fr)}.pos-shell aside{border-left:0;min-height:600px}.catalog{padding:14px}.user span{display:none}}@media (max-width:430px){.products{grid-template-columns:repeat(2,minmax(0,1fr))}.photo{height:105px}.payment-methods{grid-template-columns:repeat(2,1fr)}}.sale-row{grid-template-columns:1fr auto;gap:10px}.sale-row>button{padding:8px}.receipt-modal>button{margin-top:10px;width:100%}.receipt-print-actions{display:flex;gap:10px;margin-top:10px}.receipt-print-actions>button{margin-top:0}.product>.pos-product-price,.line .pos-product-price{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;white-space:normal;overflow:visible;font-size:13px;color:#234733}.pos-product-price>strong{font-size:inherit}.pos-product-price>del{color:#758179;font-size:11px;font-weight:400}.pos-product-price>.pos-discount-badge{display:inline-block;background:#e3f3e9;color:#176943;border-radius:4px;font-size:10px;font-weight:700;padding:2px 5px}.line .pos-product-price{justify-content:flex-end;max-width:150px;text-align:right}.sale-unit-select{display:grid;gap:4px;font-size:12px;margin-top:8px}.sale-unit-select select{max-width:240px;padding:6px;border:1px solid var(--border,#cbd5e1);border-radius:6px;background:var(--surface,#fff);color:inherit}.sale-unit-select small{opacity:.8}.login-card .own-logo{display:block;max-height:56px;max-width:180px;object-fit:contain}.login-card .powered-by{color:#67746d;display:block;font-size:12px;margin-top:14px;text-align:center}.loader{background:radial-gradient(circle at 50% 30%,#dcebe2,transparent 34%),#eef2ef;flex-direction:column;gap:8px;padding:24px;text-align:center}.loader strong{color:#26362d;font-size:18px}.loader span{color:#6c7870;font-size:13px;font-weight:500;max-width:460px}.loader .loader-actions{display:flex;gap:10px;margin-top:12px}.loader .loader-actions button{border:1px solid #bdcbc2;border-radius:9px;font-weight:700;min-width:105px;padding:10px 16px}.loader .loader-actions .primary{background:#176943;border-color:#176943;width:auto}.loader .loader-actions button:not(.primary){background:#fff;color:#36423b}.products.density-small{grid-template-columns:repeat(5,minmax(115px,1fr))}.products.density-large{grid-template-columns:repeat(3,minmax(165px,1fr))}.products.text-only .product{min-height:112px;padding-top:18px}.settings-modal{max-width:790px;padding:0}.settings-modal>header{border-bottom:1px solid #dce3df;padding:20px 22px}.settings-intro{color:#708078;font-size:12px;margin:0;padding:0 22px;transform:translateY(-14px)}.settings-card{border:1px solid #d9e2dc;border-radius:14px;margin:0 16px 16px;overflow:hidden;padding:15px}.settings-card>header{align-items:center;display:flex;gap:10px;margin-bottom:10px}.settings-card>header>span{align-items:center;background:#e9f2ff;border-radius:9px;color:#2873e8;display:flex;height:36px;justify-content:center;width:36px}.settings-card>header>div{display:grid;gap:2px}.settings-card>header b{font-size:13px}.settings-card>header small,.setting-row small{color:#7c8881;font-size:10px;font-weight:400}.settings-grid{display:grid;gap:13px;grid-template-columns:1fr 1fr}.setting-row{align-items:center;border-top:1px solid #e6ece8;display:flex;justify-content:space-between;margin:0;padding:12px 0}.setting-row>span{display:grid;gap:3px}.setting-row input[type=checkbox]{accent-color:#198b58;height:21px;min-height:0;width:21px}.density-control{background:#eef2ef;border:1px solid #d8e0db;border-radius:9px;display:flex;padding:3px}.density-control button{background:transparent;border:0;border-radius:7px;color:#5f6c64;font-size:10px;font-weight:700;padding:8px 12px;text-transform:capitalize}.density-control button.active{background:#2873e8;color:#fff}.settings-actions{background:#fff;border-top:1px solid #dce3df;bottom:0;display:flex;gap:9px;justify-content:flex-end;padding:14px 18px;position:sticky}.settings-actions button{border:1px solid #ccd7d0;border-radius:9px;padding:10px 16px;width:auto}.receipt h3{font-size:13px;margin:3px 0}.receipt-total{border-top:1px solid #333;font-size:16px;font-weight:800;margin-top:4px}.receipt-58mm{width:54mm}.receipt-80mm{width:76mm}.receipt-a4{font-size:14px;margin:auto;max-width:190mm;min-height:240mm;padding:15mm;width:100%}@media (max-width:1100px){.products.density-small{grid-template-columns:repeat(4,1fr)}}@media (max-width:800px){.products.density-small,.products.density-large{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}.settings-modal{max-height:94vh}}@media print{.receipt{left:0;margin:0!important;position:absolute;top:0}.receipt-a4{width:190mm!important}}.customer.attached{border-color:#2f7d5b;background:#edf9f3;display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.customer.attached small{margin-left:auto;color:#47645a}.loyalty-summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.65rem 0;padding:.7rem .8rem;border:1px solid #b9d9ca;border-radius:12px;background:#f2fbf6}.loyalty-summary span{display:grid;gap:.15rem}.loyalty-summary small{color:#60746b}.loyalty-summary strong{color:#14764e;white-space:nowrap}.customer-modal{width:min(680px,94vw)}.customer-search{display:grid;grid-template-columns:1fr auto;gap:.6rem}.customer-results{display:grid;gap:.5rem;max-height:340px;overflow:auto;margin-top:.8rem}.customer-results>button{display:grid;grid-template-columns:42px 1fr auto;align-items:center;text-align:left;gap:.75rem;padding:.75rem;border:1px solid #d8e0db;border-radius:12px;background:#fff}.customer-results>button:hover{border-color:#4388ed;background:#f5f8ff}.customer-results span:nth-child(2){display:grid;gap:.15rem}.customer-results small,.customer-results em{font-size:.78rem;color:#6e7a73;font-style:normal}.customer-results strong{font-size:.75rem;color:#14764e;background:#daf3e6;border-radius:999px;padding:.25rem .5rem}.customer-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#dfeaff;color:#2461b5;font-weight:800}.customer-empty{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px dashed #ccd7d0;border-radius:12px;margin-top:.75rem}.customer-create{display:grid;gap:.8rem}.customer-footer{display:flex;justify-content:flex-end;gap:.6rem;border-top:1px solid #dce3df;padding-top:1rem}.loyalty-modal{width:min(900px,95vw)}.loyalty-tiers{display:grid;gap:.65rem}.loyalty-tier{display:grid;grid-template-columns:1.1fr 1.2fr .85fr auto auto;gap:.65rem;align-items:end;padding:.8rem;border:1px solid #dce3df;border-radius:12px}.loyalty-tier label{margin:0}.tier-active{display:flex!important;align-items:center;gap:.35rem;padding-bottom:.65rem}.tier-active input{width:auto!important}.loyalty-tier .link-danger{margin-bottom:.1rem}@media (max-width:760px){.customer-search,.loyalty-tier{grid-template-columns:1fr}.customer-results>button{grid-template-columns:42px 1fr}.customer-results>button>strong{grid-column:2}.tier-active{padding-bottom:0}}.customer-create-grid{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.customer-create-grid .wide{grid-column:1/-1}@media (max-width:620px){.customer-create-grid{grid-template-columns:1fr}.customer-create-grid .wide{grid-column:auto}}.cash-entry{margin:12px 0}.cash-entry label{margin-bottom:6px}.cash-entry input{font-size:18px;font-weight:750}.cash-change{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border:2px solid #d5ddd8;border-radius:10px}.cash-change span{color:#5f6d64;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.cash-change strong{font-family:inherit;font-size:21px;line-height:1.1}.cash-change small{color:#6c7870}.cash-change.ready{border-color:#4b9b68;background:#e6f5eb;color:#125a35}.cash-change.short{border-color:#cf766f;background:#fff1ef;color:#9b312b}.cash-change.waiting{background:#f4f7f5;color:#536159}.receipt{color:#111;font-family:Courier New,Courier,monospace;font-size:11px;font-weight:700;line-height:1.3;text-align:left}.receipt-copy+.receipt-copy{margin-top:24px;padding-top:24px;border-top:4px solid #d7ddd9}.receipt-copy-label{margin-bottom:7px;font-size:11px;font-weight:800;letter-spacing:.08em;text-align:center}.receipt-terminal{display:flex;align-items:baseline;justify-content:space-between;gap:10px;white-space:nowrap}.receipt-date-row{margin-bottom:2px;text-align:left;white-space:nowrap}.receipt-rule{margin:8px 0;border-top:1px dashed #111}.receipt-merchant{text-align:center}.receipt-merchant h2{margin:0;font-family:inherit;font-size:16px;line-height:1.2;text-transform:uppercase}.receipt-merchant h3{margin:2px 0 0;font-size:12px}.receipt-merchant p{margin:2px 0;color:inherit;font-size:10px;line-height:1.25}.receipt-merchant strong{display:block;margin-top:5px;font-size:12px}.receipt-meta,.receipt-summary{display:grid;grid-template-columns:82px minmax(0,1fr);gap:3px 4px;align-items:start}.receipt-meta b,.receipt-summary b{min-width:0;font-weight:700;overflow-wrap:anywhere}.receipt-meta-full{grid-column:1 / -1;overflow-wrap:anywhere;white-space:normal}.receipt-time{white-space:nowrap}.receipt-table{display:grid;grid-template-columns:20px minmax(0,1fr) 28px 54px 60px;column-gap:6px;align-items:start;font-size:9px}.receipt-table>span:nth-child(3),.receipt-table>span:nth-child(4),.receipt-table>span:nth-child(5){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-table-head{font-weight:800}.receipt-table-item{padding:4px 0}.receipt-table-item>span:nth-child(2){min-width:0;overflow:hidden}.receipt-table-item>span:nth-child(2)>b{display:block;line-height:1.25;overflow-wrap:anywhere;white-space:normal}.receipt-table-item small{display:block;overflow:hidden;color:#333;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.receipt-summary{grid-template-columns:minmax(95px,1fr) 78px;margin-left:auto;width:68%}.receipt-summary b{text-align:left;white-space:nowrap;font-variant-numeric:tabular-nums}.receipt-summary span:last-of-type,.receipt-summary b:last-child{font-weight:800}.receipt-quantity{width:68%}.receipt-footer{margin:10px 0;color:inherit;font-size:10px;line-height:1.35;text-align:center;white-space:pre-line}.receipt-disclaimer{margin:8px 0;color:inherit;font-size:9px;font-weight:700;line-height:1.35;text-align:center}.receipt-signature{width:58%;margin:30px 0 10px auto;padding-top:4px;border-top:1px solid #111;font-size:9px;text-align:center}.receipt-terminal-bottom{margin-top:2px}.receipt-58mm .receipt-table{grid-template-columns:18px minmax(0,1fr) 22px 45px 50px;column-gap:3px;font-size:8px}.receipt-58mm .receipt-summary{grid-template-columns:minmax(82px,1fr) 70px;width:76%}@media print{.receipt-print-thermal{page:pos-receipt}html,body{height:auto!important;overflow:visible!important}.pos-shell>header,.pos-shell>main,.pos-shell>.toast{display:none!important}.pos-shell{display:block!important;min-height:0!important}.overlay{position:static!important;display:block!important;inset:auto!important;padding:0!important;overflow:visible!important;background:transparent!important}.receipt-modal{position:static!important;width:auto!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important}.receipt-modal>header,.receipt-modal>button,.receipt-modal>.receipt-print-actions{display:none!important}.receipt-print{position:static!important;display:block!important;width:max-content;overflow:visible!important}.receipt-print .receipt{display:block!important;position:static!important;top:auto!important;left:auto!important;margin:0!important;float:none!important}.receipt-copy+.receipt-copy{margin-top:0;padding-top:0;border-top:0}.receipt-copy{break-inside:avoid;page-break-inside:avoid}.receipt-print-thermal .receipt-copy+.receipt-copy{padding-top:6mm}.receipt-table-item{break-inside:avoid;page-break-inside:avoid}.receipt-58mm{width:54mm}.receipt-80mm{width:76mm}.receipt-a4{width:190mm}}.receipt-meta{grid-template-columns:110px minmax(0,1fr)}.receipt-meta .receipt-calendar-label,.receipt-meta .receipt-calendar-dates{font-size:inherit;white-space:nowrap;overflow-wrap:normal}.receipt-58mm .receipt-meta{grid-template-columns:82px minmax(0,1fr)}@media screen{.receipt-print-thermal{width:max-content;margin-inline:auto}}.receipt-80mm,.receipt-80mm .receipt-copy-label{font-size:13px}.receipt-80mm .receipt-merchant h3,.receipt-80mm .receipt-merchant strong{font-size:14px}.receipt-80mm .receipt-merchant p,.receipt-80mm .receipt-footer{font-size:12px}.receipt-80mm .receipt-meta{grid-template-columns:126px minmax(0,1fr)}.receipt-80mm .receipt-table{grid-template-columns:22px minmax(0,1fr) 22px 62px 68px;column-gap:3px;font-size:11px}.receipt-80mm .receipt-table-item small,.receipt-80mm .receipt-signature{font-size:11px}.receipt-80mm .receipt-summary{grid-template-columns:minmax(0,1fr) minmax(100px,max-content);width:100%}.receipt-80mm .receipt-terminal{white-space:normal;overflow-wrap:anywhere}.receipt-logo{display:block;filter:grayscale(1);margin:0 auto 4px;max-height:48px;max-width:70%;object-fit:contain}.pos-shell.workspace{height:100dvh;min-height:0;display:flex;flex-direction:column;background:#f3f6f5;color:#22392e;font-family:Arial,Helvetica,sans-serif;overflow:hidden}.workspace button{cursor:pointer;font-family:inherit;transition:background .15s,border-color .15s}.workspace button:disabled{cursor:not-allowed;opacity:.5}.workspace button:focus-visible,.workspace input:focus-visible,.workspace select:focus-visible{outline:3px solid #93cdb2;outline-offset:2px}.pos-shell.workspace>header{height:66px;flex-shrink:0;display:flex;align-items:center;gap:20px;padding:12px 24px;background:#123e2d;color:#fff}.workspace .brand{display:flex;align-items:baseline;gap:8px}.workspace .brand b{font-size:23px}.workspace .brand small{font-size:8px;letter-spacing:.12em;color:#c5e1d1}.register-context{display:grid;gap:4px;margin-right:auto}.register-context strong{font-size:12px}.register-context span{font-size:11px;color:#c1d7cb}.workspace .sync-state,.workspace .lock-action{background:#ffffff0c;border:1px solid #ffffff30;border-radius:7px;color:#fff;padding:8px 12px;font-size:11px}.workspace .sync-state{color:#b7efd0}.workspace .sync-state.offline{color:#ffd99d}.workspace .workspace-nav{display:flex;align-items:center;gap:5px;flex-shrink:0;padding:9px 24px;background:#fff;border-bottom:1px solid #dce5df}.workspace .workspace-nav>button,.workspace .more-menu>button{display:block;border:0;border-radius:7px;background:transparent;color:#506257;font-size:12px;font-weight:600;padding:10px 14px}.workspace .workspace-nav>button.active{background:#e9f3ed;color:#17613f}.workspace-nav em{font-style:normal;background:#dcebe1;border-radius:4px;padding:2px 5px;margin-left:4px;font-size:10px}.more-menu{position:relative;margin-left:auto}.more-menu>div{position:absolute;right:0;top:40px;width:210px;z-index:35;border:1px solid #dce5df;border-radius:10px;background:#fff;box-shadow:0 12px 36px #203f2526;padding:6px;display:grid}.more-menu>div button{background:#fff;border:0;padding:10px 12px;text-align:left;font-size:12px;border-radius:5px}.more-menu>div button:hover{background:#edf5f0}.workspace-message{display:flex;align-items:center;justify-content:space-between;padding:8px 24px;background:#e7f3ed;font-size:12px;flex-shrink:0;gap:10px}.workspace-message.error{background:#fff0ed;color:#a13a2d}.workspace-message button{border:0;background:transparent;color:inherit;font-size:20px;padding:0 5px}.pos-shell.workspace>main.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:18px;flex:1;min-height:0;padding:18px 24px;overflow:hidden}.sale-workspace{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;border:1px solid #dce5df;border-radius:12px;overflow:hidden}.lookup{position:relative;padding:18px;border-bottom:1px solid #edf1ee;z-index:5}.lookup>label{display:block;font-size:11px;font-weight:700;color:#65786c;margin:0 0 8px}.lookup-input{display:flex;align-items:center;gap:10px;border:1px solid #a4bdb0;border-radius:8px;padding:0 12px;background:#fff}.lookup-input:focus-within{border-color:#237e51;box-shadow:0 0 0 3px #dcefe4}.lookup-input>span{font-size:25px;color:#31654a}.lookup-input input{width:100%;min-width:0;border:0;outline:0!important;box-shadow:none;background:transparent;min-height:46px;font-size:14px;margin:0;padding:10px 0}.lookup-input kbd{font-size:10px;color:#718579;background:#f1f5f3;border:1px solid #dce5df;border-radius:4px;padding:3px 6px}.lookup-input button{border:0;background:transparent;font-size:20px;color:#6a7c71}.lookup-results{position:absolute;top:calc(100% - 10px);left:18px;right:18px;z-index:20;background:#fff;border:1px solid #b7cdbf;border-radius:9px;box-shadow:0 16px 35px #13372326;overflow:hidden}.lookup-results [role=listbox]{max-height:min(40vh,360px);overflow:auto}.results-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f5f8f6;padding:10px 12px;font-size:10px;color:#738278}.results-caption select{width:auto;min-height:28px;padding:4px;font-size:11px}.workspace .lookup-result{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border:0;border-top:1px solid #edf2ee;border-radius:0;background:#fff;text-align:left;color:#253d2e}.workspace .lookup-result.selected,.workspace .lookup-result:hover{background:#edf6f0}.lookup-result[aria-disabled=true]{opacity:.65}.result-thumb{width:38px;height:38px;flex-shrink:0;display:grid;place-items:center;background:#e9efeb;border-radius:6px;font-size:12px;font-weight:700;overflow:hidden}.result-thumb img{width:100%;height:100%;object-fit:cover}.result-name{flex:1;min-width:100px;display:grid;gap:5px}.result-name strong{font-size:12px}.result-name small{font-size:10px;color:#748278}.stock{font-size:10px;color:#51715e;white-space:nowrap}.stock.unavailable{color:#ae6243}.result-add{font-size:11px;font-weight:700;color:#1b7848;white-space:nowrap}.lookup-result .pos-product-price{display:flex;flex-wrap:wrap;gap:4px 7px;align-items:center;max-width:185px;justify-content:flex-end;font-size:12px}.lookup-empty{font-size:12px;padding:12px;color:#718276;margin:0}.cart-heading{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid #edf1ee}.cart-heading p{margin:0;color:#8a978e;font-size:9px;letter-spacing:.12em;font-weight:700}.cart-heading h1{font-family:inherit;font-size:21px;font-weight:600;margin:5px 0 0}.cart-heading>span{font-size:11px;color:#819186}.sale-lines{flex:1;min-height:0;overflow:auto}.cart-table{width:100%;border-collapse:collapse;table-layout:auto}.cart-table th{background:#f9fbfa;font-size:10px;color:#809085;text-align:left;padding:11px 18px;white-space:nowrap;font-weight:600}.cart-table td{padding:15px 18px;border-bottom:1px solid #edf1ee;font-size:12px;vertical-align:middle}.cart-table td:first-child{width:42%;min-width:150px}.cart-table td:first-child>strong{font-size:12px;display:block}.cart-table td:first-child>small{display:block;color:#8a958f;font-size:10px;margin-top:5px}.cart-table td:nth-child(4),.cart-table th:nth-child(4){text-align:right;white-space:nowrap}.cart-table td:last-child{padding-left:0}.cart-table .pos-product-price{display:flex;flex-wrap:wrap;gap:5px;font-size:12px;min-width:100px}.line-total{font-weight:700}.quantity-control{display:flex;border:1px solid #d8e4dc;border-radius:6px;width:100px;height:32px;align-items:center;overflow:hidden}.quantity-control button{width:26px;height:100%;border:0;background:#f4f8f5;color:#51715e}.quantity-control input{border:0;min-width:0;width:48px;padding:0;text-align:center;font-size:12px;min-height:0;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.quantity-control input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.remove-line{border:0;background:transparent;color:#a5b0a8;font-size:18px}.cart-footer{padding:12px 18px;border-top:1px solid #edf1ee;font-size:10px;color:#8a978f;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.checkout-empty{height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px}.checkout-empty>span{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#f0f6f2;color:#729b82;font-size:34px}.checkout-empty h2{font-family:inherit;font-size:17px;margin:16px 0 8px;font-weight:600}.checkout-empty p{color:#87958c;font-size:12px;margin:0 0 8px}.checkout-empty small{font-size:10px;color:#9aa69f}.pos-shell.workspace .payment-sidebar{border:1px solid #dce5df;border-radius:12px;background:#fff;display:flex;flex-direction:column;padding:20px;min-width:0;min-height:0;overflow:auto}.customer-panel{border-bottom:1px solid #edf1ee;padding-bottom:20px}.customer-panel>p{font-size:9px;letter-spacing:.12em;font-weight:700;color:#819186;margin:0 0 10px}.customer-panel>button:first-of-type{display:grid;gap:6px;width:100%;text-align:left;border:1px solid #dce9e1;border-radius:8px;background:#f8fbf9;padding:13px;color:#254e36}.customer-panel button strong{font-size:13px}.customer-panel button span{font-size:11px;color:#829086}.customer-panel button small{font-size:10px;color:#398059;margin-top:3px}.workspace .billing-link{display:block;width:auto;min-height:0;background:none;border:0;color:#4a785b;font-size:11px;padding:10px 0 0;text-align:left}.loyalty-chip{font-size:10px;color:#216943;background:#edf7f0;border-radius:5px;padding:7px 9px;margin-top:10px}.checkout-summary{padding-top:20px;margin-bottom:auto}.checkout-summary h2{font-family:inherit;font-size:13px;margin:0 0 18px}.checkout-summary>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;font-size:12px}.checkout-summary>div span{color:#718276}.checkout-summary>p{font-size:10px;color:#87988c;line-height:1.5;margin:9px 0 14px}.checkout-summary .savings{font-size:11px;color:#28774e}.checkout-summary .savings span{color:inherit}.checkout-summary .checkout-total{border-top:1px solid #dfe9e2;padding-top:18px;margin-top:8px;align-items:baseline}.checkout-total strong{font-size:25px;color:#173f29;white-space:nowrap}.checkout-total span{font-size:13px;color:#22392e!important;font-weight:600}.checkout-actions{padding-top:20px;flex-shrink:0}.checkout-actions>div{display:flex;gap:7px}.checkout-actions>div button{flex:1;border:1px solid #dae6dd;background:#fff;color:#627b6a;border-radius:6px;font-size:11px;padding:9px 5px}.workspace .pay-button{width:100%;border:0;border-radius:8px;background:#17794b;color:#fff;font-size:17px;font-weight:700;padding:17px 8px;margin-top:13px}.workspace .pay-button:hover{background:#12633d}.checkout-actions>small{display:block;color:#9aa59f;text-align:center;font-size:9px;margin-top:10px}.workspace .modal{font-family:Arial,Helvetica,sans-serif;border-radius:12px;padding:22px}.workspace .modal>header h2{font-family:inherit;font-size:19px}.workspace .modal>p{font-size:12px;color:#6a7b70;line-height:1.6}.workspace .modal .primary{border-radius:7px}.workspace .modal label{font-size:12px}.workspace .modal input,.workspace .modal select,.workspace .modal textarea{font-family:inherit}.workspace .history{max-width:920px}.workspace .payment-dialog,.workspace .return-dialog{max-width:670px}.tender-fields{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px}.tender-fields label{margin:0}.tender-fields label>button{font-size:10px;border:0;background:#edf5f0;color:#367249;padding:4px 6px;border-radius:4px}.payment-balance{display:grid;grid-template-columns:1fr auto;gap:10px;background:#f4f8f5;border-radius:8px;margin:18px 0;padding:14px;font-size:13px}.complete-payment{width:100%;margin-top:8px}.history-filters{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:10px}.history-filters label{min-width:0}.sales-records{display:grid;gap:8px;margin:15px 0;min-height:100px}.sales-records article{display:grid;grid-template-columns:1fr auto;gap:12px;padding:15px;border:1px solid #e0e8e2;border-radius:8px;background:#fbfdfc}.sales-records article>div:first-child{display:grid;gap:5px;font-size:13px}.sales-records small,.sales-records span{font-size:11px;color:#7b8c80}.record-actions{grid-column:1/-1;display:flex;gap:8px}.record-actions button{font-size:11px;border:1px solid #dce6df;background:#fff;border-radius:6px;padding:7px 10px;color:#416e51}.history-pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:12px}.history-pagination span{margin-right:auto}.history-pagination button{padding:7px 12px}.return-lines{display:grid;gap:8px}.return-lines label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px;border-bottom:1px solid #edf1ee}.return-lines label span{display:grid;gap:6px}.return-lines small{color:#819186;font-size:11px}.return-lines input{max-width:75px}.workspace .inline-check{display:flex;align-items:center;gap:8px}.workspace .inline-check input{width:auto}.register-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.register-stats div{padding:12px;background:#f2f7f3;border-radius:7px;display:grid;gap:8px}.register-stats span{font-size:10px;color:#728779}.register-stats b{font-size:15px}.workspace-table{width:100%;border-collapse:collapse;font-size:12px}.workspace-table td,.workspace-table th{padding:10px;border-bottom:1px solid #e4ece7;text-align:right}.workspace-table th:first-child,.workspace-table td:first-child{text-align:left}.variance{color:#a16822!important}.held-list{display:grid;gap:8px}.held-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:1px solid #dce6df;border-radius:8px;background:#f8fbf9;text-align:left}.held-list span{display:grid;gap:6px}.held-list small{color:#7e8f83;font-size:11px}.queued-sale{display:grid;gap:8px;padding:14px;border:1px solid #eadbc6;background:#fffaf1;border-radius:8px;margin:12px 0;font-size:12px}.queued-sale span{color:#96723e}.shift-switch{position:fixed;bottom:15px;right:20px;padding:10px 14px;border:1px solid #bdd0c3;background:#fff;border-radius:8px;color:#3a644a}@media (max-width:1150px){.pos-shell.workspace>main.checkout-layout{grid-template-columns:minmax(0,1fr) 300px;padding:12px;gap:12px}.cart-table th,.cart-table td{padding:12px 10px}.lookup-result .stock{display:none}.checkout-total strong{font-size:21px}.register-context{max-width:230px}.history-filters{grid-template-columns:repeat(3,1fr)}}@media (max-width:800px){.pos-shell.workspace>header{height:auto;padding:10px 14px;gap:10px;flex-wrap:wrap}.workspace .register-context{margin-right:0;flex:1}.workspace .brand small{display:none}.workspace .workspace-nav{padding:7px 10px;overflow:visible;flex-wrap:wrap;gap:0}.workspace .workspace-nav>button,.workspace .more-menu>button{display:block!important;padding:8px;font-size:11px}.pos-shell.workspace>main.checkout-layout{grid-template-columns:minmax(0,1fr) 265px;gap:8px;padding:8px}.pos-shell.workspace .payment-sidebar{padding:13px;min-height:0}.cart-table{min-width:540px}.result-thumb{display:none}.lookup-result .pos-product-price{max-width:125px}.lookup-result{gap:6px!important}.lookup{padding:12px}.lookup-results{left:5px;right:5px}.results-caption{font-size:9px}.cart-heading{padding:13px}.register-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:620px){.pos-shell.workspace{height:auto;min-height:100dvh;overflow:visible}.pos-shell.workspace>main.checkout-layout{display:flex;flex-direction:column;overflow:visible}.sale-workspace{min-height:340px}.sale-lines{max-height:40vh}.pos-shell.workspace .payment-sidebar{overflow:visible}.checkout-summary{padding-top:14px}.customer-panel{padding-bottom:12px}.checkout-actions{position:sticky;bottom:0;background:#fff;padding-bottom:10px}.checkout-empty{min-height:180px}.history-filters,.tender-fields{grid-template-columns:1fr 1fr}.lookup-result .result-add{display:none}.lookup-input input{font-size:12px}.cart-footer{font-size:9px}.workspace .sync-state{margin-left:auto}.register-context span{font-size:10px}}@media print{.pos-shell.workspace{display:block!important;height:auto!important;overflow:visible!important}.workspace-nav,.workspace-message,.checkout-layout,.shift-switch{display:none!important}}.workspace .overlay{z-index:40}@media (min-width:621px){.pos-shell.workspace .payment-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.workspace .checkout-summary{min-height:0;overflow:auto;margin-bottom:0}}.nepal-clock{display:grid;gap:4px;font-size:11px;white-space:nowrap;text-align:right}.nepal-clock strong{font-size:12px}.header-menu{position:relative}.header-dropdown{position:absolute;right:0;top:calc(100% + 10px);width:230px;background:#fff;border:1px solid #dce5df;box-shadow:0 12px 36px #203f2540;border-radius:10px;padding:6px;z-index:35;display:grid}.header-dropdown button{background:#fff;border:0;border-radius:6px;color:#254e36;padding:12px;text-align:left;font-size:13px;min-height:44px}.header-dropdown button:hover{background:#edf5f0}.mobile-details-toggle{display:none}.pwa-help{line-height:1.6;font-size:14px}.pwa-help button{min-height:44px;padding:10px;background:#176943;color:#fff;border:0;border-radius:8px}.workspace .workspace-nav{overflow-x:auto;flex-wrap:nowrap}.workspace .workspace-nav>button{white-space:nowrap;min-height:44px;flex-shrink:0}@media (max-width:800px){.pos-shell.workspace>header{gap:8px;padding:10px 12px}.workspace .register-context{min-width:110px}.workspace .sync-state,.workspace .lock-action{min-height:44px;padding:8px;font-size:12px}.nepal-clock{font-size:11px}.workspace .workspace-nav>button{font-size:12px}.workspace .cart-table{min-width:0}.workspace .cart-table td{padding:10px 6px}.workspace .cart-table td:first-child{min-width:90px}.workspace .quantity-control{width:90px}.workspace .cart-table .pos-product-price{min-width:75px}}@media (max-width:620px){.pos-shell.workspace{height:100dvh;min-height:0;overflow:hidden}.pos-shell.workspace>header{display:grid;grid-template-columns:1fr auto auto auto;padding:8px 10px;gap:6px}.workspace .brand b{font-size:20px}.workspace .register-context{grid-row:2;grid-column:1/3;max-width:none;min-width:0}.workspace .register-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:50vw}.workspace .nepal-clock{grid-row:2;grid-column:3/5;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 8px;max-width:48vw;white-space:normal}.workspace .sync-state{font-size:10px;margin:0;padding:6px}.workspace .lock-action{font-size:11px;padding:6px}.header-dropdown{position:fixed;right:10px;top:60px;max-width:calc(100vw - 20px)}.workspace .workspace-nav{padding:4px 8px;gap:3px}.workspace-message{padding:6px 12px;font-size:12px;max-height:70px;overflow:auto}.pos-shell.workspace>main.checkout-layout{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:8px;gap:8px;padding-bottom:calc(94px + env(safe-area-inset-bottom))}.workspace .sale-workspace{flex-shrink:0;min-height:230px;overflow:visible}.workspace .sale-lines{max-height:none;overflow:visible}.workspace .lookup{padding:10px}.workspace .lookup-input input{font-size:16px;min-height:46px}.workspace .lookup-input kbd{display:none}.workspace .lookup-results{position:relative;top:auto;left:auto;right:auto;margin-top:8px;box-shadow:none}.workspace .lookup-results [role=listbox]{max-height:35dvh;overscroll-behavior:contain}.workspace .lookup-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:12px}.workspace .result-name{min-width:0;overflow-wrap:anywhere}.workspace .result-name strong{font-size:14px}.workspace .result-name small{font-size:12px}.workspace .lookup-result .pos-product-price{font-size:13px;max-width:135px}.workspace .results-caption{font-size:11px;flex-wrap:wrap}.workspace .results-caption select{font-size:16px;min-height:44px}.workspace .cart-heading{padding:12px}.workspace .cart-heading h1{font-size:18px}.workspace .cart-table,.workspace .cart-table tbody{display:block;width:100%;min-width:0}.workspace .cart-table thead{display:none}.workspace .cart-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;gap:8px;padding:12px;border-bottom:1px solid #dce5df}.workspace .cart-table td{display:block;padding:0;border:0;min-width:0;width:auto;text-align:left}.workspace .cart-table td:first-child{grid-column:1/3;min-width:0;width:auto;overflow-wrap:anywhere}.workspace .cart-table td:first-child strong{font-size:15px}.workspace .cart-table td:first-child small{font-size:12px}.workspace .cart-table td:nth-child(2){grid-column:1;grid-row:3}.workspace .cart-table td:nth-child(3){grid-column:1/3;grid-row:2}.workspace .cart-table td:nth-child(4){grid-column:2/4;grid-row:3;align-self:center;font-size:16px}.workspace .cart-table td:last-child{grid-column:3;grid-row:1}.workspace .quantity-control{height:44px;width:132px}.workspace .quantity-control button{width:44px;font-size:20px}.workspace .quantity-control input{width:44px;font-size:16px;height:42px}.workspace .remove-line{height:44px;width:44px;font-size:24px}.workspace .cart-table .pos-product-price{font-size:14px}.workspace .cart-footer{font-size:11px;padding:10px}.workspace .checkout-empty{min-height:130px;padding:18px}.pos-shell.workspace .payment-sidebar{display:block;min-height:0;flex-shrink:0;overflow:visible;padding:12px}.workspace .mobile-details-toggle{display:block;width:100%;min-height:44px;text-align:left;border:0;background:#edf5f0;color:#254e36;border-radius:7px;padding:10px;font-size:14px}.workspace .payment-sidebar:not(.details-open) .customer-panel .billing-link,.workspace .payment-sidebar:not(.details-open) .customer-panel .loyalty-chip,.workspace .payment-sidebar:not(.details-open) .checkout-summary{display:none}.workspace .customer-panel,.workspace .checkout-summary{padding-top:14px}.workspace .checkout-summary>div{font-size:14px}.workspace .checkout-actions{position:static;padding-top:10px}.workspace .checkout-actions>div button{min-height:44px;font-size:13px}.workspace .checkout-actions>.pay-button{position:fixed;bottom:0;left:0;width:100%;border-radius:0;margin:0;z-index:25;padding:18px 12px calc(18px + env(safe-area-inset-bottom));min-height:64px;font-size:18px;box-shadow:0 -4px 12px #173f291a}.workspace .checkout-actions>small{font-size:11px}.workspace .overlay{padding:8px;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));align-items:center}.workspace .modal{max-width:100%;max-height:calc(100dvh - 24px);padding:16px;overflow:auto;overscroll-behavior:contain}.workspace .modal input,.workspace .modal select,.workspace .modal textarea,.login-page input,.login-page select{font-size:16px}.workspace .modal button{min-height:44px}.workspace .history-filters,.workspace .tender-fields{grid-template-columns:1fr}.workspace .record-actions,.workspace .held-list button{flex-wrap:wrap}.workspace .register-stats{grid-template-columns:1fr 1fr}.workspace .workspace-table td,.workspace .workspace-table th{padding:8px 4px;overflow-wrap:anywhere}.workspace .billing-link{min-height:44px;font-size:13px}.workspace .modal>header h2{font-size:18px}}@media print{.nepal-clock,.header-menu,.mobile-details-toggle{display:none!important}}.workspace .selected-customer{display:grid;gap:6px;padding:12px 0;overflow-wrap:anywhere}.workspace .selected-customer strong{font-size:14px;color:#254e36}.workspace .selected-customer span{font-size:13px;color:#617569}.workspace .customer-panel>button.search-customer-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;padding:11px 14px;border:1px solid #438462;border-radius:8px;background:#edf6f0;color:#17613f;font-size:14px;font-weight:700}.workspace .search-customer-button svg{flex-shrink:0}.workspace .customer-panel>button.search-customer-button:hover{background:#dcefe3;border-color:#17613f}.workspace .customer-panel>button.search-customer-button:focus-visible{outline:3px solid #93cdb2;outline-offset:3px}.workspace .customer-modal>header{display:flex;align-items:center;gap:16px;margin:0;padding:0}.workspace .customer-modal>header h2{line-height:1.3;min-width:0;margin:0}.workspace .customer-modal>header button{flex-shrink:0;width:44px;min-height:44px;padding:0}.workspace .customer-modal>.customer-instructions{margin:8px 0 16px;padding:0;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.workspace .customer-search{grid-template-columns:minmax(0,1fr) auto;gap:12px}.workspace .customer-search input{min-width:0}.workspace .customer-search>button{min-height:44px;padding:10px 14px;border:1px solid #a4bdb0;border-radius:8px;background:#edf6f0;color:#17613f;font-weight:600}.workspace .customer-results span:nth-child(2){min-width:0;overflow-wrap:anywhere}@media (max-width:800px){.workspace .lookup-result .result-thumb{display:grid;width:40px;height:40px}.workspace .result-thumb img{width:100%;height:100%;object-fit:contain}}@media (max-width:620px){.workspace .customer-search{grid-template-columns:minmax(0,1fr)}.workspace .customer-search>button{width:100%}.workspace .customer-empty{flex-wrap:wrap}.workspace .lookup-result.with-image{grid-template-columns:44px minmax(0,1fr);gap:6px 10px}.workspace .lookup-result.with-image .result-thumb{grid-column:1;grid-row:1/3;width:44px;height:44px;align-self:start}.workspace .lookup-result.with-image .result-name{grid-column:2;grid-row:1}.workspace .lookup-result.with-image .pos-product-price{grid-column:2;grid-row:2;justify-content:flex-start;max-width:none}.workspace .lookup-result .result-name small{overflow-wrap:anywhere}}.pos-shell.workspace>header.pos-header{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(160px,.65fr) auto auto auto;grid-template-areas:"brand branch clock sync cashier settings";height:auto;min-height:72px;gap:clamp(12px,1.5vw,28px);padding:12px 20px;align-items:center;justify-content:normal}.pos-header .brand{grid-area:brand}.workspace .pos-header .brand b{font-size:24px}.workspace .pos-header .brand small{display:block}.workspace .pos-header .register-context{grid-area:branch;margin:0;min-width:0;max-width:100%;justify-self:center;gap:5px}.workspace .pos-header .register-context strong{font-size:14px;overflow-wrap:anywhere}.workspace .pos-header .register-context span{font-size:12px;line-height:1.4;max-width:none;white-space:normal;overflow-wrap:anywhere}.workspace .pos-header .nepal-clock{grid-area:clock;display:grid;justify-content:normal;justify-self:center;text-align:left;gap:5px;max-width:none;font-size:13px;white-space:nowrap}.workspace .pos-header .nepal-clock strong{font-size:13px;font-weight:600}.workspace .pos-header .sync-state{grid-area:sync;margin:0;white-space:nowrap}.pos-header .cashier-menu{grid-area:cashier}.pos-header .settings-menu{grid-area:settings}.workspace .pos-header .lock-action,.workspace .pos-header .sync-state{min-height:44px;padding:10px 12px;font-size:12px}.pos-header .header-dropdown{position:absolute;top:calc(100% + 8px);right:0;max-width:calc(100vw - 24px)}@media (max-width:1050px){.pos-shell.workspace>header.pos-header{grid-template-columns:minmax(0,1fr) auto auto auto;grid-template-areas:"brand sync cashier settings" "branch branch clock clock";gap:12px 16px;padding:12px 16px}.workspace .pos-header .register-context{justify-self:start}.workspace .pos-header .nepal-clock{justify-self:end;text-align:right}}@media (max-width:620px){.pos-shell.workspace>header.pos-header{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand cashier settings" "branch branch branch" "clock clock sync";gap:8px 10px;padding:10px 12px}.workspace .pos-header .brand{flex-direction:column;gap:2px}.workspace .pos-header .brand b{font-size:22px}.workspace .pos-header .brand small{font-size:7px}.workspace .pos-header .register-context{width:100%;padding-top:6px;border-top:1px solid #ffffff20;gap:3px}.workspace .pos-header .register-context strong{font-size:13px}.workspace .pos-header .register-context span{font-size:12px}.workspace .pos-header .nepal-clock{justify-self:start;text-align:left;font-size:12px;gap:3px}.workspace .pos-header .nepal-clock strong{font-size:12px}.workspace .pos-header .lock-action,.workspace .pos-header .sync-state{padding:8px 10px;font-size:12px}.pos-header .cashier-menu .header-dropdown{right:-88px}}.start-screen .start-status{font-size:1.1rem;font-weight:700}.loader.start-screen strong.start-status.error{color:#c62828}.loader.start-screen strong.start-status.checking{color:#b7791f}.loader .start-choices{flex-wrap:wrap;justify-content:center}.start-screen .start-signout{background:transparent;border:0;color:inherit;opacity:.75;text-decoration:underline;cursor:pointer}.sync-panel h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;font-size:1rem}.sync-panel .sync-online{color:#15803d}.sync-panel .sync-offline{color:#b45309}.sync-panel .sync-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:6px}.sync-panel .queued-sale.attention{border-left:4px solid #dc2626;padding-left:10px}.sync-panel .queued-sale.sent{border-left:4px solid #16a34a;padding-left:10px}.sync-panel .sync-flag{display:block;color:#b45309;font-weight:600}.sync-panel .link-button{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font-size:.85rem}.sync-panel .muted{opacity:.7}.offline-payment-note{color:#b45309;font-weight:600}.held-list .held-row{align-items:stretch;display:flex;gap:8px}.held-list .held-row .held-resume{flex:1 1 auto;min-width:0}.held-list .held-row .held-remove{background:#fff;border:1px solid #f0c9c9;border-radius:8px;color:#b42318;flex:none;font-size:12px;font-weight:700;justify-content:center;padding:0 16px}.held-list .held-row .held-remove:hover{background:#fdecec}.workspace .modal.payment-dialog{display:flex;flex-direction:column;max-height:calc(100dvh - 36px);overflow:hidden;padding:0;max-width:670px}.workspace .payment-dialog>header{flex:none;padding:12px 20px;border-bottom:1px solid #e0e8e2}.payment-dialog .payment-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 12px}.payment-dialog .payment-footer{flex:none;background:#fff;border-top:1px solid #dce3df;padding:10px 20px 14px}.payment-dialog .payment-balance{margin:0;padding:8px 12px;gap:5px;font-size:12px}.payment-dialog .complete-payment{margin-top:8px;min-height:44px}.payment-dialog .amount-due{margin:10px 0;padding:10px 12px}.payment-dialog .amount-due b{font-size:23px}.payment-dialog fieldset{margin:10px 0;padding:10px;min-width:0;gap:6px}.payment-dialog .qr-checkout{margin-top:8px;padding-top:8px}.payment-dialog .qr-checkout label{margin:0}.payment-dialog .qr-checkout img{width:220px;height:220px;max-width:100%;object-fit:contain;padding:0;margin:8px auto;background:#fff}.payment-dialog .qr-checkout strong{font-size:21px;margin:4px 0 8px}.payment-dialog .qr-receive,.payment-dialog .qr-received{display:block;width:100%;max-width:300px;margin:8px auto;min-height:44px}.payment-dialog .qr-received{background:#eaf5ee;color:#176943;border:1px solid #add0b8;border-radius:7px;font-weight:700;opacity:1}.payment-dialog .qr-checkout>button{font-size:12px;padding:5px 10px}@media (max-height:740px){.payment-dialog .qr-checkout img{width:180px;height:180px}.payment-dialog .amount-due,.payment-dialog fieldset{margin:6px 0}}@media (max-width:600px){.workspace .modal.payment-dialog{max-height:calc(100dvh - 24px);padding:0;overflow:hidden}.payment-dialog .payment-scroll{padding:0 12px 10px}.payment-dialog .payment-footer{padding:8px 12px 12px}.workspace .payment-dialog .tender-fields{grid-template-columns:1fr 1fr;gap:8px}.payment-dialog .tender-fields>label:last-child{grid-column:1/-1}.payment-dialog .qr-checkout img{width:180px;height:180px}}.pos-shell.workspace{--ink: #12261d;--muted: #66756f;--line: #e3e9e6;--soft: #f5f8f7;--brand: #17794b;--brand-dark: #0f3d2c;--accent: #e8f5ee;background:#eef2f0;color:var(--ink);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:13px}.pos-shell.workspace kbd{background:#ffffff2e;border:1px solid rgb(255 255 255 / 30%);border-radius:4px;font:600 9.5px ui-monospace,Consolas,monospace;margin-left:6px;padding:1px 5px;vertical-align:1px}.pos-shell.workspace .sr-only{clip:rect(0 0 0 0);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.pos-shell.workspace>header{background:var(--brand-dark);gap:16px;height:56px;padding:0 16px}.workspace .brand{align-items:baseline;display:flex;gap:6px}.workspace .brand b{font-size:18px;letter-spacing:-.02em}.workspace .brand small{background:#ffffff1f;border-radius:5px;color:#b7efd0;font-size:9.5px;font-weight:800;letter-spacing:.1em;padding:2px 6px}.workspace .register-context{border-left:1px solid rgb(255 255 255 / 15%);gap:1px;margin-right:0;padding-left:16px}.workspace .register-context strong{font-size:12.5px}.workspace .register-context span{color:#a9c6b7;font-size:11px}.pos-shell.workspace>header .workspace-nav{align-items:center;background:transparent;border:0;display:flex;flex:1;gap:2px;height:auto;justify-content:center;padding:0}.pos-shell.workspace>header .workspace-nav>button{background:transparent;border:0;border-radius:8px;color:#cfe3d8;font-size:12.5px;font-weight:600;padding:8px 12px}.pos-shell.workspace>header .workspace-nav>button:hover{background:#ffffff14;color:#fff}.pos-shell.workspace>header .workspace-nav>button.active{background:#fff;color:var(--brand-dark)}.pos-shell.workspace>header .workspace-nav em{background:#ffffff29;color:inherit;font-size:10px}.pos-shell.workspace>header .workspace-nav>button.active em{background:var(--accent)}.workspace .header-tools{align-items:center;display:flex;gap:8px}.workspace .sync-state{align-items:center;display:flex;gap:6px;margin-left:0}.workspace .sync-state i{background:#4ade80;border-radius:50%;box-shadow:0 0 0 3px #4ade8033;height:7px;width:7px}.workspace .sync-state.offline i{background:#fbbf24;box-shadow:0 0 0 3px #fbbf2433}.workspace .sync-state,.workspace .lock-action{border-radius:8px;font-size:11.5px;min-height:34px;padding:6px 10px}.workspace .lock-action{align-items:center;display:flex;gap:7px}.cashier-avatar{align-items:center;background:#b7efd0;border-radius:50%;color:var(--brand-dark);display:flex;font-size:9.5px;font-weight:800;height:22px;justify-content:center;width:22px}.pos-shell.workspace .workspace-message.pos-toast{align-items:center;background:#102a20;border-radius:10px;bottom:18px;box-shadow:0 14px 36px #00000040;color:#e7f5ee;display:flex;font-size:12.5px;gap:12px;left:18px;max-width:min(520px,calc(100vw - 36px));padding:10px 12px 10px 16px;position:fixed;z-index:40}.pos-shell.workspace .workspace-message.pos-toast.error{background:#7f1d1d;color:#fff}.pos-shell.workspace .workspace-message.pos-toast button{color:inherit;opacity:.8}.pos-shell.workspace>main.checkout-layout{gap:14px;grid-template-columns:minmax(0,1fr) 380px;padding:14px 16px}.pos-shell.workspace .sale-workspace{border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px #102a200a}.shift-strip{align-items:center;background:var(--soft);border-bottom:1px solid var(--line);color:var(--muted);display:flex;flex-wrap:wrap;font-size:11.5px;gap:6px 18px;padding:8px 16px}.shift-strip b{color:var(--ink)}.shift-strip .last-sale{background:#fff;border:1px solid var(--line);border-radius:999px;color:var(--ink);font-size:11px;margin-left:auto;padding:4px 10px}.shift-strip .last-sale u{color:var(--brand);font-weight:700;text-decoration:none}.pos-shell.workspace .lookup{border-bottom:0;padding:12px 16px 8px}.pos-shell.workspace .lookup-input{background:var(--soft);border:1px solid var(--line);border-radius:10px}.pos-shell.workspace .lookup-input:focus-within{background:#fff;border-color:var(--brand);box-shadow:0 0 0 3px #17794b24}.pos-shell.workspace .lookup-input>span{color:var(--muted);font-size:20px}.pos-shell.workspace .lookup-input input{font-size:13.5px;min-height:40px}.pos-shell.workspace .lookup-input kbd{background:#fff;border-color:var(--line);color:var(--muted)}.pos-shell.workspace .lookup-results{left:16px;right:16px;top:calc(100% - 4px)}.category-chips{display:flex;flex:none;gap:6px;overflow-x:auto;padding:4px 16px 10px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.category-chips button{background:#fff;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;font-weight:600;padding:6px 12px;white-space:nowrap}.category-chips button:hover{border-color:#b8d3c4;color:var(--ink)}.category-chips button.on{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff}.product-grid{align-content:start;display:grid;flex:1;gap:10px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));min-height:0;overflow:auto;padding:4px 16px 16px}.product-grid.density-small{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}.product-grid.density-large{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))}.product-tile{background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:8px;position:relative;text-align:left;transition:border-color .15s,box-shadow .15s,transform .1s}.product-tile:hover:not(:disabled){border-color:#9fcab3;box-shadow:0 8px 20px #102a2014}.product-tile:active:not(:disabled){transform:scale(.98)}.product-tile.in-cart{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}.product-tile.unavailable{cursor:not-allowed;opacity:.55}.tile-image{aspect-ratio:1;background:var(--soft);border-radius:8px;display:block;margin-bottom:2px;overflow:hidden;position:relative}.tile-image img{display:block;height:100%;object-fit:cover;width:100%}.tile-image>i{align-items:center;color:#8aa79a;display:flex;font-size:22px;font-style:normal;font-weight:800;height:100%;justify-content:center}.tile-count{background:var(--brand);border-radius:999px;color:#fff;font-size:10.5px;font-style:normal;font-weight:800;min-width:22px;padding:2px 7px;position:absolute;right:6px;text-align:center;top:6px}.tile-name{-webkit-box-orient:vertical;display:-webkit-box;font-size:12.5px;font-weight:600;-webkit-line-clamp:2;line-height:1.3;min-height:2.6em;overflow:hidden}.tile-variant{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tile-foot{display:grid;gap:2px;margin-top:auto}.tile-foot .pos-product-price{align-items:baseline;display:flex;flex-wrap:wrap;font-size:12.5px;gap:2px 6px}.tile-foot .pos-product-price strong{color:var(--brand-dark)}.tile-stock{color:var(--muted);font-size:10.5px}.tile-stock.low{color:#b45309;font-weight:700}.tile-stock.out{color:#b91c1c;font-weight:700}.pos-shell.workspace .cart-footer{align-items:center;background:#fff;font-size:10.5px;padding:8px 16px}.shortcut-hints{color:var(--muted)}.shortcut-hints kbd{background:var(--soft)!important;border-color:var(--line)!important;color:var(--ink);margin:0 3px 0 8px!important}.pos-shell.workspace .payment-sidebar{border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px #102a200a;display:flex;flex-direction:column;gap:0;padding:0}.pos-shell.workspace .customer-panel{border-bottom:1px solid var(--line);padding:12px 14px}.customer-row{align-items:center;display:flex;gap:10px}.customer-avatar{align-items:center;background:var(--accent);border-radius:50%;color:var(--brand);display:flex;flex:none;font-size:12px;font-weight:800;height:34px;justify-content:center;width:34px}.pos-shell.workspace .selected-customer{display:grid;flex:1;gap:1px;min-width:0}.pos-shell.workspace .selected-customer strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pos-shell.workspace .selected-customer span{color:var(--muted);font-size:11px}.pos-shell.workspace .search-customer-button{align-items:center;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--brand);display:flex;font-size:12px;font-weight:700;gap:6px;margin:0;min-height:0;padding:7px 10px;width:auto}.pos-shell.workspace .search-customer-button:hover{border-color:var(--brand)}.customer-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.pos-shell.workspace .loyalty-chip,.credit-chip{border-radius:999px;font-size:10.5px;font-weight:700;margin:0;padding:3px 9px}.pos-shell.workspace .loyalty-chip{background:#eef6ff;color:#1d4f91}.credit-chip{background:#fff4e5;color:#9a5800}.customer-links{display:flex;gap:14px;margin-top:6px}.pos-shell.workspace .billing-link{background:none;border:0;color:var(--brand);font-size:11px;margin:0;padding:0}.cart-panel{display:flex;flex:1;flex-direction:column;min-height:0}.pos-shell.workspace .cart-panel .cart-heading{border-bottom:1px solid var(--line);padding:10px 14px}.pos-shell.workspace .cart-panel .cart-heading p{color:var(--muted);font-size:10px}.pos-shell.workspace .cart-panel .cart-heading>span{color:var(--muted);font-size:11px}.pos-shell.workspace .cart-panel .sale-lines{flex:1;min-height:0;overflow:auto}.cart-lines{list-style:none;margin:0;padding:0}.cart-lines li{align-items:center;border-bottom:1px dashed var(--line);display:grid;gap:4px 10px;grid-template-columns:minmax(0,1fr) auto auto;padding:10px 14px;position:relative}.line-main{display:grid;gap:2px;grid-column:1 / -1;min-width:0;padding-right:20px}.line-main strong{font-size:12.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-main small{color:var(--muted);font-size:10.5px}.line-main .line-stock{color:#b45309;font-weight:700}.pos-shell.workspace .line-main .sale-unit-select{display:block;margin-top:3px}.pos-shell.workspace .line-main .sale-unit-select select{border:1px solid var(--line);border-radius:6px;font-size:11px;max-width:100%;padding:3px 6px}.pos-shell.workspace .cart-lines .quantity-control{border-color:var(--line);border-radius:8px;grid-column:1;height:28px;justify-self:start;width:96px}.pos-shell.workspace .cart-lines .quantity-control button{background:var(--soft);color:var(--ink);width:26px}.line-amount{display:grid;grid-column:2 / 4;justify-items:end}.line-amount b{font-size:13px}.line-amount .pos-product-price{color:var(--muted);display:flex;font-size:10.5px;gap:4px}.line-amount .pos-product-price strong{font-weight:500}.line-amount .pos-product-price strong:after{content:" each"}.pos-shell.workspace .cart-lines .remove-line{color:#a5b0a8;font-size:16px;line-height:1;position:absolute;right:10px;top:9px}.pos-shell.workspace .cart-lines .remove-line:hover{color:#b91c1c}.pos-shell.workspace .cart-panel .checkout-empty{min-height:150px;padding:20px}.pos-shell.workspace .cart-panel .checkout-empty>span{border-radius:14px;font-size:26px;height:46px;width:46px}.pos-shell.workspace .cart-panel .checkout-empty h2{font-size:14px;margin:10px 0 4px}.pos-shell.workspace .checkout-summary{background:var(--soft);border-top:1px solid var(--line);flex:none;margin:0;overflow:visible;padding:10px 14px}.pos-shell.workspace .checkout-summary>div{font-size:12px;padding:3px 0}.pos-shell.workspace .checkout-summary .checkout-total{border-top:1px dashed #cdd9d3;margin-top:6px;padding-top:8px}.pos-shell.workspace .checkout-total span{font-size:13px}.pos-shell.workspace .checkout-total strong{color:var(--brand-dark);font-size:22px;letter-spacing:-.01em}.pos-shell.workspace .checkout-actions{border-top:1px solid var(--line);flex:none;padding:10px 14px 12px}.pos-shell.workspace .checkout-actions>div:first-child button{border-color:var(--line);border-radius:8px;color:var(--ink);font-size:12px;font-weight:600;padding:7px 4px}.pos-shell.workspace .checkout-actions>div:first-child button:hover:not(:disabled){background:var(--soft)}.pos-shell.workspace .checkout-actions>div:first-child kbd{background:var(--soft);border-color:var(--line);color:var(--muted)}.tender-row{display:grid;gap:6px;grid-template-columns:repeat(4,1fr);margin-top:8px}.tender-row button{background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px;font-weight:700;padding:7px 0}.tender-row button.on{background:var(--accent);border-color:var(--brand);color:var(--brand)}.pos-shell.workspace .pay-button{border-radius:10px;font-size:15px;margin-top:8px;padding:13px 8px}.pos-shell.workspace .pay-button:disabled{background:#b9cfc3}.pos-shell.workspace .checkout-actions>small{font-size:10px;margin-top:6px}@media (max-width: 1280px){.pos-shell.workspace>main.checkout-layout{grid-template-columns:minmax(0,1fr) 340px}.pos-shell.workspace>header .workspace-nav>button{padding:8px 9px}.workspace .nepal-clock{display:none}}@media (max-width: 1024px){.pos-shell.workspace>header{flex-wrap:wrap;height:auto;padding:8px 12px}.pos-shell.workspace>header .workspace-nav{justify-content:flex-start;order:3;overflow-x:auto;width:100%}.workspace .register-context{margin-right:auto}.pos-shell.workspace>main.checkout-layout{grid-template-columns:minmax(0,1fr) 310px;padding:10px}.shortcut-hints{display:none}}@media (max-width: 620px){.pos-shell.workspace>main.checkout-layout{padding:8px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));max-height:52vh}.shift-strip .last-sale{margin-left:0}.pos-shell.workspace .payment-sidebar{display:flex}.pos-shell.workspace .checkout-actions{position:sticky;bottom:0;background:#fff}}.pos-shell.workspace>header.pos-header{align-items:center;display:flex;grid-template-areas:none;grid-template-columns:none;height:56px;padding:0 16px}.workspace .pos-header .brand{flex-direction:row}.workspace .pos-header .brand b{font-size:18px}.workspace .pos-header .register-context{justify-self:auto;max-width:240px;min-width:0}.workspace .pos-header .register-context strong,.workspace .pos-header .register-context span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace .pos-header .nepal-clock{font-size:11px;gap:1px;text-align:right}.workspace .pos-header .nepal-clock strong{font-size:11.5px}.workspace .pos-header .lock-action,.workspace .pos-header .sync-state{min-height:34px;padding:6px 10px;font-size:11.5px}.pos-shell.workspace .workspace-message.pos-toast{left:18px;max-height:none;overflow:visible;right:auto;width:auto}@media (max-width: 1500px){.workspace .pos-header .nepal-clock{display:none}.workspace .pos-header .register-context{max-width:190px}}@media (max-width: 1280px){.workspace .pos-header .register-context span{display:none}.workspace .pos-header .sync-state{font-size:0;gap:0;padding:6px 9px}}@media (max-width: 1024px){.pos-shell.workspace>header.pos-header{flex-wrap:wrap;height:auto;padding:8px 12px;row-gap:6px}}@media (max-width: 760px){.pos-shell.workspace>header .workspace-nav{flex:1 0 100%;justify-content:flex-start;order:3;overflow-x:auto}.workspace .pos-header .header-tools{margin-left:auto}.workspace .pos-header .register-context{display:none}}.pos-shell.workspace>header.pos-header{min-height:56px}.pos-shell.workspace>header .workspace-nav>button{min-height:36px}@media (pointer: coarse){.pos-shell.workspace>header .workspace-nav>button{min-height:44px}}.pos-shell.workspace .modal,.pos-shell.workspace .modal *{font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif}.pos-shell.workspace .modal{border-radius:16px}.pos-shell.workspace .modal>header h2{font-size:17px;font-weight:700}.pos-shell.workspace .payment-dialog .amount-due{align-items:baseline;background:var(--accent);border-radius:12px}.pos-shell.workspace .payment-dialog .amount-due b{color:var(--brand-dark);font-weight:800;letter-spacing:-.01em}.pos-shell.workspace .payment-dialog fieldset{border:1px solid var(--line);border-radius:12px}.pos-shell.workspace .payment-dialog legend{color:var(--muted);font-size:11px;font-weight:700;padding:0 6px}.pos-shell.workspace .modal input,.pos-shell.workspace .modal select,.pos-shell.workspace .modal textarea{border:1px solid var(--line);border-radius:9px;font-size:13px}.pos-shell.workspace .modal input:focus,.pos-shell.workspace .modal select:focus,.pos-shell.workspace .modal textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #17794b24;outline:none}.pos-shell.workspace .payment-dialog button:not(.primary):not(.complete-payment):not(.link-danger){background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:12px;font-weight:600;padding:6px 12px}.pos-shell.workspace .payment-dialog button:not(.primary):not(.complete-payment):not(.link-danger):hover{border-color:var(--brand);color:var(--brand)}.pos-shell.workspace .payment-dialog .qr-checkout button.primary,.pos-shell.workspace .payment-dialog .primary{border-radius:10px}.pos-shell.workspace .payment-dialog .complete-payment{border-radius:10px;font-size:14px}.pos-shell.workspace .payment-dialog .payment-balance{background:var(--soft);border-radius:10px}@media (max-width: 620px){.pos-shell.workspace .workspace-message.pos-toast{bottom:auto;left:12px;right:12px;top:12px}}.topbar{--tb-height: 36px;--tb-ink: #ffffff;--tb-ink-soft: #cfe3d8;--tb-surface: rgb(255 255 255 / 8%);--tb-surface-hover: rgb(255 255 255 / 16%);--tb-line: rgb(255 255 255 / 18%);align-items:center;background:#123d2b;border-bottom:2px solid transparent;box-sizing:border-box;color:var(--tb-ink);display:flex;flex:0 0 auto;gap:16px;min-height:56px;padding:0 16px;position:relative;z-index:30}@media (min-width: 761px){.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr)}}.topbar.is-offline{border-bottom-color:#f59e0b}.topbar button{font-family:inherit;margin:0;min-height:0;width:auto}.topbar .tb-icon{flex:none;height:16px;width:16px}.tb-left{align-items:center;display:flex;flex:1 1 0;gap:14px;min-width:0}.tb-brand{align-items:center;display:flex;flex:none;gap:6px}.tb-brand b{font-size:18px;font-weight:800;letter-spacing:-.2px}.tb-brand small{background:var(--tb-surface-hover);border-radius:5px;font-size:9.5px;font-weight:800;letter-spacing:.8px;padding:2px 5px}.tb-register{border-left:1px solid var(--tb-line);display:grid;gap:2px;min-width:0;padding-left:14px}.tb-register strong,.tb-register span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tb-register strong{font-size:13px;font-weight:700}.tb-register span{color:var(--tb-ink-soft);font-size:11px}.tb-nav{background:var(--tb-surface);border-radius:12px;display:flex;flex:none;gap:4px;padding:4px}.topbar .tb-item{align-items:center;background:transparent;border:0;border-radius:9px;color:var(--tb-ink-soft);cursor:pointer;display:inline-flex;font-size:13px;font-weight:600;gap:7px;height:var(--tb-height);line-height:1;padding:0 13px;transition:background-color .12s,color .12s;white-space:nowrap}.topbar .tb-item:hover{background:var(--tb-surface-hover);color:var(--tb-ink)}.topbar .tb-item:active{background:#ffffff3d}.topbar .tb-item.primary{background:#fff;color:#123d2b}.topbar .tb-item.primary:hover{background:#e3f3ea}.topbar .tb-item.primary:active{background:#cfe9da}.tb-badge{background:#ffffff2e;border-radius:9px;color:var(--tb-ink);display:inline-grid;font-size:11px;font-style:normal;font-weight:700;height:18px;min-width:18px;padding:0 5px;place-items:center}.tb-badge.on{background:#f59e0b;color:#1f2937}.tb-right{align-items:center;display:flex;flex:1 0 auto;gap:8px;justify-content:flex-end}.topbar .tb-chip{align-items:center;background:var(--tb-surface);border:1px solid var(--tb-line);border-radius:10px;box-sizing:border-box;color:var(--tb-ink);display:inline-flex;flex:none;font-size:12.5px;font-weight:600;gap:8px;height:var(--tb-height);line-height:1;padding:0 12px;transition:background-color .12s,border-color .12s;white-space:nowrap}.topbar button.tb-chip{cursor:pointer}.topbar button.tb-chip:hover{background:var(--tb-surface-hover);border-color:#ffffff52}.topbar button.tb-chip:active{background:#ffffff3d}.topbar .tb-chip.icon-only{justify-content:center;padding:0;width:var(--tb-height)}.topbar .tb-item:focus-visible,.topbar .tb-chip:focus-visible,.tb-dropdown button:focus-visible{outline:2px solid #7ee0aa;outline-offset:2px}.tb-status i{background:#4ade80;border-radius:50%;box-shadow:0 0 0 3px #4ade8038;height:8px;width:8px}.tb-status small{color:var(--tb-ink-soft);font-size:11.5px;font-weight:500}.tb-status.offline{border-color:#f59e0b99}.tb-status.offline i{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b40}.tb-status.attention{border-color:#f87171b3}.tb-status.attention i{background:#f87171;box-shadow:0 0 0 3px #f8717140}.tb-status.attention small{color:#fecaca;font-weight:700}.tb-clock .tb-icon{color:var(--tb-ink-soft)}.tb-clock .tb-date{color:var(--tb-ink-soft);font-weight:500}.tb-clock strong{font-weight:700}.tb-avatar{background:#34d399;border-radius:50%;color:#073b26;display:grid;flex:none;font-size:10px;font-weight:800;height:22px;place-items:center;width:22px}.topbar .tb-chip .tb-icon{color:var(--tb-ink-soft)}.topbar .tb-chip.icon-only .tb-icon{color:var(--tb-ink);height:18px;width:18px}.tb-menu{position:relative}.tb-dropdown{background:#fff;border:1px solid #dce5df;border-radius:12px;box-shadow:0 16px 40px #0f2a1e38;display:grid;gap:2px;max-width:calc(100vw - 24px);min-width:240px;padding:6px;position:absolute;right:0;top:calc(100% + 10px);z-index:40}.topbar .tb-dropdown button{align-items:center;background:transparent;border:0;border-radius:8px;color:#1f3d2d;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:10px;min-height:40px;padding:0 12px;text-align:left;width:100%}.topbar .tb-dropdown button:hover{background:#edf5f0}.topbar .tb-dropdown .tb-icon{color:#4b6b5a}@media (max-width: 1600px){.tb-status small{display:none}}@media (max-width: 1500px){.tb-clock .tb-date,.tb-chip .tb-label{display:none}.topbar{gap:12px}}@media (max-width: 1300px){.tb-register span{display:none}.topbar .tb-item{padding:0 10px}}@media (max-width: 1180px){.topbar .tb-item:not(.primary)>span{display:none}.tb-clock .tb-icon{display:none}}@media (max-width: 900px){.tb-register{display:none}}@media (max-width: 760px){.topbar{flex-wrap:wrap;gap:8px;padding:8px 10px}.tb-left{flex:1 1 0}.tb-register{display:grid}.tb-right{flex:0 0 auto}.tb-clock{display:none!important}.tb-nav{flex:1 0 100%;order:3;overflow-x:auto;scrollbar-width:none}.topbar .tb-item:not(.primary)>span{display:inline}}@media (pointer: coarse){.topbar{--tb-height: 42px;min-height:62px}.topbar .tb-dropdown button{min-height:46px}}@media (prefers-reduced-motion: reduce){.topbar .tb-item,.topbar .tb-chip{transition:none}}@media print{.topbar{display:none!important}}.confirm-overlay{align-items:center;background:#10221a99;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:18px;position:fixed;z-index:200}.confirm-window{background:#fff;border-radius:16px;box-shadow:0 24px 70px #06130d66;box-sizing:border-box;color:#22392e;font-family:Arial,Helvetica,sans-serif;max-width:440px;padding:24px;width:100%}.confirm-window h2{font-size:18px;font-weight:700;line-height:1.3;margin:0}.confirm-window p{color:#5b6b62;font-size:14px;line-height:1.5;margin:10px 0 0}.confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.confirm-actions button{border-radius:10px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;min-height:42px;min-width:104px;padding:0 18px;width:auto}.confirm-actions .confirm-cancel{background:#fff;border:1px solid #cdd8d1;color:#22392e}.confirm-actions .confirm-cancel:hover{background:#f1f6f3}.confirm-actions .confirm-go{background:#176943;border:1px solid #176943;color:#fff}.confirm-actions .confirm-go:hover{background:#12573a}.confirm-actions .confirm-go.danger{background:#c62828;border-color:#c62828}.confirm-actions .confirm-go.danger:hover{background:#a61f1f}.confirm-actions button:focus-visible{outline:3px solid #7ee0aa;outline-offset:2px}.confirm-actions .confirm-go.danger:focus-visible{outline-color:#f5a3a3}@media (max-width: 480px){.confirm-actions{flex-direction:column-reverse}.confirm-actions button{width:100%}}@media (pointer: coarse){.confirm-actions button{min-height:48px}}@media print{.confirm-overlay{display:none!important}}.payment-qr-manager{padding:20px;border:1px solid #dce3eb;border-radius:14px;background:#fff;color:#172b42;margin-bottom:24px}.qr-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.qr-heading h2{margin:0 0 8px}.qr-heading p,.qr-card p{color:#526378;margin:0 0 12px}.qr-form-grid,.qr-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.payment-qr-manager fieldset{border:0;padding:0;min-width:0}.payment-qr-manager legend{font-weight:700;margin:16px 0}.qr-form-grid label{display:flex;flex-direction:column;gap:8px}.qr-form-grid input{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbd5e1;border-radius:7px}.qr-check{display:flex!important;align-items:center;gap:10px;margin:14px 0}.qr-check input{width:auto!important}.qr-preview{display:block;width:280px;max-width:100%;height:280px;object-fit:contain;background:#fff;margin:16px auto}.qr-actions{display:flex;gap:12px;margin-top:18px}.qr-card{border:1px solid #dce3eb;border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:12px}.qr-card img{width:160px;height:160px;object-fit:contain;background:#fff;align-self:center}.qr-card h3{margin:0 0 6px;font-size:16px;overflow-wrap:anywhere}.qr-error{color:#a51d29;background:#fff0f0;padding:12px;border-radius:8px}.payment-qr-manager button{cursor:pointer;padding:10px 14px;border:1px solid #b8c9d9;border-radius:8px;background:#f4f8fc;color:#143a60;font-weight:600}.payment-qr-manager button:disabled{opacity:.5;cursor:not-allowed}.qr-checkout{text-align:center;border-top:1px solid #dce3eb;padding-top:16px;margin-top:16px}.qr-checkout select{width:100%;padding:10px}.qr-checkout img{display:block;width:300px;height:300px;max-width:100%;object-fit:contain;background:#fff;padding:12px;box-sizing:border-box;margin:12px auto}.qr-checkout strong{display:block;font-size:22px;margin:8px 0}.qr-checkout .qr-check{text-align:left}.qr-checkout p{color:#526378}.qr-checkout .qr-error{color:#a51d29}@media (max-width:600px){.qr-form-grid,.qr-card-grid{grid-template-columns:1fr}.qr-heading{flex-direction:column}.payment-qr-manager{padding:14px}}.qr-image-editor{margin:16px 0;padding:16px;border:1px solid #cbd5e1;border-radius:10px;background:#f7fafc}.qr-image-editor h3{margin:0 0 8px}.qr-image-editor p{font-size:13px;color:#526378}.qr-editor-images{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.qr-editor-images b{display:block;margin-bottom:8px}.qr-editor-images canvas{display:block;width:100%;height:auto;background:#fff;border:1px solid #cbd5e1}.qr-crop-source{position:relative;overflow:hidden;background:#fff;line-height:0}.qr-crop-source img{display:block;width:100%;height:auto}.qr-crop-selection{position:absolute;border:2px solid #16844c;box-shadow:0 0 0 2000px #10251a70;pointer-events:none}.qr-crop-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.qr-crop-controls label{display:grid;gap:6px}.qr-crop-controls input{width:100%;accent-color:#176943}.qr-image-editor .qr-actions{flex-wrap:wrap}@media (max-width:480px){.qr-editor-images{grid-template-columns:1fr}.qr-editor-images>div{max-width:260px;width:100%;margin:auto}.qr-crop-controls{grid-template-columns:1fr}}.sales-invoice-backdrop{background:#050c09b8;display:grid;top:0;right:0;bottom:0;left:0;overflow:auto;padding:24px;place-items:start center;position:fixed;z-index:90}.sales-invoice{background:#fff;border-radius:14px;box-shadow:0 28px 90px #0000004d;box-sizing:border-box;color:#17221d;display:grid;gap:18px;max-width:900px;padding:34px;width:100%}.sales-invoice-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.sales-invoice-payment{border:1px solid #dce3de;border-radius:10px;display:grid;gap:5px;padding:13px}.sales-invoice-payment small{color:#67746d;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.sales-invoice-payment b,.sales-invoice-payment span{font-size:11px}.invoice-transaction-print-list{display:grid;gap:3px;margin-top:4px}.sales-invoice-print-frame{border:0;height:297mm;left:-10000px;position:fixed;top:0;width:210mm}@media screen and (max-width:700px){.sales-invoice-backdrop{padding:10px}.sales-invoice{overflow-x:auto;padding:20px}}@media print{html,body{height:auto!important;min-height:0!important;overflow:visible!important}body:has(.sales-invoice) #root,body:has(.sales-invoice) .merchant-shell,body:has(.sales-invoice) .merchant-dashboard{height:0!important;min-height:0!important;overflow:visible!important}.sales-invoice-backdrop{background:#fff;display:block;height:auto!important;inset:auto;left:0;min-height:0!important;overflow:visible;padding:0;position:absolute;top:0;width:100%}.sales-invoice{border:0;border-radius:0;box-shadow:none;max-width:none;padding:0;width:100%}}
