.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:clamp(18px,2.6vh,30px);left:50%;z-index:2;width:min(1530px,calc(100% - clamp(68px,8vw,144px)));min-height:48px;padding:0;display:flex;align-items:center;justify-content:flex-end;color:#174b3a;transform:translate(-50%)}.session-cluster{width:max-content;max-width:100%;min-height:48px;padding:5px;display:flex;align-items:stretch;gap:6px;border:1px solid rgb(255 255 255 / .62);border-radius:15px;background:linear-gradient(135deg,#fffffdbd,#deece3a8);box-shadow:inset 0 1px #ffffffeb,0 9px 22px #224a351c;-webkit-backdrop-filter:blur(13px) saturate(114%);backdrop-filter:blur(13px) saturate(114%)}.session-identity{min-width:150px;padding:4px 13px 4px 9px;display:flex;flex-direction:column;justify-content:center;gap:3px;border-right:1px solid rgb(88 128 107 / .2)}.session-bar strong{color:#1b4636;font-size:13px;font-weight:780;line-height:1.1;letter-spacing:-.01em}.session-bar small{color:#61786d;font-size:9px;font-weight:780;line-height:1.1;letter-spacing:.055em}.session-actions{display:flex;align-items:stretch;gap:6px}.session-bar button{min-height:38px;padding-inline:13px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid rgb(88 128 107 / .32);border-radius:9px;color:#24543f;background:linear-gradient(135deg,#fffffdd1,#daece2bd);box-shadow:inset 0 1px #ffffffeb,0 5px 13px #224a3517;-webkit-backdrop-filter:blur(12px) saturate(112%);backdrop-filter:blur(12px) saturate(112%);font-size:10px;font-weight:780;letter-spacing:.02em;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}.session-bar button:hover{border-color:#436f597a;background:linear-gradient(135deg,#fffffdf5,#d0e7dae0);box-shadow:inset 0 1px #fff,0 7px 17px #224a3521}.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}.account-create,.account-list article{grid-template-columns:1fr 1fr}}@media(max-width:600px){.auth-page{padding:18px}.session-bar{top:10px;width:calc(100% - 36px)}.session-cluster{margin-left:auto}.session-identity{min-width:124px;padding-inline:7px 10px}.session-actions button{min-width:38px;padding-inline:9px}.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}}.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}.delivery-history-content{min-width:0;min-height:0;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}.delivery-history-content .compact-delivery-sheet{width:100%;max-width:1180px;box-sizing:border-box;margin:0 auto}.delivery-history-content .compact-package-table{width:100%;min-width:0;box-sizing:border-box}.delivery-history-dialog>footer{position:relative;z-index:2;flex:none}@media(max-width:900px){.delivery-history-content .compact-delivery-sheet{overflow:visible}.delivery-history-content .compact-package-table{min-width:760px}}.delivery-history-overlay{box-sizing:border-box;overflow:hidden}.delivery-history-dialog{width:min(1420px,calc(100vw - 36px));max-width:calc(100vw - 36px);min-width:0;height:min(900px,calc(100dvh - 36px));box-sizing:border-box}.delivery-history-dialog>header,.delivery-history-dialog>footer{width:100%;min-width:0;box-sizing:border-box}.delivery-history-dialog>footer{overflow:hidden;flex-wrap:nowrap}.delivery-history-content{width:100%;max-width:100%;padding:14px 18px 24px}.delivery-history-content .compact-delivery-sheet{width:100%;max-width:100%;padding:18px 20px 24px;overflow:hidden}.delivery-history-content .compact-package-table{table-layout:fixed}.delivery-history-content .compact-package-table th,.delivery-history-content .compact-package-table td{padding-inline:4px;overflow-wrap:anywhere}.delivery-history-content .print-final{padding-right:10px}.delivery-history-content .print-final>strong{padding-right:2px;white-space:nowrap}@media(max-width:900px){.delivery-history-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);height:calc(100dvh - 20px)}.delivery-history-content{padding:10px}.delivery-history-content .compact-delivery-sheet{padding:14px;overflow-x:auto}.delivery-history-content .compact-package-table{min-width:760px}}.delivery-history-dialog>footer{padding-right:30px}.delivery-history-content{padding:8px 14px 12px}.delivery-history-content .compact-delivery-sheet{padding:10px 16px 14px}.delivery-history-content .compact-delivery-sheet h2{margin-bottom:5px;font-size:17px;line-height:1.05}.delivery-history-content .print-meta>span{padding:4px 6px;font-size:9px;line-height:1.15}.delivery-history-content .print-meta small{margin-bottom:1px;font-size:7px}.delivery-history-content .print-orders{margin:4px 0;padding:3px 6px;font-size:9px}.delivery-history-content .compact-package-table th,.delivery-history-content .compact-package-table td{height:20px;padding:2px 3px;font-size:8px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delivery-history-content .compact-package-table th{height:17px;padding:1px 3px;font-size:6.5px;line-height:1}.delivery-history-content .print-final{margin-top:5px;padding:4px 24px 0 0;font-size:8px}.delivery-history-content .print-final>strong{font-size:12px}.delivery-history-content .print-final>p{margin:5px 0}.delivery-history-content .print-final>div{margin-top:8px;gap:12px;font-size:7px;white-space:nowrap}.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-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}}.delivery-color-group{margin:10px;border:1px solid #d4ddd5;border-radius:8px;overflow:hidden}.color-size-matrix{display:grid}.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){.color-size-matrix{overflow-x:auto}}.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-meta{display:flex;justify-content:space-between;margin-bottom:10px}.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{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{outline:2px solid rgb(36 103 70/.2);border-color:#246746}.printing-note-lines{overflow:auto;padding:14px 20px}.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,.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}@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(300px,2fr) minmax(180px,1.15fr) minmax(78px,.5fr) minmax(82px,.52fr) minmax(100px,.65fr) minmax(116px,.78fr) 36px;min-width:1200px}.receiving-main .material-head>span:last-child,.receiving-main .material-trigger>span:last-child{width:36px;min-width:36px;display:grid;place-items:center;overflow:visible}.receiving-main .material-trigger>span:last-child>svg{width:20px;height:20px;display:block}.receiving-main .orm-order-trigger,.receiving-main .movement-section,.receiving-main .movement-trigger,.receiving-main .material-trigger{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.receiving-main .order-chevron,.receiving-main .movement-trigger>svg,.receiving-main .material-trigger>span:last-child{border:1px solid rgb(54 105 78 / .22);border-radius:8px;color:#285f47;background:#f7fbf7b8;box-shadow:inset 0 1px #ffffffc2}.receiving-main .order-chevron{width:28px;height:28px;display:grid!important;place-items:center}.receiving-main .movement-trigger>svg{width:24px;height:24px;padding:3px}.receiving-main .movement-section.active>.movement-trigger{box-shadow:inset 4px 0 #2f704f80,inset 0 -1px #37684d2e}.receiving-main .material-item:nth-child(odd)>.material-trigger{background:#f6faf6d1}.receiving-main .material-item+.material-item{border-top-color:#416a5438}.receiving-main .orm-order-trigger:focus-visible,.receiving-main .movement-trigger:focus-visible,.receiving-main .material-trigger:focus-visible{position:relative;z-index:1;outline:2px solid rgb(45 113 78 / .72);outline-offset:-2px}@media(hover:hover){.receiving-main .orm-order-trigger:hover{box-shadow:inset 5px 0 #2f77547a,inset 0 1px #ffffffc2,0 5px 14px #1d49331a}.receiving-main .movement-trigger:hover{background:#eff7f1b8;box-shadow:inset 4px 0 #3073516b}.receiving-main .material-trigger:hover{background:#e5f1e9f0;box-shadow:inset 4px 0 #3075527a}.receiving-main .orm-order-trigger:hover .order-chevron,.receiving-main .movement-trigger:hover>svg,.receiving-main .material-trigger:hover>span:last-child{border-color:#2d694a7a;color:#174f38;background:#fffffceb;box-shadow:inset 0 1px #fff,0 3px 8px #204f371f}}.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}.receiving-main .orm-order.is-archived-production{border-color:#68706c38}.receiving-main .orm-order.is-archived-production>.orm-order-trigger{background:linear-gradient(105deg,#eff1efe6,#dadedbd1);box-shadow:inset 3px 0 #777e7a6b,inset 0 1px #ffffff94;filter:saturate(.22)}.receiving-main .orm-order.is-archived-production>.orm-order-trigger:hover{background:linear-gradient(105deg,#e9ece9f0,#d0d5d2db)}.receiving-main .orm-order.is-archived-production>.orm-order-trigger strong,.receiving-main .orm-order.is-archived-production>.orm-order-trigger small{color:#626a66}.receiving-main .orm-order.is-archived-production.is-open>.orm-order-trigger{background:linear-gradient(112deg,#e1e5e2f0,#c9cfcbdb);box-shadow:inset 3px 0 #777f7a,inset 0 1px #ffffff94,inset 0 -1px #636c672e}.receiving-main .orm-order.is-archived-production .orm-order-detail{background:linear-gradient(135deg,#d7dcd9b8,#e6e9e7c7)}.receiving-main{padding-top:18px}.receiving-page-header{min-height:72px;margin-bottom:16px;padding:0 10px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px}.receiving-heading{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%)}.receiving-heading .home-back{grid-column:1;grid-row:1 / 3;min-height:34px!important;padding:0 10px!important;border-color:#58806b52!important;border-radius:9px!important;color:#264f3e!important;background:linear-gradient(135deg,#fffffdd1,#e2eee6b8)!important;box-shadow:inset 0 1px #ffffffe6,0 4px 10px #224a3514!important;font-size:10px!important;font-weight:750!important}.receiving-heading h1{grid-column:2;grid-row:1;margin:0;color:#153c2f;font-size:clamp(27px,2.3vw,40px);line-height:1;letter-spacing:-.04em}.receiving-heading h1 span{font-size:.58em;font-weight:650;letter-spacing:-.02em}.receiving-heading p{grid-column:2;grid-row:2;margin:0;color:#547065;font-size:11px;font-weight:650;letter-spacing:.07em}.receiving-header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px}.receiving-header-actions>button,.receiving-header-actions .printing-note-parent{min-height:44px;padding-inline:14px;border-radius:10px;white-space:nowrap}@media(max-width:980px){.receiving-page-header{align-items:stretch;flex-direction:column}.receiving-heading{width:100%}.receiving-header-actions{width:100%;margin-left:0;flex-wrap:wrap;justify-content:flex-start}}@media(max-width:700px){.receiving-main{padding-top:12px}.receiving-page-header{padding-inline:0}.receiving-heading h1{font-size:25px}.receiving-heading p{letter-spacing:.025em}.receiving-header-actions>button,.receiving-header-actions .printing-note-menu{flex:1 1 100%}.receiving-header-actions .printing-note-parent{width:100%}}.orm-shell{width:100%;min-height:100dvh;padding:10px;overflow-x:clip;color:#153c2f;background:#123d2f url(/assets/textile-background.png) center / cover fixed no-repeat!important}.orm-shell .receiving-main{width:100%;max-width:100%;min-height:calc(100dvh - 20px);margin:0;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%)}.orm-shell .receiving-page-header{min-height:68px;margin:0;padding:0 10px 12px}.orm-shell .receiving-heading{padding:7px 10px;flex:0 1 auto}.orm-shell .receiving-heading h1{font-size:clamp(27px,2.25vw,38px);white-space:nowrap}.orm-shell .receiving-heading p{overflow:hidden;max-width:620px;text-overflow:ellipsis;white-space:nowrap}.orm-shell .receiving-header-actions{display:grid;grid-template-columns:minmax(205px,auto) minmax(205px,auto);align-items:stretch;gap:6px}.orm-shell .receiving-header-actions>.orm-upload-button{width:100%;min-height:68px;padding-inline:16px}.orm-shell .receiving-note-stack{min-width:205px;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}.orm-shell .receiving-note-stack>.delivery-note-cta,.orm-shell .receiving-note-stack .printing-note-parent{width:100%;min-height:31px;padding-inline:12px;font-size:11px}.orm-shell .receiving-note-stack>.delivery-note-cta{border-radius:10px}.orm-shell .receiving-note-stack .printing-note-menu{min-width:0;gap:4px}.orm-shell .receiving-note-stack .printing-note-menu .printing-note-parent{min-width:0}.orm-shell .receiving-note-stack .printing-note-subactions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:20;width:auto;margin:0;padding:6px;gap:6px;border:1px solid rgb(68 107 87 / .28);border-radius:10px;background:linear-gradient(145deg,#fbfdfaf7,#e2efe6f5);box-shadow:inset 0 1px #ffffffe6,0 12px 27px #1f48342b;-webkit-backdrop-filter:blur(14px) saturate(112%);backdrop-filter:blur(14px) saturate(112%)}.orm-shell .receiving-note-stack .printing-note-subactions:before{content:"";position:absolute;top:-5px;left:50%;width:10px;height:10px;border-top:1px solid rgb(68 107 87 / .28);border-left:1px solid rgb(68 107 87 / .28);background:#f8fcf8fa;transform:translate(-50%) rotate(45deg)}.orm-shell .receiving-note-stack .printing-note-subactions button{display:inline-flex;width:100%;min-width:0;min-height:34px;align-items:center;justify-content:center;gap:3px;padding:0 7px;border:1px solid rgb(73 113 92 / .28);border-radius:7px;background:#fafdfac2;color:#245541;box-shadow:inset 0 1px #ffffffe6;font-size:9.5px;font-weight:750;line-height:1;white-space:nowrap;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.orm-shell .receiving-note-stack .printing-note-subactions button svg{width:16px;height:16px;flex:0 0 16px}.orm-shell .receiving-note-stack .printing-note-subactions button:not(:disabled):hover{border-color:#2d63487a;background:#e2f0e7f0;box-shadow:inset 0 1px #fff,0 4px 10px #214e371f;transform:translateY(-1px)}.orm-shell .receiving-note-stack .printing-note-subactions button:not(:disabled):active{transform:translateY(0)}.orm-shell .receiving-note-stack .printing-note-subactions button:disabled{opacity:.5}.orm-shell .receiving-note-stack .printing-note-menu{position:relative}@media(max-width:1120px){.orm-shell .receiving-page-header{align-items:stretch;flex-direction:column}.orm-shell .receiving-heading{width:100%}.orm-shell .receiving-header-actions{width:100%;margin-left:0;grid-template-columns:1fr 1fr}}@media(max-width:700px){.orm-shell{padding:0}.orm-shell .receiving-main{min-height:100dvh;padding:12px;border-radius:0}.orm-shell .receiving-page-header{padding-inline:0}.orm-shell .receiving-heading h1{font-size:25px}.orm-shell .receiving-header-actions{grid-template-columns:1fr}.orm-shell .receiving-header-actions>.orm-upload-button{min-height:44px}.orm-shell .receiving-note-stack{grid-template-columns:1fr 1fr;grid-template-rows:none}}.orm-shell .receiving-header-actions .orm-upload-button,.orm-shell .receiving-header-actions .delivery-note-cta,.orm-shell .receiving-header-actions .printing-note-parent{border:1px solid rgb(67 111 89 / .36)!important;color:#174b3a!important;box-shadow:inset 0 1px #ffffffeb,0 7px 17px #224a351c!important;-webkit-backdrop-filter:blur(13px) saturate(116%);backdrop-filter:blur(13px) saturate(116%);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}.orm-shell .receiving-header-actions .orm-upload-button{background:linear-gradient(135deg,#fffffce0,#d8ebded1)!important}.orm-shell .receiving-header-actions .delivery-note-cta{background:linear-gradient(135deg,#fcfffde0,#d3e7e2d1)!important}.orm-shell .receiving-header-actions .printing-note-parent{background:linear-gradient(135deg,#fafefde0,#cfe4e7d1)!important}.orm-shell .receiving-header-actions .orm-upload-button:hover,.orm-shell .receiving-header-actions .delivery-note-cta:hover,.orm-shell .receiving-header-actions .printing-note-parent:hover{border-color:#2d634880!important;box-shadow:inset 0 1px #fffffff5,0 10px 22px #204b3526!important;transform:translateY(-1px)}.orm-shell .receiving-header-actions .orm-upload-button:hover{background:linear-gradient(135deg,#fffffdf5,#cde5d5e6)!important}.orm-shell .receiving-header-actions .delivery-note-cta:hover{background:linear-gradient(135deg,#fffffdf5,#c7e1dae6)!important}.orm-shell .receiving-header-actions .printing-note-parent:hover{background:linear-gradient(135deg,#fffffdf5,#c3dde1e6)!important}.orm-shell .receiving-header-actions .orm-upload-button:active,.orm-shell .receiving-header-actions .delivery-note-cta:active,.orm-shell .receiving-header-actions .printing-note-parent:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #1b412e1f,0 3px 9px #224a3514!important}.orm-shell .receiving-header-actions .orm-upload-button svg,.orm-shell .receiving-header-actions .delivery-note-cta svg,.orm-shell .receiving-header-actions .printing-note-parent svg{color:#245f46!important}.orm-shell.is-read-only .arrival-row-actions,.orm-shell.is-read-only .arrival-form{display:none}@media(hover:hover){.receiving-main .orm-order>.orm-order-trigger:hover{background:linear-gradient(102deg,#f4fbf6fc,#c6e2d3f7);box-shadow:inset 6px 0 #3b8764,inset 0 1px #fff,inset 0 -1px #34694d38,0 8px 19px #19483124}.receiving-main .orm-order.is-active-production>.orm-order-trigger:hover{background:linear-gradient(102deg,#daf0e2fc,#9dcfb5f5);box-shadow:inset 7px 0 #216b49,inset 0 1px #fff,inset 0 -1px #28674547,0 8px 20px #194b3129}.receiving-main .orm-order.is-upcoming-production>.orm-order-trigger:hover{background:linear-gradient(102deg,#f4f9f4fc,#cfe1d6f5)}.receiving-main .orm-order.is-archived-production>.orm-order-trigger:hover{background:linear-gradient(102deg,#e7ebe8fa,#c3ccc6f0);box-shadow:inset 5px 0 #747e78,inset 0 1px #fff,inset 0 -1px #5b676038,0 7px 17px #303a341f}}.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(360px,1.12fr) minmax(150px,.54fr);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-finishing-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px}.pb-finishing-controls>small{color:#a55413;font-size:8px;font-weight:750;white-space:nowrap}.pb-stage-action:disabled{opacity:.46;cursor:not-allowed}.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);min-height:0;padding:0 3px 5px 0;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}}.pb-order-identity{width:100%;margin:0;border:0;color:inherit;text-align:left;font:inherit;background:transparent;cursor:zoom-in}.pb-order-identity:hover{background:linear-gradient(90deg,rgb(224 239 229/.45),transparent)}.pb-order-identity:focus-visible{outline:2px solid #4f8d70;outline-offset:-2px}.pb-order-identity[aria-pressed=true]{background:linear-gradient(90deg,#d6ebdeb8,#f7fbf84d);cursor:zoom-out}.pb-lines.is-focus-mode{grid-template-columns:repeat(3,minmax(0,1fr))}.pb-focus-viewer{grid-column:span 2;min-width:0;height:calc(100dvh - 126px);min-height:700px;padding:12px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;border:1px solid rgb(255 255 255/.76);border-radius:24px;background:linear-gradient(150deg,#eff7f3eb,#d8e8e2d6);box-shadow:inset 0 1px #ffffffe6,inset 0 -1px #365a481f,0 13px 30px #25483721}.pb-focus-viewer>header{min-height:50px;padding:5px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.pb-focus-viewer header small{color:#64766d;font-size:8px;font-weight:750;letter-spacing:.08em}.pb-focus-viewer header h2{margin:3px 0 0;color:#153f30;font-size:18px;letter-spacing:-.02em}.pb-focus-viewer header h2 span{color:#4f6c5f;font-size:10px;font-weight:700;letter-spacing:0}.pb-focus-viewer header>b{padding:7px 11px;border:1px solid #a8c3b3;border-radius:9px;color:#245d45;background:#fafdfab8;font-size:10px}.pb-focus-document{min-height:0;overflow:hidden;border:1px solid rgb(61 104 82/.2);border-radius:16px;background:#f1f7f3a8}.pb-focus-document>.pb-empty{height:100%;border:0}.pb-focus-pages{width:100%;height:100%;padding:14px;overflow:auto;display:grid;gap:14px;align-content:start;scrollbar-width:thin;scrollbar-color:#7f9f8d transparent}.pb-focus-pages figure{width:100%;margin:0;padding:10px;border:1px solid #cbd8cf;border-radius:10px;background:#fff;box-shadow:0 8px 24px #1c412f1a}.pb-focus-pages img{width:100%;height:auto;display:block;object-fit:contain}.pb-focus-pages figcaption{padding-top:7px;color:#60766b;font-size:8px;font-weight:700;text-align:center}.pb-upcoming{box-sizing:border-box}.pb-queue-row:last-child{margin-bottom:0}@media(max-width:900px){.pb-lines.is-focus-mode{grid-template-columns:1fr}.pb-focus-viewer{grid-column:auto;height:760px;min-height:620px}}.pb-line{min-height:838px;grid-template-rows:34px 130px minmax(470px,1fr) 150px}.pb-focus-viewer{min-height:838px}.pb-finishing,.pb-current,.pb-upcoming{min-width:0;min-height:0;overflow:hidden}.pb-finishing{height:130px;box-sizing:border-box}.pb-current-card{height:calc(100% - 32px);min-height:0}.pb-upcoming{height:150px}.pb-queue{height:calc(100% - 20px)}.pb-queue-row{box-sizing:border-box}@media(max-width:1400px)and (min-width:901px){.pb-line{min-height:806px;grid-template-rows:34px 126px minmax(450px,1fr) 146px}.pb-finishing{height:126px}.pb-upcoming{height:146px}}@media(max-width:900px){.pb-line{min-height:820px;grid-template-rows:auto 130px minmax(470px,auto) 150px}}.pb-line{min-height:700px;grid-template-rows:34px 126px minmax(380px,1fr) 145px}.pb-focus-viewer{min-height:700px}.pb-finishing{height:126px}.pb-current-card{height:calc(100% - 32px);grid-template-rows:auto auto auto auto 76px;align-content:start}.pb-order-identity{padding:8px 11px 7px}.pb-date-grid>span{padding:7px 11px}.pb-status-grid{padding-top:7px;padding-bottom:7px}.pb-completed{padding-top:2px;padding-bottom:3px}.pb-daily{min-height:0;height:76px;padding:4px 9px}.pb-daily-track{margin-top:3px}.pb-day{min-height:43px;padding:4px 6px;gap:3px}.pb-upcoming{height:145px}@media(max-width:1400px)and (min-width:901px){.pb-line{min-height:690px;grid-template-rows:34px 122px minmax(372px,1fr) 142px}.pb-finishing{height:122px}.pb-upcoming{height:142px}}@media(max-width:900px){.pb-line{min-height:730px;grid-template-rows:auto 126px minmax(390px,auto) 145px}}.pb-header-action-grid{display:grid;grid-template-columns:minmax(210px,auto) minmax(185px,auto);gap:7px;align-items:stretch}.pb-header-action-grid>.pb-upload{height:64px;min-width:210px;justify-content:center}.pb-header-action-stack{min-width:185px;display:grid;grid-template-rows:1fr 1fr;gap:6px}.pb-daily-output-button,.pb-reserved-button{min-height:29px;padding:0 13px;border:1px solid rgb(88 128 107/.32);border-radius:9px;color:#24543f;background:linear-gradient(135deg,#fffffdc7,#daece2b3);box-shadow:inset 0 1px #ffffffe6,0 5px 13px #224a3517;-webkit-backdrop-filter:blur(12px) saturate(112%);backdrop-filter:blur(12px) saturate(112%);font-size:9px;font-weight:780;letter-spacing:.025em;cursor:pointer}.pb-daily-output-button:hover{background:linear-gradient(135deg,#fffffdf0,#d0e7dadb)}.pb-reserved-button{color:#6d8177;background:linear-gradient(135deg,#f7fbf9b8,#dae8e79e);cursor:default;opacity:.78}.pb-order-identity{min-height:40px;padding:6px 11px;align-items:center}.pb-order-identity span{justify-content:center}.pb-order-identity strong{font-size:15px}.pb-current-card{grid-template-rows:40px auto auto auto minmax(82px,1fr)}.pb-daily{height:auto;min-height:82px}.pb-output-layer{position:fixed;inset:0;z-index:80;padding:22px;display:grid;place-items:center;background:#0821196b;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.pb-output-modal{width:min(1180px,96vw);max-height:94dvh;padding:16px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;border:1px solid rgb(255 255 255/.78);border-radius:23px;background:linear-gradient(145deg,#fafdf9f7,#deede6f2);box-shadow:inset 0 1px #fff,0 34px 90px #07261b4d}.pb-output-modal>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.pb-output-modal h2{margin:2px 0 0;color:#174633;font-size:25px}.pb-output-modal header small{color:#62776c;font-size:9px;font-weight:760;letter-spacing:.11em}.pb-output-modal button{min-height:36px;padding:0 14px;border:1px solid #abc2b4;border-radius:9px;color:#285640;background:#fffffdc2;font-weight:740;cursor:pointer}.pb-output-preview{min-height:0;overflow:auto;border:1px solid rgb(73 111 91/.22);border-radius:15px;background:#deebe394}.pb-output-preview canvas{display:block;width:100%;height:auto}.pb-output-modal footer{display:flex;justify-content:flex-end;gap:9px}.pb-output-modal .pb-output-copy{color:#fff;border-color:#276d4e;background:linear-gradient(135deg,#185c40,#327b5a);display:inline-flex;align-items:center;gap:7px}.pb-output-error{margin:0;padding:8px 11px;border:1px solid #e2aaa2;border-radius:8px;color:#a3332b;background:#fff0ed;font-size:11px}@media(max-width:900px){.pb-header-action-grid{width:100%;grid-template-columns:1fr}.pb-header-action-grid>.pb-upload{width:100%}.pb-header-action-stack{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.pb-output-layer{padding:8px}}.pb-line{padding:10px;gap:10px;border-radius:22px}.pb-line-head{height:36px;justify-content:center;text-align:center}.pb-line-head h2{width:100%;text-align:center;font-size:18px;font-weight:820;line-height:1.05;letter-spacing:-.018em}.pb-line-head h2 span{font-size:12px;font-weight:680}.pb-finishing,.pb-current,.pb-upcoming{padding:10px;border-radius:16px}.pb-stage-heading{min-height:28px;margin:0 0 8px;display:grid;grid-template-columns:minmax(112px,1fr) auto minmax(112px,1fr);align-items:center;gap:8px;font-size:11px;font-weight:820;line-height:1.15;text-align:center}.pb-stage-heading>span:first-child{grid-column:2;white-space:nowrap}.pb-stage-heading>.pb-stage-action,.pb-stage-heading>.pb-finishing-controls{grid-column:3;justify-self:end}.pb-finishing-controls{min-width:112px}.pb-finishing-card{min-height:62px;padding:10px 12px;border-radius:12px}.pb-finishing-main{justify-content:center;text-align:center}.pb-finishing-main strong{font-size:13px;font-weight:820}.pb-finishing-main span,.pb-delivery-progress span{font-size:10px}.pb-current-card{border-color:#3b6b5347;border-left-width:4px;border-radius:14px;background:linear-gradient(145deg,#fffffdeb,#edf5efdb);box-shadow:inset 0 1px #fff,0 8px 18px #1d463117;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background .18s ease}.pb-order-identity{min-height:42px;padding:7px 11px;border-bottom:1px solid #d5e0d8;color:inherit;background:linear-gradient(90deg,#e2efe69e,#f7fbf857);text-align:center;cursor:pointer;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.pb-order-identity span{align-items:center;justify-content:center}.pb-order-identity strong{font-size:15px;font-weight:820;line-height:1.1}.pb-order-identity:hover{background:linear-gradient(90deg,#d3e8dbe6,#eef7f1b8);box-shadow:inset 0 -1px #3f735738,0 5px 12px #1e513714;transform:translateY(-1px)}.pb-current-card:has(.pb-order-identity:hover){border-color:#2b704c80;background:linear-gradient(145deg,#fffffdf5,#e5f1e9e8);box-shadow:inset 0 1px #fff,0 12px 25px #1d463126;transform:translateY(-1px)}.pb-order-identity[aria-pressed=true]{background:linear-gradient(90deg,#cde6d6eb,#eef7f1ad);cursor:pointer}.pb-current-card small{font-size:9px;line-height:1.15}.pb-date-grid>span,.pb-status-grid>span{align-items:center;text-align:center}.pb-date-grid strong{justify-content:center;font-size:12px;line-height:1.15}.pb-date-grid em{font-size:9px;line-height:1.15}.pb-status-grid strong{font-size:11px;line-height:1.15}.pb-completed{min-height:38px;padding:4px 10px 5px;grid-template-columns:minmax(0,1fr) minmax(0,auto) auto;align-items:center;gap:2px 10px}.pb-completed span{justify-content:center;gap:7px}.pb-completed strong{font-size:12px;font-weight:820}.pb-completed-remaining{overflow:hidden;color:#a65716;font-size:9px;font-style:normal;font-weight:820;line-height:1.1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.pb-completed>b{min-width:38px;font-size:16px;line-height:1;text-align:right}.pb-completed>i{grid-column:1 / -1;grid-row:2}.pb-daily-heading{justify-content:center;gap:12px;font-size:9px;line-height:1.15;text-align:center}.pb-daily-heading small{font-size:8px}.pb-day small,.pb-day strong{text-align:center}.pb-day strong{font-size:10px}.pb-upcoming>h3{min-height:28px;margin:0 0 8px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:820;line-height:1.15;text-align:center}.pb-upcoming h3 span{min-width:22px}.pb-empty{border-radius:11px;font-size:10px;font-weight:720;line-height:1.25;text-align:center}.pb-queue-row{border-radius:8px;font-size:10px}@media(max-width:1400px)and (min-width:901px){.pb-line{padding:8px;gap:8px}.pb-stage-heading{grid-template-columns:minmax(108px,1fr) auto minmax(108px,1fr)}.pb-completed{gap:2px 6px}.pb-completed-remaining{max-width:150px;font-size:8px}}@media(max-width:700px){.pb-stage-heading{grid-template-columns:minmax(104px,1fr) auto minmax(104px,1fr)}.pb-completed{grid-template-columns:1fr auto}.pb-completed-remaining{grid-column:1 / -1;grid-row:2;max-width:none}.pb-completed>i{grid-row:3}}@media(prefers-reduced-motion:reduce){.pb-current-card,.pb-order-identity{transition:none}.pb-order-identity:hover,.pb-current-card:has(.pb-order-identity:hover){transform:none}}.pb-current:has(>.pb-current-card){height:auto;align-self:start}.pb-current-card{height:auto;min-height:0;grid-template-rows:auto auto auto auto auto;align-content:start}.pb-current-card .pb-daily{height:auto;min-height:0}.pb-completed-total{min-width:0}.pb-completed .pb-completed-remaining{min-width:0;max-width:none;display:block;overflow:hidden;color:#a65716;font-size:9px;font-style:normal;font-weight:800;line-height:1.15;text-align:center;text-overflow:ellipsis;white-space:nowrap}.pb-stage-heading>.pb-stage-action{grid-column:3;justify-self:end}@media(max-width:1400px)and (min-width:901px){.pb-completed .pb-completed-remaining{max-width:150px;font-size:8px}}@media(max-width:700px){.pb-completed .pb-completed-remaining{grid-column:1 / -1;grid-row:2;max-width:none}}.pb-line{grid-template-rows:36px auto auto minmax(150px,1fr)}.pb-upcoming{height:auto;min-height:150px;align-self:stretch}.pb-upcoming .pb-queue>.pb-empty{height:100%;min-height:52px}@media(max-width:900px){.pb-line{grid-template-rows:auto auto auto minmax(145px,1fr)}}.pb-line{grid-template-rows:36px auto minmax(0,1fr) 150px}.pb-current:has(>.pb-current-card){height:auto;align-self:stretch}.pb-current-card{height:calc(100% - 36px);min-height:0;grid-template-rows:auto auto auto auto minmax(82px,1fr);align-content:stretch}.pb-current-card .pb-daily{height:auto;min-height:82px;align-self:end}.pb-upcoming{height:150px;min-height:0;align-self:auto}.pb-upcoming .pb-queue{height:calc(100% - 24px)}@media(max-width:1400px)and (min-width:901px){.pb-line{grid-template-rows:36px auto minmax(0,1fr) 142px}.pb-upcoming{height:142px}}@media(max-width:900px){.pb-line{grid-template-rows:auto auto minmax(390px,1fr) 145px}.pb-upcoming{height:145px}}.pb-header>div:first-child{grid-template-columns:minmax(118px,1fr) auto minmax(118px,1fr)}.pb-header h1,.pb-header p{grid-column:2;width:100%;justify-self:center;text-align:center}.pb-back{grid-column:1;justify-self:start}@media(max-width:1100px){.pb-header>div:first-child{grid-template-columns:minmax(104px,1fr) auto minmax(104px,1fr)}}@media(max-width:700px){.pb-header>div:first-child{grid-template-columns:1fr;justify-items:center}.pb-header h1,.pb-header p,.pb-back{grid-column:1}.pb-back{grid-row:auto;justify-self:center}}.pb-line-head{justify-content:flex-start;text-align:left}.pb-line-head h2{text-align:left}.pb-stage-heading{grid-template-columns:minmax(0,1fr) auto;text-align:left}.pb-stage-heading>span:first-child{grid-column:1;justify-self:start;text-align:left}.pb-stage-heading>.pb-stage-action{grid-column:2;justify-self:end}.pb-finishing-card,.pb-finishing-main,.pb-delivery-progress{text-align:left}.pb-finishing-main{justify-content:flex-start}.pb-order-identity{text-align:left}.pb-order-identity span{align-items:flex-start;justify-content:center;text-align:left}.pb-date-grid>span,.pb-status-grid>span{align-items:flex-start;text-align:left}.pb-date-grid strong,.pb-status-grid strong,.pb-completed span,.pb-completed .pb-completed-remaining,.pb-daily-heading{justify-content:flex-start;text-align:left}.pb-upcoming h3{justify-content:flex-start;gap:10px;text-align:left}.pb-empty{place-items:center start;padding-inline:18px;text-align:left}@media(max-width:700px){.pb-stage-heading{grid-template-columns:minmax(0,1fr) auto}}.pb-finishing{height:92px;padding:6px 10px}.pb-finishing .pb-stage-heading{min-height:28px;margin-bottom:4px}.pb-finishing-card{min-height:48px;padding:5px 10px}.pb-finishing>.pb-empty{min-height:48px;height:48px}@media(max-width:1400px)and (min-width:901px){.pb-finishing{height:92px}}@media(max-width:900px){.pb-finishing{height:92px}}.pb-line{grid-template-rows:36px 92px minmax(0,1fr) 150px}@media(max-width:1400px)and (min-width:901px){.pb-line{grid-template-rows:36px 92px minmax(0,1fr) 142px}}@media(max-width:900px){.pb-line{grid-template-rows:auto 92px minmax(390px,1fr) 145px}}.pb-line-head h2{font-size:23px}.pb-line-head h2 span{font-size:14px}.pb-current-card{grid-template-rows:auto auto auto 58px minmax(0,1fr)}.pb-completed{height:58px;min-height:58px;padding:5px 10px 6px;align-items:center}.pb-completed .pb-completed-total{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}.pb-completed .pb-completed-total small,.pb-completed .pb-completed-total strong{display:block;line-height:1.15}.pb-current-card .pb-daily{height:auto;min-height:0;align-self:stretch;display:grid;grid-template-rows:auto minmax(0,1fr);padding:7px 10px 8px}.pb-current-card .pb-daily-track{height:100%;min-height:0;margin-top:6px;padding-block:5px;align-items:stretch}.pb-completed .pb-completed-remaining{min-height:18px;display:flex;align-items:center;justify-content:center;align-self:center;justify-self:center;max-width:none;font-size:10px;font-weight:820;line-height:1;text-align:center}@media(max-width:1400px)and (min-width:901px){.pb-completed .pb-completed-remaining{max-width:none;font-size:10px}}.pb-current-card .pb-day{height:auto;min-height:0;align-self:stretch}.pb-current-card{grid-template-rows:72px auto auto 58px minmax(0,1fr)}.pb-current-card .pb-order-identity{height:72px;min-height:72px;align-items:center}.pb-focus-viewer{padding:6px;gap:4px}.pb-focus-viewer>header{min-height:42px;padding:2px 6px}.pb-focus-viewer header h2{margin-top:1px}.pb-focus-pages{padding:5px;gap:8px}.pb-focus-pages figure{padding:2px}.pb-focus-pages figcaption{padding-top:4px}.pb-focus-viewer>header{justify-content:flex-start}.pb-focus-pages{justify-items:start;cursor:zoom-in;-webkit-user-select:none;user-select:none;touch-action:none;overscroll-behavior:contain}.pb-focus-pages.is-zoomed{cursor:grab}.pb-focus-pages.is-dragging{cursor:grabbing}.pb-focus-pages figure{max-width:none;justify-self:start}.pb-focus-pages img{pointer-events:none;-webkit-user-select:none;user-select:none}.pb-line{grid-template-rows:36px 86px minmax(0,1fr) 132px}.pb-finishing{height:86px;padding-bottom:0}.pb-upcoming{height:132px}.pb-current-card .pb-date-grid>span{padding-block:19px}@media(max-width:1400px)and (min-width:901px){.pb-line{grid-template-rows:36px 86px minmax(0,1fr) 124px}.pb-upcoming{height:124px}}@media(max-width:900px){.pb-line{grid-template-rows:auto 86px minmax(390px,1fr) 127px}.pb-upcoming{height:127px}}@media(min-width:701px){.pb-completed{grid-template-columns:minmax(0,1fr) auto;column-gap:10px}.pb-completed .pb-completed-total{justify-self:start}.pb-completed .pb-completed-value-row{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:18px}.pb-completed .pb-completed-remaining{min-height:0;align-self:baseline;justify-self:start;font-size:12px;line-height:1.15}.pb-completed>b{grid-column:2}}.pb-finishing{padding:2px 10px 0}.pb-finishing .pb-stage-heading{min-height:28px;margin-bottom:2px}.pb-finishing-card,.pb-finishing>.pb-empty{height:54px;min-height:54px}.pb-upcoming{padding:3px 10px}.pb-upcoming>h3{min-height:18px;margin:0 0 2px}.pb-upcoming .pb-queue{height:calc(100% - 20px);padding-bottom:0}.pb-finishing{padding-top:0}.pb-finishing .pb-stage-heading{margin-bottom:0}.pb-finishing-card,.pb-finishing>.pb-empty{height:56px;min-height:56px}.pb-stage-action-finishing{min-width:102px;min-height:24px;padding:2px 8px;font-size:8px}.pb-stage-action-finishing>svg{width:14px;height:14px}.finance-page{width:100%;min-height:100dvh;margin:0;padding:10px;overflow-x:clip;color:#153c2f;background:#123d2f url(/assets/textile-background.png) center/cover fixed no-repeat;font-family:Segoe UI,Microsoft YaHei UI,sans-serif}.finance-shell{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%)}.finance-header{min-height:72px;padding:0 10px 14px;display:flex;align-items:center}.finance-heading{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%)}.finance-heading h1{grid-column:2;grid-row:1;margin:0;font-size:clamp(27px,2.3vw,40px);line-height:1;letter-spacing:-.04em}.finance-heading h1 span{font-size:.58em;font-weight:650;letter-spacing:-.02em}.finance-heading p{grid-column:2;grid-row:2;margin:0;color:#547065;font-size:11px;font-weight:650;letter-spacing:.07em}.finance-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}.finance-back:hover{background:linear-gradient(135deg,#fffffdf2,#d9e9dedb)}.finance-switcher{margin:2px 10px 16px;padding:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border:1px solid rgb(68 107 87/.22);border-radius:19px;background:linear-gradient(135deg,#fffffca8,#d5e7e4ad);box-shadow:inset 0 1px #fffc,0 10px 26px #224b371a;-webkit-backdrop-filter:blur(14px) saturate(118%);backdrop-filter:blur(14px) saturate(118%)}.finance-switcher>button{min-width:0;min-height:76px;padding:13px 18px;border:1px solid rgb(72 112 94/.22);border-radius:13px;color:#204a3a;background:linear-gradient(138deg,#ebf6f4ed,#cce3e0d6);box-shadow:inset 0 1px #ffffffd1,0 5px 14px #234c3a14;display:flex;align-items:center;gap:13px;text-align:left;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.finance-switcher>button:hover{transform:translateY(-1px);border-color:#32694e66;box-shadow:inset 0 1px #ffffffe6,0 8px 18px #234c3a1f}.finance-switcher>button.is-active{color:#f8fbf8;border-color:#174b3a;background:linear-gradient(135deg,#174b3a,#2c6b51 70%,#4f856d);box-shadow:inset 0 1px #ffffff38,0 10px 24px #1f4d3733}.finance-switcher>button:focus-visible,.finance-back:focus-visible{outline:3px solid rgb(65 118 95/.58);outline-offset:3px}.finance-switch-icon{width:42px;height:42px;flex:none;display:grid;place-items:center;border-radius:50%;background:#fffffcad;box-shadow:inset 0 1px #ffffffd6}.finance-switch-icon svg{width:23px;height:23px}.finance-switcher .is-active .finance-switch-icon{color:#174b3a;background:#f7fbf7e6}.finance-switch-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.finance-switch-copy strong{overflow:hidden;font-size:clamp(14px,1.15vw,18px);letter-spacing:.045em;text-overflow:ellipsis;white-space:nowrap}.finance-switch-copy small{font-size:13px;font-weight:650}.finance-workspace{min-height:calc(100dvh - 216px);margin:0 10px;border:1px solid rgb(68 107 87/.2);border-radius:24px;background:radial-gradient(circle at 88% 10%,rgb(255 255 255/.48),transparent 28%),linear-gradient(145deg,#ebf6f4b8,#d5e7e4a8);box-shadow:inset 0 1px #ffffffc2,inset 0 -1px #365a481a,0 13px 30px #2548371a;-webkit-backdrop-filter:blur(16px) saturate(112%);backdrop-filter:blur(16px) saturate(112%)}@media(max-width:760px){.finance-page{padding:0}.finance-shell{min-height:100dvh;padding:12px;border-radius:0}.finance-header{padding-inline:0}.finance-heading{width:100%}.finance-heading h1{font-size:25px}.finance-heading p{letter-spacing:.025em}.finance-switcher{margin-inline:0;grid-template-columns:1fr}.finance-switcher>button{min-height:62px}.finance-workspace{min-height:52dvh;margin-inline:0}}@media(prefers-reduced-motion:reduce){.finance-switcher>button{transition:none}}@media(prefers-reduced-transparency:reduce){.finance-shell,.finance-heading,.finance-switcher,.finance-workspace{-webkit-backdrop-filter:none;backdrop-filter:none}.finance-workspace{background:#e4efeb}}.finance-workspace{padding:14px;overflow:hidden}.invoice-layout{height:calc(100dvh - 244px);min-height:480px;display:grid;grid-template-columns:minmax(310px,32%) minmax(0,1fr);gap:14px}.invoice-rail,.invoice-detail{min-width:0;min-height:0;border:1px solid rgb(68 107 87/.22);border-radius:18px;background:linear-gradient(145deg,#fffffcd1,#e5f0e9c2);box-shadow:inset 0 1px #ffffffd9,0 8px 22px #25483714}.invoice-rail{padding:10px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:9px}.invoice-tools{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(150px,.75fr);gap:7px}.invoice-search,.invoice-filter{height:38px;padding:0 9px;border:1px solid rgb(74 113 92/.3);border-radius:9px;background:#fffffcd1;display:flex;align-items:center;gap:7px;color:#456458}.invoice-search input,.invoice-filter select{width:100%;height:100%;min-width:0;border:0;outline:0;color:#173d30;background:transparent;font-size:10px;font-weight:650}.invoice-filter select{cursor:pointer}.invoice-selection{padding:7px 4px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid rgb(74 113 92/.18)}.invoice-selection button{padding:0;border:0;color:#2b5b47;background:transparent;display:flex;align-items:center;gap:7px;font-size:9px;font-weight:750;cursor:pointer}.invoice-selection button:disabled{opacity:.42;cursor:not-allowed}.invoice-selection button>span{width:18px;height:18px;border:1px solid #88aa98;border-radius:5px;display:grid;place-items:center;background:#f8fbf8}.invoice-selection button>span.is-checked{color:#fff;background:#28664d}.invoice-selection b{color:#64776d;font-size:9px}.invoice-orders{min-height:0;padding-right:3px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.invoice-order{position:relative;margin-bottom:7px;border:1px solid rgb(73 108 90/.2);border-left:4px solid #72a08a;border-radius:11px;overflow:hidden;background:#fffffcd6;box-shadow:0 4px 12px #2548370f}.invoice-order.is-invoiced_unpaid{border-left-color:#c78324;background:linear-gradient(110deg,#fffaede6,#f6e8ccc2)}.invoice-order.is-paid{border-left-color:#98a19c;background:linear-gradient(110deg,#f0f3f1e6,#dde2dfc7)}.invoice-order.is-active{border-color:#29664985;box-shadow:0 7px 18px #25483721}.invoice-order-main{width:100%;min-height:72px;padding:10px 42px 10px 11px;border:0;color:#173d30;background:transparent;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;text-align:left;cursor:pointer}.invoice-order-main span{min-width:0;display:flex;flex-direction:column;gap:3px}.invoice-order-main span:nth-child(2){align-items:flex-end}.invoice-order-main strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.invoice-order-main small{color:#687a71;font-size:8px;font-weight:650}.invoice-order-main em{grid-column:1/-1;color:#2b6b4e;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.035em}.invoice-order-main em small{margin-left:6px;color:inherit;font-size:8px}.is-invoiced_unpaid .invoice-order-main em{color:#a85d0e}.is-paid .invoice-order-main em{color:#707a74}.invoice-check{position:absolute;right:10px;top:10px;width:23px;height:23px;padding:0;border:1px solid #83aa95;border-radius:6px;color:#fff;background:#f7faf7;display:grid;place-items:center;cursor:pointer}.invoice-check:not(:empty){background:#28664d}.invoice-state{min-height:100px;padding:20px;display:grid;place-items:center;border:1px dashed rgb(74 113 92/.28);border-radius:11px;color:#6d7e75;text-align:center;font-size:9px;font-weight:700}.invoice-detail{padding:16px;display:flex;flex-direction:column}.invoice-detail-head{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgb(74 113 92/.18)}.invoice-detail-head small{color:#5b7468;font-size:8px;font-weight:750;letter-spacing:.08em}.invoice-detail-head h2{margin:2px 0 10px;font-size:18px}.invoice-detail-head>button{min-height:38px;padding:0 14px;border:1px solid #285f47;border-radius:9px;color:#fff;background:linear-gradient(135deg,#174b3a,#2c6b51);box-shadow:inset 0 1px #fff3,0 6px 14px #1f4d3726;display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:750;cursor:pointer}.invoice-detail-head>button:disabled{opacity:.42;cursor:not-allowed}.invoice-notice{margin-top:12px;padding:10px 12px;border:1px solid #d4bf86;border-radius:9px;color:#765514;background:#fff8df;display:flex;justify-content:space-between;gap:12px;font-size:10px;font-weight:650}.invoice-notice button{border:0;color:#765514;background:transparent;font-weight:700;cursor:pointer}.invoice-order-summary{margin-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid rgb(74 113 92/.2);border-radius:13px;overflow:hidden;background:#fffffca3}.invoice-order-summary span{min-width:0;padding:13px;display:flex;flex-direction:column;gap:5px}.invoice-order-summary span+span{border-left:1px solid rgb(74 113 92/.16)}.invoice-order-summary small{color:#66796f;font-size:8px;font-weight:700}.invoice-order-summary strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.invoice-detail-empty{flex:1;display:grid;place-items:center;color:#718078;font-size:10px;font-weight:700}@media(max-width:900px){.invoice-layout{height:auto;grid-template-columns:1fr}.invoice-rail{height:430px}.invoice-detail{min-height:320px}.invoice-order-summary{grid-template-columns:1fr 1fr}.invoice-order-summary span:nth-child(3){border-left:0;border-top:1px solid rgb(74 113 92/.16)}.invoice-order-summary span:nth-child(4){border-top:1px solid rgb(74 113 92/.16)}}@media(max-width:560px){.invoice-tools,.invoice-order-summary{grid-template-columns:1fr}.invoice-order-summary span+span{border-left:0;border-top:1px solid rgb(74 113 92/.16)}}.finance-archive-grid{height:calc(100dvh - 264px);min-height:430px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.finance-archive-card{min-width:0;min-height:0;padding:12px;display:grid;grid-template-rows:auto minmax(0,1fr);border:1px solid rgb(68 107 87/.22);border-radius:18px;background:linear-gradient(145deg,#fffffcd1,#e0eee7c2);box-shadow:inset 0 1px #ffffffe6,0 8px 22px #25483714}.finance-archive-card>header{min-height:54px;padding:0 4px 9px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgb(74 113 92/.18)}.finance-archive-card>header small{color:#587165;font-size:8px;font-weight:800;letter-spacing:.08em}.finance-archive-card>header h2{margin:3px 0 0;font-size:18px}.finance-archive-card>header>b{min-width:28px;height:28px;padding:0 7px;display:grid;place-items:center;border:1px solid rgb(56 106 79/.3);border-radius:9px;color:#235a42;background:#f8fcf8b3;font-size:11px}.finance-archive-scroll{min-height:0;padding:9px 3px 0 0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.finance-archive-row{min-height:66px;margin-bottom:7px;padding:9px 10px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(110px,.8fr) auto;align-items:center;gap:10px;border:1px solid rgb(73 108 90/.2);border-left:4px solid #4d896d;border-radius:11px;color:#173d30;background:#fffffcc7;box-shadow:0 4px 12px #2548370f}.finance-archive-row.is-invoice{border-left-color:#2d7255;background:linear-gradient(110deg,#f8fcf8e6,#daebe2c2)}.finance-archive-row>div{min-width:0;display:flex;flex-direction:column;gap:4px}.finance-archive-row>div:nth-child(2){align-items:flex-end;text-align:right}.finance-archive-row strong,.finance-archive-row b{overflow:hidden;font-size:12px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.finance-archive-row span,.finance-archive-row time{color:#667a70;font-size:8px;font-weight:700}.finance-archive-row time{white-space:nowrap}.finance-workspace-empty{height:calc(100dvh - 264px);min-height:430px;display:grid;place-items:center;color:#6b7f74;font-size:11px;font-weight:750}.invoice-order.is-archived,.history-invoice.is-archived{border-left-color:#347b5c;background:linear-gradient(110deg,#ebf7eff0,#c6e2d2d1)}@media(max-width:900px){.finance-archive-grid{height:auto;grid-template-columns:1fr}.finance-archive-card{height:390px}}button.finance-archive-row{width:100%;font:inherit;text-align:left;cursor:pointer}button.finance-archive-row:hover{border-color:#4b8a6c;background:#f8fcf8f5;box-shadow:0 7px 18px #2548371f}.archive-report-overlay{position:fixed;inset:0;z-index:1000;padding:18px;background:#0c231b8a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center}.archive-report{width:min(1540px,100%);height:min(940px,calc(100dvh - 36px));overflow:hidden;border:1px solid rgb(255 255 255/.7);border-radius:22px;color:#173d30;background:linear-gradient(145deg,#fbfcf8,#e9f2ed);box-shadow:0 30px 90px #061e1561;display:grid;grid-template-rows:auto minmax(0,1fr)}.archive-report-toolbar{min-height:74px;padding:12px 18px;border-bottom:1px solid rgb(74 113 92/.2);display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fffffcc2}.archive-report-toolbar small{color:#5b7468;font-size:9px;font-weight:800;letter-spacing:.08em}.archive-report-toolbar h2{margin:3px 0 0;font-size:24px}.archive-report-toolbar>div:last-child{display:flex;gap:8px}.archive-report-toolbar button{min-height:38px;padding:0 14px;border:1px solid #4f8068;border-radius:9px;color:#24503d;background:#f8fbf8;display:flex;align-items:center;gap:6px;font-weight:750;cursor:pointer}.archive-report-toolbar button:first-child{color:#fff;background:linear-gradient(135deg,#17543d,#34775a)}.archive-report-body{min-height:0;padding:16px;overflow:auto}.archive-report-body>section{margin-bottom:14px;padding:12px;border:1px solid rgb(76 115 94/.2);border-radius:13px;background:#fffffcb8;break-inside:avoid}.archive-report-body h3{margin:0 0 9px;font-size:13px;letter-spacing:.025em}.archive-cover{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.archive-cover>div,.archive-invoice-summary>span{min-width:0;padding:10px;border:1px solid rgb(76 115 94/.18);border-radius:9px;background:#eff7f1b8;display:flex;flex-direction:column;gap:4px}.archive-cover small,.archive-invoice-summary small{color:#62776c;font-size:8px;font-weight:750}.archive-cover strong,.archive-invoice-summary strong{overflow-wrap:anywhere;font-size:11px}.archive-table-wrap{width:100%;overflow:auto;border:1px solid #c7d7ce;border-radius:9px}.archive-table{width:100%;min-width:760px;border-collapse:collapse}.archive-table th{position:static;padding:7px 8px;color:#fff;background:#205f46;font-size:8px}.archive-table td{padding:7px 8px;border-bottom:1px solid #d7e2db;font-size:9px;white-space:normal}.archive-table tr:last-child td{border-bottom:0}.archive-empty{padding:16px;border:1px dashed #bdcec4;border-radius:9px;color:#6b7d74;text-align:center;font-size:9px;font-weight:700}.archive-invoice-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}@media(max-width:900px){.archive-report-overlay{padding:0}.archive-report{height:100dvh;border-radius:0}.archive-cover{grid-template-columns:repeat(2,1fr)}.archive-invoice-summary{grid-template-columns:1fr 1fr}}@media print{@page{size:A4 landscape;margin:0}html,body,#root{width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important}body{print-color-adjust:exact;-webkit-print-color-adjust:exact}.finance-page{width:100%!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}.finance-shell,.finance-workspace{display:contents!important}.finance-header,.finance-switcher,.finance-archive-grid{display:none!important}.archive-report-overlay{position:static!important;inset:auto!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;display:block!important}.archive-report{width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:8mm!important;overflow:visible!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;display:block!important}.archive-report-toolbar{min-height:0!important;margin:0 0 3mm!important;padding:0 0 2.5mm!important;border-bottom:1px solid #4f8068!important;background:#fff!important;break-after:avoid-page}.archive-report-toolbar small{font-size:7pt!important}.archive-report-toolbar h2{margin-top:1mm!important;font-size:16pt!important;line-height:1.1!important}.archive-report-toolbar>div:last-child{display:none!important}.archive-report-body{min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}.archive-report-body>section{margin:0 0 2.5mm!important;padding:2.5mm!important;border:1px solid #b9ccc1!important;border-radius:2mm!important;background:#fff!important;box-shadow:none!important;break-inside:auto!important}.archive-report-body>section.archive-cover,.archive-report-body>section:last-child{break-inside:avoid-page!important}.archive-report-body h3{margin:0 0 1.5mm!important;font-size:9pt!important;break-after:avoid-page}.archive-cover{gap:1.5mm!important}.archive-cover>div,.archive-invoice-summary>span{padding:2mm!important;border-radius:1.5mm!important}.archive-cover small,.archive-invoice-summary small{font-size:6.5pt!important}.archive-cover strong,.archive-invoice-summary strong{font-size:8.5pt!important}.archive-table-wrap{overflow:visible!important;border-radius:1.5mm!important;break-inside:auto!important}.archive-table{width:100%!important;min-width:0!important;table-layout:auto!important}.archive-table thead{display:table-header-group!important}.archive-table tr{break-inside:avoid-page!important}.archive-table th{padding:1.3mm 1.5mm!important;color:#173d30!important;background:#dcebe2!important;font-size:6.5pt!important;line-height:1.15!important}.archive-table td{padding:1.25mm 1.5mm!important;font-size:7pt!important;line-height:1.2!important}.archive-empty{padding:2.5mm!important;font-size:7pt!important}}.invoice-layout{height:calc(100dvh - 244px);min-height:500px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.invoice-pane{min-width:0;min-height:0;padding:10px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:9px;overflow:hidden;border:1px solid rgb(68 107 87/.22);border-radius:18px;background:linear-gradient(145deg,#fffffcd1,#e5f0e9c2);box-shadow:inset 0 1px #ffffffd9,0 8px 22px #25483714}.invoice-order-pane,.invoice-history-pane{grid-template-rows:auto auto auto minmax(0,1fr)}.invoice-pane-title{min-height:46px;padding:0 3px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid rgb(74 113 92/.18)}.invoice-pane-title>div{min-width:0}.invoice-pane-title small{display:block;color:#5b7468;font-size:7px;font-weight:800;letter-spacing:.09em}.invoice-pane-title h2{margin:2px 0 0;font-size:16px;line-height:1.05}.invoice-pane-title>b{min-width:27px;height:27px;padding:0 7px;display:grid;place-items:center;border:1px solid rgb(66 108 87/.25);border-radius:8px;color:#285a45;background:#f7fbf8a3;font-size:9px}.invoice-history-title>button{min-height:31px;padding:0 9px;border:1px solid #285f47;border-radius:8px;color:#fff;background:linear-gradient(135deg,#174b3a,#2c6b51);display:inline-flex;align-items:center;gap:5px;font-size:8px;font-weight:800;white-space:nowrap;cursor:pointer}.invoice-history-title>button:disabled{opacity:.38;cursor:not-allowed}.invoice-pane .invoice-tools{grid-template-columns:minmax(0,1.2fr) minmax(108px,.8fr)}.invoice-scroll{min-height:0;padding-right:3px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.invoice-state{min-height:96px;padding:16px;display:grid;place-items:center;align-content:center;gap:5px;border:1px dashed rgb(74 113 92/.28);border-radius:11px;color:#6d7e75;text-align:center;font-size:9px;font-weight:700}.invoice-state span{font-weight:600}.invoice-state.is-error{color:#a2352e;border-color:#d7aaa5;background:#fff3f1}.history-invoice{margin-bottom:7px;overflow:hidden;border:1px solid rgb(73 108 90/.2);border-left:4px solid #c78324;border-radius:11px;background:linear-gradient(110deg,#fffaede6,#f6e8ccc2);box-shadow:0 4px 12px #2548370f}.history-invoice.is-paid{border-left-color:#98a19c;background:linear-gradient(110deg,#f0f3f1e6,#dde2dfc7)}.history-invoice.is-active{border-color:#29664985;box-shadow:0 7px 18px #25483721}.history-invoice>button{width:100%;min-height:64px;padding:9px 11px;border:0;color:#173d30;background:transparent;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;cursor:pointer}.history-invoice span{min-width:0;display:flex;flex-direction:column;gap:3px}.history-invoice span:last-child{align-items:flex-end}.history-invoice strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.history-invoice small{color:#687a71;font-size:8px;font-weight:650}.invoice-viewer-pane{grid-template-rows:auto minmax(0,1fr)}.invoice-view-empty{display:grid;place-items:center;color:#718078;text-align:center;font-size:9px;font-weight:700}.prm-viewer{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:9px;overflow:hidden}.prm-viewer-head{display:grid;grid-template-columns:1fr .7fr 1fr;border:1px solid rgb(74 113 92/.2);border-radius:10px;overflow:hidden;background:#fffffca3}.prm-viewer-head span{min-width:0;padding:9px;display:flex;flex-direction:column;gap:3px}.prm-viewer-head span+span{border-left:1px solid rgb(74 113 92/.16)}.prm-viewer-head small{color:#66796f;font-size:7px;font-weight:700}.prm-viewer-head strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.prm-allocation-list{min-height:0;overflow:auto;border:1px solid rgb(74 113 92/.2);border-radius:10px;background:#fffffc8c;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.prm-allocation-row{display:grid;grid-template-columns:.8fr 1.45fr .65fr .75fr;border-top:1px solid rgb(74 113 92/.14)}.prm-allocation-row:first-child{border-top:0}.prm-allocation-row span{min-width:0;padding:7px 5px;border-left:1px solid rgb(74 113 92/.14);overflow:hidden;font-size:8px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.prm-allocation-row span:first-child{border-left:0}.prm-allocation-row.is-head{position:sticky;top:0;z-index:1;color:#fff;background:#245c42;font-weight:800}.prm-allocation-row.is-head span{font-size:7px}.invoice-file-view{min-height:0;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid rgb(74 113 92/.2);border-radius:12px;background:#fffffc9e;text-align:center}.invoice-file-view h3{margin:0;font-size:16px}.invoice-file-view p{margin:0;color:#687a71;font-size:9px}.invoice-file-view strong{font-size:24px}.invoice-file-view span{font-size:9px;font-weight:800}@media(max-width:1100px){.invoice-layout{height:auto;grid-template-columns:1fr 1fr}.invoice-pane{height:430px}.invoice-viewer-pane{grid-column:1/-1;height:500px}}@media(max-width:720px){.invoice-layout{grid-template-columns:1fr}.invoice-pane,.invoice-viewer-pane{grid-column:auto;height:430px}.invoice-pane .invoice-tools{grid-template-columns:1fr}}@media(prefers-reduced-transparency:reduce){.invoice-pane{background:#edf4ef;-webkit-backdrop-filter:none;backdrop-filter:none}}.invoice-layout{grid-template-columns:minmax(350px,.86fr) minmax(0,1.64fr);gap:12px}.invoice-list-stack{min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:10px}.invoice-list-stack>.invoice-pane{height:auto;border-radius:15px}.invoice-list-stack .invoice-pane-title{min-height:38px;padding-bottom:6px}.invoice-list-stack .invoice-tools{grid-template-columns:minmax(0,1.2fr) minmax(105px,.8fr)}.invoice-list-stack .invoice-search,.invoice-list-stack .invoice-filter{height:32px}.invoice-list-stack .invoice-order-main,.invoice-list-stack .history-invoice>button{min-height:58px}.invoice-viewer-pane{min-width:0}@media(max-width:1100px){.invoice-layout{height:auto;grid-template-columns:1fr}.invoice-list-stack{height:720px}.invoice-viewer-pane{grid-column:auto;height:560px}}@media(max-width:720px){.invoice-list-stack{height:auto;grid-template-rows:none}.invoice-list-stack>.invoice-pane{height:420px}.invoice-list-stack .invoice-tools{grid-template-columns:1fr}}.invoice-layout{grid-template-columns:minmax(300px,1fr) minmax(0,2fr)}.invoice-list-stack .invoice-pane{padding:8px;gap:6px}.invoice-list-stack .invoice-pane-title{min-height:32px;padding:0 2px 5px}.invoice-list-stack .invoice-pane-title h2{font-size:14px}.invoice-list-stack .invoice-pane-title>b{height:23px;min-width:23px}.invoice-list-stack .invoice-history-title>button{min-height:27px;padding-inline:7px;font-size:7px}.invoice-list-stack .invoice-search,.invoice-list-stack .invoice-filter{height:28px;padding-inline:7px;border-radius:8px}.invoice-list-stack .invoice-search input,.invoice-list-stack .invoice-filter select{font-size:8px}.invoice-list-stack .invoice-selection{padding:4px 2px}.invoice-list-stack .invoice-selection button,.invoice-list-stack .invoice-selection b{font-size:7px}.invoice-list-stack .invoice-selection button>span{width:15px;height:15px}.invoice-list-stack .invoice-order,.invoice-list-stack .history-invoice{margin-bottom:5px;border-radius:9px}.invoice-list-stack .invoice-order-main,.invoice-list-stack .history-invoice>button{min-height:46px;padding-top:6px;padding-bottom:6px}.invoice-list-stack .invoice-order-main{padding-right:34px}.invoice-list-stack .invoice-order-main strong,.invoice-list-stack .history-invoice strong{font-size:9px}.invoice-list-stack .invoice-order-main small,.invoice-list-stack .history-invoice small,.invoice-list-stack .invoice-order-main em,.invoice-list-stack .invoice-order-main em small{font-size:7px}.invoice-list-stack .invoice-check{top:7px;right:7px;width:20px;height:20px}.invoice-viewer-pane{padding:8px;gap:6px}.invoice-viewer-pane>.invoice-pane-title{min-height:34px;padding-bottom:5px}.prm-viewer{gap:6px}.prm-viewer-head span{padding:6px 8px}.prm-view-tabs button,.prm-view-tabs a{min-height:25px}.prm-image-toolbar{padding:5px 7px}.prm-image-page{max-width:100%;margin-bottom:9px}.prm-image-page img{max-height:calc(100dvh - 366px);object-fit:contain}@media(max-width:1100px){.invoice-layout{grid-template-columns:1fr}}.finance-workspace{padding:10px}.invoice-layout{grid-template-columns:calc((100% - 16px) / 3) minmax(0,1fr);gap:8px}.invoice-list-stack{gap:8px}.invoice-list-stack .invoice-pane{padding:7px;gap:4px}.invoice-list-stack .invoice-pane-title{min-height:28px;padding-bottom:4px}.invoice-list-stack .invoice-pane-title h2{font-size:13px}.invoice-list-stack .invoice-tools{gap:4px}.invoice-list-stack .invoice-search,.invoice-list-stack .invoice-filter{height:25px;padding-inline:6px}.invoice-list-stack .invoice-search input,.invoice-list-stack .invoice-filter select{font-size:7px}.invoice-list-stack .invoice-selection{min-height:22px;padding:2px}.invoice-list-stack .invoice-order-main,.invoice-list-stack .history-invoice>button{min-height:40px;padding-top:4px;padding-bottom:4px}.invoice-list-stack .invoice-order-main{gap:2px 8px}.invoice-list-stack .invoice-order-main span{gap:1px}.invoice-list-stack .invoice-order-main strong,.invoice-list-stack .history-invoice strong{font-size:8px}.invoice-list-stack .invoice-order-main small,.invoice-list-stack .history-invoice small,.invoice-list-stack .invoice-order-main em,.invoice-list-stack .invoice-order-main em small{font-size:6px}.prm-image-scroll{padding:6px}.prm-image-page{width:100%!important;height:calc(100% - 2px);min-width:0;max-width:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:stretch;margin-bottom:8px}.prm-image-page img{width:100%;height:100%;max-height:none;object-fit:contain}@media(max-width:1100px){.finance-workspace{padding:10px}.invoice-layout{grid-template-columns:1fr}}.invoice-layout{height:calc(100dvh - 220px)}.invoice-viewer-pane{padding:7px;grid-template-rows:auto minmax(0,1fr);gap:4px}.invoice-viewer-pane>.invoice-pane-title{min-height:27px;padding:0 2px 3px}.invoice-viewer-pane>.invoice-pane-title h2{margin-top:0;font-size:14px}.invoice-viewer-pane>.invoice-pane-title>b{width:24px;height:24px;min-width:24px;padding:0}.prm-viewer{gap:4px}.prm-viewer-head{border-radius:8px}.prm-viewer-head span{padding:4px 7px;gap:1px}.prm-viewer-head small{font-size:6px}.prm-viewer-head strong{font-size:8px}.prm-view-tabs{gap:4px}.prm-view-tabs button,.prm-view-tabs a{min-height:23px;padding-inline:7px;font-size:6px}.prm-image-view{gap:4px}.prm-image-toolbar{min-height:29px;padding:3px 6px;border-radius:7px}.prm-image-toolbar strong{font-size:7px}.prm-image-toolbar small{font-size:6px}.prm-image-toolbar button{width:22px;height:22px}.prm-image-scroll{padding:7px}.prm-image-page{width:100%!important;height:auto;min-width:0;max-width:100%;display:block;margin:0 auto 10px}.prm-image-page img{display:block;width:100%;height:auto;max-height:none;object-fit:initial}.prm-image-page figcaption{padding-block:3px}@media(max-width:1100px){.invoice-layout{height:auto}}.prm-image-view{grid-template-rows:minmax(0,1fr);gap:0}.prm-image-scroll{height:100%;min-height:0}.invoice-viewer-title{min-width:0;justify-content:flex-start;gap:10px}.invoice-viewer-title>div:first-child{flex:none}.invoice-viewer-title .prm-view-tabs{min-width:0;flex:1;margin-left:4px}.invoice-viewer-title .prm-view-tabs a{margin-left:0}.invoice-viewer-title .prm-view-tabs button,.invoice-viewer-title .prm-view-tabs a{min-height:22px;padding-inline:6px;font-size:6px}.prm-viewer-head span{padding:3px 7px;flex-direction:row;align-items:center;justify-content:flex-start;gap:6px}.prm-viewer-head small,.prm-viewer-head strong{line-height:1}.prm-viewer-head small{flex:none}@media(max-width:720px){.invoice-viewer-title{align-items:flex-start;flex-direction:column}.invoice-viewer-title .prm-view-tabs{width:100%;margin-left:0}}.finance-page{padding:4px}.finance-shell{min-height:calc(100dvh - 8px);padding:8px;border-radius:22px}.finance-header{min-height:58px;padding:0 4px 7px}.finance-heading{padding:6px 10px}.finance-switcher{margin:0 4px 8px;padding:6px;gap:7px}.finance-switcher>button{min-height:70px;padding:10px 16px}.finance-workspace{min-height:calc(100dvh - 170px);margin:0 4px;padding:6px;border-radius:20px}.invoice-layout{height:calc(100dvh - 184px);gap:7px}.invoice-list-stack{gap:7px}.invoice-list-stack>.invoice-pane,.invoice-viewer-pane{border-radius:14px}@media(max-width:760px){.finance-page{padding:0}.finance-shell{min-height:100dvh;padding:8px;border-radius:0}.finance-header{padding-inline:0}.finance-switcher,.finance-workspace{margin-inline:0}.finance-workspace{padding:6px}.invoice-layout{height:auto}}.history-invoice{position:relative;padding:6px 7px 7px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main action" "orders action";gap:5px 7px;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.history-invoice>.history-invoice-main{grid-area:main;width:100%;min-height:32px;padding:2px 3px;border:0;color:#173d30;background:transparent;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left;cursor:pointer}.history-invoice>.history-invoice-main span{min-width:0;display:flex;flex-direction:column;gap:1px}.history-invoice>.history-invoice-main span:last-child{align-items:flex-end}.history-invoice>.history-invoice-main strong{font-size:8px}.history-invoice>.history-invoice-main small{font-size:6px}.history-invoice-orders{grid-area:orders;min-width:0;max-height:42px;overflow-y:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:18px;gap:3px;scrollbar-width:thin;scrollbar-color:#83a392 transparent}.history-invoice-orders button{min-width:0;padding:0 4px;overflow:hidden;border:1px solid rgb(45 99 72/.22);border-radius:5px;color:#20513d;background:#fffffca1;font-size:6px;font-weight:850;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.history-invoice-orders button:hover{border-color:#276b4d;background:#fff}.invoice-payment-button,.invoice-paid-badge{grid-area:action;align-self:center;min-width:82px;min-height:32px;padding:5px 7px;border-radius:7px;display:grid;place-items:center;text-align:center;font-size:6px;font-weight:900;line-height:1.2}.invoice-payment-button{border:1px solid #a76b1a;color:#75470d;background:linear-gradient(145deg,#fff8e8,#efd79f);cursor:pointer}.invoice-payment-button:hover{border-color:#84500d;box-shadow:0 4px 10px #97601326}.invoice-paid-badge{border:1px solid #4f8d6d;color:#18563a;background:#dcf1e3e6}.history-invoice.is-paid{border-color:#397d567a;border-left-color:#2f875a;background:linear-gradient(110deg,#e2f4e8f0,#c4e5cfd1);box-shadow:0 5px 14px #2265411f}.history-invoice.is-paid .history-invoice-orders button{border-color:#357e5342;background:#f4fcf6ad}@media(max-width:1250px){.history-invoice{grid-template-columns:minmax(0,1fr)}.history-invoice>.history-invoice-main{grid-area:auto}.history-invoice-orders{grid-area:auto}.invoice-payment-button,.invoice-paid-badge{grid-area:auto;min-height:24px}}.invoice-order-title{align-items:center}.invoice-order-title-actions{margin-left:auto;display:flex;align-items:center;gap:6px}.invoice-order-title-actions>b{min-width:23px;height:23px;padding:0 6px;display:grid;place-items:center;border:1px solid rgb(66 108 87/.25);border-radius:7px;color:#285a45;background:#f7fbf8a3;font-size:8px}.invoice-order-title-actions>button{min-height:27px;padding:0 7px;border:1px solid #285f47;border-radius:8px;color:#fff;background:linear-gradient(135deg,#174b3a,#2c6b51);display:inline-flex;align-items:center;gap:4px;font-size:7px;font-weight:900;white-space:nowrap;cursor:pointer}.invoice-order-title-actions>button:disabled{opacity:.38;cursor:not-allowed}.history-invoice{padding:7px;display:grid;grid-template-columns:minmax(0,2fr) minmax(86px,1fr);grid-template-areas:"orders facts";gap:7px;align-items:stretch}.history-invoice-orders{grid-area:orders;max-height:60px;min-height:60px;overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,18px);grid-auto-rows:18px;gap:3px;align-content:start}.history-invoice-orders button{border-color:#2d63482e;border-radius:6px;background:#fffffc94;font-size:6px;font-weight:900}.history-invoice-facts{grid-area:facts;min-width:0;display:grid;grid-template-rows:repeat(3,minmax(18px,1fr));gap:3px;align-items:stretch}.history-invoice-number,.history-invoice-amount{width:100%;min-width:0;padding:0 4px;overflow:hidden;border:0;color:#173d30;background:transparent;text-align:right;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font-size:7px;font-weight:950}.history-invoice-amount{font-size:8px}.history-invoice-amount b{font-size:6px;font-weight:950}.history-invoice-number:hover,.history-invoice-amount:hover{color:#287052}.history-invoice-facts .invoice-payment-button,.history-invoice-facts .invoice-paid-badge,.history-invoice-facts .invoice-draft-badge{grid-area:auto;align-self:stretch;min-width:0;min-height:18px;padding:2px 4px;border-radius:6px;font-size:6px;font-weight:950}.invoice-draft-badge{display:grid;place-items:center;border:1px solid rgb(164 111 34/.35);color:#855512;background:#fff7e3ad;text-align:center}@media(max-width:1250px){.history-invoice{grid-template-columns:minmax(0,2fr) minmax(78px,1fr);grid-template-areas:"orders facts"}.history-invoice-orders{grid-area:orders}.history-invoice-facts{grid-area:facts}.history-invoice-facts .invoice-payment-button,.history-invoice-facts .invoice-paid-badge{min-height:18px}}.history-invoice-orders{max-height:66px;min-height:66px;grid-template-rows:repeat(3,20px);grid-auto-rows:20px;gap:3px}.history-invoice-orders button,.history-invoice-facts .invoice-payment-button,.history-invoice-facts .invoice-paid-badge,.history-invoice-facts .invoice-draft-badge{height:20px;min-height:20px;padding:0 5px;border-width:1px;border-radius:6px;font-size:7.5px;font-weight:950;line-height:1;box-sizing:border-box}.history-invoice-orders button{display:grid;place-items:center;letter-spacing:.01em}.history-invoice-facts{grid-template-rows:repeat(3,20px);align-content:center;gap:3px}.history-invoice-number,.history-invoice-amount{height:20px;padding-inline:5px;font-size:8px;font-weight:950;line-height:20px}.history-invoice-amount{font-size:9px}.history-invoice-amount b{font-size:7px}.invoice-payment-button,.invoice-paid-badge{letter-spacing:.03em}.history-invoice-orders button,.history-invoice-facts .invoice-payment-button,.history-invoice-facts .invoice-paid-badge,.history-invoice-facts .invoice-draft-badge{padding-inline:2px;font-size:9px;font-weight:950;letter-spacing:-.015em}.history-invoice-number{padding-inline:2px;font-size:9.5px;font-weight:950;letter-spacing:-.015em}.history-invoice-amount{padding-inline:2px;font-size:11px;font-weight:950;letter-spacing:-.02em}.history-invoice-amount b{font-size:8px}.history-invoice-facts .invoice-paid-badge{width:100%;padding-inline:6px;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box;font-size:10px;line-height:1;letter-spacing:0;text-align:center;white-space:nowrap}.invoice-viewer-title .prm-view-tabs button,.invoice-viewer-title .prm-view-tabs a{min-height:30px;padding-inline:10px;font-size:8.5px;font-weight:850;line-height:1}.invoice-viewer-title .prm-view-tabs a>svg{width:18px;height:18px}.invoice-viewer-title .prm-view-tabs{margin-left:auto;justify-content:flex-end}.prm-viewer{grid-template-rows:auto auto minmax(0,1fr)}.prm-view-tabs{display:flex;align-items:center;gap:6px;min-width:0}.prm-view-tabs button,.prm-view-tabs a{min-height:28px;border:1px solid rgb(56 105 79 / 22%);border-radius:8px;background:#fffffc94;color:#315b49;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;font:inherit;font-size:7px;font-weight:800;text-decoration:none;white-space:nowrap}.prm-view-tabs button:hover:not(:disabled),.prm-view-tabs a:hover{border-color:#1f67487a;background:#f1f9f4db}.prm-view-tabs button:active,.prm-view-tabs a:active{transform:translateY(1px)}.prm-view-tabs button.is-active{border-color:#276d50;background:#276d50;color:#fff}.prm-view-tabs button:disabled{cursor:not-allowed;opacity:.42}.prm-view-tabs a{margin-left:auto}.prm-image-view{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:7px;overflow:hidden}.prm-image-toolbar{min-width:0;border:1px solid rgb(55 102 78 / 18%);border-radius:9px;background:#fffffc8a;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;gap:10px}.prm-image-toolbar>span{min-width:0;display:grid;gap:2px}.prm-image-toolbar strong{overflow:hidden;color:#234d3c;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.prm-image-toolbar small{color:#708279;font-size:7px;font-weight:700}.prm-image-toolbar>div{display:flex;align-items:center;gap:4px}.prm-image-toolbar button{width:25px;height:25px;border:1px solid rgb(43 103 76 / 24%);border-radius:7px;background:#f2f9f5d1;color:#1e6347;font:inherit;font-size:13px;line-height:1}.prm-image-toolbar button:disabled{opacity:.36}.prm-image-toolbar b{min-width:38px;color:#315b49;font-size:7px;text-align:center}.prm-image-scroll{min-height:0;overflow:auto;border:1px solid rgb(55 102 78 / 18%);border-radius:10px;background:linear-gradient(135deg,#d4e8dda8,#e8f1ed7a),#e1ede6b8;padding:12px;scrollbar-color:rgb(57 105 80 / 40%) transparent;scrollbar-width:thin}.prm-image-page{min-width:70%;max-width:150%;margin:0 auto 14px;background:#fff;border:1px solid rgb(39 83 62 / 14%);border-radius:4px;box-shadow:0 9px 24px #23433529;overflow:hidden}.prm-image-page:last-child{margin-bottom:0}.prm-image-page img{display:block;width:100%;height:auto;background:#fff}.prm-image-page figcaption{border-top:1px solid rgb(45 84 66 / 12%);background:#f7faf8;color:#6a7d73;padding:5px 8px;font-size:6px;font-weight:800;text-align:center}@media(max-width:720px){.prm-view-tabs{flex-wrap:wrap}.prm-view-tabs a{margin-left:0}.prm-image-toolbar{align-items:flex-start;flex-direction:column}.prm-image-page{min-width:100%}}@media(prefers-reduced-transparency:reduce){.prm-view-tabs button,.prm-view-tabs a,.prm-image-toolbar{background:#f5f8f5}}.invoice-modal-backdrop{position:fixed;inset:0;z-index:1000;padding:28px;display:grid;place-items:center;background:#0d251d8a;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.invoice-modal{width:min(1220px,96vw);max-height:92vh;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:12px;border:1px solid rgb(255 255 255/.8);border-radius:24px;background:linear-gradient(145deg,#fafdf9fa,#e0efe7f7);box-shadow:0 30px 80px #0a231a57,inset 0 1px #fff;color:#173d30}.invoice-modal>header{padding:18px 22px 13px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgb(54 99 76/.2)}.invoice-modal header small{color:#5c766a;font-size:10px;font-weight:850;letter-spacing:.1em}.invoice-modal h2{margin:3px 0 0;font-size:26px}.invoice-modal header button{border:0;background:transparent;display:flex;align-items:center;gap:6px;color:#234c3b;font-weight:800;cursor:pointer}.invoice-form-grid{padding:0 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.invoice-form-grid label{display:flex;flex-direction:column;gap:5px;color:#355d4c;font-size:9px;font-weight:850}.invoice-form-grid input{height:40px;padding:0 11px;border:1px solid rgb(51 102 77/.3);border-radius:9px;background:#fffffcd1;color:#173d30;font:inherit;font-size:12px;outline:none}.invoice-form-grid input:focus{border-color:#24694d;box-shadow:0 0 0 3px #26694d1c}.invoice-preview-table{min-height:0;margin:0 22px;overflow:auto;border:1px solid rgb(53 98 76/.22);border-radius:12px;background:#fffffca8}.invoice-preview-table table{width:100%;border-collapse:collapse;font-size:10px}.invoice-preview-table th{position:sticky;top:0;padding:9px 10px;color:#fff;background:#205c42;text-align:left;font-size:8px;letter-spacing:.03em}.invoice-preview-table td{padding:8px 10px;border-top:1px solid rgb(55 98 77/.14)}.invoice-preview-table td:nth-last-child(-n+3){text-align:right}.invoice-summary{margin:0 22px;padding:10px 12px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px;border:1px solid rgb(55 98 77/.18);border-radius:11px;background:#fffffc8c}.invoice-summary span{color:#597166;font-size:8px;font-weight:800}.invoice-summary b{display:block;margin-top:3px;color:#173d30;font-size:12px}.invoice-modal>footer{padding:12px 22px 18px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid rgb(54 99 76/.18)}.invoice-modal footer button,.invoice-document-actions button{min-height:39px;padding:0 18px;border:1px solid #2d684f;border-radius:9px;background:#fffffca6;color:#1d513c;font-weight:850;cursor:pointer}.invoice-modal footer .is-primary,.invoice-document-actions .is-primary{color:#fff;background:linear-gradient(135deg,#174b3a,#2d7255)}.invoice-modal footer button:disabled{opacity:.45}.invoice-modal-state,.invoice-modal-error{margin:14px 22px;padding:14px;border-radius:10px;text-align:center;font-size:11px;font-weight:750}.invoice-modal-state{border:1px dashed rgb(56 101 79/.28);color:#60766b}.invoice-modal-error{border:1px solid #e2aaa4;color:#a22e28;background:#fff0ee}.history-invoice.is-draft{border-left-color:#c78324;background:linear-gradient(110deg,#fffaede6,#f6e8ccc2)}.invoice-document{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:8px;overflow:hidden}.invoice-document-head{display:flex;align-items:center;justify-content:space-between}.invoice-document-head small{color:#9a661b;font-size:7px;font-weight:850}.invoice-document-head h3{margin:2px 0 0;font-size:15px}.invoice-document-head a{min-height:27px;padding:0 9px;display:flex;align-items:center;gap:5px;border:1px solid #2c694f;border-radius:8px;color:#21563f;text-decoration:none;font-size:7px;font-weight:850}.invoice-document .invoice-form-grid,.invoice-document .invoice-preview-table,.invoice-document .invoice-summary{margin:0;padding-left:0;padding-right:0}.invoice-form-grid.is-compact input{height:31px;font-size:9px}.invoice-document-actions{display:flex;justify-content:flex-end;gap:7px}.invoice-document-actions button{min-height:31px;padding-inline:11px;font-size:8px}@media(max-width:760px){.invoice-modal-backdrop{padding:8px}.invoice-modal{max-height:98vh}.invoice-form-grid{grid-template-columns:1fr 1fr}.invoice-preview-table,.invoice-summary{margin-inline:10px}.invoice-form-grid{padding-inline:10px}}.history-invoice-number{font-size:13.5px;letter-spacing:-.035em}.invoice-document:not(.is-draft){grid-template-rows:auto minmax(0,1fr);gap:5px}.invoice-document:not(.is-draft) .invoice-document-head h3{font-size:22px;letter-spacing:-.025em}.invoice-generated-preview{min-height:0;height:100%;overflow:auto;padding:6px;border:1px solid rgb(53 98 76/.2);border-radius:10px;background:#dcebe394;scrollbar-width:thin;scrollbar-color:#87a494 transparent}.invoice-generated-preview figure{width:100%;margin:0 auto 10px;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;background:#fff;box-shadow:0 5px 16px #193d2d1a}.invoice-generated-preview img{display:block;width:100%;height:auto;object-fit:contain}.invoice-generated-preview figcaption{width:100%;padding:4px;color:#577064;background:#edf4ef;text-align:center;font-size:7px;font-weight:800}.settings-page{min-height:100dvh;padding:10px;color:#163f31;background:#123d2f url(/assets/textile-background.png) center/cover fixed;font-family:Segoe UI,Microsoft YaHei UI,sans-serif}.settings-shell{min-height:calc(100dvh - 20px);padding:18px;border:1px solid rgb(255 255 255/.62);border-radius:28px;background:linear-gradient(135deg,#fcfdf9f0,#e8f1ece6);box-shadow:inset 0 1px #ffffffeb,0 24px 70px #072b1f47;-webkit-backdrop-filter:blur(18px) saturate(115%);backdrop-filter:blur(18px) saturate(115%)}.settings-header{min-height:76px;padding:8px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid rgb(255 255 255/.64);border-radius:17px;background:linear-gradient(135deg,#fffffdc2,#ddece3a8);box-shadow:inset 0 1px #fff,0 8px 20px #224a351a}.settings-header>.settings-back{min-height:34px;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}.settings-header>.settings-back:hover{background:linear-gradient(135deg,#fffffdf2,#d9e9dedb)}.settings-header>.settings-back:active{transform:translateY(1px)}.settings-header>.settings-back:focus-visible{outline:3px solid rgb(65 118 95/.58);outline-offset:3px}.settings-header h1{margin:0;font-size:clamp(27px,2.3vw,40px);line-height:1;letter-spacing:-.04em}.settings-header h1 span{font-size:.58em}.settings-header p{margin:5px 0 0;color:#587267;font-size:10px;font-weight:700;letter-spacing:.07em}.settings-header aside{display:flex;flex-direction:column;align-items:flex-end}.settings-header aside strong{font-size:12px}.settings-header aside small{color:#60796e;font-size:9px}.settings-tabs{margin-top:14px;padding:9px;display:grid;grid-template-columns:repeat(4,1fr);gap:9px;border:1px solid rgb(85 128 107/.24);border-radius:18px;background:#e1efe8a8;box-shadow:inset 0 1px #fff,0 8px 20px #25483717}.settings-tabs button{min-height:64px;padding:0 18px;display:flex;align-items:center;gap:12px;border:1px solid rgb(92 132 111/.25);border-radius:13px;color:#245440;background:linear-gradient(135deg,#fffffdc7,#d8ebe5b8);box-shadow:inset 0 1px #fff;font-weight:750;text-align:left}.settings-tabs svg{width:24px;height:24px;padding:10px;box-sizing:content-box;border-radius:50%;background:#fffffdb8}.settings-tabs span{display:flex;flex-direction:column;gap:3px}.settings-tabs strong{font-size:13px}.settings-tabs small{font-size:10px}.settings-tabs button.active{color:#fff;border-color:#1a6044;background:linear-gradient(135deg,#12543a,#35775b);box-shadow:inset 0 1px #ffffff47,0 10px 24px #144c3433}.settings-message{margin-top:10px;padding:9px 12px;display:flex;justify-content:space-between;align-items:center;border:1px solid #9fc2ad;border-radius:9px;background:#eef7f0;font-size:11px;font-weight:650}.settings-message button{border:0;background:transparent}.settings-workspace{margin-top:14px;min-height:calc(100dvh - 210px);padding:14px;border:1px solid rgb(255 255 255/.62);border-radius:22px;background:linear-gradient(145deg,#edf6f1c7,#d5e9e3bd);box-shadow:inset 0 1px #fff,0 12px 28px #244d3921}.account-workspace{display:grid;grid-template-columns:minmax(260px,.32fr) minmax(0,1fr);gap:13px}.settings-user-list,.settings-pane,.permission-matrix{border:1px solid rgb(87 126 105/.22);border-radius:16px;background:linear-gradient(145deg,#fffffdcc,#eaf3edb8);box-shadow:inset 0 1px #fff,0 7px 17px #244b3714}.settings-user-list{padding:12px;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:10px}.settings-user-list>header,.settings-pane>header,.permission-matrix>header{display:flex;justify-content:space-between;align-items:flex-end}.settings-user-list h2,.settings-pane h2,.permission-matrix h2{margin:2px 0 0;font-size:18px}.settings-user-list header small,.settings-pane header small,.permission-matrix header small{color:#63796f;font-size:8px;font-weight:750;letter-spacing:.08em}.settings-user-list header b{min-width:27px;height:27px;display:grid;place-items:center;border:1px solid #b7cdbf;border-radius:8px;background:#eef6f0}.settings-user-list>label{height:36px;padding:0 10px;display:flex;align-items:center;gap:7px;border:1px solid #b8cdc0;border-radius:9px;background:#fffffdc2}.settings-user-list input{min-width:0;flex:1;border:0;outline:0;background:transparent}.settings-user-list>div{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:7px}.settings-user-list>div>button{padding:9px;display:grid;grid-template-columns:8px 1fr;gap:9px;border:1px solid #ccdbd1;border-radius:10px;color:#234d3c;background:#fffffdad;text-align:left}.settings-user-list>div>button.selected{border-color:#4d8d6e;background:#f7fbf7;box-shadow:0 6px 15px #24573c1a}.settings-user-list i{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#a2aca7}.settings-user-list i.online{background:#238858;box-shadow:0 0 0 3px #2388581f}.settings-user-list span{min-width:0;display:flex;flex-direction:column;gap:2px}.settings-user-list strong{font-size:11px}.settings-user-list small{color:#60766c;font-size:8px}.settings-user-list em{overflow:hidden;color:#6a7b73;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.settings-account-main{min-width:0;display:grid;grid-template-columns:1.2fr .9fr;grid-template-rows:auto auto 1fr;gap:12px}.settings-pane{padding:14px}.account-create-pane{grid-row:span 2}.account-create-pane form,.password-pane form{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-pane label{display:flex;flex-direction:column;gap:4px;color:#547065;font-size:8px;font-weight:700}.settings-pane input,.settings-pane select{height:36px;padding:0 9px;border:1px solid #b7cbbf;border-radius:8px;color:#1e4837;background:#fffffdcc}.settings-pane form button,.account-control>button,.price-list button{min-height:36px;padding:0 12px;border:1px solid #2d7656;border-radius:8px;color:#fff;background:linear-gradient(135deg,#175c40,#347c5b);display:flex;align-items:center;justify-content:center;gap:6px;font-weight:750}.settings-pane form button{grid-column:1/-1}.settings-pane button:disabled{opacity:.45}.account-control{margin-top:12px;display:grid;gap:10px}.account-control>div{display:grid;grid-template-columns:1fr 1fr;gap:7px}.account-control span{padding:8px;border:1px solid #d2dfd7;border-radius:8px;background:#fffffd8c;display:flex;flex-direction:column;gap:3px}.account-control span:last-child{grid-column:1/-1}.account-control small{color:#63766d;font-size:7px;font-weight:700}.account-control strong{font-size:10px}.account-control>button.deactivate{color:#a43a31;border-color:#d9a9a2;background:#fff2ef}.permission-matrix{grid-column:1/-1;padding:12px}.permission-matrix>div{margin-top:6px;display:grid;grid-template-columns:80px repeat(6,1fr);gap:5px}.permission-matrix>div>strong{display:flex;align-items:center;font-size:9px}.permission-matrix span{min-height:42px;padding:5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid #c9dbd0;border-radius:7px;background:#f5faf6bd}.permission-matrix span b,.permission-matrix span small{font-size:7px}.permission-matrix span.locked{color:#7c8882;background:#e5e9e6}.permission-matrix span.readonly{color:#8a6217;background:#fff7e3}.single-workspace{display:block}.single-workspace>.settings-pane{min-height:calc(100dvh - 240px)}.pricing-pane>header{align-items:center}.pricing-pane>header p{margin:0;color:#60756a;font-size:10px}.price-list{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.price-list article{padding:11px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;border:1px solid #c7d8ce;border-radius:10px;background:#fffffd9e}.price-list article>strong{font-size:14px}.price-list label{flex-direction:row;align-items:center;font-size:10px}.price-list input{width:90px}.price-list button{min-height:34px;font-size:9px}.data-metrics{margin:18px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.data-metrics span{padding:18px;border:1px solid #c5d8cd;border-radius:12px;background:#fffffd99;display:flex;flex-direction:column;gap:7px}.data-metrics small{color:#60776b;font-size:8px;font-weight:700}.data-metrics strong{font-size:23px}.data-pane>a{width:max-content;padding:0 16px;min-height:42px;display:flex;align-items:center;gap:8px;border-radius:9px;color:#fff;background:#246a4c;text-decoration:none;font-weight:750}.data-pane>p{color:#697a72;font-size:10px}.info-pane dl{margin:16px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.info-pane dl div{padding:14px;border:1px solid #c8d8cf;border-radius:10px;background:#fffffd94}.info-pane dt{color:#60766b;font-size:8px;font-weight:750}.info-pane dd{margin:7px 0 0;overflow-wrap:anywhere;font-size:12px;font-weight:700}.info-pane dd.healthy{color:#237149}@media(max-width:1000px){.settings-tabs{grid-template-columns:1fr 1fr}.account-workspace{grid-template-columns:1fr}.settings-user-list{max-height:320px}.settings-account-main{grid-template-columns:1fr}.account-create-pane{grid-row:auto}.permission-matrix>div{grid-template-columns:70px repeat(3,1fr)}.price-list{grid-template-columns:1fr 1fr}}@media(max-width:650px){.settings-page{padding:0}.settings-shell{padding:10px;border-radius:0}.settings-header{grid-template-columns:auto 1fr}.settings-header aside{display:none}.settings-tabs,.settings-account-main,.account-create-pane form,.password-pane form,.price-list,.data-metrics,.info-pane dl{grid-template-columns:1fr}.permission-matrix{overflow:auto}.permission-matrix>div{min-width:650px}.settings-workspace{min-height:auto}}main.settings-page{width:100%;max-width:none;margin:0;padding:10px}.settings-shell{width:100%;padding:14px}.settings-header{min-height:68px}.settings-tabs{margin-top:10px;padding:7px}.settings-tabs button{min-height:56px}.settings-workspace{margin-top:10px;min-height:calc(100dvh - 184px);padding:10px}.account-workspace{grid-template-columns:minmax(250px,.28fr) minmax(0,1fr);align-items:start;gap:10px}.settings-user-list{height:fit-content;max-height:620px;padding:10px;gap:8px}.settings-user-list>div>button{padding:8px}.settings-account-main{grid-template-columns:1.08fr .92fr;grid-template-rows:auto auto auto;gap:9px}.settings-pane{padding:11px}.account-create-pane{grid-row:auto}.account-create-pane form,.password-pane form,.account-detail-pane .account-control{margin-top:9px;gap:8px}.password-pane{grid-column:1/-1}.password-pane form{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(150px,.72fr);align-items:end}.password-pane form button{grid-column:auto}.permission-matrix{padding:9px}.permission-matrix>div{margin-top:4px}.permission-matrix span{min-height:36px;padding:3px}.price-create{margin-top:14px;padding:13px;display:grid;grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) minmax(230px,1.1fr) auto;align-items:end;gap:11px;border:1px solid #bdd2c5;border-radius:12px;background:#eef7f1b8;box-shadow:inset 0 1px #ffffffe6}.price-create>div{align-self:center;display:flex;flex-direction:column;gap:3px}.price-create>div small,.price-style small{color:#63796f;font-size:8px;font-weight:750;letter-spacing:.08em}.price-create>div strong{font-size:14px}.price-create button{min-height:36px;padding:0 14px;border:1px solid #2d7656;border-radius:8px;color:#fff;background:linear-gradient(135deg,#175c40,#347c5b);display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;font-weight:750;white-space:nowrap}.price-create button:disabled,.price-list button:disabled{cursor:not-allowed;opacity:.45}.price-input{display:flex;align-items:center;height:36px;overflow:hidden;border:1px solid #b7cbbf;border-radius:8px;background:#fffffddb}.price-input span{height:100%;padding:0 9px;display:flex;align-items:center;border-right:1px solid #c8d8ce;color:#315a46;background:#edf5ef;font-size:9px;font-weight:800}.settings-pane .price-input input{min-width:0;width:100%;height:34px;border:0;border-radius:0;background:transparent}.price-input:focus-within{outline:2px solid rgb(36 103 70/.16);border-color:#4f8e70}.price-input:has(input[aria-invalid=true]){border-color:#c8786f}.pricing-feedback{margin-top:11px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #9fc2ad;border-radius:9px;background:#eef7f0;color:#20583e;font-size:11px;font-weight:700}.pricing-feedback.error{border-color:#e0afa8;background:#fff0ee;color:#9d2d24}.pricing-feedback button{min-height:30px;padding:0 10px;border:1px solid currentColor;border-radius:7px;color:inherit;background:#ffffff8c;font-size:9px;font-weight:800}.pricing-state{min-height:190px;margin-top:14px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px dashed #adc7b7;border-radius:12px;color:#587267;background:#fffffd61;font-size:10px;font-weight:750}.pricing-state.empty{flex-direction:column}.pricing-state.empty>svg{width:30px;height:30px;color:#528268}.pricing-state.empty strong{color:#244f3d;font-size:15px}.pricing-state.empty span{font-weight:500}.price-style{min-width:0;display:flex;flex-direction:column;gap:3px}.price-style strong{overflow-wrap:anywhere}.price-list article{align-items:start}.price-list article>label{min-width:0}.price-list article>button{align-self:end}.price-list .price-input{width:132px}.price-inline-error{max-width:160px;color:#a8372d;font-size:8px;line-height:1.25}@media(min-width:768px)and (max-width:1199px){.price-create{grid-template-columns:1fr 1fr}.price-create>div{grid-column:1/-1}.price-create button{min-height:38px}.price-list{grid-template-columns:1fr 1fr}.price-list article{grid-template-columns:minmax(0,1fr) auto}.price-list article>button{grid-column:1/-1;width:100%}}@media(max-width:767px){.pricing-pane>header{align-items:flex-start;flex-direction:column;gap:6px}.price-create{grid-template-columns:1fr}.price-create>div{grid-column:auto}.price-create button{min-height:42px}.price-list{grid-template-columns:1fr}.price-list article{grid-template-columns:minmax(0,1fr) auto}.price-list article>button{grid-column:1/-1;width:100%;min-height:40px}.price-list .price-input{width:min(150px,42vw)}.pricing-feedback{align-items:flex-start;flex-direction:column}.pricing-feedback button{width:100%}}@media(max-width:1000px){main.settings-page{padding:8px}.settings-shell{padding:10px}.account-workspace{grid-template-columns:1fr}.settings-user-list{width:100%;max-height:300px}.password-pane form{grid-template-columns:1fr 1fr}.password-pane form button{grid-column:1/-1}}: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,#394d52f7,#506568f0 52%,#778a88e6),#405559f5;box-shadow:inset 0 1px #ffffff3d,0 18px 42px #2a3c3e3b}.production-entry:before{background:radial-gradient(circle at 84% 22%,rgb(220 232 227 / .3),transparent 31%),linear-gradient(112deg,rgb(255 255 255 / .13),transparent 48%,rgb(29 54 57 / .14))}.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}.prm-machine-check{margin:0 24px 14px;padding:13px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;border:1px solid #a9c7b7;border-radius:11px;background:#edf7f1db;font-size:11px}.prm-machine-check.conflict{border-color:#d6a27f;background:#fff3eae6}.prm-machine-check>div{display:flex;flex-direction:column;gap:4px}.prm-machine-check dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:8px}.prm-machine-check dl div{padding-left:10px;border-left:2px solid #81aa95}.prm-machine-check dt{color:#688074;font-size:9px;font-weight:800;letter-spacing:.08em}.prm-machine-check dd{margin:3px 0 0;color:#173d30;font-weight:750}.prm-machine-check .parse-error{grid-column:1 / -1}.prm-allocation-editor{margin:0 24px 14px;border:1px solid #c5d5ca;border-radius:11px;overflow:hidden;background:#fafdfad1}.prm-allocation-head{padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #c5d5ca;color:#294f40;font-size:11px}.prm-allocation-scroll{max-height:190px;overflow:auto}.prm-allocation-row{display:grid;grid-template-columns:1fr 1.5fr .65fr .7fr;gap:7px;padding:6px 10px;border-bottom:1px solid rgb(193 210 199 / .65)}.prm-allocation-row:last-child{border-bottom:0}.prm-allocation-row input{min-width:0;height:34px;padding:0 9px;border:1px solid #b7c9bd;border-radius:7px;color:#173d30;background:#fff;font-size:11px}.prm-allocation-editor>.parse-error{display:block;padding:9px 14px;border-top:1px solid #e4b8ac;color:#b3261e;font-size:10px;font-weight:750}.prm-manual-toggle{display:flex;align-items:center;gap:8px;color:#294f40;font-weight:750}.prm-manual-toggle input{width:16px;height:16px}.prm-compact-feedback label:not(.prm-manual-toggle){display:flex;flex-direction:column;gap:6px;color:#496458;font-weight:750}.prm-compact-feedback textarea{min-height:58px;resize:vertical;padding:9px 11px;border:1px solid #b7c9bd;border-radius:8px;color:#173d30;background:#fff;font:inherit}@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}.portal-card-locked{cursor:not-allowed;color:#6f7c76;border-color:#5e706733;background:linear-gradient(138deg,#e1e6e2ed,#c7d1cbe6)!important;box-shadow:inset 0 1px #ffffffad,0 8px 20px #23362d17;filter:saturate(.32)}.portal-card-locked:hover{transform:none;border-color:#5e706733;box-shadow:inset 0 1px #ffffffad,0 8px 20px #23362d17}.portal-card-locked .portal-icon,.portal-card-locked .portal-arrow{opacity:.62}.portal-card-locked .portal-copy small{color:#7b817e;font-size:clamp(10px,.82vw,14px);letter-spacing:.03em}@media(max-width:1199px){html,body,#root{max-width:100%;overflow-x:hidden}.portal-page{align-items:start;padding:92px 24px 28px}.portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.portal-card-large{grid-column:span 1;min-height:260px;padding:28px}.portal-card-small{min-height:150px}.production-board-page{overflow-y:auto}.pb-header{align-items:flex-start;flex-wrap:wrap}.pb-header-actions{flex-wrap:wrap}.pb-lines{grid-template-columns:1fr;overflow:visible}.pb-line{height:auto;min-height:760px}.orm-shell .receiving-page-header{align-items:stretch;flex-direction:column}.orm-shell .receiving-heading,.orm-shell .receiving-header-actions{width:100%}.orm-shell .receiving-header-actions{margin-left:0;grid-template-columns:1fr 1fr}.orm-order-trigger{grid-template-columns:repeat(2,minmax(0,1fr)) 44px;gap:12px}.orm-order-trigger>span:nth-child(n){grid-row:auto}.order-chevron{grid-column:3;grid-row:1 / span 3;min-width:40px;min-height:40px;justify-content:center}.material-list,.movement-table,.delivery-overview-table,.delivery-po-matrix,.delivery-note-lines{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.invoice-layout,.finance-archive-grid{height:auto;grid-template-columns:1fr}.invoice-list-stack{height:720px}.invoice-viewer-pane{grid-column:auto;height:560px}.finance-archive-card{height:390px}.archive-table-wrap,.invoice-preview-table{max-width:100%;overflow-x:auto}.settings-tabs{grid-template-columns:1fr 1fr}.account-workspace,.settings-account-main{grid-template-columns:1fr}.account-create-pane{grid-row:auto}.settings-user-list{width:100%;max-height:320px}.price-list{grid-template-columns:1fr 1fr}.printing-note-overlay,.delivery-note-overlay,.invoice-modal-backdrop{padding:12px}.printing-note-dialog,.delivery-note-dialog,.invoice-modal{width:100%;max-width:100%;max-height:calc(100dvh - 24px)}}@media(max-width:767px){.portal-page,.blank-page{padding:86px 14px 18px}.portal-grid{grid-template-columns:1fr;gap:14px}.portal-card-large,.portal-card-small{grid-column:span 1;min-height:164px;padding:20px}.portal-copy strong{white-space:normal}.session-bar{top:10px;width:calc(100% - 28px)}.session-cluster{width:100%;min-width:0}.session-identity{min-width:0;flex:1 1 auto}.session-actions{flex:0 0 auto}.session-actions button{min-width:40px;min-height:40px;padding-inline:8px}.blank-panel{min-height:calc(100dvh - 104px);padding:22px}.production-board-page{padding:0}.pb-shell{padding:10px;border-radius:0}.pb-header{flex-direction:column}.pb-header>div:first-child,.pb-header-actions,.pb-header-action-grid,.pb-header-action-grid>.pb-upload{width:100%}.pb-header-actions{align-items:stretch}.pb-header-action-grid{grid-template-columns:1fr}.pb-header-action-stack{grid-template-columns:1fr 1fr;grid-template-rows:1fr}.pb-line{min-height:760px}.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-day,.pb-day.is-today,.pb-stage-action,.pb-queue-row button{min-height:40px}.pb-modal-layer,.pb-output-layer{padding:8px}.pb-modal{width:100%;max-height:calc(100dvh - 16px);overflow-y:auto;padding:18px}.orm-shell{padding:0}.orm-shell .receiving-main{min-height:100dvh;padding:10px;border-radius:0}.orm-shell .receiving-page-header{padding-inline:0}.orm-shell .receiving-header-actions{grid-template-columns:1fr}.orm-shell .receiving-header-actions>.orm-upload-button{min-height:44px}.orm-shell .receiving-note-stack{grid-template-columns:1fr 1fr;grid-template-rows:none}.orm-order-trigger{grid-template-columns:minmax(0,1fr) 44px;gap:10px 12px;padding:14px 12px 14px 18px}.orm-order-trigger>span:nth-child(n){grid-column:1;grid-row:auto}.order-chevron{grid-column:2;grid-row:1 / span 6}.orm-order-detail{padding:10px}.movement-trigger{grid-template-columns:minmax(0,1fr) 44px;gap:10px;padding:13px 12px}.movement-trigger>span{align-items:flex-start;flex-direction:column;gap:3px}.movement-trigger>svg{justify-self:center}.movement-panel{padding:10px}.printing-form,.finished-form,.arrival-form{grid-template-columns:1fr}.printing-note-subactions button,.movement-trigger,.material-trigger,.delivery-note-record-trigger{touch-action:manipulation}.printing-note-overlay,.delivery-note-overlay,.invoice-modal-backdrop{padding:8px;align-items:stretch}.printing-note-dialog{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.printing-note-dialog>header,.delivery-note-dialog>header{padding:12px}.printing-note-meta,.delivery-note-meta,.final-note .compact-meta{grid-template-columns:1fr;padding:10px 12px}.printing-note-lines{padding:10px;overflow:auto}.printing-tree{min-width:920px}.printing-note-dialog>footer,.delivery-note-dialog>footer,.invoice-modal>footer{position:sticky;bottom:0;z-index:5;padding:10px 12px;flex-wrap:wrap;background:#fcfdfaf7}.printing-note-dialog>footer button,.delivery-note-dialog>footer button,.invoice-modal>footer button{min-height:42px}.delivery-note-dialog,.invoice-modal{max-height:calc(100dvh - 16px);border-radius:12px}.tree-scroll,.delivery-note-lines{max-width:100%;padding-inline:10px;overflow:auto}.delivery-tree,.compact-package-table{min-width:900px}.finance-page{padding:0}.finance-shell{min-height:100dvh;padding:8px;border-radius:0}.finance-heading,.finance-header{width:100%}.finance-header{padding-inline:0}.finance-switcher{margin-inline:0;grid-template-columns:1fr}.finance-switcher>button{min-height:58px}.finance-workspace{min-height:52dvh;margin-inline:0;padding:6px}.invoice-list-stack{height:auto;grid-template-rows:none}.invoice-list-stack>.invoice-pane,.invoice-viewer-pane{height:430px}.invoice-viewer-title{align-items:flex-start;flex-direction:column}.invoice-viewer-title .prm-view-tabs{width:100%;margin-left:0;justify-content:flex-start;flex-wrap:wrap}.invoice-viewer-title .prm-view-tabs button,.invoice-viewer-title .prm-view-tabs a,.invoice-document-actions button{min-height:40px}.archive-report-overlay{padding:0}.archive-report{width:100%;height:100dvh;border-radius:0}.archive-report-toolbar{align-items:flex-start;flex-direction:column}.archive-cover,.archive-invoice-summary{grid-template-columns:1fr}.invoice-modal{height:calc(100dvh - 16px);grid-template-rows:auto auto minmax(0,1fr) auto auto}.invoice-form-grid{grid-template-columns:1fr;padding-inline:10px}.settings-page{padding:0}.settings-shell{padding:10px;border-radius:0}.settings-header{grid-template-columns:auto minmax(0,1fr)}.settings-header aside{display:none}.settings-tabs,.settings-account-main,.account-create-pane form,.password-pane form,.price-list,.data-metrics,.info-pane dl{grid-template-columns:1fr}.settings-tabs button,.settings-pane form button,.account-control>button,.price-list button{min-height:44px}.settings-workspace{min-height:auto;padding:10px}.permission-matrix{overflow-x:auto}.permission-matrix>div{min-width:650px}.auth-page{padding:18px;grid-template-columns:1fr;align-content:center}.auth-intro{display:none}.auth-card{justify-self:center;padding:24px 20px}.auth-card input,.auth-primary,.auth-secondary{min-height:48px}}@media(max-width:767px)and (hover:none){.portal-card:hover,.receiving-main .orm-order-trigger:hover,.receiving-main .movement-trigger:hover,.receiving-main .material-trigger:hover{transform:none}.portal-card:active,.receiving-main .orm-order-trigger:active,.receiving-main .movement-trigger:active,.receiving-main .material-trigger:active{filter:brightness(.97)}}@media(max-width:1199px){.account-overlay,.delivery-history-overlay{padding:12px}.account-panel,.delivery-history-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 24px)}.delivery-history-dialog{height:calc(100dvh - 24px)}.delivery-history-content{min-width:0;overflow:auto}.orm-table,.invoice-preview-table table{min-width:760px}}@media(max-width:767px){.account-overlay,.delivery-history-overlay{padding:8px;align-items:stretch}.account-panel,.delivery-history-dialog{width:100%;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.account-panel{padding:16px}.account-panel header,.delivery-history-dialog>header{align-items:flex-start;gap:10px}.account-create,.account-list article{grid-template-columns:1fr}.delivery-history-content{padding:8px}.delivery-history-content .compact-delivery-sheet{min-width:760px;overflow:visible}.delivery-history-dialog>footer{position:sticky;bottom:0;padding:10px 12px;flex-wrap:wrap;background:#fff}.delivery-history-dialog>footer button{min-height:42px}.printing-preview-meta{grid-template-columns:1fr}.printing-preview{margin:10px;padding:12px}.prm-import-overlay{padding:8px;align-items:stretch}.prm-compact-modal{width:100%;max-height:calc(100dvh - 16px);border-radius:12px}.prm-compact-modal>header,.prm-compact-grid,.prm-compact-modal>footer{padding-inline:14px}.prm-compact-feedback,.prm-machine-check,.prm-allocation-editor{margin-inline:14px}.prm-machine-check,.prm-machine-check dl{grid-template-columns:1fr}.prm-compact-modal>footer{position:sticky;bottom:0;z-index:5;flex-wrap:wrap;background:#fafcf9f7}.prm-compact-modal>footer button{min-height:42px}}
