/* Shared workstations: touch controls on phones, two columns on desktops. */
.employee-operations-v09{display:flex;flex-direction:column;gap:0}
.employee-operations-v09>*{min-width:0}
.employee-operations-v09 .ws-legacy-hidden{display:none!important}
.employee-operations-v09 .employee-welcome{padding:12px 16px}
.employee-operations-v09 .employee-welcome h1{font-size:22px}
.employee-operations-v09 .employee-welcome .employee-shift{display:flex;align-items:center}
.employee-operations-v09 .employee-cutting-nav{order:3}
.employee-operations-v09 .ws-operation-tabs{order:4;margin:16px 0 0}
.ws-section-label{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 9px;color:#294752;font-size:12px;font-weight:800;letter-spacing:.06em}
.ws-section-label small{font-size:12px;font-weight:400;letter-spacing:0;color:#647780}
.ws-operation-tabs>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
.employee-operations-v09 .ws-operation-tabs button{min-height:48px;padding:12px 22px;border:1px solid #ccdce0;background:#fff;color:#324e58;font-size:15px;font-weight:700}
.employee-operations-v09 .ws-operation-tabs button.active{background:#234d59;border-color:#234d59;color:#fff;box-shadow:0 4px 14px #234d5920}
.employee-operations-v09 .employee-cutting-workstation,.employee-operations-v09 .ws-bending{order:5;margin-top:12px}
.employee-operations-v09 .employee-cutting-head h2{font-size:24px}
.employee-operations-v09 .employee-cutting-head p{font-size:14px}
.employee-operations-v09 .employee-cutting-workstation{padding:22px}
.employee-operations-v09 .employee-cutting-workstation input,.employee-operations-v09 .employee-cutting-workstation select{min-height:50px;font-size:16px}
.employee-operations-v09 .employee-cutting-layout-buttons{max-height:380px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.employee-operations-v09 .employee-cutting-layout-button{min-height:76px;padding:14px;align-items:center}
.employee-operations-v09 .employee-cutting-layout-button b{font-size:15px}
.employee-operations-v09 .employee-cutting-layout-button small{font-size:12px;line-height:1.5}
.employee-operations-v09 .employee-cutting-actions{grid-template-columns:160px minmax(0,1fr)}
.employee-operations-v09 #employeeCuttingSubmit{min-height:54px;font-size:16px}
.employee-operations-v09 .employee-cutting-confirm>div{max-height:calc(100dvh - 32px);overflow:auto}
.employee-operations-v09 .ws-bending{padding:22px}
.ws-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.ws-panel-head span{font-size:10px;letter-spacing:.12em;color:#397685;font-weight:800}
.ws-panel-head h2{margin:4px 0 6px;font-size:24px}
.ws-panel-head p{margin:0;color:#627781;font-size:14px;line-height:1.5}
.employee-operations-v09 .ws-panel-head button{min-height:46px;flex-shrink:0;padding:10px 16px}
.ws-bending-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px;align-items:start}
.ws-bending-grid label{display:block;font-size:14px;font-weight:700;margin-bottom:9px}
.employee-operations-v09 .ws-bending input,.employee-operations-v09 .ws-bending select{width:100%;min-height:50px;padding:12px;font-size:16px}
.ws-muted{margin:10px 0;color:#627781;font-size:12px}
.ws-queue-list{display:grid;gap:8px;max-height:500px;overflow:auto;padding:2px;overscroll-behavior:contain}
.employee-operations-v09 .ws-queue-item{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:74px;padding:13px 15px;color:#263d46;background:#f8fafb;border:1px solid #dce5e8}
.ws-queue-item>span{min-width:0;overflow-wrap:anywhere}
.ws-queue-item b{font-size:15px;line-height:1.45}
.ws-queue-item small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:#5d737e}
.ws-queue-item>strong{text-align:right;flex-shrink:0;font-size:19px}
.employee-operations-v09 .ws-queue-item.selected{border:2px solid #28758a;background:#edf7f8;padding:12px 14px}
.ws-action{background:#f5f9fa;border:1px solid #dce7ea;border-radius:14px;padding:20px}
.ws-selection{margin-bottom:20px;overflow-wrap:anywhere}
.ws-selection>span{font-size:10px;font-weight:800;letter-spacing:.1em;color:#497580}
.ws-selection h3{margin:7px 0;font-size:20px;line-height:1.4}
.ws-selection p{font-size:13px;line-height:1.6;margin:0;color:#59717b}
.ws-quantity{display:grid;grid-template-columns:54px minmax(0,1fr) 54px;gap:8px}
.employee-operations-v09 .ws-quantity button{font-size:25px;background:#e0ecef;color:#254e5b;border:1px solid #c7dade;min-height:54px}
.employee-operations-v09 .ws-quantity input{text-align:center;font-size:23px;font-weight:800;height:54px}
.ws-quantity-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.employee-operations-v09 .ws-quantity-presets button{min-height:42px;padding:9px 14px;border:1px solid #c9dce2;background:#fff;color:#365d69;font-size:13px}
.ws-validation{min-height:40px;margin:14px 0 8px;font-size:13px;line-height:1.5;color:#496976}
.employee-operations-v09 .ws-complete{width:100%;min-height:56px;font-size:16px;background:#246552;color:#fff;border:0}
.employee-operations-v09 button:disabled{opacity:.5;cursor:not-allowed}
.ws-defect{margin-top:18px;border-top:1px solid #d8e4e8;padding-top:14px}
.ws-defect summary{padding:8px 0;color:#9b4940;font-size:14px;cursor:pointer}
.ws-defect label{margin-top:14px}
.employee-operations-v09 .ws-defect button{width:100%;min-height:48px;margin-top:10px;color:#9a3a32;background:#ffefed;border:1px solid #e8bdb7;font-size:13px}
.ws-empty{padding:24px 15px;border:1px dashed #cbdde2;border-radius:10px;font-size:14px;color:#617982;line-height:1.6;text-align:center}
.ws-empty button{display:block;margin:10px auto 0}
.ws-dialog{position:fixed;inset:0;z-index:1200;background:#152c3c85;display:grid;place-items:center;padding:18px}
.ws-dialog-body{width:min(100%,460px);padding:26px;background:#fff;border-radius:18px;box-shadow:0 20px 90px #10263250;max-height:calc(100dvh - 36px);overflow:auto;overflow-wrap:anywhere}
.ws-dialog-body h2{font-size:22px;margin:0 0 18px}
.ws-dialog-body p{font-size:15px;line-height:1.6}
.ws-dialog-actions{display:flex;gap:10px;margin-top:22px}
.employee-operations-v09 .ws-dialog-actions button{flex:1;min-height:50px;background:#e8eff1;color:#365460}
.employee-operations-v09 .ws-dialog-actions button:last-child{background:#246552;color:#fff}
.employee-operations-v09 button:focus-visible{outline:3px solid #3a94b3;outline-offset:3px}
.employee-operations-v09 .employee-sheet-stock.employee-cutting-screen-hidden,.employee-operations-v09 .employee-personal-statistics.employee-cutting-screen-hidden{display:none!important}
@media(min-width:1000px){
 .employee-operations-v09 .employee-cutting-workstation{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:18px 26px;align-items:start}
 .employee-operations-v09 .employee-cutting-head{grid-column:1/-1;margin-bottom:0}
 .employee-operations-v09 .employee-cutting-material-step{grid-column:1;margin:0}
 .employee-operations-v09 .employee-cutting-layout-step{grid-column:1;margin:0}
 .employee-operations-v09 .employee-cutting-execution{grid-column:2;grid-row:2/4;margin:0;position:sticky;top:12px}
 .employee-operations-v09 .employee-cutting-actions{grid-template-columns:1fr}
}
@media(max-width:760px){
 .employee-mode main{padding:10px 10px calc(100px + env(safe-area-inset-bottom))}
 .employee-operations-v09{width:100%;padding:0 0 calc(90px + env(safe-area-inset-bottom))!important}
 .employee-operations-v09 .ws-operation-tabs{margin-top:14px}
 .ws-operation-tabs>div:last-child{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
 .employee-operations-v09 .ws-operation-tabs button{flex:0 0 auto;padding:12px 16px;min-height:48px;font-size:14px}
 .ws-section-label{font-size:11px}.ws-section-label small{font-size:11px}
 .employee-operations-v09 .employee-cutting-workstation,.employee-operations-v09 .ws-bending{padding:15px;margin-top:8px}
 .employee-operations-v09 .employee-cutting-head h2,.ws-panel-head h2{font-size:21px}
 .employee-operations-v09 .employee-cutting-head{gap:10px}
 .employee-operations-v09 .employee-cutting-head p{font-size:12px}
 .employee-operations-v09 .employee-cutting-step{padding:13px 0}
 .employee-operations-v09 .employee-cutting-layout-button{min-height:72px}
 .employee-operations-v09 .employee-cutting-layout-buttons{max-height:340px}
 .employee-operations-v09 .employee-cutting-layout-button b{font-size:14px}
 .employee-operations-v09 .employee-cutting-layout-button small{font-size:12px}
 .employee-operations-v09 .employee-cutting-actions{grid-template-columns:1fr}
 .employee-operations-v09 .employee-cutting-runs input{min-height:54px;text-align:center;font-size:22px}
 .employee-operations-v09 .employee-cutting-result{grid-template-columns:repeat(2,minmax(0,1fr))}
 .employee-operations-v09 .employee-cutting-nav{bottom:calc(8px + env(safe-area-inset-bottom));right:10px;left:10px}
 .employee-operations-v09 .employee-cutting-nav button{font-size:11px;min-height:54px}
 .employee-operations-v09 .employee-welcome .employee-shift{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .employee-operations-v09 .employee-shift>div{min-width:0}
 .employee-operations-v09 .employee-shift button{min-width:110px;width:auto;min-height:48px;font-size:13px}
 .ws-panel-head{display:grid;gap:12px;margin-bottom:18px}
 .employee-operations-v09 .ws-panel-head button{justify-self:start}
 .ws-panel-head p{font-size:13px}
 .ws-bending-grid{grid-template-columns:1fr;gap:18px}
 .ws-queue-list{max-height:300px}
 .ws-action{padding:15px}
 .ws-selection h3{font-size:18px}
 .ws-dialog{align-items:end;padding:10px 10px calc(10px + env(safe-area-inset-bottom))}
 .ws-dialog-body{padding:22px 18px;width:100%}
}
.employee-operations-v09 .employee-cutting-result>div:nth-child(n+3){display:none}
.employee-operations-v09 .employee-cutting-result{grid-template-columns:repeat(2,minmax(0,1fr))}
.employee-operations-v09 .ws-cut-search-label{display:block;margin:10px 0;font-size:12px;color:#56727b}
.employee-operations-v09 .ws-cut-search-label input{display:block;width:100%;margin-top:6px}

@media(max-width:760px){
 .employee-operations-v09 .employee-profile b{font-size:14px!important}
 .employee-operations-v09 .employee-profile span,.employee-operations-v09 .employee-profile small{font-size:11px!important;line-height:1.5}
 .employee-operations-v09 .employee-brand{font-size:16px!important}
 .employee-operations-v09 .employee-header>div:first-child p{font-size:11px!important}
 .employee-operations-v09 .employee-shift b{font-size:14px}
 .employee-operations-v09 .employee-shift small{font-size:12px}
}

@media(max-width:760px){
 .employee-operations-v09 .ws-operation-tabs>div:last-child{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));overflow:visible;padding-bottom:0}
 .employee-operations-v09 .ws-operation-tabs button{min-width:0;min-height:56px;padding:10px 8px;font-size:13px;line-height:1.35;white-space:normal}
}
