/* Eorigin 2.33.01 */
.eo-thread-arrange-launch{grid-column:1/-1;display:flex!important;align-items:center;gap:10px!important;padding:10px!important;border:1px solid #4b3b20!important;border-radius:8px!important;background:#11100d!important}.eo-thread-arrange-launch button{border:1px solid #9a7838;background:#d2a74d;color:#111;padding:10px 13px;border-radius:6px;font-weight:950;cursor:pointer}.eo-thread-arrange-launch small{color:#8d8678!important}
.eo-mt-modal{position:fixed;inset:0;z-index:100050;display:grid;place-items:center;background:#000b;padding:20px}.eo-mt-modal[hidden]{display:none}.eo-mt-window{width:min(1180px,92vw);height:min(780px,88vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid #70582d;border-radius:12px;background:#090909;color:#eee;box-shadow:0 30px 90px #000}.eo-mt-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #3b3020;background:#15120d}.eo-mt-head strong{color:#e4bd67}.eo-mt-head button,.eo-mt-actions button,.eo-mt-heads button{border:1px solid #51442f;border-radius:6px;background:#17130d;color:#ddd;padding:8px 10px;font-weight:900;cursor:pointer}.eo-mt-body{flex:1;min-height:0;overflow:auto;padding:14px}.eo-mt-top{display:grid;grid-template-columns:minmax(240px,1fr) 2fr;gap:12px;margin-bottom:14px}.eo-mt-box{border:1px solid #2f2a22;border-radius:8px;background:#0e0e0d;padding:10px}.eo-mt-box small{display:block;color:#777;font-size:8px;font-weight:900}.eo-mt-box b{display:block;margin-top:4px}.eo-mt-heads{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.eo-mt-heads button.active{background:#d1a347;color:#111}.eo-mt-machine{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eo-mt-head-card{border:1px solid #3a3226;border-radius:9px;background:#0d0d0c;padding:9px}.eo-mt-head-card.selected{border-color:#a9823d}.eo-mt-head-title{display:flex;justify-content:space-between;margin-bottom:7px;color:#aaa;font-size:9px;font-weight:950}.eo-mt-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.eo-mt-slot{height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #292929;border-radius:5px;background:#080808;color:#ddd;padding:3px;cursor:pointer}.eo-mt-slot:hover{border-color:#84672f}.eo-mt-slot.empty{opacity:.48}.eo-mt-dot{width:14px;height:14px;border-radius:50%;border:1px solid #777}.eo-mt-code{font-size:8px;font-weight:950}.eo-mt-colour,.eo-mt-n{font-size:6px;color:#777}.eo-mt-plan{margin-top:14px;border-top:1px solid #332c21;padding-top:12px}.eo-mt-plan-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.eo-mt-chip{display:flex;align-items:center;gap:5px;border:1px solid #3c3428;border-radius:999px;background:#11100d;padding:6px 8px;font-size:8px}.eo-mt-chip .eo-mt-dot{width:10px;height:10px}.eo-mt-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.eo-mt-actions .primary{background:#d1a347;color:#111}.eo-mt-note{color:#777;font-size:9px;line-height:1.45}.eo-mt-slot-pop{position:fixed;z-index:100060;width:260px;border:1px solid #6a542d;border-radius:8px;background:#11100f;color:#eee;padding:10px;box-shadow:0 18px 50px #000}.eo-mt-slot-pop[hidden]{display:none}.eo-mt-slot-pop strong{color:#e4bd67}.eo-mt-slot-pop p{color:#aaa;font-size:9px}.eo-mt-slot-pop button{width:100%;border:1px solid #5b4827;background:#1a160f;color:#e4bd67;padding:8px;border-radius:5px;font-weight:900}
dialog.eo-workspace-dialog,dialog.eo-inline-production{width:min(1200px,90vw)!important;height:min(820px,88vh)!important;max-width:90vw!important;max-height:88vh!important;margin:auto!important;overflow:hidden!important;border-radius:12px!important}.eo-inline-production-content{height:auto!important;max-height:none!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding-bottom:80px!important}
@media(max-width:760px){.eo-mt-machine,.eo-mt-top{grid-template-columns:1fr}.eo-mt-window{width:96vw;height:92vh}}

/* 2.33.04 SOURCE WORKSPACE FIX */
dialog.eo-workspace-dialog,
dialog.eo-inline-production,
dialog.eo-inline-arrange,
dialog.eo-native-workspace-modal{
  position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  width:min(1180px,90vw)!important;height:min(800px,86vh)!important;max-width:94vw!important;max-height:90vh!important;
  margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #70582d!important;border-radius:12px!important;
  background:#090909!important;color:#eee!important;box-shadow:0 30px 100px #000!important;flex-direction:column!important;
}
dialog.eo-workspace-dialog[open],dialog.eo-inline-production[open],dialog.eo-inline-arrange[open],dialog.eo-native-workspace-modal[open]{display:flex!important}
dialog.eo-workspace-dialog>header,dialog.eo-inline-production>header,dialog.eo-inline-arrange>header,dialog.eo-native-workspace-modal>header{
  flex:0 0 54px!important;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:9px 14px!important;
  border-bottom:1px solid #3b3020!important;background:#15120d!important;position:relative!important;z-index:2!important
}
.eo-inline-production-content,.eo-inline-arrange-content,.eo-native-workspace-body{
  flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;
  padding:14px 16px 56px!important;box-sizing:border-box!important;background:#090909!important
}
.eo-inline-production-content>.eo-native-form,.eo-inline-arrange-content>.eo-native-form,.eo-native-workspace-body>.eo-native-form{
  width:100%!important;max-width:1120px!important;min-height:0!important;height:auto!important;margin:0 auto!important;box-sizing:border-box!important
}
.eo-prod-task-main{grid-template-columns:74px 105px minmax(0,1fr)!important}
.eo-prod-proof-thumb{width:64px;height:52px;display:grid;place-items:center;border:1px solid #302a20;border-radius:6px;background:#080808;overflow:hidden}
.eo-prod-proof-thumb button{width:100%;height:100%;border:0;padding:0;background:transparent;cursor:pointer}
.eo-prod-proof-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.eo-prod-proof-thumb small{font-size:7px;color:#666;text-align:center}
.eo-selected-machine-file{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #765c2e;border-radius:7px;background:#17130d;padding:10px 12px}
.eo-selected-machine-file b{color:#aaa;font-size:9px}.eo-selected-machine-file a{color:#efc66e!important;font-weight:950;text-decoration:none}
.eo-machine-downloads{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid #332c21;border-radius:7px;padding:10px;background:#0c0c0b}
.eo-machine-downloads strong{color:#d8b35d}.eo-machine-downloads a{color:#d8b35d!important;text-decoration:none}
@media(max-width:760px){
 dialog.eo-workspace-dialog,dialog.eo-inline-production,dialog.eo-inline-arrange,dialog.eo-native-workspace-modal{width:96vw!important;height:92vh!important}
 .eo-prod-task-main{grid-template-columns:58px 80px minmax(0,1fr)!important}.eo-prod-proof-thumb{width:50px;height:44px}.eo-machine-downloads{grid-template-columns:1fr}
}
/* 2.33.08 quick hover preview: never modal/fullscreen */
.eo-quick-file-preview{position:fixed;z-index:2147483645;width:360px;height:300px;box-sizing:border-box;padding:7px;border:1px solid #765c2e;border-radius:8px;background:#080808;box-shadow:0 16px 48px #000;pointer-events:none}
.eo-quick-file-preview[hidden]{display:none!important}.eo-quick-file-preview img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:4px}
@media(max-width:700px){.eo-quick-file-preview{display:none!important}}

/* 2.33.09 production/file UX final pass */
.eo-quick-file-preview{width:360px!important;height:340px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important}

/* Production task files: artwork first, then Job Files, then machine downloads. */
.eo-prod-task-files{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.eo-prod-file-thumb{width:58px!important;height:58px!important;flex:0 0 58px!important;border:1px solid #6a532c!important;border-radius:6px!important;background:#111!important;padding:3px!important;overflow:hidden!important;cursor:pointer!important}
.eo-prod-file-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;border-radius:3px!important}
.eo-prod-task-files>a{white-space:nowrap!important}

/* Production workspace: compact, human-readable hierarchy. */
.eo-pw{max-width:1120px!important;gap:8px!important}
.eo-pw-card{padding:9px 10px!important}
.eo-pw-card h4{font-size:10.5px!important;line-height:1.2!important;margin:0 0 7px!important;letter-spacing:.045em!important}
.eo-pw-fact small,.eo-pw-ro small{font-size:7px!important}
.eo-pw-fact b,.eo-pw-ro strong{font-size:10.5px!important}
.eo-pw-grid label{font-size:8px!important}
.eo-pw-grid input,.eo-pw-grid select,.eo-pw-grid textarea,.eo-pw-compare input{font-size:11px!important;padding:6px 7px!important;min-height:31px!important}
.eo-pw-grid textarea{min-height:48px!important;max-height:66px!important}
.eo-pw-run-grid{grid-template-columns:140px minmax(190px,1fr) minmax(180px,1fr) 120px!important}
.eo-pw-compare{grid-template-columns:105px minmax(180px,1fr) 170px!important;gap:4px!important}
.eo-pw-compare .head{font-size:8px!important}
.eo-pw-compare>div{padding:6px!important;font-size:10.5px!important}
.eo-pw-compare input{height:31px!important;max-width:160px!important}
.eo-pw-actions button,.eo-more-actions summary{font-size:8.5px!important;padding:7px 9px!important}

/* Production files: artwork cards on left, machine file text links on right. */
.eo-pw-files{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,290px)!important;gap:14px!important;align-items:start!important}
.eo-pw-proof-area h5,.eo-pw-machine-files h5{margin:0 0 7px!important;color:#d9b45e!important;font-size:9px!important;letter-spacing:.04em!important}
.eo-pw-proof-list{display:flex!important;flex-direction:row!important;gap:8px!important;flex-wrap:wrap!important;align-items:flex-start!important}
.eo-pw-file{width:142px!important;display:grid!important;grid-template-rows:98px auto!important;gap:5px!important;padding:6px!important}
.eo-pw-file-thumb{width:100%!important;height:98px!important}
.eo-pw-file-name{font-size:8.5px!important;line-height:1.2!important}
.eo-pw-file-actions{display:none!important}
.eo-pw-machine-files{display:block!important;border-left:1px solid #332b20!important;padding-left:13px!important}
.eo-pw-machine-line{display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;gap:8px!important;align-items:start!important;padding:6px 0!important;border-top:1px solid #27231d!important}
.eo-pw-machine-line:first-of-type{border-top:0!important}
.eo-pw-machine-line>strong{color:#d9b45e!important;font-size:8px!important}
.eo-pw-machine-line a{display:block!important;color:#eee!important;text-decoration:none!important;font-size:9.5px!important;line-height:1.35!important;padding:2px 0!important;overflow-wrap:anywhere!important}
.eo-pw-machine-line a:hover{color:#e5bd65!important;text-decoration:underline!important}
.eo-pw-machine-line span{font-size:9px!important;color:#777!important}

/* Arrange cards stay compact; hover is handled by .eo-quick-file-preview, never fullscreen. */
.eo-arrange-proof-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:flex-start!important}
.eo-proof-card{width:142px!important;flex:0 0 142px!important}
.eo-proof-card>button{grid-template-rows:98px auto!important}
.eo-proof-card img{height:98px!important}
.eo-proof-card span{font-size:8.5px!important}

@media(max-width:850px){
 .eo-pw-files{grid-template-columns:1fr!important}.eo-pw-machine-files{border-left:0!important;border-top:1px solid #332b20!important;padding:10px 0 0!important}
 .eo-pw-run-grid{grid-template-columns:1fr 1fr!important}.eo-pw-compare{grid-template-columns:90px 1fr 1fr!important}
}
/* 2.33.11 compact thread plan + large hover preview */
.eo-thread-plan-compact{gap:6px!important}.eo-thread-plan-item{border:1px solid #342d20;border-radius:7px;background:#0c0b09;padding:6px 7px}.eo-thread-plan-main{display:grid;grid-template-columns:38px minmax(170px,1.35fr) 90px minmax(170px,1.2fr) 28px;gap:6px;align-items:end}.eo-thread-plan-main label{font-size:8px!important;margin:0!important}.eo-thread-plan-main input,.eo-thread-plan-main select{min-height:30px!important;height:30px!important;padding:4px 6px!important;font-size:11px!important}.eo-tp-seq input{text-align:center}.eo-thread-colour{display:grid!important;grid-template-columns:22px 1fr!important;gap:5px!important;align-items:center}.eo-thread-colour i{display:block;width:18px;height:18px;border-radius:50%;background:var(--thread,#555);border:1px solid #777}.eo-tp-stock{height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #3b3325;border-radius:5px;font-size:9px;font-weight:900;color:#e2bd69}.eo-thread-machine-map{display:flex;gap:6px;align-items:stretch;flex-wrap:wrap;margin-top:5px}.eo-tm-machine{display:grid;grid-template-columns:auto 1fr;gap:5px;align-items:center;border:1px solid #2f2a20;border-radius:5px;padding:4px 6px;min-height:26px;background:#111}.eo-tm-machine b{font-size:9px;color:#e0b85e}.eo-tm-slots{display:flex;gap:2px}.eo-tm-slot{min-width:20px;height:18px;display:grid;place-items:center;border-radius:3px;background:#1d1c19;color:#ddd;font-size:8px}.eo-tm-slot.empty{opacity:.28}.eo-thread-capacity{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.eo-capacity-chip{border:1px solid #6d552c;border-radius:5px;padding:5px 8px;font-size:9px}.eo-capacity-chip b{color:#e0b85e}.eo-quick-file-preview{width:min(70vw,1100px)!important;height:min(72vh,760px)!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important;z-index:2147483646!important;padding:9px!important}.eo-quick-file-preview img{object-fit:contain!important}.eo-pw-proof-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.eo-pw-file{width:150px!important;flex:0 0 150px!important}.eo-pw-file-thumb{height:112px!important}.eo-prod-task-files .eo-prod-file-thumb{order:-1}.eo-prod-task-files{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
@media(max-width:800px){.eo-thread-plan-main{grid-template-columns:34px 1fr 72px 1fr 28px}.eo-quick-file-preview{display:none!important}}

/* 2.33.14 STANDARD FILE PREVIEW */
.eo-quick-file-preview{width:min(70vw,1200px)!important;height:min(75vh,860px)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;z-index:2147483647!important;padding:8px!important}.eo-pw-file,.eo-pickup-file{width:175px!important;flex-basis:175px!important}.eo-pw-file-thumb,.eo-prod-file-thumb{min-width:165px!important;min-height:130px!important}.eo-arrange-proof-list label{min-width:170px}

/* 2.33.15 production/thread layout cleanup */
.eo-thread-plan-main{grid-template-columns:34px minmax(150px,1.1fr) 82px minmax(150px,1fr) 30px!important;align-items:center!important}
.eo-thread-plan-main label{overflow:visible!important;line-height:1.15!important}
.eo-thread-plan-main input,.eo-thread-plan-main select{height:38px!important;min-height:38px!important;line-height:1.2!important;font-size:13px!important;padding:7px 8px!important;overflow:visible!important}
.eo-thread-plan-main select{appearance:auto!important}
.eo-thread-machine-map{margin-top:6px!important}.eo-tm-machine,.eo-tp-stock{min-height:30px!important}
.eo-pw-garment-progress .eo-pw-garment-row{grid-template-columns:minmax(130px,1fr) minmax(170px,1.15fr) minmax(140px,1fr) 70px 78px 78px 82px!important;gap:8px!important;align-items:center!important;padding:9px 10px!important}
.eo-pw-garment-progress .eo-pw-garment-row.head{padding-bottom:6px!important}
.eo-pw-garment-progress .eo-run-good,.eo-pw-garment-progress .eo-run-defect{display:flex!important;align-items:center!important;gap:5px!important;font-size:7px!important;white-space:nowrap!important;margin:0!important}
.eo-pw-garment-progress .eo-run-good{grid-column:5!important}.eo-pw-garment-progress .eo-run-defect{grid-column:6!important}
.eo-pw-garment-progress .eo-run-good input,.eo-pw-garment-progress .eo-run-defect input{width:72px!important;min-width:72px!important;height:32px!important;min-height:32px!important;padding:4px 6px!important;font-size:12px!important}
.eo-action-editor{margin-top:9px!important;padding:11px!important;border:1px solid #3b3224!important;border-radius:8px!important;background:#0b0b0a!important}
.eo-action-editor .eo-form-grid{grid-template-columns:repeat(3,minmax(150px,1fr))!important;gap:9px!important}.eo-action-editor .wide{grid-column:1/-1!important}
.eo-action-editor input,.eo-action-editor select,.eo-action-editor textarea{min-height:36px!important;font-size:12px!important;padding:7px 8px!important}.eo-action-editor textarea{min-height:58px!important}
.eo-quick-file-preview{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:2147483647!important;width:min(70vw,1200px)!important;height:min(75vh,860px)!important}
.eo-proof-card{width:175px!important;flex:0 0 175px!important}.eo-proof-card>button{grid-template-rows:132px auto!important}.eo-proof-card img{height:132px!important;object-fit:contain!important}
@media(max-width:900px){.eo-pw-garment-progress .eo-pw-garment-row{grid-template-columns:1fr 1fr 1fr 60px 68px 68px 70px!important}.eo-action-editor .eo-form-grid{grid-template-columns:1fr 1fr!important}}
/* 2.33.18 preview must sit above every modal */
.eo-quick-file-preview{position:fixed!important;z-index:2147483647!important;pointer-events:none!important;display:grid!important;place-items:center!important}.eo-quick-file-preview[hidden]{display:none!important}.eo-quick-file-preview img{width:100%!important;height:100%!important;object-fit:contain!important;max-width:none!important;max-height:none!important}
/* machine overview: fit viewport, code-sized labels */
.eo-machine-grid,.eo-machine-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:100%!important;overflow:hidden!important}.eo-machine-card{min-width:0!important;max-width:100%!important;overflow:hidden!important}.eo-machine-card [class*=slot]{min-width:0!important;font-size:8px!important}.eo-machine-card [class*=slot] b,.eo-machine-card [class*=slot] small{font-size:8px!important;line-height:1.05!important}

/* 2.33.19d focused UI fixes */
/* Thread Brand / Series: keep the selected brand fully visible and vertically centered. */
.eo-thread-plan-main{align-items:end!important}
.eo-thread-plan-main label{display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-width:0!important;overflow:visible!important}
.eo-thread-plan-main select[data-list-key="brandChoice"]{
  box-sizing:border-box!important;
  height:40px!important;
  min-height:40px!important;
  line-height:24px!important;
  padding:7px 30px 7px 10px!important;
  font-size:12px!important;
  overflow:visible!important;
  vertical-align:middle!important;
}

/* Production garment table: compact row; dark This Run inputs instead of white browser defaults. */
.eo-pw-garment-progress .eo-pw-garment-row:not(.head){
  min-height:0!important;
  padding:8px 10px!important;
}
.eo-pw-garment-progress .eo-run-pair{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  align-items:center!important;
}
.eo-pw-garment-progress .eo-run-pair label{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:4px!important;
  align-items:center!important;
  color:#d6c6a1!important;
}
.eo-pw-garment-progress .eo-run-pair input{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  min-height:32px!important;
  padding:4px 7px!important;
  background:#0a0a09!important;
  color:#f0f0f0!important;
  border:1px solid #51452f!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
.eo-pw-garment-progress .eo-run-pair input:focus{
  outline:none!important;
  border-color:#d0a64b!important;
}

/* Production list thumbnail remains compact and obviously clickable. */
.eo-prod-task-files .eo-prod-file-thumb{
  min-width:58px!important;
  min-height:58px!important;
  width:58px!important;
  height:58px!important;
  cursor:zoom-in!important;
}

/* Arrange proof: checkbox is gone; card no longer reserves checkbox space. */
#eoApp .eo-arrange-proof-list .eo-proof-card{padding:7px!important}
#eoApp .eo-arrange-proof-list .eo-proof-card>input[type=hidden]{display:none!important}
#eoApp .eo-arrange-proof-list .eo-proof-card>button{margin:0!important}

/* Formal Production Task review: use content-shaped dialog instead of a huge empty 72vw box. */
#eohPreviewOverlay.eohpreview{
  width:auto!important;
  height:auto!important;
  max-width:92vw!important;
  max-height:90vh!important;
}
#eohPreviewOverlay .eohpreview-shell{
  width:auto!important;
  height:auto!important;
  max-width:92vw!important;
  max-height:90vh!important;
}
#eohPreviewOverlay .eohpreview-stage{
  width:auto!important;
  height:auto!important;
  max-width:88vw!important;
  max-height:78vh!important;
  padding:8px!important;
}
#eohPreviewOverlay .eohpreview-stage img{
  width:auto!important;
  height:auto!important;
  max-width:88vw!important;
  max-height:78vh!important;
  object-fit:contain!important;
}



/* 2.33.19f consolidated Production/Sub Job action + preview fixes */

/* All action editors use portal dark controls */
.eo-pw-action-panel select,
.eo-pw-action-panel input,
.eo-pw-action-panel textarea,
.eo-pw-adjust-panel select,
.eo-pw-adjust-panel input,
.eo-pw-adjust-panel textarea,
.eo-pw-add-panel select,
.eo-pw-add-panel input,
.eo-pw-add-panel textarea,
.eo-pw-hold-panel select,
.eo-pw-hold-panel input,
.eo-pw-hold-panel textarea,
.eo-pw-short-panel select,
.eo-pw-short-panel input,
.eo-pw-short-panel textarea,
[data-action-panel] select,
[data-action-panel] input,
[data-action-panel] textarea{
  box-sizing:border-box!important;
  background:#090908!important;
  color:#eee!important;
  border:1px solid #51452f!important;
  border-radius:6px!important;
  box-shadow:none!important;
  min-height:38px!important;
  padding:7px 10px!important;
}
.eo-pw-action-panel textarea,
.eo-pw-adjust-panel textarea,
.eo-pw-add-panel textarea,
.eo-pw-hold-panel textarea,
.eo-pw-short-panel textarea,
[data-action-panel] textarea{min-height:74px!important;resize:vertical!important}
.eo-pw-action-panel select:focus,
.eo-pw-action-panel input:focus,
.eo-pw-action-panel textarea:focus,
[data-action-panel] select:focus,
[data-action-panel] input:focus,
[data-action-panel] textarea:focus{
  outline:none!important;border-color:#d0a44d!important;
}

/* Keep action forms compact and aligned */
.eo-pw-action-panel,
.eo-pw-adjust-panel,
.eo-pw-add-panel,
.eo-pw-hold-panel,
.eo-pw-short-panel,
[data-action-panel]{
  gap:10px!important;
}
.eo-pw-action-panel label,
[data-action-panel] label{
  color:#d7c59d!important;
  font-size:10px!important;
  font-weight:800!important;
}

/* Production garment rows and THIS RUN fields */
.eo-pw-garment-progress .eo-pw-garment-row:not(.head){
  padding:8px 10px!important;
  min-height:0!important;
}
.eo-pw-garment-progress .eo-run-pair input{
  background:#090908!important;color:#eee!important;border:1px solid #51452f!important;
  height:32px!important;min-height:32px!important;border-radius:5px!important;padding:4px 7px!important;
}

/* Arrange proof cards: no checkbox space */

#eoApp .eo-arrange-proof-list .eo-proof-card{padding:7px!important}
#eoApp .eo-arrange-proof-list .eo-proof-card>button{margin:0!important}

/* Formal file review should fit content, not occupy almost the whole screen */
#eohPreviewOverlay.eohpreview{
  width:auto!important;height:auto!important;
  max-width:90vw!important;max-height:88vh!important;
  margin:auto!important;
}
#eohPreviewOverlay .eohpreview-shell{
  width:auto!important;height:auto!important;
  max-width:90vw!important;max-height:88vh!important;
}
#eohPreviewOverlay .eohpreview-stage{
  width:auto!important;height:auto!important;
  max-width:86vw!important;max-height:76vh!important;
  padding:8px!important;
}
#eohPreviewOverlay .eohpreview-stage img{
  width:auto!important;height:auto!important;
  max-width:86vw!important;max-height:76vh!important;
  object-fit:contain!important;
}

/* Production thumbnails are clearly interactive */
.eo-prod-file-thumb,.eo-pw-file-thumb{cursor:zoom-in!important}

/* 24.2 Arrange thread flow */
#eoApp .eo-thread-plan-main select[data-list-key="brandChoice"]{height:40px!important;min-height:40px!important;line-height:24px!important;padding:7px 30px 7px 10px!important;font-size:12px!important}
#eoApp .eo-thread-plan-wrap,#eoApp .eo-thread-plan{order:1}
#eoApp [data-thread-arrange],#eoApp .eo-thread-arrange-button{order:2;margin-top:10px!important}



/* 24.5 targeted quick preview */
#eoQuick245{position:fixed;z-index:2147483000;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;height:max-content;max-width:72vw;max-height:78vh;padding:7px;border:1px solid #5d4a29;border-radius:8px;background:#080808;box-shadow:0 18px 65px rgba(0,0,0,.72);pointer-events:none}
#eoQuick245 img{display:block;width:auto;height:auto;max-width:calc(72vw - 14px);max-height:calc(78vh - 14px);object-fit:contain}

/* 24.6: quick preview uses Popover Top Layer so it stays above Arrange/Sub Job dialogs without modal/backdrop */
#eoQuick245[popover]{position:fixed!important;inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;margin:0!important}
#eoQuick245::backdrop{display:none!important;background:transparent!important;pointer-events:none!important}

/* 24.7 finishing */
#eoPdf247{width:min(920px,86vw);height:min(900px,88vh);padding:0;border:1px solid #5d4a29;border-radius:9px;background:#090908;color:#eee;overflow:hidden}#eoPdf247::backdrop{background:rgba(0,0,0,.72)}#eoPdf247 header{height:50px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;background:#12100d}#eoPdf247 header strong{color:#e2bd68;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#eoPdf247 header button,#eoPdf247 footer a{border:1px solid #6d552c;border-radius:5px;background:#17130d;color:#e3bd68;padding:7px 10px;text-decoration:none;font-weight:900}#eoPdf247 iframe{display:block;width:100%;height:calc(100% - 96px);border:0;background:#fff}#eoPdf247 footer{height:46px;display:flex;align-items:center;justify-content:flex-end;padding:0 12px;background:#12100d}
#eoht .eohn.job-thread{position:relative;background:#111!important;box-shadow:0 0 0 1px var(--jobc,#777) inset!important}#eoht .eohn.job-thread b,#eoht .eohn.job-thread small{color:#eee!important}.eohseq{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:var(--jobc,#777);color:#fff;font-size:8px;font-style:normal;font-weight:900;border:1px solid #999}
.eo-heads247{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px;min-height:36px;align-items:center}.eo-heads247 input{display:none!important}.eo-heads247 span{display:block;padding:7px 10px;border:1px solid #51452f;border-radius:5px;background:#0a0a09;color:#aaa;font-size:10px;font-weight:900;cursor:pointer}.eo-heads247 input:checked+span{border-color:#d0a44d;background:#1b160c;color:#f0c967}
.eo-action-editor input,.eo-action-editor select,.eo-action-editor textarea,.eo-action-compact input,.eo-action-compact select{background:#090908!important;color:#eee!important;border:1px solid #51452f!important;border-radius:6px!important;box-shadow:none!important}.eo-action-compact{display:grid!important;grid-template-columns:minmax(180px,1fr) 120px minmax(220px,2fr)!important;gap:10px!important;align-items:end!important}
.eo-run-pair input{background:#090908!important;color:#eee!important;border:1px solid #51452f!important}

/* 24.8 — formal image review close state */
#eohPreviewOverlay:not([open]){display:none!important}
#eohPreviewOverlay[open]{display:grid!important}

/* 24.8 — matched job-thread slots: actual thread colour + subtle breathing */
#eoht .eohn.job-thread{
  position:relative;
  border:2px solid var(--jobc,#d0a44d)!important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 8px color-mix(in srgb,var(--jobc,#d0a44d) 70%,transparent)!important;
  animation:eoJobThreadBreath248 2.2s ease-in-out infinite;
}
#eoht .eohn.job-thread::before{
  content:attr(data-job-seq);
  position:absolute;left:5px;top:5px;
  width:20px;height:20px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--jobc,#d0a44d);
  color:#fff;font-size:10px;font-weight:900;
  border:1px solid rgba(255,255,255,.72);
  text-shadow:0 1px 2px #000;
  box-shadow:0 0 0 1px rgba(0,0,0,.55),0 0 7px var(--jobc,#d0a44d);
}
#eoht .eohn.job-thread .eohdot{
  width:20px!important;height:20px!important;
  border:2px solid rgba(255,255,255,.62)!important;
  box-shadow:0 0 7px var(--jobc,#d0a44d)!important;
}
#eoht .eohn.loaded:not(.job-thread){opacity:.72}
#eoht .eohn:not(.loaded):not(.job-thread){opacity:.48}
@keyframes eoJobThreadBreath248{
  0%,100%{filter:brightness(.94);transform:translateZ(0);box-shadow:0 0 0 1px rgba(255,255,255,.14) inset,0 0 5px color-mix(in srgb,var(--jobc,#d0a44d) 55%,transparent)}
  50%{filter:brightness(1.14);transform:translateZ(0);box-shadow:0 0 0 1px rgba(255,255,255,.28) inset,0 0 14px color-mix(in srgb,var(--jobc,#d0a44d) 90%,white 10%)}
}

/* 25.0 New Order / formal review geometry recovery */
#eohPreviewOverlay[open]{
  position:fixed!important;
  inset:auto!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  width:max-content!important;
  height:max-content!important;
  max-width:82vw!important;
  max-height:86vh!important;
}
#eohPreviewOverlay:not([open]){display:none!important}
#eohPreviewOverlay .eohpreview-shell{
  width:max-content!important;
  height:max-content!important;
  max-width:82vw!important;
  max-height:86vh!important;
}
#eohPreviewOverlay .eohpreview-stage{
  width:max-content!important;
  height:max-content!important;
  max-width:78vw!important;
  max-height:74vh!important;
  padding:8px!important;
}
#eohPreviewOverlay .eohpreview-stage img{
  display:block!important;
  width:auto!important;height:auto!important;
  max-width:78vw!important;max-height:74vh!important;
  object-fit:contain!important;
}

/* Goods Check + Accounting lazy thumbnails */
.eo-goods-quick25{
  position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);
  z-index:2147483001;max-width:72vw;max-height:78vh;padding:7px;
  border:1px solid #5d4a29;border-radius:8px;background:#080808;
  box-shadow:0 18px 65px rgba(0,0,0,.72);pointer-events:none
}
.eo-goods-quick25[hidden]{display:none!important}
.eo-goods-quick25 img{display:block;width:auto;height:auto;max-width:calc(72vw - 14px);max-height:calc(78vh - 14px);object-fit:contain}
.eo-account-lazy25{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%}
.eo-account-file25{border:1px solid #34302a;border-radius:8px;background:#111;padding:9px;min-width:0}
.eo-account-file25>strong{display:block;color:#e6c477;font-size:11px;margin-bottom:7px}
.eo-account-thumb25{height:110px;background:#1a1a1a;display:grid;place-items:center;overflow:hidden;border:1px solid #28231b}
.eo-account-thumb25 img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.eo-account-thumb25 small{color:#777;font-weight:800}
.eo-account-actions25{display:flex;gap:7px;margin-top:7px}
.eo-account-actions25 button,.eo-account-actions25 a{flex:1;text-align:center;border:1px solid #5d4a29;background:#11100d;color:#e2bd69!important;border-radius:5px;padding:7px;text-decoration:none;font-size:9px;font-weight:900}

/* 25.1 New Order centered review — replaces legacy bare negative-coordinate Drive iframe */
#eoNewOrderReview251{
 width:max-content!important;height:max-content!important;
 max-width:82vw!important;max-height:88vh!important;
 margin:auto!important;padding:0!important;
 border:1px solid #70582d!important;border-radius:10px!important;
 background:#090909!important;color:#eee!important;overflow:hidden!important;
}
#eoNewOrderReview251::backdrop{background:rgba(0,0,0,.72)!important}
#eoNewOrderReview251 header{height:48px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 12px;border-bottom:1px solid #3b3020;background:#15120d}
#eoNewOrderReview251 header strong{color:#e4bd67;font-size:11px}
#eoNewOrderReview251 header button,#eoNewOrderReview251 footer a{background:#17130d;color:#e9c879;border:1px solid #5d4a29;padding:7px 10px;text-decoration:none;font-weight:900;font-size:9px}
#eoNewOrderReview251 .eo-no251-body{display:grid;place-items:center;max-width:78vw;max-height:74vh;padding:8px;background:#070707}
#eoNewOrderReview251 img{display:block;width:auto;height:auto;max-width:78vw;max-height:74vh;object-fit:contain}
#eoNewOrderReview251 iframe{width:min(820px,78vw);height:min(720px,74vh);border:0;background:#fff}
#eoNewOrderReview251 footer{height:44px;display:flex;align-items:center;justify-content:flex-end;padding:0 10px;border-top:1px solid #3b3020}

/* 25.3.38 — one sequence badge only; keep it aligned inside the matched needle cell */
#eoht .eohn.job-thread::before{display:none!important;content:none!important}
#eoht .eohn.job-thread .eohseq{
  position:absolute!important;
  top:5px!important;
  left:5px!important;
  width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:var(--jobc,#777)!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
  border:1px solid rgba(255,255,255,.72)!important;
  text-shadow:0 1px 2px #000!important;
  box-shadow:0 0 0 1px rgba(0,0,0,.55),0 0 7px var(--jobc,#777)!important;
  z-index:2!important;
}


/* 25.3.40 — sequence number sits inside the actual thread-colour dot */
#eoht .eohn.job-thread::before{display:none!important;content:none!important}
#eoht .eohn.job-thread .eohdot{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
}
#eoht .eohn.job-thread .eohdot .eohseq{
  position:static!important;
  inset:auto!important;
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:9px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:950!important;
  text-shadow:0 1px 2px #000,0 0 2px #000!important;
  z-index:3!important;
  pointer-events:none!important;
}


/* 25.3.44 — Per-Sub-Job design/proof selection */
#eoApp .eo-arrange-proof-list .eo-proof-card{
  position:relative!important;
  border:1px solid #403a2a!important;
  background:#0d0d0c!important;
  transition:border-color .12s ease, box-shadow .12s ease, background .12s ease!important;
}
#eoApp .eo-arrange-proof-list .eo-proof-card.selected{
  border-color:#d6aa4d!important;
  background:#151109!important;
  box-shadow:inset 0 0 0 1px rgba(214,170,77,.16)!important;
}
#eoApp .eo-arrange-proof-list .eo-proof-select-label{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  width:max-content!important;
  margin:0 0 6px!important;
  padding:3px 6px!important;
  border:1px solid #4d4026!important;
  border-radius:5px!important;
  background:#10100e!important;
  color:#9c927f!important;
  font:900 8px/1 Arial,sans-serif!important;
  cursor:pointer!important;
}
#eoApp .eo-arrange-proof-list .eo-proof-select-label input[type=checkbox][data-proof-select]{
  display:block!important;
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  margin:0!important;
  padding:0!important;
  accent-color:#d6aa4d!important;
}
#eoApp .eo-arrange-proof-list .eo-proof-card.selected .eo-proof-select-label{
  color:#efc66c!important;
  border-color:#7a602e!important;
  background:#1a150b!important;
}

/* 25.3.59 physical cone-size badges: 5K = 5000m, 1K = 1000m. */
.mt46-slot,.eo-mt-slot{position:relative!important}
.mt59-spool,.eo-mt-spool59{position:absolute;right:5px;top:5px;min-width:22px;height:17px;padding:0 4px;border:1px solid #7d6330;border-radius:999px;background:#17130d;color:#efc86f;font-style:normal;font-size:8px;font-weight:950;line-height:15px;text-align:center;letter-spacing:.03em}
.mt59-spool.unknown,.eo-mt-spool59.unknown{border-color:#555;color:#888;background:#151515}
.mt59-loaded-size{display:flex;align-items:center;gap:6px;margin:7px 0;padding:7px 8px;border:1px solid #3b3222;border-radius:6px;background:#100e0b}
.mt59-loaded-size span{font-size:9px;color:#999;font-weight:900;margin-right:3px}
.mt59-loaded-size b{min-width:26px;text-align:center;color:#f0c96e}
.mt59-loaded-size button{min-width:34px!important;padding:5px 7px!important;border:1px solid #5c4928!important;background:#17130d!important;color:#e9c46c!important;border-radius:5px!important;font-size:9px!important;font-weight:950!important}
