#delivery-dialog{width:min(880px,calc(100vw - 32px));max-height:90vh;padding:0;border:0;border-radius:16px;box-shadow:0 24px 90px #15223830;color:#25344a}
#delivery-dialog::backdrop{background:#15223855;backdrop-filter:blur(3px)}
#delivery-dialog>.dialog-header{padding:22px 24px;border-bottom:1px solid #e9edf3}
#delivery-dialog h2{font-size:20px;margin:0 0 6px}#delivery-dialog .muted{font-size:12px;line-height:1.6;color:#738096;margin:0}
#delivery-body{padding:20px 24px;overflow:auto;max-height:calc(90vh - 180px)}
#delivery-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e9edf3}
.delivery-intro,.delivery-note{font-size:13px;line-height:1.7;margin:0 0 16px}.delivery-note{color:#738096;margin:16px 0}
.delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.delivery-fields>label{display:flex;gap:12px;align-items:center;border:1px solid #e3e8f0;padding:14px;border-radius:10px;cursor:pointer}
.delivery-fields>label:has(:checked){border-color:#adc1f1;background:#f7f9ff}.delivery-fields input{accent-color:#2d5edb;width:16px;height:16px}
.delivery-fields strong,.delivery-fields small{display:block}.delivery-fields strong{font-size:13px;font-weight:550}.delivery-fields small{font-size:11px;color:#7f8ba0;margin-top:5px}
.delivery-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.delivery-settings label{font-size:12px}.delivery-settings select{display:block;margin-top:7px;width:100%;height:36px;border:1px solid #dce3ee;border-radius:7px;background:white;padding:0 8px}
.delivery-error{font-size:13px;color:#a44536;background:#fff2ee;border-radius:8px;padding:12px;line-height:1.6;margin:0 0 14px}.delivery-error[hidden]{display:none}
.delivery-history-row{display:flex;width:100%;justify-content:space-between;gap:16px;text-align:left;background:#f8f9fb;padding:12px;margin-top:8px;border-radius:8px;font-size:12px}.delivery-history-row small{display:block;color:#7d8a9e;margin-top:5px}.delivery-history-row b{white-space:nowrap;font-weight:500}
#delivery-history{border-top:1px solid #e9edf3;padding-top:16px;font-size:12px}#delivery-history summary{cursor:pointer}
.delivery-progress strong,.delivery-progress span{display:block}.delivery-progress strong{font-size:22px;margin-bottom:9px}.delivery-progress span{font-size:13px;color:#738096}.delivery-progress progress{width:100%;height:7px;accent-color:#2d5edb;margin-top:14px}
.delivery-batch{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#8a95a6;margin:16px 0 24px}
.delivery-results>section{border-top:1px solid #e9edf3;padding:16px 0}.delivery-results header{display:flex;justify-content:space-between;font-size:13px;margin-bottom:12px}.delivery-results header span{color:#7c899e;font-size:12px}
.delivery-thumbnails{display:flex;gap:10px;overflow:auto;padding-bottom:4px}.delivery-thumbnails a{flex:0 0 112px;text-decoration:none;color:#53627a}.delivery-thumbnails img,.delivery-video-thumb{width:112px;height:128px;object-fit:contain;background:#f3f5f8;border:1px solid #e5e9f0;border-radius:6px;display:block}.delivery-video-thumb{display:grid;place-items:center;font-size:14px}.delivery-thumbnails small{display:block;font-size:10px;line-height:1.5;margin-top:6px}
.delivery-sequence{background:#f5f7fb;padding:16px;border-radius:10px;font-size:12px;line-height:1.7}.delivery-sequence small{color:#738096}.delivery-success{font-size:12px;color:#35836a}
.toolbar-tools{display:flex;align-items:center;gap:8px}
@media(max-width:800px){.document-toolbar{flex-wrap:wrap!important;height:auto!important;gap:8px!important;padding-block:8px!important}.document-toolbar .toolbar-tools{margin-left:0}.delivery-fields,.delivery-settings{grid-template-columns:1fr}.delivery-batch{flex-direction:column}.polished-workspace .document-toolbar #output-tabs{gap:14px;height:36px}}
