.crm-stock-document-filters{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:8px 0}.crm-stock-document-filters>input{flex:1 1 240px;max-width:420px}.crm-stock-document-filters label{display:flex;flex-direction:column;gap:4px;font-weight:600;color:#273d5c}.crm-stock-document-editor>.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.crm-stock-document-editor input[type=file]{display:block;max-width:240px;font-size:11px;margin-top:4px}.crm-stock-document-editor .table-wrap{max-width:100%;max-height:54vh;overflow:auto}.crm-stock-document-editor table{min-width:700px}.crm-stock-document-editor td{vertical-align:top;min-width:90px}.crm-stock-document-editor td:first-child{min-width:230px}.crm-stock-document-editor td:last-child{min-width:45px}.crm-stock-document-editor td input,.crm-stock-document-editor td select{box-sizing:border-box;max-width:100%;width:100%}.crm-stock-document-editor td small{display:block;max-width:300px;white-space:normal;overflow-wrap:anywhere}.crm-stock-document-editor th{position:sticky;top:0;z-index:2;background:#f0f4fc;color:#243c60}.crm-stock-document-editor [data-document-lines]>.toolbar{padding:8px 0;gap:12px}.crm-stock-document-editor [data-stock-document-error]{color:#a32828;white-space:pre-wrap}.crm-stock-document-editor [data-stock-document-error]:empty{display:none}[data-count-documents] tr.rowlink,[data-price-documents] tr.rowlink{cursor:pointer}[data-count-documents] tr:focus,[data-price-documents] tr:focus{outline:2px solid #3564bb;outline-offset:-2px}@media(max-width:600px){.crm-stock-document-filters>input{max-width:none}.crm-stock-document-filters label{flex:1 1 120px}}

.crm-count-history{width:min(900px,92vw);max-height:85vh;overflow:auto}.crm-count-history .table-wrap{max-height:55vh;overflow:auto}.crm-count-history button{margin:4px 0}
