.arrival-inline-error{grid-column:1/-1;color:#a4262c;font-size:12px;font-weight:700;padding:7px 10px;background:#fff1f0;border-left:3px solid #c4314b;border-radius:5px}.movement-sections{display:grid;gap:10px;padding:14px;background:#edf2ed;border-bottom:1px solid #c5d1c7}.movement-section{border:1px solid #c4cec4;border-radius:12px;background:#f8faf7;overflow:hidden}.movement-section.active{background:#fff;border-color:#789780;box-shadow:0 8px 22px #1f4d3414}.movement-trigger{width:100%;border:0;background:transparent;display:grid;grid-template-columns:minmax(210px,1fr) auto 24px;align-items:center;gap:18px;padding:15px 18px;color:#173c2b;text-align:left;cursor:pointer}.movement-trigger>span{display:flex;align-items:baseline;gap:10px}.movement-trigger b{font-size:18px;letter-spacing:.02em}.movement-trigger small{font-size:14px;color:#5a6d61}.movement-trigger em{font-style:normal;color:#415c4b}.movement-panel{border-top:1px solid #d2dad2;padding:16px;background:#fff}.movement-actions{display:flex;justify-content:flex-end;margin-bottom:14px}.movement-actions button,.movement-form button{background:#1f6246!important;color:#fff!important}.movement-form{display:grid;gap:12px;align-items:end;margin-bottom:16px;padding:15px;background:#eef4ef;border:1px solid #d2ded4;border-radius:10px}.printing-form,.finished-form{grid-template-columns:repeat(4,minmax(130px,1fr))}.movement-form label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#365342;letter-spacing:.03em}.movement-form input{height:36px;border:1px solid #aebeb2;border-radius:7px;padding:0 10px;background:#fff}.movement-error{color:#9c2e2e;margin:0 0 10px}.movement-table{border:1px solid #d5ddd6;border-radius:9px;overflow:hidden}.movement-table-head,.movement-table-row{display:grid;grid-template-columns:1fr .7fr 1.4fr 1fr 1fr 1fr;align-items:center}.movement-table-head{background:#e7ede7;color:#385342;font-size:11px;font-weight:800}.movement-table-head span,.movement-table-row>span{padding:10px 12px;border-right:1px solid #dce3dc}.movement-table-row{border-top:1px solid #e2e7e2;color:#243d2e}.movement-table-row small{display:block;margin-top:3px;color:#68776d}.movement-status{font-size:11px;font-weight:800;color:#286344}.orm-order-detail>.material-list{padding-top:0}@media(max-width:1000px){.printing-form,.finished-form{grid-template-columns:repeat(2,1fr)}.movement-trigger{grid-template-columns:1fr 24px}.movement-trigger em{display:none}.movement-table{overflow-x:auto}.movement-table-head,.movement-table-row{min-width:850px}}.delivery-overview{margin-bottom:18px}.delivery-overview-title{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:10px;color:#173c2b}.delivery-overview-title>div{display:flex;align-items:baseline;gap:10px}.delivery-overview-title b{font-size:18px;letter-spacing:.025em}.delivery-overview-title span{font-size:14px}.delivery-overview-title small{color:#65756a}.delivery-overview-table{margin-bottom:14px;border:1px solid #cbd6cd;border-radius:9px;overflow:hidden;background:#fff}.delivery-overview-row{display:grid;grid-template-columns:1.05fr 1fr 1.15fr .8fr .9fr 1.2fr repeat(var(--size-count),minmax(0,.65fr)) .8fr;min-width:0;border-top:1px solid #dbe2dc;color:#243d2e}.delivery-overview-row:first-child{border-top:0}.delivery-overview-row>span{display:flex;min-width:0;min-height:38px;align-items:center;justify-content:center;padding:7px 9px;border-right:1px solid #dbe2dc;font-variant-numeric:tabular-nums}.delivery-overview-row>span:last-child{border-right:0;font-weight:800}.delivery-overview-row small{display:block;margin-left:4px;font-weight:600}.delivery-overview-head{background:#dce8df;color:#264936;font-size:11px;font-weight:800}.delivery-order-row{background:#eef3ee;font-weight:700}.delivery-summary-row,.delivery-difference-row{font-weight:700}.delivery-summary-label{grid-column:1/7;justify-content:flex-end!important;padding-right:18px!important}.delivery-difference-row{background:#fbfaf3}.delivery-difference-row .positive{color:#217346}.delivery-difference-row .negative{color:#b53b32}.delivery-difference-row .zero{color:#52665a}@media(max-width:1000px){.delivery-overview-title{align-items:flex-start;flex-direction:column;gap:4px}.delivery-overview-table{max-width:100%}}.delivery-report{margin-bottom:18px}.delivery-report-title{padding:10px 16px;background:#75917f;color:#fff;text-align:center;font-size:18px;font-weight:800;letter-spacing:.035em}.delivery-report-title span{margin-left:10px;font-size:13px;font-weight:600}.finished-delivery-table .movement-table-head,.finished-delivery-table .movement-table-row{grid-template-columns:1fr .8fr .65fr 1fr 1fr .7fr 1.2fr}.delivery-overview+.movement-actions{display:none}.hero-action-row{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.delivery-overview-row>span{overflow-wrap:anywhere;font-size:clamp(9px,.72vw,12px);padding-left:4px;padding-right:4px}.delivery-overview{margin-bottom:18px;color:#173c2b}.delivery-overview .delivery-report-title{margin:0;padding:11px 18px;border-radius:10px 10px 0 0;background:#75917f;color:#fff;text-align:center;font-size:18px;font-weight:800;letter-spacing:.035em}.delivery-overview .delivery-report-title span{margin-left:10px;font-size:13px;font-weight:600}.delivery-order-summary{display:grid;grid-template-columns:minmax(250px,1.35fr) repeat(3,minmax(150px,.75fr));align-items:stretch;border:1px solid #cbd6cd;border-top:0;border-radius:0 0 10px 10px;background:#eef3ee}.delivery-order-identity,.delivery-order-metric{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:16px 20px}.delivery-order-identity{align-items:flex-start}.delivery-order-identity small,.delivery-order-metric small,.delivery-po-header small,.delivery-po-header dt{color:#587061;font-size:11px;font-weight:800;letter-spacing:.035em}.delivery-order-identity b{margin:3px 0;color:#103f2b;font-size:25px;line-height:1}.delivery-order-identity span{color:#587061;font-size:12px;font-weight:700}.delivery-order-metric{align-items:center;border-left:1px solid #cfdbd2;text-align:center}.delivery-order-metric strong{margin-top:4px;color:#103f2b;font-size:27px;line-height:1;font-variant-numeric:tabular-nums}.delivery-order-difference span{margin-top:5px;font-size:10px;font-weight:800}.delivery-order-difference.negative strong,.delivery-order-difference.negative span{color:#b42318}.delivery-order-difference.positive strong,.delivery-order-difference.positive span{color:#b35c00}.delivery-order-difference.zero strong,.delivery-order-difference.zero span{color:#217346}.delivery-po-list{display:grid;gap:12px;margin-top:12px}.delivery-po-card{overflow:hidden;border:1px solid #cbd6cd;border-radius:10px;background:#fff}.delivery-po-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 14px;border-bottom:1px solid #d5dfd7;background:#f8faf8}.delivery-po-header>div{display:flex;align-items:baseline;gap:10px;min-width:0}.delivery-po-header>div b{color:#103f2b;font-size:20px}.delivery-po-header>div span{color:#65756a;font-size:11px;font-weight:700}.delivery-po-header dl{display:grid;grid-template-columns:repeat(3,minmax(112px,1fr));margin:0}.delivery-po-header dl>div{padding:0 16px;border-left:1px solid #d5dfd7;text-align:center}.delivery-po-header dt{margin:0}.delivery-po-header dd{margin:2px 0 0;color:#103f2b;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}.delivery-po-header .negative dd{color:#b42318}.delivery-po-header .positive dd{color:#b35c00}.delivery-po-header .zero dd{color:#217346}.delivery-po-matrix{width:100%;overflow:hidden}.delivery-po-row{display:grid;grid-template-columns:minmax(150px,1.15fr) repeat(var(--size-count),minmax(58px,.65fr)) minmax(72px,.75fr);min-width:0}.delivery-po-row>span,.delivery-color-name{display:flex;min-width:0;min-height:34px;align-items:center;justify-content:center;padding:6px 8px;border-right:1px solid #dbe2dc;border-bottom:1px solid #dbe2dc;font-size:11px;font-variant-numeric:tabular-nums}.delivery-po-head{grid-template-columns:minmax(130px,.9fr) minmax(150px,1.15fr) repeat(var(--size-count),minmax(58px,.65fr)) minmax(72px,.75fr);background:#dce8df;color:#264936;font-weight:800}.delivery-po-head>span:last-child,.delivery-po-row>span:last-child{border-right:0;font-weight:800}.delivery-color-group{display:grid;grid-template-columns:minmax(130px,.9fr) 1fr}.delivery-color-name{min-height:102px;background:#f7f9f7;color:#264936;font-weight:800}.delivery-color-rows{min-width:0}.delivery-color-rows .delivery-po-row{grid-template-columns:minmax(150px,1.15fr) repeat(var(--size-count),minmax(58px,.65fr)) minmax(72px,.75fr)}.delivery-ordered-row{background:#fbfcfb;font-weight:650}.delivery-delivered-row{background:#eef5ef}.delivery-po-difference-row{background:#fff7f6;font-weight:750}.delivery-po-difference-row .negative{color:#b42318}.delivery-po-difference-row .positive{color:#b35c00}.delivery-po-difference-row .zero{color:#217346}.delivery-overview-empty{padding:24px;border:1px solid #cbd6cd;border-radius:10px;background:#f7f9f7;text-align:center;color:#65756a;font-weight:700}@media(max-width:1000px){.delivery-order-summary{grid-template-columns:1fr 1fr}.delivery-order-identity{grid-row:span 2}.delivery-order-metric{border-bottom:1px solid #cfdbd2}.delivery-po-header{align-items:flex-start;flex-direction:column}.delivery-po-header dl{width:100%}.delivery-po-matrix{overflow-x:auto}.delivery-po-row,.delivery-po-head{min-width:760px}}.delivery-po-head{grid-template-columns:160px 180px repeat(var(--size-count),minmax(0,1fr)) 92px}.delivery-color-group{grid-template-columns:160px minmax(0,1fr)}.delivery-color-rows .delivery-po-row{grid-template-columns:180px repeat(var(--size-count),minmax(0,1fr)) 92px}.delivery-color-name{min-width:0}.delivery-po-row>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media(max-width:1000px){.delivery-po-head{grid-template-columns:140px 160px repeat(var(--size-count),72px) 84px}.delivery-color-group{grid-template-columns:140px minmax(0,1fr)}.delivery-color-rows .delivery-po-row{grid-template-columns:160px repeat(var(--size-count),72px) 84px}}.delivery-po-matrix{display:grid;grid-template-columns:160px 180px repeat(var(--size-count),minmax(0,1fr)) 92px}.delivery-po-head,.delivery-color-group,.delivery-color-rows,.delivery-color-rows .delivery-po-row{display:contents}.delivery-po-head>span{background:#dce8df;color:#264936;font-weight:800}.delivery-po-head>span,.delivery-color-name,.delivery-color-rows .delivery-po-row>span{min-height:34px;border-right:1px solid #dbe2dc;border-bottom:1px solid #dbe2dc}.delivery-color-name{grid-row:span 3;min-height:102px}.delivery-color-rows .delivery-po-row>span:first-child{font-weight:750}.delivery-color-rows .delivery-po-row>span:last-child{border-right:0;font-weight:800}.delivery-ordered-row>span{background:#fbfcfb}.delivery-delivered-row>span{background:#eef5ef}.delivery-po-difference-row>span{background:#fff7f6}@media(max-width:1000px){.delivery-po-matrix{grid-template-columns:140px 160px repeat(var(--size-count),72px) 84px;min-width:max-content}}.legacy-finished-delivery-table{display:none!important}.delivery-records{margin-top:14px;border:1px solid #c7d5ca;border-radius:10px;overflow:hidden;background:#fff}.delivery-records-trigger,.delivery-note-record-trigger{width:100%;border:0;background:#f4f8f5;color:#173c2b;cursor:pointer;font:inherit}.delivery-records-trigger{display:grid;grid-template-columns:1fr auto 22px;align-items:center;gap:16px;padding:13px 16px;text-align:left}.delivery-records-trigger:hover,.delivery-note-record-trigger:hover{background:#edf4ef}.delivery-records-trigger>span{display:flex;align-items:baseline;gap:9px}.delivery-records-trigger b{font-size:14px}.delivery-records-trigger small{font-size:12px}.delivery-records-trigger em{font-size:11px;font-style:normal;font-weight:750;color:#65756a}.delivery-note-record-list{padding:8px;background:#f8faf8;border-top:1px solid #d7e0d9}.delivery-note-record{margin-bottom:7px;border:1px solid #d3ddd5;border-radius:8px;overflow:hidden;background:#fff}.delivery-note-record:last-child{margin-bottom:0}.delivery-note-record-trigger{display:grid;grid-template-columns:1.15fr .85fr 1fr .7fr 22px;align-items:center;gap:12px;padding:10px 12px;background:#fff;text-align:left}.delivery-note-record-trigger>span{display:flex;min-width:0;flex-direction:column;gap:2px}.delivery-note-record-trigger small{color:#65756a;font-size:10px;font-weight:750}.delivery-note-record-trigger b{overflow:hidden;color:#173c2b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.delivery-note-lines{border-top:1px solid #d7e0d9}.delivery-note-line{display:grid;grid-template-columns:.65fr .9fr 1.35fr .7fr .7fr}.delivery-note-line>span{padding:8px 10px;border-right:1px solid #e0e7e1;border-bottom:1px solid #e0e7e1;font-size:11px;text-align:center}.delivery-note-line>span:last-child{border-right:0;font-weight:750}.delivery-note-line:last-child>span{border-bottom:0}.delivery-note-line-head{background:#dce8df;color:#264936;font-weight:800}.delivery-record-empty{padding:22px;text-align:center;color:#65756a;font-size:12px;font-weight:700}@media(max-width:800px){.delivery-records-trigger{grid-template-columns:1fr 22px}.delivery-records-trigger em{display:none}.delivery-note-record-trigger{grid-template-columns:1fr 1fr 22px}.delivery-note-record-trigger>span:nth-child(3),.delivery-note-record-trigger>span:nth-child(4){display:none}.delivery-note-lines{overflow-x:auto}.delivery-note-line{min-width:620px}}.delivery-note-record-body{background:#fff}.view-full-note{display:block;margin:9px 12px 11px auto;padding:8px 12px;border:1px solid #246746;border-radius:6px;background:#246746;color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.view-full-note:hover{background:#174d35}.view-full-note:disabled{cursor:not-allowed;opacity:.48}.delivery-record-error{margin:8px 4px 2px;color:#b42318;font-size:11px;font-weight:700}.delivery-history-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:18px;background:#122f217a}.delivery-history-dialog{display:grid;width:min(1500px,98vw);height:min(940px,96vh);grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #75917f;border-radius:12px;background:#f3f6f3;box-shadow:0 24px 80px #0f36233d}.delivery-history-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #cbd6cd;background:#fff}.delivery-history-dialog>header p{margin:0;color:#246746;font-size:10px;font-weight:800;letter-spacing:.08em}.delivery-history-dialog>header h2{margin:3px 0 0;color:#173c2b;font-size:19px}.delivery-history-content{overflow:auto;padding:16px}.delivery-history-content .compact-delivery-sheet{width:min(1180px,100%)}.delivery-history-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:11px 16px;border-top:1px solid #cbd6cd;background:#fff}.printing-record-wrap{border-top:1px solid #e2e7e2}.printing-record-wrap>.movement-table-row{border-top:0}.record-return{display:block;margin-top:6px;border:0;background:transparent;color:#1f6246;font-size:10px;font-weight:800;padding:0;cursor:pointer}.return-form{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:12px;align-items:end;padding:12px 14px;background:#edf4ef;border-top:1px dashed #b9cbbb}.return-form label{display:grid;gap:5px;font-size:10px;font-weight:800;color:#365342}.return-form input{height:34px;border:1px solid #aebeb2;border-radius:7px;padding:0 9px}.return-form button{background:#1f6246!important;color:#fff!important}.triple-progress{display:grid!important;grid-template-columns:1fr!important;gap:3px!important;min-width:150px}.triple-progress>small{margin-bottom:2px}.triple-progress>span{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:5px;font-size:10px}.triple-progress em{font-style:normal;font-size:9px;color:#557064}.triple-progress b{font-size:11px!important}.triple-progress i{grid-column:1/-1;height:3px!important;background:#d6e1da!important;border-radius:3px;overflow:hidden}.triple-progress u{display:block;height:100%;background:#24704e;border-radius:3px;text-decoration:none}.panel-requirements{display:flex;align-items:center;gap:20px;padding:12px 14px;margin-bottom:14px;background:#edf4ee;border:1px solid #d0ddd2;border-radius:9px;color:#294c38}.panel-requirements label{display:flex;align-items:center;gap:7px;font-size:13px}.panel-requirements input{accent-color:#1f6246}.movement-form select{height:36px;border:1px solid #aebeb2;border-radius:7px;padding:0 10px;background:#fff;color:#213a2b}.printing-comparison{overflow:hidden;margin:14px 0;border:1px solid #b8cdbd;border-radius:11px;background:#ffffffd1}.printing-comparison-title{padding:11px 15px;background:#75917f;color:#fff;text-align:center;font-size:16px;font-weight:850;letter-spacing:.035em}.printing-comparison-title span{margin-left:10px;font-size:12px}.printing-compare-head,.printing-compare-row{display:grid;grid-template-columns:1.25fr .55fr .9fr repeat(5,.65fr) 1.05fr;align-items:stretch}.printing-compare-head{position:sticky;top:0;background:#dce9df;color:#244b37;font-size:9px;font-weight:850}.printing-compare-head>span,.printing-compare-row>span{display:flex;min-width:0;align-items:center;justify-content:center;padding:8px 5px;border-right:1px solid #d4dfd7;border-bottom:1px solid #dce5de;text-align:center}.printing-compare-row>span:first-child{justify-content:flex-start;padding-left:12px;font-weight:750}.printing-compare-row:last-child>span{border-bottom:0}.printing-compare-row .negative{color:#b42318;font-weight:800}.printing-compare-row b{padding:5px 8px;border-radius:7px;font-size:9px;white-space:nowrap}.printing-compare-row b.matched{background:#e1f1e5;color:#236441}.printing-compare-row b.partial{background:#fff3dc;color:#9d5e00}.printing-compare-row b.pending{background:#f5eee1;color:#7b694c}.printing-records{margin-top:10px;overflow:hidden;border:1px solid #c6d5ca;border-radius:10px;background:#fff}.printing-records-trigger{display:grid;width:100%;grid-template-columns:1fr auto 22px;align-items:center;gap:14px;padding:12px 15px;border:0;background:#f3f8f4;color:#173c2b;text-align:left;cursor:pointer}.printing-records-trigger:hover{background:#eaf3ed}.printing-records-trigger>span{display:flex;align-items:baseline;gap:8px}.printing-records-trigger b{font-size:13px}.printing-records-trigger small{font-size:11px}.printing-records-trigger em{color:#64796b;font-size:10px;font-style:normal;font-weight:750}.printing-record-list{padding:8px;border-top:1px solid #d4dfd7;background:#f9fbf9}.printing-note-record{margin-bottom:7px;overflow:hidden;border:1px solid #d5dfd7;border-radius:8px;background:#fff}.printing-note-record:last-child{margin-bottom:0}.printing-note-record>button{display:grid;width:100%;grid-template-columns:1.2fr .8fr .7fr 22px;align-items:center;gap:12px;padding:9px 12px;border:0;background:#fff;color:#173c2b;text-align:left;cursor:pointer}.printing-note-record>button:hover{background:#f2f7f3}.printing-note-record>button>span{display:flex;flex-direction:column}.printing-note-record small{color:#61766a;font-size:9px;font-weight:750}.printing-note-record b{font-size:12px}.printing-record-detail{padding:9px 12px 12px;border-top:1px solid #d6e0d8}.printing-detail-head,.printing-detail-row{display:grid;grid-template-columns:1.4fr .7fr 1fr .65fr}.printing-detail-head{background:#dce9df;color:#254b38;font-size:9px;font-weight:800}.printing-detail-head span,.printing-detail-row span{padding:7px;border-right:1px solid #d7e1d9;border-bottom:1px solid #d7e1d9;text-align:center}.printing-record-detail>button{display:flex;margin:9px 0 0 auto}.printing-record-empty{padding:18px;text-align:center;color:#64796b;font-size:11px;font-weight:700}@media(max-width:1100px){.printing-comparison{overflow-x:auto}.printing-compare-head,.printing-compare-row{min-width:1000px}.printing-records-trigger{grid-template-columns:1fr 22px}.printing-records-trigger em{display:none}}.delivery-note-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#102c1f80}.delivery-note-dialog{width:min(1420px,96vw);max-height:92vh;overflow:auto;border:1px solid #789780;border-radius:14px;background:#fbfcfa;box-shadow:0 24px 70px #0e301f3d}.delivery-note-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #ccd7ce}.delivery-note-dialog>header p{margin:0;color:#1f6246;font-weight:800;letter-spacing:.08em}.delivery-note-dialog>header h2{margin:3px 0 0;color:#173c2b}.delivery-note-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px 22px;background:#eef4ef}.delivery-note-meta label{display:grid;gap:6px;color:#365342;font-size:11px;font-weight:800}.delivery-note-meta input,.delivery-note-meta select,.delivery-note-line input,.delivery-note-line select{height:38px;min-width:0;border:1px solid #adbbb0;border-radius:7px;padding:0 9px;background:#fff;color:#203b2b}.delivery-note-lines{padding:18px 22px 4px}.delivery-note-line{display:grid;grid-template-columns:1.5fr 1fr 1.25fr .7fr .7fr 42px;gap:8px;margin-bottom:8px}.delivery-note-line.head{color:#456050;font-size:11px;font-weight:800}.delivery-note-add{display:flex;align-items:center;justify-content:space-between;padding:8px 22px 16px}.delivery-note-add strong{color:#173c2b;font-size:17px}.delivery-note-preview{display:flex;justify-content:space-between;margin:0 22px 14px;padding:13px 15px;border-left:4px solid #1f6246;background:#e6efe8;color:#244c35}.delivery-note-error{margin:0 22px 12px;color:#ae3029}.delivery-note-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #ccd7ce}.delivery-note-dialog>footer button:last-child{background:#1f6246;color:#fff}.delivery-note-cta{background:#173c2b!important;color:#fff!important}@media(max-width:900px){.delivery-note-meta,.delivery-note-line{grid-template-columns:1fr 1fr}.delivery-note-line.head{display:none}.delivery-note-dialog>footer{flex-wrap:wrap}}.hierarchy-editor{display:grid;gap:14px;padding:18px 22px}.delivery-order-group{border:1px solid #9fb4a5;border-radius:10px;overflow:hidden;background:#fff}.hierarchy-bar{display:flex;align-items:end;gap:10px;padding:12px;background:#dfe9e1}.hierarchy-bar.sub{background:#edf3ee}.hierarchy-bar.color{background:#f6f8f5;border-bottom:1px solid #dbe3dc}.hierarchy-bar label{display:grid;min-width:280px;gap:5px;font-size:11px;font-weight:800;color:#365342}.hierarchy-bar select,.delivery-size-row select,.delivery-size-row input{height:36px;border:1px solid #aebeb2;border-radius:7px;background:#fff;padding:0 9px}.hierarchy-bar strong,.hierarchy-bar b{margin-left:auto;color:#173c2b}.delivery-po-group{border-top:1px solid #cbd7cd}.delivery-color-group{margin:10px;border:1px solid #d4ddd5;border-radius:8px;overflow:hidden}.delivery-size-row{display:grid;grid-template-columns:150px 130px minmax(280px,1fr) auto 42px;align-items:end;gap:9px;padding:10px;border-top:1px solid #e0e6e1}.delivery-size-row label{display:grid;gap:5px;color:#365342;font-size:11px;font-weight:800}.delivery-size-row>span{align-self:center;color:#66756b;font-size:12px}.delivery-size-row .positive{color:#217346}.delivery-size-row .negative{color:#b53b32}.delivery-size-row .zero{color:#52665a}@media(max-width:1000px){.hierarchy-bar{align-items:stretch;flex-wrap:wrap}.hierarchy-bar label{min-width:220px;flex:1}.delivery-size-row{grid-template-columns:1fr 1fr}.delivery-size-row>span{grid-column:1/-1}}.matrix-editor{display:grid;gap:14px;padding:18px 22px}.matrix-order{border:1px solid #a5b8aa;border-radius:10px;overflow:hidden;background:#fff}.matrix-order-head,.matrix-po-head{display:flex;align-items:end;gap:12px;padding:12px 14px;background:#e2ebe4}.matrix-order-head label,.matrix-po-head label{display:grid;min-width:300px;gap:5px;color:#365342;font-size:11px;font-weight:800}.matrix-order-head select,.matrix-po-head select{height:38px;border:1px solid #aebeb2;border-radius:7px;background:#fff;padding:0 10px}.matrix-order-head>span{display:grid;gap:4px}.matrix-order-head small{color:#617267}.matrix-order-head>strong,.matrix-po-head>strong{margin-left:auto;color:#173c2b}.matrix-po{border-top:1px solid #cbd7cd}.matrix-po-head{background:#f0f4f0}.color-size-matrix{display:grid}.matrix-row{display:grid;grid-template-columns:minmax(150px,1.2fr) repeat(var(--matrix-columns),minmax(70px,1fr)) minmax(85px,.8fr);align-items:center;border-top:1px solid #dce4dd}.matrix-row>*{display:grid;place-items:center;min-height:52px;padding:7px;border-right:1px solid #dce4dd;color:#284734}.matrix-row>*:last-child{border-right:0}.matrix-head{background:#f6f8f6;font-size:11px;font-weight:800}.matrix-row input{width:100%;height:34px;box-sizing:border-box;border:1px solid #b4c2b7;border-radius:6px;background:#fff;text-align:center;font-variant-numeric:tabular-nums}.matrix-row i{color:#a5afa8;font-style:normal}.matrix-total{background:#edf3ee;font-weight:800}.add-order{justify-self:center}.delivery-note-dialog>footer .grand-total{margin-right:auto;align-self:center;color:#173c2b;font-size:17px}@media(max-width:1000px){.matrix-order-head,.matrix-po-head{align-items:stretch;flex-wrap:wrap}.matrix-order-head label,.matrix-po-head label{min-width:220px;flex:1}.color-size-matrix{overflow-x:auto}.matrix-row{min-width:760px}}.final-note{width:min(1500px,98vw)}.final-note>header{padding:10px 16px}.final-note>header h2{font-size:17px}.final-note .delivery-note-meta{padding:8px 16px}.tree-scroll{max-height:62vh;overflow:auto;padding:0 16px}.delivery-tree{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #c7d3c9}.delivery-tree th{position:sticky;top:0;z-index:3;height:34px;background:#075332;color:#fff;font-size:11px}.delivery-tree th:nth-child(1){width:13%}.delivery-tree th:nth-child(2){width:21%}.delivery-tree th:nth-child(3){width:12%}.delivery-tree th:nth-child(4){width:23%}.delivery-tree th:nth-child(5){width:15%}.delivery-tree th:nth-child(6){width:16%}.delivery-tree td{position:relative;height:36px;padding:3px 34px 3px 8px;border-right:1px solid #d8e0da;border-top:1px solid #e1e6e2;vertical-align:top;color:#253f30}.delivery-tree td:last-child{border-right:0}.delivery-tree select,.delivery-tree input{width:100%;height:29px;box-sizing:border-box;border:1px solid #b9c6bc;border-radius:5px;background:#fff;padding:0 7px}.delivery-tree input{text-align:right;font-variant-numeric:tabular-nums}.package-cell{background:#eaf1eb}.order-cell{background:#f3f6f3}.tree-actions{position:absolute;top:3px;right:3px;display:flex;gap:2px}.tree-actions button,.qty-cell>button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid #bdc9bf;border-radius:4px;background:#fff;color:#28523a;cursor:pointer}.tree-actions .tree-delete,.qty-cell>button{color:#859087;border-color:transparent;background:transparent}.tree-actions svg,.qty-cell svg{width:15px}.tree-actions button:disabled,.qty-cell button:disabled{opacity:.25}.qty-cell{display:flex;gap:3px;padding-right:4px!important}.qty-cell>button{flex:0 0 24px}.package-start td{border-top:2px solid #52725d}.package-total td{height:27px;padding:3px 10px;background:#f0f5f1;font-weight:800;text-align:right;border-bottom:2px solid #52725d}.add-package{margin:8px 16px}.final-note>footer{min-height:48px;padding:8px 16px}.note-print-preview{padding:14px 18px}.preview-sheet{padding:20px;border:1px solid #cbd5cd;background:#fff}.preview-sheet h2{text-align:center;margin:0 0 12px}.preview-meta{display:flex;justify-content:space-between;margin-bottom:10px}.preview-sheet table{width:100%;border-collapse:collapse}.preview-sheet th,.preview-sheet td{padding:6px;border:1px solid #789780;text-align:center}.preview-sheet th{background:#dce8df}.preview-sheet>strong{display:block;margin-top:12px;text-align:right}.preview-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}@media(max-width:900px){.tree-scroll{overflow:auto}.delivery-tree{min-width:900px}}.final-note .compact-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-tree td{padding-right:62px}.delivery-tree td:not(.qty-cell)>select{width:100%;max-width:calc(100% - 2px)}.tree-actions{top:50%;right:6px;transform:translateY(-50%);gap:3px;width:51px;justify-content:flex-end}.tree-actions button{width:23px;height:23px}.package-cell,.order-cell{padding-top:5px}.qty-cell{padding-right:4px!important}.qty-cell input{min-width:0}.delivery-tree td[rowspan]{vertical-align:top}.delivery-tree td[rowspan]>.tree-actions{top:5px;transform:none}.final-note .tree-actions.delete-only{width:24px}.final-note .package-cell{padding-right:36px}.note-print-preview .compact-delivery-sheet{width:min(1120px,100%);margin:0 auto;padding:22px 24px;background:#fff;border:1px solid #cad6cc;color:#173c2b}.compact-delivery-sheet h2{margin:0 0 10px;font-size:22px;text-align:left;letter-spacing:.01em}.print-meta{display:grid;grid-template-columns:1.25fr .8fr 1fr .55fr .75fr;border-top:1px solid #78947f;border-bottom:1px solid #78947f}.print-meta>span{padding:7px 9px;border-right:1px solid #d2ddd4;font-size:12px;font-weight:750}.print-meta>span:last-child{border-right:0}.print-meta small{display:block;margin-bottom:2px;color:#65756a;font-size:9px;font-weight:800}.print-orders{margin:7px 0;padding:5px 8px;background:#f1f5f2;font-size:11px}.compact-package-table{width:100%;border-collapse:collapse;table-layout:fixed}.compact-package-table th,.compact-package-table td{padding:5px 6px;border:1px solid #bdcbbf;text-align:center;font-size:10px;line-height:1.15}.compact-package-table th{background:#245c42;color:#fff;font-size:9px}.compact-package-table .package-first td{border-top:2px solid #75917f}.compact-package-table .package-first td:first-child{background:#e6eee8;color:#174d35;font-weight:800}.compact-package-table th:nth-child(1){width:11%}.compact-package-table th:nth-child(2){width:13%}.compact-package-table th:nth-child(3){width:8%}.compact-package-table th:nth-child(4){width:10%}.compact-package-table th:nth-child(5){width:19%}.compact-package-table th:nth-child(6){width:8%}.compact-package-table th:nth-child(7){width:10%}.compact-package-table th:nth-child(8){width:8%}.compact-package-table th:nth-child(9){width:13%}.print-final{margin-top:10px;padding-top:8px;border-top:2px solid #245c42;font-size:10px}.print-final>strong{display:block;text-align:right;font-size:15px}.print-final>div{display:flex;justify-content:space-between;gap:20px;margin-top:18px}@media(max-width:900px){.print-meta{grid-template-columns:1fr 1fr}.print-meta>span{border-bottom:1px solid #d2ddd4}.compact-delivery-sheet{overflow-x:auto}.compact-package-table{min-width:900px}}.compact-package-table .print-package-block{break-inside:avoid;page-break-inside:avoid}.printing-note-overlay{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:18px;background:#122f2180;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.printing-note-dialog{display:grid;width:min(1440px,98vw);height:min(900px,96vh);grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #75917f;border-radius:16px;background:linear-gradient(145deg,#f8fbf8fa,#e5f0e9fa);box-shadow:0 26px 90px #0f362340}.printing-note-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #c5d5c9;background:#ffffffc7}.printing-note-dialog>header p{margin:0;color:#246746;font-size:11px;font-weight:850;letter-spacing:.09em}.printing-note-dialog>header h2{margin:2px 0 0;color:#123c2a;font-size:21px}.printing-note-meta{display:grid;grid-template-columns:1fr .8fr 1.3fr 1.3fr;gap:12px;padding:14px 20px;border-bottom:1px solid #cbd8cf;background:#e9f2ecd1}.printing-note-meta label{color:#315a46;font-size:11px;font-weight:800}.printing-note-meta input,.printing-note-meta select,.printing-line input,.printing-line select{width:100%;height:40px;margin-top:5px;padding:0 11px;border:1px solid #aec4b4;border-radius:8px;background:#fff;color:#173c2b;font:inherit}.printing-note-meta input:focus,.printing-note-meta select:focus,.printing-line input:focus,.printing-line select:focus{outline:2px solid rgb(36 103 70/.2);border-color:#246746}.printing-note-lines{overflow:auto;padding:14px 20px}.printing-line{position:relative;display:grid;grid-template-columns:1.3fr .8fr 1.1fr .65fr .7fr 38px;align-items:center;gap:9px;padding:8px 38px 8px 10px;border:1px solid #d1ddd4;border-top:0;background:#ffffffdb}.printing-line:first-of-type{border-top:1px solid #d1ddd4}.printing-line-head{position:sticky;top:0;z-index:2;padding:10px;background:#245c42;color:#fff;font-size:10px;font-weight:850}.printing-line>select,.printing-line>input{margin:0}.printing-line>b,.printing-line>span{text-align:center;font-size:12px}.printing-line>button{display:grid;width:34px;height:34px;place-items:center;border:1px solid #cbd8cf;border-radius:7px;background:#f8fbf9;color:#a33;cursor:pointer}.printing-line>button:disabled{opacity:.3;cursor:not-allowed}.printing-line .printing-add-line{position:absolute;right:3px;border-color:#7eaa90;color:#185f3e}.return-note-line{grid-template-columns:2fr .8fr 1.2fr .65fr .7fr 38px}.printing-note-dialog>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 18px;border-top:1px solid #c7d5ca;background:#fff}.printing-note-dialog>footer>strong{margin-right:auto;color:#173c2b}.printing-note-error{margin:0;padding:9px 20px;background:#fff0ee;color:#b42318;font-size:12px;font-weight:750}.printing-preview{overflow:auto;margin:18px;padding:22px;border:1px solid #a9bfae;border-radius:10px;background:#fff;color:#173c2b}.printing-preview>h2{text-align:center;font-size:22px}.printing-preview-meta{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #bdcdbf}.printing-preview-meta span{padding:8px;border-right:1px solid #d2ddd4;font-weight:750}.printing-preview-meta small{display:block;color:#607568;font-size:9px}.printing-preview table{width:100%;margin-top:12px;border-collapse:collapse}.printing-preview th,.printing-preview td{padding:7px;border:1px solid #bdcdbf;text-align:center}.printing-preview th{background:#245c42;color:#fff;font-size:10px}.printing-preview-total{display:block;margin-top:12px;text-align:right;font-size:15px}.printing-note-menu{display:flex;flex-direction:column;align-items:stretch;gap:6px}.printing-note-menu .printing-note-parent{min-width:210px}.printing-note-subactions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.printing-note-subactions button{min-width:0;font-size:11px}@media(max-width:900px){.printing-note-meta{grid-template-columns:1fr 1fr}.printing-line,.return-note-line{min-width:900px}.printing-preview-meta{grid-template-columns:1fr 1fr}}.printing-note-lines{padding:14px 20px}.printing-tree{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#173c2b}.printing-tree th{height:48px;padding:8px 10px;background:#245c42;color:#fff;font-size:11px;font-weight:850;text-align:center}.printing-tree th:nth-child(1){width:27%}.printing-tree th:nth-child(2){width:18%}.printing-tree th:nth-child(3){width:25%}.printing-tree th:nth-child(4){width:13%}.printing-tree th:nth-child(5){width:17%}.printing-tree td{height:58px;padding:7px 10px;border-right:1px solid #d2ddd5;border-bottom:1px solid #d2ddd5;background:#ffffffe0;text-align:center;vertical-align:middle}.printing-tree td:first-child{border-left:1px solid #d2ddd5}.printing-tree tbody tr:first-child td{border-top:1px solid #d2ddd5}.printing-tree td[rowspan]{vertical-align:top;background:#eef5f0eb}.tree-control{display:flex;align-items:center;gap:6px}.tree-control select{min-width:0;flex:1;height:38px;margin:0;padding:0 9px;border:1px solid #afc4b4;border-radius:7px;background:#fff;color:#173c2b;font:inherit}.tree-control button{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;padding:0;border:1px solid #9ebaa6;border-radius:6px;background:#f8fbf9;color:#185f3e;cursor:pointer}.tree-control button:hover{background:#e6f1e9}.tree-control button:last-child{border-color:#e4b8b3;color:#b42318}.tree-control button:disabled{cursor:not-allowed;opacity:.25}.tree-required{font-size:13px;font-weight:850;font-variant-numeric:tabular-nums}.tree-qty{width:100%;height:38px;padding:0 10px;border:1px solid #afc4b4;border-radius:7px;background:#fff;color:#173c2b;font:inherit;text-align:center}.return-tree th:nth-child(1){width:34%}.return-tree th:nth-child(2){width:17%}.return-tree th:nth-child(3){width:22%}.return-tree th:nth-child(4){width:12%}.return-tree th:nth-child(5){width:15%}@media(max-width:900px){.printing-note-lines{overflow-x:auto}.printing-tree{min-width:980px}}.receiving-main{--inbound-forest: #174b3a;--inbound-forest-2: #28664d;--inbound-ink: #173d30;--inbound-mist: rgb(218 235 227 / .84);--inbound-mint: rgb(235 244 238 / .88);--inbound-cyan: rgb(220 237 235 / .86);--inbound-warm: rgb(255 254 249 / .9);--inbound-line: rgb(68 107 87 / .24);--inbound-highlight: rgb(255 255 255 / .66);--inbound-shadow: 0 16px 42px rgb(32 70 52 / .13), inset 0 1px 0 rgb(255 255 255 / .62)}.receiving-main .home-back,.receiving-main .orm-upload-button,.receiving-main .hero-action-row button,.receiving-main .movement-actions button,.receiving-main .movement-form button,.receiving-main .arrival-form button,.receiving-main .view-full-note{border-color:#275c436b!important;box-shadow:inset 0 1px #ffffff38,0 8px 20px #1f4d3729!important}.receiving-main .home-back{background:linear-gradient(135deg,#fffffcd1,#deece3c2)!important;-webkit-backdrop-filter:blur(14px) saturate(125%);backdrop-filter:blur(14px) saturate(125%)}.receiving-main .orm-upload-button,.receiving-main .hero-action-row button,.receiving-main .movement-actions button,.receiving-main .movement-form button,.receiving-main .view-full-note{background:linear-gradient(135deg,#174b3a,#2c6b51)!important;color:#f8fbf8!important}.receiving-main .compact-status,.receiving-main .orm-import-review,.receiving-main .orm-orders{border-color:var(--inbound-line);background:linear-gradient(135deg,#fffffcdb,#e1ede5c7);-webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);box-shadow:var(--inbound-shadow)}.receiving-main .orm-orders>.orders-heading{background:linear-gradient(110deg,#f6f9f4db,#dae9e0b8);border-color:var(--inbound-line)}.receiving-main .orm-order{border-color:#456a5733}.receiving-main .orm-order-trigger{background:linear-gradient(105deg,#fffef9e6,#eef5efd1)}.receiving-main .orm-order-trigger:hover{background:linear-gradient(105deg,#f7fbf6f0,#deede3e0)}.receiving-main .orm-order.is-open{box-shadow:inset 5px 0 #37765a,0 12px 28px #1f48341a}.receiving-main .orm-order.is-open>.orm-order-trigger{background:linear-gradient(112deg,#e2efe6f0,#c9e0d5d6);box-shadow:inset 0 1px 0 var(--inbound-highlight),inset 0 -1px #4c705c33}.receiving-main .orm-order-detail{background:linear-gradient(135deg,#c7dbcfb8,#deebe3c7);border-color:var(--inbound-line)}.receiving-main .movement-sections{background:linear-gradient(115deg,#deebe2b8,#cde1d8ad);border-color:var(--inbound-line)}.receiving-main .movement-section{border-color:var(--inbound-line);background:linear-gradient(135deg,#fcfdf9d6,#e7f0eacc);box-shadow:inset 0 1px 0 var(--inbound-highlight),0 7px 18px #25483714;-webkit-backdrop-filter:blur(14px) saturate(120%);backdrop-filter:blur(14px) saturate(120%)}.receiving-main .movement-section:nth-child(1){background:linear-gradient(135deg,#fffef9e6,#e7f1ead1)}.receiving-main .movement-section:nth-child(2){background:linear-gradient(135deg,#edf6f0e6,#d0e5d9d1)}.receiving-main .movement-section:nth-child(3){background:linear-gradient(135deg,#e9f4f2e6,#cce2dfd1)}.receiving-main .movement-section.active{border-color:#31694c80;box-shadow:inset 0 1px #ffffffc7,0 14px 34px #1d4b3526}.receiving-main .movement-panel{border-color:var(--inbound-line);background:linear-gradient(135deg,#fffffce0,#e6f0e9d1);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%)}.receiving-main .panel-requirements,.receiving-main .movement-form,.receiving-main .return-form{border-color:var(--inbound-line);background:linear-gradient(125deg,#ecf5efe6,#d5e8dec7);box-shadow:inset 0 1px 0 var(--inbound-highlight)}.receiving-main .material-list,.receiving-main .arrival-panel,.receiving-main .movement-table,.receiving-main .delivery-overview-table,.receiving-main .delivery-po-card,.receiving-main .delivery-records,.receiving-main .delivery-note-record{border-color:var(--inbound-line);background:linear-gradient(135deg,#fffffce6,#ecf4efd1);box-shadow:inset 0 1px 0 var(--inbound-highlight),0 10px 26px #224b371a}.receiving-main .material-head,.receiving-main .delivery-report-title,.receiving-main .delivery-overview .delivery-report-title{background:linear-gradient(110deg,#174b3a,#356f57 68%,#5e8f79);box-shadow:inset 0 1px #fff3}.receiving-main .material-trigger,.receiving-main .movement-table-row,.receiving-main .delivery-note-record-trigger,.receiving-main .delivery-note-record-body{background:#fffffcc7}.receiving-main .material-trigger:hover,.receiving-main .delivery-note-record-trigger:hover{background:#e5f1e9e6}.receiving-main .material-item.is-open>.material-trigger{background:linear-gradient(100deg,#e8f3ecf0,#d5e8ddd1);box-shadow:inset 4px 0 #4b8064,inset 0 1px 0 var(--inbound-highlight)}.receiving-main .arrival-panel{background:linear-gradient(135deg,#e7f1ebe6,#d2e5dacc);box-shadow:inset 4px 0 #8daa98,inset 0 1px 0 var(--inbound-highlight),0 10px 24px #1f48341a}.receiving-main .arrival-table,.receiving-main .delivery-order-summary,.receiving-main .delivery-records-trigger,.receiving-main .delivery-note-record-list{border-color:var(--inbound-line);background:#f5f9f5cc}.receiving-main .movement-table-head,.receiving-main .delivery-overview-head,.receiving-main .delivery-po-head>span,.receiving-main .delivery-note-line-head{background:linear-gradient(110deg,#d6e8dcf5,#c4ddd1e6);color:#264936}.receiving-main .delivery-order-summary,.receiving-main .delivery-order-row,.receiving-main .delivery-delivered-row>span,.receiving-main .delivery-summary-row{background:#e2efe6c7}.receiving-main .delivery-ordered-row>span,.receiving-main .delivery-po-header,.receiving-main .delivery-color-name,.receiving-main .delivery-note-record-list{background:#f8faf6cc}.receiving-main .delivery-po-difference-row>span,.receiving-main .delivery-difference-row{background:#fff7f3d1}.receiving-main .delivery-records-trigger{background:linear-gradient(105deg,#f4f9f5e6,#daeae0cc)}.receiving-main input,.receiving-main select,.receiving-main textarea{border-color:#4a715c57!important;background:#fffffcd6!important;box-shadow:inset 0 1px 2px #1d42300b}.receiving-main input:focus,.receiving-main select:focus,.receiving-main textarea:focus{outline:2px solid rgb(83 135 106 / .32);outline-offset:1px;border-color:#4d8066!important}.receiving-main .status-badge{border:1px solid rgb(142 119 72 / .16);box-shadow:inset 0 1px #ffffff8c}.receiving-main .status-badge.completed,.receiving-main .status-badge.matched{border-color:#43774f33;background:linear-gradient(135deg,#e5f2e7f5,#cfe7d6e6)}.receiving-main .status-badge.partial,.receiving-main .status-badge.in_progress{background:linear-gradient(135deg,#fff4d5f5,#f2e0aedb)}.receiving-main .status-badge.pending{background:linear-gradient(135deg,#f5f1e5f5,#e5e0cfe0)}body:has(.receiving-main){background:radial-gradient(circle at 8% 6%,rgb(242 248 241 / .7),transparent 34%),radial-gradient(circle at 90% 18%,rgb(188 218 210 / .48),transparent 38%),linear-gradient(135deg,#d3e0d6b8,#bed3cbad),url(/assets/textile-background.png) center / cover fixed no-repeat}.app-shell:has(.receiving-main){background:linear-gradient(125deg,#f7f9f4b8,#dceae294)}.receiving-main .compact-status,.receiving-main .orm-import-review{border-color:#39685057;background:linear-gradient(130deg,#fffffce6,#d3e6dbd6);box-shadow:inset 0 1px #ffffffd1,0 18px 46px #1944302b}.receiving-main .orm-orders{border-color:#2b5b446b;background:linear-gradient(135deg,#fcfdf8e0,#c6dcd0c7);box-shadow:inset 0 1px #ffffffd1,0 24px 60px #18412f33}.receiving-main .orm-orders>.orders-heading{background:linear-gradient(105deg,#f9fbf6f0,#c5ded0e0);box-shadow:inset 0 -1px #2d5b4433,inset 0 1px #ffffffc7}.receiving-main .orm-order-trigger{background:linear-gradient(102deg,#fffef8f5,#e2efe6e6)}.receiving-main .orm-order-trigger:hover{background:linear-gradient(102deg,#f7fbf5fa,#cae2d5f0)}.receiving-main .orm-order.is-open>.orm-order-trigger{background:linear-gradient(105deg,#d8eadefa,#abcfbde6);box-shadow:inset 6px 0 #2d7253,inset 0 1px #ffffffb8,0 10px 28px #1e4c3524}.receiving-main .orm-order-detail{background:linear-gradient(132deg,#accdbbd6,#cfe3d8e0);box-shadow:inset 0 1px #ffffff80,inset 0 12px 30px #1e4d3614}.receiving-main .movement-sections{background:linear-gradient(120deg,#b2d0bec2,#cfe4d9bd);border-color:#2f5d4557}.receiving-main .movement-section{border-color:#32624957;box-shadow:inset 0 1px #ffffffc7,0 11px 28px #1d4a3421}.receiving-main .movement-section:nth-child(1){background:linear-gradient(132deg,#fffdf4f7,#e7efe0eb)}.receiving-main .movement-section:nth-child(2){background:linear-gradient(132deg,#e3f3e9f7,#b8dbc9e6)}.receiving-main .movement-section:nth-child(3){background:linear-gradient(132deg,#e0f2f0f7,#add2d0e6)}.receiving-main .movement-section.active:nth-child(1){border-color:#8c7d5075}.receiving-main .movement-section.active:nth-child(2){border-color:#2a704d85}.receiving-main .movement-section.active:nth-child(3){border-color:#2e6f6f7a}.receiving-main .movement-panel{background:linear-gradient(132deg,#fffffbf0,#d8e8dee6);box-shadow:inset 0 1px #ffffffd1}.receiving-main .material-list,.receiving-main .movement-table,.receiving-main .delivery-overview-table,.receiving-main .delivery-po-card,.receiving-main .delivery-records{border-color:#35624b5c;box-shadow:inset 0 1px #ffffffe6,0 14px 34px #1b463126}.receiving-main .material-head,.receiving-main .delivery-report-title,.receiving-main .delivery-overview .delivery-report-title{background:linear-gradient(108deg,#123f30,#2b6b50 58%,#65927c);box-shadow:inset 0 1px #ffffff38,0 8px 22px #153f2c2e}.receiving-main .arrival-panel{border-color:#3e6c5361;background:linear-gradient(132deg,#e6f2eaf5,#b7d5c4e6);box-shadow:inset 5px 0 #6f9a7e,inset 0 1px #ffffffc7,0 14px 32px #1a443026}.receiving-main .movement-table-head,.receiving-main .delivery-overview-head,.receiving-main .delivery-po-head>span,.receiving-main .delivery-note-line-head{background:linear-gradient(105deg,#c2decffa,#a1cbb8f0);box-shadow:inset 0 1px #ffffffa8,inset 0 -1px #2d5d442e}.receiving-main .delivery-order-summary,.receiving-main .delivery-delivered-row>span,.receiving-main .delivery-summary-row{background:linear-gradient(115deg,#deeee3f0,#c3ded0e0)}.receiving-main .delivery-records-trigger{background:linear-gradient(105deg,#eff7f1f5,#c1dccee6);box-shadow:inset 0 1px #ffffffb8}.receiving-main .orm-upload-button,.receiving-main .hero-action-row button,.receiving-main .movement-actions button,.receiving-main .movement-form button,.receiving-main .view-full-note{background:linear-gradient(135deg,#123f30,#2f7457)!important;border-color:#0f402cb8!important;box-shadow:inset 0 1px #ffffff3d,0 10px 24px #123f2b3d!important}.receiving-main .orm-upload-button:hover,.receiving-main .hero-action-row button:hover,.receiving-main .movement-actions button:hover,.receiving-main .movement-form button:hover,.receiving-main .view-full-note:hover{background:linear-gradient(135deg,#1c5740,#438365)!important}.receiving-main .material-head,.receiving-main .material-trigger{grid-template-columns:.78fr 1fr 1.85fr .9fr .76fr .86fr .78fr .9fr 28px;gap:10px}.receiving-main .material-head,.receiving-main .material-trigger{min-width:1380px}.receiving-main .material-code-cell{color:#173d30;font-weight:750}.receiving-main .material-name-cell,.receiving-main .material-description-cell,.receiving-main .material-tc-color-cell{display:flex;min-width:0;flex-direction:column;gap:4px}.receiving-main .material-description-cell b,.receiving-main .material-description-cell small,.receiving-main .material-tc-color-cell b,.receiving-main .material-tc-color-cell small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receiving-main .material-description-cell b{color:#244c3b;font-size:11px;font-weight:700}.receiving-main .material-description-cell small,.receiving-main .material-tc-color-cell small{color:#75827b;font-size:10px}.receiving-main .material-head>span{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.1}.receiving-main .material-head>span b{font-size:10px;font-weight:800;white-space:nowrap}.receiving-main .material-head>span small{color:#ffffffd1;font-size:9px;font-weight:650;white-space:nowrap}.receiving-main .material-head,.receiving-main .material-trigger{grid-template-columns:minmax(128px,.92fr) minmax(128px,.92fr) minmax(250px,1.65fr) minmax(145px,.92fr) minmax(94px,.68fr) minmax(100px,.72fr) minmax(100px,.72fr) minmax(116px,.82fr) 24px;min-width:1240px;gap:8px;padding-right:12px;padding-left:12px}.receiving-main .material-trigger .status-badge{max-width:100%;padding-right:8px;padding-left:8px;white-space:nowrap}.receiving-main .material-head,.receiving-main .material-trigger{grid-template-columns:minmax(110px,.72fr) minmax(105px,.68fr) minmax(330px,2.25fr) minmax(180px,1.15fr) minmax(78px,.5fr) minmax(82px,.52fr) minmax(100px,.65fr) minmax(116px,.78fr) 24px;min-width:1200px}.receiving-main .material-description-cell b{display:-webkit-box;overflow:hidden;line-height:1.3;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.receiving-main .material-tc-color-cell b{display:-webkit-box;overflow:hidden;line-height:1.25;text-overflow:ellipsis;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.receiving-main .orm-order.is-active-production{border-color:#2769496b}.receiving-main .orm-order.is-active-production>.orm-order-trigger{background:linear-gradient(105deg,#e2f1e7f5,#c6e1d3e0);box-shadow:inset 5px 0 #2f7858,inset 0 1px #ffffffb8}.receiving-main .orm-order.is-active-production>.orm-order-trigger:hover{background:linear-gradient(105deg,#daede1fa,#bbdac9eb)}.receiving-main .orm-order.is-upcoming-production{border-color:#5d74683d}.receiving-main .orm-order.is-upcoming-production>.orm-order-trigger{background:linear-gradient(105deg,#fafaf6f0,#e6ede8d6);box-shadow:inset 3px 0 #748b7e61,inset 0 1px #ffffffad}.receiving-main .orm-order.is-upcoming-production>.orm-order-trigger:hover{background:linear-gradient(105deg,#f5f8f3f5,#dbe6dfe0)}.receiving-main .orm-order.is-active-production.is-open>.orm-order-trigger{background:linear-gradient(112deg,#d3eadcfa,#b0d6c3e6);box-shadow:inset 5px 0 #246b4b,inset 0 1px 0 var(--inbound-highlight),inset 0 -1px #376a4d3d}.receiving-main .orm-order.is-upcoming-production.is-open>.orm-order-trigger{background:linear-gradient(112deg,#edf3eef5,#d6e2dae0);box-shadow:inset 3px 0 #789181,inset 0 1px 0 var(--inbound-highlight),inset 0 -1px #56706133}.production-board-page{width:100%;max-width:100vw;min-height:100dvh;margin:0;padding:10px;overflow-x:clip;color:#153c2f;background:#123d2f url(/assets/textile-background.png) center/cover fixed;font-family:Segoe UI,Microsoft YaHei UI,sans-serif}.pb-shell{width:100%;max-width:100%;min-height:calc(100dvh - 20px);padding:18px;overflow:hidden;border:1px solid rgb(255 255 255/.58);border-radius:28px;background:linear-gradient(135deg,#fcfdf9f0,#eaf1ece3);box-shadow:inset 0 1px #ffffffe6,0 24px 70px #072b1f47;-webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%)}.pb-header{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 10px 14px}.pb-header>div:first-child{min-width:0;padding:8px 12px;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:2px 12px;border:1px solid rgb(255 255 255/.62);border-radius:16px;background:linear-gradient(135deg,#fffffdb8,#deece3a3);box-shadow:inset 0 1px #ffffffe6,0 8px 20px #224a351a;-webkit-backdrop-filter:blur(12px) saturate(112%);backdrop-filter:blur(12px) saturate(112%)}.pb-header h1{grid-column:2;grid-row:1;margin:0;font-size:clamp(27px,2.3vw,40px);line-height:1;letter-spacing:-.04em}.pb-header h1 span{font-size:.58em;font-weight:650;letter-spacing:-.02em}.pb-header p{grid-column:2;grid-row:2;margin:0;color:#547065;font-size:11px;font-weight:650;letter-spacing:.07em}.pb-back{grid-column:1;grid-row:1 / 3;min-height:34px;padding:0 10px;border:1px solid rgb(88 128 107/.32);border-radius:9px;color:#264f3e;background:linear-gradient(135deg,#fffffdd1,#e2eee6b8);box-shadow:inset 0 1px #ffffffe6,0 4px 10px #224a3514;display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer}.pb-back:hover{background:linear-gradient(135deg,#fffffdf2,#d9e9dedb)}.pb-back:active{transform:translateY(1px)}.pb-header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px}.pb-header-actions>span{padding:12px 14px;border:1px solid #b8cbbf;border-radius:10px;background:#ffffff7a;font-size:10px;font-weight:700;white-space:nowrap}.pb-upload{height:48px;padding:0 20px;border:1px solid rgb(88 128 107/.35);border-radius:10px;color:#174b37;background:linear-gradient(135deg,#fffffdc2,#deede3ad);box-shadow:inset 0 1px #ffffffe0,0 8px 18px #224a351f;-webkit-backdrop-filter:blur(12px) saturate(112%);backdrop-filter:blur(12px) saturate(112%);display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:760;cursor:pointer}.pb-upload:hover{background:linear-gradient(135deg,#fffffde6,#d7e9ddd1)}.pb-upload:active,.pb-queue-row button:active{transform:translateY(1px)}.pb-alert{margin:0 10px 10px;padding:10px 13px;border:1px solid #e2afa9;border-radius:10px;color:#8f2e25;background:#fff0ee;font-size:12px;font-weight:650}.pb-alert-warn{border-color:#dac58f;color:#765514;background:#fff8df}.pb-unassigned{margin:0 10px 10px;padding:8px 10px;display:flex;align-items:center;gap:8px;overflow-x:auto;border:1px solid #c7d5cc;border-radius:11px;background:#fffffdad}.pb-unassigned>strong{flex:none;padding-right:8px;color:#526b5f;font-size:9px}.pb-unassigned>span{flex:none;min-width:260px;padding:6px 7px 6px 10px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;border:1px solid #d3ded6;border-radius:8px;background:#fff}.pb-unassigned b{font-size:10px}.pb-unassigned small{grid-column:1;color:#6a7871;font-size:8px}.pb-unassigned button{grid-column:2;grid-row:1/3;padding:0 8px;border:1px solid #9db9a8;border-radius:6px;color:#245b44;background:#eef5ef;display:inline-flex;align-items:center;gap:4px;font-size:8px;font-weight:750;cursor:pointer}.pb-loading{min-height:560px;display:grid;place-items:center;color:#517064;font-size:12px;font-weight:700}.pb-lines{width:100%;max-width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;overflow:hidden}.pb-line{min-width:0;max-width:100%;height:calc(100dvh - 126px);min-height:700px;padding:12px;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(400px,1.25fr) minmax(135px,.48fr);gap:10px;border:1px solid rgb(255 255 255/.76);border-radius:24px;box-shadow:inset 0 1px #ffffffdb,inset 0 -1px #365a481f,0 13px 30px #25483721}.pb-line-1{background:linear-gradient(180deg,#e5eee1e0,#dae8dec7)}.pb-line-2{background:linear-gradient(180deg,#e8efece6,#dae7e4d1)}.pb-line-3{background:linear-gradient(180deg,#e3eff0e6,#d4e5e7d6)}.pb-line-head{height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px}.pb-line-head h2{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#183f31;font-size:17px;letter-spacing:-.02em}.pb-line-head h2 span{font-size:11px;font-weight:600}.pb-line-head p{min-width:0;margin:0;overflow:hidden;display:flex;align-items:center;gap:6px;color:#50685e;font-size:9px;font-weight:700;white-space:nowrap}.pb-line-head p b{color:#266248;font-size:12px;letter-spacing:.08em}.pb-line h3{margin:0 0 6px;color:#255b45;font-size:10px;letter-spacing:.025em}.pb-finishing{padding:9px;border:1px solid rgb(211 154 70/.22);border-radius:16px;background:linear-gradient(110deg,#fff8e9c9,#faebd2a3);box-shadow:inset 0 1px #ffffffd6,0 6px 14px #835f250f}.pb-finishing h3{color:#b76418}.pb-stage-heading{min-height:26px;display:flex;align-items:center;justify-content:space-between;gap:8px}.pb-finishing-card{min-height:58px;padding:8px 9px;display:grid;grid-template-columns:minmax(145px,.85fr) minmax(160px,1.35fr);align-items:center;gap:12px;border:1px solid rgb(220 173 107/.42);border-radius:12px;background:#fffcf4c2;box-shadow:inset 0 1px #fff}.pb-finishing-main{display:flex;gap:8px;align-items:baseline;white-space:nowrap}.pb-finishing-main strong{font-size:12px}.pb-finishing-main span{color:#59675f;font-size:9px;font-weight:650}.pb-delivery-progress span{display:flex;justify-content:space-between;gap:10px;font-size:9px}.pb-delivery-progress i,.pb-completed>i{height:5px;margin-top:3px;display:block;overflow:hidden;border-radius:5px;background:#bdaa8542}.pb-delivery-progress u{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#c76b1e,#e29b3b)}.pb-stage-action{position:static;min-width:112px;min-height:28px;max-width:138px;padding:3px 10px;border:1px solid #8db19d;border-radius:8px;color:#245b44;background:#edf5ef;box-shadow:inset 0 1px #fff;display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:8.5px;line-height:1.2;font-weight:750;cursor:pointer}.pb-stage-action span{display:flex;flex-direction:row;align-items:center;gap:3px;font-size:9px;font-weight:800;white-space:nowrap}.pb-stage-action small{font-size:8px;font-weight:650}.pb-stage-action-finishing{border-color:#e2b574;color:#a55413;background:linear-gradient(180deg,#fff8e9,#f8e5c5)}.pb-current{min-width:0;min-height:0;padding:9px;overflow:hidden;border:1px solid rgb(36 92 66/.23);border-radius:18px;background:#f9fbf8ad;box-shadow:inset 0 1px #ffffffe6,0 9px 22px #194b321a}.pb-current-card{position:relative;width:100%;max-width:100%;height:calc(100% - 20px);min-height:320px;overflow:hidden;border:1px solid rgb(59 107 83/.23);border-left:4px solid #2c7655;border-radius:14px;background:#fffffde0;box-shadow:inset 0 1px #fff,0 8px 18px #1d463114;display:grid;grid-template-rows:auto auto auto auto minmax(72px,1fr)}.pb-order-identity{padding:12px 14px 10px;display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:12px;border-bottom:1px solid #dbe3dc}.pb-order-identity span,.pb-date-grid span,.pb-status-grid span,.pb-completed span{min-width:0;display:flex;flex-direction:column;gap:4px}.pb-current-card small{color:#64766d;font-size:8px;font-weight:700;letter-spacing:.025em}.pb-order-identity strong{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#173d30;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}.pb-date-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dbe3dc}.pb-date-grid>span{padding:10px 14px}.pb-date-grid>span+span{border-left:1px solid #dbe3dc}.pb-date-grid strong{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:12px;display:flex;align-items:center;gap:5px;white-space:nowrap}.pb-date-grid em{color:#718078;font-size:8px;font-style:normal;font-weight:650}.risk-green{color:#1d6844!important}.risk-yellow{color:#b36a0b!important}.risk-red{color:#c32f29!important}.risk-unknown{color:#68766f!important}.pb-status-grid{display:grid;grid-template-columns:repeat(2,1fr);padding:10px 7px;border-bottom:1px solid #dbe3dc}.pb-status-grid span{padding:0 9px}.pb-status-grid span+span{border-left:1px solid #dbe3dc}.pb-status-grid strong{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#226047;font-size:10px;white-space:nowrap}.pb-process-status.is-complete strong{color:#217047}.pb-process-status.is-partial strong{color:#b56a12}.pb-process-status.is-empty strong{color:#b83a31}.pb-completed{position:relative;min-height:0;padding:3px 10px 4px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:0 10px;border-bottom:1px solid #dbe3dc}.pb-completed span{flex-direction:row;align-items:baseline;gap:7px;white-space:nowrap}.pb-completed strong{font-size:11px}.pb-completed>b{font-size:16px}.pb-completed>i{grid-column:1/-1;grid-row:2;background:#e1e8e2}.pb-completed>i u{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#0e6a43,#2c8a61)}.pb-daily{min-width:0;min-height:98px;padding:6px 10px;overflow:hidden;background:linear-gradient(180deg,#f5f9f5a3,#eaf2eccc)}.pb-daily-heading{display:flex;justify-content:space-between;color:#526a5f;font-size:8px;font-weight:750}.pb-daily-heading small{font-size:7px}.pb-daily-track{margin-top:5px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}.pb-daily-track::-webkit-scrollbar{display:none}.pb-day{flex:0 0 84px;min-height:48px;padding:6px;border:0;border-right:1px solid #d7e1d9;color:#294b3c;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.pb-day strong{font-size:9px;white-space:nowrap}.pb-day.is-today{flex-basis:100px;border:1px solid #72a088;border-radius:9px;background:linear-gradient(145deg,#ffffffe6,#e1efe6e6);box-shadow:0 5px 12px #2152391a}.pb-day.is-today strong{font-size:13px}.pb-day-editor{display:flex;align-items:center;gap:3px}.pb-day-editor input{width:54px;height:24px;border:1px solid #6f9a82;border-radius:5px;text-align:center}.pb-day-editor i{width:24px;height:24px;display:grid;place-items:center;border-radius:5px;color:#fff;background:#266c4d}.pb-day-editor-dual{gap:2px}.pb-day-editor-dual input{width:31px}.pb-day-editor-dual b{font-size:9px}.pb-day-editor-dual i{width:20px}.pb-upcoming{min-height:0;padding:9px;border:1px solid rgb(55 103 80/.18);border-radius:16px;background:#dbeae09e;box-shadow:inset 0 3px 10px #2a503d12,inset 0 1px #ffffff8c;overflow:hidden}.pb-upcoming h3{display:flex;justify-content:space-between}.pb-upcoming h3 span{min-width:20px;text-align:center}.pb-queue{height:calc(100% - 18px);padding-right:3px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.pb-queue-row{min-width:0;min-height:29px;overflow:hidden;margin-bottom:4px;padding:3px 5px;display:grid;grid-template-columns:25px minmax(82px,1.2fr) minmax(48px,.62fr) minmax(62px,.76fr) auto;align-items:center;gap:5px;border:1px solid rgb(74 111 91/.15);border-radius:8px;background:#fffffdb8;box-shadow:0 3px 8px #2c503d0d}.pb-queue-row>b{width:21px;height:21px;display:grid;place-items:center;border:1px solid #bdd0c4;border-radius:7px;color:#275b45;font-size:9px;background:#eef5ef}.pb-queue-row>span{min-width:0;display:flex;flex-direction:row;align-items:baseline;gap:5px;white-space:nowrap}.pb-queue-row span strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.pb-queue-row span small{color:#173d30;font-size:10px;font-weight:700;white-space:nowrap}.pb-queue-row em,.pb-queue-row time{color:#173d30;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap}.pb-queue-row>div{display:flex;gap:3px}.pb-queue-row button{width:21px;height:21px;padding:0;display:grid;place-items:center;border:1px solid #c0d1c6;border-radius:6px;color:#1f6447;background:#f3f8f4;cursor:pointer}.pb-queue-row button.danger{color:#d32d2d;border-color:#efc9c5;background:#fff6f4}.pb-empty{min-height:52px;display:grid;place-items:center;border:1px dashed rgb(68 103 84/.25);border-radius:10px;color:#728078;font-size:9px;font-weight:650}.pb-current>.pb-empty{height:calc(100% - 20px);min-height:220px}.pb-modal-layer{position:fixed;inset:0;z-index:50;padding:24px;display:grid;place-items:center;background:#08211961;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.pb-modal{width:min(460px,100%);padding:26px;border:1px solid rgb(255 255 255/.76);border-radius:20px;background:#fafcf9f7;box-shadow:inset 0 1px #fff,0 30px 80px #07261b47;display:flex;flex-direction:column;gap:16px}.pb-modal h2,.pb-modal h3,.pb-modal p{margin:0}.pb-modal h2{font-size:20px}.pb-modal label{display:flex;flex-direction:column;gap:6px;color:#486258;font-size:10px;font-weight:700}.pb-modal input,.pb-modal select{height:40px;padding:0 10px;border:1px solid #bdcbc2;border-radius:8px;background:#fff}.pb-modal>div{display:flex;justify-content:flex-end;gap:9px}.pb-modal button{min-height:38px;padding:0 14px;border:1px solid #bdc9c1;border-radius:8px;color:#294b3c;background:#fff;font-weight:700;cursor:pointer}.pb-modal button.primary{color:#fff;border-color:#205f44;background:#205f44;display:inline-flex;align-items:center;gap:6px}.pb-delete-modal{align-items:center;text-align:center}.pb-delete-modal>svg{width:42px;height:42px;padding:10px;border-radius:50%;color:#c52b27;background:#fae3e0}.pb-delete-modal h2{color:#a92722}.pb-delete-modal h3{color:#5a665f;font-size:15px}.pb-delete-modal p{color:#68756e;font-size:12px;line-height:1.55}.pb-delete-modal button.delete{color:#fff;border-color:#a92a25;background:#a92a25}@media(max-width:1400px){.pb-shell{padding:12px}.pb-lines{gap:8px}.pb-line{padding:8px;gap:8px}.pb-line-head h2{font-size:15px}.pb-line-head p{gap:4px;font-size:8px}.pb-order-identity{padding-inline:10px;gap:8px}.pb-order-identity strong{font-size:13px}.pb-date-grid>span{padding-inline:10px}.pb-status-grid{padding-inline:3px}.pb-status-grid span{padding-inline:6px}.pb-queue-row{grid-template-columns:25px minmax(78px,1fr) minmax(42px,.55fr) auto}.pb-queue-row>time{display:none}}@media(max-width:900px){.pb-lines{grid-template-columns:1fr;overflow:visible}.pb-line{height:auto;min-height:760px}.production-board-page{overflow:auto}.pb-header{align-items:flex-start}.pb-header-actions{flex-direction:column;align-items:flex-end}}@media(max-width:700px){.production-board-page{padding:0}.pb-shell{border-radius:0;padding:12px}.pb-header{flex-direction:column}.pb-header>div:first-child{width:100%}.pb-header-actions{width:100%;align-items:stretch}.pb-header-actions>span{text-align:center}.pb-finishing-card{grid-template-columns:1fr}.pb-order-identity{grid-template-columns:1fr 1fr}.pb-date-grid,.pb-status-grid{grid-template-columns:1fr}.pb-status-grid span+span,.pb-date-grid>span+span{border-left:0;border-top:1px solid #dbe3dc}.pb-queue-row{grid-template-columns:25px 1fr auto}.pb-queue-row>em,.pb-queue-row>time{display:none}}@media(prefers-reduced-motion:reduce){.pb-daily-track{scroll-behavior:auto}.pb-stage-action{transition:none}}@media(prefers-reduced-transparency:reduce){.pb-shell,.pb-line,.pb-current-card{-webkit-backdrop-filter:none;backdrop-filter:none;background-color:#f5f8f5}}.pb-queue-row>time{display:flex;min-width:0;flex-direction:column;gap:1px;line-height:1.05}.pb-queue-row>time small{color:#6d7d74;font-size:7px;font-weight:650;white-space:nowrap}@media(max-width:1400px)and (min-width:701px){.pb-queue-row{grid-template-columns:25px minmax(82px,1fr) minmax(48px,.5fr) minmax(92px,.76fr) auto}.pb-queue-row>time{display:flex}}.pb-queue-row>time{display:block;min-width:88px;color:#173d30;font-size:10px;font-weight:750;line-height:1;text-align:left;white-space:nowrap}@media(max-width:1400px)and (min-width:701px){.pb-queue-row>time{display:block}}.auth-page{min-height:100dvh;padding:clamp(28px,5vw,76px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:center;gap:clamp(32px,7vw,112px);background:#dfe2db url(/assets/textile-background.png) center / cover fixed no-repeat;color:#153f31}.auth-intro{max-width:720px;padding:clamp(12px,3vw,44px)}.auth-brand-mark{width:66px;height:66px;display:grid;place-items:center;border-radius:16px;color:#f6fbf7;background:linear-gradient(145deg,#174b3a,#39745b);box-shadow:inset 0 1px #ffffff47,0 16px 34px #1c443333}.auth-brand-mark svg{width:30px;height:30px}.auth-intro p{margin:30px 0 10px;font-size:14px;font-weight:800;letter-spacing:.13em}.auth-intro h1{margin:0;font-size:clamp(40px,5vw,72px);line-height:1.03;letter-spacing:-.045em}.auth-intro>span{display:block;margin-top:24px;color:#4e685d;font-size:clamp(16px,1.5vw,21px)}.auth-card{width:min(520px,100%);justify-self:end;padding:clamp(28px,3.5vw,48px);border:1px solid rgb(50 91 73 / .25);border-radius:18px;background:linear-gradient(145deg,#fffffcf2,#e5efe8e8);box-shadow:inset 0 1px #ffffffbf,0 28px 72px #23423433;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.auth-card-heading{display:flex;align-items:center;gap:15px;margin-bottom:32px}.auth-card-heading>svg{width:38px;height:38px;padding:8px;border-radius:10px;color:#f8fbf8;background:#1c6047}.auth-card-heading small,.account-panel header small{color:#537064;font-size:11px;font-weight:800;letter-spacing:.11em}.auth-card-heading h2,.account-panel h2{margin:3px 0 0;font-size:28px;letter-spacing:-.025em}.auth-card form{display:grid;gap:20px}.auth-card label,.account-create label{display:grid;gap:8px;color:#315445;font-size:12px;font-weight:800;letter-spacing:.025em}.auth-card input,.account-panel input,.account-panel select{width:100%;height:46px;padding:0 13px;border:1px solid #afc2b8;border-radius:9px;color:#173d30;background:#fffffde0;font:inherit}.auth-card input:focus,.account-panel input:focus,.account-panel select:focus{outline:3px solid rgb(53 116 86 / .18);border-color:#286a4f}.auth-primary,.auth-secondary,.session-bar button,.account-panel button{min-height:42px;padding:0 16px;border:1px solid #2c6c52;border-radius:9px;font:inherit;font-weight:750;cursor:pointer}.auth-primary{color:#f8fbf8;background:linear-gradient(135deg,#15563f,#2e7658);box-shadow:inset 0 1px #ffffff38,0 8px 18px #1a553e29}.auth-secondary{color:#285743;background:transparent}.auth-primary:active,.auth-secondary:active,.session-bar button:active,.account-panel button:active{transform:translateY(1px)}.auth-primary:disabled,.account-panel button:disabled{cursor:not-allowed;opacity:.45}.auth-error{padding:11px 13px;border:1px solid #dba7a2;border-radius:8px;color:#8e241a;background:#fff0ee;font-size:13px}.auth-security-note,.password-welcome{margin:22px 0 0;color:#62776d;font-size:13px;line-height:1.55}.password-page{grid-template-columns:1fr;place-items:center}.password-card{justify-self:center}.password-welcome{margin:-12px 0 24px}.auth-loading{min-height:100dvh;display:grid;place-content:center;gap:16px;text-align:center;color:#315445;background:#dfe2db url(/assets/textile-background.png) center / cover fixed no-repeat}.auth-loading div{width:46px;height:4px;border-radius:4px;background:#1c6047;animation:auth-pulse 1s ease-in-out infinite alternate}@keyframes auth-pulse{to{transform:scaleX(.45);opacity:.45}}.session-bar{position:absolute;top:18px;right:22px;z-index:2;width:max-content;max-width:calc(100% - 44px);min-height:42px;padding:0;display:flex;align-items:center;gap:8px;color:#174b3a;background:transparent;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.session-bar>div{display:grid;min-width:112px}.session-bar strong{font-size:13px}.session-bar small{margin-top:2px;color:#668075;font-size:9px;font-weight:750}.session-bar button{min-height:34px;padding-inline:13px;display:inline-flex;align-items:center;gap:6px;color:#255942;background:#fffffcc7;font-size:12px}.readonly-indicator{padding:7px 9px;border-radius:7px;color:#87500a;background:#fff1d5;font-size:10px;font-weight:850}.account-overlay{position:fixed;inset:0;z-index:110;padding:28px;display:grid;place-items:center;background:#132b226b;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.account-panel{width:min(1120px,100%);max-height:min(820px,calc(100dvh - 56px));overflow:auto;padding:28px;border:1px solid #adc2b7;border-radius:18px;color:#173d30;background:#f5f8f3;box-shadow:0 30px 90px #0c281d4d}.account-panel header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.account-panel header button{min-width:42px;padding:0;color:#315445;background:#fff}.account-create{display:grid;grid-template-columns:1fr 1.2fr .7fr 1.2fr auto;gap:12px;align-items:end;padding:18px;border-radius:12px;background:#e5eee8}.account-list{margin-top:18px;display:grid;gap:8px}.account-list article{display:grid;grid-template-columns:minmax(160px,1.3fr) 130px 100px minmax(160px,1fr) 110px;gap:10px;align-items:center;padding:12px;border-radius:10px;background:#fff}.account-identity{display:grid;gap:3px}.account-identity span{color:#6a7e74;font-size:12px}.account-active{color:#246044;background:#e3f1e7}.account-inactive{color:#895027;background:#f7e8dc}@media(max-width:900px){.auth-page{grid-template-columns:1fr;align-content:center}.auth-intro{display:none}.auth-card{justify-self:center}.session-bar>div{display:none}.account-create,.account-list article{grid-template-columns:1fr 1fr}}@media(max-width:600px){.auth-page{padding:18px}.session-bar{top:10px;right:10px;width:auto;max-width:calc(100% - 20px);justify-content:flex-end}.readonly-indicator{margin-right:auto}.account-overlay{padding:10px}.account-panel{padding:18px}.account-create,.account-list article{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.auth-loading div{animation:none}}:root{font-family:Segoe UI,Microsoft YaHei UI,sans-serif;color:#172033;background:#eef1ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100dvh}button,select{font:inherit}.app-shell{min-height:100dvh}.topbar{height:68px;padding:0 32px;background:#fff;border-bottom:1px solid #dfe3e8;display:flex;align-items:center;gap:12px}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;color:#fff;background:#174b3a;font-size:19px;font-weight:700}.topbar>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.topbar span{color:#667085;font-size:12px}.local-badge{margin-left:auto;display:flex;align-items:center;gap:7px;color:#366044;font-size:13px;font-weight:600}main{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:52px 0 120px}.intro{max-width:680px}.section-label{color:#174b3a!important;font-size:13px!important;font-weight:700;letter-spacing:.04em}.intro h1{margin:10px 0 12px;font-size:clamp(32px,4vw,48px);letter-spacing:-.045em;line-height:1.08}.intro p{color:#596579;font-size:17px;line-height:1.65}.steps{display:flex;gap:0;padding:0;margin:38px 0 26px;list-style:none;max-width:620px}.steps li{display:flex;align-items:center;gap:9px;color:#7a8494;font-size:14px;font-weight:600;flex:1;position:relative}.steps li:not(:last-child):after{content:"";height:1px;background:#d6dbe2;flex:1;margin:0 14px}.steps li span{width:26px;height:26px;display:grid;place-items:center;border:1px solid #c7cdd6;border-radius:50%;font-size:12px;flex:none}.steps li.active{color:#174b3a}.steps li.active span{border-color:#174b3a;box-shadow:0 0 0 3px #dfece5}.steps li.done span{background:#174b3a;border-color:#174b3a;color:#fff}.upload-panel,.status-panel,.success-panel{min-height:360px;border:1px dashed #b8c2cf;border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px;text-align:center}.upload-panel h2,.status-panel h2,.success-panel h2{margin:18px 0 7px;font-size:24px;letter-spacing:-.025em}.upload-panel p,.status-panel p,.success-panel p{color:#667085;margin:0 0 24px}.upload-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:14px;background:#eaf1ec;color:#174b3a;font-size:28px}.file-hint{margin-top:18px;color:#7a8494;font-size:12px}.success-panel{border-style:solid}.success-panel>svg{font-size:52px;color:#2f7d4a}.result-id{color:#667085;background:#f1f3f5;padding:8px 12px;border-radius:8px;margin:-10px 0 24px;font-size:13px}.file-bar{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #dfe3e8;border-radius:12px;padding:14px 16px;margin-bottom:16px}.file-bar>svg{color:#174b3a;font-size:24px}.file-bar>div{display:flex;flex-direction:column;gap:3px;flex:1}.file-bar span{color:#667085;font-size:12px}.review-panel{margin-top:16px;background:#fff;border:1px solid #dfe3e8;border-radius:14px;overflow:hidden}.review-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e6e9ed}.review-heading h2{margin:0 0 4px;font-size:19px}.review-heading p{margin:0;color:#667085;font-size:13px}.review-heading>span{color:#667085;font-size:13px}.table-wrap{overflow:auto;max-height:430px}table{width:100%;border-collapse:collapse;min-width:920px}th{position:sticky;top:0;z-index:1;background:#f7f8fa;color:#596579;text-align:left;font-size:12px;font-weight:700;padding:11px 14px;border-bottom:1px solid #dfe3e8}td{padding:12px 14px;border-bottom:1px solid #edf0f2;font-size:13px;white-space:nowrap}tbody tr:hover{background:#f7fafc}tr.row-error{background:#fff3f1}.issue-list{padding:12px 24px 18px;background:#fff8f7}.issue-list div{display:flex;gap:12px;padding:5px 0;font-size:13px}.issue-list strong{color:#b42318;min-width:65px}.issue-list span{color:#5c2b28}.action-bar{position:fixed;bottom:0;left:0;right:0;z-index:4;min-height:82px;background:#fffffff7;border-top:1px solid #d9dee5;padding:14px max(32px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 -10px 30px #202e420f}.action-bar>div{display:flex;flex-direction:column;gap:4px}.action-bar span{color:#667085;font-size:12px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:700px){.topbar{padding:0 18px}.local-badge{font-size:0}main{width:min(100% - 28px,1180px);padding-top:34px}.steps li{font-size:12px}.steps li:not(:last-child):after{margin:0 6px}.file-bar{flex-wrap:wrap}.file-bar>div{min-width:calc(100% - 50px)}.action-bar{padding:12px 16px}.action-bar>div{display:none}.action-bar button{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.orders-panel{margin-top:28px;background:#fff;border:1px solid #dfe3e8;border-radius:14px;overflow:hidden}.orders-heading{padding:22px 24px;display:flex;align-items:flex-end;justify-content:space-between;border-bottom:1px solid #e6e9ed}.orders-heading .section-label{margin:0 0 6px}.orders-heading h2{margin:0;font-size:22px;letter-spacing:-.025em}.orders-heading>span{color:#667085;font-size:13px}.orders-state{min-height:110px;display:flex;align-items:center;justify-content:center;gap:10px;color:#667085;font-size:14px}.orders-table-wrap{overflow-x:auto}.orders-table{min-width:680px}.orders-table td{height:48px}.orders-table td:nth-child(3),.orders-table th:nth-child(3){text-align:right}.orders-table td:last-child,.orders-table th:last-child{text-align:right;color:#667085}.orders-table td:last-child,.orders-table th:last-child{width:100px}.breakdown-row>td{padding:0;background:#f7f9fb;white-space:normal}.breakdown-panel{padding:18px 20px 22px}.reconciliation{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding:12px 14px;margin-bottom:14px;border-radius:10px;font-size:13px}.reconciliation.passed{color:#285b39;background:#eaf5ed;border:1px solid #bad9c3}.reconciliation.failed{color:#8a251d;background:#fff1ef;border:1px solid #efc1bc}.reconciliation .mismatch{color:#a14212;font-weight:600}.allocation-wrap{max-height:360px;overflow:auto;border:1px solid #dfe3e8;border-radius:10px;background:#fff}.allocation-table{min-width:720px}.allocation-table th:nth-child(n+4),.allocation-table td:nth-child(n+4){text-align:right}.allocation-table td{height:42px}.date-input{width:142px;height:32px;padding:4px 8px;border:1px solid #c7cdd6;border-radius:6px;background:#fff;color:#172033;font:inherit}.date-input:focus{outline:2px solid #bdd7e5;outline-offset:1px;border-color:#174b3a}.orders-table{min-width:1040px}.line-assignment{display:flex;align-items:center;gap:7px}.line-assignment input{width:104px;height:32px;padding:4px 8px;border:1px solid #c7cdd6;border-radius:6px;background:#fff;color:#172033;font:inherit}.line-assignment input:focus{outline:2px solid #bdd7e5;outline-offset:1px;border-color:#174b3a}.orders-table{min-width:1240px}body{background:#dfe2db url(/assets/textile-background.png) center / cover fixed no-repeat}.app-shell{background:#f6f7f4e0}.topbar{background:#fafaf7f0;border-bottom-color:#ccd3ca}.home-back{color:#174b3a!important}.brand-mark{background:#174b3a}.upload-panel,.status-panel,.success-panel,.review-panel,.file-bar,.orders-panel{background:#fffffcf0;border-color:#cbd3ca}.orders-table th,th{background:#edf2ee;color:#385247}.date-input:focus,.line-assignment input:focus{border-color:#174b3a;outline-color:#bfd4c7}.portal-page,.blank-page{width:100%;min-height:100dvh;max-width:none;margin:0;padding:clamp(34px,6vh,72px) clamp(34px,4vw,72px);background:#dfe2db url(/assets/textile-background.png) center / cover fixed no-repeat;display:grid;place-items:center}.portal-grid{width:min(1530px,100%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(18px,1.55vw,28px)}.portal-card{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgb(35 75 58 / .12);border-radius:16px;box-shadow:0 12px 28px #2b413624;color:#153f31;cursor:pointer;text-align:left;display:flex;align-items:center;gap:clamp(14px,1.5vw,24px);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.portal-card:hover{transform:translateY(-4px);border-color:#174b3a59;box-shadow:0 18px 38px #2b413633}.portal-card:active{transform:translateY(-1px) scale(.992)}.portal-card:focus-visible{outline:3px solid #41765f;outline-offset:4px}.portal-card-large{grid-column:span 2;min-height:clamp(290px,45vh,470px);padding:clamp(28px,4vw,64px)}.portal-card:before,.portal-card:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}.portal-card:before{background:radial-gradient(circle at 16% 4%,rgb(255 255 255 / .48),transparent 32%),linear-gradient(118deg,rgb(255 255 255 / .18),transparent 46%,rgb(23 75 58 / .08))}.portal-card:after{inset:1px;border:1px solid rgb(255 255 255 / .38);border-radius:15px;background:repeating-linear-gradient(118deg,transparent 0 10px,rgb(255 255 255 / .025) 10px 11px),repeating-linear-gradient(28deg,transparent 0 13px,rgb(22 65 49 / .018) 13px 14px)}.production-entry{color:#f7fbf7;background:linear-gradient(138deg,#144c37f7,#29674ced 52%,#518469e0),#184c39f5;box-shadow:inset 0 1px #ffffff38,0 18px 42px #193e2f38}.production-entry:before{background:radial-gradient(circle at 84% 22%,rgb(203 230 214 / .28),transparent 31%),linear-gradient(112deg,rgb(255 255 255 / .12),transparent 48%,rgb(8 54 38 / .12))}.inbound-entry{color:#153f31;background:linear-gradient(138deg,#f2f7f1f5,#d9eae0f0 54%,#bedcd3e6),#e2efe6f5;box-shadow:inset 0 1px #ffffffb8,0 18px 42px #274c3d29}.inbound-entry:before{background:radial-gradient(circle at 86% 18%,rgb(255 255 255 / .72),transparent 30%),linear-gradient(115deg,rgb(255 255 255 / .35),transparent 52%,rgb(75 132 105 / .12))}.portal-card-small{min-height:clamp(150px,25vh,245px);padding:clamp(20px,2.2vw,34px);background:linear-gradient(138deg,#ecf1e2f5,#d7e2cfeb)}.portal-card-small.mint{background:linear-gradient(138deg,#eff6f0f7,#d5e7dbeb)}.portal-card-small.aqua{background:linear-gradient(138deg,#e8f4f2f7,#cae2deeb)}.portal-card-small.sky{background:linear-gradient(138deg,#e6f1f0f7,#c3dbdceb)}.portal-icon,.portal-arrow{flex:none;display:grid;place-items:center;border-radius:50%;background:#fffffad1;color:#174b3a}.portal-icon{width:clamp(54px,5vw,84px);aspect-ratio:1;font-size:clamp(26px,2.4vw,40px)}.portal-icon svg,.portal-arrow svg{width:48%;height:48%}.portal-copy{min-width:0;display:flex;flex-direction:column;gap:8px}.portal-copy strong{font-size:clamp(18px,1.65vw,31px);line-height:1.08;letter-spacing:.015em;white-space:nowrap}.portal-copy small{font-size:clamp(16px,1.35vw,25px);line-height:1.1;font-weight:500}.portal-card-small .portal-copy{gap:6px}.portal-card-small .portal-copy strong{font-size:clamp(15px,1.18vw,21px)}.portal-card-small .portal-copy small{font-size:clamp(14px,1vw,18px)}.portal-arrow{width:clamp(42px,3.5vw,58px);aspect-ratio:1;margin-left:auto;box-shadow:0 4px 12px #2b41361f}.blank-panel{width:min(680px,100%);min-height:440px;padding:34px;border:1px solid #c8d0c7;border-radius:18px;background:#fcfcf8f0;box-shadow:0 20px 60px #2b413629;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.blank-panel>button{align-self:flex-start;margin-bottom:auto;color:#174b3a}.blank-icon{width:82px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;color:#174b3a;background:#e2ebe5;font-size:36px}.blank-panel p{margin:24px 0 6px;color:#426455;font-size:18px;font-weight:700;letter-spacing:.08em}.blank-panel h1{margin:0 0 12px;color:#173d30;font-size:42px}.blank-panel>span{color:#6c7b73;font-size:15px;margin-bottom:auto}@media(max-width:900px){.portal-page{padding:24px;align-items:start}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-card-large{grid-column:span 2;min-height:260px}.portal-card-small{min-height:150px}}@media(max-width:600px){.portal-page,.blank-page{padding:18px}.portal-grid{grid-template-columns:1fr}.portal-card-large,.portal-card-small{grid-column:span 1;min-height:180px;padding:22px}.portal-copy strong{white-space:normal}.home-back{min-width:36px!important;font-size:0!important}}@media(prefers-reduced-motion:reduce){.portal-card{transition:none}}.orm-shell .intro h1 span{color:#3f6554;font-size:.56em;font-weight:600;letter-spacing:-.02em}.orm-upload{position:relative;background:linear-gradient(105deg,#fffffcf5,#ebf1ebf0);border-style:solid}.upload-eyebrow{margin:14px 0 -8px!important;color:#2f604b!important;font-size:11px!important;font-weight:800;letter-spacing:.13em}.orm-review{box-shadow:0 16px 42px #2b413617}.orm-table{min-width:1500px}.orm-table th:last-child,.orm-table td:last-child{position:sticky;right:0;text-align:right;background:#f4f7f4;box-shadow:-8px 0 16px #2b41360f}.orm-table td:last-child{color:#174b3a;font-weight:800;background:#fbfcf9}.orm-table .spec-cell{min-width:390px;max-width:520px;white-space:normal;line-height:1.45}.orm-table .quantity-cell{font-variant-numeric:tabular-nums}.orm-table td:nth-child(1){color:#748078}.orm-table td:nth-child(2),.orm-table td:nth-child(3){font-weight:650}@media(max-width:700px){.orm-shell .intro h1{font-size:34px}.orm-shell .intro h1 span{font-size:.62em}}.receiving-main{width:min(1420px,calc(100% - 44px));padding-top:36px}.receiving-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:24px}.receiving-hero h1{margin:4px 0 8px;color:#173d30;font-size:clamp(30px,3vw,44px);letter-spacing:-.04em}.receiving-hero p{margin:0;color:#627068}.upload-cta{display:flex;flex-direction:column;align-items:flex-end;gap:7px}.upload-cta span{color:#6f7c75;font-size:12px}.compact-status{min-height:72px;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px;border:1px solid #cbd3ca;border-radius:14px;background:#fffffcf0;color:#476052}.orm-import-review{margin-bottom:24px;border:1px solid #cbd3ca;border-radius:14px;background:#fffffcf7;overflow:hidden;box-shadow:0 14px 34px #2b413617}.orm-import-review .file-bar{margin:0;border:0;border-bottom:1px solid #dce2dc;border-radius:0}.import-preview{max-height:340px;overflow:auto}.import-preview table{min-width:1320px}.import-confirm{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-top:1px solid #dce2dc;color:#65736b;font-size:13px}.orm-orders{border:1px solid #c8d0c7;border-radius:16px;background:#fcfcf8f5;overflow:hidden;box-shadow:0 18px 52px #2b41361f}.orm-orders>.orders-heading{background:#f6f8f4e6}.orm-order{border-top:1px solid #dbe1da}.orm-order:first-of-type{border-top:0}.orm-order.is-open{box-shadow:inset 5px 0 #1f6a4a}.orm-order-trigger{width:100%;min-height:92px;padding:16px 18px 16px 25px;border:0;background:#fff;color:#183d30;display:grid;grid-template-columns:1.05fr .7fr 1.15fr 1.25fr 1.18fr 1fr 28px;gap:20px;align-items:center;text-align:left;cursor:pointer;transition:background .18s ease}.orm-order-trigger:hover{background:#f5f8f4}.orm-order-trigger:active{transform:translateY(1px)}.orm-order-trigger:focus-visible{outline:3px solid #497d66;outline-offset:-3px}.orm-order-trigger>span{min-width:0;display:flex;flex-direction:column;gap:6px}.orm-order-trigger small{color:#66766e;font-size:10px;font-weight:700;letter-spacing:.025em}.orm-order-trigger strong{color:#173d30;font-size:18px;white-space:nowrap;font-variant-numeric:tabular-nums}.orm-order-trigger>span:first-child strong{font-size:22px;letter-spacing:.015em}.check-progress i{width:100%;height:5px;border-radius:6px;background:#dce2dc;overflow:hidden}.check-progress i b{height:100%;display:block;background:#236447;border-radius:inherit}.status-badge{width:fit-content;display:inline-flex;align-items:center;padding:6px 9px;border-radius:8px;color:#7d5412;background:#fff1ce;font-size:11px;font-style:normal;font-weight:700;white-space:nowrap}.status-badge.completed,.status-badge.matched{color:#285d38;background:#e4f0e5}.status-badge.partial,.status-badge.in_progress{color:#8a5b0c;background:#fff0c9}.status-badge.pending{color:#6d6551;background:#f1eee5}.order-chevron{align-items:center!important;color:#285b45}.orm-order-detail{padding:0 12px 14px;background:#f4f7f3}.material-list{overflow:hidden;border:1px solid #cfd8cf;border-radius:11px;background:#fff}.material-head,.material-trigger{display:grid;grid-template-columns:1.4fr 1.1fr .85fr .95fr 1fr .9fr 1fr 30px;align-items:center;gap:12px}.material-head{min-height:44px;padding:0 16px;color:#fff;background:#174b3a;font-size:11px;font-weight:700}.material-item{border-top:1px solid #e2e6e2}.material-item:first-of-type{border-top:0}.material-trigger{width:100%;min-height:64px;padding:9px 16px;border:0;background:#fff;color:#263c33;text-align:left;cursor:pointer}.material-trigger:hover{background:#f7faf7}.material-trigger>span{min-width:0;font-size:12px;font-variant-numeric:tabular-nums}.material-trigger>span:first-child{display:flex;flex-direction:column;gap:4px}.material-trigger b{color:#173d30;font-size:13px}.material-trigger small{overflow:hidden;color:#7a857f;text-overflow:ellipsis;white-space:nowrap}.material-trigger .negative{color:#b42318;font-weight:700}.material-item.is-open>.material-trigger{background:#f5f8f4}.arrival-panel{margin:0 16px 16px;padding:17px;border:1px solid #d3dbd3;border-radius:10px;background:#fbfcf9}.arrival-panel h3{margin:0 0 13px;color:#294f3e;font-size:13px;letter-spacing:.03em}.arrival-table{border:1px solid #d9dfd9;border-radius:8px;overflow:hidden}.arrival-row{min-height:40px;padding:0 12px;display:grid;grid-template-columns:1fr 1.1fr 1fr .85fr 1.2fr 190px;align-items:center;gap:12px;border-top:1px solid #e4e8e4;font-size:12px}.arrival-row:first-child{border-top:0}.arrival-header{color:#506158;background:#eef2ed;font-size:11px;font-weight:700}.empty-arrivals{margin:0 0 14px;color:#7a857f;font-size:13px}.arrival-form{margin-top:14px;display:grid;grid-template-columns:190px 230px minmax(240px,1fr) auto;align-items:end;gap:13px}.arrival-form label{display:flex;flex-direction:column;gap:6px}.arrival-form label>span{color:#52635a;font-size:10px;font-weight:700}.arrival-form input{width:100%;height:38px;padding:7px 10px;border:1px solid #c8d1c8;border-radius:7px;background:#fff;color:#263c33;font:inherit}.arrival-form input:focus{outline:2px solid #bad0c2;border-color:#236447}.quantity-input{position:relative}.quantity-input input{padding-right:48px}.quantity-input b{position:absolute;right:10px;top:11px;color:#69766f;font-size:11px}@media(max-width:1100px){.orm-order-trigger{grid-template-columns:repeat(3,1fr) 28px}.orm-order-trigger>span:nth-child(4),.orm-order-trigger>span:nth-child(5),.orm-order-trigger>span:nth-child(6){grid-row:2}.order-chevron{grid-column:4;grid-row:1 / span 2}.material-list{overflow-x:auto}.material-head,.material-trigger{min-width:1120px}.arrival-form{grid-template-columns:1fr 1fr}}@media(max-width:700px){.receiving-main{width:min(100% - 24px,1420px)}.receiving-hero{align-items:flex-start;flex-direction:column}.upload-cta{width:100%;align-items:stretch}.orm-order-trigger{grid-template-columns:1fr 1fr 28px;gap:12px}.orm-order-trigger>span:nth-child(n+3){grid-row:auto}.order-chevron{grid-column:3;grid-row:1 / span 3}.arrival-form{grid-template-columns:1fr}}.home-back{min-height:38px!important;padding-inline:13px!important;border:1px solid #b7c5bb!important;border-radius:9px!important;background:#f8faf7!important;color:#174b3a!important;font-size:11px!important;font-weight:750!important;letter-spacing:.015em;white-space:nowrap}.home-back:hover{background:#e8f0ea!important;border-color:#7f9a88!important}.receiving-hero{align-items:center}.receiving-hero h1{margin:0;color:#173d30;font-size:clamp(36px,4vw,54px);font-weight:760;letter-spacing:-.045em;line-height:1}.receiving-hero h2{margin:9px 0 10px;color:#466357;font-size:clamp(19px,1.8vw,25px);font-weight:620;letter-spacing:-.015em}.orm-order-trigger{background:#fffefa}.orm-order.is-open>.orm-order-trigger{background:#dce9e0;box-shadow:inset 0 -1px #b9cbbf}.orm-order.is-open>.orm-order-trigger:hover{background:#d5e4da}.orm-order-detail{padding:14px 18px 18px 30px;background:#cfdcd2;border-top:1px solid #b8c9bc}.material-list{border-color:#aebfb2;background:#f9fbf8;box-shadow:0 9px 24px #1f48341f}.material-trigger{min-height:78px;background:#fff}.material-item.is-open>.material-trigger{background:#eef4ef;box-shadow:inset 4px 0 #4b8064}.material-trigger>span:first-child{gap:3px}.material-trigger .material-english{color:#315f4a;font-size:11px;font-weight:700;white-space:normal}.material-trigger .material-english+small{color:#818b85;font-size:10px}.arrival-panel{margin:2px 20px 18px 32px;background:#e3ebe5;border-color:#b8c7bb;box-shadow:inset 4px 0 #91aa99}.arrival-table{background:#fff}.arrival-form input{background:#fffefa}@media(max-width:700px){.home-back{max-width:150px!important;white-space:normal;line-height:1.15}.orm-order-detail{padding-left:12px}.arrival-panel{margin-left:8px}}.orm-upload-button{background:#1f6246!important;color:#fff!important;border-color:#1f6246!important;box-shadow:0 8px 20px #1c533a33!important}.orm-upload-button:hover{background:#2f7657!important;border-color:#2f7657!important}.orm-upload-button:active{background:#174b3a!important;border-color:#174b3a!important;transform:translateY(1px)}.orm-upload-button:focus-visible{outline:3px solid #a9c9b5!important;outline-offset:3px}.zero-required-note{margin-top:14px;min-height:58px;padding:12px 15px;display:flex;align-items:center;gap:11px;border:1px solid #b8d3bf;border-radius:8px;color:#2c5f3b;background:#eef7ef}.zero-required-note>svg{flex:none;font-size:25px}.zero-required-note>span{display:flex;flex-direction:column;gap:3px;color:#647269;font-size:12px}.zero-required-note strong{color:#285d38;font-size:12px}.prm-import-overlay{position:fixed;inset:0;z-index:100;overflow-y:auto;overscroll-behavior:contain;background:#102d2370;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.prm-importer-shell{min-height:100dvh}.prm-importer-shell .topbar{position:sticky;top:0;z-index:4}.prm-import-overlay{display:grid;place-items:center;padding:24px}.prm-compact-modal{width:min(920px,100%);max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid rgb(255 255 255 / .72);border-radius:22px;color:#173d30;background:linear-gradient(135deg,#fcfdf9fa,#e7f0eaf7);box-shadow:inset 0 1px #fff,0 30px 90px #07261b52}.prm-compact-modal>header{padding:22px 24px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #cad8ce}.prm-compact-modal header small{color:#547064;font-size:10px;font-weight:800;letter-spacing:.12em}.prm-compact-modal h2{margin:3px 0 0;font-size:24px}.prm-compact-modal header button{width:34px;height:34px;border:1px solid #bdccc2;border-radius:9px;color:#315c4b;background:#ffffffa8;font-size:22px;cursor:pointer}.prm-compact-loading{min-height:330px;display:grid;place-content:center;justify-items:center;gap:16px}.prm-compact-grid{padding:22px 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prm-compact-grid label{display:flex;flex-direction:column;gap:7px;color:#496458;font-size:11px;font-weight:750}.prm-compact-grid label.wide{grid-column:1 / -1}.prm-compact-grid input,.prm-compact-grid select{width:100%;height:42px;padding:0 11px;border:1px solid #b7c9bd;border-radius:9px;color:#173d30;background:#fffffde6;font:inherit;font-size:13px}.prm-compact-feedback{margin:0 24px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;border:1px solid #c5d5ca;border-radius:11px;background:#eef6f0c2;font-size:11px}.prm-compact-feedback strong{font-size:12px}.prm-compact-feedback .manual-warning{color:#9a5a0d;font-weight:750}.prm-compact-feedback .parse-warning{color:#8b651d}.prm-compact-feedback .parse-error{color:#b3261e;font-weight:750}.prm-compact-modal>footer{padding:18px 24px 22px;display:flex;justify-content:flex-end;gap:10px}.prm-compact-modal footer button{min-height:40px;padding:0 18px;border:1px solid #b6c7bc;border-radius:9px;color:#294b3c;background:#fff;font-weight:750;cursor:pointer}.prm-compact-modal footer button.primary{border-color:#27694d;color:#fff;background:#27694d}.prm-compact-modal footer button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:720px){.prm-import-overlay{padding:8px}.prm-compact-grid{grid-template-columns:1fr}.prm-compact-grid label.wide{grid-column:auto}}.arrival-quantity-cell{min-width:0}.arrival-edit-quantity{display:flex;align-items:center;gap:7px}.arrival-edit-quantity input{width:105px;height:30px;padding:4px 8px;border:1px solid #8eaa98;border-radius:6px;background:#fff;color:#173c2b;font:inherit}.arrival-edit-quantity input:focus{outline:2px solid #bad0c2;border-color:#236447}.arrival-edit-quantity b{color:#456052;font-size:11px}.arrival-row-actions{display:flex;justify-content:flex-end;gap:6px}.arrival-row-actions button{min-width:78px;min-height:29px;padding:4px 8px;border:1px solid #9db8a6;border-radius:7px;background:#f8fcf8eb;color:#20533b;cursor:pointer;font:inherit;font-size:10px;font-weight:750}.arrival-row-actions button:hover{background:#e4f0e7}.arrival-row-actions .arrival-delete-button{min-width:30px;width:30px;padding:0;display:inline-grid;place-items:center;border-color:#e3aaa4;color:#b42318;background:#fff7f6}.arrival-row-actions .arrival-delete-button:hover{background:#ffe9e6}.arrival-row-actions .arrival-delete-button svg{width:16px;height:16px}.arrival-row-actions button:disabled{cursor:wait;opacity:.55}
