.possearch{background:#fff;border:1px solid #dfe6f1;border-radius:14px;padding:14px;margin-bottom:14px}.possearch input{width:100%;height:48px;border:2px solid #1769e0;border-radius:10px;padding:0 14px;font-size:16px}.possearch small{display:block;color:#66748a;margin-top:7px}.cartline{align-items:center;gap:8px;flex-wrap:wrap}.cartline>span:first-child{flex:1;min-width:110px}.qty{display:flex;align-items:center;gap:5px}.qty button{width:28px;height:28px;border:0;border-radius:7px;background:#e8f1ff;color:#1769e0;font-weight:900}.qty .remove{background:#ffe9ec;color:#cf2f45}.qty input{width:50px;height:30px;border:1px solid #d8e1ed;border-radius:7px;text-align:center}.received{display:flex;flex-direction:column;gap:6px;margin-top:12px;font-size:13px;font-weight:700;color:#526079}.received input{height:44px;border:1px solid #d8e1ed;border-radius:9px;padding:0 10px}.change{background:#eaf8f1;border-radius:10px;margin-top:10px!important;padding:13px!important;color:#08744f}.cashcards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.cashcards article{background:#f4f8ff;border:1px solid #dce8fa;border-radius:12px;padding:15px}.cashcards small,.cashcards b{display:block}.cashcards b{font-size:20px;margin-top:6px;color:#1769e0}.modalback{position:fixed;inset:0;z-index:9999;background:#071733aa;display:grid;place-items:center;padding:16px}.modalbox{width:min(520px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 25px 80px #0005}.modalbox h2{margin:0 0 18px}.summarylines>div,.summarytotal,.receiptline,.receipttotal{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid #edf1f6}.summarytotal,.receipttotal{font-size:20px;margin-top:8px}.modalactions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;flex-wrap:wrap}.modalactions button{border:0;border-radius:10px;padding:12px 16px;background:#1769e0;color:#fff;font-weight:800}.modalactions .secondary{background:#e8edf5;color:#27364d}.modalactions .danger{background:#d63d50}.receipt header{text-align:center;border-bottom:1px dashed #8090a5;padding-bottom:12px;margin-bottom:14px}.receipt header h2{margin:0}.receipt header p{margin:5px 0}.receipt p{margin:7px 0}.receipt footer{text-align:center;margin-top:20px;border-top:1px dashed #8090a5;padding-top:12px;color:#526079}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-weight:800;font-size:11px}.badge.valid{background:#e4f7ee;color:#08744f}.badge.cancelled{background:#ffe6ea;color:#b7283c}.cancel-sale{border:0;background:#ffe6ea;color:#b7283c;border-radius:8px;padding:7px 10px;font-weight:800}.ok{color:#08744f}.negative{color:#c32940}.positive{color:#1769e0}.userform{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.userform>label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#526079}.userform input,.userform select{height:42px;border:1px solid #d8e1ed;border-radius:9px;padding:0 10px}.userform>button{height:44px;border:0;border-radius:10px;background:#1769e0;color:#fff;font-weight:800}.permissions{grid-column:1/-1;background:#f5f8fd;border:1px solid #dfe8f5;border-radius:12px;padding:15px}.permissions h4{margin:0}.permissions p{color:#68778e;font-size:12px}.permissiongrid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.permissiongrid label,.activecheck{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;background:#fff;border:1px solid #e0e7f0;border-radius:9px;padding:9px;font-size:12px}.permissiongrid input,.activecheck input{width:17px;height:17px}.edit-user{border:0;background:#e8f1ff;color:#1769e0;border-radius:8px;padding:7px 10px;font-weight:800}@media(max-width:650px){.cashcards{grid-template-columns:1fr}.modalactions button{flex:1}.userform,.permissiongrid{grid-template-columns:1fr}}
