/* A native modal keeps the final destructive action above every document panel. */
#bcpDeleteDialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #d5dfe7;border-radius:10px;background:#fff;color:#233e52;font:14px/1.5 Arial,sans-serif;box-shadow:0 24px 80px #142a4160;overflow:auto}
#bcpDeleteDialog::backdrop{background:#12263680}
#bcpDeleteDialog form{margin:0;display:block}
#bcpDeleteDialog h2{font-size:19px;line-height:1.4;margin:0;padding:20px 24px;border-bottom:1px solid #e1e8ee}
#bcpDeleteDialog .bcp-delete-content{padding:4px 24px 20px;overflow-wrap:anywhere}
#bcpDeleteDialog p{margin:14px 0}
#bcpDeleteDialog label{display:block;font-weight:700;margin:16px 0 7px}
#bcpDeleteDialog :is(input,textarea){box-sizing:border-box;width:100%;min-height:42px;padding:10px;border:1px solid #a9bac7;border-radius:5px;background:#fff;color:#233e52;font:inherit}
#bcpDeleteDialog textarea{resize:vertical}
#bcpDeleteDialog small{display:block;margin-top:6px;color:#52697b;font-size:12px}
#bcpDeleteDialog .bcp-delete-reference{font-size:16px;font-weight:700}
#bcpDeleteDialog .bcp-delete-counts{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;background:#f4f7fa;border:1px solid #e0e7ed;border-radius:6px;padding:12px 16px;margin:12px 0}
#bcpDeleteDialog :is(dt,dd){margin:0}#bcpDeleteDialog dd{font-weight:700}
#bcpDeleteDialog .bcp-delete-warning{border-left:3px solid #c46b20;background:#fff8ed;padding:10px 12px;font-size:13px;color:#71420d}
#bcpDeleteDialog .bcp-delete-reason{white-space:pre-wrap}
#bcpDeleteDialog .bcp-delete-table{overflow-x:auto}
#bcpDeleteDialog table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}
#bcpDeleteDialog :is(th,td){padding:8px;border-bottom:1px solid #e1e8ee;vertical-align:top}#bcpDeleteDialog th{background:#f4f7fa}
#bcpDeleteDialog .bcp-delete-footer{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;background:#fff;border-top:1px solid #e1e8ee;padding:16px 24px}
#bcpDeleteDialog button{font:inherit;font-weight:700;border:1px solid #bccbd5;border-radius:5px;min-height:42px;padding:9px 16px;background:#f6f9fb;color:#24465f;cursor:pointer}
#bcpDeleteDialog button[type=submit]{background:#244e69;border-color:#244e69;color:#fff}
#bcpDeleteDialog button.bcp-delete-confirm{background:#a52d36;border-color:#a52d36;color:#fff}
#bcpDeleteDialog button:disabled{opacity:.45;cursor:not-allowed}
#bcpDeleteDialog :is(button,input,textarea):focus-visible{outline:3px solid #75b7df;outline-offset:2px}
@media(max-width:480px){#bcpDeleteDialog h2,#bcpDeleteDialog .bcp-delete-footer{padding:16px}#bcpDeleteDialog .bcp-delete-content{padding:0 16px 16px}}
