.pos-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:18px;align-items:start}
.pos-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;max-height:65vh;overflow:auto}
.pos-product{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;border:1px solid #dfe8e1;border-radius:11px;padding:14px;background:#fff;color:#213b35;min-height:110px}
.pos-product:hover{border-color:#196247;background:#f5faf5}.pos-product small{color:#70877b}.pos-product b{margin-top:auto;color:#196247}.pos-product[hidden]{display:none}
.pos-cart{position:sticky;top:18px}.pos-cart-lines{max-height:42vh;overflow:auto}.pos-cart-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border-top:1px solid #e6eee7;padding:12px 0;font-size:13px}.pos-cart-line small{display:block;color:#809186;margin-top:3px}.pos-cart-line>strong{white-space:nowrap}.pos-qty{display:flex;align-items:center;gap:7px}.pos-qty button{border:1px solid #cddfd2;border-radius:7px;background:#eef6ef;min-width:27px;min-height:27px;color:#165b40}.pos-total{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:17px 0;font-size:14px}.pos-total strong{font-size:20px}.pos-dialog{border:0;border-radius:15px;box-shadow:0 20px 70px #0004;width:min(490px,calc(100vw - 24px));max-height:90vh;overflow:auto;padding:24px;color:#19322e}.pos-dialog::backdrop{background:#13241dc0}.pos-dialog h2{margin:0 0 16px}.pos-dashboard-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f1f8f1}.pos-dashboard-strip span{display:block;font-size:12px;color:#637e6b;margin-top:4px}.pos-receipt p{font-size:13px;line-height:1.55}.pos-receipt p strong{float:right}.pos-receipt-total{font-size:17px!important;font-weight:800}.pos-receipt hr{border:0;border-top:1px dashed #aaa}
@media(max-width:850px){.pos-layout{grid-template-columns:1fr}.pos-cart{position:static}.pos-picker{max-height:45vh}}
@media(max-width:620px){.pos-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-cart-line{grid-template-columns:minmax(0,1fr) auto}.pos-cart-line>strong{grid-column:1/-1;text-align:right}.pos-dashboard-strip{display:block}.pos-dashboard-strip button{margin-top:10px}.sidebar .side-nav{max-width:70vw}}
@media print{body:has(.pos-dialog[open]) #app,body:has(.pos-dialog[open]) #toast{display:none!important}.pos-dialog[open]{position:static;border:0;box-shadow:none;width:100%;max-height:none;padding:0}.pos-dialog::backdrop{display:none}.pos-receipt{max-width:74mm;margin:auto}.pos-receipt .no-print{display:none}}
