.receipt-workspace{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(440px,1.25fr);gap:24px;align-items:start}
.receipt-source{position:sticky;top:20px;min-width:0}.receipt-original-pages{max-height:75vh;overflow:auto;background:#f2f4f1;padding:12px}.receipt-original-pages img{display:block;width:100%;height:auto;border-radius:8px;margin-bottom:12px}.receipt-workspace fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}.receipt-workspace fieldset:disabled{opacity:.65}.receipt-workspace .panelbody{min-width:0}.receipt-workspace .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.receipt-workspace input,.receipt-workspace select,.receipt-workspace textarea{min-width:0;max-width:100%}.receipt-workspace textarea{min-height:70px}.receipt-section-head,.receipt-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.receipt-section-head{margin:24px 0 8px}.receipt-section-head h2{margin:0}.receipt-small{font-size:13px;line-height:1.55}.receipt-item{border:1px solid #dbe4df;border-radius:12px;padding:14px;margin:12px 0;background:#fafbf9}.receipt-item-head{margin-bottom:10px}.receipt-item-head button{padding:3px 10px;min-width:32px}.receipt-item-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.receipt-item .field{margin-bottom:10px}.receipt-item label{display:block;font-size:12px}.receipt-item input{display:block;width:100%;margin-top:5px}.receipt-warning{background:#fff2d6;color:#765520;border:1px solid #e8d2a5;border-radius:8px;padding:12px;font-size:13px;line-height:1.55}.receipt-missing{border-color:#c4933e!important;background:#fffcf3!important}.receipt-savebar{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 12px}.receipt-raw{margin-top:24px}.receipt-raw pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;max-height:320px;overflow:auto;background:#f4f6f3;padding:12px;border-radius:8px}.receipt-raw mark{background:#ffedb8}.receipt-workspace summary{cursor:pointer;padding:10px 0}.receipt-source small{overflow-wrap:anywhere}#receipt-process{margin-bottom:14px}.receipt-source .panelhead{gap:10px}.receipt-source .panelhead a{white-space:nowrap;font-size:13px}
@media(max-width:1200px){.receipt-workspace{grid-template-columns:1fr}.receipt-source{position:static}.receipt-original-pages{max-height:350px}.receipt-original-pages img{max-width:620px;margin:0 auto 12px}}
@media(max-width:600px){.receipt-workspace{gap:16px}.receipt-workspace .formgrid{grid-template-columns:1fr}.receipt-item{padding:12px}.receipt-item-numbers{gap:7px}.receipt-item input{padding:10px 7px}.receipt-savebar .button{flex:1;min-width:170px}.receipt-source .panelbody{padding:16px}.receipt-original-pages{max-height:290px}}
