.documents-dialog{max-width:1100px;width:calc(100vw - 32px)}.documents-body{padding:16px 24px}.documents-status{font-size:0.75rem;color:#718296;line-height:1.6}.upload-drop{border:2px dashed #bfd0e0;border-radius:9px;padding:16px;background:#f8fbfe;display:flex;flex-direction:column;gap:9px}.upload-drop.dragging{background:#e2effb;border-color:#4075ad}.upload-drop>strong{font-size:0.9375rem}.upload-drop>small{color:#6b7e92;font-size:0.75rem}.upload-drop input[type=file]{max-width:100%;font-size:0.75rem}.upload-metadata{display:grid;grid-template-columns:220px 1fr;gap:10px;align-items:start}.upload-metadata textarea{resize:vertical;min-height:40px}.upload-tools,.documents-toolbar,.documents-pager{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.upload-tools button,.documents-toolbar button{padding:7px 12px;min-height:34px}.upload-queue{max-height:230px;overflow:auto}.upload-item{display:grid;grid-template-columns:minmax(160px,1fr) 100px minmax(100px,1fr) auto auto;gap:10px;align-items:center;border-bottom:1px solid #e3eaf1;padding:10px 0;font-size:0.75rem}.upload-item-label{min-width:0;overflow-wrap:anywhere}.upload-item-label small{display:block;color:#7b8ca0;margin-top:5px}.upload-item progress{width:100px;height:8px;accent-color:#4075ad}.upload-item-status{overflow-wrap:anywhere;font-size:0.6875rem;color:#596e83}.upload-item button{padding:5px 9px;font-size:0.6875rem}.documents-toolbar{border-top:1px solid #e3eaf1;padding-top:16px}.documents-toolbar input{flex:1;min-width:170px}.documents-toolbar select{max-width:260px}.documents-list{border-top:1px solid #e3eaf1}.document-row{display:flex;gap:18px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #e3eaf1}.document-row .row-actions{flex:none}.document-details{min-width:0;overflow-wrap:anywhere}.document-details strong{font-size:0.8125rem}.document-details small{display:block;font-size:0.6875rem;color:#788b9e;margin:5px 0}.document-details p{font-size:0.75rem;margin:5px 0;white-space:pre-wrap}.document-details .document-unavailable{color:#9a682c}.documents-pager{justify-content:flex-end;font-size:0.75rem;color:#6b7e92}.document-preview{max-width:860px}.document-preview h2{overflow-wrap:anywhere;white-space:normal}.document-preview-body{padding:20px;overflow:auto}.document-preview-body img{max-width:100%;max-height:60vh;object-fit:contain}.document-preview-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:0.8125rem/1.7 ui-monospace,monospace}.document-preview-body td{white-space:pre-wrap;min-width:80px;max-width:260px}.document-preview-body form{display:flex;flex-direction:column;gap:14px}.document-preview-body small{display:block;margin-top:12px;color:#7b8ca0;font-size:0.6875rem}@media(max-width:720px){.documents-body{padding:12px}.upload-metadata{grid-template-columns:1fr}.upload-item{grid-template-columns:minmax(100px,1fr) auto}.upload-item-status{grid-column:1/-1}.document-row{flex-direction:column;gap:8px}.documents-toolbar select{max-width:100%}}
.document-row .row-actions{max-width:none;flex-wrap:nowrap}
