.documentation-queue{table-layout:auto;width:100%}.documentation-queue th,.documentation-queue td{white-space:nowrap;vertical-align:middle}.documentation-queue .documentation-prestation{max-width:320px;overflow:hidden;text-overflow:ellipsis}.documentation-file-count{width:86px!important;min-width:86px!important;text-align:center}.documentation-loaded{width:210px;max-width:240px}.documentation-action{width:105px;text-align:right}.choose-doc-request{font-size:10px!important;line-height:1!important;padding:6px 8px!important;white-space:nowrap}.inline-sub{display:block;font-size:9px;color:#64748b;margin-top:2px}.document-chip{border:1px solid #b8c7d8;background:#f7fafc;color:#17365d;border-radius:6px;padding:4px 7px;margin:2px 3px 2px 0;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.document-chip:hover{background:#eaf1f8}.invoice-item-section,.document-upload-section{padding:10px 12px}.invoice-item-section .form-grid,.document-upload-section .form-grid{gap:8px}.invoice-register-dialog{width:min(680px,calc(100vw - 32px))}.invoice-register-dialog .compact-dialog-shell{max-height:none}.open-invoice-modal{white-space:nowrap}.document-viewer-dialog{width:min(1040px,calc(100vw - 28px));height:min(86vh,820px);padding:0}.document-viewer-shell{height:100%;display:flex;flex-direction:column;padding:10px}.document-viewer-shell .compact-dialog-header{flex:0 0 auto;margin-bottom:8px}.document-viewer-body{flex:1;min-height:0;overflow:hidden;background:#eef2f5;border-radius:8px}.document-viewer-frame{width:100%;height:100%;flex:1 1 auto;min-height:0;border:1px solid #cad5e1;border-radius:7px;background:#fff}.document-viewer-image{display:block;max-width:100%;max-height:72vh;margin:auto;object-fit:contain}.accounting-invoice-table th,.accounting-invoice-table td{white-space:nowrap}.accounting-invoice-table .invoice-patients,.accounting-invoice-table .patient-head{min-width:160px;max-width:220px;white-space:normal}.accounting-invoice-table tr.invoice-row-pending td{background:#fff0f3!important}.accounting-invoice-table tr.invoice-row-audited td{background:#edf8f0!important}.accounting-invoice-table tr.invoice-row-pending:hover td{background:#ffe5eb!important}.accounting-invoice-table tr.invoice-row-audited:hover td{background:#def2e4!important}.invoice-documents{display:flex;gap:6px;flex-wrap:wrap}.embedded-view-doc{font-size:10px!important;padding:6px 9px!important}.document-upload-section h3{font-size:13px}.invoice-item-section h3{font-size:13px}.invoice-entry-footer{display:grid!important;grid-template-columns:repeat(2,minmax(0,170px));justify-content:end;gap:8px;padding:0 14px 14px}.invoice-entry-footer button{width:100%;min-height:34px;margin:0}.invoice-audit-dialog{width:min(980px,calc(100vw - 24px));max-height:92vh;padding:0}.invoice-audit-dialog .compact-dialog-shell{max-height:90vh;overflow:auto;padding:10px}.invoice-audit-dialog .compact-summary-grid{gap:6px}.invoice-audit-dialog .form-section{margin:6px 0;padding:8px}.invoice-audit-dialog .invoice-items-wrap{max-height:170px;overflow:auto}.invoice-debit-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;row-gap:4px;align-items:start}.invoice-debit-editor .debit-context{grid-column:1/-1;margin:2px 0 4px}.invoice-debit-editor>h4{margin:3px 0;padding:5px 8px;background:#e9f1f8;color:#17365d;border-radius:6px;font-size:11px}.invoice-debit-editor>h4:first-of-type{grid-column:1;grid-row:2}.invoice-debit-editor>h4:nth-of-type(2){grid-column:2;grid-row:2}.existing-debits{grid-column:1;grid-row:3;min-width:0}.new-debit-rows{grid-column:2;grid-row:3;min-width:0}.invoice-debit-editor>.workflow-buttons{grid-column:2;grid-row:4;margin-top:4px;justify-content:flex-end}.invoice-debit-editor .debit-row{display:grid;grid-template-columns:minmax(100px,1.25fr) 72px minmax(90px,1fr) auto auto;gap:4px;align-items:center;margin-bottom:4px}.invoice-debit-editor .debit-row input,.invoice-debit-editor .debit-row select{min-width:0;padding:5px 6px}.invoice-debit-editor .debit-row button{padding:5px 7px;white-space:nowrap}@media(max-width:900px){.documentation-queue th,.documentation-queue td{white-space:normal}.documentation-loaded{width:auto}.documentation-prestation{max-width:none!important}.document-viewer-dialog{width:96vw;height:88vh}.invoice-debit-editor{grid-template-columns:1fr}.invoice-debit-editor>h4:first-of-type,.invoice-debit-editor>h4:nth-of-type(2),.existing-debits,.new-debit-rows,.invoice-debit-editor>.workflow-buttons{grid-column:1;grid-row:auto}.invoice-entry-footer{grid-template-columns:repeat(2,minmax(0,1fr))}}