.delivery-config{padding:22px;margin-bottom:22px}.delivery-toolbar{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.delivery-toolbar>.field{max-width:220px}.delivery-endpoints{display:grid;grid-template-columns:1fr 1fr;gap:24px}.delivery-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;cursor:pointer}.delivery-check input{flex-shrink:0;margin:3px 0 0}.delivery-endpoints .delivery-check{margin-top:10px}.delivery-help{font-size:11px;margin:18px 0;color:#78664f;line-height:1.8}.delivery-help summary{cursor:pointer}.delivery-help p{margin-top:10px;font-size:11px}.delivery-config-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.delivery-config-actions>span,.delivery-build-actions>span{font-size:10px;line-height:1.7;color:#78664f}.delivery-orders .panel-head>span,.delivery-result .panel-head>span{font-size:11px;color:#78664f}.delivery-orders td small{line-height:1.8;white-space:normal}.delivery-empty{padding:28px;color:#78664f;font-size:12px}.delivery-build{padding:20px 24px;border-top:1px solid var(--border)}.delivery-build-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.delivery-build-actions>span{flex:1;min-width:180px}.delivery-warning{padding:12px 16px;border:1px solid #e4d0ac;background:#fcf2df;border-radius:8px;color:#805a32;font-size:11px;margin-bottom:18px}.delivery-result{margin-top:24px;scroll-margin-top:20px}.delivery-route{list-style:none;padding:0 24px;margin:0}.delivery-route li{display:flex;gap:15px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--border)}.route-step{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#f4e7c8;color:var(--brown);font-size:12px;font-weight:600}.delivery-route strong{font-size:12px}.delivery-route small{display:block;margin-top:5px;font-size:10px;line-height:1.8}.delivery-map-links{padding:20px 24px;display:flex;gap:14px;flex-wrap:wrap}.delivery-map-links>p{flex-basis:100%;font-size:11px}.delivery-map-links>div{display:grid;gap:7px}.delivery-map-links small{font-size:10px}.delivery-map-links .btn{background:var(--gold);color:var(--brown);border-color:var(--gold)}#delivery-location-form>.field{margin-top:22px}
@media(max-width:700px){.delivery-config{padding:16px}.delivery-endpoints{grid-template-columns:1fr;gap:18px}.delivery-toolbar{gap:14px}.delivery-toolbar>.field{max-width:none;width:100%}.delivery-config-actions{gap:12px}.delivery-build-actions>span{flex-basis:100%}.delivery-build,.delivery-map-links{padding:16px}.delivery-route{padding:0 16px}.delivery-result .panel-head{align-items:flex-start;gap:10px;flex-wrap:wrap}.delivery-orders td{font-size:11px}}
.fulfillment-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:10px 0;font-size:10px}.fulfillment-controls .btn{padding:4px 6px;font-size:9px}.fulfillment-badge{display:inline-block;background:#eee8dc;color:#78664f;border-radius:5px;padding:5px 8px;font-size:9px;white-space:nowrap}.fulfillment-badge.is-ready{background:#e3f2e8;color:#286440}.delivery-route li>div{flex:1;min-width:0}.delivery-route li>.btn{align-self:center;font-size:10px}.delivery-route li{flex-wrap:wrap}.delivery-orders .fulfillment-controls{max-width:200px}.delivery-warning{margin-left:15px;margin-right:15px}
.route-stop-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}.route-stop-actions .btn{font-size:10px;padding:7px 10px;min-height:32px}.route-stop-payments{display:flex;flex-wrap:wrap;gap:14px;margin-top:10px}.route-stop-payments:empty{display:none}.route-stop-payments>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px}.route-stop-payments .partial-payment{flex-basis:100%}.route-stop-details{margin-top:18px}.route-order-detail{border:1px solid var(--border);border-radius:8px;margin-bottom:18px;overflow:hidden}.route-order-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px}.route-order-head h3{flex:1;min-width:160px}.route-order-sum{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:16px 28px;padding:18px 20px;background:#faf4e8}
.route-order-breakdown{display:grid;gap:6px;margin:0;font-size:12px;min-width:180px}
.route-order-breakdown>div{display:flex;justify-content:space-between;gap:24px}
.route-order-breakdown dt{color:var(--muted)}
.route-order-breakdown dd{margin:0;font-variant-numeric:tabular-nums}
.route-order-total{display:grid;justify-items:end;gap:4px;text-align:right}
.route-order-total>span{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.route-order-total>strong{font-size:28px;line-height:1.05;font-weight:700;color:var(--deep);font-variant-numeric:tabular-nums}
.route-order-total>em{font-style:normal;font-size:12px;font-weight:650;padding:4px 10px;border-radius:999px}
.route-order-total>em.is-due{background:#fbe6d4;color:#a5531c}
.route-order-total>em.is-paid{background:#e3f1e6;color:#2f7a45}.route-order-actions{padding:12px 16px;display:flex;gap:10px;flex-wrap:wrap}.route-order-notes{padding:12px 16px;font-size:11px;white-space:pre-wrap}.route-order-detail table{min-width:480px}.route-stop-actions .whatsapp-link{color:#fff;background:#257943}
.route-stop-contact{display:flex;align-items:center;gap:6px}.route-stop-contact>span{font-size:10px;color:#78664f}

/* v0.102: en el celular los productos de la parada van como lista corta (la tabla apilada quedaba pesada). */
.route-order-lines{display:none}
