.merged-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#eff9f8;border-bottom:1px solid #bcdedb}.merged-selection-toolbar>div:first-child{min-width:0}.merged-selection-toolbar strong,.merged-selection-toolbar span,.merged-selection-toolbar small{display:block}.merged-selection-toolbar strong{color:#076f74;margin-bottom:5px}.merged-selection-toolbar span{font-size:14px;color:#254e60}.merged-selection-toolbar small{margin-top:7px}.merged-selection-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.merged-selection-message{font-size:14px;line-height:1.6;color:#93621d;background:#fff6df;border-radius:5px;padding:8px 10px;margin:9px 0 0}.order-party:has(>.merged-inline-checkbox){position:relative;padding-left:42px;vertical-align:top}.merged-inline-checkbox{position:absolute;left:13px;top:18px;width:17px!important;height:17px;min-width:17px;padding:0;margin:0;accent-color:#087e83;cursor:pointer}.merged-inline-checkbox:focus-visible{outline:2px solid #087e83;outline-offset:3px}.merged-dialog{width:min(1140px,96vw);max-width:1140px;max-height:94dvh;overflow:auto}.merged-dialog form{margin:0}.merged-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;background:#fff;border-bottom:1px solid #dce4ea;position:sticky;top:0;z-index:4}.merged-dialog-head>div:first-child{min-width:0}.merged-dialog-head h2{margin:0;font-size:22px;overflow-wrap:anywhere}.merged-dialog-head p{font-size:13px;color:#6c7e8c;line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere}.merged-dialog .merged-close{font-size:26px;line-height:1;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:6px;flex-shrink:0}.merged-dialog-body{padding:22px 24px}.merged-meta{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:16px;margin-bottom:25px}.merged-meta input{width:100%}.merged-section{margin:0 0 25px;border:1px solid #dae5eb;border-radius:8px;overflow:hidden}.merged-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:14px 16px;background:#f7fafb;border-bottom:1px solid #e1e9ee}.merged-section-head h3{font-size:16px;margin:0}.merged-section-head h3 span{color:#087e83;font-size:14px;margin-left:8px}.merged-section-head small{font-size:12px}.merged-section-head button{font-size:13px;padding:7px 11px}.merged-table-scroll{overflow:auto;max-width:100%;overscroll-behavior-x:contain}.merged-dialog td,.merged-dialog th{padding:12px 14px;vertical-align:middle}.merged-members{min-width:740px;table-layout:fixed}.merged-members th:nth-child(1){width:23%}.merged-members th:nth-child(2){width:37%}.merged-members th:nth-child(3){width:17%}.merged-members th:nth-child(4){width:13%}.merged-members th:nth-child(5){width:10%}.merged-members td{overflow-wrap:anywhere}.merged-members .mini-image{width:58px;height:62px;cursor:zoom-in}.merged-quantity{white-space:nowrap}.merged-source-warning{display:block;font-size:12px;color:#986113;background:#fff5df;border:1px solid #f0dfb5;padding:5px 7px;border-radius:4px;margin-top:7px;line-height:1.5}.merged-members button{font-size:12px;padding:6px 8px}.merged-materials{min-width:960px;table-layout:fixed}.merged-materials th:nth-child(-n+4){width:17%}.merged-materials th:nth-child(5){width:19%}.merged-materials th:nth-child(6){width:14%}.merged-materials th:nth-child(7){width:8%}.merged-materials td,.merged-materials th{padding:9px 8px}.merged-materials input,.merged-materials select{width:100%;font-size:13px;padding:8px 9px}.merged-materials button{font-size:12px;padding:6px 8px}.merged-table-empty{text-align:center;color:#6c7e8c;line-height:1.7;padding:24px!important}.merged-material-hint{display:block;padding:10px 16px;border-top:1px solid #e1e9ee;font-size:12px}.merged-notes{margin-top:6px}.merged-dialog-foot{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:15px 24px;border-top:1px solid #dce4ea}.merged-dialog-foot .error{margin:0 auto 0 0;line-height:1.6;overflow-wrap:anywhere}.merged-dialog-foot .error:empty{display:none}.merged-foot-actions,.merged-list-head-actions,.merged-row-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.merged-list-head-actions{flex-wrap:wrap;justify-content:flex-end}.merged-list-head-actions>button:not(.merged-close){font-size:13px;padding:7px 10px}.merged-list-table{min-width:790px}.merged-list-table td{overflow-wrap:anywhere}.merged-list-table th:first-child{width:23%}.merged-list-table td:first-child{min-width:170px}.merged-list-table td:nth-child(3){min-width:260px}.merged-row-actions{flex-wrap:wrap;min-width:130px}.merged-row-actions button{font-size:12px;padding:6px 9px}.merged-empty{text-align:center;padding:50px 20px;color:#6c7e8c}.merged-empty strong{font-size:19px;color:#315468}.merged-empty p{font-size:14px;line-height:1.7;margin:12px 0 0}.merged-loading{text-align:center;color:#6c7e8c;padding:35px 0}.merged-dialog input:disabled,.merged-dialog select:disabled,.merged-dialog textarea:disabled{background:#f3f6f8}.merged-dialog .merged-close:focus-visible{outline:2px solid #087e83;outline-offset:2px}
.merged-drafts{padding:15px 17px;background:#fff9eb;border:1px solid #ead9ad;border-radius:8px;margin-bottom:22px}.merged-drafts h3{font-size:16px;margin:0 0 7px}.merged-drafts h3 span{color:#93621d;margin-left:7px}.merged-drafts>p{font-size:12px;color:#7f735a;line-height:1.6;margin:0 0 9px}.merged-draft-row{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid #eddfbd;padding:11px 0}.merged-draft-row:last-child{padding-bottom:0}.merged-draft-row>div:first-child{min-width:0;overflow-wrap:anywhere}.merged-draft-row strong{font-size:14px}.merged-draft-row small{display:block;font-size:12px}#order-details>.panel-head{flex-wrap:wrap}#order-details>.panel-head>.actions{flex-wrap:wrap;min-width:0;justify-content:flex-end}
.merged-selected-orders{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.merged-selected-order{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:7px 9px;border:1px solid #cce1df;border-radius:6px;background:#faffff;max-width:100%}.merged-selected-order>span{min-width:0;font-size:12px!important;overflow-wrap:anywhere}.merged-selected-order small{font-size:11px;margin-top:2px}.merged-selected-order button{font-size:12px;padding:5px 8px;flex-shrink:0}.merged-selected-order .merged-remove-order{border:0;background:transparent;color:#6c7e8c;padding:4px}.merged-style-picker{width:min(580px,96vw)}.merged-picker-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#496170;margin-bottom:12px}.merged-picker-tools>div{display:flex;gap:6px}.merged-picker-tools button{font-size:12px;padding:5px 8px}.merged-picker-styles{max-height:min(52dvh,430px);overflow:auto;border:1px solid #dce5ea;border-radius:6px}.merged-picker-style{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:12px 14px;border-bottom:1px solid #e4ecef;cursor:pointer}.merged-picker-style:last-child{border-bottom:0}.merged-picker-style:hover{background:#f2faf9}.merged-picker-style>input{width:17px;height:17px;min-width:17px;padding:0;margin:3px 0 0;accent-color:#087e83}.merged-picker-style>span{min-width:0;overflow-wrap:anywhere}.merged-picker-style strong{font-size:14px;color:#234557}.merged-picker-style small{display:block;margin-top:4px;font-size:12px}#merged-order-style-picker-error{margin:10px 0 0;line-height:1.5}.merged-style-picker .merged-dialog-foot>.muted{font-size:12px}
@media(max-width:850px){.merged-selection-toolbar{align-items:flex-start;flex-direction:column;gap:12px}.merged-selection-actions{flex-shrink:1}.merged-meta{grid-template-columns:1fr 1fr}.merged-title-field{grid-column:1/-1}.merged-dialog-head,.merged-dialog-body,.merged-dialog-foot{padding-left:17px;padding-right:17px}#order-details>.panel-head>.actions{justify-content:flex-start}.merged-draft-row{flex-wrap:wrap}}
@media(max-width:540px){.merged-dialog{width:98vw;max-height:97dvh;margin:1dvh auto}.merged-dialog-head{align-items:flex-start;padding-top:14px;padding-bottom:14px;gap:10px}.merged-dialog-head h2{font-size:19px}.merged-list-head-actions{gap:4px;max-width:190px}.merged-list-head-actions>button:not(.merged-close){font-size:12px;padding:7px}.merged-meta{gap:12px}.merged-dialog-body{padding-top:16px;padding-bottom:16px}.merged-dialog-foot{align-items:stretch;flex-wrap:wrap;gap:8px;padding-top:12px;padding-bottom:12px}.merged-dialog-foot .error{flex-basis:100%;font-size:13px}.merged-foot-actions{margin-left:auto}.merged-foot-actions button{font-size:14px;padding:9px 11px}.merged-selection-toolbar{padding:15px}.merged-selection-actions button{font-size:13px;padding:8px 10px}.merged-section-head{padding:12px}.merged-section{margin-bottom:18px}}

.merged-design-section .merged-section-head h3{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}.merged-design-section .merged-section-head h3 small{font-size:12px;font-weight:400}.merged-design-images{padding:16px;min-width:0;max-width:100%;align-items:stretch}.merged-design-images .thumb{max-width:100%;flex:0 0 145px}.merged-design-images .thumb img{width:100%;height:120px;object-fit:contain;cursor:zoom-in}.merged-design-images .thumb img:focus-visible{outline:2px solid #087e83;outline-offset:2px}.merged-design-images .add-image{width:145px;min-height:160px;max-width:100%;border:1px dashed #aac3cf;display:flex;align-items:center;justify-content:center;padding:12px;text-align:center;white-space:normal;flex:0 0 145px;border-radius:0;font-size:14px}.merged-design-images .add-image:focus-visible{outline:2px solid #087e83;outline-offset:2px}.merged-design-images input[hidden]{display:none}
