.delivery-editor-backdrop{position:fixed;inset:0;z-index:10000;background:#000b;display:grid;place-items:center;padding:20px}
.delivery-editor [hidden]{display:none!important}
.delivery-editor{width:min(1100px,100%);max-height:92vh;max-height:92dvh;display:flex;flex-direction:column;background:var(--card,#101720);color:var(--white,#eee);border:1px solid var(--border2,#344456);border-radius:6px;box-shadow:0 20px 70px #0009;outline:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:0}
.delivery-editor-header{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid var(--border,#344456)}
.delivery-editor-header h2{font-size:22px;line-height:1.3;margin:0;color:var(--gold-l,#efc65b)}
.delivery-editor-header span{font-size:11px;color:var(--muted,#aaa)}
.delivery-editor button{font:700 12px/1.4 Helvetica,Arial,sans-serif;letter-spacing:0;border:1px solid var(--border2,#344456);border-radius:3px;background:var(--dark,#111923);color:var(--white,#eee);padding:10px 14px;cursor:pointer}
.delivery-editor button:disabled{opacity:.5;cursor:not-allowed}
.delivery-editor button:focus-visible{outline:2px solid var(--blue-l,#68b4ff);outline-offset:2px}
.delivery-editor-header>button{font-size:25px;width:42px;height:42px;padding:0}
.delivery-editor-tabs{display:flex;padding:10px 22px;gap:8px;border-bottom:1px solid var(--border,#344456);flex-wrap:wrap}
.delivery-editor-tabs button[aria-pressed=true],.delivery-editor .delivery-editor-primary{background:var(--blue,#075493);color:#fff;border-color:var(--blue-l,#68b4ff)}
.delivery-editor-body{padding:22px;overflow:auto;min-height:100px}
.delivery-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.delivery-editor label{display:block;font-size:12px;font-weight:700;color:var(--light,#ccc);letter-spacing:0}
.delivery-editor input,.delivery-editor textarea,.delivery-editor select{display:block;width:100%;margin-top:7px;padding:11px;font:400 14px/1.5 Helvetica,Arial,sans-serif;letter-spacing:0;color:var(--white,#eee);background:var(--dark,#111923);border:1px solid var(--border2,#344456);border-radius:3px;min-width:0}
.delivery-editor-wide{grid-column:1/-1}.delivery-editor-warning{font-size:13px;line-height:1.6;color:var(--gold-l,#efc65b);margin:0 0 20px}
.delivery-editor input,.delivery-editor textarea,.delivery-editor select{background:var(--field,#070a0e);transition:none}
.delivery-editor-error{padding:12px;border-left:3px solid #ec6262;background:#6f222222;color:var(--white,#eee);font-size:14px;line-height:1.6;margin-bottom:18px}
.delivery-editor-sheets{list-style:none;margin:0;padding:0}.delivery-editor-sheets li{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border,#344456)}
.delivery-editor-sheets img{width:120px;aspect-ratio:4/3;object-fit:contain;background:#080808}.delivery-editor-sheets li>div:nth-child(2){flex:1;min-width:0}.delivery-editor-sheets strong,.delivery-editor-sheets span{display:block;font-size:13px;overflow-wrap:anywhere}.delivery-editor-sheets span{margin-top:6px;color:var(--muted,#aaa);font-size:12px}.delivery-editor-sheets li>div:last-child{display:flex;gap:8px}
.delivery-editor-generator{padding-top:20px}.delivery-editor-generator>button{margin-bottom:14px}
.delivery-editor-label-form{padding:20px 0}.delivery-editor-label-form h3{font-size:16px;margin-bottom:16px}.delivery-editor-label-form label{margin-bottom:14px}.delivery-editor-label-form button{margin:0 10px 10px 0}.delivery-editor-sheets li>div:last-child{flex-wrap:wrap}
.delivery-editor-generator details{margin:18px 0;padding:14px 0;border-top:1px solid var(--border,#344456);border-bottom:1px solid var(--border,#344456)}.delivery-editor-generator details label{margin:12px 0}.delivery-editor summary{cursor:pointer}
.delivery-editor .delivery-editor-folder-check{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;font-size:13px;line-height:1.5}.delivery-editor-folder-check input{width:18px;flex:0 0 18px;margin:2px 0 0;padding:0}
.delivery-editor-summary{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px 16px;font-size:13px;line-height:1.6;margin:0 0 22px}.delivery-editor-summary dt{color:var(--muted,#aaa)}.delivery-editor-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.delivery-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid var(--border,#344456);flex-wrap:wrap}.delivery-editor-footer span{margin-right:auto;font-size:12px;color:var(--muted,#aaa)}
body[data-theme="light"] .delivery-editor-header h2,body[data-theme="light"] .delivery-editor-warning{color:var(--gold,#a8791e)}
@media(max-width:650px){.delivery-editor-backdrop{padding:8px}.delivery-editor{max-height:96dvh}.delivery-editor-body,.delivery-editor-header{padding:16px}.delivery-editor-fields{grid-template-columns:1fr}.delivery-editor-tabs{padding:10px 16px}.delivery-editor-sheets li{flex-wrap:wrap}.delivery-editor-sheets img{width:90px}.delivery-editor-sheets li>div:last-child{width:100%}.delivery-editor-footer{padding:12px}.delivery-editor-footer span{width:100%;margin:0}.delivery-editor-summary{grid-template-columns:1fr;gap:3px}.delivery-editor-summary dd{margin-bottom:10px}}
