@font-face{font-family:InterLocal;src:local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f4f7f8;color:#233637;font:14px InterLocal,'Segoe UI',sans-serif}aside{position:fixed;inset:0 auto 0 0;width:218px;background:#102f32;color:#c8dbdc;padding:28px 18px;display:flex;flex-direction:column}.brand{color:white;text-decoration:none;display:flex;gap:12px;font-size:30px;line-height:1.1;font-weight:750}.brand span{font-size:21px}.brand small{font-size:12px;letter-spacing:5px;color:#87bfba}.nav-label{font-size:10px;letter-spacing:1.5px;color:#6f999b;margin:48px 12px 18px}nav{display:grid;gap:7px}nav button{border:0;background:none;color:#719b9c;text-align:left;display:flex;gap:12px;padding:15px;border-radius:10px}nav span{color:#cfe0e0}nav button.active{background:#24615f;color:#8bddce}nav button.active span{color:white}footer{margin-top:auto;font-size:12px;line-height:2;color:#7ca1a1}main{margin-left:218px;padding:32px 36px;max-width:1800px}header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.eyebrow{color:#718788;font-size:10px;letter-spacing:2px}h1{font-size:29px;margin:6px 0 0;letter-spacing:-.7px}h2{font-size:17px;margin:0 0 12px}p{line-height:1.65}.employee{display:flex;align-items:center;gap:8px}.employee label{font-size:12px;color:#728889}.employee select{max-width:230px}button,.button{font:inherit;font-weight:600;cursor:pointer;border:1px solid #d6e2e2;background:#fff;border-radius:8px;padding:10px 15px;display:inline-block;text-decoration:none;color:#244548;white-space:nowrap}button:hover,.button:hover{background:#e9f3f1;border-color:#a1c8c2}button:disabled{opacity:.45;cursor:default}.primary{background:#087e72;color:white;border-color:#087e72}.primary:hover{background:#08675f;color:white}.danger{color:#aa4242}input,select{font:inherit;border:1px solid #cfdedd;border-radius:7px;padding:11px 12px;background:white;color:#213b3d;min-width:0}input:not([type=checkbox]):not([type=file]){width:100%}input:focus,select:focus,button:focus-visible{outline:2px solid #3cac99;outline-offset:2px}input[type=checkbox]{accent-color:#087e72;width:17px;height:17px;flex-shrink:0}label{display:block;margin:13px 0 7px;font-weight:600;font-size:13px}.employee label{margin:0}.metrics{display:flex;gap:16px;margin:20px 0 24px}.metrics>div{background:#e8f0ef;border-radius:10px;padding:14px 20px;min-width:170px;display:flex;gap:25px;align-items:center}.metrics span{font-size:12px;color:#667e7d;max-width:100px}.metrics b{font-size:25px}.card{background:white;padding:23px;border:1px solid #e0e8e7;border-radius:13px;margin-bottom:20px;box-shadow:0 2px 4px #173e3d04}.card-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.card-title h2{margin:0}.muted{color:#748888;font-size:12px}.split{display:grid;grid-template-columns:1fr 260px;gap:20px}.input-row{display:flex;gap:10px;align-items:center}.checks{display:flex;gap:20px;margin:12px 0 18px}.checks label,.check{display:flex;align-items:center;gap:8px;font-weight:400}.product-card{padding:15px;background:#f2f7f6;border-radius:8px;margin:14px 0;min-height:52px}.product-card b{margin-right:12px}.photo-card{display:grid;place-items:center;min-height:280px;color:#819591;text-align:center}.photo-card img{width:100%;max-height:310px;object-fit:contain}.pill{font-size:12px;color:#08776b;border-radius:20px;background:#e4f4ef;padding:7px 12px}.cell-groups{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px;align-items:start}.cell-group h3{font-size:13px;color:#638480;margin:0 0 8px}.cell-grid{display:grid;grid-template-columns:repeat(4,64px);gap:5px}.cell-group.zone-A .cell-grid{grid-template-columns:repeat(3,64px)}.cell-group.zone-F .cell-grid{grid-template-columns:repeat(1,64px)}.cell-grid button{padding:8px 5px;display:flex;flex-direction:column;gap:4px;font-size:12px;background:#f8faf9}.cell-grid button small{color:#8a9996;font-size:11px;font-weight:400}.cell-grid button[aria-checked=true]{background:#e0f3ec;border:2px solid #18816c;padding:7px 4px;color:#07664f}.cell-grid button:hover small{color:#8a9996}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0}.toolbar input{flex:1;min-width:160px!important}.toolbar label{margin:0}.toolbar select{min-width:220px;max-width:100%}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:#f0f5f4;color:#68827f;font-weight:600;font-size:11px;padding:12px;text-transform:uppercase;letter-spacing:.3px}td{padding:12px;border-bottom:1px solid #edf1f0}tbody tr{cursor:pointer}tbody tr:hover{background:#f5faf8}tr.selected{background:#e4f3ed}.pair{border:1px solid #dce7e3;border-radius:10px;padding:15px;margin-top:16px;display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.pair label{margin-top:0}.pair select{width:100%}.pair-title{grid-column:1/-1;display:flex;justify-content:space-between}.pair-title label{margin:0}.previews{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin:20px 0}.previews>div{background:#f4f7f6;border:1px dashed #cfded8;border-radius:10px;min-height:220px;display:grid;place-items:center;padding:14px}.previews img{max-width:100%;max-height:440px;object-fit:contain}#notice{padding:12px 16px;border-radius:9px;background:#e7f2ed;color:#246349;min-height:42px;font-size:13px}#notice.error{background:#fff0ed;color:#a04432}#notice.working{background:#fff7e5;color:#826520}pre{white-space:pre-wrap;font:12px 'Segoe UI',sans-serif;line-height:1.8}summary{cursor:pointer;font-weight:600;margin-bottom:12px}[hidden]{display:none!important}@media(max-width:1100px){aside{width:180px}main{margin-left:180px;padding:24px 20px}.brand span{font-size:17px}.split{grid-template-columns:1fr 200px}.pair{grid-template-columns:1fr 1fr}.metrics{gap:8px}.metrics>div{min-width:140px;padding:12px}.checks{flex-direction:column;gap:0}.employee{flex-wrap:wrap}}@media(max-width:750px){aside{position:static;width:auto;padding:12px}aside .brand,.nav-label,footer{display:none}nav{display:flex;overflow:auto}nav button{padding:10px}main{margin:0;padding:18px}header{align-items:start}h1{font-size:22px}.split,.previews{grid-template-columns:1fr}.photo-card{display:none}.metrics{flex-wrap:wrap}.metrics>div{flex:1}.pair{grid-template-columns:1fr}.pair-title{grid-column:1}.employee select{max-width:150px}.card{padding:16px}.cell-grid{grid-template-columns:repeat(4,58px)}}

/* Compact intake desk: two scan fields and the complete storage map. */
@media(min-width:1000px){
 main{padding:16px 24px}header{margin-bottom:12px}h1{font-size:25px}
 .metrics{margin:10px 0 12px}.metrics>div{padding:8px 16px}.metrics b{font-size:22px}
 #intake .card{padding:14px;margin-bottom:12px}#intake .split{grid-template-columns:minmax(0,1fr) 140px;gap:12px}
 #intake .photo-card{min-height:0}#intake .photo-card img{max-height:175px}
 #intake .card-title+p{margin:6px 0;font-size:12px}
 #intake .scan-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
 #intake .scan-fields label{margin:6px 0}#intake .product-card{padding:8px 10px;min-height:34px;margin:10px 0}
 #intake .intake-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
 #intake .checks{margin:0;gap:12px;flex-direction:row;flex-wrap:wrap}#intake .checks label{margin:0;font-size:12px}
 #intake .cell-groups{display:grid;grid-template-columns:3fr repeat(4,4fr) 1fr;gap:12px;margin-top:10px}
 #intake .cell-group{min-width:0}#intake .cell-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 #intake .zone-A .cell-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#intake .zone-F .cell-grid{grid-template-columns:1fr}
 #intake .cell-group h3{margin-bottom:5px}#intake .cell-grid button{padding:5px 1px;gap:2px;font-size:11px}
 #intake .cell-grid button[aria-checked=true]{padding:4px 0}#intake .cell-grid button small{font-size:10px}
}
@media(min-width:751px) and (max-width:999px){.scan-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}#intake .split{grid-template-columns:1fr}#intake .photo-card{display:none}}
@media(min-width:1000px){
 #intake .card{padding:10px 14px}#intake .card-title+p{display:none}
 #intake input:not([type=checkbox]),#intake button:not([data-cell]){padding:8px 10px;line-height:18px}
 #intake .scan-fields label{margin:5px 0}#intake .product-card{padding:5px 10px;min-height:28px;margin:6px 0}
 #intake .pill{padding:5px 10px}#intake .cell-grid button{line-height:12px;padding:4px 1px;gap:2px}
 #intake .cell-grid button small{line-height:11px}#intake .cell-grid button[aria-checked=true]{padding:3px 0}
 #intake .checks input{margin:0}#intake .cell-groups{gap:10px}
}

/* Barcode 20%, marking 30%, product photo 50%. */
textarea{font:inherit;border:1px solid #cfdedd;border-radius:7px;padding:10px 12px;background:white;color:#213b3d;width:100%;min-width:0;resize:none;overflow-wrap:anywhere;line-height:20px;height:62px}
textarea:focus{outline:2px solid #3cac99;outline-offset:2px}textarea:disabled{background:#f6f8f8}
@media(min-width:1000px){
 body:has(#intake:not([hidden])) header{margin-bottom:8px}body:has(#intake:not([hidden])) h1{font-size:22px}
 body:has(#intake:not([hidden])) .metrics{margin:8px 0}body:has(#intake:not([hidden])) .metrics>div{padding:6px 14px}
 body:has(#intake:not([hidden])) #notice{padding:8px 14px;min-height:34px}
 #intake .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 #intake .scan-fields{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px}
 #intake .scan-fields .input-row{display:grid;grid-template-columns:1fr auto;gap:5px}
 #intake .scan-fields .input-row input{grid-column:1/-1}#intake #lookup{padding:2px 10px;grid-column:2;font-size:12px;line-height:16px}
 #intake .card-title h2{font-size:15px}#intake .pill{font-size:11px;white-space:nowrap}
 #intake .intake-actions{gap:8px}#intake .checks{flex-direction:column;align-items:start;gap:4px}
 #intake .checks label{font-size:11px;line-height:14px}#intake .product-card{font-size:12px;line-height:16px}
 #intake .photo-card{height:225px;min-height:225px;padding:8px;overflow:hidden}
 #intake .photo-card img{width:100%;height:100%;max-height:207px;object-fit:contain}
}

/* Use the free viewport height for the photo without pushing the cell map down. */
@media(min-width:1000px){
 #intake .scan-fields{grid-template-columns:minmax(0,3fr) minmax(0,7fr)}
 #intake #mark{font-size:12px}
 #intake .split{height:var(--intake-height,225px);align-items:start}
 #intake .split>.card:first-child{align-self:start}
 #intake .photo-card{position:relative;align-self:stretch;height:auto;min-height:0}
 #intake .photo-card img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);max-height:none;object-fit:contain}
 #intake .photo-card #photo-hint{align-self:center}
}
@media(min-width:1000px){#intake .cell-groups{gap:18px}#intake .cell-grid{gap:7px}}
#stock .cell-groups{gap:24px}#stock .cell-grid{gap:7px}

.stock-map-heading{display:flex;gap:18px;align-items:center}.stock-map-heading button[aria-checked=true]{background:#e0f3ec;border-color:#18816c;color:#07664f}
#stock .stock-results .card-title h2{margin:0}#stock .stock-results .toolbar input{min-width:180px!important}
#stock .stock-empty{text-align:center;padding:32px;color:#748888}#stock-selection{margin:8px 0 0;min-height:18px}
#stock .stock-results th{position:sticky;top:0;z-index:1}#stock .stock-results .table-wrap{overflow:auto;max-height:max(160px,calc(100dvh - 650px))}
@media(min-width:1000px){
 body:has(#stock:not([hidden])) header{margin-bottom:8px}body:has(#stock:not([hidden])) h1{font-size:22px}
 body:has(#stock:not([hidden])) .metrics{margin:8px 0}body:has(#stock:not([hidden])) .metrics>div{padding:6px 14px}
 body:has(#stock:not([hidden])) #notice{padding:8px 14px;min-height:34px}
 #stock>.card{padding:12px 14px;margin-bottom:12px}#stock .card-title button,#stock .card-title .button{padding:7px 12px}
 #stock .cell-groups{display:grid;grid-template-columns:3fr repeat(4,4fr) 1fr;gap:18px;margin-top:10px}
 #stock .cell-group{min-width:0}#stock .cell-group h3{margin:0 0 5px}
 #stock .cell-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 #stock .zone-A .cell-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#stock .zone-F .cell-grid{grid-template-columns:1fr}
 #stock .cell-grid button{padding:3px 1px;line-height:12px;font-size:11px;gap:2px}
 #stock .cell-grid button small{font-size:10px;line-height:11px}#stock .cell-grid button[aria-checked=true]{padding:2px 0}
 #stock .stock-results .toolbar{margin:8px 0;gap:8px}#stock .stock-results .toolbar button{font-size:12px;padding:8px 10px}
 #stock .stock-results input{padding:8px 10px}#stock .stock-results td{padding:8px 10px}#stock .stock-results th{padding:9px 10px}
}
@media(max-width:750px){.stock-map-heading{flex-wrap:wrap;gap:8px}#stock .card-title{flex-wrap:wrap}#stock .stock-results .toolbar{align-items:stretch}#stock .stock-results .toolbar button{white-space:normal}}

#intake .cell-grid .capacity-cell,#intake .cell-grid .capacity-cell:hover,#intake .cell-grid .capacity-cell[aria-checked=true]{background:var(--cell-fill)}
#intake .cell-grid .capacity-cell small{color:#52645d}#intake .cell-grid .capacity-cell[aria-checked=true]{border-color:#005b55;box-shadow:inset 0 0 0 1px #005b55}
.capacity-legend{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#52645d}
.capacity-legend span{padding:4px 8px;border-radius:5px}.capacity-free{background:#dcece2}.capacity-mid{background:#eee7ce}.capacity-near{background:#eed5bc}.capacity-full{background:#e8c2bd}
#confirm-gtin{white-space:normal;max-width:220px;font-size:12px}
.cap-0{--cell-fill:#dcece2}
.cap-1{--cell-fill:#dcece2}
.cap-2{--cell-fill:#ddece1}
.cap-3{--cell-fill:#ddece1}
.cap-4{--cell-fill:#ddece0}
.cap-5{--cell-fill:#deece0}
.cap-6{--cell-fill:#deebe0}
.cap-7{--cell-fill:#dfebdf}
.cap-8{--cell-fill:#dfebdf}
.cap-9{--cell-fill:#dfebde}
.cap-10{--cell-fill:#e0ebde}
.cap-11{--cell-fill:#e0ebde}
.cap-12{--cell-fill:#e0ebdd}
.cap-13{--cell-fill:#e1ebdd}
.cap-14{--cell-fill:#e1ebdc}
.cap-15{--cell-fill:#e1eadc}
.cap-16{--cell-fill:#e2eadc}
.cap-17{--cell-fill:#e2eadb}
.cap-18{--cell-fill:#e2eadb}
.cap-19{--cell-fill:#e3eada}
.cap-20{--cell-fill:#e3eada}
.cap-21{--cell-fill:#e4eada}
.cap-22{--cell-fill:#e4ead9}
.cap-23{--cell-fill:#e4ead9}
.cap-24{--cell-fill:#e5ead8}
.cap-25{--cell-fill:#e5ead8}
.cap-26{--cell-fill:#e5e9d8}
.cap-27{--cell-fill:#e6e9d7}
.cap-28{--cell-fill:#e6e9d7}
.cap-29{--cell-fill:#e6e9d6}
.cap-30{--cell-fill:#e7e9d6}
.cap-31{--cell-fill:#e7e9d6}
.cap-32{--cell-fill:#e8e9d5}
.cap-33{--cell-fill:#e8e9d5}
.cap-34{--cell-fill:#e8e9d4}
.cap-35{--cell-fill:#e9e8d4}
.cap-36{--cell-fill:#e9e8d4}
.cap-37{--cell-fill:#e9e8d3}
.cap-38{--cell-fill:#eae8d3}
.cap-39{--cell-fill:#eae8d2}
.cap-40{--cell-fill:#eae8d2}
.cap-41{--cell-fill:#ebe8d2}
.cap-42{--cell-fill:#ebe8d1}
.cap-43{--cell-fill:#ebe8d1}
.cap-44{--cell-fill:#ece8d0}
.cap-45{--cell-fill:#ece8d0}
.cap-46{--cell-fill:#ede7d0}
.cap-47{--cell-fill:#ede7cf}
.cap-48{--cell-fill:#ede7cf}
.cap-49{--cell-fill:#eee7ce}
.cap-50{--cell-fill:#eee7ce}
.cap-51{--cell-fill:#eee6cd}
.cap-52{--cell-fill:#eee6cd}
.cap-53{--cell-fill:#eee5cc}
.cap-54{--cell-fill:#eee5cc}
.cap-55{--cell-fill:#eee4cb}
.cap-56{--cell-fill:#eee3ca}
.cap-57{--cell-fill:#eee3ca}
.cap-58{--cell-fill:#eee2c9}
.cap-59{--cell-fill:#eee2c9}
.cap-60{--cell-fill:#eee1c8}
.cap-61{--cell-fill:#eee0c7}
.cap-62{--cell-fill:#eee0c7}
.cap-63{--cell-fill:#eedfc6}
.cap-64{--cell-fill:#eedfc6}
.cap-65{--cell-fill:#eedec5}
.cap-66{--cell-fill:#eeddc4}
.cap-67{--cell-fill:#eeddc4}
.cap-68{--cell-fill:#eedcc3}
.cap-69{--cell-fill:#eedcc3}
.cap-70{--cell-fill:#eedbc2}
.cap-71{--cell-fill:#eedac1}
.cap-72{--cell-fill:#eedac1}
.cap-73{--cell-fill:#eed9c0}
.cap-74{--cell-fill:#eed9c0}
.cap-75{--cell-fill:#eed8bf}
.cap-76{--cell-fill:#eed7be}
.cap-77{--cell-fill:#eed7be}
.cap-78{--cell-fill:#eed6bd}
.cap-79{--cell-fill:#eed6bd}
.cap-80{--cell-fill:#eed5bc}
.cap-81{--cell-fill:#eed4bc}
.cap-82{--cell-fill:#edd3bc}
.cap-83{--cell-fill:#edd2bc}
.cap-84{--cell-fill:#edd1bc}
.cap-85{--cell-fill:#ecd0bc}
.cap-86{--cell-fill:#eccfbc}
.cap-87{--cell-fill:#eccebc}
.cap-88{--cell-fill:#eccdbc}
.cap-89{--cell-fill:#ebccbc}
.cap-90{--cell-fill:#ebccbc}
.cap-91{--cell-fill:#ebcbbd}
.cap-92{--cell-fill:#eacabd}
.cap-93{--cell-fill:#eac9bd}
.cap-94{--cell-fill:#eac8bd}
.cap-95{--cell-fill:#eac7bd}
.cap-96{--cell-fill:#e9c6bd}
.cap-97{--cell-fill:#e9c5bd}
.cap-98{--cell-fill:#e9c4bd}
.cap-99{--cell-fill:#e8c3bd}
.cap-100{--cell-fill:#e8c2bd}
.cap-none{--cell-fill:#ffffff}

/* Packing: preview above, independently scrolling label list below. */
.packing-top .previews{min-height:0;margin:0;grid-template-columns:2fr 1fr;gap:16px;height:100%}
.packing-top .previews>div{min-height:0;padding:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.packing-top .previews img{width:100%;height:100%;max-height:100%;object-fit:contain}
.packing-top,.packing-bottom{min-height:0}
.packing-top .toolbar,.packing-bottom .toolbar{gap:8px;margin:0;flex-wrap:wrap}
.packing-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
#labels-table th{position:sticky;top:0;z-index:1;background:#edf3f3}
#labels-table td{padding:7px 12px}
.row-print{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;min-height:32px}
.packing-help{position:relative;font-size:12px;color:#526d70}
.packing-help summary{cursor:pointer;padding:5px 0}
.packing-help-body{max-height:220px;overflow:auto;overscroll-behavior:contain;padding:12px;background:white;border:1px solid #cfdddd;border-radius:8px}
@media(min-width:1000px) and (min-height:600px){
 body:has(#packing:not([hidden])){height:100dvh;overflow:hidden}
 body:has(#packing:not([hidden])) main{height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;min-height:0;padding:12px 24px}
 body:has(#packing:not([hidden])) .metrics{display:none}
 body:has(#packing:not([hidden])) header{flex-shrink:0;margin-bottom:6px}
 body:has(#packing:not([hidden])) #notice{flex-shrink:0;margin-bottom:8px;padding:8px 12px}
 #packing:not([hidden]){flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px}
 #packing .card{margin:0;padding:12px 16px}
 .packing-top{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}
 .packing-bottom{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:6px}
 .packing-help[open] .packing-help-body{position:absolute;bottom:100%;left:0;right:0;z-index:3;box-shadow:0 3px 18px #12333326}
 #packing button,#packing select{font-size:12px;min-height:34px;padding:7px 10px}
}
@media(max-width:999px),(max-height:599px){
 .packing-top .previews{height:240px}
 .packing-scroll{max-height:45vh}
}

/* More readable labels; keep text below the existing button-defined row height. */
#labels-table tbody td{font-size:15px;font-weight:600;line-height:20px}

.pair-hint{color:#7e898a;font-weight:400}
.production-workspace{display:grid;grid-template-columns:minmax(360px, .85fr) minmax(0,1.4fr);gap:16px;align-items:start}
.prod-list{position:sticky;top:12px}.prod-list .table-wrap{max-height:68vh;overscroll-behavior:contain;margin-top:12px}
#prod-orders small{display:block;color:#6b7c7a;font-size:11px;margin-top:5px}#prod-orders th{position:sticky;top:0}#prod-orders td{padding:10px 8px}
.prod-photo-wrap{height:55vh;min-height:300px;display:flex;align-items:center;justify-content:center;background:#f5f8f7;border-radius:10px;overflow:hidden}.prod-photo-wrap img{width:100%;height:100%;object-fit:contain}
.prod-side-banner{background:#d9ede7;padding:14px;border-radius:8px;margin:12px 0}.prod-side-banner strong{font-size:25px;display:block}.prod-side-banner span{display:block;white-space:pre-wrap;margin-top:6px}
.prod-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.prod-steps>div{border:1px solid #d8e6e2;border-radius:8px;padding:12px}.prod-steps>div:last-child{grid-column:1/-1}.prod-steps button{margin-top:8px}.prod-steps b{display:block}
#prod-note{width:100%;font:inherit;box-sizing:border-box;border:1px solid #d5e1de;border-radius:6px;padding:8px}
#dtf-cells{display:grid;grid-template-columns:repeat(10,minmax(48px,1fr));gap:8px;max-height:360px;overflow:auto;padding:4px}
#dtf-cells button{display:flex;flex-direction:column;gap:4px}#dtf-cells small{color:#758584}#dtf-cells [aria-checked=true]{background:#c9e7e1;border-color:#087f73}
#dtf-quantity{max-width:100px;min-width:70px!important}#prod-card h2{font-size:22px}#prod-blank{font-size:18px;font-weight:600}
@media(max-width:1000px){.production-workspace{grid-template-columns:1fr}.prod-list{position:static}.prod-list .table-wrap{max-height:35vh}#dtf-cells{grid-template-columns:repeat(5,minmax(45px,1fr))}}

.packing-top:has(#produced-bind:not([hidden])){grid-template-rows:auto auto minmax(0,1fr)}#produced-bind input{min-width:130px!important}#produced-mark{flex:2}#produced-order{max-width:420px}.prod-worker{font-weight:600}
nav button{white-space:normal;width:100%;min-width:0;text-align:left}nav button span{min-width:0}
body:has(#production:not([hidden])) .metrics{display:none}

#prod-photo{cursor:zoom-in}

.brand{gap:10px;align-items:center}.brand img{width:40px;height:40px;object-fit:contain;background:transparent;border-radius:0;flex-shrink:0}.brand span{font-size:19px}.brand small{display:block;letter-spacing:1px;font-size:11px;line-height:1.5}

nav button{display:flex;align-items:center;gap:10px}.nav-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.catalog-production-grid{display:grid;grid-template-columns:minmax(300px,1fr) minmax(300px,1fr);gap:24px;align-items:start}.catalog-production-grid>.table-wrap{max-height:62vh;overscroll-behavior:contain}#cp-table th{position:sticky;top:0}#cp-note{width:100%;box-sizing:border-box;padding:10px;font:inherit;border:1px solid #cfdddd;border-radius:6px}#cp-editor h2{overflow-wrap:anywhere}#cp-editor input,#cp-editor select{width:100%;box-sizing:border-box}.toolbar button[aria-pressed=true]{background:#c9e7e1;border-color:#087f73}@media(max-width:1000px){.catalog-production-grid{grid-template-columns:1fr}}

#cp-locations{max-height:360px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #d6e3df;border-radius:8px;padding:10px}.cp-rack+.cp-rack{margin-top:18px}.cp-rack h3{margin:0 0 8px;font-size:13px;color:#526f69}.cp-cell-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}.cp-cell-grid button{padding:7px 1px;min-width:0;font-size:11px;min-height:34px;border:1px solid #cadbd5;background:#f7faf9;color:#244a43}.cp-cell-grid button[aria-checked=true]{background:#c0e4da;border:2px solid #087f73;padding:6px 0;font-weight:700;color:#10463c}.cp-cell-grid button[aria-checked=true]:hover{background:#b3ddcf}#cp-locations-summary{overflow-wrap:anywhere}@media(max-width:1200px){.cp-cell-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}

.cp-shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 12px}.cp-shelf-grid>b{text-align:center;position:sticky;top:-10px;background:#f3f8f6;padding:8px;z-index:1}.cp-shelf-grid button{padding:8px;min-height:36px;background:#f7faf9;color:#244a43}.cp-shelf-grid button[aria-checked=true]{background:#c0e4da;border:2px solid #087f73;font-weight:700;color:#10463c}.cp-shelf-grid button[aria-checked=true]:hover{background:#b3ddcf}.cp-photo-wrap{display:flex;align-items:center;justify-content:center;background:#f4f7f6;border-radius:8px;min-height:100px;margin-bottom:16px}.cp-photo-wrap img{max-width:100%;height:310px;object-fit:contain;cursor:zoom-in}#cp-editor h3{font-size:15px;margin:12px 0}#cp-locations-label{display:block;margin-top:18px;font-weight:700}

.prod-thumb{display:block;width:52px;height:60px;object-fit:contain;border-radius:5px;background:#f4f7f6;font-size:10px}#prod-orders td.prod-photo-cell{width:60px;padding:6px}

.prod-label-tools{border-top:1px solid #d6e3df;padding-top:10px;margin-top:14px}#prod-copies{width:70px}#prod-mark{min-width:220px;flex:2}#prod-barcode{min-width:180px;flex:1}#prod-orders [data-prod-print]{padding:6px;font-size:18px}

.prod-blank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;max-width:1250px}.blank-item{display:grid;grid-template-columns:minmax(0,1fr) 42px 52px;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d8e4e0;border-radius:6px;background:#f8faf9;font-size:13px}.blank-item strong{overflow-wrap:anywhere}.blank-item>b{text-align:right}@media(max-width:1300px){.prod-blank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:750px){.prod-blank-grid{grid-template-columns:1fr}}

#prod-copies{flex:0 0 70px;width:70px;min-width:70px}#produced-bind .toolbar[hidden]{display:none}

.production-workspace{grid-template-columns:minmax(0,7fr) minmax(0,3fr)}.row-mark{width:100%;min-width:150px;box-sizing:border-box;font-size:13px}#prod-orders td:nth-child(7){width:20%}#prod-orders th,#prod-orders td{padding:8px}#prod-copies{flex:0 0 70px}@media(max-width:1000px){.production-workspace{grid-template-columns:1fr}}

/* Production fits the viewport; only task and expanded blank lists scroll. */
@media(min-width:1001px){
 body:has(#production:not([hidden])){height:100dvh;overflow:hidden}
 body:has(#production:not([hidden])) main{height:100dvh;display:flex;flex-direction:column;padding:10px 20px;max-width:none;min-height:0}
 body:has(#production:not([hidden])) header{margin:0 0 6px;flex-shrink:0}
 body:has(#production:not([hidden])) h1{font-size:22px;margin:0}
 body:has(#production:not([hidden])) .eyebrow{display:none}
 body:has(#production:not([hidden])) #notice{padding:7px 12px;margin:0 0 7px;max-height:52px;overflow:auto;flex-shrink:0}
 #production:not([hidden]){display:flex;flex-direction:column;gap:8px;flex:1;min-height:0}
 #production .card{margin:0;padding:12px;border-radius:10px}
 #production>.card:first-child{flex-shrink:0;padding:8px 12px}
 #production>.card:first-child>.muted{margin:3px 0 0;font-size:11px}
 #production .toolbar{margin:0;gap:8px}#production .toolbar label{margin:0}
 #production select,#production button,#production input{padding:7px 9px}
 #production .production-workspace{flex:1;min-height:0;align-items:stretch;gap:10px}
 #production .prod-list{position:static;display:flex;flex-direction:column;min-height:0;overflow:hidden}
 .prod-list-tools{display:flex;align-items:center;gap:10px;flex-shrink:0}
 .prod-list-tools h2{margin:0}.prod-list-tools label{margin:0 0 0 auto}.prod-list-tools #prod-copies{width:60px;flex-basis:60px}
 #production .prod-list .table-wrap{flex:1;min-height:0;max-height:none;margin-top:8px;overflow:auto;overscroll-behavior:contain}
 #production .prod-station{min-height:0;overflow:hidden;display:flex;flex-direction:column}
 #prod-card:not([hidden]){display:flex;flex-direction:column;min-height:0;flex:1;gap:6px}
 #prod-card h2{font-size:17px;margin:0;overflow-wrap:anywhere}
 #prod-card p{margin:0;font-size:12px;line-height:1.35}
 #prod-card .prod-side-banner{padding:8px 10px;margin:0;flex-shrink:0;max-height:90px;overflow:auto}
 #prod-card .prod-side-banner strong{font-size:19px}#prod-card .prod-side-banner span{font-size:12px;margin-top:3px}
 #prod-card .prod-photo-wrap{height:auto;min-height:0;flex:1}

 #prod-card #prod-blank{font-size:14px}
 #prod-card>p:last-child{font-size:10px}
 #production .prod-blanks-panel{flex-shrink:0;padding:8px 12px;max-height:25vh;overflow:auto;overscroll-behavior:contain}
 #production .prod-blanks-panel summary{cursor:pointer;font-weight:600}
 #production .prod-blanks-panel[open] .prod-blank-grid{margin-top:7px}
}
#prod-orders tbody tr{height:64px}#prod-orders td.prod-photo-cell{position:relative;width:60px;min-width:60px;padding:0}
#prod-orders .prod-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:0;display:block}

#prod-orders thead th{position:sticky;top:0;z-index:5;background:#edf3f2;background-clip:padding-box}#prod-orders{isolation:isolate}#prod-orders tbody td{z-index:auto}

.prod-list-tools #prod-density{max-width:100px}.prod-list-tools label{white-space:nowrap}
.mark-state{display:block;font-size:12px;line-height:1.35}.mark-error,.mark-conflict{color:#a33232;font-weight:600}.mark-valid{color:#15705a}.mark-pending,.mark-unknown{color:#88621c}[data-marking-index]{min-width:185px}[data-marking-index] small{display:block;color:#82918e;font-size:10px}[data-retry-marking]{font-size:11px;margin-top:4px;padding:5px 7px}

.account-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.account-fields input,.account-fields select{width:100%;margin-top:6px}#accounts-list{margin-top:18px}#account-message{margin-left:14px}.login-body{display:grid;place-items:center;min-height:100vh}.login-card{width:min(420px,90vw);padding:32px}.login-card input{display:block;width:100%;margin:8px 0 20px}.login-card button{width:100%}[hidden]{display:none!important}@media(max-width:800px){.account-fields{grid-template-columns:1fr 1fr}}
.agent-download{display:inline-block;color:#a9d8d5;line-height:1.45;margin-bottom:10px;text-decoration:underline;text-underline-offset:3px}.agent-download:hover{color:#fff}

.prod-list-tools #prod-tag-copies,.prod-list-tools #prod-bag-copies{width:52px;min-width:52px;flex:0 0 52px}.prod-list-tools label{margin-left:4px;font-size:12px}

.prod-list-tools .prod-auto-label{display:flex;align-items:center;gap:5px;white-space:nowrap}.prod-auto-label input{width:16px;min-width:16px;height:16px;margin:0}

.bound-mark-row,.mark-edit-row{display:flex;align-items:center;gap:6px;min-width:0}.bound-mark{display:block;color:#788888;font-size:11px;font-weight:400;font-family:monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.bound-mark-row button{font-size:11px;padding:5px;flex:none}.mark-edit-row .row-mark{min-width:0;flex:1}.mark-edit-row button{padding:5px 8px}
.bound-mark-row .bound-mark{width:0;flex:1 1 0}.bound-mark-row{max-width:320px}
.return-thumb{display:block;height:64px;width:48px;object-fit:contain}
#return-print-counts{display:inline-flex;gap:8px;align-items:center}#return-print-counts input{width:52px;min-width:52px;padding:6px}
.transfer-list .table-wrap{max-height:65vh;overflow:auto}.transfer-list th{position:sticky;top:0;background:#edf3f3;z-index:2}
@media(min-width:1000px) and (min-height:600px){
 #packing.return-layout:not([hidden]){grid-template-columns:minmax(0,7fr) minmax(0,3fr);grid-template-rows:auto minmax(0,1fr)}
 #packing.return-layout .packing-top{display:contents}
 #packing.return-layout .packing-top>.toolbar{grid-column:1/-1;grid-row:1;background:#fff;border:1px solid #dae6e3;border-radius:12px;padding:12px}
 #packing.return-layout .previews{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:10px;min-height:0;height:100%;padding:0}
 #packing.return-layout .previews>div{background:#fff;border:1px solid #dae6e3;border-radius:12px;width:100%;box-sizing:border-box}
 #packing.return-layout .previews>div:has(#packing-photo){order:0;flex:7}
 #packing.return-layout .previews>div:has(#label-preview){order:1;flex:3}
 #packing.return-layout .packing-bottom{grid-column:1;grid-row:2}
 #packing.return-layout #labels-table td{padding:4px 8px;font-size:14px}
 #packing.return-layout #labels-table td:nth-child(5),#packing.return-layout #labels-table td:nth-child(6){font-weight:600}
}

#return-print-counts input{width:52px!important;min-width:52px!important;max-width:52px;flex:none}

.agent-guide-link{background:transparent;color:#b9d9da;border:1px solid #426566;padding:9px 10px;text-align:left;font-size:12px;line-height:1.5;max-width:100%}
.agent-guide-link:hover,.agent-guide-link.active{background:#245858;color:white}
.agent-help-link{color:#087e75;border:0;background:transparent;padding:0;text-decoration:underline}
.agent-guide-open .metrics,.agent-guide-open #notice{display:none!important}
#print-agent{max-width:1350px;margin:0 auto}#print-agent h2{margin:0 0 14px}#print-agent p,#print-agent li{line-height:1.65}#print-agent li{margin-bottom:12px}#print-agent ol,#print-agent ul{padding-left:23px}
.agent-intro{display:flex;align-items:center;gap:32px;margin-bottom:16px}.agent-intro>div{flex:1}.agent-install{display:block;background:#087e75;color:white;text-decoration:none;padding:16px 24px;border-radius:9px;white-space:nowrap;font-weight:600}.agent-install:hover{background:#076a63}.agent-install small{display:block;font-weight:400;opacity:.85;margin-top:7px}.agent-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.agent-guide-grid .card{margin:0}
@media(max-width:900px){.agent-intro{align-items:stretch;flex-direction:column;gap:12px}.agent-guide-grid{grid-template-columns:1fr}.agent-install{white-space:normal}}
.agent-guide-link{white-space:normal;overflow-wrap:break-word;box-sizing:border-box;width:100%}

#transfer-table td{padding:3px 12px;height:30px;box-sizing:border-box;line-height:20px}
#transfer-table .marking-inline{display:flex;align-items:center;gap:10px;white-space:nowrap}
#transfer-table .mark-state,#transfer-table [data-marking-index] small{display:inline;flex:none}
#transfer-table [data-retry-marking]{margin:0;padding:2px 7px;line-height:20px;min-height:0;flex:none}
#transfer-table input[type=checkbox]{margin:0;vertical-align:middle}

.transfer-open .metrics{display:none!important}
.marking-tracker{padding:16px 22px!important}.tracker-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tracker-heading h2{margin:0;font-size:16px}.tracker-heading>span{font-size:12px;color:#5e7779}.tracker-bar{display:flex;height:7px;border-radius:8px;overflow:hidden;background:#eef2f3;margin:14px 0}.tracker-bar span{min-width:0}.tracker-stages{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.tracker-step{padding:10px 12px;border-radius:8px;color:#28494b}.tracker-label{font-size:12px;line-height:18px}.tracker-step strong{display:block;font-size:25px;line-height:32px}.tracker-step small{display:block;font-size:11px;color:#567174;line-height:16px}.track-missing{background:#e9edef}.track-accepted{background:#e4eef2}.track-pending{background:#f2eddf}.track-valid{background:#d9ece5}.track-error{background:#f3e2e0}.track-unknown{background:#ede9ef}.tracker-bar .track-missing{background:#abb9c0}.tracker-bar .track-accepted{background:#82aebb}.tracker-bar .track-pending{background:#c9b777}.tracker-bar .track-valid{background:#5b9c87}.tracker-bar .track-error{background:#c18e87}.tracker-bar .track-unknown{background:#b0a1b6}.tracker-note{font-size:11px;color:#71878a;margin:10px 0 0;line-height:16px}
@media(max-width:1150px){.tracker-stages{grid-template-columns:repeat(3,minmax(0,1fr))}.tracker-heading{flex-wrap:wrap}}

.tracker-step{display:grid;grid-template-columns:minmax(0,1fr) 58px;grid-template-rows:1fr 1fr;padding:0;overflow:hidden;min-height:58px;border:1px solid #d8e3e3;background:#fafcfc;align-items:center;column-gap:0}
.tracker-step .tracker-label{grid-column:1;grid-row:1;padding:6px 9px 0;align-self:end;font-weight:600;line-height:16px}
.tracker-step small{grid-column:1;grid-row:2;padding:0 9px 6px;align-self:start;font-size:10px;line-height:14px}
.tracker-step strong{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:center;align-self:stretch;width:58px;min-height:58px;font-size:28px;font-weight:700;border-left:1px solid #d8e3e3;font-variant-numeric:tabular-nums}
.tracker-step.track-missing strong{background:#e9edef}.tracker-step.track-accepted strong{background:#e4eef2}.tracker-step.track-pending strong{background:#f2eddf}.tracker-step.track-valid strong{background:#d9ece5}.tracker-step.track-error strong{background:#f3e2e0}.tracker-step.track-unknown strong{background:#ede9ef}
.reserve-summary{padding:10px 12px;border-radius:8px;background:#f2eddf;color:#655930;font-size:13px}.reserve-warning-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;border-top:1px solid #e5eded}

.closed-return-view #packing.return-layout{grid-template-columns:1fr}.closed-return-view #packing .previews{display:none}.closed-return-view #packing .packing-bottom{grid-column:1/-1}

.reserve-summary{flex-basis:100%;margin:2px 0}.closed-return-view .packing-help[open] .packing-help-body{position:static;max-height:none;box-shadow:none}

#transfer:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:16px;align-items:stretch}
#transfer>.card{margin:0;min-width:0}#transfer>.transfer-list{grid-column:1/-1}
#transfer .tracker-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#transfer .tracker-heading{flex-wrap:wrap;gap:6px}#transfer .tracker-bar{margin:10px 0}#transfer .tracker-note{margin-top:8px}
#transfer>.card:first-child{display:flex;flex-direction:column;justify-content:center;padding:20px}#transfer>.card:first-child .toolbar{gap:8px}#transfer-supply{min-width:200px;flex:1;width:auto;max-width:100%}
@media(max-width:1450px){#transfer:not([hidden]){grid-template-columns:minmax(0,1fr)}#transfer>.transfer-list{grid-column:1}}

.agent-footer-link{color:#b9d9da;text-decoration:underline;font-size:12px}.agent-footer-link:hover{color:white}
aside{padding:20px 14px;gap:0}.nav-label{margin:24px 10px 12px}aside nav{display:flex;flex-direction:column;gap:3px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1}aside nav button{flex:none;padding:9px 10px;gap:9px;font-size:13px;line-height:18px;min-height:38px;border-radius:8px}aside nav .nav-icon{width:18px;height:18px;flex-shrink:0}aside footer{flex:none;margin-top:12px;font-size:11px;line-height:1.8}aside .brand img{width:34px;height:34px}aside .brand span{font-size:18px}

#nav-collapse{align-self:flex-end;background:transparent;color:#a6c9c8;border:1px solid #365658;padding:4px;width:28px;height:28px;margin:0 0 6px;display:flex;align-items:center;justify-content:center;flex:none}



.home-open .metrics,.home-open #notice{display:none!important}#home{max-width:1250px;margin:auto}.home-welcome{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:310px;padding:28px 12px}.home-welcome p{color:#708a8b;font-size:14px}#home-logo{display:flex;align-items:center;gap:22px;background:#102f32;color:white;border:0;border-radius:22px;padding:36px 48px;box-shadow:0 12px 35px #163d3c14;text-align:left}#home-logo:hover{background:#194448}#home-logo img{width:95px;height:110px;object-fit:contain}#home-logo>span{font-size:38px;letter-spacing:1px}#home-logo small{display:block;font-size:17px;font-weight:400;letter-spacing:2px;color:#a5d0cc;margin-top:6px}.home-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-section{display:flex;align-items:flex-start;gap:12px;text-align:left;white-space:normal;padding:20px;min-height:125px;background:white}.home-section .nav-icon{flex:none;width:23px;height:23px;color:#27877f}.home-section>span{flex:1;min-width:0}.home-section strong{display:block;font-size:15px;line-height:21px}.home-section small{display:block;font-size:12px;font-weight:400;line-height:19px;color:#6d8588;margin-top:8px}.home-section .home-arrow{flex:none;color:#54968d}#home-sections>h2{font-size:20px;margin-bottom:16px}.home-section[hidden]{display:none!important}@media(max-width:1100px){.home-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.home-section-grid{grid-template-columns:1fr}#home-logo{padding:26px;gap:12px}#home-logo>span{font-size:26px}#home-logo img{width:65px;height:80px}}

.return-scan-cell{width:220px;min-width:180px}.return-scan-cell input{width:100%;min-width:0!important;padding:8px 9px;font-size:12px}.return-scan-cell small{display:block;color:#6a8583;font-size:10px;line-height:14px}.return-scan-cell small:empty{display:none}

/* Full marking code, compact rows; original GS separators are kept when copied. */
#transfer-table .transfer-code-cell{width:310px;min-width:250px}
.transfer-code{display:flex;align-items:center;gap:5px}
#transfer-table .transfer-code input{width:100%;min-width:0;height:26px;padding:2px 6px;font:11px monospace;color:#61767a;background:#f7faf9;border:1px solid #e1e9e8;border-radius:4px}
#transfer-table .transfer-code button{flex:none;min-height:0;height:26px;padding:0 7px;font-size:19px;line-height:22px}
.clipboard-buffer{position:fixed;left:-9999px;top:0}
.print-pick-open .production-workspace,.print-pick-open .prod-blanks-panel{display:none!important}
.pick-workspace{display:grid;grid-template-columns:1fr 1fr;gap:24px}.pick-current{padding:16px;background:#edf6f2;border-radius:10px}.pick-current h2{margin:0 0 8px}.pick-quantity{font-size:28px;color:#087f75}.pick-current input{display:block;width:100%;margin-top:16px}.pick-photo img{width:100%;max-height:58vh;object-fit:contain;cursor:zoom-in}.pick-photo p{font-size:12px;color:#667f7d}.pick-queue{max-height:27vh;overflow:auto;margin-top:12px;display:grid;gap:6px}.pick-queue button{text-align:left}.pick-queue button.active{background:#cee8df;border-color:#087f75}#pick-shelf{font-size:22px;font-weight:bold;min-width:100px;width:150px}#pick-message{font-size:13px}@media(max-width:900px){.pick-workspace{grid-template-columns:1fr}.pick-photo img{max-height:40vh}}
.catalog-photo-cell{width:62px;padding:2px 8px!important;text-align:center}
.catalog-thumb{display:flex;align-items:center;justify-content:center;width:48px;height:56px;padding:0;border:0;background:transparent;cursor:zoom-in}
.catalog-thumb img{width:100%;height:100%;object-fit:contain}
.catalog-copy-value{display:inline-flex;gap:8px;align-items:center}
.catalog-copy-icon{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px;border:0;background:transparent;box-shadow:none;color:#75908f}
.catalog-copy-icon:hover{color:#087f75;background:transparent}
.catalog-photo-dialog{border:0;border-radius:12px;padding:16px;background:white;max-width:90vw;max-height:90vh;text-align:center}
.catalog-photo-dialog::backdrop{background:rgba(10,32,33,.7)}
.catalog-photo-dialog img{display:block;max-width:80vw;max-height:78vh;object-fit:contain;cursor:zoom-out}
.catalog-photo-dialog p{margin:10px 0 0;color:#587475;font-size:13px}
.catalog-photo-close{position:absolute;right:8px;top:8px;border:0;background:#ffffffdd;font-size:26px;padding:0 8px;min-height:30px}

#transfer .tracker-step{text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s;background:#fafcfc;font-family:inherit;white-space:normal}
#transfer .tracker-step:hover{border-color:#72aaa4;background:#f3f9f7}
#transfer .tracker-step.is-active{border-color:#087f75;box-shadow:0 0 0 1px #087f75;background:#eaf6f2}
#transfer .tracker-step:focus-visible,#transfer .tracker-all:focus-visible{outline:2px solid #087f75;outline-offset:3px}
.tracker-footer{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:8px}
#transfer .tracker-footer .tracker-note{margin:0}
#transfer .tracker-all{padding:3px 12px;min-height:27px;font-size:11px;flex:none;border-radius:6px}
#transfer .tracker-all[aria-pressed=true]{background:#e2f1ed;border-color:#91bfb5;color:#155d56}
.tracker-filter-summary{margin:6px 0 0;font-size:11px;color:#607c78;min-height:0}
.tracker-filter-summary:empty{display:none}
#transfer-table tbody tr[hidden]{display:none!important}

#transfer-table .transfer-code button{border:0;background:transparent;box-shadow:none;padding:3px 5px;display:inline-flex;align-items:center;justify-content:center;color:#75908f;border-radius:0}
#transfer-table .transfer-code button:hover{color:#087f75;background:transparent}
#transfer-table .transfer-code button:focus-visible{outline:2px solid #087f75;outline-offset:1px}

.catalog-wb-link{display:inline-flex;align-items:center;padding:3px;color:#75908f;text-decoration:none}.catalog-wb-link:hover{color:#087f75}

#catalog-category{width:220px;max-width:100%}#catalog-size{width:135px}#catalog-search{min-width:180px;flex:1}#catalog-products-panel>.toolbar{flex-wrap:wrap}


#catalog-products-panel #catalog-design{width:150px;min-width:130px}#catalog-products-panel #catalog-size{width:145px;min-width:130px}#catalog-reset{display:inline-flex;align-items:center;justify-content:center;padding:10px;color:#567c78}#catalog-reset:hover{color:#087f75;background:#eaf5f1}
/* Separate package and tag actions, compact row height. */
.sticker-actions{white-space:nowrap}.sticker-actions .row-print+.row-print{margin-left:5px}#packing-photo,#label-preview,.return-thumb{cursor:zoom-in}#return-preview-caption{display:block;color:#6d8589;font-size:11px;padding:4px 8px}.return-scan-cell small{display:block;color:#71868a;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#packing .previews>div:has(#label-preview){flex-direction:column}#packing .previews #label-preview{min-height:0;flex:1;height:0}#return-preview-caption{flex:none;text-align:center}#packing:not(.return-layout) #return-preview-caption{display:none}

.track-canceled strong{background:#e8e7e5!important}.tracker-bar .track-canceled{background:#999b99}.mark-canceled{color:#777e7d}#transfer .tracker-step.track-canceled{grid-column:1/-1}

#transfer-table .transfer-photo-cell{width:38px;padding:1px 5px}.transfer-thumb{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;background:none;cursor:zoom-in}.transfer-thumb img{display:block;width:28px;height:28px;object-fit:contain}

/* Print picking: compact address controls and an explicit inline editor. */
.pick-address{margin:16px 0}.pick-address>label{display:block;margin-bottom:6px;color:#587477;font-size:12px}
.pick-address-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pick-address-actions #pick-shelf{width:210px;max-width:100%;margin:0;font-size:18px;height:42px}
.pick-address-actions button{margin:0}
#pick-location-editor:not([hidden]){display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding:12px;background:#fff;border:1px solid #cfdfdf;border-radius:8px}
#pick-location-editor label{font-size:12px;color:#587477;margin:0 4px 0 0}
#pick-location-editor select{width:110px;margin:0}
#pick-location-editor button{margin:0}

.pick-cell-scan{flex-basis:100%;display:grid;gap:6px}.pick-current .pick-cell-scan input{margin:0}.pick-cell-scan span{font-size:12px;color:#587477}.pick-blank-summary{font-size:12px;color:#587477}

.prod-list-tools{flex-wrap:wrap;gap:8px}.prod-print-order{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prod-print-order #prod-sort{width:175px}.prod-print-order #prod-density{width:65px}

.prod-list-tools{gap:6px;flex-wrap:nowrap}.prod-list-tools h2{font-size:16px}.prod-list-tools label{margin-left:0;font-size:11px}.prod-list-tools #prod-filter{width:122px;min-width:122px}.prod-list-tools #prod-tag-copies,.prod-list-tools #prod-bag-copies{width:44px;min-width:44px;flex-basis:44px}.prod-print-order{flex-wrap:nowrap;gap:6px}.prod-print-order #prod-sort{width:168px}.prod-list-tools input,.prod-list-tools select{padding-left:8px;padding-right:8px}
@media(max-width:1450px){.prod-list-tools{flex-wrap:wrap}}

#reservation-panel{margin-top:14px}#reservation-panel summary{font-weight:600;cursor:pointer}#reservation-supply{min-width:300px;max-width:100%}#reservation-panel .table-wrap{max-height:360px;margin-top:12px}#reservation-panel .reservation-danger{color:#a83c3c;border-color:#dec4c4}#reservation-panel input[type=checkbox]{width:16px;height:16px}
.allocation-layout{display:grid;grid-template-columns:minmax(0,66fr) minmax(0,34fr);gap:16px;margin-top:16px}.allocation-layout #pairs,.allocation-layout #allocation-flow{display:grid;gap:16px;align-content:start}.allocation-layout .pair{margin:0;min-height:160px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;padding:14px}.allocation-layout .pair>div{min-width:0}.allocation-layout .pair select{font-size:12px}.allocation-layout .pair-hint{display:none}.allocation-layout .pair label{font-size:12px}.allocation-flow-card{border:1px solid #dce7e3;background:#f8fbfa;border-radius:10px;padding:14px;min-height:160px}.allocation-flow-title{display:flex;justify-content:space-between;gap:8px;font-size:14px}.allocation-flow-status{font-size:10px;color:#718788;text-align:right}.allocation-flow-numbers{display:flex;align-items:center;gap:7px;margin:12px 0}.allocation-tile{flex:1;min-width:0;text-align:center;border-radius:7px;padding:7px 3px;background:#eaf0f1}.allocation-tile strong{display:block;font-size:26px;line-height:1.1;font-variant-numeric:tabular-nums}.allocation-tile span{font-size:10px;display:block;margin-top:4px}.allocation-returns{background:#dceee8;color:#176f61}.allocation-production{background:#e3edf4;color:#365f7b}.allocation-arrow{color:#86a5a1}.allocation-flow-card small{font-size:10px;color:#73888a}@media(max-width:1200px){.allocation-layout{grid-template-columns:1fr}.allocation-layout #allocation-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.allocation-layout .pair{grid-template-columns:1fr}.allocation-layout #allocation-flow{grid-template-columns:1fr}}
#tg-login{text-align:center;border-bottom:1px solid #dce7e3;padding-bottom:12px;margin-bottom:12px}#tg-qr{width:230px;max-width:100%;image-rendering:pixelated;margin-top:12px}#tg-code{font-size:24px;letter-spacing:4px}#tg-login-status{font-size:12px;color:#637c7d}#tg-people select{min-width:220px}#tg-people small{color:#73888a}.login-card{max-width:460px}

/* Compact employee and Telegram setup. */
.tg-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tg-heading h2,.tg-heading #tg-admin-status{margin:0}.tg-heading #tg-refresh{margin-left:auto}.tg-config summary{cursor:pointer;font-size:12px;color:var(--muted,#607d82)}.tg-config[open]{flex-basis:100%}.tg-config-fields{display:flex;align-items:center;gap:8px;margin-top:8px}.tg-config-fields input{flex:1;min-width:120px}.tg-config-fields label{margin:0;white-space:nowrap}.tg-help{margin:10px 0;font-size:12px}
#tg-people td,#tg-people th{padding:7px 10px}#tg-people small{margin-left:6px;white-space:nowrap}#tg-people select{min-width:150px;max-width:240px;padding:6px 9px;height:32px}#tg-people button{padding:6px 10px;min-height:30px;font-size:12px}#tg-people .tg-delivery{max-width:260px;font-size:11px}#tg-people td:nth-child(3){white-space:nowrap}
.accounts-card .account-fields{display:grid;grid-template-columns:minmax(145px,1.4fr) minmax(100px,1fr) minmax(120px,1fr) minmax(135px,1.1fr) minmax(115px,1fr) auto auto auto;align-items:end;gap:8px}.accounts-card .account-fields label{margin:0;font-size:11px;min-width:0}.accounts-card .account-fields input:not([type=checkbox]),.accounts-card .account-fields select{width:100%;min-width:0;height:34px;padding:6px 9px;margin-top:4px}.accounts-card .account-fields .account-active{display:flex;align-items:center;gap:5px;height:34px;white-space:nowrap}.accounts-card .account-fields button{height:34px;padding:6px 12px;white-space:nowrap}.accounts-card #account-message{display:block;margin:6px 0;font-size:12px}.accounts-card h2{margin:0 0 8px}.accounts-card>p{font-size:12px;margin:0 0 12px}
@media(max-width:1150px){.accounts-card .account-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.tg-config-fields{flex-wrap:wrap}#tg-people small{display:block;margin-left:0}}

#accounts-list td,#accounts-list th{padding:8px 10px}.account-telegram{display:flex;gap:8px;align-items:center}.account-telegram small{font-size:11px;max-width:220px}.account-telegram button{padding:5px 9px;font-size:12px;min-height:28px;margin-left:auto}
.accounts-card .account-fields input[type=checkbox]{width:17px;height:17px;margin:0}

.speech-controls{gap:12px;align-items:center}.speech-controls label{display:flex;align-items:center;gap:7px;margin:0}.speech-controls input[type=checkbox]{width:17px;height:17px;margin:0}.speech-controls select{width:125px;min-width:0}.speech-controls label select#speech-speed{width:85px}

/* Intake: photo alongside a legible article, design and size. */
#intake .intake-product-preview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;text-align:left;align-items:stretch;place-items:stretch}
#intake .intake-product-image{position:relative;min-width:0;min-height:0;display:grid;place-items:center;text-align:center}
#intake .intake-product-image img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain}
#intake #intake-product-details{min-width:0;align-self:center;display:flex;flex-direction:column;gap:12px;padding:10px 6px}
#intake #intake-product-details[hidden]{display:none}
#intake #intake-article-base{font-size:clamp(16px,1.6vw,30px);font-weight:600;overflow-wrap:anywhere;line-height:1.25}
#intake #intake-design{font-size:clamp(32px,3.3vw,60px);line-height:1.1;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#087e72}
#intake #intake-size{font-size:clamp(52px,5.4vw,100px);line-height:1.3;overflow-wrap:anywhere;margin-top:14px;font-weight:800;letter-spacing:-2px}
@media(max-width:999px){#intake .intake-product-preview{min-height:230px}#intake .intake-product-image{min-height:210px}}

#intake .intake-check-hint{font-size:12px;line-height:1.4;color:#748888;font-weight:400}

#intake #intake-product-details{gap:8px;padding:4px 6px;color:#233637}
#intake #intake-size{color:#102f32;margin-top:6px;font-size:min(clamp(52px,5.4vw,100px),calc(var(--intake-height,300px) * .27))}
#intake #intake-design{font-size:min(clamp(32px,3.3vw,60px),calc(var(--intake-height,300px) * .15))}

#intake #intake-article-base{font-size:min(clamp(16px,1.6vw,30px),calc(var(--intake-height,300px) * .095))}
#intake #intake-product-details{gap:5px;padding:0 6px}

body.warehouse-header header{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.warehouse-header header>.metrics{margin:0 0 0 auto;gap:8px;flex-wrap:wrap}
body.warehouse-header header>.metrics>div{padding:6px 10px;min-width:0;gap:10px}
body.warehouse-header header>.metrics b{font-size:23px}
body.warehouse-header header>.metrics span{font-size:11px;max-width:90px}
.stock-thumb{width:44px;height:54px;padding:2px;border:1px solid #dce7e3;border-radius:6px;display:grid;place-items:center}
.stock-thumb img{width:100%;height:100%;object-fit:contain}
@media(max-width:1100px){body.warehouse-header header>.metrics{order:3;width:100%;margin:0}}

#stock .stock-thumb,#stock .stock-thumb:hover{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
.kiz-view{display:inline-flex;flex-direction:column;gap:4px;max-width:100%;vertical-align:middle;text-align:left}
.kiz-view code{font:11px/1.4 monospace;overflow-wrap:anywhere;color:#244548}
.kiz-actions{display:flex;gap:4px;flex-wrap:wrap}
.kiz-actions button{font-size:10px!important;padding:3px 6px!important;line-height:14px!important}
.scan-kiz-preview{display:block;margin-top:4px;min-width:0;grid-column:1/-1}
.scan-kiz-preview[hidden]{display:none}
.bound-mark-row .kiz-view{min-width:0}

/* One allocation card contains its selections, guidance and result. */
#orders .allocation-layout{display:block;margin-top:16px}
#orders #pairs{display:grid;gap:16px}
#orders .allocation-layout .pair{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:14px 22px;align-items:start;padding:18px;min-height:0}
#orders .pair[hidden]{display:none}
#orders .pair-title{grid-column:1/-1;align-items:center;padding-bottom:10px;border-bottom:1px solid #edf1f0}
#orders .pair-title b{font-size:16px}
#orders .pair-title label{font-weight:400;margin:0}
#orders .pair-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}
#orders .pair-fields>div{min-width:0}
#orders .pair-fields label{margin:0 0 8px;font-size:13px}
#orders .pair-destination{display:flex;gap:8px}
#orders .pair-destination select{min-width:0;flex:1}
#orders .allocation-layout .pair-hint{display:block;color:#6a8182;font-size:12px;line-height:1.5;margin:8px 0 0}
#orders .pair-result{border-left:1px solid #e0e8e7;padding-left:22px;min-width:0;align-self:stretch}
#orders .allocation-flow-status{font-size:12px;text-align:left}
#orders .allocation-flow-numbers{margin:10px 0}
#orders .allocation-result-note{font-size:11px;line-height:1.5;color:#718788;display:block}
#orders #plan-summary{font-size:13px;line-height:1.6}
@media(max-width:1250px){#orders .allocation-layout .pair{grid-template-columns:1fr}#orders .pair-result{border-left:0;border-top:1px solid #e0e8e7;padding:12px 0 0}#orders .allocation-flow-numbers{max-width:650px}}
@media(max-width:650px){#orders .pair-fields{grid-template-columns:1fr}#orders .pair-title{align-items:start;flex-direction:column;gap:10px}}

.chz-metrics,.chz-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chz-metrics span{background:#e9f2f0;padding:12px 18px}.chz-metrics b{font-size:24px;margin-left:12px}.chz-tools input{flex:1;min-width:180px}.chz-tools select{max-width:450px}.chz-document{padding:16px 0;border-bottom:1px solid #dde7e6}.chz-document p{overflow-wrap:anywhere}.chz-warning{color:#8b4c00}#chz-import-result{white-space:pre-wrap;overflow-wrap:anywhere}.chz-table{overflow:auto;max-height:60vh;margin:12px 0}.chz-table td:first-child{font-family:monospace;white-space:nowrap}.chz-table th{position:sticky;top:0;background:#edf4f3}.chz-table td{vertical-align:top}body:has(#chz:not([hidden])) .metrics{display:none}

#chz .chz-table td:last-child button{display:block;margin-bottom:6px;white-space:nowrap}

#czs-rows td:first-child{font-family:inherit;white-space:normal}#czs-rows td:nth-child(3){font-family:monospace;overflow-wrap:anywhere}#czs-meta{font-weight:600}#czs-import-result{white-space:pre-wrap}

.czs-explanation{font-size:20px;line-height:1.5;font-weight:600;max-width:950px}.czs-source{margin-bottom:14px}#czs-counts{margin:20px 0}#czs-counts button{display:flex;gap:14px;align-items:center;padding:15px 18px;border-radius:12px;background:#eef5f3}#czs-counts button[aria-pressed="true"]{border:2px solid #00857b;background:#def1ea}#czs-counts b{font-size:25px}#czs-rows td:nth-child(3){font-family:inherit;min-width:150px}#czs-rows td:nth-child(4){min-width:210px;max-width:360px}#czs-rows td:last-child{min-width:130px;max-width:280px}#czs-rows code{display:block;overflow-wrap:anywhere;white-space:normal;font-size:12px;margin:10px 0}.czs-reason{font-weight:600}.czs-review .czs-reason,.czs-missing .czs-reason{color:#8b4c00}#czs-documents>summary{font-weight:600;font-size:17px;padding:8px 0}#czs-documents:not([open]){padding:18px 24px}

.czl-result{font-size:13px;font-weight:500;border-top:1px solid #ccd9d7;margin-top:10px;padding-top:10px;overflow-wrap:anywhere}#czl-cert{max-width:100%;width:100%}#czl-inn{max-width:220px}

/* CZ workspace 3.41.1 */
#chz .cz-connection{padding:18px 24px}#chz .cz-connection-head,#chz .cz-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.cz-eyebrow{font-size:10px;letter-spacing:1.5px;color:#718b90;font-weight:700}#chz #czl-state{margin:6px 0 0;font-weight:600}.cz-connected:before{content:'●';color:#199b77;margin-right:9px}.cz-disconnected:before{content:'●';color:#bc8432;margin-right:9px}#czl-settings-panel:not([open]){display:none}#czl-settings-panel>summary{margin-top:20px}#chz .cz-setup{border-top:1px solid #e2ebeb;margin-top:12px;padding-top:12px;max-width:850px}#chz .cz-setup-grid{display:flex;align-items:end;gap:12px;margin-bottom:16px}#chz .cz-setup-grid input{display:block;margin-top:6px}#chz .cz-help{color:#658087}#chz .cz-title-row h2{font-size:23px;margin:5px 0}#chz .czs-explanation{font-size:14px;color:#5a747b;font-weight:400;margin:10px 0 18px}#chz .cz-feedback{background:#edf6f3;color:#306358;border-radius:9px;padding:10px 14px;font-size:13px}#chz #czs-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}#chz #czs-counts button{flex-direction:column;align-items:flex-start;gap:9px;background:#f7fafa;border:1px solid #dfe9e9;color:#5f787d;padding:15px 20px}#chz #czs-counts button[aria-pressed=true]{border-color:#168b81;background:#e9f5f1;color:#205e58;box-shadow:inset 0 2px #168b81}#chz #czs-counts b{font-size:29px;color:#264b50}.cz-source-line{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:18px;font-size:12px;color:#6b8287}.cz-source-line .czs-source{max-width:600px}.cz-source-body{padding:14px;border:1px solid #e0e9e9;border-radius:10px;margin-top:10px}#chz .cz-inventory{max-height:none;overflow:visible;border:1px solid #e1eaea;border-radius:12px;margin-top:16px}#chz .cz-inventory table{width:100%;table-layout:fixed}#chz .cz-inventory th{background:#f4f8f8;padding:15px 16px;font-size:10px;letter-spacing:.6px}#chz .cz-inventory th:first-child{width:26%}#chz .cz-inventory th:nth-child(2){width:10%}#chz .cz-inventory th:nth-child(3){width:18%}#chz .cz-inventory th:nth-child(4){width:28%}#chz .cz-inventory td{padding:17px 16px;min-width:0;max-width:none;vertical-align:top;overflow-wrap:anywhere;font-family:inherit}#chz .cz-inventory strong{font-size:13px;font-weight:600}#chz .cz-inventory tr:hover{background:#fbfdfc}.cz-sub{display:block;font-size:12px;color:#7a8e92;margin-top:6px;line-height:1.4}.cz-cell{display:inline-block;background:#f0f5f5;padding:5px 8px;border-radius:5px;font-weight:600;white-space:nowrap}.cz-badge{display:inline-block;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:600;line-height:1.4}.cz-badge.good{background:#e6f5ed;color:#247653}.cz-badge.warn{background:#fff2df;color:#966314}.cz-badge.neutral{background:#edf1f3;color:#73828c}#chz .czl-result{border:0;margin:0;padding:0;font-weight:400}.cz-owner-alert{color:#a46613;font-weight:600}.cz-next{font-size:12px;line-height:1.5;color:#5b7479}#chz .cz-inventory details>summary{font-size:12px;font-weight:600;color:#347773;cursor:pointer}#chz .cz-inventory details button{font-size:11px;padding:7px;margin-top:6px}#chz #czs-documents>summary{font-size:14px}#chz .cz-inventory code{font-size:11px}
@media(max-width:1000px){#chz .cz-inventory{overflow-x:auto}#chz .cz-inventory table{min-width:740px}.cz-source-line{flex-wrap:wrap}#chz #czs-counts button{padding:12px}#chz .cz-title-row{align-items:start}}@media(max-width:650px){#chz .cz-connection-head,#chz .cz-title-row{flex-direction:column;align-items:stretch}#chz #czs-counts{gap:6px}#chz #czs-counts button{font-size:11px}#chz #czs-counts b{font-size:24px}.cz-setup-grid{flex-wrap:wrap}}
#notice:empty{display:none}

.catalog-brand{font-size:11px;font-weight:600;letter-spacing:.4px;color:#55767b;white-space:nowrap}

#inventory-panel .inv-cell{font-size:56px;font-weight:700;color:#087f75}#inv-form{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#inv-scan{flex:1;min-width:240px}#inventory-panel li{padding:5px}#inventory-panel{scroll-margin-top:20px}

.issue-done{color:#087f73;font-weight:700}.issue-pending{color:#946000;font-weight:700}.return-issued .return-scan-cell input{background:#edf7f3;color:#35594f;font-size:12px}#labels-check-all{width:18px;height:18px;accent-color:#087f73}

.issue-badge{display:table;margin-top:5px;padding:3px 7px;border-radius:6px;font-size:13px;white-space:nowrap}.issue-badge.issue-done{background:#def3e8;color:#136c49}.issue-badge.issue-pending{background:#fff1cc;color:#805400}

.wb-sales .toolbar{flex-wrap:wrap;gap:8px}.wb-sales input[type=date]{width:150px}.wb-sales #wbs-query{min-width:280px;flex:1}.wb-sales table{min-width:1500px}.wb-sales th{white-space:nowrap;position:sticky;top:0;background:#edf5f3}.wb-sales td{vertical-align:top}.wb-sales td button{padding:3px 6px;margin:3px}.wb-sales td:nth-child(11){max-width:245px;overflow-wrap:anywhere}.wb-sales #wbs-sync,.wb-sales pre{white-space:pre-wrap;overflow-wrap:anywhere}.wb-sales .table-wrap{max-height:65vh;overflow:auto}.wb-sales #wbs-detail{padding:16px;background:#edf5f3;margin-top:16px}

.mb-scan-line{display:grid;grid-template-columns:minmax(120px,1fr) minmax(180px,1.5fr) minmax(250px,2.5fr) minmax(170px,1.5fr);gap:12px;align-items:end}.mb-scan-line label{margin:0}.mb-scan-line input,.mb-scan-line select{width:100%;box-sizing:border-box}.mb-photo{padding:2px;border:0;background:transparent;vertical-align:middle}.mb-photo img{width:62px;height:75px;object-fit:contain}.mb-error{color:#a52020;font-weight:600}.mb-success{color:#087f73;font-weight:600}#mb-photo-dialog{max-width:85vw;border:1px solid #d2e2e0;border-radius:12px}#mb-photo-large{display:block;max-width:78vw;max-height:75vh;object-fit:contain}#mb-photo-dialog::backdrop{background:#0009}#mb-preview strong{display:block;font-size:13px}@media(max-width:900px){.mb-scan-line{grid-template-columns:1fr 1fr}}@media(max-width:500px){.mb-scan-line{grid-template-columns:1fr}}

.mb-batch-toolbar{align-items:end}.mb-batch-toolbar label{flex:0 0 190px}.mb-batch-toolbar #mb-name{width:190px}#mb-date{width:190px;display:block}

.mb-prep-error{background:#fff1ed}.mb-prep-error td:nth-child(5){color:#a02c20}

#mb-order-start:not(:disabled){background:#087f75;color:white;font-weight:700;padding:14px 20px}

#mb-rows td:first-child{min-width:240px;width:280px}.mb-inline-scan{display:grid;gap:8px}.mb-inline-scan input{width:100%;min-width:0}.mb-inline-scan span{font-size:12px}.mb-tag-active{background:#e6f5f2}.mb-inline-scan button{justify-self:start}
/* Operator workbench: batch > scan > order > tags. */
#chz .mb-workspace{padding:28px;border:1px solid #dce7e5;box-shadow:0 4px 18px #153f3610}
.mb-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.mb-eyebrow{font-size:10px;letter-spacing:1.8px;color:#708984;font-weight:700}.mb-heading h2{font-size:27px;margin:8px 0}.mb-heading p{margin:0;color:#6b807d;font-size:13px}.mb-capacity{font-size:12px;background:#f0f5f4;color:#657e78;border-radius:20px;padding:9px 14px;white-space:nowrap}
.mb-batch-bar{display:flex;gap:10px;align-items:end;border-bottom:1px solid #e6eeeb;padding-bottom:22px;margin-bottom:22px}.mb-batch-bar label{margin:0;min-width:240px;font-size:12px;color:#58716a}.mb-batch-bar select{display:block;width:100%;margin-top:7px;font-weight:600}.mb-new-batch{display:flex;gap:10px;margin-left:auto;align-items:center}.mb-new-batch input{width:140px!important;border:0!important;background:transparent!important;color:#799089!important;font-size:12px!important}.mb-new-batch button{background:#e9f4f0;border-color:#c5ddd4;color:#14694f;font-weight:600}
.mb-scan-card{background:#f3f8f6;border:1px solid #dbeae3;border-radius:14px;padding:20px}.mb-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.mb-section-heading h3,.mb-order-card h3{font-size:16px;margin:0;display:flex;gap:10px;align-items:center}.mb-step{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#deece6;color:#2d6d56;font-size:12px}.mb-options{font-size:12px;color:#577468}.mb-options summary{cursor:pointer}.mb-options[open]{padding:12px;border-radius:8px;background:white}.mb-options label{display:block;margin:10px 0 0}.mb-workspace .mb-scan-line{grid-template-columns:180px minmax(190px,1fr) minmax(260px,1.5fr);gap:14px}.mb-scan-line label{font-size:12px;color:#4d695e;font-weight:600}.mb-scan-line input,.mb-scan-line select{margin-top:7px;min-height:48px;background:#fff}.mb-scan-line input:focus,.mb-inline-scan input:focus{outline:2px solid #168873;outline-offset:2px}#mb-preview:not(:empty){grid-column:1/-1;display:flex;align-items:center;gap:10px;padding-top:10px}.mb-scan-foot{display:flex;align-items:center;gap:10px;margin-top:12px;min-height:24px}.mb-scan-foot p{flex:1;margin:0;font-size:12px;color:#678074}.mb-scan-foot button{border:0;background:transparent;padding:5px;font-size:12px;color:#587467}
.mb-order-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;margin:0 0 22px;border-bottom:1px solid #e6eeeb}.mb-order-card p{font-size:13px;margin:9px 0 0;color:#587067}.mb-order-card .mb-order-consent{font-size:11px;color:#7b8d86;max-width:700px;line-height:1.5}#mb-order-start{min-width:230px;white-space:nowrap;border-radius:9px;padding:15px 18px}.mb-list-heading{margin-top:4px}.mb-muted{color:#7c8e88;font-size:12px}.mb-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.mb-metric{display:flex;align-items:center;justify-content:space-between;background:#f5f7f6;border-radius:9px;padding:13px 16px;gap:10px}.mb-metric span{font-size:12px;color:#60776e}.mb-metric strong{font-size:22px;color:#304c41}.mb-metric.done{background:#eaf6ef}.mb-metric.done strong{color:#247a50}.mb-metric.error{background:#fff0ec}.mb-metric.error strong{color:#b04c35}
.mb-table-wrap{overflow:auto;max-height:65vh;border:1px solid #e1e9e5;border-radius:12px}.mb-workspace table{width:100%;min-width:800px}.mb-workspace th{position:sticky;top:0;background:#f6f8f7!important;font-size:10px;letter-spacing:.6px;padding:15px!important;z-index:1}.mb-workspace td{padding:18px 15px!important;vertical-align:middle;border-bottom:1px solid #edf1ef}.mb-workspace th:first-child{width:230px}#mb-rows td:first-child{min-width:220px;width:250px}#mb-rows td:nth-child(2){min-width:230px}#mb-rows td:nth-child(3){width:85px}#mb-rows td:nth-child(4){min-width:200px}.mb-product{display:flex;align-items:center;gap:14px}.mb-product strong{font-size:13px;display:block;color:#294a3e}.mb-product-size{display:block;font-size:13px;margin-top:7px;font-weight:600}.mb-product-size span{font-weight:400;color:#88968f;font-size:11px}.mb-product small{display:block;margin-top:6px;font-size:10px;color:#84968c}.mb-workspace .mb-photo{padding:3px;background:#f6f8f6;border-radius:8px}.mb-workspace .mb-photo img{width:58px;height:66px}.mb-cell-badge{font-size:12px;padding:6px 9px;border-radius:6px;background:#f0f4f2;color:#4e6a5c;font-weight:600;white-space:nowrap}.mb-stage{display:inline-block;font-size:11px;font-weight:600;border-radius:20px;padding:6px 10px;background:#edf2f0;color:#5a7267}.mb-stage.done{background:#e3f3e9;color:#25784e}.mb-stage.print{background:#e3f0f8;color:#376c90}.mb-stage.error{background:#ffe7de;color:#a53f27}.mb-status-detail{font-size:11px;color:#7a8d83;margin:8px 0 0;line-height:1.5;max-width:320px}.mb-prep-error td:nth-child(4){color:#a02c20}.mb-empty{text-align:center;padding:36px;color:#4f6d5e}.mb-empty strong{font-size:16px}.mb-empty p{font-size:13px;color:#819187}.mb-feedback:empty{display:none}.mb-feedback{padding:12px 16px;background:#f1f7f3;color:#466a55;border-radius:9px;font-size:12px}.mb-service{border-top:1px solid #edf1ee;margin-top:20px;padding-top:16px;font-size:12px;color:#6f8478}.mb-service summary{cursor:pointer}.mb-service .toolbar{margin-top:14px;flex-wrap:wrap}.mb-service p{font-size:12px}.mb-inline-scan{min-width:220px}.mb-inline-scan strong{font-size:12px;color:#1f7156}.mb-inline-scan input{font-size:13px;min-height:43px}.mb-inline-scan button{font-size:11px;padding:6px 10px}.mb-admin-panel summary{font-size:13px;color:#60776e;cursor:pointer}
#mb-photo-dialog{border:0;background:#fff;padding:16px;border-radius:14px;cursor:zoom-out;max-width:92vw}#mb-photo-title{font-size:13px;color:#5c7469;margin:0 0 10px}#mb-photo-large{max-width:86vw;max-height:83vh;cursor:zoom-out}#mb-photo-dialog::backdrop{background:#0c201dcc;cursor:zoom-out}
@media(max-width:1050px){.mb-workspace .mb-scan-line{grid-template-columns:150px 1fr 1fr}.mb-capacity{display:none}.mb-metrics{gap:6px}.mb-metric{padding:11px}.mb-new-batch input{display:none}.mb-order-card{gap:12px}.mb-order-card .mb-order-consent{max-width:480px}}
@media(max-width:700px){#chz .mb-workspace{padding:16px}.mb-batch-bar{flex-wrap:wrap}.mb-batch-bar label{min-width:0;flex:1}.mb-new-batch{margin-left:0}.mb-workspace .mb-scan-line{grid-template-columns:1fr}.mb-order-card{align-items:stretch;flex-direction:column}.mb-metrics{grid-template-columns:repeat(3,1fr)}.mb-section-heading{align-items:start}.mb-muted{display:none}.mb-heading h2{font-size:23px}}

.mb-technical>summary,.mb-registry>summary{font-size:14px;font-weight:600;cursor:pointer;color:#456b59}.mb-technical>details{margin:15px 0;padding:14px 0;border-top:1px solid #e5eee8}.mb-technical>details>summary{font-size:13px;cursor:pointer}.mb-technical .mb-service{margin:15px 0}.mb-registry[open]>section{padding:16px 0 0}

#chz .cz-inventory th:first-child{width:30%}#chz .cz-inventory th:nth-child(2){width:12%}#chz .cz-inventory th:nth-child(3){width:30%}#chz .cz-inventory th:nth-child(4){width:28%}.cz-return{display:block;margin-bottom:12px}.cz-return:disabled{opacity:.5}

.cz-subnav{display:none;padding:4px 0 8px 22px}.cz-navigation-open .cz-subnav{display:grid;gap:3px}.cz-subnav button{font-size:12px!important;padding:9px 12px!important}.cz-section-intro{margin:8px 0 24px}.cz-section-intro h2{margin-bottom:6px}.cz-section-intro p{color:#68838b}#chz [data-cz-section][hidden]{display:none!important}#chz [data-cz-section="home"]{max-width:1150px;margin:20px auto}#chz [data-cz-section="registry"]>.mb-registry>summary,#chz [data-cz-section="settings"]>.mb-technical>summary{display:none}

.home-task-group{margin-bottom:24px}.home-task-group h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#648084;margin:18px 0 12px}.home-task-group .home-section{min-height:112px}

[data-cz-section="kiz-stock"] .toolbar label:last-child {flex:1;min-width:260px}
#ks-scan {width:100%;min-height:48px}
#ks-feedback {padding:14px;background:#e8f4f1;border-radius:8px}

.claims-photos {display:flex;gap:10px;flex-wrap:wrap}.claims-photos img {width:110px;height:140px;object-fit:contain}.claims-photo {max-width:95vw;max-height:95vh;border:0;padding:10px}.claims-photo img {max-width:90vw;max-height:90vh;object-fit:contain}.claims-people {display:flex;gap:35px;flex-wrap:wrap;background:#e8f4f1;padding:8px 18px;border-radius:10px}#claims-token {width:min(600px,90%)}

.as-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.as-stickers{display:grid;gap:16px}.as-stickers img{max-width:100%;width:580px}#as-detail{overflow:auto}#as-detail table{width:100%}@media print{body:has(.as-print) *{visibility:hidden}.as-print .as-stickers,.as-print .as-stickers img{visibility:visible}.as-print .as-stickers{position:absolute;top:0;left:0}.as-print .as-stickers a,.as-print .as-stickers button{display:none}}

/* Production 3.77: one scanner, persistent print evidence. */
#production [hidden]{display:none!important}
.production-scan-panel{display:grid;gap:10px;background:#eef8f5;border-color:#b7d9d3}
#prod-global-scan{width:100%;min-height:52px;font-size:17px;background:white}
#prod-scan-result{min-height:22px;font-weight:600}
#prod-reprint-bag{justify-self:start}
.prod-print-sent,.prod-packed{color:#08796c}
#prod-orders small{display:block;margin-top:5px;line-height:1.4}
/* Dedicated printer and DTF screens. */
.dtf-scan{width:100%;min-height:64px;font-size:22px}
.dtf-tabs{margin-top:16px}
.dtf-entry{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.dtf-entry input[type=number]{width:100px}
.dtf-entry select{width:110px}
.dtf-thumb{width:64px;height:64px;object-fit:contain;vertical-align:middle;margin-right:12px}
#dtf [hidden],#printer-overlay[hidden]{display:none!important}
#printer-overlay{position:fixed;inset:0;z-index:2000;background:#f0f6f5;display:grid;grid-template-columns:minmax(0,3fr) minmax(330px,1fr);gap:20px;padding:24px}
.printer-modal-open{overflow:hidden}
.printer-picture{position:relative;display:flex;align-items:center;justify-content:center;background:white;border-radius:14px;overflow:hidden;cursor:pointer;min-height:0}
#printer-photo{width:100%;height:100%;object-fit:contain}
.printer-instruction{display:flex;flex-direction:column;justify-content:center;gap:16px;overflow:auto}
#printer-size{font-size:24px;font-weight:700}
#printer-side{font-size:clamp(30px,4vw,64px);color:#08796c;line-height:1.15}
#printer-note{font-size:24px;white-space:pre-wrap;line-height:1.45}
#printer-error{color:#b52e20;font-weight:600}
#printer-next{min-height:50px}
@media(max-width:800px){#printer-overlay{grid-template-columns:1fr;grid-template-rows:minmax(180px,1fr) auto;padding:12px;gap:12px}.printer-instruction{gap:8px}#printer-side{font-size:30px}#printer-note{font-size:18px}}

.dtf-work-open .metrics{display:none!important}#dtf-source{width:200px}

#intake-photo[hidden]{display:none!important}
/* Intake journal: bounded rows, explicit archive, readable code identities. */
.ir-toolbar,.ir-pagination,.ir-filters,.ir-scopes,.ir-scan-fields{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ir-search-label{flex:1;min-width:280px}.ir-search-label input{width:100%;margin-top:6px}.ir-filters{margin:14px 0}.ir-filters button{padding:8px 12px}.ir-filters b{margin-left:6px}.ir-table{max-height:640px;overflow:auto}.ir-table thead{position:sticky;top:0;z-index:1;background:#edf4f4}.ir-table td{vertical-align:top;padding:14px 10px}.ir-table td:first-child{min-width:310px}.ir-table td:nth-child(3){min-width:200px;max-width:310px}.ir-table td:nth-child(4){min-width:210px;max-width:290px}.ir-code{margin-top:8px;display:grid;grid-template-columns:1fr auto;gap:3px 6px}.ir-code small{grid-column:1/-1;color:#647c82}.ir-code code{font-size:12px;overflow-wrap:anywhere;white-space:normal;user-select:all}.ir-code button{padding:2px 5px;font-size:10px}.ir-badge{display:inline-block;border-radius:20px;background:#eaf2f2;padding:4px 9px;font-size:12px;font-weight:600}.ir-done .ir-badge{background:#def2e7;color:#147455}.ir-attention .ir-badge{background:#fff0dd;color:#985515}.ir-print .ir-badge{background:#e1effb;color:#23638a}.ir-actions button{display:block;margin-bottom:8px;white-space:nowrap}.ir-pagination{justify-content:center;margin-top:16px}.ir-sync{border-top:1px solid #e0eaea;margin-top:18px;padding-top:12px}.ir-sync summary,.ir-storage>summary{cursor:pointer;font-weight:600}.ir-storage>.card{border:0;box-shadow:none;margin:12px 0 0;padding:0}.ir-scan-box{padding:18px;background:#f0f8f6;border:1px solid #93c7bc;border-radius:10px;margin:12px 0}.ir-scan-fields{margin-top:12px}.ir-scan-fields label{flex:1;min-width:220px}.ir-scan-fields input{width:100%}.ir-payment{margin:8px 0;font-weight:600}.ir-muted{color:#80633c}.ir-table details{margin-top:8px}.ir-table p{margin:8px 0}.intake-journal .card-title p{margin-bottom:0}

.ir-intake-evidence{padding:12px;background:#eef6f5;border-radius:8px;margin-top:10px;font-size:12px}

#intake .intake-product-preview{min-height:300px}#intake .intake-product-image{min-height:260px;height:280px}#intake .intake-product-image img{max-height:280px}

.as-readiness{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.as-readiness span{padding:12px 16px;background:#e8f3f0;border-radius:8px;font-weight:600}.as-split-error{color:#a03c27;background:#fff0eb;padding:12px;border-radius:8px}
.as-readiness button{background:#e8f3f0;color:#173e45;border:2px solid transparent;padding:10px 14px;font-weight:600;border-radius:8px;cursor:pointer}.as-readiness button:hover{border-color:#88b6ad}.as-readiness button[aria-pressed="true"]{background:#007f76;color:white;border-color:#007f76}.as-find input{flex:1;min-width:230px}.as-table-wrap{overflow-x:auto}.as-orders{min-width:970px}.as-orders td{vertical-align:middle}.as-orders tr[hidden]{display:none}.as-orders .as-cancelled{background:#fff2ee}.as-thumb{padding:3px;width:66px;min-height:80px;background:#fff;cursor:zoom-in}.as-thumb img{display:block;object-fit:contain}.as-thumb span{font-size:11px}.as-fbs{white-space:nowrap;min-width:145px;font-variant-numeric:tabular-nums}.as-fbs strong{font-size:23px;letter-spacing:1px}.as-fbs small{display:block;white-space:normal;font-size:10px;color:#647c83}.as-fbs .as-fbs-code{font-family:monospace;user-select:all}.as-photo-dialog{border:0;border-radius:16px;max-width:90vw;width:760px;max-height:94vh;padding:20px;color:#183b46}.as-photo-dialog::backdrop{background:#082e38bd}.as-photo-dialog>button{float:right}.as-photo-dialog>img{display:block;max-width:100%;width:auto;max-height:72vh;object-fit:contain;margin:auto}.as-photo-dialog>h3{padding-right:100px}

.mr-actions{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.mr-actions .card{display:flex;flex-direction:column;align-items:stretch;gap:12px}.mr-confirm{display:flex;align-items:start;gap:10px}.mr-confirm input{width:20px;flex-shrink:0}.mr-table{overflow:auto;max-height:65vh}.mr-table table{min-width:1050px}.mr-table code{display:block;max-width:250px;overflow-wrap:anywhere;font-size:11px}.mr-table small{display:block;max-width:250px;margin-top:6px}.mr-table th{position:sticky;top:0;background:#edf5f4}.mr-table td{vertical-align:top}#mr-search{width:100%;margin:8px 0}#mr-status{white-space:pre-wrap;color:#8a3a16}@media(max-width:900px){.mr-actions{grid-template-columns:1fr}}
body:has(#moscow-ready:not([hidden])) .metrics{display:none}.mr-actions p,.mr-actions label{margin:4px 0}.mr-actions .card{justify-content:flex-start}.mr-actions h2{margin-bottom:4px}
.as-unused-form{margin:12px 0;padding:12px;border:1px solid #bfd9d2;border-radius:8px;background:#f4faf7}.as-unused-form label{display:flex;align-items:flex-start;gap:8px;font-weight:400}.as-unused-stock{margin-top:24px;border-top:1px solid #d6e5e1;padding-top:18px}

.as-box-packing{padding:20px;margin:18px 0;border:1px solid #c5ded9;border-radius:12px;background:#f5fbf9}.as-box-packing input{width:100%;height:54px;font-size:18px;margin:8px 0}.as-box-count{font-size:20px;font-weight:700}.as-box-message{padding:12px;border-radius:8px;overflow-wrap:anywhere}.as-box-message:empty{display:none}.as-box-message.success{background:#d9efe7;color:#176344}.as-box-message.repeat{background:#fff0ce;color:#715312}.as-box-message.error{background:#ffe2dc;color:#912e20}.as-box-list{margin:16px 0}.as-box-packing select{min-width:220px}#as-add-box{background:#007f76;color:#fff}

.ir-flow-option{display:flex;align-items:center;gap:8px;margin:12px 0;font-weight:600}.ir-flow-option input{width:18px;height:18px}.ir-current{display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;align-items:start}.ir-photo{height:205px;background:white;padding:6px;cursor:zoom-in}.ir-photo img{width:100%;height:100%;object-fit:contain}.ir-current-main>strong{font-size:18px}.ir-photo-dialog{border:0;border-radius:14px;max-width:90vw;padding:20px}.ir-photo-dialog::backdrop{background:#102f3cba}.ir-photo-dialog img{display:block;max-height:75vh;max-width:80vw;object-fit:contain}.ir-photo-dialog>button{float:right}@media(max-width:700px){.ir-current{grid-template-columns:110px minmax(0,1fr);gap:10px}.ir-photo{height:150px}.ir-current .ir-scan-fields{grid-template-columns:1fr}}

.ir-current .ir-scan-fields{grid-template-columns:1fr}

/* Production desk: table, supply controls, photo and scanner stay in fixed regions. */
#production .production-desk{display:grid;grid-template-columns:minmax(0,7fr) minmax(300px,3fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"list settings" "list photo" "scan instructions";gap:10px;min-height:0}
.production-desk .prod-list{grid-area:list}.production-desk .prod-settings{grid-area:settings}.production-desk .prod-station{grid-area:photo}.production-desk .production-scan-panel{grid-area:scan}.production-desk .prod-instructions{grid-area:instructions}
#production .prod-list-tools,#production .prod-print-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex-shrink:0}
#production .prod-list-tools label,#production .prod-print-tools label{margin:0;font-size:12px}
#production .prod-list-tools #prod-filter{width:170px}#production #prod-sort{width:205px}
#production .prod-print-tools{padding-top:8px;font-size:12px}#production .prod-print-tools input[type=number]{width:44px;min-width:44px;flex:0 0 44px}
#production .prod-print-tools .prod-auto-label{display:flex;align-items:center;gap:5px}
#production .prod-settings{display:grid;gap:6px;align-content:start;min-width:0}
#production .prod-settings select{min-width:0;width:100%}#production .prod-settings label{margin:0;font-size:12px}
.prod-site-choice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}
.prod-settings-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
#production .prod-settings .check{display:flex;align-items:center;gap:6px}#production .prod-settings input[type=checkbox]{width:17px;min-width:17px;margin:0}
#production .production-scan-panel{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:16px;align-items:center}
.prod-scan-entry{display:grid;gap:6px;min-width:0}#production #prod-global-scan{font-size:14px;min-height:46px}#production #prod-scan-result{font-size:12px;line-height:1.35;min-height:16px}
.prod-progress{display:grid;gap:14px;font-size:12px}.prod-progress>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.prod-progress strong{white-space:nowrap;font-size:16px;font-variant-numeric:tabular-nums}
#production .prod-instructions{display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:180px;overflow-wrap:anywhere}
.prod-instructions small{color:var(--muted,#6a8286)}.prod-instructions strong{font-size:22px}.prod-instructions span{white-space:pre-wrap;font-size:15px}
@media(max-width:1100px){#production .production-desk{grid-template-columns:minmax(0,3fr) minmax(270px,2fr)}#production .production-scan-panel{grid-template-columns:1fr;gap:8px}.prod-progress{grid-template-columns:1fr 1fr;gap:14px}.prod-progress>div{font-size:11px}.prod-progress strong{font-size:14px}}
@media(max-width:800px){#production .production-desk{grid-template-columns:1fr;grid-template-rows:auto minmax(320px,55vh) auto 360px auto;grid-template-areas:"settings" "list" "scan" "photo" "instructions"}#production .prod-list{display:flex;flex-direction:column;overflow:hidden}#production .prod-list .table-wrap{overflow:auto;min-height:0;flex:1}#production .prod-station{display:flex;flex-direction:column;min-height:0}#prod-card{min-height:0}#prod-card .prod-photo-wrap{flex:1;min-height:0;height:auto}.prod-progress{grid-template-columns:1fr}#production .prod-list-tools{flex-wrap:wrap}}

/* Return assembly: full-height product photo and the physical picking identity. */
#packing.return-layout .previews>div:has(#label-preview){display:none}
#packing:not(.return-layout) #return-product-details{display:none}
#packing.return-layout .previews{display:flex;flex-direction:column;gap:10px}
#packing.return-layout .previews>div:has(#packing-photo){flex:1;min-height:0}
#packing.return-layout #return-product-details{order:2;flex:0 0 auto;min-height:70px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 18px;text-align:center;background:#fff;border:1px solid #dae6e3;border-radius:12px}
#return-product-details strong{font-size:clamp(18px,1.7vw,30px);line-height:1.3;overflow-wrap:anywhere}#return-detail-cell,#return-detail-size{white-space:nowrap}
.previews:has(#packing-photo[hidden]) #return-product-details strong{visibility:hidden}

#packing .packing-bottom>.toolbar .check{gap:8px;margin:0;white-space:normal}
@media(min-width:1000px) and (min-height:600px){
 #packing.return-layout:not([hidden]){grid-template-columns:minmax(0,64fr) minmax(0,36fr)}
 #packing.return-layout .packing-top>.toolbar{grid-column:1;grid-row:1;min-width:0;margin:0}
 #packing.return-layout .previews{grid-column:2;grid-row:1/3}
 #packing.return-layout #pack-supply{flex:1;min-width:180px;max-width:100%;width:260px}
}
@media(max-width:999px),(max-height:599px){#packing.return-layout .previews{height:420px}#packing.return-layout #return-product-details{min-height:60px;gap:10px;padding:10px}#return-product-details strong{font-size:18px}}
#packing.return-layout .previews>div:has(#packing-photo){padding:0;border-radius:10px;overflow:hidden}
#packing.return-layout #packing-photo{object-fit:contain;max-width:100%;max-height:100%;width:100%;height:100%}
@media(min-width:1000px) and (min-height:600px){#packing.return-layout:not([hidden]){grid-template-columns:minmax(0,1fr) var(--return-photo-width,34%)}}

#prod-orders button.prod-reprint-tag{background:#fff0d9;border-color:#eac28b;color:#84450d}
#prod-orders button.prod-reprint-tag:hover:not(:disabled){background:#ffe1b3;border-color:#d7a362;color:#713900}
#prod-orders button.prod-reprint-tag:focus-visible{outline-color:#b36b16}

.as-supply-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:0 0 16px}.as-supply-tabs .as-readiness{margin:0}.as-supply-tabs #as-check-note{font-size:12px;color:#647c83}.as-proof{display:grid;gap:6px;border-top:1px solid #dce8e6;margin:14px 0;padding-top:12px}.as-proof small{font-size:12px;color:#647c83}.as-proof .as-proof-ok{color:#007d64}.as-proof .as-proof-warning{color:#93611f}

#as-withdrawal label{display:flex;align-items:center;gap:12px;margin:12px 0;flex-wrap:wrap}#as-withdrawal select{max-width:100%;min-width:240px}#as-withdrawal summary{cursor:pointer;font-weight:700}

#ks-tabs button.active {background:#008579;color:white;border-color:#008579}

/* Grouped navigation and in-page marking tabs. */
aside nav{overflow-x:hidden}.nav-group{display:flex;flex-direction:column;gap:2px;flex:none;min-width:0}
.nav-group-title{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#80a3a8;padding:12px 10px 5px}
aside nav .nav-group button{width:100%;text-align:left;min-width:0;white-space:normal}

#chz>.cz-subnav{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 14px}
#chz>.cz-subnav button{background:white;color:#23474f;border:1px solid #cbdcdf;border-radius:8px}
#chz>.cz-subnav button.active{background:#087f79;color:white;border-color:#087f79}
.as-sorting{margin:12px 0;padding:10px 0;border-top:1px solid #d7e4e7;border-bottom:1px solid #d7e4e7}

.nav-group:not(:has(button:not([hidden]))){display:none}
.as-sorting{display:flex;flex-direction:column;gap:5px}

.as-orders td:first-child{white-space:nowrap}.as-orders td:first-child input[type="checkbox"]{vertical-align:middle;margin-right:8px}.as-orders .as-thumb{vertical-align:middle}#as-move-selected>label{display:flex;align-items:center;gap:8px}#as-move-selected>small{flex-basis:100%;color:#647c83}

.prod-bulk-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-left:auto}.prod-bulk-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0;font-size:12px}.prod-bulk-info #prod-fbs-refresh{margin-left:auto;font-size:12px}.prod-fbs{white-space:nowrap;font-variant-numeric:tabular-nums;min-width:125px}.prod-fbs strong{font-size:23px}.prod-fbs small{display:block;font-size:10px;color:#647c83}.prod-check-cell{width:30px;min-width:30px;text-align:center}#prod-orders{min-width:1090px}#prod-orders .prod-check-cell input{width:17px;height:17px;margin:0}

/* Native sidebar scrolling, using the hub's green palette. */
aside nav{scrollbar-color:#489b8e #193d3d;scrollbar-width:thin}
@supports selector(::-webkit-scrollbar){
 aside nav{scrollbar-color:auto;scrollbar-width:auto}
 aside nav::-webkit-scrollbar{width:8px;height:8px}
 aside nav::-webkit-scrollbar-track{background:#193d3d;border-radius:8px}
 aside nav::-webkit-scrollbar-thumb{background:#489b8e;border:2px solid #193d3d;border-radius:8px;min-height:36px}
 aside nav::-webkit-scrollbar-thumb:hover{background:#65b9a9}
 aside nav::-webkit-scrollbar-thumb:active{background:#83cebc}
 aside nav::-webkit-scrollbar-button{display:none;width:0;height:0}
 aside nav::-webkit-scrollbar-corner{background:#193d3d}
}
@media(forced-colors:active){aside nav{scrollbar-color:auto;scrollbar-width:auto}aside nav::-webkit-scrollbar-thumb{background:ButtonText;border-color:Canvas}aside nav::-webkit-scrollbar-track{background:Canvas}}

.ir-payment.ir-wb-note{color:#647c82;font-weight:400}.ir-return-basis{display:block;color:#167466;margin:8px 0;line-height:1.45}
.intake-journal .ir-progress{border-left:3px solid #a8c2bf;padding-left:10px;margin-bottom:8px;line-height:1.5}.intake-journal .ir-progress>strong{display:block;font-size:13px}.intake-journal .ir-progress-state{display:block;color:#647c82;font-size:11px;margin-bottom:3px}.intake-journal .ir-progress p{margin:5px 0}.intake-journal .ir-progress small,.intake-journal .ir-label-state{display:block;color:#647c82;font-size:11px;line-height:1.5}.intake-journal .ir-progress-action{color:#285c56}.intake-journal .ir-progress-blocked{border-color:#c68832}.intake-journal .ir-progress-blocked .ir-progress-state{color:#8f5719;font-weight:600}.intake-journal .ir-progress-action{border-color:#168677}.intake-journal .ir-progress-action .ir-progress-state{color:#08776b;font-weight:600}.intake-journal .ir-progress-done{border-color:#64a180}.intake-journal .ir-progress-done .ir-progress-state{color:#147455}

.catalog-sync-status{padding:12px 14px;border:1px solid #b9dcd7;border-radius:8px;background:#edf7f4;color:#244548;margin:12px 0;line-height:1.5}.catalog-sync-status.error{background:#fff1ee;border-color:#edc5ba;color:#912e20}

.return-sort-control{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}.return-sort-control select{width:auto;max-width:100%}@media(max-width:600px){.return-sort-control{flex-wrap:wrap;width:100%}.return-sort-control select{flex:1;min-width:0}}

.hub-login-brand{display:flex;align-items:center;gap:16px;margin-bottom:24px}.hub-login-brand img{flex:none;display:block}.hub-login-brand h1{margin:0;font-size:26px;letter-spacing:-.6px}

.as-box-item{padding:12px 0;border-bottom:1px solid var(--border,#c5ded9);gap:10px;align-items:center}.as-box-item:last-child{border-bottom:0}.as-box-item{flex-wrap:wrap}.as-box-warning{flex:0 0 100%;margin:0;overflow-wrap:anywhere}
.mb-scan-foot #mb-submit-scan{background:#26776a;border:1px solid #26776a;border-radius:7px;color:white;padding:8px 12px;font-weight:600}.mb-scan-foot #mb-submit-scan:disabled{opacity:.55}
