.sort-display-tabs{display:flex;gap:5px;border-bottom:1px solid #d7e1ec;margin-bottom:6px;flex:none}.fleet-wms .sort-display-tabs button{min-height:29px;font-size:12px;padding:4px 12px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#61788e}.fleet-wms .sort-display-tabs button.active{color:#2167b8;border-color:#2167b8;background:#eef5fd}
#order-process{display:flex;flex-direction:column;gap:6px;min-height:0;flex:1;overflow:auto}#order-process[hidden]{display:none}.op-toolbar{display:flex;align-items:center;gap:10px;flex:none;font-size:11px}.op-toolbar label{display:flex;flex-direction:row;align-items:center;gap:7px}.fleet-wms .op-toolbar select{width:180px;height:27px;margin:0;padding:2px 5px;font-size:11px}.op-toolbar span{color:#288a77;margin-left:auto}.fleet-wms .op-toolbar button{font-size:11px;min-height:27px;padding:3px 7px}#op-order-title{font-size:12px;font-weight:600;color:#2c4e73}#op-stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;list-style:none;margin:0;padding:0}#op-stages li{padding:6px;border:1px solid #dce4ed;border-top:3px solid #cad5e2;background:#f7f9fc;display:grid;gap:3px;min-width:0}#op-stages b{font-size:12px}#op-stages small,#op-stages span{font-size:10px;color:#75869b}#op-stages .done{border-top-color:#359c81;background:#edf8f3}#op-stages .active{border-top-color:#387cc1;background:#eef5fe}#op-stages .blocked{border-top-color:#cc783c;background:#fff4e7}#op-stages .cancelled{opacity:.6}#op-hint{font-size:10px;color:#738498}#op-hint.error{color:#a44130}
.op-machines{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none}.op-machine{border:1px solid #d5e1ee;border-top:3px solid #8ba5bd;border-radius:4px;background:white;min-width:0;padding:8px}.op-machine.running{border-top-color:#2677bc}.op-machine.fault{border-top-color:#c7563f}.op-machine-head{display:flex;justify-content:space-between;align-items:center;font-size:13px}.op-machine-head span{font-size:10px;color:#238d73}.op-racks{font-size:10px;color:#788ba0;margin-top:2px}.op-phase{font-size:12px;font-weight:600;color:#245d94;padding:5px 0;min-height:27px}.op-canvas{height:150px;position:relative;background:#f6f9fd;border-radius:3px}.op-canvas canvas{width:100%;height:100%;display:block}.op-axes{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:5px 0}.op-axes>div{display:grid;gap:1px;border-right:1px solid #e2e9f1;min-width:0}.op-axes b{font-size:10px;color:#3777b4}.op-axes strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.op-axes small,.op-axes span{font-size:9px;font-weight:400;color:#7a8b9e}.op-load,.op-route{font-size:10px;overflow-wrap:anywhere;line-height:1.6}.op-load{color:#a4742a}.op-route{color:#607992;min-height:32px}.op-steps{display:grid;grid-template-columns:1fr 1fr;gap:4px 5px;list-style:none;padding:6px 0 0;margin:5px 0 0;border-top:1px solid #e4eaf2}.op-steps li{font-size:10px;display:flex;align-items:center;gap:5px;color:#8a98a8;min-height:16px}.op-steps i{font-style:normal;font-size:9px;border:1px solid #ccd7e3;border-radius:50%;width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;flex:none}.op-steps .done{color:#26876d}.op-steps .done i{border-color:#82bba9;background:#eaf6f1}.op-steps .observed{color:#658daa}.op-steps .active{color:#1268b5;font-weight:700;background:#eaf3ff}.op-steps .active i{color:white;background:#287bc5;border-color:#287bc5}.op-steps .blocked,.op-steps .stale{color:#b95539}.op-events{font-size:10px;margin-top:6px;color:#6c839c}.op-events summary{cursor:pointer}.op-events>div{padding-top:5px;line-height:1.8}.op-stale .op-phase,.op-machine.stale .op-phase{color:#a15d3b}.op-machine.stale .op-canvas{opacity:.5}.op-machine.stale .op-steps .active{background:#edf0f3;color:#8997a6}.op-bottom{border-top:1px solid #dce5ee;padding-top:5px;min-height:62px}.op-bottom h3{font-size:12px!important;margin:0 0 5px!important;display:flex;gap:12px;align-items:baseline}.op-bottom h3 small{font-size:10px;color:#7b8c9e;font-weight:400}#op-frames{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.fleet-wms .op-frame{display:grid;text-align:left;gap:3px;min-height:0;padding:5px 7px;border:1px solid #d9e4ef;background:white;overflow-wrap:anywhere;font-size:10px}.op-frame span,.op-frame small{font-size:10px;color:#75879b}.op-frame.moving,.op-frame.returning{border-left:3px solid #3888cd}.op-frame.returned{border-left:3px solid #3e9c84}.op-frame.review{border-left:3px solid #c66640}.op-empty{font-size:12px;color:#8291a4;padding:8px}
@media(min-width:721px) and (max-height:800px){.op-canvas{height:113px}.op-machine{padding:6px}.op-steps{gap:2px 4px}.op-toolbar{gap:5px}#op-stages li{padding:4px}.op-phase{padding:3px 0;min-height:23px}.op-route{min-height:30px}.op-bottom{padding-top:4px}}
.fleet-wms .sort-display-tabs{height:30px;min-height:30px;align-items:stretch}.fleet-wms .op-toolbar label{margin:0;flex-direction:row}.fleet-wms .sort-borrow{flex-direction:row;align-items:center;margin:0}.op-stages,.op-machines{flex-shrink:0}.op-steps li{margin:0}
.fleet-wms .op-events{padding:0;border:0;margin:4px 0 0;border-radius:0;background:transparent}.fleet-wms .op-events summary{font-size:10px;padding:0;line-height:14px}
@media(min-width:721px) and (max-height:800px){#order-process{gap:4px}#op-hint{display:none}#op-order-title{font-size:11px;line-height:15px}#op-stages li{gap:2px}#op-stages span{font-size:9px;line-height:11px}#op-stages small{line-height:12px}#op-stages b{font-size:11px;line-height:14px}.op-canvas{height:96px}.op-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px 2px;padding-top:4px;margin-top:4px}.op-steps li{flex-direction:column;gap:1px;font-size:9px;line-height:12px;white-space:nowrap}.op-steps i{width:12px;height:12px;font-size:8px}.op-axes>div{gap:0}.op-axes b{font-size:9px;line-height:11px}.op-axes strong{font-size:12px;line-height:16px}.op-axes span{line-height:11px}.op-load,.op-route{line-height:14px}.op-route{min-height:28px}.op-racks{line-height:12px}.op-machine-head{line-height:16px}}
@media(max-width:1100px){.op-toolbar{flex-wrap:wrap}.op-toolbar span{margin-left:0}.op-machine-head{font-size:12px}.op-machine-head span{font-size:9px}.op-stages small{overflow-wrap:anywhere}.op-axes strong{font-size:11px}.op-axes strong small{display:none}.op-steps li{font-size:9px;gap:3px}.op-steps{column-gap:2px}}
@media(max-width:720px){#order-process{overflow:visible;flex:none}.op-machines{grid-template-columns:1fr}.op-canvas{height:185px}.op-axes strong{font-size:17px}.op-steps li{font-size:12px}#op-stages{grid-template-columns:repeat(2,minmax(0,1fr))}#op-frames{grid-template-columns:1fr}.op-bottom h3{flex-wrap:wrap}.op-toolbar label{width:100%}.fleet-wms .op-toolbar select{flex:1}.op-racks,.op-load,.op-route{font-size:12px}.op-route{min-height:0}.op-machine{padding:10px}.op-steps{gap:6px}.sort-display-tabs{position:sticky;top:0;z-index:2;background:#f3f6fa}}
@media(min-width:721px) and (max-height:800px){.op-route{min-height:14px}.op-load{font-size:9px}.op-machine{padding:5px}.op-axes{margin:4px 0}.op-bottom{margin-top:4px}}
.sort-head .sort-display-tabs{margin:0}.sort-head .sort-display-tabs button{white-space:nowrap}
@media(max-width:720px){.op-axes strong small{display:inline}}
@media(max-width:720px){.sort-head{flex-wrap:wrap}.sort-head>span{font-size:10px}.sort-head .sort-display-tabs{position:static;width:100%}}
@media(min-width:1100px){.zone-sorting.flexible-ports .sort-bays{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,49px);grid-auto-flow:column}.zone-sorting.flexible-ports .sort-port{grid-template-columns:1fr;gap:0;line-height:12px;min-width:0}.zone-sorting.flexible-ports .sort-port span{text-align:left;font-size:9px}.zone-sorting.flexible-ports .sort-port b{font-size:10px}.zone-sorting.flexible-ports .sort-port small{font-size:9px}.zone-sorting .sort-zone{padding:6px;gap:2px}}
@media(min-width:1100px) and (max-height:800px){.zone-sorting.flexible-ports .sort-bays{grid-template-rows:repeat(4,43px)}.zone-sorting .sort-zone{grid-template-columns:auto 1fr;font-size:11px}.zone-sorting .sort-zone small{grid-column:1/-1}.zone-sorting .sort-zone span{text-align:right}}
