body.app-ventas dialog#ventasLotAllocationModal{width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(var(--checkout-height,100vh) - 24px);padding:0;overflow:hidden;border:1px solid #adc4b5;border-radius:14px;background:#fff;color:#173e2b}
body.app-ventas #ventasLotAllocationModal .lot-allocation-frame{display:flex;flex-direction:column;min-width:0;max-height:calc(var(--checkout-height,100vh) - 26px)}
body.app-ventas #ventasLotAllocationModal .lot-allocation-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:18px 20px;border-bottom:1px solid #d9e5de}
body.app-ventas #ventasLotAllocationModal h2{margin:0;font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}
body.app-ventas #ventasLotAllocationModal h3{margin:20px 0 10px;font-size:1rem;line-height:1.4}
body.app-ventas #ventasLotAllocationModal h3:first-child{margin-top:0}
body.app-ventas #ventasLotAllocationModal .lot-allocation-content,body.app-ventas #ventasLotAllocationModal .lot-allocation-form{display:flex;flex-direction:column;min-height:0;margin:0}
body.app-ventas #ventasLotAllocationModal .lot-allocation-form{max-height:calc(var(--checkout-height,100vh) - 100px)}
body.app-ventas #ventasLotAllocationModal .lot-allocation-scroll{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px 20px;scroll-padding-block:14px}
body.app-ventas #ventasLotAllocationModal p{max-width:70ch;line-height:1.5;color:#435f4e}
body.app-ventas #ventasLotAllocationModal .lot-allocation-balances{margin:18px 0;border-block:1px solid #cbdcd0;font-variant-numeric:tabular-nums}
body.app-ventas #ventasLotAllocationModal .lot-allocation-balances>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #e2eae5}
body.app-ventas #ventasLotAllocationModal .lot-allocation-balances>div:last-child{border:0;font-weight:700}
body.app-ventas #ventasLotAllocationModal dt,body.app-ventas #ventasLotAllocationModal dd{margin:0}
body.app-ventas #ventasLotAllocationModal dd{text-align:right;font-weight:700;overflow-wrap:anywhere}
body.app-ventas #ventasLotAllocationModal .lot-allocation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
body.app-ventas #ventasLotAllocationModal label{display:grid;gap:6px;min-width:0;color:#214633;font-size:13px;font-weight:700}
body.app-ventas #ventasLotAllocationModal .lot-allocation-full{grid-column:1/-1}
body.app-ventas #ventasLotAllocationModal :is(input,select,textarea){width:100%;min-height:44px;box-sizing:border-box;font-size:16px;caret-color:#126244}
body.app-ventas #ventasLotAllocationModal textarea{min-height:76px;resize:vertical}
body.app-ventas #ventasLotAllocationModal :is(input,select,textarea,button):focus-visible{outline:2px solid #126244;outline-offset:3px}
body.app-ventas #ventasLotAllocationModal [aria-invalid=true]{border-color:#a94437}
body.app-ventas #ventasLotAllocationModal .lot-allocation-confirm{display:flex;gap:10px;align-items:start;line-height:1.5;font-weight:500}
body.app-ventas #ventasLotAllocationModal .lot-allocation-confirm input{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#126244;margin:2px 0 0}
body.app-ventas #ventasLotAllocationModal .lot-allocation-note{padding:12px;border:1px solid #cbdcd0;border-radius:9px;background:#f5f9f6;color:#214633}
body.app-ventas #ventasLotAllocationModal .lot-allocation-error{padding:10px 12px;border:1px solid #b75147;border-radius:8px;background:#fff6f4;color:#802c23}
body.app-ventas #ventasLotAllocationModal .lot-allocation-actions{position:static!important;flex:0 0 auto;display:flex!important;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0!important;padding:14px 20px;border-top:1px solid #d9e5de;background:#fff}
body.app-ventas #ventasLotAllocationModal .lot-allocation-actions button{min-height:44px;min-width:0;white-space:normal;margin:0}
body.app-ventas #ventasLotAllocationModal [hidden]{display:none!important}
body.app-ventas .lot-allocation-pending{padding:14px 0;border-block:1px solid #d9e5de;margin:16px 0}
body.app-ventas .lot-allocation-pending>div{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:8px 0}
body.app-ventas .lot-allocation-pending p{max-width:70ch;color:#435f4e;line-height:1.5}
body.app-ventas .lot-onboarding-pending .lot-allocation-onboarding-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;min-width:0}
body.app-ventas .lot-allocation-onboarding-row button{min-width:0;white-space:normal;overflow-wrap:anywhere}
body.app-ventas .lot-onboarding-receipt-note{max-width:72ch;padding:12px 0;margin:12px 0;border-block:1px solid #cbdcd0;color:#345440;line-height:1.5}
@media(max-width:620px){body.app-ventas .lot-onboarding-pending .lot-allocation-onboarding-row{grid-template-columns:1fr}}
@media(max-width:620px){body.app-ventas dialog#ventasLotAllocationModal{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(var(--checkout-height,100vh) - 12px);margin:6px auto;border-radius:12px}body.app-ventas #ventasLotAllocationModal .lot-allocation-frame{max-height:calc(var(--checkout-height,100vh) - 14px)}body.app-ventas #ventasLotAllocationModal .lot-allocation-heading{padding:12px 14px}body.app-ventas #ventasLotAllocationModal .lot-allocation-form{max-height:calc(var(--checkout-height,100vh) - 76px)}body.app-ventas #ventasLotAllocationModal .lot-allocation-scroll{padding:14px}body.app-ventas #ventasLotAllocationModal .lot-allocation-fields{grid-template-columns:1fr}body.app-ventas #ventasLotAllocationModal .lot-allocation-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:10px 14px}body.app-ventas #ventasLotAllocationModal .lot-allocation-actions button{width:100%}body.app-ventas #ventasLotAllocationModal .lot-allocation-actions button:last-child:nth-child(odd){grid-column:1/-1}}
