*{box-sizing:border-box}body{margin:0;padding:0}#root{min-height:100vh}.ant-table-tbody>tr.ant-table-row:hover>td{background:#e6f4ff!important}.sticky-table-page,.stage-workspace{display:flex;flex-direction:column;height:calc(100vh - 64px);overflow:hidden;margin:-24px}@media(max-width:991px){.sticky-table-page,.stage-workspace{margin:-12px}}.stage-workspace .stage-header{flex-shrink:0;padding:12px 16px 0;background:#fff;border-bottom:1px solid #f0f0f0}.stage-workspace .stage-header .ant-tabs-nav{margin-bottom:0}.stage-workspace .stage-header .ant-tabs-nav:before{border-bottom:none}.stage-workspace .stage-body{flex:1;min-height:0;display:flex;flex-direction:column}.stage-workspace .stage-body>.sticky-table-page{height:auto;flex:1;min-height:0;margin:0}.stage-workspace .stage-body>*:not(.sticky-table-page):not(.routing-workspace){flex:1;min-height:0;overflow:auto;padding:16px 16px 8px}.sticky-table-page .page-header{flex-shrink:0;padding:16px 16px 8px}.page-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px}.sticky-table-page .table-container{flex:1;min-height:0;padding:0 16px 8px;display:flex;flex-direction:column}.sticky-table-page .table-container .ant-table-wrapper{flex:1;min-height:0;display:flex;flex-direction:column}.sticky-table-page .table-container .ant-table-wrapper .ant-spin-nested-loading,.sticky-table-page .table-container .ant-table-wrapper .ant-spin-container,.sticky-table-page .table-container .ant-table-wrapper .ant-table,.sticky-table-page .table-container .ant-table-wrapper .ant-table-container{display:flex;flex-direction:column;flex:1;min-height:0}.sticky-table-page .table-container .ant-table-body{flex:1;max-height:none!important;overflow-y:auto!important}.routing-workspace{display:flex;flex-direction:column;height:calc(100vh - 64px);overflow:hidden;margin:-24px;padding:16px 16px 12px}.routing-workspace>*:not(.routing-columns){flex-shrink:0}.routing-columns{flex:1;min-height:0;display:flex;gap:16px;margin-top:8px}.routing-left{width:400px;flex-shrink:0;min-height:0;display:flex;flex-direction:column;gap:12px}.routing-right{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:12px}.routing-right>.routing-plan-header{flex-shrink:0}.routing-scroll-card{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;overflow:hidden}.routing-scroll-card>.ant-card-head{flex-shrink:0}.routing-scroll-card>.ant-card-body{flex:1;min-height:0;overflow-y:auto}.routing-machines-card{max-height:55%;min-height:150px}.routing-unplanned-card{max-height:40%}.routing-queue-card{flex:1 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.routing-queue-card>.ant-card-head{flex-shrink:0}.routing-queue-card>.ant-card-body{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.routing-queue-list{flex:1;min-height:0;overflow-y:auto}@media(max-width:991px){.routing-workspace{height:auto;overflow:visible;margin:-12px}.routing-columns{flex-direction:column}.routing-left{width:100%}}.stage-workspace .stage-body>.routing-workspace{height:auto;flex:1;min-height:0;margin:0}@media(max-width:991px){.stage-workspace .stage-body>.routing-workspace{overflow:auto}}.routing-chips .ant-radio-button-wrapper{border-radius:6px;border-inline-start-width:1px;margin-inline-start:0}.routing-chips .ant-radio-button-wrapper:before{display:none}.zagotovka-table .ant-table-wrapper .ant-table.ant-table-small .ant-table-thead>tr>th,.zagotovka-table .ant-table-wrapper .ant-table.ant-table-small .ant-table-tbody>tr>td{padding-inline:6px}.zagotovka-table .ant-table-tbody .ant-tag{white-space:normal;line-height:1.35}
