.inventory-intro h2{margin:14px 0 8px}.inventory-intro p{max-width:720px;color:var(--muted);font-size:14px;line-height:1.8}.inventory-intro>small{color:var(--muted);font-size:12px}.receipt-steps{display:grid;grid-template-columns:repeat(4,1fr);padding:0;list-style:none;gap:10px;margin:22px 0}.receipt-steps li{background:#f2f6ef;padding:14px;border-radius:10px;color:#84977b;font-size:12px;display:flex;gap:12px;align-items:center}.receipt-steps b{color:#3b5445;font-size:13px}.inventory-table{width:100%;border-collapse:collapse;margin-top:16px;font-size:14px}.inventory-table th{text-align:left;font-size:12px;color:#7d8a76;font-weight:500}.inventory-table td,.inventory-table th{padding:14px 8px;border-bottom:1px solid #edf0e9}.inventory-table small{display:block;color:#8a9583;font-size:12px;margin-top:4px}.inventory-table td:last-child,.inventory-table th:last-child{text-align:right}.inventory-table b{font-size:20px}.receipt-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #edf0e9;padding:18px 0;cursor:pointer;color:inherit}.receipt-row>span:nth-child(2){flex:1;min-width:0}.receipt-row strong{font-size:14px;display:block}.receipt-row small{font-size:12px;color:#84917a;display:block;overflow-wrap:anywhere;margin-top:6px}.receipt-row-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f1f5ec;color:#66835c}.receipt-upload{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.receipt-upload label{position:relative;overflow:hidden}.receipt-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.receipt-dialog{max-width:1080px!important;width:calc(100% - 36px)}.receipt-review{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(280px,1.2fr);gap:28px;align-items:start}.receipt-original{display:block;position:sticky;top:0;background:#eff2e9;border-radius:14px;overflow:hidden;text-align:center}.receipt-original img{display:block;width:100%;max-height:570px;object-fit:contain}.receipt-original span{display:block;padding:10px;font-size:12px}.receipt-review-body label{display:grid;gap:8px;font-size:13px;font-weight:500;margin-bottom:16px}.receipt-review-body input:not([type=checkbox]),.receipt-review-body select,.receipt-review-body textarea{width:100%;border:1px solid #dce4d5;background:white;color:#34482f;border-radius:9px;padding:11px 12px;font:inherit;min-width:0}.receipt-ocr-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.receipt-line{border:1px solid #dfe7d8;border-radius:12px;padding:16px;margin-bottom:14px}.receipt-line-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin-bottom:12px}.receipt-source{font-size:12px;color:#87947c;overflow-wrap:anywhere;background:#f5f7f1;padding:10px;border-radius:6px}.receipt-actions{display:flex;justify-content:flex-end;gap:10px;margin:22px 0;flex-wrap:wrap}.receipt-raw{margin:18px 0}.receipt-raw summary{font-size:12px;cursor:pointer;color:#7a8e6e;margin-bottom:12px}.receipt-verified{padding:0;list-style:none}.receipt-verified li{padding:16px 0;border-bottom:1px solid #e4eadf;display:grid;gap:6px;font-size:14px}.receipt-verified span{color:#829476;font-size:13px}.receipt-review-body .check-label{display:flex;align-items:flex-start;line-height:1.8}.receipt-review-body .check-label input{margin-top:5px}@media(max-width:700px){.receipt-steps{grid-template-columns:repeat(2,1fr)}.receipt-review{grid-template-columns:1fr;gap:20px}.receipt-original{position:static}.receipt-original img{max-height:230px}.receipt-row{gap:9px}.receipt-row-icon{width:34px;height:34px;flex-shrink:0}.receipt-row .pill{font-size:10px;padding:5px 7px}.receipt-row>.icon{display:none}.inventory-intro h2{font-size:21px}.receipt-actions .btn{flex:1;justify-content:center}.receipt-dialog{width:calc(100% - 20px);padding:20px!important}}
.receipt-batch-list{padding:0;list-style:none;max-height:52vh;overflow:auto}.receipt-batch-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e5eadf;padding:16px 0}.receipt-batch-row>div{flex:1;min-width:0}.receipt-batch-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.receipt-batch-row small{display:block;font-size:12px;color:#7f8d75;margin-top:5px;overflow-wrap:anywhere}.receipt-batch-number{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#eff4e9;border-radius:9px;color:#6d8560;font-size:12px}.receipt-batch-dialog{max-width:850px!important}.receipt-batch-card{margin-bottom:22px}.receipt-batch-card h2 small{font-size:13px;color:#7f8d75}.receipt-batch-row .pill{white-space:nowrap;font-size:11px}.receipt-batch-row .text-link{white-space:nowrap;font-size:12px}.page-heading h1{word-break:keep-all}@media(max-width:600px){.receipt-batch-row{flex-wrap:wrap;gap:9px}.receipt-batch-row>div{flex-basis:calc(100% - 42px)}.receipt-batch-row>.pill{margin-left:39px}.receipt-batch-row>.text-link{margin-left:auto}.receipt-batch-dialog{padding:20px!important}}

#receipt-crop-preview{display:block;width:100%;max-height:340px;object-fit:contain;background:#edf1e8}.receipt-review-body{min-width:0}.receipt-raw .form-grid{min-width:0}

.inventory-intro summary{cursor:pointer;font-weight:600;color:var(--ink)}
dialog.receipt-dialog,dialog.receipt-batch-dialog,dialog.receipt-upload-dialog,dialog.receipt-progress-dialog{box-sizing:border-box;min-width:0;width:min(1080px,calc(100vw - 24px));max-width:calc(100vw - 24px)!important;max-height:calc(var(--app-height,100dvh) - 24px);overflow:auto;overscroll-behavior:contain}
dialog.receipt-batch-dialog{width:min(850px,calc(100vw - 24px))}dialog.receipt-upload-dialog,dialog.receipt-progress-dialog{width:min(560px,calc(100vw - 24px))}
.receipt-text-result{min-width:0;margin:16px 0 24px}.receipt-text-result h3{font-size:16px;margin:0 0 12px}.receipt-text-result textarea{display:block;width:100%;max-width:100%;min-width:0;height:260px;max-height:45dvh;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8!important;font-size:14px!important}.receipt-actions{flex-wrap:wrap}.receipt-actions>*{min-width:0}.receipt-batch-row strong,.receipt-source{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:700px){dialog.receipt-dialog,dialog.receipt-batch-dialog,dialog.receipt-upload-dialog,dialog.receipt-progress-dialog{position:fixed;inset:calc(var(--app-viewport-top,0px) + 8px + env(safe-area-inset-top)) 0 auto;margin:0 auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px)!important;max-height:calc(var(--app-height,100dvh) - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:16px!important;border-radius:14px;scroll-padding-top:12px}.receipt-review{display:flex;flex-direction:column;gap:18px}.receipt-review>*{width:100%;min-width:0}.receipt-review-body{order:-1}.receipt-batch-list{max-height:none;overflow:visible}.receipt-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}.receipt-actions>.btn{white-space:normal;min-height:44px;width:100%}.receipt-upload{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.receipt-upload>.btn{width:100%;white-space:normal}.receipt-text-result textarea{font-size:16px!important;height:230px}.receipt-ocr-actions{flex-wrap:wrap}.receipt-ocr-actions>.btn{max-width:100%;white-space:normal}.receipt-batch-row{gap:8px}.receipt-batch-row .pill{white-space:normal;max-width:100%}dialog .modal-heading{gap:10px;align-items:flex-start}dialog .modal-heading>div{min-width:0}dialog .modal-heading h2{overflow-wrap:anywhere;line-height:1.45}dialog .modal-heading>.icon-btn{flex-shrink:0}}
.candidate-memory{font-size:10px;font-style:normal;border-radius:4px;background:#dff0e6;color:#187563;padding:2px 5px;white-space:nowrap}.receipt-candidate strong{flex-wrap:wrap}
.receipt-candidates:empty{display:none}.receipt-candidates{font-size:12px;color:#62745d}.receipt-candidates summary{cursor:pointer;margin-bottom:9px}.receipt-candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;padding:2px}.receipt-candidate{display:flex;flex-direction:column;gap:6px;text-align:left;padding:12px;border:1px solid #dce4d5;background:#fff;border-radius:10px;color:#354a31;cursor:pointer;overflow-wrap:anywhere;font:inherit}.receipt-candidate strong{display:flex;justify-content:space-between;gap:8px}.receipt-candidate strong span{font-size:11px;white-space:nowrap;color:#187563}.receipt-candidate small{color:#6c7d65;line-height:1.5}.receipt-candidate.is-selected{border:2px solid #187563;background:#eff8f2;padding:11px}.receipt-candidate:hover,.receipt-candidate:focus-visible{border-color:#187563}.receipt-candidate small.candidate-warning{color:#a44d17;font-weight:600}@media(max-width:600px){.receipt-candidate-list{grid-template-columns:1fr;max-height:310px}}

@media(max-width:700px){.inventory-table{table-layout:fixed;width:100%}.inventory-table td,.inventory-table th{overflow-wrap:anywhere;word-break:break-word}.inventory-table td:last-child,.inventory-table th:last-child{width:84px}}

.receipt-autofill{padding:16px;background:#eff8f2;border:1px solid #b8d5c4;border-radius:12px;margin:12px 0 22px;overflow-wrap:anywhere}.receipt-autofill strong{font-size:14px}.receipt-autofill p,.receipt-autofill li{font-size:13px;line-height:1.8}.receipt-autofill ul{padding-left:20px}.receipt-totals{line-height:1.8;font-weight:600}
.receipt-progress-photo{display:block;width:100%;max-height:32dvh;object-fit:contain;border-radius:12px}
.receipt-progress-text{margin:14px 0}
.receipt-progress-text h3{font-size:15px;margin:0 0 8px}
.receipt-progress-text pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:34dvh;overflow:auto;margin:0;padding:12px;border:1px solid currentColor;border-radius:9px;font:inherit;font-size:14px;line-height:1.6}
.receipt-review-source{min-width:0}
@media(max-width:700px){.receipt-review-body{order:0}}

.inventory-dot-info{display:block;max-width:580px;margin-top:6px}.inventory-table .inventory-dot-value,.receipt-candidate .inventory-dot-value{color:var(--text);font-size:13px}.inventory-dot-value strong{font-size:13px}.inventory-dot-history{font-size:12px;color:var(--muted);margin-top:4px}.inventory-dot-history summary{cursor:pointer;overflow-wrap:anywhere;font-weight:600}.inventory-dot-history>span{display:block;overflow-wrap:anywhere;line-height:1.6;margin-top:4px}.inventory-dot-unknown{opacity:.75}@media(max-width:600px){.inventory-dot-info{max-width:68vw}.inventory-dot-value{line-height:1.6}}
