/* Documents links only; no existing module styles are replaced. */
#documentsView .crl-document-hint{margin:12px 0;color:#64748b;font-size:.76rem}
#documentsView .crl-document-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:14px 0}
#documentsView .crl-document-filters label{display:grid;gap:4px;color:#64748b;font-size:.74rem}
#documentsView .crl-document-filters select{min-width:170px;padding:8px;border:1px solid #d7dee8;border-radius:8px;background:#fff}
#documentsView .crl-document-filters span{margin-left:auto;color:#64748b;font-size:.74rem}
#documentsView .crl-document-scroll{max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
#documentsView .crl-document-table{width:100%;min-width:820px;border-collapse:collapse}
#documentsView .crl-document-table th,#documentsView .crl-document-table td{padding:11px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top;font-size:.76rem}
#documentsView .crl-document-table th{background:#f8fafc;color:#64748b;font-size:.68rem}
#documentsView .crl-document-table td small{display:block;margin-top:3px;color:#64748b}
#documentsView .crl-document-actions{white-space:nowrap}
#documentsView .crl-document-actions button+button{margin-left:5px}
#documentsView .crl-document-empty{text-align:center!important;padding:28px!important;color:#64748b}
#documentsView.crl-documents-message{padding:24px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}
#documentsView.crl-documents-message p{margin:12px 0}
#crlDocumentLinkForm .crl-document-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
#crlDocumentLinkForm label{display:grid;gap:5px;font-size:.76rem;font-weight:650}
#crlDocumentLinkForm label.wide,#crlDocumentLinkForm .wide{grid-column:1/-1}
#crlDocumentLinkForm input,#crlDocumentLinkForm select,#crlDocumentLinkForm textarea{width:100%;min-width:0;padding:9px;border:1px solid #d7dee8;border-radius:8px;background:#fff;color:#142033;font:inherit}
#crlDocumentLinkForm textarea{min-height:78px;resize:vertical}
#crlDocumentLinkForm .crl-document-fixed-project{grid-column:1/-1;font-size:.76rem}
#crlDocumentLinkForm .crl-document-save-status{color:#be123c;font-size:.76rem}
@media(max-width:680px){#crlDocumentLinkForm .crl-document-form-grid{grid-template-columns:1fr}#documentsView .crl-document-filters span{margin-left:0}}
