:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#243932;background:#f4f6f4;font-synthesis:none;--green:#175d4e;--muted:#77867e;--line:#e1e7e2;--amber:#ab6727}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;padding:11px 17px;background:#fff;color:inherit;font-weight:600}button:hover{background:#edf3ef}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#104738}.quiet{border:0;background:transparent;padding:8px 12px}.danger{color:#a23d32}input,select,textarea{border:1px solid #d4ded7;border-radius:7px;background:#fff;padding:11px 12px;color:#263d32;min-width:0;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#2d8064;outline:2px solid #d8e9df}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green)}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}label span{color:#b05e32}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px;font-weight:650}h2{font-size:17px}h3{font-size:15px}small,.muted{color:var(--muted);font-weight:400;font-size:12px}a{color:var(--green)}.layout{display:grid;grid-template-columns:216px 1fr;min-height:100vh}.sidebar{background:#143f35;color:#dbe8e1;padding:30px 20px;display:flex;flex-direction:column;position:fixed;width:216px;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;color:inherit;font-weight:700;font-size:19px;letter-spacing:1px}.brand-symbol{border:1px solid #87ad9c;border-radius:8px;width:35px;height:37px;display:grid;place-items:center;font-size:20px}.brand small{display:block;font-size:9px;letter-spacing:2px;color:#a4c0b3;margin-top:3px}.nav-label{font-size:10px;letter-spacing:2px;color:#8fb0a1;margin:48px 12px 15px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{text-align:left;background:transparent;border:0;color:#bacfc4;font-weight:500;padding:14px 13px}.nav button.active{background:#2c584a;color:#fff}.nav button .ico{display:inline-block;width:27px;font-size:16px}.sidebar-foot{margin-top:auto;border-top:1px solid #376051;padding-top:20px;font-size:12px;line-height:1.8;color:#a4c0b3}.content{grid-column:2;min-width:0}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.account{display:flex;align-items:center;gap:12px}.avatar{display:grid;place-items:center;background:#e7eee8;border-radius:50%;width:31px;height:31px;font-size:12px}.main{max-width:1450px;padding:34px 38px 70px;margin:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{color:#7a8e82;font-size:10px;letter-spacing:2px;margin-bottom:9px}.pagehead p{font-size:13px;color:#7a867e;margin-top:10px;line-height:1.6}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 8px;font-size:11px;white-space:nowrap;background:#ebf3ee;color:#40735a;font-weight:500}.tag.amber{background:#fff1df;color:#a16b30}.tag.gray{background:#edf0ee;color:#7a837c}.tag.red{background:#fcece8;color:#ad5140}.notice{padding:13px 16px;background:#fff6e9;border:1px solid #efddbf;border-radius:8px;color:#936433;font-size:12px;line-height:1.6;display:flex;align-items:center;gap:10px;margin-bottom:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}.stat .num{font-size:32px;font-weight:600;margin:14px 0 6px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.stat:first-child{border-left:3px solid var(--green)}.stat label{font-size:12px;color:#748176;font-weight:400}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;overflow:hidden}.panelhead{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panelbody{padding:24px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 22px;flex-wrap:wrap}.search{width:290px;max-width:100%;padding-left:13px}.filters{display:flex;gap:9px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-weight:500;background:#f7f9f7;color:#7a887e;font-size:11px}td,th{padding:17px 14px;border-bottom:1px solid #edf0ed;text-align:center;vertical-align:middle}td strong{font-size:12px;font-weight:600}td small{display:block;margin-top:5px}.mono{font-family:"SFMono-Regular",Consolas,monospace;letter-spacing:.1px}.pagination{padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:11px;color:#7b897f}.pagination .controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination button{padding:7px 10px;font-size:11px}.pagination input{width:50px;padding:6px;text-align:center}.pagination select{padding:6px}.empty{text-align:center;padding:60px 20px;color:#7c8d81;line-height:2}.steps{display:flex;gap:0;margin:0 0 25px;border:1px solid var(--line);border-radius:9px;background:white;padding:18px 24px}.step{flex:1;display:flex;gap:11px;align-items:center;color:#86938a;font-size:12px}.step b{display:grid;place-items:center;border:1px solid #d5dfd8;border-radius:50%;width:27px;height:27px;font-weight:500}.step.active{color:var(--green)}.step.active b{background:var(--green);border-color:var(--green);color:#fff}.step:not(:last-child):after{content:"";height:1px;background:#e2e8e3;flex:1;margin:0 20px}.formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.formgrid .wide{grid-column:span 2}.readonly{background:#f2f5f2;padding:12px;border-radius:7px;color:#6f7e73;font-weight:400;min-height:42px}.ordergrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.ordercard{border:1px solid var(--line);border-radius:9px;text-align:left;padding:20px;background:#fff;font-weight:400}.ordercard:hover{border-color:#5e9375}.ordercard h3{margin:12px 0 9px}.ordercard .row{display:flex;justify-content:space-between;gap:15px}.ordercard p{font-size:12px;color:#7c8a81;margin-top:10px}.ordercard strong{font-size:24px;font-weight:550}.qty{width:85px;text-align:center;padding:9px}.footerbar{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);padding:17px 23px;border-radius:9px;position:sticky;bottom:15px;box-shadow:0 4px 20px #23402b0b;z-index:4}.footerbar strong{font-size:19px;margin:0 5px}.actions{display:flex;gap:10px;align-items:center}.back{font-size:12px;margin-bottom:15px;color:#7b897f;padding-left:0}.meta{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.meta strong{display:block;font-size:13px;margin-top:7px;line-height:1.5}.scanbox{background:#eaf1eb;border:1px dashed #a8c3b0;padding:25px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}.scanbox p{font-size:12px;color:#6a8273;margin-top:8px}.scaninput{display:flex;gap:8px}.scaninput input{width:220px}.receivegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:20px}.skucard{border:1px solid var(--line);border-radius:9px;padding:20px}.skuhead{display:flex;justify-content:space-between;gap:10px;margin-bottom:17px}.skuhead h3{font-size:13px;line-height:1.6}.skuhead p{font-size:11px;color:#8b978d;margin-top:5px}.qtyrow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:end}.qtyrow label{font-size:11px;color:#7c897f;font-weight:500}.qtyrow input{font-size:20px;font-weight:550;width:100%;text-align:center}.difference{text-align:center;padding:10px 0;font-size:19px;line-height:1.4;background:#f5f7f4;border-radius:7px}.difference.bad{color:#af6a32;background:#fff4e8}.reason{width:100%;margin-top:14px;font-size:12px}.inspector{max-width:280px}.summary{display:flex;gap:30px;font-size:12px;flex-wrap:wrap}.summary b{font-size:20px;margin-left:8px}.print-sheet{padding:35px;background:#fff;max-width:1000px;margin:auto}.print-title{text-align:center;letter-spacing:7px;font-size:24px;margin-bottom:20px}.code-row{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:20px 0}.code-row svg{max-width:100%;height:85px}.qr{padding:9px;background:white}.qr img{width:112px;height:112px}.print-foot{display:flex;justify-content:space-between;margin-top:35px;font-size:13px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#163e34;color:white;padding:65px 70px;display:flex;flex-direction:column;justify-content:space-between}.login-story h1{font-size:44px;font-weight:500;line-height:1.4;letter-spacing:1px;margin-top:55px}.login-story p{color:#9fbaac;margin-top:20px;line-height:1.9;font-size:14px;max-width:380px}.login-flow{margin-top:50px;border-top:1px solid #3b5e4f;padding-top:25px;display:flex;gap:20px;font-size:12px;color:#b4ccbd}.login-right{display:flex;align-items:center;justify-content:center;padding:35px}.login-form{width:350px}.login-form h2{font-size:25px;margin-bottom:13px}.login-form p{font-size:13px;color:#869187;line-height:1.8;margin-bottom:30px}.login-form label{margin-bottom:22px}.login-form button{width:100%;margin-top:5px}.login-foot{margin-top:35px;font-size:11px;color:#87988b;text-align:center}.error{color:#af4438;font-size:13px;margin:15px 0;line-height:1.6}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#203f30;color:#fff;border-radius:9px;padding:13px 22px;box-shadow:0 10px 40px #0002;z-index:100;display:none;max-width:90%;font-size:13px}dialog{border:1px solid var(--line);border-radius:13px;padding:28px;width:510px;max-width:calc(100vw - 30px);color:#273d31}dialog::backdrop{background:#17352566}dialog h2{margin-bottom:16px}dialog p{font-size:13px;line-height:1.8;color:#6c7c71;margin-bottom:18px}dialog .actions{justify-content:flex-end;margin-top:22px}.confirmcheck{display:flex;flex-direction:row;align-items:flex-start;line-height:1.6;font-size:12px;margin-top:16px}.confirmcheck input{flex-shrink:0}.loading{padding:80px;text-align:center;color:#6e8476}.mobile-label{display:none}.saved{font-size:11px;color:#6d8a76}.header-tools{display:flex;align-items:center;gap:10px}.hidden{display:none!important}
@media(max-width:1100px){.main{padding:26px 22px 70px}.topbar{padding:0 22px}.layout{grid-template-columns:185px 1fr}.sidebar{width:185px;padding:25px 14px}.stats{gap:10px}.stat{padding:18px 15px}.meta{grid-template-columns:repeat(2,1fr)}.scanbox{flex-wrap:wrap}.formgrid{grid-template-columns:repeat(2,1fr)}.formgrid .wide{grid-column:span 1}.receivegrid{grid-template-columns:1fr}.login-story{padding:50px 40px}}
@media(max-width:700px){.layout{display:block}.sidebar{position:static;width:100%;padding:18px 20px 0;background:#143f35}.sidebar .brand{font-size:17px}.brand small,.nav-label,.sidebar-foot{display:none}.nav{flex-direction:row;gap:5px;margin-top:15px}.nav button{padding:12px 10px;border-radius:7px 7px 0 0;font-size:12px}.nav button.active{background:#f4f6f4;color:var(--green)}.nav .ico{display:none!important}.topbar{height:54px;padding:0 18px;font-size:11px}.avatar{display:none}.account{gap:3px}.account button{font-size:11px}.main{padding:25px 16px 110px}.pagehead{align-items:flex-start;gap:12px;margin-bottom:20px}h1{font-size:23px}.pagehead p{font-size:12px}.pagehead button{padding:10px;font-size:12px}.eyebrow{font-size:9px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.stat{padding:17px}.stat .num{font-size:28px;margin-top:10px}.notice{font-size:11px;padding:12px;margin-bottom:20px}.toolbar{padding:15px;gap:12px}.search{width:100%}.filters{width:100%;overflow:auto}.filters select{max-width:50%;font-size:12px}.panelhead{padding:18px 16px}.panelbody{padding:18px 16px}.ordergrid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr;gap:18px}.steps{padding:14px;gap:12px}.step{font-size:10px;gap:6px}.step b{width:22px;height:22px;flex-shrink:0}.step:not(:last-child):after{display:none}.footerbar{position:fixed;bottom:0;left:0;right:0;border-radius:0;padding:14px 16px;padding-bottom:max(14px,env(safe-area-inset-bottom));font-size:12px}.footerbar .actions{gap:8px}.footerbar button{padding:11px 12px;font-size:12px}.footerbar .saved{display:none}.scanbox{padding:18px;gap:18px}.scaninput{width:100%;flex-wrap:wrap}.scaninput input{flex:1;min-width:130px}.scaninput button{font-size:12px}.meta{gap:20px;font-size:11px}.meta strong{font-size:12px}.receivegrid{padding:13px;gap:12px}.skucard{padding:16px}.skuhead h3{font-size:12px}.qtyrow{gap:10px}.qtyrow input{font-size:23px;padding:10px 5px}.summary{gap:16px;font-size:11px}.summary b{font-size:18px;margin-left:5px}.pagination{padding:15px;gap:12px}.print-sheet{padding:16px}.print-title{font-size:19px}.code-row{gap:10px}.code-row svg{width:230px}.qr img{width:80px;height:80px}.login{display:block;background:#f4f6f4}.login-story{padding:28px 28px 35px}.login-story h1{font-size:28px;margin-top:30px}.login-story p{font-size:12px;margin-top:15px}.login-flow{display:none}.login-right{padding:35px 27px}.login-form{width:100%}.login-form h2{font-size:22px}.login-foot{margin-top:22px}.header-tools{flex-wrap:wrap;justify-content:flex-end}}
@media print{@page{size:A4 portrait;margin:12mm}body{background:#fff}.sidebar,.topbar,.pagehead,.back,.notice,.footerbar,.no-print,#toast,dialog{display:none!important}.layout{display:block}.main{padding:0;max-width:none}.panel{border:0;border-radius:0}.print-sheet{padding:0;max-width:none}.print-title{font-size:20px}.print-sheet th,.print-sheet td{padding:9px 5px;font-size:10px;color:#000;white-space:normal;border:1px solid #888}.print-sheet thead{display:table-header-group}.print-sheet tr{break-inside:avoid}.code-row svg{height:65px}.meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.print-foot{margin-top:25px}.qr img{width:95px;height:95px}.code-row{break-inside:avoid}}

.inbound-result .panelhead{background:#eaf4eb;color:#386047}.result-summary{margin:0 0 16px;color:#386047}.result-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,2fr);gap:16px;padding:12px 0;border-top:1px solid var(--line)}.result-row small,.result-row strong,.result-row span{display:block;overflow-wrap:anywhere}.result-row small{margin-bottom:6px}.remark-difference{margin:12px 0 0}@media(max-width:600px){.result-row{grid-template-columns:1fr;gap:12px}.inbound-result .panelhead{gap:8px;flex-wrap:wrap}}
/* The working sheet follows the factory's paper form: color rows, size columns. */
.matrix-sheet{padding:0 22px 22px}.matrix-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0 12px}.matrix-caption>strong{font-size:14px}.matrix-scroll{border:1px solid #d8ddd3;border-radius:5px}.sku-matrix{width:100%;table-layout:auto}.sku-matrix th,.sku-matrix td{border:1px solid #dce2d8;padding:8px 4px;min-width:64px}.sku-matrix thead th{background:#f3e8ab;color:#64591f;font-weight:600;font-size:12px}.sku-matrix .color-axis{position:sticky;left:0;z-index:2;min-width:105px;background:#f7f9f3;color:#3f5448;font-weight:600;box-shadow:1px 0 #dce2d8}.sku-matrix thead .color-axis{background:#e7ebd9}.matrix-input-label{display:block}.matrix-input-label+.matrix-input-label{margin-top:9px}.matrix-input-label small{font-size:10px;max-width:130px;white-space:normal;overflow-wrap:anywhere;margin:0 0 5px}.sku-matrix input.qty{width:54px;min-height:42px;padding:8px 2px;font-size:16px;border-radius:4px;font-weight:600}.sku-matrix td.matrix-missing{background:#f4f5f1;color:#b8c1b6}.matrix-sum,.matrix-total td,.matrix-total .color-axis{background:#f3f6ee!important;font-weight:600}.matrix-total strong{font-size:13px}.matrix-cell{border:1px solid #dde5d7;border-radius:5px;padding:9px 7px;min-width:76px;width:100%;background:#fbfcf9}.matrix-cell strong{font-size:16px;font-weight:600}.matrix-cell small{font-size:10px}.matrix-cell.checked{background:#edf5eb;border-color:#c9ddc4}.matrix-cell.has-difference{background:#fff4e5;border-color:#e6c797}.matrix-cell em{display:block;font-size:10px;font-style:normal;color:#a1682f;margin-top:5px}.cell-editor{padding:12px 0 18px;border-top:1px solid var(--line)}.cell-editor>strong{font-size:13px;overflow-wrap:anywhere}.cell-editor p{font-size:12px;margin:6px 0 16px}.cell-counts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cell-counts input{width:100%;font-size:24px;text-align:center;font-weight:600}.cell-difference{font-size:12px;margin:13px 0;color:#936433}.matrix-entry{color:var(--green);font-size:12px}.entry-tabs{display:flex;gap:8px;margin-bottom:30px}.entry-tabs button{width:auto!important;margin:0!important;font-size:12px;flex:1}.entry-tabs button.active{background:#eaf1e6;border-color:#9db292;color:#28593c}.print-grand-total{text-align:right;padding:18px 0;border-top:2px solid #405744;font-size:14px}.print-sheet .matrix-sheet{padding:0 0 15px}.print-sku{font-size:9px;white-space:normal;overflow-wrap:anywhere}.completed-footer{position:static!important;margin-top:20px}.account>span:not(.avatar){max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#cell-form{max-height:72vh;overflow:auto;padding:0 3px}#cell-form .actions{position:sticky;bottom:0;background:#fff;padding:12px 0;margin-top:8px}
@media(max-width:700px){.matrix-sheet{padding:0 12px 16px}.matrix-caption{align-items:flex-start;flex-direction:column;gap:6px;padding-top:16px}.sku-matrix .color-axis{min-width:88px;font-size:11px}.sku-matrix th,.sku-matrix td{padding:6px 4px}.account>span:not(.avatar){max-width:140px}.footerbar .summary{gap:9px}.footerbar .summary b{font-size:16px}.print-sheet .meta{grid-template-columns:repeat(2,1fr)}.login-story h1{font-size:26px}}
@media print{.matrix-scroll{overflow:visible;border:0}.sku-matrix{table-layout:fixed;width:100%;white-space:normal}.print-sheet .sku-matrix th,.print-sheet .sku-matrix td{min-width:0;padding:7px 2px;font-size:10px}.print-sheet .sku-matrix .color-axis{position:static;min-width:0;width:70px;box-shadow:none}.matrix-caption{padding:10px 0 7px;break-after:avoid}.matrix-caption small{font-size:9px}.matrix-caption>strong{font-size:12px}.print-sheet .matrix-sheet{padding-bottom:8px}.print-sheet .sku-matrix th{background:#f1e9be!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-sheet .sku-matrix .matrix-total td{background:#f4f4ef!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.print-grand-total{font-size:12px;padding:10px 0}.print-sheet .meta{grid-template-columns:repeat(3,1fr)}.print-sheet td strong{font-size:11px}.qr{padding:4px}.code-row{margin:10px 0 18px}.print-sheet .print-foot{break-inside:avoid}}

@media print{.print-sheet #barcode{width:80mm;height:auto;max-width:100%}}

.print-cell-detail{font-size:11px;line-height:1.7;padding:8px 0 0;overflow-wrap:anywhere;color:#617364}@media print{.print-cell-detail{font-size:9px;padding-top:6px;break-inside:avoid}.print-cell-detail strong{font-size:9px}}
.stat-link{text-align:left;font-weight:400;transition:border-color .15s}.stat-link:hover{background:#f7faf5;border-color:#8fab9c}.stat-label{display:flex;justify-content:space-between;font-size:12px;color:#748176}.stat-label>span{font-size:15px}.document-link{border:0;background:transparent;padding:8px 0;color:var(--green);text-decoration:underline;text-underline-offset:4px}.delivery-row{cursor:pointer}.delivery-row:hover{background:#f2f7f0}.delivery-row:focus-visible{outline:2px solid var(--green);outline-offset:-2px}.mobile-deliveries{display:none}.delivery-card{display:block;width:100%;text-align:left;padding:18px;background:white;border:0;border-bottom:1px solid var(--line);border-radius:0;font-weight:400}.delivery-card-head,.delivery-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.delivery-card-head strong{font-size:13px}.delivery-card-supplier{display:block;font-size:13px;margin-top:12px}.delivery-card-info{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:7px}.delivery-card-foot{margin-top:16px;font-size:12px}.delivery-card-foot>strong{color:var(--green)}@media(max-width:700px){.desktop-deliveries{display:none}.mobile-deliveries{display:block}.stat-link small{font-size:11px}}

.receipt-tools{padding:20px 22px;border-bottom:1px solid var(--line);background:#fafbf9}.receipt-filter-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,220px);gap:16px}.receipt-filter-actions{display:flex;align-items:center;gap:16px;margin-top:18px;flex-wrap:wrap}.receipt-diff-toggle{flex-direction:row;align-items:center;gap:9px;font-size:13px}.receipt-diff-toggle span{color:var(--green);background:#e7eee8;border-radius:4px;padding:3px 7px}.receipt-fill{display:flex;align-items:center;gap:16px;margin-top:18px}.receipt-fill button{font-size:12px;flex-shrink:0;border-color:#b6cbbd;color:var(--green)}.receipt-fill small{line-height:1.7}.receipt-row{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(170px,.8fr) minmax(200px,1.2fr);gap:22px;align-items:center;padding:23px;border-bottom:1px solid var(--line)}.receipt-row.has-difference{background:#fffaf1;border-left:3px solid #d3a15c;padding-left:20px}.receipt-identity strong{font-size:16px;display:block;line-height:1.6}.receipt-identity strong span{font-size:13px;font-weight:500;margin-left:5px}.receipt-identity small{display:block;margin:5px 0 12px;overflow-wrap:anywhere}.sent-quantity{font-size:12px;color:#61756a}.sent-quantity b{color:#263d32;font-size:15px;margin:0 4px}.receipt-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.receipt-counts input{width:100%;font-size:22px;font-weight:600;min-height:48px;text-align:center;padding:9px 4px}.receipt-counts label{font-size:12px}.receipt-note label{font-size:11px;color:#697c71;gap:6px}.receipt-note input{width:100%;font-size:13px}.receipt-result{font-size:12px;color:#60776a;margin-bottom:10px;line-height:1.6}.has-difference .receipt-result{color:#9b622d}.receipt-footer .summary{flex-wrap:nowrap}.receipt-footer .actions{flex-shrink:0}
@media(max-width:1100px){.receipt-row{grid-template-columns:minmax(180px,1fr) minmax(170px,1fr);gap:16px}.receipt-note{grid-column:1/-1}.receipt-note label{max-width:550px}.receipt-fill{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:700px){.receipt-tools{padding:18px 16px}.receipt-filter-fields{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}.receipt-filter-fields input,.receipt-filter-fields select{width:100%;font-size:16px;min-height:46px}.receipt-filter-fields label{font-size:12px}.receipt-filter-actions{gap:9px;margin-top:16px}.receipt-filter-actions small{font-size:11px}.receipt-fill button{width:100%;min-height:46px;font-size:13px}.receipt-row{grid-template-columns:1fr;padding:20px 16px;gap:15px}.receipt-row.has-difference{padding-left:13px}.receipt-identity{position:relative;padding-right:96px;min-height:46px}.receipt-identity strong span{display:block;margin-left:0;font-size:14px}.receipt-identity small{font-size:11px;margin-bottom:0}.sent-quantity{position:absolute;right:0;top:3px;text-align:right;font-size:11px;max-width:94px}.sent-quantity b{display:block;font-size:23px;margin:5px 0}.receipt-counts{gap:16px}.receipt-counts input{min-height:52px;font-size:24px}.receipt-note input{min-height:46px;font-size:16px}.receipt-result{font-size:12px;margin-bottom:8px}.receipt-footer{flex-wrap:wrap;gap:10px;padding-top:12px}.receipt-footer>div:first-child{flex:1 1 100%}.receipt-footer .summary{justify-content:space-between}.receipt-footer .actions{width:100%}.receipt-footer .actions button{flex:1;min-height:44px}.receipt-panel~.footerbar .saved{display:block;font-size:10px}.receipt-panel{margin-bottom:45px}}
.header-tools:has(.sync-range){align-items:flex-end}.sync-range{font-size:11px;gap:6px}.sync-range input{min-height:42px}.submit-note{margin-top:20px!important}
.reconcile-result{border-color:#c4d8ca}.reconcile-result .panelhead{background:#edf5ef}.reconcile-result p{font-size:13px;line-height:1.8}.reconcile-result p+p{margin-top:10px}

.result-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}.result-actions small{font-size:11px}.inbound-result a{color:var(--green);font-weight:600;overflow-wrap:anywhere}.remark-copy{margin-top:16px}.remark-copy textarea{width:100%;resize:vertical;line-height:1.6}

.catalog-basis{font-size:12px;color:#60776b;line-height:1.7;margin:0 0 18px}.catalog-basis p{margin:8px 0 0;color:#94632c}

.sku-matrix .color-axis{white-space:normal;min-width:120px;max-width:180px;line-height:1.5}
@media(max-width:700px){.sku-matrix .color-axis{min-width:100px;max-width:130px}}
@media print{.print-sheet .sku-matrix .color-axis{min-width:0;width:88px}}

.purchasing-help{display:flex;align-items:center;gap:18px;padding:20px;background:#fff;border:1px solid var(--line,#dce5dd);border-radius:10px;margin-top:24px}.purchasing-help img,.wechat-pending{width:120px;height:120px;flex:0 0 120px;object-fit:contain}.wechat-pending{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f3f6f2;border:1px dashed #bccabd;border-radius:6px;color:#637568;font-size:12px;text-align:center}.purchasing-help h2{font-size:16px;margin:0 0 8px}.purchasing-help p{font-size:13px;line-height:1.7;margin:0;color:#53675c}.purchasing-help small{font-size:11px;color:#819085}.login-stack{width:100%;max-width:420px}.login-stack .login-form{max-width:none;width:100%}#modal .purchasing-help{margin:0;padding:8px;border:0}.account{flex-wrap:wrap}.login-stack .purchasing-help{margin-top:28px}
@media(max-width:700px){.purchasing-help{gap:12px;padding:14px;align-items:flex-start}.purchasing-help img,.wechat-pending{width:96px;height:96px;flex-basis:96px}.purchasing-help h2{font-size:14px}.purchasing-help p{font-size:12px}.topbar{gap:8px;flex-wrap:wrap}.login-stack{max-width:100%}}

.wechat-link{flex:0 0 120px;text-align:center;color:var(--green);text-decoration:none}.purchasing-help .wechat-link img{display:block;width:120px;height:auto;max-width:100%}.wechat-link span{display:block;font-size:11px;margin-top:6px}.purchasing-help .purchasing-name{font-weight:600;color:#243932;margin:0 0 6px}#modal .purchasing-help{flex-direction:column-reverse;align-items:center;text-align:center}#modal .wechat-link{flex:none}#modal .wechat-link img{width:260px;max-height:54vh;object-fit:contain}#modal{max-height:90vh;overflow:auto}
@media(max-width:700px){.wechat-link{flex-basis:100px}.purchasing-help .wechat-link img{width:100px}#modal .wechat-link img{width:240px;max-height:50vh}}

.embedded-receiving .layout{display:block;min-height:100vh}.embedded-receiving .content{grid-column:auto}.embedded-receiving .sidebar{display:none!important}.embedded-receiving .content{margin-left:0!important}.embedded-receiving .topbar{display:none}.embedded-receiving .main{max-width:none;padding:22px 24px 140px}.embedded-receiving .footerbar{left:0!important}.embedded-receiving .login-story{display:none}.embedded-receiving .login{display:block;min-height:100vh}.embedded-receiving .login-right{min-height:100vh;padding:32px}.embedded-receiving .eyebrow{display:none}@media(max-width:700px){.embedded-receiving .main{padding:18px 12px 155px}}
