/* Miga · Tickets en espera, recetas y motivos de merma */
.ticket-hold-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0 2px}
.ticket-hold-actions button{border:1px solid #efe5dd;border-radius:10px;padding:10px 8px;font-size:11px;font-weight:800;white-space:nowrap}
.hold-primary{background:#fce9df;color:#be7357}
.hold-secondary{background:#f9f6f2;color:#786b62}
.hold-secondary span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;background:#ede3da;border-radius:40px;color:#715c50}
.held-tickets{padding:8px 12px;margin:11px 0;border-radius:12px;background:#faf3ec;border:1px solid #efe4d9}
.held-tickets[hidden]{display:none}
.held-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #eae0d9}
.held-row:last-child{border-bottom:0}
.held-row b{font-size:11px}
.held-row small{display:block;font-size:10px;color:#98857a;margin-top:4px}
.held-row>div:last-child{display:flex;gap:5px}
.held-row button{border:0;padding:7px 9px;background:#fff;border-radius:7px;font-size:10px;color:#b16b50;font-weight:800}
.held-row button.held-remove{font-size:17px;color:#ac9990;padding:4px 9px}
.held-empty{padding:14px;font-size:11px;color:#8d827c;text-align:center}
.recipe-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:19px;align-items:start}
.recipe-products{display:flex;flex-direction:column;gap:6px;max-height:660px;overflow-y:auto}
.recipe-product{border:1px solid transparent;display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:8px;border-radius:11px;background:transparent}
.recipe-product.active{background:#fcebe0;border-color:#f4dac8}
.recipe-product:hover:not(.active){background:#f9f6f2}
.recipe-product img{width:43px;height:43px;border-radius:10px;object-fit:cover;flex:none}
.recipe-product span:nth-child(2){flex:1;min-width:0}
.recipe-product b{font-size:11px;display:block}
.recipe-product small{color:#a0958b;display:block;margin-top:3px;font-size:10px}
.recipe-product>span:last-child{font-size:17px;color:#c4a79a}
.recipe-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:23px}
.recipe-fields label{font-size:11px;color:#84786e;font-weight:800}
.recipe-fields input{display:block;margin-top:8px;width:100%;padding:11px 12px;border:1px solid #ece3dd;border-radius:10px;outline:0;font-size:13px}
.recipe-subhead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:14px}
.recipe-subhead b{font-size:13px}
.recipe-subhead span{font-size:10px;color:#aca096}
.recipe-items-header,.recipe-ingredient{display:grid;grid-template-columns:minmax(110px,1.7fr) minmax(60px,.8fr) minmax(57px,.65fr) minmax(70px,.85fr) 26px;gap:7px;align-items:center}
.recipe-items-header{font-size:9px;color:#a69a91;margin-bottom:7px}
.recipe-ingredient{margin-bottom:8px}
.recipe-ingredient input,.recipe-ingredient select{min-width:0;width:100%;background:white;border:1px solid #e9e2dc;border-radius:8px;padding:10px 7px;font-size:11px;color:#403a34;outline:0}
.recipe-ingredient input:focus,.recipe-ingredient select:focus,.recipe-fields input:focus{border-color:#e4a38b}
.recipe-delete{border:0;background:#f9ece6;border-radius:7px;height:29px;color:#bb755d;font-size:19px}
.recipe-add{border:1px dashed #dfbfaf;border-radius:8px;background:#fff8f2;font-size:11px;font-weight:800;color:#ae765e;padding:11px 14px;margin:10px 0 24px}
.recipe-breakdown{background:#f8f5f0;padding:15px;border-radius:13px;margin-bottom:17px}
.recipe-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;font-size:11px;color:#8c8177}
.recipe-breakdown b{color:#4a403a;font-size:12px}
.recipe-breakdown .recipe-profit{border-top:1px dashed #e4d7cf;padding-top:17px;margin-top:8px;color:#48413c;font-weight:800}
.recipe-profit strong{font-family:Manrope;font-size:17px;color:#44895f;white-space:nowrap}
.recipe-profit strong.cost-negative{color:#c45c4b}
.waste-guide{font-size:11px;line-height:1.6;background:#f9f4ef;padding:11px 14px;border-radius:10px;color:#98877a;margin-bottom:8px}
.waste-reason{border:1px solid #e9e0d7;border-radius:9px;padding:10px 7px;min-width:135px;background:white;color:#7a6d63;font-size:11px}
.waste-reason-summary{margin-bottom:14px}
.waste-reason-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.waste-reason-badges span{background:#f7eee7;border:1px solid #ede1d8;border-radius:18px;padding:8px 12px;font-size:10px;color:#806c60}
.waste-reason-badges b{margin-left:6px;color:#be7658}
@media(max-width:1120px){.recipe-layout{grid-template-columns:1fr}.recipe-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}}
@media(max-width:700px){.recipe-products{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-layout .panel{padding:17px}.recipe-profit strong{font-size:14px}.recipe-ingredient{grid-template-columns:minmax(90px,1.7fr) 54px 55px 63px 22px;gap:4px}.recipe-ingredient input,.recipe-ingredient select{padding:9px 4px;font-size:10px}.recipe-items-header{grid-template-columns:minmax(90px,1.7fr) 54px 55px 63px 22px;gap:4px}.waste-reason{flex:1;min-width:130px}}
@media(max-width:440px){.recipe-fields{grid-template-columns:1fr}.recipe-products{grid-template-columns:1fr}.recipe-subhead span{display:none}.recipe-ingredient{grid-template-columns:minmax(75px,1.7fr) 48px 49px 55px 20px;gap:3px}.recipe-items-header{grid-template-columns:minmax(75px,1.7fr) 48px 49px 55px 20px;gap:3px}.recipe-ingredient input,.recipe-ingredient select{font-size:9px;padding:8px 3px}.recipe-breakdown .recipe-profit{flex-wrap:wrap}}
