.eo-consumables{max-width:none;margin:0;color:#eee}.eo-cons-head,.eo-cons-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.eo-cons-head{padding:16px 0}.eo-cons-head small,.eo-cons-title small{color:#777;font-size:9px}.eo-cons-head h2,.eo-cons-title h3{margin:2px 0!important;color:#e6bd67!important}.eo-cons-head p{margin:4px 0;color:#777;font-size:10px}.eo-cons-head button,.eo-cons-title button{border:1px solid #6a532b;background:#17130d;color:#e5bb61;border-radius:6px;padding:8px 11px;font-weight:900}.eo-cons-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-bottom:12px}.eo-cons-categories button,.eo-cons-subnav button{border:1px solid #333;background:#111;color:#aaa;border-radius:7px;padding:10px;font-weight:900}.eo-cons-categories button small{display:block;margin-top:4px;color:#666;font-size:8px}.eo-cons-categories button.active,.eo-cons-subnav button.active{border-color:#b78c3d;color:#e7bd66;background:#1b160d}.eo-cons-subnav{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0 15px}.eo-cons-subnav button{padding:7px 9px;font-size:9px}.eo-cons-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0 16px}.eo-cons-summary div{border:1px solid #302a20;background:#0d0d0d;border-radius:7px;padding:10px}.eo-cons-summary b{display:block;color:#e4bb64;font-size:19px}.eo-cons-summary span{font-size:8px;color:#777}.eo-common-wrap{border:1px solid #3b3120;background:#0d0c0a;border-radius:9px;padding:12px;margin-bottom:15px}.eo-common-colours{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.eo-common-thread{display:grid;grid-template-columns:20px auto;gap:6px;align-items:center;border:1px solid #3a3429;background:#121212;border-radius:6px;padding:6px 8px;min-width:118px}.eo-swatch{width:18px;height:18px;border-radius:50%;border:1px solid #7776}.eo-common-thread b,.eo-common-thread small{display:block}.eo-common-thread b{font-size:10px}.eo-common-thread small{font-size:7px;color:#777}.eo-machine-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:8px 0 16px}.eo-machine-card{border:1px solid #343027;background:#0d0d0d;border-radius:8px;padding:10px;overflow:auto}.eo-machine-card header{display:flex;justify-content:space-between;gap:8px}.eo-machine-card b{color:#e2b75d}.eo-machine-card small{color:#777}.eo-machine-heads{display:grid;gap:4px;margin-top:8px;min-width:360px}.eo-machine-head{display:grid;grid-template-columns:28px repeat(15,minmax(18px,1fr));gap:2px}.eo-machine-head>span{font-size:7px;color:#777}.eo-machine-slot{height:18px;border:1px solid #302d27;border-radius:3px;background:#151515;font-size:6px;color:#bbb;display:grid;place-items:center;overflow:hidden}.eo-thread-tools{display:flex;gap:7px;margin:8px 0}.eo-thread-tools input,.eo-thread-tools select{height:34px;background:#080808;border:1px solid #333;color:#ddd;border-radius:6px;padding:0 9px}.eo-thread-tools input{flex:1}.eo-thread-inventory{border:1px solid #302a20;border-radius:8px;overflow:hidden}.eo-thread-row2{display:grid;grid-template-columns:30px 90px 115px 85px minmax(130px,1fr) 80px 90px;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid #272727;font-size:10px}.eo-thread-row2 small{display:block;color:#777;font-size:7px}.eo-thread-stock.good{color:#88c998}.eo-thread-stock.low,.eo-thread-stock.out{color:#e8a45f}.eo-cons-placeholder{border:1px dashed #3b3428;border-radius:8px;padding:28px;color:#888}.eo-cons-placeholder h3{color:#dfb45b!important}@media(max-width:850px){.eo-cons-categories,.eo-cons-summary,.eo-machine-summary{grid-template-columns:1fr 1fr}}@media(max-width:560px){.eo-cons-categories,.eo-cons-summary,.eo-machine-summary{grid-template-columns:1fr}.eo-thread-tools{display:grid}}

/* 25.3.45 — machine codes + inventory controls */
.eo-machine-slot{height:24px!important;font-size:8px!important;font-weight:900!important;color:#ddd!important}
.eo-thread-row2{grid-template-columns:30px 90px 105px 80px minmax(130px,1fr) 70px 85px 150px!important}
.eo-thread-actions{display:flex;gap:4px;justify-content:flex-end}.eo-thread-actions button{border:1px solid #584727;background:#15120d;color:#dcb760;border-radius:4px;padding:5px 6px;font-size:7px;font-weight:900;white-space:nowrap}
@media(max-width:900px){.eo-thread-row2{grid-template-columns:28px 80px 90px minmax(120px,1fr) 70px 85px!important}.eo-thread-actions{grid-column:1/-1;justify-content:flex-start}}

/* 25.3.54 — Thread Inventory groups, editable Common Colours and Stock Take placement */
.eo-thread-inventory-title54{margin-top:20px}.eo-thread-inventory-title54>div{min-width:0}.eo-thread-inventory-title54 button{min-width:118px}
.eo-stocked-fold54,.eo-inv-fold54{border:0;background:#0b0b0b}.eo-stocked-fold54>summary,.eo-inv-fold54>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;border-bottom:1px solid #302a20;cursor:pointer;color:#e8c16e;font-size:11px}.eo-stocked-fold54>summary::-webkit-details-marker,.eo-inv-fold54>summary::-webkit-details-marker{display:none}.eo-stocked-fold54>summary:before,.eo-inv-fold54>summary:before{content:'›';font-size:18px;line-height:1;transition:.15s transform}.eo-stocked-fold54[open]>summary:before,.eo-inv-fold54[open]>summary:before{transform:rotate(90deg)}.eo-stocked-fold54>summary b,.eo-inv-fold54>summary b{margin-right:auto}.eo-stocked-fold54>summary span,.eo-inv-fold54>summary span{color:#8e8779;font-size:9px}.eo-stocked-fold54>.eo-inv-fold54,.eo-stocked-fold54>div>.eo-inv-fold54{margin:7px;border:1px solid #2c2922;border-radius:6px;overflow:hidden}.eo-inv-fold54.good>summary{color:#8fd39e}.eo-inv-fold54.low>summary{color:#e8b066}.eo-inv-fold54.out>summary{color:#c98572}.eo-inv-fold-body54 .eo-thread-row2:last-child{border-bottom:0}
.eo-common-thread{grid-template-columns:20px minmax(0,1fr) auto auto;position:relative}.eo-common-thread em{font-style:normal;font-weight:900;color:#e7bd66;border:1px solid #66502c;border-radius:4px;padding:2px 5px;font-size:9px}.eo-common-thread button{border:1px solid #6a3a32;background:#1c1110;color:#ff8e7f;border-radius:5px;width:25px;height:25px;font-weight:900}.eo-common-dialog54{width:min(620px,calc(100vw - 32px));border:1px solid #725b31;border-radius:10px;background:#0d0d0d;color:#eee;padding:0}.eo-common-dialog54::backdrop{background:#000b}.eo-common-dialog54 form{padding:18px;display:grid;gap:14px}.eo-common-dialog54 header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.eo-common-dialog54 h3{margin:0;color:#e8c16e!important}.eo-common-dialog54 small{color:#aaa}.eo-common-dialog54 label{display:grid;gap:6px;color:#d9c9a9;font-size:11px;font-weight:800}.eo-common-dialog54 select{height:42px;background:#080808;color:#f3f0e9;border:1px solid #66583f;border-radius:6px;padding:0 10px}.eo-common-dialog54 button{border:1px solid #6a532b;background:#17130d;color:#e5bb61;border-radius:6px;padding:9px 12px;font-weight:900}.eo-common-dialog54 footer{text-align:right}
html body dialog.eo-dialog49.eo-stock-take49{background:#0b0b0b!important;border-color:#725b31!important}html body dialog.eo-dialog49.eo-stock-take49 h2,html body dialog.eo-dialog49.eo-stock-take49 h3{color:#e8c16e!important}html body dialog.eo-dialog49.eo-stock-take49 :is(p,span,small,b,strong,label,legend,summary,th,td){color:#f0ede6!important;-webkit-text-fill-color:currentColor!important}html body dialog.eo-dialog49.eo-stock-take49 :is(header p,label,small,summary,th){color:#d8c7a6!important}html body dialog.eo-dialog49.eo-stock-take49 :is(input,select,textarea){background:#080808!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#6b5a3e!important}html body dialog.eo-dialog49.eo-stock-take49 [data-st-save]{background:#d9ad53!important;color:#111!important;-webkit-text-fill-color:#111!important}
@media(max-width:700px){.eo-thread-inventory-title54{align-items:flex-start}.eo-thread-row2{grid-template-columns:24px 72px 85px minmax(100px,1fr) 65px 75px}.eo-thread-row2>span:nth-child(4){display:none}}
.eo-thread-row2:has(.eo-thread-actions){grid-template-columns:30px 90px 115px 85px minmax(130px,1fr) 80px 90px 85px}.eo-thread-actions button{white-space:nowrap}

/* 25.3.54b — Common Colours compact card polish */
.eo-common-colours{gap:9px!important}
.eo-common-thread{
  position:relative!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:10px!important;
  min-width:205px!important;
  min-height:58px!important;
  padding:9px 42px 9px 10px!important;
  border-radius:7px!important;
}
.eo-common-thread .eo-swatch{
  width:30px!important;
  height:30px!important;
  border:1px solid #8b8578!important;
  box-shadow:0 0 0 1px #0008 inset!important;
}
.eo-common-thread span{min-width:0!important}
.eo-common-thread b{font-size:11px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eo-common-thread small{margin-top:4px!important;font-size:7px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eo-common-thread button{
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#ff8e7f!important;
  font-size:15px!important;
  line-height:15px!important;
  display:grid!important;
  place-items:center!important;
  opacity:.82!important;
}
.eo-common-thread button:hover{opacity:1!important;background:#25100e!important;border-radius:4px!important}
.eo-common-thread em{
  position:absolute!important;
  right:7px!important;
  bottom:7px!important;
  min-width:22px!important;
  padding:2px 4px!important;
  text-align:center!important;
  font-size:8px!important;
  line-height:1.1!important;
  border-radius:4px!important;
}
@media(max-width:560px){.eo-common-thread{min-width:calc(50% - 5px)!important;flex:1 1 180px}}

/* 25.3.55a: summary cards only; inventory/machine/common styles intentionally remain 25.3.54b */
.eo-cons-summary55a{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.eo-cons-summary55a>div{min-width:0!important;min-height:72px!important;padding:12px 14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.eo-cons-summary55a b{font-size:22px!important;line-height:1!important}
.eo-cons-summary55a span{margin-top:10px!important;line-height:1.2!important}
@media(max-width:760px){.eo-cons-summary55a{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 25.3.55b: five operational thread metrics; do not alter inventory rows */
.eo-cons-summary55b{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.eo-cons-summary55b>div{min-width:0!important;min-height:72px!important;padding:12px 14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.eo-cons-summary55b b{font-size:22px!important;line-height:1!important}
.eo-cons-summary55b span{margin-top:10px!important;line-height:1.2!important}
@media(max-width:900px){.eo-cons-summary55b{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:600px){.eo-cons-summary55b{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* 25.3.56 — distinguish colour count from physical cone count. Inventory rows unchanged. */
.eo-cons-summary56{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
.eo-cons-summary56>div{min-width:0!important;min-height:76px!important;padding:11px 14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.eo-cons-summary56>div>span:last-child{margin-top:8px!important;line-height:1.15!important}
.eo-cons-pair-values56{display:flex!important;align-items:baseline!important;gap:5px!important;margin:0!important;white-space:nowrap!important}
.eo-cons-pair-values56 b{font-size:22px!important;line-height:1!important;margin:0!important}
.eo-cons-pair-values56 small{font-size:8px!important;line-height:1!important;color:#9b907a!important;font-weight:900!important;letter-spacing:.04em!important}
.eo-cons-pair-values56 i{width:1px!important;height:20px!important;background:#3a3225!important;margin:0 5px!important;align-self:center!important}
@media(max-width:820px){.eo-cons-summary56{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* 25.3.58 — full factory consumables inventory */
.eo-cons-stock58{border:1px solid #332d23;background:#0c0c0c;border-radius:9px;padding:12px;margin:10px 0 16px}.eo-cons-stock-title58{margin-bottom:9px}.eo-cons-stock58>[data-cons-list58]{border:1px solid #292720;border-radius:7px;overflow:hidden}.eo-cons-item58{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(240px,1.7fr) 90px 230px;gap:12px;align-items:center;padding:10px 12px;border-bottom:1px solid #262626;background:#0d0d0d}.eo-cons-item58:last-child{border-bottom:0}.eo-cons-item58 b,.eo-cons-item58 small{display:block}.eo-cons-item58 b{font-size:10px;color:#eee}.eo-cons-item58 small{font-size:8px;color:#817b70;margin-top:3px}.eo-cons-item58.uncounted{box-shadow:inset 3px 0 #b97848}.eo-cons-item58.uncounted .eo-cons-qty58 b{color:#e6a260}.eo-cons-qty58{text-align:right}.eo-cons-qty58 b{font-size:17px;color:#e6bd67}.eo-cons-qty58 small{font-weight:900}.eo-cons-actions58{display:flex;gap:5px;justify-content:flex-end}.eo-cons-actions58 button{border:1px solid #5d4a29;background:#15120d;color:#dfb760;border-radius:5px;padding:6px 8px;font-size:8px;font-weight:900;white-space:nowrap}.eo-cons-empty58{padding:20px}.eo-subnav58{margin-top:0}.eo-cons-summary56>div:nth-child(3) .eo-cons-pair-values56 b{color:#e9a761}.eo-cons-summary56>div:nth-child(4) .eo-cons-pair-values56 b{color:#e6bd67}
@media(max-width:900px){.eo-cons-item58{grid-template-columns:1fr 1fr 80px}.eo-cons-actions58{grid-column:1/-1;justify-content:flex-start}}@media(max-width:600px){.eo-cons-item58{grid-template-columns:1fr 70px}.eo-cons-item58>div:nth-child(2){grid-column:1/-1}.eo-cons-actions58{grid-column:1/-1;flex-wrap:wrap}}
