@media screen {
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace{min-width:0}
 html[data-order-workspace] #orderWorkspace [hidden]{display:none!important}
 html[data-order-workspace] .order-work-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;flex-wrap:wrap}
 html[data-order-workspace] .order-work-heading h1{font-size:25px;margin:0 0 6px}
 html[data-order-workspace] .order-work-heading p{font-size:14px;color:var(--muted);margin:0;line-height:1.6}
 html[data-order-workspace] .order-kind-tabs{display:flex;gap:6px;background:var(--erp-raised);padding:5px;border:1px solid var(--line);border-radius:12px}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-kind-tabs button{min-height:44px;min-width:132px;padding:10px 20px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink2);font:inherit;font-weight:800;transform:none!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-kind-tabs [aria-selected=true]{background:var(--erp-selected);color:#fff;box-shadow:inset 0 -3px #eab761}
 html[data-order-workspace] .order-stage{display:grid;grid-template-columns:240px minmax(0,1fr);gap:12px;align-items:start}
 html[data-order-workspace] .order-summary{grid-column:1/-1}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .pagehd{display:block!important;margin:0!important}
 html[data-order-workspace] .order-summary .pagehd>div:first-child{display:none}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%;margin:0}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi{width:100%!important;min-width:0!important;height:auto!important;min-height:84px!important;padding:12px 16px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-content:center;align-items:center;border-radius:12px!important}
 html[data-order-workspace] .order-summary .kpi::before,html[data-order-workspace] .order-summary .kpi::after{display:none!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi .v{font-size:22px!important;line-height:1.3!important;margin:0!important;white-space:nowrap}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi .s{grid-column:1/-1;font-size:12px!important;margin:0!important;line-height:1.4}
 html[data-order-workspace] .order-input,html[data-order-workspace] .order-results{min-width:0}
 html[data-order-workspace] .order-kind-banner,html[data-order-workspace] .order-duplicate-reset{display:none!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input>.card{border-radius:14px!important;overflow:visible!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .cardhd{padding:16px!important;display:flex!important;gap:8px;align-items:flex-start!important;flex-wrap:wrap!important}
 html[data-order-workspace] .order-input .cardhd .d{font-size:13px;line-height:1.5}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-plan-fields{display:grid!important;grid-template-columns:minmax(70px,1fr) auto auto;gap:6px!important;padding:0 12px!important}
 html[data-order-workspace] .order-plan-fields>:is(.plan-board-select,.el-combo,.plan-board-field){grid-column:1/-1}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-plan-fields :is(input,select,.el-combo){width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-plan-fields>button{min-height:42px!important;padding-left:12px!important;padding-right:12px!important;background:var(--erp-primary)!important;color:#fff!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .chips{padding:12px 16px!important;display:flex;flex-direction:column;gap:8px}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .pchip{display:flex;width:100%;box-sizing:border-box;gap:8px;white-space:normal;overflow-wrap:anywhere;padding:10px!important;line-height:1.5}
 html[data-order-workspace] .order-input .pchip>b,html[data-order-workspace] .order-input .pchip>i{flex-shrink:0}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .el-order-unified{padding:16px!important;text-align:left!important}
 html[data-order-workspace] .order-input .eu-title,html[data-order-workspace] .order-input .eu-sub{text-align:left!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .eu-actions{display:flex!important;align-items:stretch!important;flex-direction:column!important;gap:8px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-input .eu-main{width:100%!important;background:var(--erp-primary)!important;color:#fff!important;box-shadow:none!important}
 html[data-order-workspace] .order-add-methods summary,html[data-order-workspace] .order-result-more summary{cursor:pointer;font-size:13px;font-weight:750;color:var(--ink2);padding:10px 0}
 html[data-order-workspace] .order-add-methods button{margin-top:6px}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-results>.card{border-radius:14px!important;overflow:visible!important;margin:0!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-results .cardhd{display:block!important;padding:16px!important}
 html[data-order-workspace] .order-results .cardhd .d{display:none}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-result-tools{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin-top:12px!important;padding:0!important;border:0!important;background:transparent!important;align-items:center!important}
 html[data-order-workspace] .order-result-modes{display:flex;gap:4px;flex-wrap:wrap;background:var(--erp-raised);border-radius:9px;padding:4px}
 html[data-order-workspace] .order-result-search{display:flex;align-items:center;gap:6px;flex:1;min-width:220px}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-result-search input{width:100%!important;min-width:100px!important;flex:1}
 html[data-order-workspace] .order-result-search button{white-space:nowrap}
 html[data-order-workspace] .order-result-more{flex-basis:100%;border-top:1px solid var(--line)}
 html[data-order-workspace] .order-result-more>div{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:8px}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-results .track{max-height:calc(100dvh - var(--erp-nav-h,80px) - 270px)!important;min-height:240px;overflow:auto!important;border-top:1px solid var(--line)}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-results .track>table{min-width:1050px!important;width:100%!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-submit{position:sticky;bottom:12px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 16px;background:var(--panel);border:1px solid var(--line2);border-radius:0 0 14px 14px;box-shadow:0 -4px 12px #2026240a}
 html[data-order-workspace] .order-submit-total{font-size:14px;font-weight:750;line-height:1.5;color:var(--ink)}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-create{margin-left:auto;min-height:44px;padding:10px 20px;border:1px solid var(--erp-primary)!important;border-radius:9px;background:var(--erp-primary)!important;color:white!important;font:inherit;font-weight:800;cursor:pointer}
 html[data-order-workspace] .order-result-empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:20px;box-sizing:border-box}
 html[data-order-workspace] .order-result-empty p{font-size:14px;color:var(--muted);line-height:1.7;margin:0}
 html[data-order-workspace] .order-duplicate-reset+.hlp{display:none!important}
 html[data-order-workspace] .order-plan-fields>.hlp{align-self:center;justify-self:center}
 html[data-order-workspace] #orderWorkspace .cardhd{border-radius:14px 14px 0 0}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #assyTbl .track>table{min-width:1280px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #assyTbl th.cPart{width:240px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace :is(#smdHead,#assyHead,#smdTbl,#assyTbl) :is([id="kOrder"],td.neg,.ordq:not(.zero),.ordin:not(.zero),tfoot .cOrd){color:var(--erp-red)!important;-webkit-text-fill-color:currentColor!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi[hidden]{display:none!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl .order-quantity-field{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;vertical-align:middle}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl .order-quantity-field .ordin{width:76px!important;min-width:76px!important;max-width:76px!important;flex:0 0 76px;padding:0 4px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl .order-quantity-unit{display:inline-block;min-width:20px;font-size:13px;font-weight:750;line-height:1;white-space:nowrap;color:var(--ink2)}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl :is(th,td).cOrd{width:118px!important;padding-left:6px!important;padding-right:6px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cNo{width:44px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cCat{width:104px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cStk{width:84px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cNeed{width:84px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cAft{width:92px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl .track>table{table-layout:auto!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl :is(th,td):is(.cNo,.cCat,.cSpec,.cPkg,.cStk,.cNeed,.cAft,.cPrc,.cAmt,.cVen){white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl .cCat .tag{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:none!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cPkg{width:210px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace #smdTbl th.cSpec{width:170px!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body .ndl.order-model-options{box-sizing:border-box;overflow-x:hidden}
 html[data-order-workspace]:is(html,#erp-pc-theme) body .ndl.order-model-options .it{font-size:12px!important;font-weight:600!important;line-height:1.5!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;overflow:visible!important;padding:10px 12px!important;min-height:40px;box-sizing:border-box}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .plan-board-select{font-size:12px!important;font-weight:600!important}
 html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace input.plan-board-select{padding-left:8px!important;padding-right:8px!important}
 @media(max-width:1100px){html[data-order-workspace] .order-stage{grid-template-columns:240px minmax(0,1fr)}html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi{display:flex!important;align-items:flex-start;gap:4px!important;padding:10px!important}html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpi .v{font-size:20px!important}}
 @media(max-width:780px){html[data-order-workspace] .order-stage{grid-template-columns:minmax(0,1fr)}html[data-order-workspace] .order-work-heading{align-items:stretch;flex-direction:column}html[data-order-workspace] .order-kind-tabs button{flex:1;min-width:0!important}html[data-order-workspace]:is(html,#erp-pc-theme) body #orderWorkspace .order-summary .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
}
@media print{.order-work-heading,.order-submit,.order-result-empty{display:none!important}#orderWorkspace .order-stage[hidden]{display:none!important}}
