.d56-dialog{width:min(790px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)}
.d56-dialog .modal-body{overflow:auto;overscroll-behavior:contain;min-width:0}
.d56-target{background:#f3f6fa;border:1px solid #d6e0e9;border-radius:12px;padding:18px;overflow-wrap:anywhere}
.d56-target small{color:#567089}.d56-target h2{margin:5px 0 8px;font-size:21px}
.d56-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.d56-stats div{background:#eef3f7;border-radius:10px;padding:14px}.d56-stats strong{display:block;font-size:24px}.d56-stats span{font-size:12px}
.d56-note,.d56-archived{background:#edf6fc;border:1px solid #c5deed;border-left:4px solid #3481a8;border-radius:8px;padding:16px;margin:12px 0;font-size:13px;line-height:1.55}
.d56-blocked{background:#fff1ee;border:1px solid #f0c1b5;border-left:4px solid #af3826;padding:16px;border-radius:8px;margin:14px 0;font-size:14px}
.d56-danger{color:#a63128!important;border-color:#d6a9a3!important;background:#fff!important}
.d56-danger-solid{background:#a63128!important;color:#fff!important;border-color:#a63128!important}
.d56-danger-solid:disabled{opacity:.45;cursor:not-allowed}
.d56-references{margin:16px 0}.d56-references summary{cursor:pointer;font-weight:600;padding:10px 0}
.d56-references>div{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:10px;border-bottom:1px solid #dfe5eb;overflow-wrap:anywhere}
.d56-references small{flex-basis:100%;color:#60788c}.d56-references b{flex:1;min-width:0}
#d56-form{display:grid;gap:14px;margin-top:16px}#d56-form>label{display:grid;gap:8px;font-size:14px}
#d56-form textarea{width:100%;min-height:90px;resize:vertical}#d56-form .d56-confirm{display:flex;align-items:flex-start;gap:10px;line-height:1.55}
.d56-confirm input{margin-top:3px;flex:0 0 auto}.d56-excluded-button{margin-left:auto}.d56-excluded{display:grid;gap:8px}
.d56-excluded button{display:flex;flex-wrap:wrap;text-align:left;gap:8px;padding:15px;overflow-wrap:anywhere}.d56-excluded b{flex-basis:100%}
.d56-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
#d56-error{color:#a63128;display:grid;gap:10px;margin:12px 0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:560px){.d56-dialog .modal-body{padding:14px}.d56-stats{gap:6px}.d56-stats div{padding:10px}.d56-stats span{font-size:11px}.d56-target h2{font-size:19px}.d56-dialog .modal-footer{gap:8px;flex-wrap:wrap}.d56-dialog .modal-footer>.btn{flex:1;white-space:normal;min-height:44px}.d56-references>div{padding:10px 0}.d56-excluded-button{margin:8px 0 0}}
.d56-replacement{margin:16px 0;padding:12px;background:#f5f7fa;border-radius:9px}.d56-replacement summary{cursor:pointer;font-weight:600}.d56-replacement p{font-size:13px}.d56-replacement label{display:grid;gap:8px}#d56-replacement-results{display:grid;gap:6px;margin-top:10px}.d56-related-deleted{color:#a63128;font-weight:600}
