.rw-open{overflow:hidden}.rw-dialog{width:calc(100vw - 48px);max-width:1600px;height:calc(100dvh - 48px);max-height:none;padding:0;border:0;border-radius:22px;color:#1c3434;background:#f6f8f8;box-shadow:0 24px 90px #132f3f66;overflow:hidden}
.rw-dialog::backdrop{background:#10232ab3;backdrop-filter:blur(4px)}.rw-dialog[open]{display:flex;flex-direction:column}.rw-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#fff;border-bottom:1px solid #dce6e4;gap:12px}.rw-eyebrow{font-size:11px;letter-spacing:.12em;color:#537d75;font-weight:800}.rw-header h2{font-size:22px;margin:5px 0 0;font-weight:800}
.rw-button,.rw-ticket{border:1px solid #cbd9d6;border-radius:9px;padding:9px 14px;background:white;color:#294b43;font-weight:700;cursor:pointer;font-size:14px}.rw-button:hover,.rw-ticket:hover{background:#eaf2ef}.rw-button:focus-visible,.rw-ticket:focus-visible{outline:3px solid #267eae;outline-offset:2px}.rw-button:disabled{opacity:.45;cursor:default}.rw-primary{background:#246d59;color:#fff;border-color:#246d59}.rw-primary:hover{background:#195341}.rw-toolbar{display:flex;align-items:center;gap:12px;padding:12px 24px;flex-wrap:wrap}.rw-counter{font-size:14px;font-weight:700;margin-right:auto}.rw-strip{display:flex;gap:8px;padding:0 24px 12px;overflow:auto;flex-shrink:0}.rw-ticket{white-space:nowrap;padding:7px 12px;font-size:12px}.rw-ticket[aria-current=true]{background:#e0eee8;color:#145b45;border:2px solid #327b63}
.rw-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(450px,1fr);min-height:0;flex:1;border-top:1px solid #dce6e4}.rw-preview{display:flex;flex-direction:column;min-width:0;min-height:0;background:#e7eceb;border-right:1px solid #d1dbd8}.rw-image-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;padding:10px;background:#eff3f2}.rw-image-tools button{padding:4px 12px}.rw-image-tools span{font-size:12px;min-width:66px;text-align:center}.rw-image-stage{flex:1;min-height:0;overflow:auto;padding:24px;display:flex;align-items:flex-start}.rw-image{max-width:100%;height:100%;margin:0 auto;object-fit:contain;object-position:top;filter:drop-shadow(0 3px 10px #17252c33)}.rw-image.rw-fit-width{width:100%;height:auto;max-width:100%}.rw-image.rw-zoomed{max-width:none;flex-shrink:0;height:auto}.rw-empty{padding:32px;color:#647b75;text-align:center;font-size:14px}.rw-editor{overflow:auto;min-width:0;padding:20px 24px;background:#fff}.rw-editor>button{display:block;width:100%;margin-bottom:10px}.rw-editor .receipt-batch-panel{border:0;margin:0;padding:0}.rw-editor .receipt-batch-items{display:block}.rw-editor .receipt-batch-item{margin-top:18px;border:0;border-top:1px solid #dce6e4;border-radius:0;padding:18px 0}.rw-editor .receipt-batch-item[hidden]{display:none!important}.rw-editor .rcr-layout{display:block}.rw-editor .rcr-thumb{display:none}.rw-editor .rcr-fields{width:100%;min-width:0}.rw-editor .receipt-batch-common{background:#f4f8f6;border:1px solid #dbe7e1;border-radius:12px;padding:14px}.rw-editor .form-control,.rw-editor .form-select{min-height:39px}.rw-editor .receipt-batch-file{font-size:18px}.rw-editor #receiptBatchSaveBtn,.rw-editor #saveBtn{position:sticky;bottom:0;box-shadow:0 -8px 18px #fff;border-radius:10px;min-height:46px}.rw-notice{font-size:12px;line-height:1.7;padding:10px 12px;border-radius:10px;background:#f1f5f4;color:#5d716b;margin-bottom:12px}.rw-common-hint{font-size:11px;color:#687d75;margin-top:4px}.rw-file-link{display:block;border:0;background:transparent;color:#1b6c52;text-decoration:underline;font-size:12px;padding:4px 0;white-space:nowrap}
@media(max-width:800px){.rw-dialog{width:100vw;height:100dvh;border-radius:0}.rw-header{padding:12px 16px}.rw-header h2{font-size:18px}.rw-toolbar{padding:10px 16px;gap:7px}.rw-toolbar .rw-primary{font-size:12px;padding:8px}.rw-strip{padding:0 16px 10px}.rw-body{grid-template-columns:1fr;grid-template-rows:minmax(190px,32dvh) minmax(0,1fr)}.rw-preview{border-right:0;border-bottom:1px solid #dce6e4}.rw-image-stage{padding:10px}.rw-image-tools{padding:5px}.rw-editor{padding:16px}.rw-editor .receipt-batch-common .row{--bs-gutter-y:.5rem}.rw-editor .receipt-batch-common .col-md-6{width:50%}.rw-button{padding:7px 10px;font-size:12px}.rw-counter{font-size:12px}}

.rw-dialog [hidden]{display:none!important}.edg-id [data-edg-attachments]{display:block;margin-top:4px;padding:3px 7px;font-size:12px}.rw-editor .rw-button{margin:4px}.rw-editor .receipt-batch-item{border:0;box-shadow:none;padding:0}.rw-editor .receipt-batch-items{margin-top:16px}

.rw-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 24px;background:#fff;border-top:1px solid #dce6e4;font-size:12px;color:#5a736b}.rw-footer #receiptBatchSaveBtn,.rw-footer #saveBtn{width:320px!important;min-height:44px;margin:0!important}.rw-editor #receiptWorkspaceReopen,.rw-editor #receiptSingleReopen,.rw-editor #receiptBatchStatus{display:none}.rw-editor .rw-notice{font-size:10px}.rw-dates{font-size:12px;color:#5d716b}.rw-dates[open] summary{margin-bottom:10px}.rw-editor summary{cursor:pointer}.rw-editor .receipt-batch-common .form-label{font-size:12px}.rw-editor .rw-common-hint{display:none}.rw-editor .rw-diagnostics{font-size:11px;color:#687d75}.rw-editor .rw-candidates{font-size:12px;color:#4b7464;padding:8px 12px;border-radius:8px;background:#f2f6f4}@media(max-width:800px){.rw-footer{padding:10px 16px}.rw-footer>span{display:none}.rw-footer #receiptBatchSaveBtn,.rw-footer #saveBtn{width:100%!important}}
