.receipt-photo-viewer[hidden]{display:none!important}.receipt-photo-viewer{position:fixed;inset:0;z-index:100350;background:#152238c9;display:grid;place-items:center;padding:12px}.receipt-photo-viewer section{width:min(1000px,100%);height:94dvh;background:#fff;border-radius:14px;display:flex;flex-direction:column;overflow:hidden}.receipt-photo-viewer header{display:flex;gap:8px;align-items:center;padding:12px;flex-wrap:wrap}.receipt-photo-viewer strong{flex:1;overflow-wrap:anywhere}.receipt-photo-scroll{overflow:auto;flex:1;background:#e9eef4;padding:10px}.receipt-photo-scroll img{display:block;max-width:none;height:auto;margin:auto}.v191-photo-button{padding:0!important;border-radius:8px;overflow:hidden;display:inline-flex!important;background:#eef3f8}.v191-photo-button img{width:64px;height:64px;object-fit:cover}.v191-receipt-gallery{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.v191-receipt-gallery img{width:140px;height:180px;object-fit:contain}.v191-sort{display:flex;align-items:center;gap:8px;margin:8px 0;flex-wrap:wrap}.v191-sort select{max-width:100%}#v128PreviewModal{z-index:100300}#v128PreviewBody [data-receipt-photo]{display:block;width:100%;background:transparent;padding:0}#v128PreviewBody [data-receipt-photo] img{max-width:100%;height:auto}#v128TripDetail .v141-expense-table td:nth-child(6)>.v191-photo-button{display:inline-flex!important}@media(max-width:720px){.v191-sort{width:100%}.receipt-photo-viewer header strong{flex-basis:100%}.v191-receipt-gallery img{width:110px;height:140px}}
/* V192: viewport-sized travel previews with controls directly beside every receipt. */
#v128PreviewModal,#v122Preview{padding:8px;z-index:100300}
#v128PreviewModal .v122-preview-dialog,#v122Preview .v122-preview-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:12px;display:flex;flex-direction:column;overflow:hidden}
#v128PreviewModal .v122-dialog-head,#v122Preview .v122-dialog-head{flex:none;align-items:center}
#v128PreviewBody,#v122PreviewBody{min-height:0;overflow:auto;flex:1;padding-top:10px;display:grid;gap:16px;align-content:start}
.receipt-preview-toolbar{position:sticky;top:0;z-index:1;display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:8px;background:#fff;border:1px solid #d9e1ec;border-radius:8px 8px 0 0}
.receipt-preview-toolbar button{min-width:44px;min-height:44px}.receipt-preview-toolbar output{min-width:55px}
.receipt-preview-stage{height:calc(100dvh - 230px);min-height:180px;overflow:auto;touch-action:none;background:#e9eef4;padding:10px}
#v128PreviewBody .receipt-preview-stage [data-receipt-photo]{width:max-content;min-width:100%;border:0}
#v128PreviewBody .receipt-preview-stage img,#v122PreviewBody .receipt-preview-stage img{display:block;max-width:none;max-height:none;height:auto;object-fit:initial;margin:auto;border:0;border-radius:0}
.receipt-photo-viewer{padding:4px}.receipt-photo-viewer section{width:100%;height:calc(100dvh - 8px)}
#receiptPhotoViewer{z-index:100850}
