body.app-ventas .supplier-return-dialog{width:min(960px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(var(--checkout-height,100vh) - 24px);padding:0;overflow:hidden;border:1px solid #aec4b6;border-radius:14px;background:#fff;color:#173e2b}
body.app-ventas .supplier-return-frame{display:flex;flex-direction:column;min-width:0;max-height:calc(var(--checkout-height,100vh) - 26px)}
body.app-ventas .supplier-return-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #d9e5de}
body.app-ventas .supplier-return-heading h2{margin:0;font-size:1.25rem;line-height:1.3;overflow-wrap:anywhere}
body.app-ventas .supplier-return-content{display:flex;flex-direction:column;min-height:0}
body.app-ventas .supplier-return-form{display:flex;flex-direction:column;min-height:0;margin:0;max-height:calc(var(--checkout-height,100vh) - 104px)}
body.app-ventas .supplier-return-scroll{min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px 20px;scroll-padding-block:14px}
body.app-ventas .supplier-return-scroll h3{margin:22px 0 10px;font-size:1rem}
body.app-ventas .supplier-return-scroll h3:first-child{margin-top:0}
body.app-ventas .supplier-return-scroll p{max-width:72ch;margin:8px 0;color:#435f4e;line-height:1.5}
body.app-ventas .supplier-return-scroll label{display:grid;gap:6px;min-width:0;color:#214633;font-size:13px;font-weight:700}
body.app-ventas .supplier-return-scroll input,body.app-ventas .supplier-return-scroll select,body.app-ventas .supplier-return-scroll textarea{width:100%;min-height:44px;box-sizing:border-box;font-size:16px;caret-color:#126244}
body.app-ventas .supplier-return-scroll textarea{min-height:80px;resize:vertical}
body.app-ventas .supplier-return-scroll :is(input,select,textarea,button):focus-visible,body.app-ventas .supplier-credit-panel button:focus-visible{outline:2px solid #126244;outline-offset:3px}
body.app-ventas .supplier-return-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
body.app-ventas .supplier-return-grid .span-2{grid-column:1/-1}
body.app-ventas .supplier-return-lots{display:grid;gap:0;border-block:1px solid #d9e5de}
body.app-ventas .supplier-return-lot{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,160px);gap:18px;align-items:center;padding:14px 0;border-bottom:1px solid #e5ece7}
body.app-ventas .supplier-return-lot:last-child{border-bottom:0}
body.app-ventas .supplier-return-lot strong,body.app-ventas .supplier-return-lot small{display:block;overflow-wrap:anywhere}
body.app-ventas .supplier-return-lot small{margin-top:4px;color:#496452;font-size:12px;line-height:1.45}
body.app-ventas .supplier-return-totals{display:grid;gap:0;margin:12px 0;border-block:1px solid #ccdcd1;font-variant-numeric:tabular-nums}
body.app-ventas .supplier-return-totals>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #e2eae5}
body.app-ventas .supplier-return-totals>div:last-child{border:0;font-weight:800}
body.app-ventas .supplier-return-totals dt,body.app-ventas .supplier-return-totals dd{margin:0}
body.app-ventas .supplier-return-totals dd{text-align:right;font-weight:700;white-space:nowrap}
body.app-ventas .supplier-return-check{display:flex!important;align-items:start;gap:10px!important;font-weight:500!important;line-height:1.5}
body.app-ventas .supplier-return-check input{width:20px;min-height:20px;height:20px;margin:2px 0 0;flex:0 0 20px;accent-color:#126244}
body.app-ventas .supplier-return-warning{padding:12px;background:#fff8e6;border:1px solid #d7c28b;border-radius:9px;color:#594619!important}
body.app-ventas .supplier-return-error{padding:10px 12px;border:1px solid #b75147;border-radius:8px;background:#fff6f4;color:#802c23!important}
body.app-ventas .supplier-return-actions{flex:0 0 auto;display:flex;justify-content:flex-end;gap:10px;margin:0!important;padding:14px 20px;border-top:1px solid #d9e5de;background:#fff}
body.app-ventas .supplier-return-actions button{min-height:44px;white-space:normal}
body.app-ventas .supplier-return-dialog [hidden],body.app-ventas .supplier-credit-panel [hidden]{display:none!important}
body.app-ventas .supplier-credit-panel{min-width:0}
body.app-ventas .supplier-credit-toolbar{display:flex;justify-content:space-between;align-items:start;gap:14px;margin-bottom:16px}
body.app-ventas .supplier-credit-toolbar h3{margin:0 0 6px}
body.app-ventas .supplier-credit-toolbar p{margin:0;color:#496452;max-width:72ch;line-height:1.5}
body.app-ventas .supplier-credit-list{display:grid;gap:0}
body.app-ventas .supplier-credit-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #d9e5de}
body.app-ventas .supplier-credit-row>div{min-width:0}
body.app-ventas .supplier-credit-row strong,body.app-ventas .supplier-credit-row span,body.app-ventas .supplier-credit-row small{display:block;overflow-wrap:anywhere}
body.app-ventas .supplier-credit-row small{margin-top:4px;color:#496452;font-size:12px;line-height:1.45}
body.app-ventas .supplier-credit-balance{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
body.app-ventas .supplier-credit-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.app-ventas .supplier-credit-actions button{min-height:44px}
body.app-ventas .supplier-return-receipt-items{list-style:none;padding:0;margin:8px 0 20px}
body.app-ventas .supplier-return-receipt-items li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:10px 0;border-bottom:1px solid #d9e5de}
body.app-ventas .supplier-return-receipt-items small{display:block;margin-top:4px;color:#496452;line-height:1.4}
body.app-ventas .supplier-return-receipt-items li>strong{text-align:right;white-space:nowrap}
@media(max-width:620px){body.app-ventas .supplier-return-dialog{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 .supplier-return-frame{max-height:calc(var(--checkout-height,100vh) - 14px)}body.app-ventas .supplier-return-heading{padding:12px 14px}body.app-ventas .supplier-return-form{max-height:calc(var(--checkout-height,100vh) - 76px)}body.app-ventas .supplier-return-scroll{padding:14px}body.app-ventas .supplier-return-grid{grid-template-columns:1fr}body.app-ventas .supplier-return-lot{grid-template-columns:minmax(0,1fr) 112px;gap:12px}body.app-ventas .supplier-return-actions{padding:10px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.app-ventas .supplier-return-actions button:last-child:nth-child(odd){grid-column:1/-1}body.app-ventas .supplier-credit-toolbar{flex-wrap:wrap}body.app-ventas .supplier-credit-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}body.app-ventas .supplier-credit-actions{grid-column:1/-1;justify-content:flex-start}body.app-ventas .supplier-credit-actions button{flex:1}body.app-ventas .supplier-return-totals>div{gap:12px}}
