.rp-shell{color:#183a36;max-width:1400px;margin:auto}.rp-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 32px;background:#173f38;color:white;border-radius:18px;margin-bottom:18px}.rp-hero h2{font-size:28px;margin:8px 0}.rp-hero p{color:#cfdfd5;margin:0;font-size:14px}.rp-hero small{font-size:10px;letter-spacing:2px;color:#c4d5ae}.rp-hero>span{padding:8px 12px;border:1px solid #749187;border-radius:20px;font-size:12px;white-space:nowrap}.rp-note,.rp-help{font-size:13px;line-height:1.8;color:#5e706a}.rp-note{border-left:3px solid #8ba78e;padding:8px 16px;margin:16px 0}.rp-search{display:flex;align-items:end;gap:12px;margin:22px 0}.rp-search label{flex:1;max-width:480px}.rp-shell label{display:block;font-size:13px;font-weight:600}.rp-shell input:not([type=checkbox]){display:block;font:inherit;padding:11px 12px;border:1px solid #bccfc6;border-radius:8px;width:100%;margin-top:6px;background:white;color:#183a36;min-height:44px}.rp-shell input[type=checkbox]{width:20px;height:20px;accent-color:#286b5e}.rp-shell button{background:#215b4e;border:0;border-radius:8px;padding:12px 16px;min-height:44px;color:white;font:inherit;font-size:13px;cursor:pointer}.rp-shell button:disabled{opacity:.45;cursor:not-allowed}.rp-shell .rp-secondary{background:#e9f0eb;color:#244f43}.rp-shell .rp-message{color:#8c4620;min-height:22px;font-size:14px}.rp-stores{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:22px}.rp-stores>div{padding:16px;border:1px solid #dce6df;background:#fff;border-radius:12px}.rp-stores span{display:block;font-size:12px;color:#64776d;margin-top:7px}.rp-panel{background:white;border:1px solid #dce6df;padding:24px;border-radius:16px;margin-bottom:24px}.rp-panel h3{font-size:18px;margin:0 0 12px}.rp-table-wrap{overflow-x:auto;max-width:100%}.rp-shell table{width:100%;border-collapse:collapse;min-width:700px;font-size:13px}.rp-shell th{text-align:left;background:#f0f5f0;color:#52675b;font-weight:600}.rp-shell td,.rp-shell th{padding:13px 12px;border-bottom:1px solid #e3ebe4;vertical-align:top}.rp-shell td small{display:block;color:#738176;font-size:11px;margin-top:5px;max-width:220px;overflow-wrap:anywhere}.rp-shell .rp-price{min-width:90px;max-width:120px}.rp-edit{margin-top:22px;max-width:none}.rp-edit>label{max-width:620px}.rp-bulk{display:flex;align-items:end;gap:12px;margin-bottom:14px}.rp-bulk label{max-width:200px}.rp-submit{margin-top:18px}.rp-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.rp-more{margin-top:14px}.rp-shell :focus-visible{outline:3px solid #399b82;outline-offset:3px}.rp-shell [hidden]{display:none!important}@media(max-width:700px){.rp-hero{padding:23px 18px}.rp-hero h2{font-size:23px}.rp-hero>span{display:none}.rp-panel{padding:16px}.rp-search{flex-wrap:wrap}.rp-search label{flex-basis:100%;max-width:none}.rp-search button{width:100%}.rp-stores{grid-template-columns:1fr 1fr}.rp-bulk{flex-wrap:wrap}.rp-bulk label{max-width:none;flex:1}.rp-shell table{min-width:680px}.rp-hero p{font-size:13px}}

/* Shared form sizing. */
.rp-shell,.rp-panel,.rp-search{min-width:0}.rp-shell .rp-search{max-width:none}.rp-shell input:not([type=checkbox]){box-sizing:border-box}.rp-comparison .rp-message{overflow-wrap:anywhere}
@media(max-width:700px){
 .rp-shell .rp-price{min-width:0;max-width:none;margin:0}.rp-shell .rp-search input{font-size:16px}.rp-search{gap:10px}.rp-stores{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.rp-stores>div{padding:12px;overflow-wrap:anywhere}
 .rp-shell input:not([type=checkbox]){font-size:16px}.rp-heading{flex-wrap:wrap}.rp-bulk{align-items:stretch}.rp-bulk label{flex-basis:100%}.rp-bulk button,.rp-submit{width:100%}
}
@media(max-width:380px){.rp-stores{grid-template-columns:1fr}}

.rp-label-tools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}.rp-print-row{display:block;margin-top:10px}.rp-heading{flex-wrap:wrap}.rp-comparison-table .rp-status-cell .rp-print-row{grid-column:2}.rp-shell input[data-history-label]{width:20px;height:20px}@media(max-width:700px){.rp-label-tools button{flex:1}.rp-heading .rp-print-selected{flex-basis:100%}}

/* Live camera scanner */
.rp-barcode-heading{display:flex;align-items:center;gap:12px;justify-content:space-between}.rp-shell .rp-barcode-heading .rp-photo{width:auto;flex:none;padding:8px 12px;min-height:40px;font-size:13px;margin:0}
.barcode-camera{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #bccfc6;border-radius:16px;background:#fff;color:#183a36;box-shadow:0 20px 80px #0004}.barcode-camera::backdrop{background:#102a25c9}.barcode-camera header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.barcode-camera h2{font:600 20px/1.4 system-ui;margin:0}.barcode-camera button{min-height:44px;padding:10px 16px;border:0;border-radius:8px;background:#e9f0eb;color:#244f43;font:14px system-ui;cursor:pointer}.barcode-camera video{display:block;width:100%;max-height:58dvh;aspect-ratio:4/3;object-fit:contain;background:#12201c;border-radius:10px}.barcode-camera p{font:14px/1.7 system-ui;margin:16px 0 0;color:#52675b}.barcode-camera :focus-visible{outline:3px solid #399b82;outline-offset:3px}


.rp-remote-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:90dvh;overflow:auto;border:1px solid #bdcec4;border-radius:14px;padding:22px;font:15px/1.6 system-ui,sans-serif;color:#183a36}.rp-remote-dialog::backdrop{background:#102820aa}.rp-remote-dialog h2{font-size:21px;margin:0 0 12px}.rp-remote-dialog label{display:block;margin:12px 0}.rp-remote-dialog select,.rp-remote-dialog input,.rp-remote-dialog button{box-sizing:border-box;min-height:44px;padding:10px;border:1px solid #bdcec4;border-radius:7px;font:inherit}.rp-remote-dialog select{display:block;width:100%}.rpr-copies{display:block;width:100px}.rpr-status{color:#8c4620;overflow-wrap:anywhere}.rpr-description,.rpr-printers{overflow-wrap:anywhere}.rpr-actions{display:flex;gap:10px;flex-wrap:wrap}.rpr-actions button{background:#215b4e;color:white;cursor:pointer}.rpr-actions button:disabled{opacity:.45}.rp-remote-dialog [hidden]{display:none!important}
/* Compact store status; lookup and uniform price share one work area. */
.rp-status-panel{display:flex;align-items:center;gap:14px;padding:12px 16px;margin-bottom:16px}.rp-status-panel h3{flex:none;margin:0;font-size:14px}.rp-status-panel .rp-stores{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;min-width:0}.rp-status-panel .rp-stores>div{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;min-width:0}.rp-status-panel .rp-stores>div::before{content:"";width:8px;height:8px;border-radius:50%;background:#a76a58;flex:none}.rp-status-panel .rp-stores>div.is-online::before{background:#2b8b68}.rp-status-panel .rp-stores strong{font-size:12px;white-space:nowrap}.rp-status-panel .rp-stores span{display:inline;margin:0;font-size:11px;white-space:nowrap}.rp-status-panel .rp-stores>p{margin:0;font-size:12px;color:#64776d}.rp-workbench{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-top:22px;padding-top:22px;border-top:1px solid #dce6df}.rp-search-section{min-width:0}.rp-workbench .rp-search{display:block;max-width:none;margin:0}.rp-workbench .rp-search>label{margin:0 0 6px;max-width:none}.rp-workbench .rp-edit{margin:0;max-width:none}.rp-barcode-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px}.rp-shell .rp-barcode-row input{min-width:0;margin:0}.rp-workbench .rp-search .rp-photo{width:auto;min-width:90px;flex:none;white-space:nowrap;margin:0;padding:10px 12px}.rp-workbench .rp-lookup{margin-top:10px;width:100%}.rp-workbench .rp-bulk{margin-top:0}.rp-workbench .rp-bulk label{flex:1;max-width:none;margin-top:0}.rp-label-tools{align-items:center;justify-content:space-between;border-top:1px solid #edf1ed;padding-top:14px;margin-bottom:0}.rp-label-tools p{flex:1;margin:0}.rp-label-tools .rp-print-success{flex:none;min-width:130px}@media(max-width:700px){.rp-status-panel{display:block;padding:10px 12px}.rp-status-panel h3{margin-bottom:8px}.rp-status-panel .rp-stores{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.rp-status-panel .rp-stores>div{flex:none}.rp-workbench{grid-template-columns:minmax(0,1fr);gap:18px}.rp-workbench .rp-barcode-row{grid-template-columns:minmax(0,1fr) auto}.rp-workbench .rp-search .rp-photo{width:auto;min-width:88px;font-size:13px}.rp-label-tools{align-items:stretch}.rp-label-tools p{flex-basis:100%}.rp-label-tools .rp-print-success{width:100%}.rp-workbench .rp-edit{padding-top:16px;border-top:1px solid #e3ebe4}}

.rp-promotion{font-size:13px;line-height:1.6;min-width:190px;max-width:310px;color:#854d0e;background:#fffbeb;border-radius:8px;padding:8px 10px;overflow-wrap:anywhere}.rp-comparison-table table{min-width:1050px}@media(max-width:700px){.rp-comparison-table table{min-width:0}.rp-promotion{min-width:0;max-width:none}}
.rp-plan{border:1px solid #dce6df;border-radius:10px;padding:16px;margin:12px 0;overflow-wrap:anywhere}.rp-plan p{margin:8px 0}.rp-remote-dialog input:not([type=checkbox]){display:block;width:100%;min-width:0}.rp-rows [data-promotion-edit]{margin-top:8px}
.rp-remote-dialog input[type=checkbox]{display:inline-block;width:20px;height:20px;min-height:20px;vertical-align:middle;margin-right:8px}
.rp-history-link{padding:9px 13px;border:1px solid #8aa69b;border-radius:999px;color:#fff;text-decoration:none;font:600 12px/1.4 system-ui;white-space:nowrap}.rp-history-link:hover{background:#ffffff18}.rp-history-link:focus-visible{outline-color:#fff}.rp-history-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.rp-history-actions .rp-history-print{min-width:150px}.rp-history-page .rp-plan-list{display:grid;gap:12px}.rp-history-page .rp-plan{margin:0}.rp-history-page .rp-history-empty{color:#64776d}.rp-history-page .rp-history-message{color:#8c4620;min-height:22px}.rp-history-page .rp-price-history-table input{width:20px;height:20px}@media(max-width:700px){.rp-hero{align-items:flex-start}.rp-history-link{margin-top:2px}.rp-history-actions button{flex:1}.rp-history-page .rp-price-history-table{overflow:visible}.rp-history-page .rp-price-history-table table,.rp-history-page .rp-price-history-table tbody{display:block;min-width:0}.rp-history-page .rp-price-history-table thead{display:none}.rp-history-page .rp-price-history-table tr{display:grid;grid-template-columns:42px minmax(0,1fr);padding:12px;border:1px solid #dce6df;border-radius:12px;margin:10px 0}.rp-history-page .rp-price-history-table td{border:0;padding:7px 4px;overflow-wrap:anywhere}.rp-history-page .rp-price-history-table td:first-child{grid-column:1;grid-row:1}.rp-history-page .rp-price-history-table td:nth-child(2){grid-column:2;grid-row:1}.rp-history-page .rp-price-history-table td:nth-child(n+3){grid-column:1/-1;display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;border-top:1px solid #edf1ed}.rp-history-page .rp-price-history-table td:nth-child(n+3)::before{content:attr(data-label);font-size:12px;color:#64776d}}

/* Desktop and tablet compare every store in aligned rows. */
@media(min-width:701px){
 .rp-comparison-table{border:1px solid #dce6df;border-radius:10px}
 .rp-comparison-table table{min-width:1000px;table-layout:fixed}
 .rp-comparison-table th,.rp-comparison-table td{padding:12px;vertical-align:middle;line-height:1.5;overflow-wrap:anywhere}
 .rp-comparison-table th{font-size:12px;background:#f0f5f2;white-space:normal}
 .rp-comparison-table .rp-select-column{width:54px;text-align:center}
 .rp-comparison-table .rp-store-column{width:185px}
 .rp-comparison-table .rp-current-column{width:132px}
 .rp-comparison-table .rp-new-column{width:138px}
 .rp-comparison-table .rp-status-column{width:205px}
 .rp-comparison-table tr:last-child td{border-bottom:0}
 .rp-comparison-table .rp-select-cell{padding:6px}
 .rp-comparison-table .rp-current-price{font-size:22px;line-height:1.4;white-space:nowrap}
 .rp-comparison-table .rp-price{max-width:none;min-width:0;width:100%;margin:0}
 .rp-comparison-table .rp-promotion{min-width:0;max-width:none;font-size:12px;line-height:1.6}
 .rp-comparison-table .rp-promotion-cell.is-clear .rp-promotion{padding:0;background:transparent;color:#64776d}
 .rp-comparison-table .rp-unavailable{background:#f7f9f8;color:#738176}
 .rp-comparison-table .rp-unavailable .rp-select-target{visibility:hidden;min-height:0}
 .rp-comparison-table .rp-unavailable .rp-current-price{font:inherit}
 .rp-comparison-table .rp-unavailable .rp-price{display:none}
 .rp-comparison-table .rp-unavailable .rp-new-cell::after{content:'—'}
 .rp-comparison-table .rp-status-cell{font-size:12px}
 .rp-comparison-table .rp-local-code{margin-top:4px}
 .rp-hero{padding:18px 24px;margin-bottom:14px}
 .rp-hero h2{font-size:24px;margin:5px 0}
}

.rp-search-section .rp-lookup-type{display:block;width:auto;max-width:100%;min-height:44px;margin:0 0 6px;padding:8px 32px 8px 12px;border:1px solid #c5d9cd;border-radius:9px;background-color:#f0f7f3;color:#245c45;font:600 15px/1.4 system-ui;cursor:pointer}.rp-search-section .rp-lookup-type:focus-visible{outline:3px solid #75a78d;outline-offset:2px}
/* A single scan/read action stays beside the barcode at every width. */
.rp-search-section .rp-search{display:block;margin:18px 0 0;max-width:none}
.rp-search-section .rp-search>label{margin:0 0 6px;max-width:none}
.rp-barcode-input{position:relative;min-width:0}
.rp-barcode-input.has-value input{padding-right:46px}
.rp-search-section .rp-photo{position:absolute;right:1px;top:1px;bottom:1px;display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:42px;padding:0;margin:0;background:transparent}
.rp-search-section .rp-lookup{width:auto;min-width:92px;margin:0;padding:10px 12px;white-space:nowrap}
.rp-search-section .rp-barcode-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.rp-change-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.rp-change-actions button{width:100%;min-width:0}
.rp-change-actions .rp-submit{margin-top:0}
.rp-comparison>.rp-message:empty{display:none}
.rp-comparison-table:has(.rp-rows:empty){display:none}
.rp-select-target{display:flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;cursor:pointer}
.rp-select-target input[type=checkbox]{margin:0;padding:0;flex:none}
.rp-select-target:has(input:disabled){cursor:default}
.rp-current-price{font-size:23px;font-variant-numeric:tabular-nums;line-height:1.8}
.rp-cell-value{min-width:0;overflow-wrap:anywhere}
.rp-comparison-table tr.is-selected{background:#f0f8f3;border-color:#2c7b60}
.rp-comparison-table .rp-price:disabled{background:#f3f5f4;color:#75837c}
@media(max-width:700px){
 .rp-change-actions{grid-template-columns:1fr}
 .rp-hero{flex-wrap:wrap;gap:10px;padding:18px 16px}.rp-hero h2{font-size:22px}.rp-hero .rp-history-link{margin:0}
 .rp-comparison{padding:14px 12px}.rp-comparison>h3{margin-bottom:8px}.rp-comparison>.rp-help{font-size:12px;line-height:1.6;margin:8px 0 14px}
 .rp-comparison-table{overflow:visible}.rp-comparison-table table,.rp-comparison-table tbody{display:block;min-width:0;width:100%}.rp-comparison-table thead{display:none}
 .rp-comparison-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;border:1px solid #dce6df;border-radius:12px;margin:12px 0;padding:12px;background:#fff;min-width:0}
 .rp-comparison-table td{display:block;border:0;padding:10px 0;min-width:0;overflow-wrap:anywhere}
 .rp-comparison-table td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:#64776d;margin-bottom:6px}
 .rp-comparison-table .rp-store-cell{grid-column:1/-1;grid-row:1;padding:2px 48px 10px 0;font-size:17px;align-self:center}
 .rp-comparison-table .rp-store-cell small{display:inline-block;font-size:11px;margin:0 0 0 8px}
 .rp-comparison-table .rp-select-cell{grid-column:2;grid-row:1;justify-self:end;align-self:start;padding:0;z-index:1}
 .rp-comparison-table td.rp-store-cell::before,.rp-comparison-table td.rp-select-cell::before,.rp-comparison-table td.rp-product-cell::before{display:none}
 .rp-comparison-table .rp-product-cell{grid-column:1/-1;grid-row:2;border-top:1px solid #edf1ed;font-size:15px}
 .rp-comparison-table .rp-current-cell{grid-column:1;grid-row:3;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-new-cell{grid-column:2;grid-row:3;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-promotion-cell{grid-column:1/-1;grid-row:4;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-promotion{min-width:0;max-width:none;font-size:14px;line-height:1.7}
 .rp-comparison-table .rp-status-cell{grid-column:1/-1;grid-row:5;border-top:1px solid #edf1ed;font-size:13px;line-height:1.6;padding-bottom:0}
 .rp-comparison-table .rp-price{width:100%;min-width:0;max-width:none;min-height:46px;margin:0;font-size:16px}
 .rp-comparison-table td small{max-width:none}.rp-comparison-table [data-promotion-edit]{min-height:44px}
 .rp-comparison-table .rp-unavailable .rp-product-cell,.rp-comparison-table .rp-unavailable .rp-current-cell,.rp-comparison-table .rp-unavailable .rp-new-cell,.rp-comparison-table .rp-unavailable .rp-promotion-cell{display:none}
 .rp-comparison-table .rp-unavailable .rp-status-cell{grid-row:2}.rp-comparison-table .rp-unavailable .rp-status-cell::before{display:none}
 .rp-workbench{margin-top:16px;padding-top:16px;gap:0}.rp-workbench .rp-edit{padding-top:0;border:0}.rp-label-tools{margin-top:18px}
}

/* Mobile lookup workspace: keep the next action close to the selected stores. */
.rp-comparison-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.rp-comparison-heading h3{margin:0}
.rp-comparison-title{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;min-width:0}
.rp-comparison-title h3{flex:none}
.rp-comparison-title .rp-guide{position:relative;margin:0}
.rp-comparison-title .rp-guide summary{min-height:44px;align-content:center}
@media(min-width:1280px){
 .rp-comparison-title .rp-guide p{position:absolute;left:0;top:100%;z-index:5;box-sizing:border-box;width:min(440px,calc(100vw - 96px));margin:4px 0 0;padding:12px 14px;background:#fff;border:1px solid #c9dcd1;border-radius:10px;box-shadow:0 8px 24px #183a361a}
}
@media(max-width:1279px){.rp-comparison-title .rp-guide[open]{flex-basis:100%}.rp-comparison-title .rp-guide p{max-width:100%;margin:4px 0 8px}}
.rp-selection-summary{font-size:12px;color:#5e706a}
.rp-guide{font-size:12px;color:#5e706a;margin:0 0 16px}
.rp-guide summary,.rp-reason summary{cursor:pointer;min-height:32px;display:list-item;align-content:center}
.rp-guide p{margin:6px 0}
.rp-empty{text-align:center;padding:30px 16px;background:#f6f9f7;border:1px dashed #c8d8d0;border-radius:12px;margin-top:16px}
.rp-empty strong{font-size:15px}.rp-empty p{font-size:12px;line-height:1.7;color:#64776d;margin:8px 0 0}
.rp-shell .rp-message.is-complete{color:#5e706a;font-size:12px;line-height:1.6}
.rp-reason{font-size:13px;margin:8px 0;color:#5e706a}.rp-reason label{margin-top:6px}
.rp-action-summary{display:none}
@media(max-width:700px){
 .rp-shell .rp-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:16px;margin-bottom:12px;border-radius:14px}
 .rp-hero small{display:none}.rp-shell .rp-hero h2{font-size:clamp(18px,5vw,22px);margin:0;line-height:1.4}
 .rp-shell .rp-history-link{font-size:11px;padding:8px 10px;white-space:nowrap;min-height:44px;display:flex;align-items:center;box-sizing:border-box}
 .rp-status-panel{margin-bottom:12px;border-radius:12px}
 .rp-status-panel h3{font-size:12px;margin-bottom:6px}
 .rp-status-panel .rp-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible;padding:0}
 .rp-status-panel .rp-stores>div{padding:6px 8px;gap:5px;flex-wrap:wrap;border-radius:8px}
 .rp-status-panel .rp-stores strong{font-size:11px}.rp-status-panel .rp-stores span{font-size:10px}
 .rp-status-panel .rp-stores>div::before{width:6px;height:6px}
 .rp-comparison-heading{gap:4px;margin-bottom:4px}.rp-comparison-heading h3{font-size:17px}
 .rp-guide{font-size:11px;margin-bottom:8px}.rp-guide summary{min-height:28px}
 .rp-search-section .rp-search{margin-top:8px}
 .rp-search-section .rp-lookup-type{font-size:14px;min-height:44px;margin-bottom:8px}
 .rp-shell .rp-search-section .rp-lookup{min-width:82px;padding:10px;font-size:13px}
 .rp-shell .rp-message{font-size:12px;line-height:1.6;margin:8px 0}
 .rp-comparison-table tbody{display:flex;flex-direction:column}
 .rp-comparison-table tr{margin:6px 0;padding:10px;gap:0 10px;border-radius:10px}
 .rp-comparison-table .rp-store-cell{font-size:16px;padding-top:0;padding-bottom:8px}
 .rp-comparison-table td{padding:8px 0}
 .rp-comparison-table .rp-product-cell{font-size:14px}
 .rp-comparison-table .rp-current-price{font-size:24px;line-height:1.8}
 .rp-comparison-table .rp-status-cell{font-size:12px}
 .rp-comparison-table .rp-promotion{font-size:12px;line-height:1.6;padding:8px}
 .rp-comparison-table .rp-unavailable{order:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;background:#f7f9f8}
 .rp-comparison-table .rp-unavailable .rp-select-cell{display:none}
 .rp-comparison-table .rp-unavailable .rp-store-cell{grid-column:1;grid-row:1;padding:0;font-size:14px}
 .rp-comparison-table .rp-unavailable .rp-store-cell small{display:block;margin:3px 0 0}
 .rp-comparison-table .rp-unavailable .rp-status-cell{grid-column:2;grid-row:1;border:0;padding:0;font-size:11px;line-height:1.5;color:#7c635a;text-align:right}
 .rp-workbench{margin-top:12px;padding-top:12px}
 .rp-workbench .rp-bulk{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-bottom:8px}
 .rp-workbench .rp-bulk button{width:auto;padding:10px;font-size:12px;min-height:46px}
 .rp-workbench .rp-bulk input{margin-top:5px;min-height:46px}
 .rp-shell .rp-change-actions{grid-template-columns:1fr 1.3fr;gap:8px}
 .rp-shell .rp-change-actions button{font-size:12px;padding:10px 8px;min-height:46px}
 .rp-shell.has-selection{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
 .rp-shell.has-selection .rp-edit .rp-change-actions{position:fixed;left:0;right:0;bottom:0;z-index:12;background:#fffffff5;border-top:1px solid #c8d8d0;box-shadow:0 -6px 24px #183a3610;margin:0;padding:8px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 .rp-shell.has-selection .rp-action-summary{display:block;grid-column:1/-1;font-size:12px;color:#245c45}
 .rp-label-tools{margin-top:12px;padding-top:10px;gap:8px}.rp-label-tools .rp-help{font-size:11px;line-height:1.6}

}

/* Show the shared product once, then keep each store card focused on its prices. */
.rp-product-summary{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(0,2fr);gap:20px;align-items:center;margin:16px 0;padding:18px 20px;border:1px solid #c9dcd1;border-radius:14px;background:#f3f8f5}
.rp-product-summary[hidden]{display:none!important}
.rp-product-heading{min-width:0}
.rp-product-heading>span{display:block;margin-bottom:5px;color:#64776d;font-size:12px;font-weight:700;letter-spacing:.08em}
.rp-product-heading>strong{display:block;font-size:22px;line-height:1.35;overflow-wrap:anywhere}
.rp-product-heading>small{display:block;margin-top:4px;color:#64776d;overflow-wrap:anywhere}
.rp-product-summary dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.rp-product-summary dl>div{min-width:0;padding-left:14px;border-left:1px solid #d8e5dd}
.rp-product-summary dt{margin:0 0 5px;color:#64776d;font-size:11px}
.rp-product-summary dd{margin:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.rp-store-cell .rp-local-code{margin-top:7px;color:#52675b}
@media(max-width:700px){
 .rp-product-summary{display:block;margin:14px 0 10px;padding:15px}
 .rp-product-heading>strong{font-size:20px}
 .rp-product-summary dl{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;padding-top:12px;border-top:1px solid #d8e5dd}
 .rp-product-summary dl>div{padding:0 8px;border-left:1px solid #d8e5dd}
 .rp-product-summary dl>div:first-child{padding-left:0;border-left:0}
 .rp-product-summary dl>div:last-child{padding-right:0}
 .rp-product-summary dd{font-size:13px}
 .rp-comparison-table .rp-store-cell{grid-column:1/-1;grid-row:1}
 .rp-comparison-table .rp-store-cell small{display:inline-block}
 .rp-comparison-table .rp-store-cell .rp-local-code{display:block;margin:7px 0 0}
 .rp-comparison-table .rp-current-cell{grid-column:1;grid-row:2;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-new-cell{grid-column:2;grid-row:2;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-promotion-cell{grid-column:1/-1;grid-row:3;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-status-cell{grid-column:1/-1;grid-row:4;border-top:1px solid #edf1ed}
 .rp-comparison-table .rp-unavailable .rp-current-cell,.rp-comparison-table .rp-unavailable .rp-new-cell,.rp-comparison-table .rp-unavailable .rp-promotion-cell{display:none}
 .rp-comparison-table .rp-unavailable .rp-status-cell{grid-column:2;grid-row:1;border:0}
}
@media(max-width:430px){
 .rp-product-summary dl{grid-template-columns:1fr;gap:8px}
 .rp-product-summary dl>div,.rp-product-summary dl>div:first-child{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;padding:0;border:0}
 .rp-product-summary dt{margin:0}
}

@media(min-width:701px){
 .rp-search-section .rp-search{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:10px;max-width:960px;margin:12px 0}
 .rp-search-section .rp-lookup-type{width:100%;margin:0}
}

/* Retail tools share the headquarters navigation shell. */
.rp-page-nav{display:flex;align-items:center;gap:16px;min-height:52px;padding-bottom:14px;margin-bottom:20px;border-bottom:1px solid #dce6df}
.rp-page-nav>strong{flex:1;min-width:0;font-size:18px;line-height:1.5;color:#183a36;overflow-wrap:anywhere}
.rp-shell .rp-page-refresh{flex:none;margin-left:auto;border:1px solid #c8d8d0;background:#fff;color:#244f43}
.rp-page-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:44px;padding:10px 14px;border:1px solid #c8d8d0;border-radius:9px;background:#fff;color:#244f43;text-decoration:none;font-size:14px;font-weight:600}
body:has(#retail-prices-view.active) .rp-product-heading>strong{font-size:30px}
body:has(#retail-prices-view.active) .rp-hero{padding:0;background:transparent;color:#183a36;border-radius:0;margin:0 0 14px}
body:has(#retail-prices-view.active) .rp-hero small{display:none}
body:has(#retail-prices-view.active) .rp-hero h2{font-size:20px;margin:0}
body:has(#retail-prices-view.active) .rp-history-link{color:#245c45;border-color:#c8d8d0;background:#fff;min-height:44px;display:flex;align-items:center}
@media(max-width:700px){
 .rp-page-nav{gap:10px;padding-bottom:10px;margin-bottom:14px}
 .rp-page-nav>strong{font-size:14px}
 .rp-page-back{font-size:13px;padding:8px 10px}
 body:has(#retail-prices-view.active) .rp-product-heading>strong{font-size:22px}
 body:has(#retail-prices-view.active) .rp-hero h2{font-size:18px}
}

.rp-search-title{display:none}
@media(min-width:1280px){
 .rp-comparison{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:0 16px;align-items:start}
 .rp-comparison>.rp-comparison-heading{grid-column:1;grid-row:1}
 .rp-comparison>.rp-search-section{grid-column:2;grid-row:1/span 4;position:sticky;top:20px;padding:16px;border:1px solid #d6e4dc;border-radius:12px;background:#f5f9f6}
 .rp-comparison>.rp-message{grid-column:1;grid-row:2}
 .rp-comparison>.rp-empty{grid-column:1;grid-row:3}
 .rp-comparison>.rp-product-summary{grid-column:1;grid-row:3;margin-top:8px}
 .rp-comparison>.rp-comparison-table{grid-column:1;grid-row:4}
 .rp-search-section .rp-search-title{display:block;font-size:16px;margin:0 0 14px}
 .rp-search-section .rp-search{display:block;margin:0;max-width:100%}
 .rp-search-section .rp-lookup-type{margin:0 0 10px}
 .rp-search-section .rp-barcode-row{grid-template-columns:minmax(0,1fr) auto}
 .rp-search-section .rp-lookup{width:auto;margin:0}
 .rp-comparison-table table{min-width:880px}
 .rp-comparison-table .rp-store-column{width:155px}
 .rp-comparison-table .rp-status-column{width:180px}
}

/* Use the headquarters window while keeping individual controls compact. */
#retail-prices-view.active{width:100%;max-width:none}
#retail-prices-view.active>.rp-shell,
#retail-prices-view.active #retail-prices-content>.rp-shell{width:100%;max-width:none;margin:0}
@media(min-width:701px){
 #retail-prices-view.active #retail-prices-content>.rp-shell{display:flex;flex-direction:column;min-height:0}
 #retail-prices-view.active .rp-comparison{flex:1;margin-bottom:0;align-content:start}
}

/* Selection is available above the comparison on phones and computers. */
.rp-selection-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px 14px;flex-wrap:wrap}
.rp-shell .rp-select-all-label{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer}
.rp-select-all-label input{flex:none;margin:0}.rp-select-all-label:has(input:disabled){color:#738176;cursor:default}
.rp-promotion-offer+.rp-promotion-offer{border-top:1px solid #e9dec2;margin-top:10px;padding-top:10px}
.rp-promotion p{margin:4px 0}.rp-promotion-dates{margin:6px 0 0;display:grid;gap:2px}
.rp-promotion-dates>div{display:flex;flex-wrap:wrap;column-gap:10px}.rp-promotion-dates dt{font-weight:400}.rp-promotion-dates dd{margin:0;font-variant-numeric:tabular-nums}
@media(max-width:700px){.rp-selection-controls{justify-content:flex-start;gap:0 12px;width:100%}}

/* Keep the native query selector directly accessible beside the scanner heading. */
.rp-search-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.rp-search-section .rp-search-title{display:block;flex:none;font-size:16px;margin:0 0 12px}
.rp-shell .rp-query-mode{flex:1;min-width:0;max-width:250px;margin:0}
.rp-query-mode>span{display:block;margin-bottom:5px;font-size:12px;color:#64776d}
.rp-search-section .rp-query-mode .rp-lookup-type{box-sizing:border-box;appearance:none;width:100%;min-width:0;height:44px;min-height:44px;margin:0;font-size:14px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23245c45' stroke-width='1.7'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
.rp-query-mode select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rp-query-mode select:disabled{opacity:.55;cursor:not-allowed}
.rp-summary-actions .rp-uniform-note{margin:0 0 10px;font-size:12px;line-height:1.7;color:#64776d}
.rp-search-section .rp-search{display:block;margin:0;max-width:none}
.rp-search-section .rp-search>.rp-supplier-field{margin:0 0 10px;max-width:none}
.rp-supplier-field select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin-top:6px;padding:10px 12px;border:1px solid #bccfc6;border-radius:8px;background:#fff;color:#183a36;font:inherit;font-size:16px}
.rp-supplier-help,.rp-supplier-results>p{margin:10px 0 0;font-size:12px;line-height:1.7;color:#64776d}
.rp-supplier-results{display:grid;gap:8px;max-height:360px;overflow-y:auto;margin-top:10px}
.rp-search-section .rp-supplier-candidate{display:flex;flex-direction:column;gap:5px;align-items:flex-start;width:100%;text-align:left;overflow-wrap:anywhere}
.rp-supplier-candidate small{color:#64776d;line-height:1.6}

/* Product names stay together; price tools occupy a compact right column. */
.rp-product-summary{grid-template-columns:minmax(0,1fr) 390px;align-items:start;gap:8px 16px;padding:14px 16px;margin-bottom:12px}
.rp-product-info{display:block;grid-column:1;grid-row:1/span 2;min-width:0}
.rp-product-info>dl{margin:12px 0 0}
.rp-product-summary dl{align-self:center}
.rp-summary-tools{grid-column:2;grid-row:1;display:flex;align-items:end;gap:8px;min-width:0}
.rp-summary-tools .rp-bulk{display:block;flex:1;min-width:0;margin:0}
.rp-summary-tools .rp-bulk label{min-width:0;max-width:none}.rp-summary-tools .rp-bulk input{min-width:0}
.rp-summary-tools .rp-bulk button{width:auto;white-space:nowrap;padding:10px}
.rp-summary-tools .rp-print-success{flex:none;min-width:0;width:auto;white-space:nowrap;padding:10px}
.rp-summary-actions{grid-column:2;grid-row:2;min-width:0}
.rp-summary-actions .rp-workbench{display:block;margin:0;padding:0;border:0}
.rp-summary-actions .rp-edit{display:block;margin:0;padding:0;border:0}
.rp-summary-actions .rp-reason{flex:1;min-width:0;margin:0}.rp-summary-actions .rp-reason summary{min-height:44px;align-content:center}
.rp-summary-actions .rp-change-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;margin:0;gap:8px}
.rp-summary-actions .rp-change-actions button{width:auto;font-size:12px;padding:10px 8px}
.rp-summary-actions .rp-label-tools{margin-top:6px;padding-top:6px;gap:8px}
.rp-summary-actions .rp-label-tools .rp-help{font-size:11px;flex-basis:100%}
.rp-uniform-summary{font-size:12px;line-height:1.6;color:#52675b;margin:0 0 4px;overflow-wrap:anywhere}
@media(min-width:1101px){
 #retail-prices-view.active .rp-product-info{max-width:720px}
 #retail-prices-view.active .rp-product-info>dl{max-width:640px}
}
@media(max-width:1100px){
 .rp-product-summary{display:block}.rp-product-info{display:block}.rp-product-info>dl{margin-top:12px}
 .rp-summary-tools{margin-top:12px;padding-top:10px;border-top:1px solid #d8e5dd}
 .rp-summary-actions{margin-top:8px}
 .rp-summary-actions .rp-edit{display:flex;align-items:center;justify-content:space-between;gap:12px}
}
@media(max-width:700px){
 .rp-product-summary{padding:12px}
 .rp-summary-tools{flex-wrap:wrap}.rp-summary-tools .rp-bulk{flex-basis:100%}
 .rp-summary-tools .rp-bulk label{flex-basis:auto}.rp-summary-tools .rp-bulk button{font-size:12px}
 .rp-summary-tools .rp-print-success{width:100%}.rp-summary-actions .rp-edit{display:block;padding:0}
 .rp-summary-actions .rp-change-actions{display:flex;justify-content:stretch;margin-top:8px}
 .rp-summary-actions .rp-change-actions .rp-submit{flex:1;width:100%}
}

.rp-shell{max-width:1320px}
.rp-product-names{display:grid;gap:2px}
.rp-name-line{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%;margin:0;flex-wrap:wrap}.rp-name-line>strong{font-size:22px;line-height:1.4;overflow-wrap:anywhere}.rp-name-line>span{font-size:14px;color:#64776d;overflow-wrap:anywhere}
.rp-shell .rp-edit-name{font-size:12px;min-height:44px;padding:8px 10px;flex:none}
body:has(#retail-prices-view.active) .rp-name-line>strong{font-size:22px}
.rp-product-notes{display:flex;flex-wrap:wrap;gap:2px 14px;margin-top:3px;color:#64776d;font-size:12px;line-height:1.6}
.rp-product-notes>small{font-size:inherit;overflow-wrap:anywhere}
/* Name edits stay in the name line; the action has a visible button outline. */
.rp-shell .rp-edit-name{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 12px;border:1px solid #397a67;border-radius:8px;background:#215b4e;color:#fff;font-size:13px;font-weight:650;box-shadow:0 1px 2px #183a3612}
.rp-shell .rp-edit-name:hover:not(:disabled){background:#174d40;border-color:#215b4e;box-shadow:0 2px 4px #183a3620}
.rp-shell .rp-edit-name:active:not(:disabled){background:#103c31}.rp-edit-name svg{flex:none}
.rp-name-line:has(.rp-name-form){width:100%;margin:4px 0}.rp-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 8px;width:100%;margin:0}
.rp-name-form label{min-width:0}.rp-name-input-label{display:block;color:#52675b;font-size:12px}
.rp-shell .rp-name-form input{margin:4px 0 0;min-width:0;font-size:18px;font-weight:600;min-height:46px;border:1px solid #397a67}
.rp-name-actions{display:flex;gap:6px;flex-wrap:wrap}.rp-shell .rp-name-actions button{padding:10px 12px;min-height:46px;font-size:13px;white-space:nowrap;border:1px solid #215b4e}
.rp-shell .rp-name-actions .rp-name-cancel{background:#fff;color:#215b4e;border-color:#b5c9bf}
.rp-name-help{grid-column:1/-1;margin:0 0 4px;font-size:12px;color:#64776d;line-height:1.6}
.rp-name-results{margin:8px 0;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#245c45}
@media(max-width:700px){body:has(#retail-prices-view.active) .rp-name-line>strong{font-size:20px}.rp-product-names{display:block}.rp-name-form{grid-template-columns:minmax(0,1fr)}.rp-name-actions{justify-content:flex-start}.rp-shell .rp-name-form input{font-size:16px}}

/* Expand promotion editing in one full-width row under its store. */
.rp-comparison-table tr.rp-inline-promotion-row{background:transparent}
.rp-comparison-table td.rp-inline-promotion-cell{padding:0;border:0;white-space:normal}
.rp-inline-promotion{width:min(100%,calc(100vw - 112px));max-width:100%;box-sizing:border-box;min-width:0;margin:0;padding:18px 20px;background:#f1f7f3;border:1px solid #b6d1c2;border-left:4px solid #2d705a;color:#183a36;font:14px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.rp-inline-promotion h3{font-size:17px;margin:0 0 8px}.rp-inline-promotion p{margin:8px 0;line-height:1.7}
.rp-inline-promotion [data-identity]{font-size:12px;color:#52675b}
.rp-inline-promotion-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rp-promotion-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;max-width:920px;margin-top:12px}
.rp-promotion-form>label{display:block;min-width:0;margin:0}.rp-promotion-form>p,.rp-promotion-form>div{grid-column:1/-1}
.rp-inline-promotion input:not([type=checkbox]),.rp-inline-promotion select{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;min-height:44px;margin-top:5px;padding:10px 12px;border:1px solid #b5c9bf;border-radius:8px;font:inherit;color:#183a36;background:#fff}
.rp-inline-promotion select{appearance:none;padding-right:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23215b4e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/16px}.rp-inline-promotion input[type=checkbox]{display:inline-block;flex:none;width:20px;height:20px;min-height:20px;vertical-align:middle;margin:0}.rp-promotion-form>label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}
.rp-inline-promotion input:disabled,.rp-inline-promotion select:disabled{background:#e8efea;color:#64776d}
.rp-promotion-members ul{margin:4px 0;padding-left:22px}.rp-promotion-review{padding:14px;background:#fff;border:1px solid #a5c4b3;border-radius:9px}
.rp-promotion-review p{white-space:pre-line}.rp-inline-promotion .rpr-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.rp-inline-promotion .rpr-actions .rp-secondary{background:#fff;color:#215b4e;border:1px solid #b5c9bf}
@media(max-width:700px){
 .rp-comparison-table tr.rp-inline-promotion-row{display:block;order:0;padding:0;margin:0 0 12px;border:0;border-radius:0}
 .rp-comparison-table td.rp-inline-promotion-cell{display:block;padding:0!important;border:0!important}
 .rp-comparison-table td.rp-inline-promotion-cell::before{display:none!important}
 .rp-inline-promotion{width:100%;padding:14px 12px;border-radius:10px}
 .rp-promotion-form{grid-template-columns:minmax(0,1fr);gap:10px}.rp-inline-promotion input:not([type=checkbox]),.rp-inline-promotion select{font-size:16px}
}

.rp-print-progress{margin:6px 0;font-size:12px;line-height:1.6;color:#245c45;overflow-wrap:anywhere}

/* Quiet edit controls and a shorter product summary card. */
.rp-shell .rp-edit-name{min-height:28px;padding:4px 8px;gap:4px;border-color:#b5cbbf;border-radius:6px;background:#fff;color:#46695a;box-shadow:none;font-size:12px;font-weight:500;line-height:18px}
.rp-edit-name svg{width:13px;height:13px}
.rp-shell .rp-edit-name:hover:not(:disabled){background:#e8f2ec;color:#215b4e;border-color:#6d9b85;box-shadow:none}
.rp-shell .rp-edit-name:active:not(:disabled){background:#daeade}
.rp-product-summary{padding:12px 14px;gap:4px 16px}
.rp-product-names{gap:3px}.rp-name-line{gap:8px}.rp-product-info>dl{margin-top:9px}
.rp-product-notes{margin-top:4px;gap:2px 10px;font-size:11px;line-height:1.5}
.rp-summary-actions .rp-edit{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px}
.rp-summary-actions .rp-reason{flex:1;min-width:130px}.rp-summary-actions .rp-reason summary{min-height:32px;font-size:12px}
.rp-summary-actions .rp-change-actions{flex:none;margin:0}
.rp-summary-actions .rp-change-actions .rp-submit{margin:0;min-height:36px;padding:8px 12px}
.rp-uniform-summary{margin:0 0 2px;line-height:1.5}
.rp-summary-actions .rp-uniform-note{margin:0 0 4px;line-height:1.5}
.rp-summary-actions .rp-label-tools{margin-top:4px;padding-top:4px}
.rp-summary-actions .rp-label-tools .rp-help{margin:0;line-height:1.5}
@media(min-width:701px){
 .rp-product-info>dl{display:flex;flex-wrap:wrap;gap:8px 24px}
 .rp-product-info>dl>div{min-width:70px;padding-left:10px}
}
@media(max-width:700px){
 .rp-shell .rp-edit-name{min-height:40px;padding:7px 10px}
 .rp-summary-tools{margin-top:9px;padding-top:8px}.rp-summary-actions{margin-top:6px}
 .rp-summary-actions .rp-reason summary{min-height:44px}
 .rp-summary-actions .rp-change-actions .rp-submit{min-height:44px;margin:0}
 .rp-summary-actions .rp-reason{flex:1 1 130px}.rp-summary-actions .rp-change-actions{flex:1 1 135px}
}
/* Store-specific procurement ledger */
.rp-ledger{margin-top:20px}.rp-ledger summary{cursor:pointer;font-size:18px}.rp-ledger p{line-height:1.6}.rp-ledger label{display:flex;flex-direction:column;gap:6px;min-width:0}.rp-ledger input,.rp-ledger select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:8px;background:#fff;color:#172435}.rp-ledger input[type=checkbox],.rp-ledger input[type=radio]{width:20px;min-height:20px;flex-shrink:0}.rl-lookup,.rl-fields,.rl-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;align-items:end}.rl-fields label{flex:1 1 180px}.rl-supplier{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;margin:12px 0;border:1px solid #dce4ec;border-radius:12px;background:#f8fafc}.rl-supplier label:has(input[type=radio]),.rp-ledger .rl-target{display:flex;flex-direction:row;align-items:center;gap:8px;margin:8px 0}.rp-ledger fieldset{border:1px solid #cbd5e1;border-radius:10px;margin:18px 0;padding:12px}.rl-message{white-space:pre-wrap;color:#164e63}.rp-ledger button{min-height:42px}.rl-unit-cost{align-self:center}@media(max-width:700px){.rl-supplier{grid-template-columns:1fr}.rl-lookup>*{width:100%}.rl-actions{align-items:stretch;flex-direction:column}}
.rp-ledger .rl-search-vendor[hidden]{display:none}.rl-target-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,200px);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e2e8f0}.rl-target-row:last-child{border-bottom:0}.rl-candidates{display:flex;flex-wrap:wrap;gap:8px}.rl-candidates button{white-space:normal;text-align:left}@media(max-width:700px){.rl-target-row{grid-template-columns:1fr}}

#retail-prices-view .rp-page-nav{display:none}


/* Shared single-store presentation for Windows and iOS store backoffice. */
.rp-shell.rp-single-store .rp-comparison{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px 18px}
.rp-single-store .rp-comparison> *{grid-column:1}
.rp-shell.rp-single-store .rp-comparison>.rp-search-section{grid-column:2;grid-row:1 / span 5;align-self:start}
.rp-shell.rp-single-store .rp-search-section{position:static;width:100%;box-sizing:border-box;max-width:none;margin:0;padding:12px 16px;display:flex;flex-direction:column;gap:12px;align-items:stretch}
.rp-single-store .rp-search-heading{margin:0;align-items:center}
.rp-single-store .rp-search-section .rp-search-title{margin:0}
.rp-single-store .rp-search-section .rp-search{width:100%}
.rp-single-store .rp-supplier-results,.rp-single-store .rp-supplier-help{grid-column:1/-1}
.rp-single-store .rp-hero{padding:16px 20px}
.rp-single-store .rp-hero small{display:none}
.rp-single-store .rp-status-panel{padding:10px 16px;min-height:0}
.rp-single-store .rp-comparison-table table{min-width:0;width:100%}
.rp-single-store .rp-new-column,.rp-single-store .rp-new-cell,.rp-single-store .rp-select-column,.rp-single-store .rp-select-cell{display:none!important}
.rp-single-store .rp-comparison-table .rp-store-column{width:20%}
.rp-single-store .rp-comparison-table .rp-status-column{width:23%}
.rp-single-store .rp-product-summary{margin:0}
@media(max-width:700px){
 .rp-shell.rp-single-store .rp-comparison{display:flex;flex-direction:column}
 .rp-shell.rp-single-store .rp-comparison>.rp-search-section{order:-1}
 .rp-shell.rp-single-store .rp-search-section{display:flex;flex-direction:column;align-items:stretch;padding:12px}
 .rp-single-store .rp-product-summary{grid-template-columns:1fr}
 .rp-single-store .rp-product-info,.rp-single-store .rp-summary-tools,.rp-single-store .rp-summary-actions{grid-column:1;grid-row:auto}
 .rp-single-store .rp-hero{padding:14px}
}

.rp-back-nav{margin:0 0 12px}.rp-back-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;box-sizing:border-box;background:#fff;color:#17473d;border:1px solid #c3d4cd;border-radius:9px;text-decoration:none;font-size:14px;font-weight:600}.rp-back-button:hover{background:#edf5f0}.rp-back-button:focus-visible{outline:3px solid #287c67;outline-offset:3px}
