.dw-doc-workspace{font-size:14px;color:#244456;min-width:0}.dw-doc-header,.dw-client-group>header,.dw-document-main,.dw-file-part,.dw-upload-dialog>header,.dw-file-preview>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.dw-doc-header{flex-wrap:wrap;margin-bottom:18px}.dw-doc-header h3{margin:0;font-size:18px;font-weight:500}.dw-doc-header p{margin:7px 0}.dw-doc-workspace .btn{font-size:13px;font-weight:400;white-space:normal;min-height:38px;padding:8px 12px}.dw-doc-totals{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}.dw-doc-totals>span{padding:10px 14px;border:1px solid #dae7ed;border-radius:10px;background:#f2f8fb}.dw-doc-totals b{margin-left:9px;font-weight:500}.dw-doc-group{border:1px solid #dce8ee;border-radius:14px;background:#fff;margin:14px 0;padding:0 18px;min-width:0}.dw-doc-group>summary{font-size:16px;font-weight:500;cursor:pointer;padding:17px 0;line-height:1.5}.dw-doc-group>summary>span{float:right;font-size:12px;font-weight:400;color:#637d88;margin-left:12px}.dw-doc-group[open]{padding-bottom:18px}.dw-client-group{margin:12px 0 20px}.dw-client-group>header{flex-wrap:wrap;padding-bottom:5px}.dw-client-group h4,.dw-document h4{margin:0;font-size:14px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.dw-document{padding:15px 0;border-top:1px solid #e5eef2;min-width:0}.dw-document-main{align-items:flex-start}.dw-document-copy{flex:1;min-width:0}.dw-document-copy p{font-size:12px;margin:5px 0 8px;overflow-wrap:anywhere}.dw-document-copy>.btn{border:0;background:transparent;color:#067ca9;padding:3px 0;min-height:30px;text-align:left}.dw-state{font-size:12px;background:#f0f5f7;color:#496675;border-radius:20px;padding:5px 9px;white-space:nowrap;flex:none}.dw-state.ready{background:#e9f6f0;color:#257552}.dw-state.attention{background:#fff2df;color:#8b5e1b}.dw-file-details{margin:10px 0 0 24px}.dw-file-details>summary,.dw-version-history>summary,.dw-contract-files>summary,.dw-signing>summary{cursor:pointer;font-size:13px;color:#527485;padding:7px 0}.dw-file-part{padding:8px 0;border-bottom:1px solid #eef3f6;align-items:flex-start}.dw-file-part>span:first-child{overflow-wrap:anywhere;min-width:0}.dw-file-part>span:last-child{display:flex;gap:6px;flex-wrap:wrap;flex:none}.dw-document-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0 24px}.dw-document-actions .btn{font-size:12px;min-height:32px}.dw-reason{color:#a03831;background:#fff4ef;padding:9px 12px;border-radius:8px;margin:10px 0;font-size:13px}.dw-version-history{border-top:1px solid #e5eef2;margin-top:10px}.dw-contract-files{padding:8px 16px;margin:8px 0 18px;background:#f7fafc;border-radius:10px}.dw-upload-dialog,.dw-file-preview{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:22px;border:1px solid #d9e8ef;border-radius:16px;color:#244456;font-size:14px}.dw-upload-dialog::backdrop,.dw-file-preview::backdrop{background:#17384e66}.dw-upload-dialog h3,.dw-file-preview h3{font-size:17px;font-weight:500;margin:0;overflow-wrap:anywhere}.dw-upload-dialog>header{margin-bottom:18px}.dw-upload-dialog label{display:block;margin:12px 0;font-size:13px}.dw-upload-dialog input:not([type=checkbox]),.dw-upload-dialog select{display:block;box-sizing:border-box;width:100%;padding:10px;border:1px solid #cfdee7;border-radius:8px;margin-top:6px;font:inherit;background:#fff}.dw-upload-dialog .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.dw-upload-dialog .dw-drop{padding:18px;border:1px dashed #82afc6;border-radius:12px;background:#f3f9fc;line-height:1.6}.dw-drop input{border:0!important;padding-left:0!important;background:transparent!important}.dw-drop span{display:block;font-size:12px;margin-top:8px}.dw-confirm{display:flex!important;align-items:flex-start;gap:9px;line-height:1.6}.dw-confirm input{flex:none;margin-top:4px;width:18px;height:18px}.dw-request-row,.dw-batch-file{padding:12px 0;border-top:1px solid #e1ebf0}.dw-file-preview>img{display:block;max-width:100%;height:auto;margin-top:16px}.dw-file-preview>iframe{width:100%;height:65dvh;border:0;margin-top:16px}.bc-kind{border-top:1px solid #e5edf1;padding-top:14px;margin-top:14px}.bc-kind h4{font-size:15px;font-weight:500;margin:0}.cp-document-card{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0}.bc-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-family:Georgia,serif;font-size:14px;line-height:1.65;border:1px solid #e1e9ee;border-radius:10px;padding:20px;margin:14px 0;background:#fff}.bc-print{position:fixed;left:-2000px;top:0;width:800px;height:1000px;visibility:hidden}.bc-dialog input,.bc-dialog textarea,.bc-dialog select{box-sizing:border-box;max-width:100%}.bc-dialog textarea{width:100%;font:inherit;line-height:1.5}.bc-dialog .cp-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.bc-dialog h2{font-size:18px;font-weight:500}.bc-dialog h3{font-size:16px;font-weight:500}.dw-doc-workspace .cp-panel h3{font-size:16px;font-weight:500}
@media(max-width:640px){.dw-doc-group{padding:0 12px}.dw-doc-group>summary>span{float:none;display:block;margin:3px 0 0}.dw-document-main{gap:8px;flex-wrap:wrap}.dw-document-copy{min-width:150px}.dw-file-details,.dw-document-actions{margin-left:0}.dw-file-part{flex-direction:column}.dw-doc-workspace .btn,.dw-upload-dialog .btn{min-height:44px}.dw-upload-dialog{padding:16px}.dw-upload-dialog input:not([type=checkbox]),.dw-upload-dialog select{font-size:16px}.dw-doc-header>.actions{width:100%}.dw-doc-header>.actions>.btn{flex:1}.dw-doc-totals{gap:6px}.dw-doc-totals>span{padding:8px 10px;font-size:12px}.bc-preview{padding:14px}.bc-dialog .cp-actions{flex-wrap:wrap}}

.bc-dialog .cp-dialog-header>div{min-width:0;flex:1}.bc-dialog .cp-dialog-header>[data-bc-action=close]{flex:none;min-width:90px;white-space:nowrap}.bc-dialog .bc-preview{font-size:14px}@media(max-width:640px){.bc-dialog h2{font-size:17px}.bc-dialog .cp-dialog-header{gap:10px}}

.bc-dialog .cp-dialog-header h2{white-space:normal;overflow-wrap:anywhere;max-width:100%}

/* One compact toolbar; counts belong to their document section. */
.dw-doc-toolbar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:10px 0}.dw-doc-group>summary>span{max-width:70%;overflow-wrap:anywhere}@media(max-width:640px){.dw-doc-toolbar>.btn{flex:1}.dw-doc-group>summary>span{max-width:100%}}

.dw-pdf-preview[open]{display:flex;flex-direction:column;height:92dvh;max-height:92dvh;padding:0;overflow:hidden}
.dw-pdf-preview>header,.dw-pdf-preview>footer{display:flex;gap:10px;align-items:center;padding:12px 16px;background:#fff;flex-shrink:0;border-bottom:1px solid #dce6ec}
.dw-pdf-preview>header h3{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px}
.dw-pdf-preview>footer{justify-content:center;border:0;border-top:1px solid #dce6ec;font-size:13px;flex-wrap:wrap}
.dw-pdf-body{flex:1;min-height:0;overflow:auto;position:relative;background:#e9eef2;padding:20px;text-align:center}
.dw-pdf-body img{display:block;width:min(100%,1000px);height:auto;max-height:none;margin:0 auto;background:white;box-shadow:0 2px 14px #233c4a26;object-fit:contain}
.dw-pdf-body img[hidden]{display:none}.dw-pdf-body.zoomed img{width:1600px;max-width:none}
.dw-pdf-notice{margin:60px auto;max-width:480px;color:#526c7c;line-height:1.6}
@media(max-width:600px){.dw-pdf-preview{width:100vw;max-width:100vw}.dw-pdf-preview>header{padding:10px;gap:6px}.dw-pdf-preview .btn{padding:8px;font-size:12px}.dw-pdf-body{padding:8px}}
