.tabs,.action-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 22px}.inline-form{display:flex;gap:8px;align-items:center}.inline-form input{min-width:160px}.pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}.pos-search{display:flex;gap:14px;margin-bottom:18px}.pos-search label{flex:1;min-width:0}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.product-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;background:var(--surface,#132035);border:1px solid var(--border,#26364d);border-radius:16px;padding:18px;color:inherit;min-height:200px;cursor:pointer}.product-card:hover{border-color:#26bca5;transform:translateY(-2px)}.product-card img{width:100%;height:105px;object-fit:contain;border-radius:10px}.product-icon{display:grid;place-items:center;background:#1c7e7022;border-radius:12px;width:52px;height:52px;color:#21b29b}.product-icon svg{width:30px;height:30px}.product-card small{opacity:.65}.product-card b{color:#20bca3}.add-label{align-self:stretch;text-align:center;font-size:12px;padding:6px;border-radius:7px;background:#159f8b20;margin-top:auto}.cart-panel{position:sticky;top:85px;display:grid;gap:14px;min-width:0}.cart-row{display:flex;justify-content:space-between;gap:10px;align-items:center;border-bottom:1px solid #8090a322;padding:14px 0}.cart-row small{display:block;font-size:11px;opacity:.65;margin-top:5px}.quantity-control{display:flex;gap:8px;align-items:center}.quantity-control button{padding:6px 10px;min-width:30px}.cart-total{display:flex;justify-content:space-between;padding:16px 0;border-top:1px solid #8090a333}.cart-total strong{font-size:23px;color:#1cb29c}.commerce-dialog{width:min(640px,calc(100vw - 30px));max-height:90vh;overflow:auto;box-sizing:border-box}.commerce-dialog form{display:grid;gap:13px}.commerce-dialog h2{font-size:22px}.commerce-dialog input,.commerce-dialog select,.commerce-dialog textarea{min-width:0;max-width:100%;box-sizing:border-box}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.positive-text{color:#159d87}.danger-text{color:#ec6570}.checkbox-line{display:flex!important;flex-direction:row!important;align-items:center;gap:10px!important}.checkbox-line input{width:18px!important;height:18px!important;min-width:18px!important}.profile-hero{display:flex;align-items:center;gap:22px}.profile-hero h2{margin:0 0 8px}.profile-hero .primary{margin-left:auto}.profile-photo{width:90px;height:90px;border-radius:50%;object-fit:cover}.debtor-row{background:transparent;border:0;border-bottom:1px solid #8090a322;display:flex;justify-content:space-between;text-align:left;width:100%;padding:15px 0;color:inherit;cursor:pointer}.debtor-row small{display:block;opacity:.65;margin-top:5px}.checkout-total strong{color:#1cb29c;font-size:26px}[hidden]{display:none!important}.channel-row{flex-wrap:wrap;gap:10px}.channel-row small{display:block}.table-wrap{max-width:100%;overflow:auto}.settle-debt{min-width:240px}.product-card,.cart-panel{transition:border-color .15s,transform .15s}html[data-theme=light] .product-card{background:white;border-color:#e0e8ed}html[data-theme=light] .product-card:hover{border-color:#149e8a}.commerce-dialog::backdrop{background:#071224aa;backdrop-filter:blur(3px)}
@media(max-width:1100px){.pos-layout{grid-template-columns:minmax(0,1fr) 290px}.product-grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr))}}
@media(max-width:800px){.pos-layout{grid-template-columns:1fr}.cart-panel{position:static}.pos-search{flex-direction:column}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card{padding:14px;min-height:185px}.profile-hero{flex-wrap:wrap}.profile-hero .primary{margin-left:0}.form-pair{grid-template-columns:1fr}.inline-form{flex-wrap:wrap}.action-bar>*{max-width:100%}.commerce-dialog{padding:20px}.commerce-dialog .mixed-payments{grid-template-columns:1fr 1fr}.kpi-grid{min-width:0}}
.tabs>button,.action-bar>button{width:auto;min-height:42px}
.report-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.75}.report-preview{margin:0}

.cash-count{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.cash-count>p,.cash-count>label{margin:0;min-width:0}.cash-count input{width:100%;font-size:16px}.commerce-dialog .checkbox-line input{min-height:18px!important;max-height:18px;padding:0!important;margin:0;flex:0 0 18px}.permission-row{border-top:1px solid var(--border);padding:16px 0}.permission-row h4{margin:0}

.lock-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.lock-screen>.card{width:min(480px,100%)}.ps-alert.yellow{background:#e6b53522;border-color:#d5a523;color:var(--text)}.ps-alert.red{background:#de434322;border-color:#e65353;color:var(--text)}#phase2-ps .secondary{margin:8px 8px 8px 0}

.close-day{flex-wrap:wrap}.close-day>[data-zero-day]{flex:1 1 100%;grid-column:1/-1}.close-day>[data-zero-day] input{flex:0 0 18px;min-height:18px!important;padding:0!important}#phase2-ps form{margin-top:24px}
