.receipt-document-select{padding:12px;border:1px solid var(--line,#d9dfde);border-radius:12px;background:#f7f9f8}
.receipt-documents{margin-top:16px}.receipt-documents>summary{font-weight:700;cursor:pointer;margin-bottom:12px}
.receipt-document-card{border:1px solid #d9dfde;border-radius:14px;padding:16px;margin:12px 0;background:#fff;overflow-wrap:anywhere}
.receipt-document-card>header{display:grid;gap:5px}.receipt-document-card>header small{font-size:.85rem}.receipt-document-card>p{font-size:.9rem;margin:8px 0}
.receipt-document-thumbnail{background:#fff;border:1px solid #d9dfde;border-radius:10px;margin:12px 0;padding:6px;cursor:pointer}.receipt-document-thumbnail img{display:block;max-width:120px;max-height:145px;object-fit:contain}
.receipt-document-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.receipt-document-card dt{font-size:.8rem;opacity:.8}.receipt-document-card dd{margin:3px 0;font-weight:600}
.receipt-document-actions{display:flex;gap:8px;flex-wrap:wrap}.receipt-document-items{display:grid;gap:8px;margin-top:12px}
.receipt-item{border:1px solid #d9dfde;border-radius:10px;padding:12px;text-align:left;background:#fff;color:inherit;font:inherit;cursor:pointer;width:100%;overflow-wrap:anywhere}
.receipt-item:hover,.receipt-item:focus-visible{background:#f0f4f1;outline:2px solid #67796f;outline-offset:2px}
.receipt-document-card.is-demo,.receipt-document-card.is-demo .receipt-item{color:#2853a7}.receipt-document-card.is-demo{background:#f9fbff}
#materialAttachmentPreview{width:min(880px,calc(100% - 24px));max-height:90dvh;overflow:auto}.receipt-preview-card{width:auto}.receipt-preview-card h2{min-width:0;overflow-wrap:anywhere}.receipt-preview-card .dialog-close{flex-shrink:0}.receipt-preview-body{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}.receipt-preview-body img{display:block;max-width:100%;max-height:65dvh;object-fit:contain;margin:auto}
.receipt-preview-body iframe{width:100%;height:65dvh;border:1px solid #d9dfde}.receipt-preview-body pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:65dvh;overflow:auto}
@media(max-width:600px){.receipt-document-card{padding:12px}.receipt-document-card dl{grid-template-columns:minmax(0,1fr)}.receipt-document-actions>button{flex:1 1 120px}}
