.delivery-overlay{position:fixed;inset:0;z-index:320;background:rgba(18,42,36,.45);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:24px;animation:delivery-fade .18s ease}.delivery-overlay.nested{z-index:350;background:rgba(18,42,36,.58)}@keyframes delivery-fade{from{opacity:0}to{opacity:1}}.delivery-threshold-dialog,.delivery-confirm-dialog,.delivery-editor-dialog{position:relative;background:#fff;border:1px solid #d7e9e4;box-shadow:0 28px 90px rgba(18,61,51,.25)}.delivery-threshold-dialog{width:min(680px,94vw);border-radius:28px;padding:42px 46px}.delivery-threshold-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#dff7f0,#f2fbf8);color:#087c69;font-size:30px;margin-bottom:20px}.delivery-threshold-dialog>small,.delivery-editor-dialog header small{color:#16927b;font-weight:800;letter-spacing:.16em}.delivery-threshold-dialog h2{font-size:28px;margin:8px 0 10px;color:#193b33}.delivery-threshold-dialog>p{color:#698078;line-height:1.7;margin:0 0 24px}.delivery-modal-close{position:absolute;right:20px;top:18px;border:0;background:#edf5f2;color:#547069;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}.delivery-day-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.delivery-day-presets button{height:48px;border:1px solid #cee2dc;border-radius:13px;background:#fff;color:#355e54;font-weight:800;cursor:pointer}.delivery-day-presets button:hover,.delivery-day-presets button.active{background:#e9f8f4;border-color:#33aa92;color:#087c69;box-shadow:0 0 0 3px rgba(51,170,146,.1)}.delivery-day-input{display:grid;gap:8px;color:#4e6b64;font-size:13px;font-weight:700}.delivery-day-input>div{display:flex;align-items:center;border:1px solid #bdd9d2;border-radius:14px;background:#fbfdfc;overflow:hidden}.delivery-day-input input{flex:1;border:0;background:transparent;font-size:24px;font-weight:800;color:#173d34;padding:14px 16px;outline:0}.delivery-day-input b{padding:0 18px;color:#668078}.delivery-formula{display:grid;gap:6px;margin-top:20px;padding:16px 18px;background:linear-gradient(120deg,#effaf7,#fffaf0);border:1px solid #d6e9e3;border-radius:15px}.delivery-formula b{color:#147c68}.delivery-formula span{font-weight:700;color:#355e54}.delivery-formula small{color:#778c86}.delivery-threshold-dialog footer,.delivery-confirm-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.delivery-threshold-dialog footer button,.delivery-confirm-dialog footer button{min-width:120px;padding:12px 18px;border-radius:11px;border:1px solid #cfe1dc;font-weight:800;cursor:pointer}.delivery-confirm-dialog{width:min(520px,92vw);border-radius:23px;padding:34px}.delivery-confirm-dialog h3{font-size:22px;margin:14px 0 8px}.delivery-confirm-dialog p{color:#71847f;line-height:1.6}.delivery-confirm-dialog textarea{width:100%;min-height:120px;box-sizing:border-box;border:1px solid #c8ddd7;border-radius:13px;padding:13px;resize:vertical}.delivery-confirm-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#eaf7f3;color:#087c69;font-size:22px;font-weight:900}.delivery-confirm-icon.reject{background:#fff0ed;color:#c24132}.danger-button{background:#c64737!important;border-color:#c64737!important;color:#fff!important}.delivery-overlay.editor{padding:18px}.delivery-editor-dialog{width:min(1760px,98vw);height:min(920px,96vh);border-radius:24px;display:flex;flex-direction:column;overflow:hidden}.delivery-editor-dialog>header{position:relative;display:flex;align-items:flex-start;gap:20px;padding:24px 30px 17px;border-bottom:1px solid #deebe7;background:linear-gradient(110deg,#f0faf7,#fffaf3)}.delivery-editor-dialog header>div{flex:1}.delivery-editor-dialog header h2{margin:5px 0;font-size:25px}.delivery-editor-dialog header p{margin:0;color:#738780}.delivery-editor-dialog header .delivery-status{margin-right:42px}.delivery-editor-dialog .delivery-plan-metrics,.delivery-editor-dialog .delivery-toolbar,.delivery-editor-dialog .active-column-filter,.delivery-editor-dialog .delivery-note{margin-left:24px;margin-right:24px}.delivery-editor-dialog .delivery-plan-metrics{margin-top:15px;margin-bottom:10px}.delivery-editor-dialog .delivery-toolbar{margin-top:0;margin-bottom:8px}.delivery-editor-dialog .delivery-note{margin-top:7px;margin-bottom:10px}.delivery-editor-dialog .delivery-table-wrap{flex:1;max-height:none;margin:0 24px;border:1px solid #dce9e5;border-radius:13px}.delivery-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 24px;border-top:1px solid #dce9e5;background:#fbfdfc}.delivery-editor-footer>span{color:#70847e;font-size:12px}.delivery-editor-footer>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.delivery-editor-footer button{padding:10px 15px;border:1px solid #c9dcd7;border-radius:10px;background:#fff;font-weight:800;cursor:pointer}.delivery-rejection-banner{display:flex;align-items:center;gap:12px;margin:14px 24px 0;padding:12px 15px;border:1px solid #f0c6bf;border-radius:12px;background:#fff5f3;color:#7e3c34}.delivery-rejection-banner b{color:#b13b2d}.delivery-rejection-banner span{flex:1}.delivery-rejection-banner small{color:#96736e}.delivery-quantity-wrap{display:grid;gap:3px}.delivery-quantity-wrap small{font-size:10px;color:#8a9b96}.delivery-quantity.invalid{border-color:#d34b3d!important;background:#fff4f2;box-shadow:0 0 0 3px rgba(211,75,61,.1)}.delivery-quantity-wrap.invalid small{color:#c43d30;font-weight:700}.delivery-row-actions{display:flex;gap:6px;flex-wrap:wrap;min-width:280px}.delivery-row-actions button,.delivery-row-actions a{border:1px solid #c8ddd7;border-radius:8px;background:#fff;color:#176f5d;text-decoration:none;padding:7px 9px;font-size:12px;font-weight:750;cursor:pointer}.delivery-row-actions .primary{background:#15947c;color:#fff;border-color:#15947c}.delivery-plan-list-table{min-width:1450px}.delivery-plan-list-table td:last-child{min-width:310px}.rejected-note{display:block;color:#b54a3b;margin-top:4px}@media(max-width:800px){.delivery-threshold-dialog{padding:30px 22px}.delivery-day-presets{grid-template-columns:1fr}.delivery-editor-footer{align-items:flex-start;flex-direction:column}.delivery-editor-dialog .delivery-plan-metrics{grid-template-columns:repeat(2,1fr)}}
