.documents-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#eef4ff;border:1px solid #ccdafa;border-radius:14px;padding:20px;margin-bottom:20px}.documents-banner>div{flex:1;min-width:240px}.documents-banner-connected{background:#eefbf5;border-color:#a9e2c7}.documents-banner p{margin:8px 0 0;color:#53627a}.documents-companies,.documents-inbox{padding:24px}.documents-companies .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.documents-companies-heading,.documents-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.documents-companies-heading h2,.documents-detail-heading h2{margin:0}.documents-companies-heading p{margin:5px 0 0;color:#64748b}.documents-company-tools{display:flex;gap:10px;align-items:center}.documents-company-tools input{width:min(280px,50vw);padding:10px 12px;border:1px solid #b8c3d3;border-radius:8px}.documents-company-table-wrap{overflow-x:auto;margin-top:20px;border:1px solid #c4ced9;border-radius:10px}.documents-company-table{width:100%;min-width:760px;border-collapse:collapse}.documents-company-table th{padding:13px 16px;background:#cbd7df;color:#213547;text-align:left;font-size:13px;border-right:1px solid #b5c2cc}.documents-company-table th:nth-child(n+3),.documents-company-table td.documents-number{text-align:center}.documents-company-table th:last-child{border-right:0}.documents-company-table td{padding:14px 16px;border-top:1px solid #d3dbe3;background:#fff}.documents-company-table tr:hover td{background:#f6faf8}.documents-company-table tr.selected td{background:#e9f6ef}.documents-company-name{padding:0;border:0;background:transparent;color:#087f5b;font:inherit;font-weight:700;text-align:left}.documents-company-name:hover{text-decoration:underline}.documents-integration{display:inline-flex;align-items:center;gap:8px;color:#64748b}.documents-integration i{width:10px;height:10px;border-radius:50%;background:#a8b2bf}.documents-integration.is-connected{color:#087f4f;font-weight:700}.documents-integration.is-connected i{background:#0f9f68}.documents-number{font-variant-numeric:tabular-nums}.documents-empty{text-align:center;color:#64748b}.documents-company-count{margin:12px 0 0;color:#64748b;font-size:13px}.documents-select-hint{margin:24px 0 0;padding:16px;background:#f8fafc;border-radius:8px}.documents-company-detail{margin-top:20px}.documents-detail-heading>div:first-child>span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.documents-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.documents-inbox label,.documents-dialog label{display:flex;flex-direction:column;gap:6px;font-weight:600}.documents-dialog input,.documents-dialog textarea{padding:10px;border:1px solid #ccd4e1;border-radius:8px;width:100%;box-sizing:border-box}.documents-inbox form{display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding:22px 0}.documents-inbox form small{width:100%;color:#64748b}.documents-chip{background:#f1f5f9;color:#475569;border-radius:20px;padding:7px 12px;font-size:12px}.documents-chip.connected,.documents-chip.state-done{background:#daf5e8;color:#087f4f;font-weight:700}.documents-chip.state-processing{background:#fff3cd;color:#7a5400}.documents-chip.state-failed{background:#fee2e2;color:#b42336}.documents-list article{display:flex;align-items:center;gap:16px;padding:18px 0;border-top:1px solid #d2dae6}.documents-list article>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.documents-list small{display:block;margin-top:6px;color:#64748b}.documents-actions{display:flex;gap:8px;flex-wrap:wrap}.documents-error{color:#b42336}.documents-warnings{margin:0 0 16px;padding:12px 12px 12px 32px;border-radius:8px;background:#fff6df;color:#6f4b00}#documentsStatus{white-space:pre-line}.documents-dialog{width:min(1200px,94vw);max-width:94vw;max-height:92vh;padding:28px;border:0;border-radius:18px}.documents-editor{display:grid;grid-template-columns:1fr 1fr;gap:24px}.documents-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.documents-editor iframe{width:100%;height:65vh;border:1px solid #e2e8f0}.documents-editor img{width:100%;max-height:65vh;object-fit:contain}.documents-editor textarea{min-height:80px}.documents-editor a{display:block;margin-top:12px}@media(max-width:800px){.documents-companies,.documents-inbox{padding:16px}.documents-company-tools{width:100%}.documents-company-tools label{flex:1}.documents-company-tools input{width:100%}.documents-editor{grid-template-columns:1fr}.documents-list article{align-items:flex-start;flex-wrap:wrap}.documents-actions{width:100%}}
.documents-sort{display:inline-flex;align-items:center;gap:7px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:inherit}.documents-company-table th:nth-child(n+3) .documents-sort{justify-content:center}.documents-sort span{font-size:11px;color:#607384}.documents-count-link{min-width:34px;padding:4px 9px;border:1px solid #77b69a;border-radius:16px;background:#e8f7ef;color:#087f5b;font:inherit;font-weight:800}.documents-count-link:hover{background:#d5f0e2}.documents-list-wrap{overflow-x:auto;border:1px solid #d2dae6;border-radius:10px}.documents-list{width:100%;min-width:900px;border-collapse:collapse}.documents-list th{padding:11px 13px;background:#eef3f6;color:#334155;text-align:left;font-size:13px}.documents-list td{padding:13px;border-top:1px solid #d2dae6;vertical-align:middle}.documents-list td:first-child{max-width:300px;overflow-wrap:anywhere}.documents-list small{display:block;margin-top:5px;color:#64748b}.documents-payment{display:inline-block;padding:6px 10px;border-radius:16px;background:#edf2f7;color:#475569;font-weight:700;white-space:nowrap}.documents-payment.is-bill{background:#fff1cc;color:#7a5400}.documents-list .documents-actions{min-width:245px}@media(max-width:800px){.documents-company-detail{scroll-margin-top:10px}}
body.documents-detail-open main{max-width:none;padding-right:22px}.documents-purchases-view{min-height:calc(100vh - 150px);margin:-6px -10px 0;background:#fff;border:1px solid #d5dde5;border-radius:9px;overflow:hidden}.documents-purchases-head{display:flex;align-items:center;gap:14px;min-height:66px;padding:12px 18px;border-bottom:1px solid #d5dde5}.documents-purchases-head>div:nth-child(2){min-width:220px}.documents-purchases-head span{display:block;color:#087f5b;font-size:13px;font-weight:800}.documents-purchases-head h2{font-size:20px;margin:2px 0 0;color:#17324d}.documents-purchases-head .documents-toolbar{margin-left:auto}.documents-back{width:38px;height:38px;border:0;background:transparent;color:#4b5968;font-size:34px;line-height:1;cursor:pointer;border-radius:8px}.documents-back:hover{background:#edf2f5}.documents-purchases-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border-bottom:1px solid #d5dde5;background:#fbfcfd}.documents-purchases-tools form{display:flex;align-items:center;gap:12px;margin:0}.documents-purchases-tools form label{font-weight:700}.documents-purchases-tools form input{margin-top:5px}.documents-purchases-tools form small{color:#64748b}.documents-purchases-view>#documentsStatus{margin:0;padding:0 18px}.documents-purchases-view .documents-list-wrap{border:0;border-radius:0}.documents-purchases-table{min-width:1480px}.documents-purchases-table th{background:#cbd7df;border-right:1px solid #b7c4ce;color:#213547;font-size:12px;white-space:nowrap}.documents-purchases-table td{font-size:13px}.documents-purchases-table tr:hover td{background:#f7faf9}.documents-purchases-table td:nth-child(2),.documents-purchases-table td:nth-child(5),.documents-purchases-table td:nth-child(6),.documents-purchases-table td:nth-child(7),.documents-purchases-table td:nth-child(8){white-space:nowrap}.documents-document-link{padding:0;border:0;background:transparent;color:#087f5b;font:inherit;font-weight:800;text-align:left;text-decoration:underline}.documents-money{text-align:right;font-variant-numeric:tabular-nums}.documents-empty-state{padding:42px 20px;text-align:center;color:#64748b}.documents-purchases-table .documents-actions{min-width:190px}.documents-purchases-table .documents-actions button{padding:8px 10px;font-size:12px}@media(max-width:900px){body.documents-detail-open main{padding-right:14px}.documents-purchases-view{margin:0}.documents-purchases-head{align-items:flex-start;flex-wrap:wrap}.documents-purchases-head .documents-toolbar{width:100%;margin-left:52px}.documents-purchases-tools{align-items:flex-start;flex-direction:column}.documents-purchases-tools form{align-items:flex-start;flex-wrap:wrap}.documents-purchases-tools form small{width:100%}}
.documents-purchases-table{min-width:1780px}.documents-document-sort{justify-content:flex-start;white-space:nowrap}.documents-review{display:inline-block;padding:6px 10px;border-radius:5px;font-weight:800;white-space:nowrap}.documents-review.ready{background:#ccefe3;color:#0a7552}.documents-review.attention{background:#ffe4a8;color:#855900}.documents-review.processing{background:#dcecff;color:#245b91}.documents-purchases-table tr.review-attention td:first-child{box-shadow:inset 4px 0 #e7a51a}.documents-purchases-table tr.review-ready td:first-child{box-shadow:inset 4px 0 #36aa82}.documents-purchases-table td:nth-child(10){min-width:220px}.documents-purchases-table td:nth-child(10) small{max-width:260px;line-height:1.35}.documents-purchases-tools form small{max-width:520px;line-height:1.35}
.documents-dialog input,.documents-dialog textarea,.documents-dialog select{padding:10px;border:1px solid #ccd4e1;border-radius:8px;width:100%;box-sizing:border-box;background:#fff}
.documents-purchases-table{min-width:2500px!important}
.documents-review,.documents-qbo{display:inline-block;padding:6px 10px;border-radius:5px;font-weight:800;white-space:nowrap}.documents-qbo.matched,.documents-qbo.published{background:#ccefe3;color:#0a7552}.documents-qbo.awaiting{background:#dcecff;color:#245b91}.documents-qbo.no-match{background:#ffe4a8;color:#855900}.documents-qbo.checking{background:#dcecff;color:#245b91}.documents-qbo.unchecked{background:#edf2f7;color:#526171}.documents-qbo.failed{background:#fee2e2;color:#b42336}
.documents-purchases-table td:nth-child(12){min-width:220px}.documents-purchases-table td:nth-child(12) small{max-width:260px;line-height:1.35}
.documents-inline-select{min-width:150px;max-width:230px;padding:7px 28px 7px 8px;border:1px solid #b9c5d1;border-radius:7px;background:#fff;color:#26384a}.documents-vat-select{min-width:125px}.documents-account-select{min-width:210px}
.documents-publish:not(:disabled){background:#087f5b;color:#fff;border-color:#087f5b}
.documents-publish-bank:not(:disabled){background:#173f73;color:#fff;border-color:#173f73}
.documents-purchases-view .documents-list-wrap{max-height:calc(100vh - 230px);overflow:auto;scrollbar-gutter:stable}.documents-purchases-table{width:100%;min-width:0;table-layout:fixed}.documents-purchases-table th{position:sticky;top:0;z-index:4;padding:9px 6px;white-space:normal;line-height:1.2;box-shadow:0 2px 0 #aebcc7}.documents-purchases-table th .documents-sort{gap:4px;white-space:normal;line-height:1.2}.documents-purchases-table td{padding:8px 6px;font-size:12px;overflow-wrap:anywhere}.documents-purchases-table th:nth-child(1){width:135px}.documents-purchases-table th:nth-child(2){width:78px}.documents-purchases-table th:nth-child(3){width:115px}.documents-purchases-table th:nth-child(4){width:135px}.documents-purchases-table th:nth-child(5){width:52px}.documents-purchases-table th:nth-child(6){width:68px}.documents-purchases-table th:nth-child(7){width:65px}.documents-purchases-table th:nth-child(8){width:95px}.documents-purchases-table th:nth-child(9){width:72px}.documents-purchases-table th:nth-child(10){width:92px}.documents-purchases-table th:nth-child(11){width:145px}.documents-purchases-table th:nth-child(12){width:145px}.documents-purchases-table th:nth-child(13){width:110px}.documents-purchases-table th:nth-child(14){width:110px}.documents-purchases-table th:nth-child(15){width:170px}.documents-purchases-table td:nth-child(10),.documents-purchases-table td:nth-child(12){min-width:0}.documents-purchases-table td:nth-child(10) small,.documents-purchases-table td:nth-child(12) small{max-width:none}.documents-purchases-table .documents-inline-select{width:100%;min-width:0;max-width:none;padding:6px 22px 6px 6px;font-size:12px}.documents-purchases-table .documents-vat-select,.documents-purchases-table .documents-account-select{min-width:0}.documents-purchases-table .documents-payment,.documents-purchases-table .documents-review,.documents-purchases-table .documents-qbo,.documents-purchases-table .documents-chip{padding:5px 7px;white-space:normal;line-height:1.2}.documents-purchases-table .documents-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0;width:100%}.documents-purchases-table .documents-actions button{min-width:0;padding:6px 5px;font-size:11px;line-height:1.2}.documents-purchases-table small{font-size:11px;line-height:1.25}@media(max-width:900px){.documents-purchases-view .documents-list-wrap{max-height:calc(100vh - 280px)}}
.documents-purchases-table{min-width:1410px!important}.documents-purchases-table th:nth-child(1){width:125px}.documents-purchases-table th:nth-child(2){width:74px}.documents-purchases-table th:nth-child(3){width:106px}.documents-purchases-table th:nth-child(4){width:122px}.documents-purchases-table th:nth-child(5){width:46px}.documents-purchases-table th:nth-child(6){width:58px}.documents-purchases-table th:nth-child(7){width:54px}.documents-purchases-table th:nth-child(8){width:82px}.documents-purchases-table th:nth-child(9){width:62px}.documents-purchases-table th:nth-child(10){width:80px}.documents-purchases-table th:nth-child(11){width:128px}.documents-purchases-table th:nth-child(12){width:126px}.documents-purchases-table th:nth-child(13){width:100px}.documents-purchases-table th:nth-child(14){width:105px}.documents-purchases-table th:nth-child(15){width:142px}.documents-purchases-table th,.documents-purchases-table td{padding-left:5px;padding-right:5px}.documents-select-heading,.documents-document-cell{display:flex;align-items:flex-start;gap:6px;min-width:0}.documents-select-heading{align-items:center}.documents-select-heading .documents-sort{min-width:0}.documents-document-cell>div{min-width:0}.documents-select-heading input,.documents-document-cell>input{width:16px;height:16px;min-width:16px;margin:1px 0 0;accent-color:#087f5b}.documents-purchases-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.documents-publish-selected{white-space:nowrap}.documents-purchases-table .documents-actions{gap:4px}.documents-purchases-table .documents-actions button{padding:5px 3px}.documents-purchases-table .documents-review,.documents-purchases-table .documents-qbo,.documents-purchases-table .documents-chip{font-size:11px}.documents-purchases-table .documents-payment{font-size:11px}.documents-purchases-table td:nth-child(5){font-size:11px}@media(max-width:1200px){.documents-purchases-tools{align-items:flex-start;flex-wrap:wrap}.documents-purchases-actions{margin-left:auto}}
.documents-company-table{min-width:980px}.documents-company-vat{width:100%;min-width:185px;padding:8px 26px 8px 9px;border:1px solid #b9c5d1;border-radius:7px;background:#fff;color:#26384a;font-size:12px}.documents-company-table th:nth-child(2),.documents-company-table td:nth-child(2){width:230px;text-align:left}.documents-vat-mode-label{display:flex;flex-direction:column;gap:4px;color:#475569;font-size:11px;font-weight:700}.documents-vat-mode-label .documents-company-vat{min-width:205px;padding-top:6px;padding-bottom:6px}.documents-purchases-head .documents-toolbar{align-items:center}@media(max-width:1100px){.documents-purchases-head .documents-toolbar{align-items:flex-start}.documents-vat-mode-label{width:100%}.documents-vat-mode-label .documents-company-vat{width:min(320px,100%)}}
.documents-tabs{display:flex;gap:4px;padding:0 18px;border-bottom:1px solid #d5dde5;background:#f7f9fb}.documents-tabs button{display:flex;align-items:center;gap:8px;padding:12px 15px;border:0;border-bottom:3px solid transparent;background:transparent;color:#536273;font-weight:700;cursor:pointer}.documents-tabs button.active{border-bottom-color:#087f5b;color:#087f5b}.documents-tabs strong{min-width:24px;padding:3px 7px;border-radius:12px;background:#e3e9ee;color:#435363;font-size:11px;text-align:center}.documents-tabs button.active strong{background:#d7f1e6;color:#087f5b}.documents-purchases-tools>p{margin:0;color:#64748b}.documents-delete-guard{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.documents-delete-guard label{display:flex;flex-direction:row;align-items:center;gap:8px;max-width:720px;color:#7f1d1d;font-size:13px;font-weight:700}.documents-delete-guard input{width:18px;height:18px;min-width:18px;accent-color:#b42336}.documents-delete-selected:not(:disabled),.documents-reject:not(:disabled){border-color:#b42336;background:#fff1f2;color:#a11b2d}.documents-qbo.rejected{background:#fee2e2;color:#a11b2d}@media(max-width:700px){.documents-tabs{overflow-x:auto;padding:0 10px}.documents-tabs button{white-space:nowrap}.documents-delete-guard{align-items:flex-start;flex-direction:column}}
.documents-purchases-tools{flex-wrap:wrap}.documents-bulk-bar{display:flex;align-items:center;gap:8px;flex:1 0 100%;padding-top:12px;border-top:1px solid #d9e0e7;overflow-x:auto}.documents-bulk-bar strong{margin-right:4px;color:#17324d;white-space:nowrap}.documents-bulk-bar button{white-space:nowrap}.documents-purchases-table .documents-actions{grid-template-columns:1fr}.documents-purchases-table th:nth-child(15){width:126px}@media(max-width:900px){.documents-bulk-bar{width:100%;padding-bottom:4px}}
.documents-dialog{width:min(1520px,98vw);max-width:98vw;height:min(940px,96vh);max-height:96vh;padding:0;overflow:hidden;border-radius:14px}.documents-dialog[open]{display:flex;flex-direction:column}.documents-dialog::backdrop{background:rgba(22,39,57,.48)}.documents-editor-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;border-bottom:1px solid #d9e0e7;background:#fff}.documents-editor-head span{display:block;color:#087f5b;font-size:13px;font-weight:800}.documents-editor-head h2{margin:2px 0;color:#17324d;font-size:20px}.documents-editor-head small{color:#64748b}.documents-editor-head .close{position:static;width:40px;height:40px;padding:0;border:0;background:transparent;color:#607080;font-size:27px;line-height:1}.documents-editor-head .close:hover{background:#edf2f5}.documents-editor-alert{padding:12px 24px;text-align:center;border-bottom:1px solid #e0e6ec;background:#f5f8fa}.documents-editor-alert>strong{display:inline-block;padding:5px 10px;border-radius:6px}.documents-editor-alert.ready>strong{background:#ccefe3;color:#0a7552}.documents-editor-alert.attention>strong{background:#ffe4a8;color:#855900}.documents-editor-alert.processing>strong{background:#dcecff;color:#245b91}.documents-editor-alert p{margin:7px auto 0;max-width:950px;color:#35465a}.documents-editor-alert .documents-warnings{max-width:900px;margin:10px auto 0;text-align:left}.documents-editor{flex:1;min-height:0;display:grid;grid-template-columns:minmax(430px,42%) minmax(0,58%);gap:0}.documents-editor form{min-width:0;overflow:auto;padding:20px 22px 0;background:#fff}.documents-preview-pane{min-width:0;min-height:0;overflow:hidden;border-left:1px solid #d9e0e7;background:#eef2f5}.documents-preview-pane #documentPreview{height:100%;display:flex;flex-direction:column;padding:14px;box-sizing:border-box}.documents-preview-pane iframe{flex:1;width:100%;height:100%;min-height:0;border:1px solid #cdd6df;background:#fff}.documents-preview-pane img{flex:1;width:100%;min-height:0;max-height:none;object-fit:contain;background:#fff}.documents-preview-pane a{flex:none;margin:10px 0 0}.documents-editor textarea{min-height:58px;resize:vertical}.documents-editor-actions{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:18px -22px 0;padding:14px 22px;background:#fff;border-top:1px solid #d9e0e7}.documents-editor-actions button{min-height:40px}.documents-editor-publish:not(:disabled){background:#087f5b;border-color:#087f5b;color:#fff}.documents-editor-reject:not(:disabled){background:#fff1f2;border-color:#b42336;color:#a11b2d}#documentEditStatus{min-height:20px;margin:10px 0 0;color:#b42336;font-weight:700}@media(max-width:900px){.documents-dialog{width:98vw;max-width:98vw;height:96vh}.documents-dialog[open]{overflow:auto}.documents-editor{display:flex;flex-direction:column;overflow:visible}.documents-editor form{overflow:visible}.documents-preview-pane{min-height:58vh;border-top:1px solid #d9e0e7;border-left:0}.documents-editor-alert{text-align:left}.documents-fields{grid-template-columns:1fr}.documents-editor-actions{position:static}}
.documents-editor-head{align-items:flex-start}.documents-editor-identity{min-width:260px}.documents-editor-head-note{max-width:58%;margin-left:auto;padding:9px 14px;border-radius:8px;background:#f5f8fa;text-align:right}.documents-editor-head-note>strong{display:inline-block;padding:4px 8px;border-radius:5px}.documents-editor-head-note.ready>strong{background:#ccefe3;color:#0a7552}.documents-editor-head-note.attention>strong{background:#ffe4a8;color:#855900}.documents-editor-head-note.processing>strong{background:#dcecff;color:#245b91}.documents-editor-head-note p{margin:5px 0 0;color:#35465a;font-size:13px;line-height:1.35}.documents-editor-head-note .documents-editor-warning-text{color:#9a6400;font-weight:700}.documents-editor-commandbar{display:flex;align-items:center;gap:9px;padding:12px 22px;border-bottom:1px solid #d9e0e7;background:#f7f9fb;overflow-x:auto}.documents-editor-commandbar button{min-height:38px;white-space:nowrap}.documents-editor-command-spacer{flex:1}.documents-editor form{padding-bottom:20px}@media(max-width:900px){.documents-editor-head{flex-wrap:wrap}.documents-editor-head-note{order:3;width:100%;max-width:none;margin-left:0;text-align:left}.documents-editor-commandbar{padding:10px 14px}.documents-editor-command-spacer{min-width:12px}}
.documents-dialog{width:99vw;max-width:99vw;height:98vh;max-height:98vh}.documents-editor-head{gap:12px;padding:9px 15px}.documents-editor-head h2{font-size:17px}.documents-editor-head-note{padding:6px 10px}.documents-editor-head-note p{font-size:11px}.documents-editor-head .close{width:34px;height:34px}.documents-editor-commandbar{gap:7px;padding:7px 15px}.documents-editor-commandbar button{min-height:32px;padding:6px 10px}.documents-editor-route-hint{color:#64748b;font-size:11px;white-space:nowrap}.documents-editor{grid-template-columns:minmax(650px,55%) minmax(0,45%)}.documents-editor form{padding:11px 14px 12px}.documents-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 9px;margin-bottom:8px}.documents-dialog label{gap:3px;font-size:11px}.documents-dialog input,.documents-dialog textarea,.documents-dialog select{padding:6px 7px;border-radius:6px;font-size:12px}.documents-editor textarea{min-height:30px}.documents-note-field{margin-bottom:8px}.documents-allocations{margin-top:8px;padding:9px;border:1px solid #d7e0e8;border-radius:8px;background:#f8fafb}.documents-allocations-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.documents-allocations-head strong{display:block;color:#17324d}.documents-allocations-head small{display:block;margin-top:2px;color:#64748b;font-size:10px}.documents-allocations-head button{padding:6px 9px;white-space:nowrap}.documents-allocation-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(160px,1.4fr) repeat(3,70px);gap:5px;margin-top:6px;padding:6px;border:1px solid #dbe3e9;border-radius:7px;background:#fff}.documents-allocation-row>select:nth-child(6){grid-column:1/3}.documents-allocation-review{grid-column:3/5;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:5px!important;padding:4px 6px;border-radius:6px;background:#f1f5f9}.documents-allocation-review input{width:15px;height:15px}.documents-allocation-row>button{grid-column:5;padding:3px 7px;color:#a11b2d}.documents-allocation-row.needs-review{border-color:#e7a51a;background:#fffaf0}.documents-allocations-empty{margin:8px 0;color:#64748b;font-size:11px}.documents-allocations>[data-allocation-totals]{margin:7px 0 0;color:#087f5b;font-size:11px;font-weight:800}.documents-allocations>[data-allocation-totals].is-mismatch{color:#b42336}#documentEditStatus{min-height:16px;margin:6px 0 0;font-size:11px}.documents-preview-pane #documentPreview{padding:8px}.documents-preview-pane a{margin-top:5px;font-size:11px}@media(max-width:1180px){.documents-editor{grid-template-columns:minmax(560px,58%) minmax(0,42%)}.documents-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.documents-editor-route-hint{display:none}}@media(max-width:900px){.documents-dialog{width:98vw;max-width:98vw;height:96vh}.documents-editor{display:flex}.documents-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.documents-allocation-row{grid-template-columns:1fr 1fr}.documents-allocation-row>*{grid-column:auto!important}.documents-allocation-review{justify-content:flex-start}}
.documents-currency-conversion{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:7px;align-items:center;margin:3px 0 8px;padding:7px 9px;border:1px solid #abd9c7;border-radius:7px;background:#eefaf5}.documents-currency-conversion.attention{border-color:#e7a51a;background:#fff8e8}.documents-currency-conversion>div:first-child strong,.documents-currency-conversion>div:first-child small{display:block}.documents-currency-conversion small,.documents-currency-conversion span{color:#64748b;font-size:10px}.documents-currency-conversion>div:not(:first-child){text-align:right}.documents-currency-conversion>div:not(:first-child) strong{display:block;color:#17324d;font-size:13px}@media(max-width:1180px){.documents-currency-conversion{grid-template-columns:1fr 1fr}.documents-currency-conversion>div:not(:first-child){text-align:left}}
.documents-review-trigger{border:0;cursor:pointer;font:inherit}.documents-review-trigger:hover,.documents-review-trigger:focus-visible{outline:2px solid #b77c00;outline-offset:2px}.documents-method-select{font-weight:700}.documents-hover-tooltip{position:fixed;z-index:10000;width:min(280px,calc(100vw - 20px));padding:10px 12px;border-radius:6px;background:#18212b;color:#fff;font-size:12px;font-weight:600;line-height:1.4;white-space:normal;box-shadow:0 8px 24px rgba(15,23,42,.28);pointer-events:none;visibility:hidden;opacity:0;transition:opacity .12s ease}.documents-hover-tooltip.visible{visibility:visible;opacity:1}

.documents-sales-info{padding:10px 16px;color:#244565;background:#edf5ff;border-radius:8px;margin:8px 0}.documents-kind-tabs{margin-top:12px}
