/* Warehouse V2: page-scoped master/detail layout; global navigation is untouched. */
body.receipt-page #screen{--rc-bg:#14191e;--rc-surface:#1b2229;--rc-border:#343c45;--rc-gold:#e4b449;--rc-muted:#a9b1bb;color:#edf0f4}
.receipt-page .page-title{display:none}.rc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;padding:14px 2px 20px;border-bottom:1px solid #343c45}.rc-heading h2{font-size:29px;margin:5px 0}.rc-heading p{color:#b4bbc4;margin:0}.rc-eyebrow{font-size:11px;letter-spacing:1.8px;color:#d7ad57}.rc-tools{display:flex;gap:8px}.rc-tools button{white-space:nowrap}.receipt-workspace{display:grid;grid-template-columns:minmax(290px,31%) minmax(0,1fr);gap:18px;align-items:start}.receipt-list,.receipt-detail{background:linear-gradient(135deg,#1c232a,#13181d);border:1px solid #343c45;border-radius:18px;min-width:0;box-shadow:0 8px 25px #0002}.receipt-list{padding:18px}.rc-list-title{display:flex;gap:12px;align-items:center;margin-bottom:16px}.rc-list-title h3{margin:0;font-size:21px}.rc-list-title>span{border:1px solid #4b4940;border-radius:20px;padding:3px 9px;color:#e4b449;font-size:12px}.receipt-page input,.receipt-page select{background:#20272e;border:1px solid #39414b;color:#edf0f4;border-radius:9px;min-height:40px}.receipt-list>input,.receipt-list>select{width:100%}.receipt-list>select{margin:8px 0 0;font-size:12px;min-height:32px}.rc-filterline{display:flex;background:#10151a;padding:4px;border:1px solid #343c45;border-radius:11px;margin-top:12px}.rc-filterline button{flex:1;padding:10px 4px;background:transparent;border:0;border-radius:8px;color:#b8c0c9;font-size:13px}.receipt-page button.chosen,.rc-filterline button.chosen{background:linear-gradient(#e5b34b,#a77627);color:#101419;border:1px solid #edc56b;box-shadow:inset 0 1px 0 #ffffff38}.receipt-cards{display:grid;gap:10px;max-height:calc(100vh - 365px);min-height:190px;overflow:auto;margin-top:16px;padding:2px}.receipt-card{display:flex;gap:9px;text-align:left;padding:15px 12px;border:1px solid #343c45;border-radius:12px;background:linear-gradient(130deg,#20272e,#14191e)}.receipt-card.selected{border-color:#dfad40;background:linear-gradient(130deg,#393121,#1c2022);box-shadow:0 0 0 1px #d8a54128,inset 0 1px 0 #f6d77b1a}.rc-star{padding:0!important;align-self:start;background:none!important;border:0!important;color:#e4b449!important;font-size:23px!important;min-width:24px}.rc-card-content{background:none!important;border:0!important;border-radius:0!important;padding:0!important;text-align:left;flex:1;min-width:0;color:#edf0f4!important;display:grid;gap:7px}.rc-card-top{display:flex;align-items:start;gap:8px;justify-content:space-between}.rc-card-top strong{font-size:16px;line-height:1.35;overflow-wrap:anywhere}.rc-card-content>span{font-size:13px}.rc-card-content>small{color:#aab3bd;font-size:11px}.rc-badge{display:inline-flex;width:fit-content;white-space:nowrap;background:#343c43;border:1px solid #505a65;color:#d4dbe1;border-radius:7px;padding:4px 7px;font-size:10px;font-weight:500}.rc-badge.partial{background:#65461b;border-color:#9f742a;color:#ffe0a4}.rc-badge.done{background:#1a3d30;border-color:#34674c;color:#a9dfbb}.rc-card-progress{display:grid;grid-template-columns:1fr 105px;gap:8px;align-items:center;margin-top:4px}.rc-card-progress span{font-size:11px;color:#b7bfc7}.receipt-page progress{display:block;width:100%;height:8px;border:0;border-radius:20px;overflow:hidden;background:#343d46;appearance:none}.receipt-page progress::-webkit-progress-bar{background:#343d46;border-radius:20px}.receipt-page progress::-webkit-progress-value{background:linear-gradient(90deg,#ffd576,#d7a23c);border-radius:20px}.receipt-detail{padding:20px;min-height:660px;display:flex;flex-direction:column}.rc-detail-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.rc-detail-head h2{margin:0 0 8px;font-size:24px}.rc-detail-head p{margin:0;color:#cbd1d7;font-size:15px}.rc-detail-head p small{color:#919ca8;font-size:11px}.rc-metadata{display:flex;gap:16px}.rc-metadata>div{border-left:1px solid #39414a;padding-left:14px;display:grid;gap:8px;font-size:12px}.rc-metadata small{color:#aeb6c0;font-size:11px}.rc-progress{border:1px solid #343c45;background:#13191f;padding:16px;border-radius:12px}.rc-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:13px}.rc-progress b{color:#e4b449}.rc-progress progress{height:16px;box-shadow:0 0 0 1px #5c5031}.rc-tabs{display:flex;gap:4px;background:#11161b;border:1px solid #343c45;border-radius:11px;padding:4px;margin:18px 0}.rc-tabs button{flex:1;border:0;background:none;color:#cbd1d9;border-radius:8px;padding:12px 6px;font-size:13px}.rc-product-tools{display:flex;gap:12px;justify-content:space-between;margin:0 0 12px}.rc-product-tools>input{width:45%;min-width:0}.rc-product-tools label{display:flex;align-items:center;gap:8px;color:#aeb6c0;font-size:11px}.rc-product-tools label input{font-size:12px;max-width:145px}.rc-table{border:1px solid #333b44;border-radius:12px;overflow:auto}.rc-table table{width:100%;border-collapse:collapse;min-width:0}.rc-table th{font-size:11px;font-weight:500;color:#b7c0ca;background:#232a31;padding:13px 8px;white-space:nowrap}.rc-table td{font-size:13px;padding:20px 8px;border-bottom:1px solid #303841;vertical-align:middle}.rc-table tr:last-child td{border-bottom:0}.rc-table td:nth-child(2){width:32%}.rc-table td small{font-size:10px;color:#9da7b3}.rc-product{display:grid;gap:7px;text-align:left;background:none!important;border:0!important;padding:0!important;color:#edf0f4!important;line-height:1.4}.rc-product strong{font-size:13px;font-weight:500}.rc-product small{font-size:11px!important}.rc-stepper{display:flex;width:104px;border:1px solid #454b51;border-radius:8px;overflow:hidden;background:#20272d}.rc-stepper button{width:28px;padding:0;border:0!important;background:transparent!important;color:#c5cbd2;height:34px}.rc-stepper input{width:48px!important;min-width:0;min-height:34px!important;padding:0;text-align:center;border:0!important;background:transparent!important;appearance:textfield}.rc-stepper input::-webkit-inner-spin-button{appearance:none}.rc-save{border:1px solid #65552d!important;color:#e8bc61!important;background:#322c1f!important;border-radius:7px;padding:6px 10px!important;font-size:11px!important}.rc-line-state{display:block;margin-top:6px;white-space:nowrap}.rc-table input[type=checkbox]{accent-color:#e1ac43;width:17px!important;min-height:17px!important}.rc-conflict{background:#553d2338}.rc-footer{margin-top:auto;padding:23px 0 0;display:flex;gap:14px;align-items:center;justify-content:space-between}.rc-footer>span{color:#b9c1ca;font-size:12px;white-space:nowrap}.rc-footer>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:end}.rc-footer button{font-size:12px;padding:11px 12px;white-space:nowrap}.rc-disclaimer{display:block;color:#89949f;font-size:10px;margin-top:14px}.receipt-page .primary{background:linear-gradient(#f2c766,#cf9b32);color:#15191e;border:1px solid #e9bc57;border-radius:9px;font-weight:600}.rc-empty{padding:35px 12px;color:#aab4bf;text-align:center}.receipt-measures{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.receipt-measures input{width:100%}.receipt-measures label{font-size:12px}.receipt-history-row{padding:15px 4px;border-bottom:1px solid #343c45}.receipt-history-row small{display:block;color:#a6b0bd;margin:8px 0}.receipt-history-row button{margin:5px 8px 0 0;padding:7px 12px;font-size:12px}.receipt-summary{margin:12px 0}.receipt-summary summary{cursor:pointer}#receipt-message:empty{display:none}#receipt-message{color:#edc86b;font-size:13px}
@media(max-width:1450px){.receipt-workspace{grid-template-columns:290px minmax(0,1fr);gap:12px}.receipt-detail{padding:15px}.rc-metadata{gap:9px}.rc-detail-head{flex-wrap:wrap}.rc-metadata>div{padding-left:10px}.rc-table td{padding:16px 6px}.rc-card-top{display:grid}.rc-card-progress{grid-template-columns:1fr 90px}.rc-footer{flex-wrap:wrap}.rc-heading{padding-top:0}.receipt-detail{min-height:640px}}
@media(max-width:1050px){.receipt-workspace{grid-template-columns:260px minmax(0,1fr)}.rc-table table{min-width:610px}.rc-metadata{width:100%}.receipt-measures{grid-template-columns:repeat(2,minmax(0,1fr))}.rc-tabs button{font-size:11px}.rc-heading h2{font-size:24px}}
@media(max-width:700px){body.receipt-page header{height:auto!important;min-height:100px;position:relative;flex-wrap:wrap}.receipt-page .content{padding-top:12px}.rc-heading{flex-wrap:wrap;padding-bottom:14px;gap:12px}.rc-heading h2{font-size:25px}.rc-heading p{font-size:12px}.rc-tools{width:100%}.rc-tools button{flex:1;padding:9px}.receipt-workspace{grid-template-columns:1fr;gap:14px}.receipt-list{padding:14px}.receipt-cards{max-height:250px;min-height:0}.rc-card-top{display:flex}.rc-card-progress{grid-template-columns:1fr 130px}.receipt-detail{padding:14px;min-height:0}.rc-detail-head h2{font-size:21px}.rc-detail-head p{font-size:13px}.rc-metadata{justify-content:space-between;gap:5px}.rc-metadata>div{padding-left:8px}.rc-progress{padding:12px}.rc-progress>div{font-size:11px}.rc-tabs{overflow:auto;gap:0}.rc-tabs button{padding:10px 8px;white-space:nowrap;font-size:11px}.rc-product-tools{flex-wrap:wrap}.rc-product-tools>input{width:100%}.rc-product-tools label{width:100%;justify-content:space-between}.rc-table{overflow:visible;border:0}.rc-table table{min-width:0;display:block}.rc-table thead{display:none}.rc-table tbody{display:grid;gap:12px}.rc-table tr{display:grid;grid-template-columns:30px repeat(3,minmax(0,1fr));border:1px solid #343c45;border-radius:11px;padding:12px;background:#1a2128}.rc-table td{padding:6px!important;border:0!important;width:auto!important}.rc-table td:nth-child(1){grid-column:1;grid-row:1}.rc-table td:nth-child(2){grid-column:2/-1}.rc-table td:nth-child(3){grid-column:2}.rc-table td[data-label]:before{content:attr(data-label);display:block;color:#99a5b2;font-size:10px;margin-bottom:4px}.rc-table td:nth-child(6){grid-column:2/4}.rc-table td:nth-child(7){grid-column:4}.rc-stepper{width:115px}.rc-product strong{font-size:14px}.rc-footer{position:sticky;bottom:0;background:#171e25;border-top:1px solid #3c444c;padding:14px 0 7px;z-index:2;margin-top:18px;gap:9px}.rc-footer>div{width:100%;display:grid;grid-template-columns:1fr 1fr}.rc-footer button{font-size:11px;padding:10px 7px}.receipt-measures{grid-template-columns:1fr 1fr}.rc-disclaimer{font-size:10px}}

/* Final visual pass: stronger typography, clear active tab, no floating footer over mobile details. */
.rc-tabs button.chosen{color:#171b1e!important}.rc-table th{font-size:12px}.rc-table td{font-size:14px}.rc-product strong{font-size:15px}.rc-card-top strong{font-size:17px}.rc-heading{margin-bottom:16px;padding-top:0}.rc-table td:nth-child(2){width:30%}
@media(max-width:700px){.rc-footer{position:static;margin-top:20px}.rc-table th,.rc-table td{font-size:13px}.receipt-detail{min-height:0}.rc-product strong{font-size:14px}}
/* Visual revision: shared industrial identity with Orders and Shipment Center. */
.receipt-page .rc-heading{position:relative;isolation:isolate;overflow:hidden;min-height:162px;padding:25px 28px;margin:0 0 22px;border:1px solid #3b4148;border-radius:16px;background:#1c2228;box-shadow:0 8px 28px #0003}
.receipt-page .rc-heading:before{content:"";position:absolute;inset:0;z-index:-2;background:url('/order-machine-v51.png') 77% 48%/cover no-repeat;opacity:.85}
.receipt-page .rc-heading:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#171e26 0%,#171e26ed 30%,#171e2660 62%,#10161aa3 100%)}
.rc-hero-copy{max-width:62%}.rc-heading h2{display:flex;align-items:center;gap:13px;font-size:31px;letter-spacing:-.6px;margin:12px 0 10px}.rc-hero-icon,.rc-customer-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#e3b44e;background:linear-gradient(145deg,#e5b54824,#e5b54809);border:1px solid #d6a84450;border-radius:12px;width:47px;height:47px}.rc-hero-icon svg{width:27px;height:27px}.rc-heading p{font-size:14px;color:#d0d6dd}.rc-eyebrow{color:#eac16d;letter-spacing:2.1px;font-size:10px}.rc-tools{align-self:flex-start;padding-top:8px}.rc-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#1c232cdb!important;border:1px solid #616368!important;box-shadow:inset 0 1px 0 #ffffff12;backdrop-filter:blur(9px);padding:11px 14px!important;font-size:12px}.rc-tools .rc-icon{color:#e3b44e;width:17px;height:17px}
.receipt-workspace{grid-template-columns:minmax(300px,29%) minmax(0,1fr);gap:20px}.receipt-list{background:linear-gradient(150deg,#20272f,#171d24);padding:20px;border-color:#39414b}.receipt-detail{background:linear-gradient(135deg,#222a33,#171e25 65%);border-color:#3e4853;padding:22px}.rc-list-title{margin-bottom:18px}.rc-list-title h3{font-size:22px}.receipt-card{padding:17px 13px;background:linear-gradient(130deg,#242d37,#1b222a);border-color:#3a444f;transition:border-color .15s,background .15s}.receipt-card:hover{border-color:#6d6553;background:#27303a}.receipt-card.selected{background:linear-gradient(120deg,#463b27,#24272a 85%);border-color:#dfb24e;box-shadow:inset 3px 0 0 #dfb24e,0 5px 18px #0003}.rc-card-top{gap:12px}.rc-card-top strong{font-size:17px;letter-spacing:-.2px}.rc-card-content>span{color:#e1e5eb;font-size:14px}.rc-card-content>small{font-size:11px;color:#a8b3bf}.rc-card-progress{margin-top:7px}.rc-badge{padding:5px 8px;border-radius:6px;font-size:10px}.rc-badge.partial{background:#61471e;border-color:#b38737}.rc-customer-title{display:flex;align-items:center;gap:14px;min-width:0}.rc-customer-title h2{font-size:25px;letter-spacing:-.4px}.rc-customer-icon{width:48px;height:52px;border-radius:10px}.rc-metadata>div{padding-left:17px}.rc-detail-head{padding-bottom:19px;border-bottom:1px solid #3b444d;margin-bottom:20px}.rc-progress{background:linear-gradient(120deg,#1b222a,#151b21);border-color:#414b56;padding:18px 20px;box-shadow:inset 0 1px 0 #ffffff07}.rc-progress>div{font-size:14px;margin-bottom:15px}.rc-progress progress{height:13px}.rc-tabs{margin:20px 0 18px;background:#161d24;padding:5px;border-color:#39434e}.rc-tabs button{padding:13px 8px;font-size:13px}.rc-tabs button:not(.chosen):hover{background:#2a343f;color:#fff}.rc-tabs button.chosen{box-shadow:0 3px 12px #0003!important}.rc-table{border-color:#3b4651;background:#1a222a}.rc-table th{background:#29333e;color:#cdd5dd;font-size:12px;padding:15px 8px}.rc-table td{padding:22px 9px;border-bottom-color:#35404a}.rc-table tr:hover td{background:#28323c55}.rc-product strong{font-size:15px;color:#f0f2f5}.rc-product small{color:#aab7c5!important}.rc-stepper{background:#151d25;border-color:#4b5662;width:112px}.rc-stepper input{width:56px!important;font-size:14px}.rc-stepper:focus-within{border-color:#d7ac4e;box-shadow:0 0 0 2px #d7ac4e16}.rc-save{padding:8px 13px!important;border-color:#8b713b!important;background:#5e492124!important;color:#f0c876!important}.rc-line-state{color:#b2c3b9!important}.rc-footer{padding-top:22px;margin-top:auto}.rc-footer>div{gap:9px}.rc-footer button{padding:12px 14px;font-size:12px}.rc-footer .primary{box-shadow:0 3px 16px #d5a64418}.rc-disclaimer{margin-top:18px;color:#96a3b0}
@media(max-width:1450px){.receipt-workspace{grid-template-columns:290px minmax(0,1fr);gap:16px}.receipt-detail{padding:18px}.rc-heading{min-height:145px!important}.rc-customer-title h2{font-size:22px}.rc-metadata>div{padding-left:12px}.rc-customer-icon{width:40px;height:44px}.rc-table td{padding:18px 6px}.rc-heading h2{font-size:28px}.rc-footer button{padding:10px 10px}}
@media(max-width:1050px){.receipt-workspace{grid-template-columns:260px minmax(0,1fr)}.receipt-list{padding:14px}.rc-hero-copy{max-width:68%}.rc-heading{padding:20px!important}.rc-tools button{padding:9px!important}.rc-tools{gap:5px}.rc-customer-title{gap:10px}}
@media(max-width:700px){.receipt-page .rc-heading{padding:20px 17px!important;min-height:220px!important;margin-bottom:16px}.rc-heading:before{background-position:62% center!important;opacity:.7!important}.rc-heading:after{background:linear-gradient(90deg,#171e26f5,#171e26a0)!important}.rc-hero-copy{max-width:100%;width:100%}.rc-heading h2{font-size:27px;gap:10px;margin:10px 0}.rc-hero-icon{width:40px;height:40px}.rc-heading p{font-size:12px;max-width:245px;line-height:1.5}.rc-tools{padding-top:6px;width:100%}.rc-tools button{font-size:11px;flex:1}.rc-tools .rc-icon{width:16px;height:16px}.receipt-workspace{grid-template-columns:1fr}.receipt-list,.receipt-detail{padding:15px}.rc-detail-head{padding-bottom:16px}.rc-customer-title h2{font-size:20px;line-height:1.3}.rc-customer-title{width:100%}.rc-customer-icon{width:39px;height:44px}.rc-metadata{margin-top:7px}.rc-progress{padding:14px}.rc-progress>div{font-size:11px}.rc-tabs{gap:0;padding:4px}.rc-tabs button{font-size:11px;padding:11px 8px}.rc-table td{padding:6px!important}.rc-table tr{background:linear-gradient(135deg,#252f39,#1b232c);border-color:#414c58}.rc-footer{margin-top:18px;padding-top:15px}.rc-footer>div{gap:8px}.rc-footer button{font-size:11px}.rc-card-top strong{font-size:16px}.receipt-cards{max-height:245px}}
/* Use the same decorative scene crop as Orders; surrounding reference UI is excluded. */
.receipt-page .rc-heading:before{left:auto;width:68%;background-size:261.94% 430.77%;background-position:98.1567% 40.6977%;opacity:.9}
@media(max-width:700px){.receipt-page .rc-heading:before{width:100%;background-size:261.94% 430.77%!important;background-position:98.1567% 40.6977%!important}}
/* Full-width warehouse scene, proportional cover crop; darker charcoal finish. */
.receipt-page .rc-heading:before{inset:0;width:100%;background-image:url('/warehouse-racks-v2.png');background-size:cover;background-position:center 48%;opacity:1}
.receipt-page .rc-heading:after{background:linear-gradient(90deg,#0d131be8 0%,#0d131b9e 42%,#0d131b75 72%,#0d131baf 100%)}
.receipt-page .rc-heading{border-color:#303841;background-color:#10161c;min-height:170px}
.receipt-page .receipt-list{background:linear-gradient(140deg,#191f26,#11171d);border-color:#303941}
.receipt-page .receipt-detail{background:linear-gradient(135deg,#1b222a,#12191f 75%);border-color:#333e48}
.receipt-page .receipt-card{background:linear-gradient(130deg,#1d252d,#141b22);border-color:#333d46}
.receipt-page .receipt-card.selected{background:linear-gradient(120deg,#352e20,#1b2025 85%);border-color:#bf9744}
.receipt-page .rc-table{background:#141c23;border-color:#303b45}.receipt-page .rc-table th{background:#202a33}.receipt-page .rc-progress{background:linear-gradient(120deg,#161e26,#10171d);border-color:#333e49}
@media(max-width:700px){.receipt-page .rc-heading:before{width:100%;background-size:cover!important;background-position:center 48%!important;opacity:1!important}.receipt-page .rc-heading:after{background:linear-gradient(90deg,#0d131bd9,#0d131b9e)!important}.receipt-page .rc-table tr{background:linear-gradient(135deg,#1d2730,#141c24)}}
.rc-weight{display:block;margin-top:12px;font-size:10px;color:#aab6c2}.rc-weight>span{display:flex;gap:6px;align-items:center;margin-top:5px}.rc-weight input{width:82px!important;min-height:31px!important;height:31px;padding:5px 8px!important;font-size:12px}.rc-weight button{padding:7px 9px!important;font-size:10px!important;background:#222d37!important;color:#e1bc6b!important;border:1px solid #48525b!important;border-radius:6px;white-space:nowrap}@media(max-width:700px){.rc-weight input{width:90px!important}.rc-weight button{padding:8px!important}}
