.pos-workspace{color:#173f35;min-width:0;letter-spacing:0;container-type:inline-size}
.pos-workspace h3{font:700 28px/1.2 Georgia,serif;margin:0}
.pos-workspace h4,.pos-dialog h4{font:700 18px/1.3 system-ui;margin:0 0 16px}
.pos-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.pos-heading p{margin:6px 0;color:#596b63}
.pos-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pos-tabs{display:flex;gap:4px;border-bottom:1px solid #cbd8d2;margin:16px 0}
.pos-tabs button{border:0;background:transparent;color:#52665c;padding:12px 16px;border-bottom:3px solid transparent;font:600 14px system-ui}
.pos-tabs button[aria-selected=true]{color:#173f35;border-color:#c29512}
.pos-sale{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.pos-catalog,.pos-cart{min-width:0}
.pos-cart{border-top:1px solid #cbd8d2;padding:20px 0 0}
.pos-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,180px);gap:12px;margin-bottom:16px}
.pos-product-sections{display:grid;gap:28px;min-width:0}
.pos-category{min-width:0}
.pos-subcategory{min-width:0;margin-bottom:24px}
.pos-subcategory:last-child{margin-bottom:0}
.pos-subcategory h5{margin:0 0 12px;font:600 13px/1.4 system-ui;color:#42695e;overflow-wrap:anywhere}
.pos-subcategory h5 small{font-weight:400;color:#6d7772}
.pos-filters [data-subcategory]{grid-column:1 / -1;max-width:320px;min-width:0}
.pos-filters [data-subcategory][hidden]{display:none}
.pos-category-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px 16px;border-bottom:1px solid #cbd8d2;padding-bottom:8px;margin-bottom:12px}
.pos-category-heading h4{font:600 16px/1.4 system-ui;margin:0;overflow-wrap:anywhere}
.pos-category-heading span{font:400 12px/1.4 system-ui;color:#60746a;white-space:nowrap}
.pos-workspace input,.pos-workspace select,.pos-dialog input:not([type=checkbox]),.pos-dialog select,.pos-dialog textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid #b7c8bf;border-radius:6px;background:#fff;color:#173f35;font:400 16px system-ui;padding:10px;min-height:44px}
.pos-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,296px),1fr));grid-auto-rows:1fr;gap:12px}
.pos-product{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:16px;text-align:left;padding:12px;background:#fff;border:1px solid #cbd8d2;border-radius:8px;color:inherit;min-width:0;min-height:126px;cursor:pointer}
.pos-product-media{width:108px;height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pos-product-media img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;border-radius:4px}
.pos-product-info{min-width:0;display:grid;gap:4px;align-content:start}
.pos-product strong,.pos-product small,.pos-product b{display:block;overflow-wrap:anywhere;margin:0}
.pos-product strong{font:600 14px/1.4 system-ui;min-height:2.8em}.pos-product small{font:400 12px/1.4 system-ui;color:#60746a}.pos-product b{font:700 14px/1.4 system-ui;font-variant-numeric:tabular-nums}
.pos-product:focus-visible{outline:3px solid #25765a;outline-offset:3px}
.pos-product:enabled:hover{border-color:#25765a;background:#f2f8f5}.pos-workspace button:disabled{opacity:.55;cursor:not-allowed}
.pos-cart-line{display:grid;grid-template-columns:minmax(0,1fr) 64px 32px;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #dce4df;font-size:14px}
.pos-cart-line strong,.pos-cart-line small{display:block;overflow-wrap:anywhere}.pos-cart-line small{color:#60746a;margin-top:4px}
.pos-cart-line label{font-size:12px}.pos-cart-line button{width:32px;height:40px;border:0;background:transparent;font-size:24px;color:#8b3434}
.pos-total{display:flex;justify-content:space-between;gap:20px;padding:8px 0;font-size:14px}.pos-total span{min-width:0}.pos-total strong{text-align:right;overflow-wrap:anywhere}
.pos-total-final{border-top:1px solid #b7c8bf;margin-top:12px;padding-top:16px;font-size:17px}
.pos-checkout{width:100%;margin-top:16px;min-height:48px}
.pos-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:16px 0 24px}
.pos-variance{background:#edf4f9;color:#244f70;padding:12px;margin-top:8px;border-radius:4px}
.pos-closing{padding:16px 0;border-bottom:1px solid #cbd8d2}.pos-closing p{font-size:13px;overflow-wrap:anywhere}
.pos-opening{text-align:center;padding:32px 0}.pos-opening img{width:100px;height:100px;object-fit:contain;margin-bottom:20px}
.pos-movements{margin-top:24px}.pos-movement,.pos-receipt,.pos-receipt-lines>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #dce4df}
.pos-movement span,.pos-receipt span,.pos-receipt-lines span{min-width:0;overflow-wrap:anywhere}.pos-movement small,.pos-receipt small,.pos-receipt-lines small{display:block;color:#60746a;font-size:12px;margin-top:5px}
.pos-receipt{width:100%;background:transparent;border:0;border-bottom:1px solid #dce4df;text-align:left;color:inherit;font:400 14px system-ui;cursor:pointer}
.pos-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #cbd8d2;border-radius:8px;background:#fff;color:#173f35;box-sizing:border-box}
.pos-dialog::backdrop{background:rgba(13,34,26,.5)}
.pos-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 36px);margin:0}
.pos-dialog header,.pos-dialog footer{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;background:#fff}
.pos-dialog header{border-bottom:1px solid #dce4df}.pos-dialog h3{font:700 20px/1.3 system-ui;margin:0;overflow-wrap:anywhere}
.pos-dialog header button{background:transparent;border:0;font-size:26px;min-width:36px;min-height:40px;color:inherit}
.pos-dialog footer{border-top:1px solid #dce4df;justify-content:flex-end;flex-wrap:wrap}
.pos-dialog-body{padding:20px;overflow:auto;min-height:0;overscroll-behavior:contain}
.pos-dialog .field{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:14px;font-weight:600}
.pos-dialog [hidden],.pos-workspace [hidden]{display:none!important}
.pos-denoms label{display:grid;grid-template-columns:90px minmax(65px,1fr) minmax(80px,1fr);align-items:center;gap:12px;margin-bottom:10px;font-size:14px}
.pos-denoms output{text-align:right;overflow-wrap:anywhere}
.pos-check{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:14px}.pos-check input{width:20px;height:20px;flex:none}
.pos-dialog button,.pos-workspace button{letter-spacing:0}
.pos-receipt-photo,.pos-receipt-evidence{border-top:1px solid #dce4df;padding-top:16px;margin-top:16px;min-width:0}
.pos-receipt-photo h4{font:600 14px system-ui;margin:0 0 12px}
.pos-photo-actions{display:flex;gap:8px;flex-wrap:wrap}
.pos-photo-actions .btn,.pos-receipt-evidence .btn{white-space:normal;max-width:100%;min-height:44px}
.pos-photo-preview{display:block;width:100%;height:200px;object-fit:contain;background:#f4f6f5;margin-top:16px;border:1px solid #dce4df;border-radius:4px;box-sizing:border-box}
.pos-photo-evidence{display:block;width:100%;max-height:480px;object-fit:contain;margin-top:16px}
.pos-receipt-evidence p,.pos-receipt-evidence a{overflow-wrap:anywhere}
.pos-dialog [data-payment-status]{font-size:14px;color:#244f70}
.pos-opening-issue{border-left:4px solid #c29512;background:#fff9e7;padding:16px;margin-top:16px;overflow-wrap:anywhere}
.pos-opening-issue h4{font-size:16px;margin:0 0 8px}
.pos-opening-issue p{font-size:14px;line-height:1.5;margin:8px 0}
.pos-opening-issue dl,.pos-recovery dl{margin:12px 0;font-size:14px}
.pos-opening-issue dl>div,.pos-recovery dl>div{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.pos-opening-issue dd,.pos-recovery dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0}
.pos-opening-issue dt,.pos-recovery dt{min-width:0}
.pos-opening-issue .btn,.pos-recovery .btn{white-space:normal;max-width:100%;min-height:44px}
.pos-register-review{width:min(1100px,calc(100vw - 24px))}
.pos-register-review .pos-heading h3{font-size:22px}
.pos-recovery{border-bottom:1px solid #cbd8d2;padding:0 0 16px;margin:0 0 20px}
@container(min-width:1000px){.pos-sale{grid-template-columns:minmax(0,1fr) 280px}.pos-cart{border-top:0;border-left:1px solid #cbd8d2;padding:0 0 0 20px}}
@media(max-width:430px){.pos-product-sections{gap:24px}.pos-category-heading{grid-template-columns:minmax(0,1fr);gap:4px}.pos-category-heading h4{font-size:15px}}
@media(max-width:760px){.pos-product{grid-template-columns:84px minmax(0,1fr);gap:12px;min-height:110px}.pos-product-media{width:84px;height:80px}.pos-products{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}}
@media(max-width:600px){.pos-summary{grid-template-columns:minmax(0,1fr);gap:24px}.pos-filters{grid-template-columns:minmax(0,1fr)}.pos-tabs button{padding:12px 10px}.pos-product{min-height:96px}.pos-products{grid-template-columns:minmax(0,1fr)}.pos-heading h3{font-size:24px}.pos-dialog header,.pos-dialog footer,.pos-dialog-body{padding:16px}.pos-denoms label{grid-template-columns:72px minmax(56px,1fr) minmax(72px,1fr);gap:8px;font-size:12px}.pos-dialog footer .btn{font-size:14px;white-space:normal}.pos-total{gap:12px}}
