.df-route-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px}
.df-route-entry h3{margin:4px 0 8px}
.df-sync-tools{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;color:#738196;font-size:12px}
.df-sync-tools summary{width:fit-content}
.df-sync-tools .actions{padding-top:14px}
.df-product-cell{min-width:210px;max-width:300px}
.df-product-cell small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.df-document-row{display:flex;flex-direction:column;align-items:stretch;padding:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;min-width:0;background:#fff}
.df-document-row>div{min-width:0}
.df-document-row>.df-document-files{flex:1}
.df-document-row small{display:block;margin-top:5px;color:#8491a6;overflow-wrap:anywhere}
.df-package{padding:16px 0;border-bottom:1px solid #edf1f6}
.df-package h4{margin:0 0 8px}
.df-package h4 small{font-weight:400;color:#8491a6;margin-left:8px}
.df-package .details{margin-top:12px}
@media(max-width:760px){.df-route-entry{align-items:flex-start;flex-direction:column}
.df-document-row{flex-wrap:wrap}
}

.df-quick{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.df-quick button{min-height:34px;padding:6px 12px}
.df-checkboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}
.df-policy-candidates{display:grid;gap:12px;margin:12px 0}

.df-file-cell{white-space:nowrap}
.df-technical{margin-top:12px}
.df-technical summary{cursor:pointer;color:#566779}
.df-technical .details{margin-top:10px}
.df-target-row{display:flex;gap:10px;align-items:end}
.df-target-row .field{flex:1}
.df-payload{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fa;padding:12px;border-radius:8px}
.df-create-preview{margin-top:12px;border:1px solid var(--line);border-radius:6px;background:#fff}
.df-create-preview summary{padding:12px 16px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}
.df-create-preview summary span{margin-left:6px;color:#566779;font-weight:500}
.df-create-preview dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,136px),1fr));gap:12px 16px;margin:0;padding:0 16px 14px}
.df-create-preview dt{font-size:12px;color:#566779}
.df-create-preview dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}
.df-create-preview table{width:100%;min-width:0;table-layout:fixed;border-top:1px solid var(--line)}
.df-create-preview th,.df-create-preview td{padding:9px 16px;white-space:normal;overflow-wrap:anywhere}
.df-create-preview th:nth-child(2){width:25%}
.df-create-preview th:last-child{width:16%}
.df-create-preview tbody tr:last-child td{border-bottom:0}
.connection-card dd{overflow-wrap:anywhere}

.df-candidate{margin:16px 0;padding:20px;border:1px solid var(--line);border-radius:10px;background:#fafbfd}
.df-candidate-head,.df-checkbox{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.df-candidate-head{margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.df-candidate-head strong{margin-right:auto}
.df-target-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.df-checkbox{margin:8px 0}
.df-checkbox input{width:auto}
.df-candidate select{min-width:0}
.df-candidate-head button{padding:4px 7px}
@media(max-width:600px){.df-target-grid{grid-template-columns:1fr}
}


#df-channel-form{margin-top:24px;padding:20px;max-width:none;border:1px solid var(--line);border-radius:10px;background:#f8fafc;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
#df-channel-form>h3,#df-channel-form>.modal-form-actions,#df-channel-form>.df-checkbox,#df-channel-form>button{grid-column:1/-1}
#df-channel-form>button{justify-self:start;margin-bottom:14px}
@media(max-width:600px){#df-channel-form{grid-template-columns:1fr;padding:16px}}

@media(max-width:600px){.df-target-grid{grid-template-columns:1fr}
}

.order-workbench{margin:0}

.order-quick-row{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:12px 20px}
.order-quick-filters{display:flex;align-items:center;gap:4px 6px;flex-wrap:wrap;flex:1 1 560px}
.df-order-results,.df-history-switch{display:flex;align-items:center;gap:10px}
.df-order-results{margin-left:auto;justify-content:flex-end;flex-wrap:wrap;font-size:12px;white-space:nowrap}
.df-quick-count{opacity:.8;font-variant-numeric:tabular-nums}

.quick-label{font-size:12px;color:#8390a2;padding-right:10px}

.order-quick-filters button{padding:5px 10px;min-height:30px;font-size:12px;border:0;box-shadow:none;border-radius:6px}

.order-quick-filters button.primary{background:#e4f3f5;color:#007487}

.order-batch-bar{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:18px 20px;background:#f7f8f8;border-top:1px solid var(--line);border-radius:0}

.df-file-cell small{font-size:11px;color:#60738b;padding:3px 0;margin:0}

.df-order-selection{width:15px;height:15px;vertical-align:middle;cursor:pointer}

.df-product-cell{max-width:240px;min-width:180px}

.df-product-cell small{max-width:220px}

.df-document-row{gap:0}

.df-document-row:last-child{border-bottom:1px solid var(--line)}

.df-package{padding:20px 0}

.df-package h4{font-size:13px}

@media(max-width:760px){.order-batch-bar{padding:14px}
.order-batch-bar .muted{width:100%}
.df-fulfillment-warning{color:#9a4b12}
.order-batch-bar button{font-size:12px;padding:7px 10px}
.quick-label{flex-basis:100%;padding-bottom:4px}
.df-candidate{padding:16px}
.df-target-grid{grid-template-columns:1fr}
.df-product-cell{min-width:160px}
}


.order-table-panel{padding:0;overflow:hidden}.order-table-panel .table-scroll{margin:0}.order-table-panel .pager{padding:16px 20px}.order-batch-bar .actions{justify-content:flex-end;flex:1;gap:8px}.order-batch-bar button{min-height:34px;padding:6px 10px;font-size:12px;border:1px solid #bdc6c9;border-radius:5px;background:#fff;color:#283b47}.order-batch-bar button.primary{background:#ffd814;border-color:#f1c900;color:#172331}.batch-select-all{display:flex;align-items:center;gap:10px;flex-shrink:0;font-size:13px;line-height:20px;padding-top:4px}.batch-select-all small{display:block;color:#687078;font-size:11px;font-weight:400}.batch-select-all input,.df-order-selection{width:16px;height:16px;accent-color:#007f91;cursor:pointer}.row-detail-button{width:32px;height:32px;min-height:32px;padding:6px;border-color:#ccd4d7;color:#007f91}.df-file-cell small{display:flex;align-items:center;gap:8px;margin:5px 0}.df-file-cell small>span:first-child{width:38px;font-size:11px;color:#657079}.df-documents-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 26px}.df-document-heading{display:flex;align-items:center;gap:10px;padding:16px;background:#f5f8f8;border-bottom:1px solid var(--line)}.df-document-heading>div{flex:1;min-width:0}.df-document-heading strong{font-size:14px}.document-symbol{color:#007f91;background:#e0eff1;padding:8px;border-radius:4px;display:flex}.df-document-files{padding:4px 16px}.df-local-file{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f0}.df-local-file:last-child{border-bottom:0}.df-local-file>div{min-width:0;flex:1}.df-local-file strong{display:block;font-size:12px;overflow-wrap:anywhere;font-weight:500}.document-download{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:7px 10px;border:1px solid #a4c4c9;border-radius:5px;color:#007487;background:#fff;text-decoration:none;font-size:12px}.document-download:hover{background:#e7f3f4}.document-download .icon{width:15px;height:15px}.document-empty{font-size:12px;color:#687078;padding:10px 0}.df-document-wms{padding:12px 16px;border-top:1px solid var(--line);background:#fbfcfc}.df-order-drawer{width:min(900px,94vw)}.df-order-drawer>header{background:#1196ab;color:#fff;border-bottom:1px solid #087c90;box-shadow:0 2px 8px #0638421a}.df-order-drawer>header .eyebrow{color:#fff;font-weight:600}.df-order-drawer>header h2{font-size:20px}.df-order-drawer>header button{color:#fff}.df-order-drawer>header button:hover{background:#087c90;color:#fff}.df-order-drawer .drawer-body{background:#f3f4f4;padding:24px}.df-order-drawer .panel{border-radius:6px;box-shadow:none;margin-bottom:18px}.df-order-drawer .panel h3{border-bottom:1px solid var(--line);padding-bottom:14px;margin:0 0 18px;font-size:15px}.df-order-drawer footer{border-top:1px solid var(--line);background:#fff}
@media(max-width:900px){.order-batch-bar{flex-direction:column;gap:14px}.order-batch-bar .actions{justify-content:flex-start}.df-documents-grid{grid-template-columns:1fr}}

#df-connection-alerts{max-width:1720px;margin:0 auto;padding:0 32px}
.df-connection-alert{display:flex;align-items:center;gap:14px;margin:18px 0 0;padding:14px 16px;border:1px solid #efb5b7;border-left:4px solid #ba2434;border-radius:12px;background:#fff0f0;color:#7f1d2d}
.df-connection-alert-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#f9d8dc;color:#a91e2d}
.df-connection-alert-body{flex:1;min-width:0}
.df-connection-alert-body strong{font-size:15px;color:#861d2c}
.df-connection-alert.df-connection-pending{background:#fffbeb;border-color:#f0d698;border-left-color:#a66714;color:#78480c}
.df-connection-pending .df-connection-alert-icon{background:#fcecc0;color:#87500e}
.df-connection-pending .df-connection-alert-body strong{color:#78480c}
.df-connection-alert p,.df-connection-notice p{margin:4px 0 0;line-height:1.5}
.df-connection-alert-actions{display:flex;align-items:center;gap:8px;flex:none}
.df-connection-alert-actions .quiet{color:#7f1d2d;padding:7px;min-width:34px;min-height:34px}
.df-connection-alert-actions .quiet:hover{background:#f8dadd}
.df-reconnect-button{background:#a91e2d;color:#fff;border-color:#a91e2d}
.df-reconnect-button:hover{background:#861d2c;border-color:#861d2c}
.df-connection-notice{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:12px;border:1px solid #efb5b7;border-radius:10px;background:#fff0f0;color:#7f1d2d}
.df-connection-notice>div{flex:1}
.df-connection-notice>.icon{flex:none}
.df-card-connection-error{margin:8px 0 12px;color:#9d2633}
.top-icon[data-df-alert-count]:not([data-df-alert-count=""]){position:relative}
.top-icon[data-df-alert-count]:not([data-df-alert-count=""])::after{content:attr(data-df-alert-count);position:absolute;top:0;right:0;min-width:16px;padding:1px 3px;border-radius:9px;background:#b42335;color:#fff;font-size:10px;line-height:13px;text-align:center}
@media(max-width:900px){#df-connection-alerts{padding:0 24px}}
@media(max-width:540px){
 #df-connection-alerts{padding:0 18px}
 .df-connection-alert{flex-wrap:wrap;align-items:flex-start}
 .df-connection-alert-body{flex:1 1 calc(100% - 54px)}
 .df-connection-alert-actions{justify-content:flex-end;width:100%}
 .df-connection-notice{flex-wrap:wrap}
}
