/* Employee dashboard redesign: presentation only, loaded after the legacy styles. */
.employee-mode{background:#eef2f3}
.employee-mode main{overflow-x:hidden;padding:20px clamp(14px,2vw,32px) 42px;background:#eef2f3}
.employee-ui-v08,.employee-ui-v08 *{box-sizing:border-box}
.employee-ui-v08{max-width:1640px;margin:0 auto;color:#1f2c32;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.employee-ui-v08.hidden,.employee-ui-v08 .hidden{display:none!important}
.employee-ui-v08 button,.employee-ui-v08 input,.employee-ui-v08 select{font:inherit}
.employee-ui-v08 button{border-radius:9px;box-shadow:none;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.employee-ui-v08 button:not(:disabled):active{transform:translateY(1px)}
.employee-ui-v08 input,.employee-ui-v08 select{min-width:0;border:1px solid #d7e0e3;border-radius:9px;background:#f8fafb;color:#213139}
.employee-ui-v08 input:focus,.employee-ui-v08 select:focus{outline:3px solid #2f7d8f1c;border-color:#5f98a5}

.employee-ui-v08 .employee-header{order:1;min-height:52px;padding:0 2px 14px;border-bottom:1px solid #dce3e5}
.employee-ui-v08 .employee-brand{font-size:18px;letter-spacing:-.025em}
.employee-ui-v08 .employee-header p{font-size:12px}
.employee-ui-v08 .employee-profile{gap:10px}
.employee-ui-v08 .employee-profile>div{padding-right:10px;border-right:1px solid #dce3e5}
.employee-ui-v08 .employee-logout{background:#e1e7e9;color:#4d5d64}
.employee-ui-v08 .employee-welcome{order:2;grid-template-columns:minmax(0,1fr) auto;gap:20px;margin-top:14px;padding:18px 20px;border:1px solid #dce4e6;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(29,48,56,.055)}
.employee-ui-v08 .employee-welcome h1{margin:2px 0 3px;font-size:clamp(23px,2vw,31px);line-height:1.12}
.employee-ui-v08 .employee-welcome p{font-size:13px}
.employee-ui-v08 .employee-shift{gap:12px;padding:8px 8px 8px 13px;border:1px solid #e0e6e8;border-radius:12px;background:#f5f8f8}
.employee-ui-v08 .employee-shift>div{min-width:166px}
.employee-ui-v08 .employee-shift button{min-width:120px;min-height:38px}
.employee-ui-v08 .multirole-switch{order:3;margin:10px 0 0;padding:8px 12px;border-color:#dce4e6;border-radius:11px}

.employee-ui-v08 .employee-panel,.employee-ui-v08 .multirole-card{border:1px solid #dce4e6;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(29,48,56,.045)}
.employee-ui-v08 .employee-panel{padding:18px}
.employee-ui-v08 .employee-panel-head{gap:14px;margin-bottom:13px}
.employee-ui-v08 .employee-panel-head span,.employee-ui-v08 .multirole-card header span,.employee-ui-v08 .cutting-browser-head span,.employee-ui-v08 .cutting-preview-kicker{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}
.employee-ui-v08 .employee-panel-head h2{margin-top:3px;font-size:18px;line-height:1.2}
.employee-ui-v08 .employee-refresh{border:1px solid #d8e1e4;background:#f2f5f6;color:#53646b}

.employee-ui-v08 .employee-top-grid{order:4;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(410px,.9fr);gap:12px;align-items:stretch;margin-top:12px}
.employee-ui-v08 .employee-warehouse-stack{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}
.employee-ui-v08 .employee-top-grid.packer-top-grid{grid-template-columns:minmax(0,1.6fr) minmax(410px,.9fr)}
.employee-ui-v08 .employee-top-grid.packer-top-grid .employee-warehouse-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
.employee-ui-v08 .employee-sheet-stock,.employee-ui-v08 .employee-box-stock,.employee-ui-v08 .employee-personal-statistics{min-width:0;height:100%;margin:0}
.employee-ui-v08.employee-metal-workstation>.employee-warehouse-stack{order:3;width:100%;margin-top:12px}
.employee-ui-v08.employee-metal-workstation>.multirole-switch{order:4}
.employee-ui-v08.employee-metal-workstation>.employee-top-grid{order:5;grid-template-columns:1fr}
.employee-ui-v08.employee-metal-workstation .employee-personal-statistics .employee-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.employee-ui-v08[data-role="logist"] .employee-sheet-stock-panel{display:block!important}
.employee-ui-v08[data-role="bender"]:not(.employee-has-raw-stock) .employee-warehouse-stack{display:none}
.employee-ui-v08[data-role="bender"]:not(.employee-has-raw-stock) .employee-top-grid{grid-template-columns:1fr}
.employee-ui-v08[data-role="bender"].employee-has-raw-stock .employee-sheet-stock-panel{display:block!important}

.employee-ui-v08 .raw-stock-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.employee-ui-v08 .raw-stock-group{min-width:0;padding:0;border:1px solid #e0e6e8;border-radius:11px;background:#f8fafb;overflow:hidden}
.employee-ui-v08 .raw-stock-group:only-child{grid-column:1/-1}
.employee-ui-v08 .raw-stock-group header{padding:9px 11px;border-bottom:1px solid #dde5e7;background:#f2f6f7}
.employee-ui-v08 .raw-stock-group header b{font-size:11px}
.employee-ui-v08 .raw-stock-group header span{min-width:21px;height:21px;background:#dce8eb;color:#356d79;font-size:10px}
.employee-ui-v08 .raw-stock-columns,.employee-ui-v08 .raw-stock-row{display:grid!important;grid-template-columns:minmax(0,1fr) 100px 98px;align-items:center;gap:8px}
.employee-ui-v08 .raw-stock-columns{padding:6px 11px!important;border-bottom:1px solid #e5eaec!important;color:#859096;font-size:8px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.employee-ui-v08 .raw-stock-columns span:nth-child(n+2){text-align:right}
.employee-ui-v08 .raw-stock-row{padding:8px 11px!important;border-bottom:1px solid #e7ecee!important}
.employee-ui-v08 .raw-stock-row:last-child{border-bottom:0!important}
.employee-ui-v08 button.raw-stock-clickable{width:100%;margin:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .16s ease,box-shadow .16s ease}
.employee-ui-v08 button.raw-stock-clickable:hover{background:#edf5f6}
.employee-ui-v08 button.raw-stock-clickable:focus-visible{position:relative;z-index:1;outline:2px solid #2f7d8f;outline-offset:-2px}
.employee-ui-v08 .raw-stock-row>span,.employee-ui-v08 .raw-stock-row>span small{min-width:0}
.employee-ui-v08 .raw-stock-row>span b{font-size:11px}
.employee-ui-v08 .raw-stock-row>span small{margin-top:2px;font-size:8px}
.employee-ui-v08 .raw-stock-row>strong{font-size:11px!important;text-align:right}
.employee-ui-v08 .raw-stock-state{display:grid;justify-items:end;gap:1px;font-style:normal}
.employee-ui-v08 .raw-stock-state b{font-size:10px}
.employee-ui-v08 .raw-stock-state small{font-size:8px!important}
.employee-ui-v08 .raw-stock-state.good b{color:#2f7958}.employee-ui-v08 .raw-stock-state.warning b{color:#a97713}.employee-ui-v08 .raw-stock-state.danger b{color:#b54f43}

.employee-ui-v08 .employee-personal-statistics{display:flex;flex-direction:column}
.employee-ui-v08 .employee-stats-head{align-items:flex-end}
.employee-ui-v08 .employee-stats-head label{display:grid;gap:4px;color:#7b888e;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.employee-ui-v08 .employee-stats-head select{min-height:34px;padding:6px 28px 6px 9px;font-size:11px}
.employee-ui-v08 .employee-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;order:initial}
.employee-ui-v08 .employee-kpi{position:relative;min-width:0;min-height:108px;padding:14px;border:1px solid #e0e6e8;border-radius:11px;background:#f7f9fa}
.employee-ui-v08 .employee-kpi.primary{border-color:#274751;background:#274751}
.employee-ui-v08 .employee-kpi span{font-size:10px;font-weight:700}
.employee-ui-v08 .employee-kpi b{margin:5px 0;font-size:26px}
.employee-ui-v08 .employee-kpi small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}
.employee-ui-v08 .employee-kpi-change{position:absolute;top:12px;right:12px;padding:3px 6px;border-radius:12px;background:#e4ebed;color:#6d7a80;font-size:9px;font-style:normal;font-weight:800}
.employee-ui-v08 .employee-kpi-change.is-good{background:#dceee4;color:#2e7854}.employee-ui-v08 .employee-kpi-change.is-bad{background:#f4dfdc;color:#a3483d}
.employee-ui-v08 .employee-stats-comparison{display:flex;align-items:center;gap:8px;margin-top:auto;padding:10px 2px 0;color:#7c888e;font-size:9px}
.employee-ui-v08 .employee-stats-comparison span b{margin-left:3px;color:#27383f}
.employee-ui-v08 .employee-stats-comparison>i{width:1px;height:14px;background:#dbe3e5}
.employee-ui-v08 .employee-stats-comparison>strong{margin-left:auto}
.employee-ui-v08 .employee-stats-comparison .employee-kpi-change{position:static;display:inline-block}
.employee-ui-v08 .employee-stats-extended{display:grid;grid-template-columns:minmax(140px,.38fr) minmax(0,1fr);gap:8px;margin-top:9px}
.employee-ui-v08 .employee-sheet-total{display:grid;align-content:center;min-height:95px;padding:12px;border:1px solid #d5e4e7;border-radius:10px;background:#edf5f6}
.employee-ui-v08 .employee-sheet-total span{color:#597178;font-size:9px;font-weight:800;text-transform:uppercase}.employee-ui-v08 .employee-sheet-total b{margin:3px 0;color:#245f6d;font-size:28px}.employee-ui-v08 .employee-sheet-total small{color:#7b8a90;font-size:8px}
.employee-ui-v08 .employee-stat-articles{min-width:0;border:1px solid #e0e6e8;border-radius:10px;background:#f8fafb;overflow:hidden}.employee-ui-v08 .employee-stat-articles:only-child{grid-column:1/-1}
.employee-ui-v08 .employee-stat-articles>header{display:flex;justify-content:space-between;padding:8px 10px;border-bottom:1px solid #e1e7e9;font-size:9px}.employee-ui-v08 .employee-stat-articles>header span{min-width:20px;padding:2px 6px;border-radius:10px;background:#dce9ec;color:#326c79;text-align:center}
.employee-ui-v08 .employee-stat-articles>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:130px;padding:6px;overflow:auto}
.employee-ui-v08 .employee-stat-article{display:flex;justify-content:space-between;gap:8px;min-width:0;padding:7px 8px;border-radius:7px;background:#fff}.employee-ui-v08 .employee-stat-article span{min-width:0}.employee-ui-v08 .employee-stat-article b,.employee-ui-v08 .employee-stat-article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-ui-v08 .employee-stat-article b{font-size:9px}.employee-ui-v08 .employee-stat-article small{color:#879298;font-size:7px}.employee-ui-v08 .employee-stat-article>strong{flex:0 0 auto;color:#2b7383;font-size:9px;text-align:right}

.employee-ui-v08 .employee-grid-main{order:5;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
.employee-ui-v08 .employee-stage-queue{order:5;margin-top:12px}
.employee-ui-v08 .multirole-workspace{order:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 0}
.employee-ui-v08 .employee-production-needs{order:6;margin-top:12px}
.employee-ui-v08 .employee-tasks-panel{order:7;margin-top:12px}
.employee-ui-v08 .employee-shipping-panel{order:8;margin-top:12px}
.employee-ui-v08 .employee-route-stock{order:9;margin-top:12px}
.employee-ui-v08 .employee-dashboard-lower{order:10;margin-top:12px}
.employee-ui-v08 .employee-grid-main.hidden,.employee-ui-v08 .employee-stage-queue.hidden,.employee-ui-v08 .multirole-workspace.hidden{display:none!important}

.employee-ui-v08 .employee-production .employee-form{grid-template-columns:minmax(150px,.55fr) minmax(240px,1fr) minmax(210px,.8fr) minmax(220px,1fr) auto;align-items:end;gap:8px}
.employee-ui-v08 .employee-production .employee-form>#employeeLayoutWrap{grid-column:1/-1}
.employee-ui-v08 .employee-layout-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;overflow:visible;padding:0}
.employee-ui-v08 .employee-layout-controls{display:grid;grid-template-columns:minmax(260px,1.5fr) 120px repeat(4,minmax(140px,auto));align-items:end;gap:8px;min-width:0;padding:10px;border:1px solid #dce4e6;border-radius:11px;background:#f5f8f8}
.employee-ui-v08 .employee-operation-field{min-width:0}
.employee-ui-v08 .employee-layout-controls input,.employee-ui-v08 .employee-layout-controls select,.employee-ui-v08 .employee-layout-controls button{width:100%;min-height:40px}
.employee-ui-v08 .employee-layout-controls button,.employee-ui-v08 .employee-layout-controls button:first-of-type{grid-column:auto;white-space:normal}
.employee-ui-v08 .employee-layout-controls button:first-of-type{background:#2d788a;color:#fff}
.employee-ui-v08 .employee-layout-execution-summary{display:flex;flex-wrap:wrap;gap:7px;padding:0 2px}
.employee-ui-v08 .employee-layout-execution-summary span{padding:5px 8px;border:1px solid #dce4e6;border-radius:8px;background:#f8fafb;color:#6b7a81;font-size:9px}
.employee-ui-v08 .employee-layout-execution-summary b{color:#26383f}
.employee-ui-v08 .employee-layout-stats{display:block;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:visible}
.employee-ui-v08 .employee-layout-form{grid-template-columns:minmax(220px,.8fr) minmax(220px,.8fr) minmax(0,1.6fr);gap:8px}
.employee-ui-v08 .employee-creation-tools{order:5;margin-top:12px}
.employee-ui-v08 .employee-creation-tools>.employee-panel-head{margin-bottom:12px}
.employee-ui-v08 .employee-creation-tools .employee-layout-form{padding:0;border:0;background:transparent}
.employee-ui-v08 .employee-article-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;align-items:end}
.employee-ui-v08 .employee-article-form label{display:grid;gap:5px;min-width:0;color:#68787f;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.employee-ui-v08 .employee-article-form input,.employee-ui-v08 .employee-article-form select{width:100%;min-height:40px;padding:8px 10px;font-size:11px;text-transform:none}
.employee-ui-v08 .employee-article-form .wide{grid-column:span 2}
.employee-ui-v08 .employee-article-group-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end;min-width:0}
.employee-ui-v08 .employee-article-group-field label{min-width:0}.employee-ui-v08 .employee-article-group-field button{min-height:40px;padding-inline:10px}
.employee-ui-v08 .employee-article-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:230px;padding:8px;overflow:auto;border:1px solid #dde6e8;border-radius:10px;background:#f7f9fa}
.employee-ui-v08 .employee-article-list-head{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;padding:2px 3px 5px;color:#66777e;font-size:10px}
.employee-ui-v08 .employee-article-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;min-width:0}.employee-ui-v08 .employee-article-item>button:first-child{display:flex;justify-content:space-between;gap:8px;min-width:0;padding:8px;border:1px solid #e0e7e9;border-radius:8px;background:#fff;color:#34484f;text-align:left}.employee-ui-v08 .employee-article-item span,.employee-ui-v08 .employee-article-item small{display:block;min-width:0}.employee-ui-v08 .employee-article-item b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.employee-ui-v08 .employee-article-item small{color:#859197;font-size:8px}.employee-ui-v08 .employee-article-item strong{color:#2f7889;font-size:9px}.employee-ui-v08 .employee-article-delete{min-height:100%;padding:6px;border:1px solid #f0cccc;background:#fff7f7;color:#a94848;font-size:8px}
.employee-ui-v08 .employee-article-save{grid-column:1/-1;min-height:40px;background:#2d788a;color:#fff}
.employee-ui-v08 .employee-metal-admin-actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}
.employee-ui-v08 .employee-metal-admin-actions button{min-height:34px;border:1px solid #d7e0e3;background:#f2f6f7;color:#345d67}
.employee-ui-v08 .employee-metal-admin-actions .employee-danger-action{border-color:#efcaca;background:#fff7f7;color:#a94444}

.employee-ui-v08 .employee-cutting-browser{border:1px solid #dce4e6;border-radius:12px;background:#fff;overflow:hidden}
.employee-ui-v08 .cutting-browser-head{display:flex;justify-content:space-between;align-items:center;padding:13px 14px 10px}
.employee-ui-v08 .cutting-browser-head h3{margin:2px 0 0;font-size:16px}
.employee-ui-v08 .cutting-browser-head>b{padding:4px 8px;border-radius:12px;background:#edf3f4;color:#5f7077;font-size:9px}
.employee-ui-v08 .cutting-tabs{display:flex;gap:5px;padding:0 14px 10px;border-bottom:1px solid #e3e9eb;overflow-x:auto;scrollbar-width:thin}
.employee-ui-v08 .cutting-tabs button{flex:0 0 auto;min-height:30px;padding:6px 10px;border:1px solid #dce4e6;background:#f6f8f9;color:#627179;font-size:10px}
.employee-ui-v08 .cutting-tabs button.active{border-color:#2f7d8f;background:#2f7d8f;color:#fff}
.employee-ui-v08 .cutting-filters{display:grid;grid-template-columns:minmax(210px,1.4fr) repeat(6,minmax(105px,.7fr));gap:7px;padding:10px 14px;background:#f8fafb}
.employee-ui-v08 .cutting-filters label{display:grid;gap:4px;min-width:0;color:#78868c;font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.employee-ui-v08 .cutting-filters input,.employee-ui-v08 .cutting-filters select{width:100%;min-height:35px;padding:6px 8px;background:#fff;font-size:10px}
.employee-ui-v08 .cutting-browser-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;min-width:0;border-top:1px solid #e3e9eb}
.employee-ui-v08 .cutting-table-wrap{min-width:0;padding:4px 10px 10px}
.employee-ui-v08 .cutting-table{width:100%;table-layout:fixed;border-collapse:collapse}
.employee-ui-v08 .cutting-table th{padding:8px 7px;color:#7b888e;font-size:8px;font-weight:800;letter-spacing:.05em;text-align:left;text-transform:uppercase}
.employee-ui-v08 .cutting-table th:nth-child(1){width:34px}.employee-ui-v08 .cutting-table th:nth-child(2){width:18%}.employee-ui-v08 .cutting-table th:nth-child(3){width:19%}.employee-ui-v08 .cutting-table th:nth-child(4){width:29%}.employee-ui-v08 .cutting-table th:nth-child(5){width:13%}.employee-ui-v08 .cutting-table th:nth-child(6){width:72px}.employee-ui-v08 .cutting-table th:nth-child(7){width:76px}
.employee-ui-v08 .cutting-table td{padding:8px 7px;border-top:1px solid #e7ecee;vertical-align:middle;color:#34464d;font-size:10px}
.employee-ui-v08 .cutting-table tr.layout-option{display:table-row;min-width:0;padding:0;border:0;border-radius:0;background:transparent;text-align:inherit;box-shadow:none;cursor:pointer}.employee-ui-v08 .cutting-table tr:hover td,.employee-ui-v08 .cutting-table tr.previewed td{background:#f1f7f8}
.employee-ui-v08 .cutting-table tr.active{border:0;background:transparent;box-shadow:none}.employee-ui-v08 .cutting-table tr.active td{background:#e8f2f4}
.employee-ui-v08 .cutting-table td>b,.employee-ui-v08 .cutting-table td>span,.employee-ui-v08 .cutting-table td>small{display:block;min-width:0}
.employee-ui-v08 .cutting-table td>small{margin-top:2px;color:#849096;font-size:8px}
.employee-ui-v08 .cutting-output{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.employee-ui-v08 .cutting-stage{display:inline-block!important;width:max-content;max-width:100%;padding:3px 6px;border-radius:8px;background:#edf3f4;color:#346a75;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:750}
.employee-ui-v08 .cutting-favorite{width:28px;height:28px;padding:0;border:0;background:transparent;color:#a8b1b5;font-size:18px}
.employee-ui-v08 .cutting-favorite.active{color:#c99522}
.employee-ui-v08 .cutting-select{min-height:29px;padding:5px 8px;background:#e1edef;color:#276879;font-size:9px}
.employee-ui-v08 .cutting-row-actions{display:grid;gap:3px}.employee-ui-v08 .cutting-row-actions button{width:100%;min-height:26px;padding:4px 6px;font-size:8px}
.employee-ui-v08 .cutting-edit,.employee-ui-v08 .cutting-preview-edit{border:1px solid #cfdcdf;background:#fff;color:#3d6670}
.employee-ui-v08 .cutting-row-actions{display:grid;gap:4px}.employee-ui-v08 .cutting-row-actions button{width:100%;min-height:27px;padding:4px 6px;font-size:8px;white-space:normal}
.employee-ui-v08 .cutting-edit,.employee-ui-v08 .cutting-preview-edit{border:1px solid #cbdadd;background:#f7fafb;color:#396b76}.employee-ui-v08 .cutting-delete,.employee-ui-v08 .cutting-preview-delete{border:1px solid #efc7c7;background:#fff7f7;color:#a94444}.employee-ui-v08 .cutting-preview-delete{width:100%;margin-top:6px;min-height:34px}
.employee-ui-v08 .cutting-more,.employee-ui-v08 .employee-list-more{width:100%;min-height:32px;margin-top:7px;border:1px solid #d9e2e4;background:#f4f7f8;color:#586a71;font-size:10px}
.employee-ui-v08 .cutting-preview{min-width:0;padding:15px;border-left:1px solid #e1e8ea;background:#f7f9fa}
.employee-ui-v08 .cutting-preview h3{margin:4px 0 11px;font-size:17px}
.employee-ui-v08 .cutting-drawing{display:grid;place-items:center;min-height:92px;padding:12px;border:1px dashed #cdd9dc;border-radius:10px;background:#fff;color:#617279;text-align:center}
.employee-ui-v08 .cutting-drawing:before{content:"▱";display:block;color:#7ba0a9;font-size:28px;transform:rotate(-7deg)}
.employee-ui-v08 .cutting-drawing span,.employee-ui-v08 .cutting-drawing small{display:block}.employee-ui-v08 .cutting-drawing span{font-size:10px;font-weight:750}.employee-ui-v08 .cutting-drawing small{color:#8b969b;font-size:8px}
.employee-ui-v08 .cutting-preview dl{display:grid;gap:0;margin:10px 0}
.employee-ui-v08 .cutting-preview dl>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #e2e8ea;font-size:9px}
.employee-ui-v08 .cutting-preview dt{color:#7b888e}.employee-ui-v08 .cutting-preview dd{margin:0;color:#2c3e45;font-weight:700;text-align:right}
.employee-ui-v08 .cutting-preview-output{display:flex;justify-content:space-between;padding:7px 0;font-size:10px}
.employee-ui-v08 .cutting-preview ul{display:grid;gap:4px;margin:0 0 10px;padding:0;list-style:none}
.employee-ui-v08 .cutting-preview li{display:flex;justify-content:space-between;gap:8px;padding:5px 7px;border-radius:7px;background:#fff;font-size:9px}
.employee-ui-v08 .cutting-preview button{width:100%;min-height:34px;margin-top:6px}
.employee-ui-v08 .cutting-preview-select{background:#2f7d8f;color:#fff}
.employee-ui-v08 .cutting-preview-edit:hover,.employee-ui-v08 .cutting-edit:hover{border-color:#78a6b0;background:#edf5f6}

.employee-ui-v08 .bending-workspace{display:grid;grid-template-columns:minmax(460px,1.25fr) minmax(430px,.75fr);gap:10px;align-items:start}
.employee-ui-v08 .bending-parts,.employee-ui-v08 .bending-actions{min-width:0;padding:10px;border:1px solid #e0e6e8;border-radius:11px;background:#f7f9fa}
.employee-ui-v08 .bending-queue-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:none;overflow:visible}
.employee-ui-v08 .bending-queue-list>button{min-width:0;padding:9px;border-radius:8px}
.employee-ui-v08 .bending-queue-list>button.active{border-color:#2f7d8f;background:#e7f2f4;box-shadow:inset 0 0 0 1px #2f7d8f}.employee-ui-v08 .bending-queue-list>button:focus-visible{outline:2px solid #2f7d8f;outline-offset:1px}
.employee-ui-v08 .bending-queue-list>button{border:1px solid #dde5e7;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.employee-ui-v08 .bending-queue-list>button:hover{border-color:#8eb6bf;background:#f4f9fa}.employee-ui-v08 .bending-queue-list>button.active{border-color:#2f7d8f;background:#e8f3f5;box-shadow:inset 3px 0 #2f7d8f}.employee-ui-v08 .bending-queue-list>button:focus-visible{outline:2px solid #2f7d8f;outline-offset:1px}
.employee-ui-v08[data-role="bender"] .bending-workspace{grid-template-columns:minmax(520px,1.45fr) minmax(380px,.55fr)}
.employee-ui-v08[data-role="bender"] .bending-queue-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.employee-ui-v08[data-role="bender"] .bending-queue-list>button{padding:7px 9px}
.employee-ui-v08 .bending-actions{display:grid;grid-template-columns:minmax(180px,1.4fr) 100px minmax(170px,1fr);align-items:end;gap:7px;overflow:visible}
.employee-ui-v08 .bending-actions label{min-width:0}
.employee-ui-v08 .bending-actions label:nth-of-type(3),.employee-ui-v08 .bending-actions label:nth-of-type(4){grid-column:auto}
.employee-ui-v08 .bending-actions button,.employee-ui-v08 .bending-actions .bending-complete,.employee-ui-v08 .bending-actions .bending-defect{grid-column:auto;min-width:0;min-height:38px;white-space:normal}
.employee-ui-v08 .bending-actions .bending-complete{grid-column:1/3}.employee-ui-v08 .bending-actions .bending-defect{grid-column:3}
.employee-ui-v08 .packing-actions{grid-template-columns:minmax(220px,1fr) 100px minmax(270px,1.2fr) minmax(170px,auto)}
.employee-ui-v08 .packing-actions .bending-complete{grid-column:auto}
.employee-ui-v08 .packing-stock-list{max-height:none;overflow:visible}

.employee-ui-v08 .multirole-card{min-width:0;padding:16px}
.employee-ui-v08 .multirole-card header{margin-bottom:9px}
.employee-ui-v08 .multirole-card .employee-form{display:grid;grid-template-columns:minmax(170px,1fr) 88px minmax(110px,auto);gap:7px}
.employee-ui-v08 .multirole-card[data-operation="painting"] .employee-form{grid-template-columns:minmax(150px,1fr) 78px minmax(150px,1fr) minmax(100px,auto)}
.employee-ui-v08 .multirole-card .employee-form button{white-space:normal}
.employee-ui-v08 .multirole-card .v07-list{max-height:none;overflow:visible}
.employee-ui-v08 .multirole-workspace[data-operation-count="1"]{grid-template-columns:1fr}
.employee-ui-v08 .multirole-workspace[data-operation-count="3"] .multirole-card:nth-child(3){grid-column:1/-1}
.employee-ui-v08 .employee-ui-collapsed>.employee-ui-extra{display:none!important}

.employee-ui-v08 .employee-tasks{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.employee-ui-v08 .kanban-column{padding:8px;border:1px solid #e1e7e9;border-radius:11px;background:#f5f7f8}
.employee-ui-v08 .employee-task{min-height:0;padding:11px;border-radius:9px}
.employee-ui-v08 .employee-task b{font-size:13px}.employee-ui-v08 .employee-task p{font-size:10px}.employee-ui-v08 .employee-task small{font-size:9px}
.employee-ui-v08 .employee-task-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.employee-ui-v08 .employee-production-needs .v07-list,.employee-ui-v08 .employee-operations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.employee-ui-v08 .employee-production-needs .v07-list-row,.employee-ui-v08 .employee-operations>div{min-width:0;padding:9px 10px;border:1px solid #e4e9eb;border-radius:9px;background:#f8fafb}

.employee-ui-v08 .employee-route-stock{grid-template-columns:minmax(0,1.4fr) minmax(330px,.6fr);gap:12px}
.employee-ui-v08 .part-routes{overflow:visible;padding:0}
.employee-ui-v08 .production-flow-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;min-width:0}
.employee-ui-v08 .flow-stage{min-width:0}
.employee-ui-v08 .flow-stage header{gap:5px}.employee-ui-v08 .flow-stage header>strong{font-size:9px}
.employee-ui-v08 .flow-stage-items>div span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.employee-ui-v08 .part-stock-grid{grid-template-columns:1fr}
.employee-ui-v08 .employee-dashboard-lower{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.employee-ui-v08 .employee-chat-messages{height:auto;min-height:150px;max-height:260px}

@media(max-width:1260px){
  .employee-ui-v08 .employee-top-grid,.employee-ui-v08 .employee-top-grid.packer-top-grid{grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr)}
  .employee-ui-v08 .raw-stock-groups{grid-template-columns:1fr}
  .employee-ui-v08 .cutting-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.employee-ui-v08 .cutting-search{grid-column:span 2}
  .employee-ui-v08 .cutting-browser-body{grid-template-columns:minmax(0,1fr) 270px}
  .employee-ui-v08 .bending-workspace,.employee-ui-v08[data-role="bender"] .bending-workspace{grid-template-columns:1fr}.employee-ui-v08 .bending-actions{grid-template-columns:minmax(220px,1fr) 105px minmax(190px,1fr)}
  .employee-ui-v08 .employee-route-stock{grid-template-columns:1fr}
}
.employee-ui-v08 .painting-variant-preview{grid-column:1/-1;display:grid;gap:3px;padding:10px 12px;border:1px solid #d9e3e8;border-radius:10px;background:#f7fafb}.employee-ui-v08 .painting-variant-preview span{font-size:10px;font-weight:850;letter-spacing:.08em;color:#71808a}.employee-ui-v08 .painting-variant-preview b{font-size:13px;color:#25333a}.employee-ui-v08 .painting-variant-preview small{color:#64747d}.employee-ui-v08 .painting-variant-preview.ready{border-color:#9dcab7;background:#edf8f2}.employee-ui-v08 .painting-variant-preview.ready b{color:#176147}.employee-ui-v08 .painting-variant-preview.error{border-color:#e5aaa5;background:#fff2f0}.employee-ui-v08 .painting-variant-preview.error b{color:#a5322a}.employee-ui-v08 .multirole-card[data-operation="painting"] .painting-variant-preview{margin:2px 0}

@media(max-width:1040px){
  .employee-mode main{padding:16px}
  .employee-ui-v08 .employee-top-grid,.employee-ui-v08 .employee-top-grid.packer-top-grid{grid-template-columns:1fr}
  .employee-ui-v08 .raw-stock-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-ui-v08 .cutting-browser-body{grid-template-columns:1fr}.employee-ui-v08 .cutting-preview{border-top:1px solid #e1e8ea;border-left:0}.employee-ui-v08 .cutting-preview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
  .employee-ui-v08 .employee-layout-controls{grid-template-columns:minmax(230px,1.4fr) 110px repeat(2,minmax(130px,1fr))}
  .employee-ui-v08 .employee-article-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-ui-v08 .employee-tasks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-ui-v08 .production-flow-board{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:820px){
  .employee-ui-v08 .employee-stats-extended{grid-template-columns:1fr}.employee-ui-v08 .employee-stat-articles>div{grid-template-columns:1fr}
  .employee-ui-v08[data-role="bender"] .bending-workspace{grid-template-columns:1fr}
  .employee-ui-v08 .employee-welcome{grid-template-columns:1fr}.employee-ui-v08 .employee-shift{width:100%;justify-content:space-between}
  .employee-ui-v08 .employee-top-grid.packer-top-grid .employee-warehouse-stack{grid-template-columns:1fr}
  .employee-ui-v08 .raw-stock-groups{grid-template-columns:1fr}
  .employee-ui-v08 .employee-production,.employee-ui-v08 .employee-production .employee-form,.employee-ui-v08 .employee-layout-wrap{min-width:0;width:100%}
  .employee-ui-v08 .employee-production .employee-form{grid-template-columns:minmax(0,1fr)}
  .employee-ui-v08 .employee-production .employee-form>*{grid-column:1!important}
  .employee-ui-v08 .employee-layout-controls{grid-template-columns:minmax(0,1fr) 105px}.employee-ui-v08 .employee-layout-controls button{grid-column:auto}.employee-ui-v08 .employee-layout-controls button:nth-of-type(n+2){grid-column:span 1}
  .employee-ui-v08 .cutting-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-ui-v08 .cutting-search{grid-column:1/-1}
  .employee-ui-v08 .cutting-table thead{display:none}.employee-ui-v08 .cutting-table,.employee-ui-v08 .cutting-table tbody{display:block;width:100%;min-width:0;table-layout:auto}.employee-ui-v08 .cutting-table tr.layout-option{display:grid;width:100%;min-width:0;grid-template-columns:35px minmax(0,1fr) minmax(0,1fr);gap:0;margin:7px 0;border:1px solid #e0e7e9;border-radius:10px;overflow:hidden}.employee-ui-v08 .cutting-table td{display:grid;min-width:0;max-width:100%;align-content:center;border:0;border-bottom:1px solid #edf1f2;overflow:hidden}.employee-ui-v08 .cutting-table td:nth-child(1){grid-row:1/3}.employee-ui-v08 .cutting-table td:nth-child(2){grid-column:2/-1}.employee-ui-v08 .cutting-table td:nth-child(4){grid-column:1/-1}.employee-ui-v08 .cutting-table td:nth-child(7){grid-column:2/-1}.employee-ui-v08 .cutting-table td:before{content:attr(data-label);margin-bottom:2px;color:#889399;font-size:7px;font-weight:800;text-transform:uppercase}.employee-ui-v08 .cutting-output{white-space:normal;overflow-wrap:anywhere}
  .employee-ui-v08 .bending-queue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-ui-v08 .bending-actions{grid-template-columns:minmax(0,1fr) 100px}.employee-ui-v08 .bending-actions label:nth-of-type(n+3){grid-column:1/-1}.employee-ui-v08 .bending-actions .bending-complete,.employee-ui-v08 .bending-actions .bending-defect{grid-column:1/-1}
  .employee-ui-v08 .multirole-workspace{grid-template-columns:1fr}.employee-ui-v08 .multirole-workspace[data-operation-count="3"] .multirole-card:nth-child(3){grid-column:auto}
  .employee-ui-v08 .multirole-card[data-operation="painting"] .employee-form{grid-template-columns:1fr 82px}.employee-ui-v08 .multirole-card[data-operation="painting"] .employee-form select:nth-of-type(2){grid-column:1/-1}
  .employee-ui-v08 .employee-task-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employee-ui-v08 .employee-route-stock,.employee-ui-v08 .employee-dashboard-lower{grid-template-columns:1fr}
  .employee-ui-v08.employee-metal-workstation .employee-personal-statistics .employee-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:560px){
  .employee-ui-v08 .employee-article-form{grid-template-columns:1fr}
  .employee-ui-v08 .employee-article-form .wide{grid-column:auto}
  .employee-ui-v08 .employee-article-list{grid-template-columns:1fr}
}

@media(max-width:560px){
  .employee-ui-v08[data-role="bender"] .bending-queue-list{grid-template-columns:1fr}
  .employee-mode main{padding:10px}
  .employee-ui-v08 .employee-header{align-items:center}.employee-ui-v08 .employee-profile>div{display:none}.employee-ui-v08 .employee-welcome{padding:15px}.employee-ui-v08 .employee-welcome h1{font-size:22px}
  .employee-ui-v08 .employee-shift{display:grid;grid-template-columns:1fr}.employee-ui-v08 .employee-shift button{width:100%}
  .employee-ui-v08 .employee-panel{padding:14px}.employee-ui-v08 .employee-kpis{grid-template-columns:1fr 1fr}.employee-ui-v08 .employee-kpi{min-height:100px;padding:12px}.employee-ui-v08 .employee-kpi b{font-size:23px}
  .employee-ui-v08 .raw-stock-columns,.employee-ui-v08 .raw-stock-row{grid-template-columns:minmax(0,1fr) 76px}.employee-ui-v08 .raw-stock-columns span:last-child{display:none}.employee-ui-v08 .raw-stock-state{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:3px;border-top:1px dashed #dce4e6}
  .employee-ui-v08 .employee-layout-controls{grid-template-columns:1fr}.employee-ui-v08 .employee-layout-controls>*{grid-column:1!important}.employee-ui-v08 .employee-layout-execution-summary{display:grid;grid-template-columns:1fr}
  .employee-ui-v08 .cutting-tabs{padding-inline:10px}.employee-ui-v08 .cutting-filters{grid-template-columns:1fr;padding:10px}.employee-ui-v08 .cutting-search{grid-column:auto}.employee-ui-v08 .cutting-preview dl{grid-template-columns:1fr}
  .employee-ui-v08 .bending-queue-list{grid-template-columns:1fr}.employee-ui-v08 .bending-actions{grid-template-columns:1fr}.employee-ui-v08 .bending-actions>*{grid-column:1!important}
  .employee-ui-v08 .packing-actions{grid-template-columns:1fr}
  .employee-ui-v08 .multirole-card .employee-form,.employee-ui-v08 .multirole-card[data-operation="painting"] .employee-form{grid-template-columns:1fr}.employee-ui-v08 .multirole-card .employee-form>*{grid-column:1!important}
  .employee-ui-v08 .employee-tasks,.employee-ui-v08 .employee-task-form,.employee-ui-v08 .employee-production-needs .v07-list,.employee-ui-v08 .employee-operations{grid-template-columns:1fr}
  .employee-ui-v08 .production-flow-board{grid-template-columns:1fr}
}

/* Unified mobile-first workstation for metal and cardboard cutting. */
.employee-ui-v08.employee-cutting-dashboard{padding-bottom:18px}
.employee-ui-v08.employee-cutting-dashboard .employee-top-grid,
.employee-ui-v08.employee-cutting-dashboard .employee-warehouse-stack,
.employee-ui-v08.employee-cutting-dashboard .employee-task-column,
.employee-ui-v08.employee-cutting-dashboard .employee-grid-main,
.employee-ui-v08.employee-cutting-dashboard .employee-route-stock,
.employee-ui-v08.employee-cutting-dashboard .employee-dashboard-lower{display:contents!important}
.employee-ui-v08.employee-cutting-dashboard .employee-cutting-screen-hidden{display:none!important}
.employee-ui-v08.employee-cutting-dashboard .employee-cutting-duplicate{display:none!important}
.employee-ui-v08.employee-cutting-dashboard .employee-welcome{order:2}
.employee-ui-v08.employee-cutting-dashboard .employee-cutting-nav{order:3}
.employee-ui-v08.employee-cutting-dashboard .employee-sheet-stock{order:4;margin-top:12px}
.employee-ui-v08.employee-cutting-dashboard .employee-personal-statistics{order:5;margin-top:12px}
.employee-ui-v08.employee-cutting-dashboard .employee-cutting-workstation{order:6;margin-top:12px}
.employee-ui-v08.employee-cutting-dashboard .employee-cutting-product-summary{order:7;margin-top:12px}
.employee-ui-v08.employee-cutting-dashboard [data-cutting-screens="stock"],
.employee-ui-v08.employee-cutting-dashboard [data-cutting-screens="kanban"],
.employee-ui-v08.employee-cutting-dashboard [data-cutting-screens="chat"],
.employee-ui-v08.employee-cutting-dashboard [data-cutting-screens="more"]{order:6;margin-top:12px}

.employee-cutting-nav{display:flex;gap:5px;margin-top:10px;padding:5px;border:1px solid #dce4e6;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(29,48,56,.04)}
.employee-cutting-nav button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:42px;padding:8px 10px;border:0;background:transparent;color:#68777d;font-size:11px;font-weight:750}
.employee-cutting-nav button i{font-size:15px;font-style:normal}.employee-cutting-nav button.active{background:#274751;color:#fff}

.employee-cutting-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.employee-cutting-head span{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}.employee-cutting-head h2{margin:3px 0 4px;font-size:22px}.employee-cutting-head p{margin:0;color:#718087;font-size:11px}
.employee-cutting-head>b{padding:6px 10px;border-radius:14px;background:#e6f0f2;color:#266776;font-size:10px;white-space:nowrap}
.employee-cutting-step{display:block;margin-top:9px;padding:11px;border:1px solid #dfe7e9;border-radius:12px;background:#f8fafb}.employee-cutting-step>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.employee-cutting-step>header>span,.employee-cutting-material-step>span,.employee-cutting-runs>span{color:#4e6871;font-size:9px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.employee-cutting-step>header>small{color:#819096;font-size:9px}.employee-cutting-material-step{display:grid;gap:7px}.employee-cutting-material-step select{width:100%;min-height:50px;padding:10px 12px;border-color:#cadadd;background:#fff;color:#243940;font-size:13px;font-weight:750}
.employee-cutting-type-switch{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px;padding:4px;border-radius:11px;background:#edf2f3}
.employee-cutting-type-switch:empty{display:none}.employee-cutting-type-switch button{display:grid;gap:3px;min-height:50px;padding:8px 12px;border:0;background:transparent;color:#65757c;text-align:left}.employee-cutting-type-switch button b,.employee-cutting-type-switch button small{display:block}.employee-cutting-type-switch button b{font-size:12px}.employee-cutting-type-switch button small{font-size:8px;font-weight:600}.employee-cutting-type-switch button.active{background:#fff;color:#245f6d;box-shadow:0 3px 10px rgba(35,65,74,.09)}
.employee-cutting-layout-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.employee-cutting-layout-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:68px;padding:10px 12px;border:1px solid #d9e3e5;background:#fff;color:#31454d;text-align:left}.employee-cutting-layout-button:hover{border-color:#80aeba;background:#f2f8f9}.employee-cutting-layout-button.selected{border-color:#28798a;background:#e9f4f6;box-shadow:0 0 0 2px rgba(40,121,138,.12)}.employee-cutting-layout-button span,.employee-cutting-layout-button b,.employee-cutting-layout-button small,.employee-cutting-layout-button strong{display:block;min-width:0}.employee-cutting-layout-button span{overflow:hidden}.employee-cutting-layout-button b{font-size:13px}.employee-cutting-layout-button span small{margin-top:4px;overflow:hidden;color:#78888e;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.employee-cutting-layout-button strong{flex:0 0 auto;color:#286b79;font-size:13px;text-align:right}.employee-cutting-layout-button strong small{margin-top:4px;color:#75858b;font-size:8px;font-weight:600}.employee-cutting-step-empty{grid-column:1/-1;padding:18px;border:1px dashed #d1dde0;border-radius:9px;color:#7a898f;font-size:11px;text-align:center}
.employee-cutting-form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1.2fr) 150px;gap:9px}
.employee-cutting-form label{display:grid;gap:5px;min-width:0;color:#66777e;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.employee-cutting-form select,.employee-cutting-form input,.employee-cutting-form button{width:100%;min-height:48px;padding:10px 12px;text-transform:none}
.employee-cutting-choose{border:1px solid #8ab1ba;background:#eef6f7;color:#276879;font-weight:800;text-align:left}
.employee-cutting-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;margin-top:10px;padding:10px 12px;border:1px solid #dce5e7;border-radius:11px;background:#f7f9fa;color:#56676e}
.employee-cutting-selected>span,.employee-cutting-selected>span b,.employee-cutting-selected small{display:block;min-width:0}.employee-cutting-selected>span b{color:#263a42;font-size:13px}.employee-cutting-selected small{margin-top:3px;color:#7d8a90;font-size:9px}.employee-cutting-selected>button{flex:0 0 auto;min-height:38px;border:1px solid #d5e0e2;background:#fff;color:#316d79}
.employee-cutting-result{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px}
.employee-cutting-result>div{display:grid;gap:4px;padding:10px 12px;border:1px solid #e0e7e9;border-radius:10px;background:#f8fafb}.employee-cutting-result span{color:#76858b;font-size:9px}.employee-cutting-result b{color:#283b42;font-size:18px}
.employee-cutting-execution{margin-top:10px;padding:11px;border:1px solid #bcd3d8;border-radius:13px;background:#f1f7f8}.employee-cutting-selected{margin-top:0;background:#fff}.employee-cutting-selected>strong{flex:0 0 auto;color:#277386;font-size:10px}
.employee-cutting-actions{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(115px,.35fr) minmax(105px,.32fr) minmax(220px,1fr);align-items:end;gap:8px;margin-top:11px}.employee-cutting-actions button{min-height:52px}.employee-cutting-runs{display:grid;gap:5px}.employee-cutting-runs input{width:100%;min-height:52px;padding:10px 12px;background:#fff}.employee-cutting-edit-action{border:1px solid #bfd2d6;background:#fff;color:#356570}.employee-cutting-delete-action{border:1px solid #efcaca;background:#fff6f6;color:#a43f3f}.employee-cutting-actions #employeeCuttingSubmit{border:0;background:#2b7889;color:#fff;font-size:14px;font-weight:850}.employee-cutting-actions #employeeCuttingSubmit:disabled{background:#b8c4c7;color:#f3f6f6;cursor:not-allowed}

.employee-cutting-product-summary>header,.employee-cutting-more>header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.employee-cutting-product-summary>header span,.employee-cutting-more>header span{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}.employee-cutting-product-summary>header h2,.employee-cutting-more>header h2{margin:3px 0 0;font-size:18px}.employee-cutting-product-summary>header button{min-height:40px;border:1px solid #d6e0e2;background:#f3f7f8;color:#336b77}
#employeeCuttingProductRows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}#employeeCuttingProductRows>div{display:flex;justify-content:space-between;gap:10px;min-width:0;padding:9px 10px;border:1px solid #e1e7e9;border-radius:9px;background:#f8fafb}#employeeCuttingProductRows span,#employeeCuttingProductRows b,#employeeCuttingProductRows small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#employeeCuttingProductRows b{font-size:10px}#employeeCuttingProductRows small{margin-top:2px;color:#829096;font-size:8px}#employeeCuttingProductRows strong{flex:0 0 auto;color:#276b79;font-size:11px}
.employee-cutting-more>div{display:flex;flex-wrap:wrap;gap:8px}.employee-cutting-more>div button{min-height:44px;border:1px solid #d5e0e2;background:#f4f7f8;color:#355e68}
.employee-cutting-catalogs>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.employee-cutting-catalogs>header span{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}.employee-cutting-catalogs>header h2{margin:3px 0 0;font-size:18px}.employee-cutting-catalog-tabs{display:flex;gap:5px;margin-bottom:9px;padding:4px;border-radius:10px;background:#eef3f4}.employee-cutting-catalog-tabs button{flex:1;min-height:42px;border:0;background:transparent;color:#68787e}.employee-cutting-catalog-tabs button.active{background:#fff;color:#286b79;box-shadow:0 3px 10px rgba(35,65,74,.08)}.employee-cutting-catalog-search{display:grid;gap:5px;margin-bottom:9px;color:#64767d;font-size:9px;font-weight:800;text-transform:uppercase}.employee-cutting-catalog-search input{min-height:46px;padding:9px 11px;background:#fff}.employee-cutting-catalog-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.employee-cutting-catalog-rows article{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:10px;border:1px solid #dfe7e9;border-radius:10px;background:#fafcfc}.employee-cutting-catalog-rows article>div:first-child{min-width:0}.employee-cutting-catalog-rows b,.employee-cutting-catalog-rows span,.employee-cutting-catalog-rows small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-cutting-catalog-rows b{font-size:12px}.employee-cutting-catalog-rows span{margin-top:3px;color:#52666e;font-size:10px}.employee-cutting-catalog-rows small{margin-top:3px;color:#809096;font-size:8px}.employee-cutting-catalog-rows article>div:last-child{display:flex;flex:0 0 auto;gap:4px}.employee-cutting-catalog-rows button{min-height:34px;padding:6px 8px;border:1px solid #d3dfe1;background:#fff;color:#356773;font-size:9px}.employee-cutting-catalog-rows button.danger{border-color:#efcece;background:#fff7f7;color:#a74949}
.employee-ui-v08.employee-cutting-dashboard #multiRoleWorkspace[data-cutting-screens~="home"]{order:7;grid-template-columns:1fr;margin-top:12px}.employee-ui-v08.employee-cutting-dashboard #multiRoleWorkspace[data-cutting-screens~="home"]>.multirole-card[data-operation="bending"]{grid-column:1/-1}
.employee-ui-v08.employee-cutting-dashboard #multiRoleWorkspace[data-cutting-screens~="home"]{order:7;grid-template-columns:1fr;margin-top:12px}.employee-ui-v08.employee-cutting-dashboard #multiRoleWorkspace[data-cutting-screens~="home"] .multirole-card[data-operation="bending"]{grid-column:1/-1}

.employee-cutting-picker,.employee-cutting-confirm{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:20px;background:rgba(20,32,37,.58);backdrop-filter:blur(3px)}
.employee-cutting-picker.hidden,.employee-cutting-confirm.hidden{display:none!important}
.employee-cutting-sheet{display:flex;flex-direction:column;width:min(760px,100%);max-height:min(760px,92vh);padding:16px;border-radius:17px;background:#fff;box-shadow:0 24px 70px rgba(12,28,34,.26)}
.employee-cutting-sheet>header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.employee-cutting-sheet>header span{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}.employee-cutting-sheet>header h2{margin:3px 0 0;font-size:20px}.employee-cutting-sheet>header>button{width:44px;height:44px;padding:0;border:0;background:#edf2f3;color:#53646a;font-size:24px}
.employee-cutting-sheet>input{width:100%;min-height:50px;padding:11px 13px;font-size:14px}
.employee-cutting-picker-tabs{display:flex;gap:6px;margin:9px 0}.employee-cutting-picker-tabs button{min-height:42px;padding:8px 13px;border:1px solid #dce4e6;background:#f6f8f9;color:#627179}.employee-cutting-picker-tabs button.active{border-color:#2f7d8f;background:#2f7d8f;color:#fff}
.employee-cutting-picker-rows{display:grid;gap:6px;min-height:120px;overflow-y:auto;padding-right:3px}
.employee-cutting-picker-rows article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:6px;align-items:stretch;padding:5px;border:1px solid #dfe6e8;border-radius:11px;background:#f9fbfb}
.employee-cutting-star{width:42px;min-height:48px;padding:0;border:0;background:transparent;color:#a6b0b4;font-size:22px}.employee-cutting-star.active{color:#c99522}
.employee-cutting-layout-choice{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0;min-height:52px;padding:7px 10px;border:0;background:transparent;color:#31454d;text-align:left}.employee-cutting-layout-choice span,.employee-cutting-layout-choice b,.employee-cutting-layout-choice small,.employee-cutting-layout-choice strong{display:block;min-width:0}.employee-cutting-layout-choice span{overflow:hidden}.employee-cutting-layout-choice b,.employee-cutting-layout-choice span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-cutting-layout-choice b{font-size:12px}.employee-cutting-layout-choice small{margin-top:3px;color:#819096;font-size:8px}.employee-cutting-layout-choice strong{flex:0 0 auto;color:#286b79;font-size:11px;text-align:right}.employee-cutting-layout-choice strong small{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}
.employee-cutting-row-manage{display:grid;gap:3px}.employee-cutting-row-manage button{min-height:30px;padding:4px 7px;border:1px solid #d5e0e2;background:#fff;color:#42656d;font-size:8px}.employee-cutting-row-manage button.danger{border-color:#ecc8c8;background:#fff6f6;color:#a84747}
.employee-cutting-confirm>div{width:min(430px,100%);padding:20px;border-radius:17px;background:#fff;box-shadow:0 22px 65px rgba(12,28,34,.28)}.employee-cutting-confirm>div>span{color:#287588;font-size:9px;font-weight:850;letter-spacing:.13em}.employee-cutting-confirm h2{margin:4px 0 12px;font-size:21px}.employee-cutting-confirm dl{margin:0 0 14px}.employee-cutting-confirm dl>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e4eaec}.employee-cutting-confirm dt{color:#718087;font-size:11px}.employee-cutting-confirm dd{margin:0;color:#283b42;font-size:11px;font-weight:800;text-align:right}.employee-cutting-confirm>div>div{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}.employee-cutting-confirm button{min-height:50px;border:1px solid #d7e0e2;background:#f3f6f7;color:#52656c}.employee-cutting-confirm #employeeCuttingConfirmSubmit{border-color:#2c7889;background:#2c7889;color:#fff;font-weight:800}

.employee-cutting-stats-controls{display:grid;gap:5px}.employee-cutting-stats-controls>div{display:flex;gap:4px;overflow-x:auto}.employee-cutting-stats-controls button{flex:0 0 auto;min-height:32px;padding:5px 8px;border:1px solid #dce4e6;background:#f5f8f8;color:#64757c;font-size:9px}.employee-cutting-stats-controls button.active{border-color:#2e7889;background:#2e7889;color:#fff}.employee-cutting-legacy-period{display:none!important}
.raw-stock-group:not(.raw-stock-expanded) .employee-raw-extra{display:none!important}.employee-raw-more{width:100%;min-height:38px;border:0;border-top:1px solid #e0e7e9;border-radius:0!important;background:#f2f6f7;color:#3f707a;font-size:10px;font-weight:750}

@media(max-width:820px){
  .employee-mode main{padding:8px 8px 86px}
  .employee-ui-v08.employee-cutting-dashboard{width:100%;max-width:100%;padding:0}
  .employee-cutting-nav{position:fixed;right:8px;bottom:8px;left:8px;z-index:800;margin:0;padding:5px;border-radius:16px;box-shadow:0 10px 32px rgba(19,37,43,.2)}
  .employee-cutting-nav button{display:grid;gap:1px;min-width:0;min-height:52px;padding:5px 2px;font-size:9px}.employee-cutting-nav button i{font-size:16px}
  .employee-ui-v08.employee-cutting-dashboard .employee-header{padding:5px 2px 10px}.employee-ui-v08.employee-cutting-dashboard .employee-profile>div{display:block!important;max-width:210px;padding-right:7px}.employee-ui-v08.employee-cutting-dashboard .employee-profile b,.employee-ui-v08.employee-cutting-dashboard .employee-profile span,.employee-ui-v08.employee-cutting-dashboard .employee-profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-ui-v08.employee-cutting-dashboard .employee-profile b{font-size:10px}.employee-ui-v08.employee-cutting-dashboard .employee-profile span,.employee-ui-v08.employee-cutting-dashboard .employee-profile small{font-size:7px}.employee-ui-v08.employee-cutting-dashboard .employee-logout{min-height:40px;padding:7px 10px}
  .employee-ui-v08.employee-cutting-dashboard .employee-welcome{margin-top:8px;padding:10px}.employee-ui-v08.employee-cutting-dashboard .employee-welcome>div:first-child{display:none}.employee-ui-v08.employee-cutting-dashboard .employee-shift{display:grid;width:100%;grid-template-columns:1fr;margin:0;padding:10px}.employee-ui-v08.employee-cutting-dashboard .employee-shift>div{min-width:0}.employee-ui-v08.employee-cutting-dashboard .employee-shift button{width:100%;min-height:54px;font-size:13px}
  .employee-ui-v08.employee-cutting-dashboard .employee-panel{padding:12px;border-radius:13px}.employee-ui-v08.employee-cutting-dashboard .employee-panel-head{margin-bottom:9px}.employee-ui-v08.employee-cutting-dashboard .employee-panel-head h2{font-size:16px}
  .employee-ui-v08.employee-cutting-dashboard .employee-sheet-stock{margin-top:8px}.employee-ui-v08.employee-cutting-dashboard .employee-personal-statistics,.employee-ui-v08.employee-cutting-dashboard .employee-cutting-workstation,.employee-ui-v08.employee-cutting-dashboard .employee-cutting-product-summary{margin-top:8px}
  .employee-ui-v08.employee-cutting-dashboard .raw-stock-group:not(:first-child){margin-top:6px}.employee-ui-v08.employee-cutting-dashboard .raw-stock-columns{display:none!important}.employee-ui-v08.employee-cutting-dashboard .raw-stock-row{grid-template-columns:minmax(0,1fr) auto!important;min-height:52px;padding:8px 9px!important}.employee-ui-v08.employee-cutting-dashboard .raw-stock-state{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:4px}.employee-ui-v08.employee-cutting-dashboard .raw-stock-row>span b{font-size:11px}.employee-ui-v08.employee-cutting-dashboard .raw-stock-row>strong{font-size:12px!important}
  .employee-ui-v08.employee-cutting-dashboard .employee-stats-head{display:grid;align-items:start}.employee-cutting-stats-controls{width:100%}.employee-ui-v08.employee-cutting-dashboard .employee-kpi{min-height:82px;padding:10px}.employee-ui-v08.employee-cutting-dashboard .employee-kpi b{font-size:21px}.employee-ui-v08.employee-cutting-dashboard .employee-stats-comparison{padding-top:7px}.employee-ui-v08.employee-cutting-dashboard .employee-stats-extended{display:none}
  .employee-cutting-head{margin-bottom:10px}.employee-cutting-head h2{font-size:19px}.employee-cutting-head p{font-size:9px}.employee-cutting-head>b{font-size:8px}
  .employee-cutting-step{padding:9px}.employee-cutting-type-switch{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.employee-cutting-layout-buttons{grid-template-columns:1fr}.employee-cutting-layout-button{min-height:64px}.employee-cutting-layout-button span small{white-space:normal;line-height:1.3}
  .employee-cutting-form{grid-template-columns:1fr}.employee-cutting-form select,.employee-cutting-form input,.employee-cutting-form button{min-height:50px;font-size:12px}.employee-cutting-selected{min-height:58px}.employee-cutting-result{grid-template-columns:1fr 1fr}.employee-cutting-result>div{padding:8px 9px}.employee-cutting-result b{font-size:16px}.employee-cutting-actions{grid-template-columns:1fr}.employee-cutting-actions button{min-height:54px}.employee-cutting-actions #employeeCuttingSubmit{position:sticky;bottom:70px;z-index:20;box-shadow:0 9px 24px rgba(29,74,84,.2)}
  .employee-cutting-actions{grid-template-columns:1fr 1fr}.employee-cutting-runs,.employee-cutting-actions #employeeCuttingSubmit{grid-column:1/-1}.employee-cutting-actions #employeeCuttingSubmit{min-height:58px}.employee-cutting-execution{padding:9px}
  #employeeCuttingProductRows{grid-template-columns:1fr}.employee-cutting-product-summary>header{align-items:flex-start}.employee-cutting-product-summary>header button{min-height:44px}
  .employee-cutting-catalog-rows{grid-template-columns:1fr}.employee-cutting-catalog-rows article{align-items:flex-start}.employee-cutting-catalog-rows article>div:last-child{display:grid}
  .employee-cutting-picker{place-items:stretch;padding:0}.employee-cutting-sheet{width:100%;height:100%;max-height:none;padding:12px;border-radius:0}.employee-cutting-sheet>header h2{font-size:18px}.employee-cutting-sheet>input{min-height:52px}.employee-cutting-picker-tabs button{flex:1;min-width:max-content}.employee-cutting-picker-rows article{grid-template-columns:40px minmax(0,1fr)}.employee-cutting-row-manage{grid-column:1/-1;grid-template-columns:1fr 1fr}.employee-cutting-layout-choice{display:grid;gap:3px}.employee-cutting-layout-choice strong{text-align:left}.employee-cutting-layout-choice strong small{max-width:100%}
  .employee-cutting-confirm{align-items:end;padding:8px}.employee-cutting-confirm>div{width:100%;padding:17px;border-radius:17px}.employee-cutting-confirm>div>div{grid-template-columns:1fr 1.35fr}
}

@media(max-width:430px){
  .employee-ui-v08.employee-cutting-dashboard .employee-header{flex-wrap:wrap;gap:8px}
  .employee-ui-v08.employee-cutting-dashboard .employee-profile{width:100%;justify-content:space-between}
  .employee-ui-v08.employee-cutting-dashboard .employee-profile>div{max-width:calc(100% - 76px);text-align:left;border-right:0;padding-right:0}
  .employee-ui-v08.employee-cutting-dashboard .employee-brand{font-size:14px}.employee-ui-v08.employee-cutting-dashboard .employee-header>div:first-child p{font-size:8px}.employee-ui-v08.employee-cutting-dashboard .employee-profile{gap:5px}
  .employee-cutting-head{display:grid;gap:5px}.employee-cutting-head>b{width:max-content}.employee-cutting-result span{font-size:8px}.employee-cutting-result b{font-size:15px}
}
