:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{--tr-bg:#0b1422;--tr-panel:#152033;--tr-muted:#aebdce;--tr-text:#edf3fb;--tr-border:#354257;--tr-soft:#1c293d;--tr-blue:#91c5ff;--tr-blue-bg:#123b62;background:var(--tr-bg);color:var(--tr-text);font:15px/1.45 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;min-height:100dvh;padding:calc(22px + env(safe-area-inset-top,0px)) max(20px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(20px,env(safe-area-inset-left,0px));box-sizing:border-box;width:100%}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{--tr-bg:#f1f1f1;--tr-panel:#fff;--tr-muted:#646464;--tr-text:#303030;--tr-border:#ddd;--tr-soft:#f7f7f7;--tr-blue:#005481;--tr-blue-bg:#d8ecff}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving *{box-sizing:border-box}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving h2{margin:0;font-size:26px;line-height:1.25;color:inherit;font-weight:650}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving h3{font-size:19px;color:inherit}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving p{margin:6px 0 0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving button,:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving input,:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving select{font:inherit;color:var(--tr-text);border:1px solid var(--tr-border);background:var(--tr-panel);border-radius:9px;box-shadow:none;min-height:40px;padding:8px 12px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving button{white-space:nowrap;font-weight:550}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving button:disabled{opacity:.5;cursor:default}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(button,input,select):focus-visible{outline:2px solid #1685ef;outline-offset:2px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving input{width:auto;min-width:0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving small{display:block;color:var(--tr-muted);font-size:12px;margin-top:5px}:where(#storeTransfersPhone .tr-receiving) .tr-header{display:flex;justify-content:flex-start;align-items:flex-start;gap:16px;margin-bottom:20px}:where(#storeTransfersPhone .tr-receiving) .tr-header p{color:var(--tr-muted);font-size:13px}:where(#storeTransfersPhone .tr-receiving) .tr-tag,:where(#storeTransfersPhone .tr-receiving) .tr-display{display:inline-block;padding:3px 9px;border-radius:7px;background:var(--tr-blue-bg);color:var(--tr-blue);font-size:12px;font-weight:550}:where(#storeTransfersPhone .tr-receiving) .tr-header .tr-tag{margin-left:10px}:where(#storeTransfersPhone .tr-receiving) .tr-team{margin:0 0 20px;border:1px solid var(--tr-border);border-radius:12px;padding:12px 16px 14px;background:var(--tr-panel);min-width:0}:where(#storeTransfersPhone .tr-receiving) .tr-team legend{padding:0 6px;font-weight:650;font-size:16px}:where(#storeTransfersPhone .tr-receiving) .tr-team legend span{font-size:11px;font-weight:400;margin-left:8px;color:var(--tr-muted)}:where(#storeTransfersPhone .tr-receiving) .tr-team p{font-size:13px;margin:0 0 10px;color:var(--tr-muted)}:where(#storeTransfersPhone .tr-receiving) .tr-people{display:flex;gap:8px;flex-wrap:wrap}:where(#storeTransfersPhone .tr-receiving) .tr-people label{display:flex;align-items:center;gap:8px;border:1px solid var(--tr-border);border-radius:8px;padding:8px 12px;min-height:42px;cursor:pointer}:where(#storeTransfersPhone .tr-receiving) .tr-people .selected{background:var(--tr-blue-bg);border-color:var(--tr-blue);color:var(--tr-blue)}:where(#storeTransfersPhone .tr-receiving) .tr-people input{width:16px;height:16px;min-height:0;margin:0;accent-color:#087ac1}:where(#storeTransfersPhone .tr-receiving) .tr-table-card{border:1px solid var(--tr-border);border-radius:15px;background:var(--tr-panel);overflow:hidden}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar{display:flex;gap:10px;align-items:center;padding:16px;flex-wrap:wrap}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar input{flex:1 1 260px;min-height:44px}:where(#storeTransfersPhone .tr-receiving) .tr-filters{display:flex;gap:6px;padding:0 16px 12px;flex-wrap:wrap}:where(#storeTransfersPhone .tr-receiving) .tr-filters button{border-color:transparent;background:transparent;min-height:32px;font-size:12px;padding:5px 10px}:where(#storeTransfersPhone .tr-receiving) .tr-filters button[aria-pressed="true"]{background:var(--tr-blue-bg);color:var(--tr-blue)}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving table{border-collapse:collapse;width:100%;table-layout:fixed;margin:0;background:transparent}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th{text-align:left;color:var(--tr-muted);font-weight:500;background:var(--tr-soft);padding:13px 18px;border-bottom:1px solid var(--tr-border)}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:first-child{width:44%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(2){width:22%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(3){width:20%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(4){width:14%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td{padding:16px 18px;border-bottom:1px solid var(--tr-border);vertical-align:top;white-space:normal}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving tr:last-child td{border-bottom:0}:where(#storeTransfersPhone .tr-receiving) .tr-product{display:flex;gap:16px;align-items:center;min-width:0}:where(#storeTransfersPhone .tr-receiving) .tr-product>div{min-width:0}:where(#storeTransfersPhone .tr-receiving) .tr-product strong{font-size:16px;font-weight:550;line-height:1.4;overflow-wrap:anywhere;display:block}:where(#storeTransfersPhone .tr-receiving) .tr-product img,:where(#storeTransfersPhone .tr-receiving) .tr-photo-empty{width:64px;height:76px;border:1px solid var(--tr-border);border-radius:9px;object-fit:contain;flex:0 0 64px;background:var(--tr-panel)}:where(#storeTransfersPhone .tr-receiving) .tr-photo-empty{display:grid;place-items:center;font-size:11px;color:var(--tr-muted)}:where(#storeTransfersPhone .tr-receiving) .tr-meta{font-size:13px;color:var(--tr-muted);margin-top:6px;overflow-wrap:anywhere}:where(#storeTransfersPhone .tr-receiving) .tr-meta span{display:inline-block;padding:1px 8px;border-radius:14px;background:var(--tr-soft);color:var(--tr-text);margin-right:9px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving select{width:100%;min-width:0}:where(#storeTransfersPhone .tr-receiving) .tr-quantity{display:flex;max-width:200px}:where(#storeTransfersPhone .tr-receiving) .tr-quantity input{border-radius:0;width:64px;flex:1 1 60px;text-align:center;appearance:textfield;padding:7px 3px;font-variant-numeric:tabular-nums}:where(#storeTransfersPhone .tr-receiving) .tr-quantity input::-webkit-inner-spin-button{appearance:none}:where(#storeTransfersPhone .tr-receiving) .tr-quantity button{flex:0 0 32px;padding:6px;border-radius:8px 0 0 8px}:where(#storeTransfersPhone .tr-receiving) .tr-quantity button:last-child{border-radius:0 8px 8px 0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-text{font-size:12px;background:transparent;border:0;color:var(--tr-blue);white-space:normal;padding:7px 0;min-height:28px;text-align:left}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-red{color:#d3535f}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-amber{color:#b77b16}:where(#storeTransfersPhone .tr-receiving) .tr-current{background:var(--tr-soft)}:where(#storeTransfersPhone .tr-receiving) .tr-footer{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:18px 0;font-size:13px;color:var(--tr-muted)}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-primary{background:#0875bd;color:#fff;border-color:#0875bd}:where(#storeTransfersPhone .tr-receiving) .tr-scan-entry{margin:0 16px 12px;padding:12px;background:var(--tr-soft);border-radius:8px}:where(#storeTransfersPhone .tr-receiving) .tr-scan-entry label{display:flex;gap:12px;align-items:center;flex-wrap:wrap}:where(#storeTransfersPhone .tr-receiving) .tr-scan-entry input{flex:1}:where(#storeTransfersPhone .tr-receiving) .tr-review{border:1px solid var(--tr-border);border-radius:12px;padding:20px;background:var(--tr-panel)}:where(#storeTransfersPhone .tr-receiving) .tr-review-line{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid var(--tr-border)}:where(#storeTransfersPhone .tr-receiving) .tr-review .tr-primary{margin-top:14px}
html[data-transfer-receiving="true"] #contentSection{background:var(--bg)!important;width:100vw!important;max-width:100vw!important;left:0!important;right:0!important;transform:none!important}
@media(min-width:768px) and (max-width:1199px){:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{padding-left:16px;padding-right:16px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td,:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th{padding:12px 10px}:where(#storeTransfersPhone .tr-receiving) .tr-product{gap:9px}:where(#storeTransfersPhone .tr-receiving) .tr-product img,:where(#storeTransfersPhone .tr-receiving) .tr-photo-empty{width:48px;height:60px;flex-basis:48px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:first-child{width:39%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(2){width:24%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(3){width:22%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(4){width:15%}}
@media(max-width:767px){:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{padding:calc(16px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving h2{font-size:20px}:where(#storeTransfersPhone .tr-receiving) .tr-header{gap:10px}:where(#storeTransfersPhone .tr-receiving) .tr-team{padding:10px}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar{padding:12px;gap:8px}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar input{flex-basis:100%}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar button{font-size:12px;min-height:42px;white-space:normal}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving thead{display:none}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving tbody,:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving table{display:block}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving tr{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--tr-border);padding:12px;gap:12px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td{display:block;padding:0;border:0;min-width:0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td:first-child{grid-column:1/-1}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td:last-child{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td[data-label]::before{content:attr(data-label);display:block;font-size:12px;color:var(--tr-muted);margin-bottom:5px}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td:last-child::before{margin:0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving input,:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving select{font-size:16px;min-height:44px}:where(#storeTransfersPhone .tr-receiving) .tr-people input{min-height:0}:where(#storeTransfersPhone .tr-receiving) .tr-product strong{font-size:15px}:where(#storeTransfersPhone .tr-receiving) .tr-footer{flex-wrap:wrap}:where(#storeTransfersPhone .tr-receiving) .tr-review-line{flex-wrap:wrap}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity button{min-height:44px;flex-basis:32px}:where(#storeTransfersPhone .tr-receiving) .tr-people label{min-height:44px}}
html[data-device-preview][data-transfer-receiving="true"] #userAccessView > .app:has(#dashboardSection.is-nested) > #contentSection,html[data-device-preview][data-transfer-receiving="true"] #contentSection{width:100vw!important;min-width:0!important;max-width:100vw!important;left:0!important;right:0!important;transform:none!important}
html[data-transfer-receiving="true"] #storeTransfersDetail>.panel-header,html[data-transfer-receiving="true"] #storeTransfersMobileActions{display:none!important}
/* Scope the receipt surface above the legacy navigation/theme rules. */
html[data-transfer-receiving="true"] #userAccessView>.app>#contentSection#contentSection{padding:0!important;margin:0!important;left:0!important;right:0!important;width:100vw!important;max-width:100vw!important;transform:none!important}
html[data-transfer-receiving="true"] :is(.racing-desktop-sidebar,#desktopSidebarCollapseToggle){display:none!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(button,input,select){background:var(--tr-panel)!important;color:var(--tr-text)!important;box-shadow:none!important;font-weight:500!important;border-color:var(--tr-border)!important;background-image:none!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-primary{background:#0875bd!important;border-color:#0875bd!important;color:#fff!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-filters button{background:transparent!important;border-color:transparent!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-filters button[aria-pressed="true"]{background:var(--tr-blue-bg)!important;color:var(--tr-blue)!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-text{background:transparent!important;border:0!important;color:var(--tr-blue)!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th{text-transform:none!important;letter-spacing:normal!important}
/* One receiving page: people, rows and confirmation share the same surface. */
:where(#storeTransfersPhone .tr-receiving) .tr-team{border:0;border-radius:0;background:transparent;padding:0;margin:0 0 20px}:where(#storeTransfersPhone .tr-receiving) .tr-team legend{padding:0;margin-bottom:8px}:where(#storeTransfersPhone .tr-receiving) .tr-table-card{border:0;border-radius:0;background:transparent;overflow:visible}:where(#storeTransfersPhone .tr-receiving) .tr-toolbar{padding:14px 0}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving table{background:var(--tr-panel);border:1px solid var(--tr-border)}:where(#storeTransfersPhone .tr-receiving) .tr-filters{padding-left:0;padding-right:0}:where(#storeTransfersPhone .tr-receiving) .tr-filters[hidden]{display:none}:where(#storeTransfersPhone .tr-receiving) .tr-scan-entry{background:transparent;margin:0;padding:0 0 14px;border-radius:0}:where(#storeTransfersPhone .tr-receiving) .tr-footer{border-top:1px solid var(--tr-border)}

:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(table,thead,tbody,tr,th,td){box-shadow:none!important;background-image:none!important;border-radius:0!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th{background:var(--tr-soft)!important;color:var(--tr-muted)!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td{background:var(--tr-panel)!important}
html[data-transfer-receiving="true"] body .racing-desktop-sidebar,html[data-transfer-receiving="true"] body #desktopSidebarCollapseToggle{display:none!important}

:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(th,td,button,input,select){-webkit-text-fill-color:currentColor!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving input[type="checkbox"]{width:16px!important;height:16px!important;min-height:0!important;padding:0!important;box-shadow:none!important}
html[data-transfer-receiving="true"] #userAccessView>.app>#contentSection#contentSection{display:block!important;visibility:visible!important;height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;pointer-events:auto!important}
html[data-transfer-receiving="true"] #storeTransfersDetail> :is(h2,h3,.row,.panel-header),html[data-transfer-receiving="true"] #moduleStoreTransfers>.panel-header{display:none!important}
/* The legacy tablet shell must not wrap the receiving page in another panel. */
html[data-transfer-receiving="true"] #userAccessView>.app>#contentSection#contentSection{position:fixed!important;inset:0!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:auto!important;z-index:1600!important}
html[data-transfer-receiving="true"] #userAccessView #contentSection #moduleStoreTransfers{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-height:100%!important;width:100%!important;max-width:none!important;background:transparent!important}
html[data-transfer-receiving="true"] #userAccessView #contentSection #moduleStoreTransfers>:not(#storeTransfersDetail),html[data-transfer-receiving="true"] #userAccessView #contentSection #storeTransfersDetail>:not(#storeTransfersPhone){display:none!important}
html[data-transfer-receiving="true"] #userAccessView #contentSection #storeTransfersDetail{margin:0!important;padding:0!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving table{min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}
html[data-transfer-receiving="true"] #userAccessView #contentSection>#contentViewBar{display:none!important}

/* Status describes the counted units; missing remains an explicit row action. */
:where(#storeTransfersPhone .tr-receiving) .tr-receipt-status{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:7px;padding:5px 9px;font-size:12px;font-weight:600;line-height:1.35;white-space:normal}
:where(#storeTransfersPhone .tr-receiving) .tr-status-pending{background:#273449;color:#ced8e6;border-color:#48566b}
:where(#storeTransfersPhone .tr-receiving) .tr-status-partial{background:#153a59;color:#a9d7ff;border-color:#295d84}
:where(#storeTransfersPhone .tr-receiving) .tr-status-received{background:#123e32;color:#a5e8cc;border-color:#296b52}
:where(#storeTransfersPhone .tr-receiving) .tr-status-extra{background:#453412;color:#ffe09c;border-color:#745a25}
:where(#storeTransfersPhone .tr-receiving) .tr-status-missing{background:#481f27;color:#ffc1c9;border-color:#803c48}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :where(#storeTransfersPhone .tr-receiving) .tr-status-pending{background:#efefef;color:#616161;border-color:#ddd}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :where(#storeTransfersPhone .tr-receiving) .tr-status-partial{background:#eaf4ff;color:#17588a;border-color:#c7dff5}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :where(#storeTransfersPhone .tr-receiving) .tr-status-received{background:#e9f6ef;color:#256447;border-color:#c6e6d3}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :where(#storeTransfersPhone .tr-receiving) .tr-status-extra{background:#fff5dd;color:#815500;border-color:#efdaaa}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :where(#storeTransfersPhone .tr-receiving) .tr-status-missing{background:#fff0f1;color:#a63644;border-color:#f0cad0}
:where(#storeTransfersPhone .tr-receiving) .tr-row-actions{display:flex;flex-wrap:wrap;gap:0 12px}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-row-actions button{padding:5px 0;min-height:30px;display:block}
@media(max-width:767px){:where(#storeTransfersPhone .tr-receiving) .tr-row-actions{width:100%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-row-actions button{min-height:44px}}

/* Keep the grouped product details on phones/tablets; expand only on desktop. */
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-methods-quantity{display:none}
@media(max-width:1199px){
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(.tr-size-sku-cell,.tr-size-sku-column,.tr-location-cell,.tr-location-column){display:none!important}
}
@media(min-width:768px) and (max-width:1199px){
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(1){width:39%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(4){width:24%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(5){width:22%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(6){width:15%}
}
@media(min-width:1200px){
  :where(#storeTransfersPhone .tr-receiving) .tr-product-details{display:flex;align-items:center;gap:0 14px;flex-wrap:wrap}
  :where(#storeTransfersPhone .tr-receiving) .tr-meta{display:none}
  :where(#storeTransfersPhone .tr-receiving) .tr-size-sku-cell{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(.tr-size-sku-column,.tr-size-sku-cell,.tr-sku-value){text-align:left}
  /* Align the size text with the SKU, allowing the pill background to hang left. */
  :where(#storeTransfersPhone .tr-receiving) .tr-size-value{display:inline-block;background:var(--tr-soft);border-radius:12px;padding:3px 9px;margin-left:-9px;font-size:13px}
  :where(#storeTransfersPhone .tr-receiving) .tr-product{gap:12px}
  :where(#storeTransfersPhone .tr-receiving) .tr-product img,:where(#storeTransfersPhone .tr-receiving) .tr-photo-empty{width:56px;height:64px;flex-basis:56px}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(1){width:31%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(2){width:15%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(3){width:12%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(4){width:14%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(5){width:14%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving th:nth-child(6){width:14%}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(th,td){padding:12px;vertical-align:middle}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity{max-width:140px}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity input{padding-left:3px;padding-right:3px}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-methods-mobile{display:none}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-methods-quantity{display:block;font-size:11px}
  /* Reuse the app sidebar and its existing collapse control. */
  html[data-transfer-receiving="true"] #userAccessView>.app>.racing-desktop-sidebar{display:flex!important;z-index:1601!important}
  html[data-transfer-receiving="true"] body #desktopSidebarCollapseToggle{display:grid!important;z-index:1602!important}
  html[data-transfer-receiving="true"] #userAccessView>.app>#contentSection#contentSection{left:var(--rm-zoom-sidebar,260px)!important;width:calc(100vw - var(--rm-zoom-sidebar,260px))!important;max-width:calc(100vw - var(--rm-zoom-sidebar,260px))!important}
  html[data-transfer-receiving="true"][data-desktop-sidebar-collapsed="true"] #userAccessView>.app>#contentSection#contentSection{left:0!important;width:100vw!important;max-width:100vw!important}
  html[data-transfer-receiving="true"][data-desktop-sidebar-collapsed="true"] #storeTransfersPhone .tr-header{padding-left:34px}
}

/* Align the quantity heading, value and receipt methods on one center line. */
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(.tr-quantity-column,.tr-quantity-cell){text-align:center!important}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity{margin-inline:auto}

/* Move the entire quantity group toward Status, keeping room on narrow desktops. */
@media(min-width:1200px){
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{--tr-quantity-offset:clamp(0px,calc(6vw - 72px),22px)}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving :is(.tr-quantity-column>span,.tr-quantity-content){display:block;transform:translateX(calc(-1 * var(--tr-quantity-offset)))}
}

/* Use the logo selected by renderBrand instead of the legacy forced white asset. */
@media(min-width:1200px){
  html[data-transfer-receiving="true"] #userAccessView>.app>.racing-desktop-sidebar .racing-sidebar-brand img{content:normal!important}
  html[data-transfer-receiving="true"]:is([data-theme="light"],[data-theme="pink"],[data-theme="lilac"]) #userAccessView>.app>.racing-desktop-sidebar .racing-sidebar-brand img{filter:none!important}
}

/* Keep the existing store control above Log Out while this receipt is open. */
@media(min-width:1200px){
  html[data-transfer-receiving="true"] #userAccessView>.app:has(#contentSection:not(.hide))>.racing-desktop-sidebar #desktopSidebarStoreBtn{display:flex!important;order:1;margin-top:auto!important;flex-shrink:0;align-items:center;gap:10px;width:100%;min-height:48px;padding:10px 13px;border:1px solid var(--line-strong);border-radius:13px;background:var(--bg-card);color:var(--text);font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;text-align:left;cursor:pointer}
  html[data-transfer-receiving="true"] #desktopSidebarStoreBtn strong{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}
  html[data-transfer-receiving="true"] #desktopSidebarStoreBtn svg{flex-shrink:0;width:19px;height:19px;color:var(--accent)}
  html[data-transfer-receiving="true"] #desktopSidebarStoreBtn:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
  html[data-transfer-receiving="true"] #userAccessView>.app:has(#contentSection:not(.hide))>.racing-desktop-sidebar .racing-sidebar-footer{order:2;margin-top:12px!important;padding-top:12px!important}
}

/* Back uses the system arrow and returns to the current transfer without clearing its draft. */
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-back{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;min-height:42px;padding:0!important;border-radius:12px!important}
:where(#storeTransfersPhone .tr-receiving) .tr-back svg{width:20px;height:20px}
:where(#storeTransfersPhone .tr-receiving) .tr-location-cell{overflow-wrap:anywhere;font-size:13px}
@media(min-width:1200px){
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-location-mobile{display:none}
  /* Production mounts content inside the dashboard. Keep that shell in normal flow. */
  html[data-transfer-receiving="true"][data-dashboard-content-embedded] #dashboardSection .desktop-top-embedded-mount>#contentSection#contentSection{position:relative!important;inset:auto!important;z-index:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;transform:none!important;background:transparent!important}
  html[data-transfer-receiving="true"][data-dashboard-content-embedded] #userAccessView>.app>.racing-desktop-sidebar{display:none!important}
  html[data-transfer-receiving="true"][data-dashboard-content-embedded] #dashboardSection .desktop-top-embedded-shell:has(.tr-receiving)>.desktop-top-embedded-bar{display:none!important}
}

:where(#storeTransfersPhone .tr-receiving) .tr-save-state { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); }
:where(#storeTransfersPhone .tr-receiving) .tr-save-state small { flex-basis: 100%; }
:where(#storeTransfersPhone .tr-receiving) .tr-save-state button { padding: 4px 8px; font-size: 12px; }

:where(#storeTransfersPhone .tr-receiving) .tr-validation { color: #92400e; background: #fffbeb; border: 1px solid #f59e0b; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
:where(#storeTransfersPhone .tr-receiving) .tr-validation p { margin: 2px 0; font-weight: 600; }
:where(#storeTransfersPhone .tr-receiving) .tr-team-required { border-color: #f59e0b; }
:where(html[data-theme="dark"] #storeTransfersPhone .tr-receiving) .tr-validation { color: #fde68a; background: #422006; }

/* Phone rows share one surface; only separate products, not each table cell. */
@media(max-width:767px){
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving{background:var(--tr-panel)}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving table{border:0;background:transparent}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving tr{background:var(--tr-panel)!important;border:0;border-top:1px solid var(--tr-border);padding:16px 0}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving td{background:transparent!important}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving tr.tr-current{box-shadow:inset 3px 0 var(--tr-blue)!important;padding-left:12px}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity input{border-radius:0!important;border-left:0;border-right:0}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity button{border-radius:8px 0 0 8px!important}
  :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-quantity button:last-child{border-radius:0 8px 8px 0!important}
}

/* The receiving confirmation lives in the browser top layer, above the camera. */
html[data-transfer-receiving="true"] #transferReceiveExtraDialog{--tr-confirm-panel:#152033;--tr-confirm-text:#edf3fb;--tr-confirm-muted:#aebdce;--tr-confirm-line:#354257;--tr-confirm-soft:#1c293d;box-sizing:border-box;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid var(--tr-confirm-line);border-radius:20px;background:var(--tr-confirm-panel);color:var(--tr-confirm-text);box-shadow:0 24px 80px rgba(0,0,0,.35);font:15px/1.5 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[data-transfer-receiving="true"]:is([data-theme="light"],[data-theme="pink"],[data-theme="lilac"]) #transferReceiveExtraDialog{--tr-confirm-panel:#fff;--tr-confirm-text:#172033;--tr-confirm-muted:#64748b;--tr-confirm-line:#dbe3ee;--tr-confirm-soft:#f1f5f9}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog::backdrop{background:rgba(4,12,25,.58);backdrop-filter:blur(3px)}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog .tr-confirm-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--tr-confirm-muted)}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog h3{margin:8px 0;font-size:22px;line-height:1.25;font-weight:700;color:inherit}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog p{margin:0;color:var(--tr-confirm-muted)}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog .tr-confirm-product{display:grid;gap:4px;margin:20px 0;padding:14px;border:1px solid var(--tr-confirm-line);border-radius:12px;background:var(--tr-confirm-soft);overflow-wrap:anywhere}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog .tr-confirm-product small{color:var(--tr-confirm-muted);font-size:12px}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog .tr-confirm-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog button{min-height:44px;padding:10px 16px;border:1px solid var(--tr-confirm-line);border-radius:11px;background:var(--tr-confirm-panel);color:var(--tr-confirm-text);font:inherit;font-weight:600;cursor:pointer}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog [data-extra-choice="add"]{border-color:#087fc3!important;background:#087fc3!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-transfer-receiving="true"] #transferReceiveExtraDialog button:focus-visible{outline:2px solid #38a5ff;outline-offset:3px}

/* Receiving workflow progress: scoped to this panel. */
:where(#storeTransfersPhone .tr-receiving) .tr-progress{margin:0 0 20px;padding:14px 0;color:var(--tr-text)}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:10px}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-track{height:8px;border-radius:6px;background:var(--tr-soft);border:1px solid var(--tr-border);overflow:hidden}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-track>span{height:100%;display:block;background:var(--tr-blue);transition:width .2s ease}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-steps{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--tr-muted)}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-steps>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
:where(#storeTransfersPhone .tr-receiving) .tr-step-dot{display:inline-grid;place-items:center;width:20px;height:20px;border:1px solid var(--tr-border);border-radius:50%;font-size:11px}
:where(#storeTransfersPhone .tr-receiving) .is-current .tr-step-dot{background:var(--tr-blue-bg);color:var(--tr-blue);border-color:var(--tr-blue)}
:where(#storeTransfersPhone .tr-receiving) .tr-progress-steps .is-current,:where(#storeTransfersPhone .tr-receiving) .tr-progress-steps .is-done{color:var(--tr-text)}

:where(#storeTransfersPhone .tr-receiving) .tr-header>div{flex:1;min-width:0}
:where(#storeTransfersPhone .tr-receiving) .tr-header>.tr-progress{flex:0 1 300px;min-width:240px;margin:0 0 0 auto;padding:0}
@media(min-width:768px) and (max-width:1199px){:where(#storeTransfersPhone .tr-receiving) .tr-header>.tr-progress{flex-basis:280px}}
@media(max-width:767px){
 :where(#storeTransfersPhone .tr-receiving) .tr-header{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px}
 :where(#storeTransfersPhone .tr-receiving) .tr-header>.tr-progress{grid-column:2;min-width:0;width:100%;max-width:300px;margin:0;padding-top:4px}
}

:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .is-done .tr-step-dot{background:#123e32;color:#a5e8cc!important;-webkit-text-fill-color:#a5e8cc;border-color:#296b52}
:is(html[data-theme="light"],html[data-theme="pink"],html[data-theme="lilac"]) :is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .is-done .tr-step-dot{background:#e9f6ef;color:#256447!important;-webkit-text-fill-color:#256447;border-color:#c6e6d3}

/* Keep the attempted-finalization warning directly beneath its action. */
:where(#storeTransfersPhone .tr-receiving) .tr-finalize-action{display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:280px}
:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-finalize-error{color:#b42332!important;background:transparent;border:0;margin:0;padding:0;font-size:13px;line-height:1.4;text-align:right}
:is(html[data-theme="dark"] #contentSection,html[data-theme="dark"] #transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-finalize-error{color:#ff929c!important}
@media(max-width:767px){:where(#storeTransfersPhone .tr-receiving) .tr-finalize-action{align-items:flex-start;max-width:100%}:is(#contentSection,#transferReceivingStory) #storeTransfersPhone .tr-receiving .tr-finalize-error{text-align:left}}

:where(#storeTransfersPhone .tr-receiving) .tr-stock-count + .tr-display{margin-inline-start:8px}
