.receipt-panel{margin:24px 0;padding:24px;min-width:0}.receipt-heading h2{font-size:1.2rem;margin:8px 0}.receipt-heading p,.receipt-help{font-size:.82rem;line-height:1.75;color:#526657;margin:8px 0 14px}.receipt-photo-actions,.receipt-fields,.receipt-form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.receipt-photo-actions>label{border:1px solid #b8cfb4;border-radius:10px;background:#f4f8ef;color:#205c47;padding:12px;font-size:.9rem;font-weight:600}.receipt-panel input,.receipt-panel select,.receipt-panel textarea{font:inherit;font-size:16px;width:100%;min-width:0;min-height:44px;border:1px solid #d8e2d0;border-radius:8px;padding:10px;background:#fff;color:#293f32}.receipt-photo-actions input{font-size:12px;border:0;background:transparent;margin-top:7px;padding:0;min-height:32px}.receipt-panel button{min-height:44px}.receipt-panel label{font-size:.87rem;font-weight:600;line-height:1.6;display:grid;gap:6px;min-width:0}#receipt-form{display:grid;gap:13px;margin:18px 0}.receipt-panel h3{font-size:1rem;margin:10px 0}.receipt-panel .receipt-check{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.85rem}.receipt-check input{width:20px;height:20px;min-height:20px;margin:0;flex:0 0 20px;accent-color:#205c47}.receipt-duplicate{padding:10px;border:1px solid #d8bc83;border-radius:9px;background:#fff8e9}.receipt-status{font-size:.83rem;line-height:1.75;color:#205c47;margin:8px 0;overflow-wrap:anywhere}.receipt-status:empty,#receipt-warnings:empty{display:none}#receipt-preview{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:9px;margin:12px auto}.receipt-raw,.receipt-transfer{border:1px solid #dce5d7;border-radius:10px;margin:18px 0;padding:0 14px 14px}.receipt-panel summary{min-height:44px;padding:13px 0;cursor:pointer;font-size:.88rem;font-weight:600}.receipt-panel button:focus-visible,.receipt-panel input:focus-visible,.receipt-panel select:focus-visible,.receipt-panel textarea:focus-visible,.receipt-panel summary:focus-visible{outline:3px solid #8bb797;outline-offset:3px}.receipt-raw label{margin-bottom:12px}.receipt-ledger{border-top:1px solid #e0e8d9;margin-top:20px;padding-top:16px}.receipt-summary{display:flex;align-items:baseline;gap:14px;margin:17px 0}.receipt-summary strong{font-size:2rem;color:#205c47;font-variant-numeric:tabular-nums}.receipt-summary span{font-size:.9rem;color:#526657}.receipt-categories{display:flex;flex-wrap:wrap;gap:7px}.receipt-category-chip{padding:6px 10px;border-radius:16px;background:#f0f5e9;font-size:.8rem;color:#3a5942}.receipt-row{padding:16px 0;border-bottom:1px solid #e0e8d9}.receipt-row-head{display:flex;justify-content:space-between;gap:12px;line-height:1.7}.receipt-row-head strong{overflow-wrap:anywhere}.receipt-row-head b{white-space:nowrap;color:#205c47}.receipt-row p{font-size:.8rem;margin:6px 0;color:#526657}.receipt-row-actions{display:flex;gap:8px}.receipt-row-actions button{padding:8px 12px;font-size:.8rem}.receipt-panel textarea{resize:vertical}#receipt-more{width:100%;margin-top:14px}.receipt-home-summary{margin:18px 0;padding:20px}.receipt-home-summary h3{margin:0 0 12px}.receipt-home-summary strong{font-size:1.5rem;color:#205c47}.receipt-home-summary p{margin:7px 0 12px}@media(max-width:480px){.receipt-panel{padding:18px}.receipt-fields,.receipt-form-actions{grid-template-columns:1fr}.receipt-photo-actions{gap:8px}.receipt-photo-actions>label{padding:10px;font-size:.83rem}.receipt-photo-actions input{font-size:11px}.receipt-summary strong{font-size:1.8rem}.receipt-row-head{flex-wrap:wrap}}

#receipt-crop-canvas{display:block;width:100%;height:auto;touch-action:none;border:2px solid #205c47;background:#eee}#receipt-crop-editor{margin:16px 0}#receipt-crop-editor p{font-size:.85rem;line-height:1.7}

.receipt-entry-preview{background:#edf3e5;border:1px solid #d5e2c9;border-radius:14px;padding:14px 18px;margin:14px 0}.receipt-entry-preview h4{margin:0;font-size:1rem}.receipt-entry-preview #receipt-entry-summary{font-weight:650;line-height:1.8}.receipt-undo-note{padding:14px;border-left:4px solid #205c47;background:#edf3e5;line-height:1.7}.receipt-after-save #receipt-undo{font-weight:700;border:2px solid #205c47}
