/* 186 operations: shared theme tokens and fixed button geometry. */
.receipt-choice{cursor:pointer;background:var(--surface);transition:background .12s;border:1px solid var(--line)}
.receipt-choice:hover,.receipt-choice:focus-within{background:var(--surface-2);box-shadow:none;transform:none}
.receipt-choice .receipt-choice-content,.receipt-choice:hover .receipt-choice-content,.receipt-choice .receipt-identity{background:transparent}
.receipt-choice .receipt-choice-open{display:inline-flex;width:auto;min-height:34px;height:auto;padding:7px 13px;margin:12px 0 0;background:var(--accent);color:var(--accent-on);border:1px solid var(--accent);border-radius:6px;box-sizing:border-box}
.receipt-index186{color:var(--muted);font-weight:500}
.receipt-identity{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:14px}
.receipt-identity>div:not(.receipt-metrics):not(.receipt-tags):not(.receipt-coverage){display:flex;flex-direction:column;gap:3px;min-width:0}
.receipt-identity>div>b{white-space:nowrap;font-size:12px;line-height:1.4;color:var(--muted);font-weight:500}
.receipt-identity>div>span{line-height:1.5;overflow-wrap:anywhere;word-break:normal}
.receipt-identity .receipt-metrics{grid-column:1/-1;gap:10px}
.receipt-identity .receipt-metrics>span,.receipt-identity .receipt-metrics>button{min-width:0;box-sizing:border-box}
.receipt-layout185 .receipt-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.receipt-layout185 .receipt-side:has(>.card:only-child){grid-template-columns:1fr}
.receipt-layout185 .completion-panel{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.receipt-layout185 .completion-panel h2,.receipt-layout185 .completion-panel p{margin:0}
.receipt-layout185 .completion-panel>button{margin:0;min-height:36px;height:auto;white-space:normal;line-height:1.35;padding:8px 12px;max-width:100%}
.scan-dialog .work-input-mode{display:flex;gap:6px;justify-content:center;flex:none;margin:0;padding:0}
.scan-dialog .work-input-mode button{flex:0 1 auto!important;width:auto!important;min-width:0!important;height:30px!important;min-height:30px!important;padding:3px 13px!important;border-width:1px!important;font-size:12px!important}
.location-pair186{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:9px;align-items:stretch}
.scan-dialog .location-pair186 .work-location{margin:0;padding:10px;min-width:0;align-items:center;text-align:center;border-radius:8px}
.location-proposal186{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;border:1px dashed var(--line);border-radius:8px;padding:10px;background:var(--surface-2);min-width:0;text-align:left;color:var(--ink)}
.location-proposal186 strong{font-size:20px;line-height:1.15;overflow-wrap:anywhere}.location-proposal186 small{font-size:11px;line-height:1.4;color:var(--muted)}
.location-pair186 .eyebrow{font-size:9px;letter-spacing:.05em}.location-id186{font-size:11px;line-height:1.3;font-weight:400}.location-summary184{display:block;font-size:12px;line-height:1.4}.location-summary184 small{display:block;font-size:10px;line-height:1.4}
.location-actions186{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin-top:7px}
.scan-dialog .location-actions186 button{height:29px!important;min-height:29px!important;padding:3px 8px!important;width:auto!important;min-width:0;font-size:10px!important;border-width:1px!important;white-space:normal}
.location-actions186 svg{width:16px;height:16px}
.location-flag-options186{display:flex;gap:8px;flex-wrap:wrap}.location-flag-options186>button{white-space:normal;height:auto;min-height:36px}
.location-flag-history186 article{padding:12px 0;border-top:1px solid var(--line)}.location-flag-history186 small{display:block;margin-top:4px;color:var(--muted)}.location-flag-history186 p{margin:6px 0}
.scan-dialog .draft-product184{grid-template-columns:54px minmax(0,1fr) auto;gap:9px;align-items:center}
.scan-dialog .draft-product184 .product-photo{width:54px;height:62px;min-height:0;object-fit:contain}
.scan-dialog .product-identity186{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;height:auto;min-height:0;padding:2px 0;gap:3px;border:0;background:transparent;white-space:normal;color:var(--ink);box-shadow:none}
.scan-dialog .product-identity186:hover{background:transparent;color:var(--accent)}.product-identity186 strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}.product-identity186 span{font-size:11px;line-height:1.3;overflow-wrap:anywhere}.product-identity186 b{font-weight:600;color:var(--ink)}
.scan-dialog .receipt-controls184{display:flex;flex-direction:column;align-items:center;gap:9px;flex:none}
.scan-dialog .receipt-controls184>button{width:min(100%,260px);align-self:center}
.scan-dialog .receipt-controls184>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.scan-dialog .receipt-controls184>div button{width:100%;min-width:0;padding:4px 7px!important;font-size:12px!important;white-space:normal!important;line-height:1.2!important;height:36px!important;min-height:36px!important}
.scan-suggestions184 small{display:block;font-size:10px;color:var(--muted);line-height:1.35}
.operation-resume186 article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.operation-resume186 p{margin:5px 0;font-size:12px;color:var(--muted)}.operation-resume186 article>div{min-width:0;overflow-wrap:anywhere}.operation-resume186 .badge{margin-left:8px}.operation-resume186 button{flex-shrink:0}
.dispatch-manual186 fieldset{border:1px solid var(--line);border-radius:8px;padding:14px;margin:12px 0}.dispatch-manual186 .mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-manual186 input{min-width:0;width:100%}
.stock-scope186{display:flex;gap:6px;flex-wrap:wrap;padding:12px 0}.stock-scope186 button{width:auto;min-height:32px;font-size:12px}
.stock-source186{padding:12px 0;border-bottom:1px solid var(--line)}.stock-source186 p{margin:5px 0}.stock-source186 .form-actions{justify-content:flex-start}
@media(max-width:640px){.receipt-identity{grid-template-columns:1fr;gap:12px}.receipt-layout185 .receipt-side{grid-template-columns:1fr}.dispatch-manual186 .mapping-grid{grid-template-columns:1fr}.location-pair186{gap:6px}.scan-dialog .location-pair186 .work-location,.location-proposal186{padding:7px}.scan-dialog .location184>strong{font-size:22px!important}.location-proposal186 strong{font-size:17px}.scan-dialog .draft-product184{grid-template-columns:46px minmax(0,1fr) auto;gap:7px}.scan-dialog .draft-product184 .product-photo{width:46px;height:56px}.scan-dialog .draft-product184 .inline-count185{width:92px}.scan-dialog .product-identity186 span{font-size:10px}.operation-resume186 article{flex-wrap:wrap}}
@media(max-height:650px){.scan-dialog .location-pair186 .work-location,.location-proposal186{padding:5px}.location-summary184{font-size:11px}.location-actions186{margin-top:3px}.scan-dialog .receipt-controls184{gap:5px}.scan-dialog .receipt-controls184>div button{height:30px!important;min-height:30px!important;font-size:11px!important}}
@media(max-height:650px){.scan-dialog:has(.receipt-controls184) .modal-body{gap:3px;padding-bottom:5px}.scan-dialog .location-pair186 .location-summary184{font-size:12px}.location-pair186 .location-summary184 small{font-size:10px}}
.scan-dialog .photo-detail186{border:0;background:transparent;padding:0!important;height:62px!important;min-height:0!important;width:54px;box-shadow:none}
@media(max-width:640px){.scan-dialog .photo-detail186{height:56px!important;width:46px}}
.operation-choices186{display:flex;flex-direction:column;align-items:stretch;gap:10px}.operation-choices186 button{width:100%;height:auto;min-height:40px;text-align:left;justify-content:flex-start;white-space:normal}
#dispatch-manual186 label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}#dispatch-manual186 fieldset{border:1px solid var(--line);border-radius:8px;padding:14px;margin:12px 0}.dispatch-fields186{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#dispatch-manual186 input{width:100%;min-width:0;color:var(--ink)}
.stats>button.stat{height:auto;min-height:100px;align-items:flex-start;text-align:left;display:flex;flex-direction:column;gap:8px;padding:16px;white-space:normal}.stats>button.stat small{font-size:11px;line-height:1.4;color:var(--muted)}
@media(max-width:640px){.dispatch-fields186{grid-template-columns:1fr}}

.scan-button185{background:#b42318!important;color:#fff!important;border-color:#b42318!important}.scan-button185:hover{background:#971d14!important;border-color:#971d14!important}

#content .stats>button.stat{height:auto!important;min-height:100px!important;max-height:none!important;align-self:stretch;white-space:normal!important;justify-content:center;box-sizing:border-box;padding:16px!important}
