.em-panel,.em-order{margin:16px 0;padding:16px;border:1px solid #3c494f;border-radius:13px;background:#1b2226;color:#eaf0f3}.em-heading{display:flex;justify-content:space-between;gap:14px;align-items:center}.em-heading h3,.em-panel h3{font-size:16px!important;font-weight:500!important;margin:4px 0}.em-panel small,.em-dialog small{color:#acbac3!important;font-size:12px!important;font-weight:400!important;line-height:1.5}.em-filters,.em-search{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.em-search input{flex:2;min-width:150px}.em-search select{flex:1;min-width:130px}.em-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-top:1px solid #39464e}.em-card>div{min-width:0}.em-card h4{font-size:14px!important;font-weight:500!important;margin:6px 0!important;overflow-wrap:anywhere}.em-card p{margin:4px 0!important;font-size:12px!important;font-weight:400!important;color:#b9c6cd!important;line-height:1.5}.em-status{font-size:11px!important;font-weight:500!important;color:#69d3eb!important}.em-panel button,.em-dialog button{width:auto!important;min-width:0!important;min-height:38px!important;margin:0!important;padding:9px 12px!important;border:1px solid #52616b!important;border-radius:9px!important;background:#283239!important;color:#f1f5f7!important;font-size:12px!important;font-weight:400!important;line-height:1.4!important;box-shadow:none!important;white-space:normal}.em-panel button.selected{border-color:#2dbfdf!important;background:#123944!important}.em-dialog button.em-primary{background:#cf0b79!important;border-color:#e32793!important}.em-dialog{box-sizing:border-box!important;width:min(780px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 28px)!important;padding:0!important;border:1px solid #43545e!important;border-radius:16px!important;background:#20272c!important;color:#edf3f7!important;overflow:auto!important}.em-dialog::backdrop{background:#000a}.em-dialog>header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;gap:16px;padding:18px 22px;background:#101a20;border-bottom:1px solid #35434d}.em-dialog h2{margin:4px 0!important;font-size:20px!important;font-weight:500!important}.em-body{padding:18px 22px}.em-dialog form{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:12px 0!important;padding:0!important;display:grid!important;gap:12px!important}.em-dialog .em-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.em-dialog label{display:grid!important;gap:6px!important;margin:0!important;font-size:12px!important;font-weight:400!important}.em-dialog input:not([type=checkbox]),.em-dialog textarea,.em-search input,.em-search select{box-sizing:border-box!important;width:100%!important;min-width:0!important;background:#161d22!important;color:#edf3f7!important;border:1px solid #485a65!important;border-radius:8px!important;font-size:13px!important;font-weight:400!important;padding:10px!important}.em-dialog label.em-check{display:flex!important;align-items:flex-start!important;gap:9px!important;line-height:1.5}.em-dialog input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px!important;margin:2px 0!important}.em-dialog details{margin:16px 0;padding:13px;border:1px solid #43525b;border-radius:10px}.em-dialog summary{cursor:pointer;font-size:13px;font-weight:500}.em-dialog p{font-size:13px!important;line-height:1.5!important;font-weight:400!important}.em-dialog h3{font-size:15px!important;font-weight:500!important}.em-note{padding:12px;border-left:3px solid #23b4d4;background:#172b34;color:#bfdae4}.em-action-zone{display:grid;gap:12px}.em-dialog .error{color:#ff9b9b!important}@media(max-width:560px){.em-dialog .em-grid{grid-template-columns:1fr}.em-body{padding:14px}.em-card{align-items:flex-start;flex-direction:column}.em-heading{align-items:flex-start}.em-filters button{flex:1 1 auto}.em-dialog>header{padding:15px}}
.em-dialog#externalMaquilaDetail button,.em-dialog#externalMaquilaList button,#outsourcingPanel.em-panel button{font-size:13px!important;font-weight:400!important;background:#283239!important;border:1px solid #52616b!important;color:#edf3f7!important;box-shadow:none!important}
.em-dialog#externalMaquilaDetail button.em-primary{background:#cf0b79!important;border-color:#e32793!important}
#outsourcingPanel.em-panel button.selected{background:#123944!important;border-color:#2dbfdf!important}
.em-dialog#externalMaquilaDetail>header>button,.em-dialog#externalMaquilaList>header>button{width:36px!important;height:36px!important;min-height:36px!important;padding:4px!important;font-size:20px!important}

/* Compact neon overview: useful details and actions stay on the card. */
.em-panel .em-neon-card,.em-dialog .em-neon-card{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(270px,1.45fr) minmax(220px,1fr);gap:18px!important;align-items:center!important;margin:10px 0!important;padding:14px 16px!important;border:1px solid #334b57!important;border-left:3px solid #14bddd!important;border-radius:12px!important;background:linear-gradient(105deg,#16282f 0%,#1c252b 42%,#192126 100%)!important;box-shadow:inset 1px 0 12px #00bce00b!important}
.em-panel .em-neon-card.em-late{border-left-color:#efb54c!important}
.em-light{display:inline-flex!important;align-items:center;gap:6px;font-size:10px!important;font-weight:500!important;line-height:1.4;color:#94a7b2!important;letter-spacing:0!important}
.em-light i{display:inline-block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#64717a;box-shadow:none}
.em-light.current{color:#5de0ff!important}.em-light.current i{background:#25d4ff;box-shadow:0 0 8px #25d4ff88}
.em-light.done{color:#85e0b8!important}.em-light.done i{background:#54dca3;box-shadow:0 0 7px #54dca366}
.em-light.alert{color:#f6c96a!important}.em-light.alert i{background:#f5b644;box-shadow:0 0 7px #f5b64477}
.em-folio{display:inline-flex!important;align-items:baseline;gap:9px;margin:5px 0;padding:5px 9px;border:1px solid #198aaa;border-radius:7px;background:#083443;color:#7bddf7!important;font-size:9px!important;letter-spacing:.07em!important}
.em-folio b{color:#bdf1ff!important;font-size:14px!important;font-weight:500!important;letter-spacing:.04em!important}
.em-progress{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 12px;padding-bottom:9px;border-bottom:1px solid #35505c}
.em-card-facts{display:grid;grid-template-columns:1.1fr 1fr;gap:9px 14px}
.em-card-facts>div{display:grid;gap:3px;min-width:0}.em-card-facts small{font-size:9px!important;color:#7899aa!important;font-weight:400!important;letter-spacing:.06em!important}.em-card-facts span{font-size:11px!important;color:#d0e2eb!important;line-height:1.45!important;overflow-wrap:anywhere}
.em-provider-status{display:flex!important;flex-wrap:wrap;gap:6px 12px;margin:9px 0 0!important}.em-provider-status>span{font-size:10px!important;color:#90b4c7!important;font-weight:400!important;overflow-wrap:anywhere}
.em-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-content:center}
#outsourcingPanel.em-panel .em-card-actions button,.em-panel .em-card-actions button,#externalMaquilaList .em-card-actions button{font-size:11px!important;line-height:1.3!important;min-height:34px!important;padding:7px 9px!important;border:1px solid #3b667b!important;background:#1a303c!important;color:#d3ecf7!important;font-weight:400!important;box-shadow:none!important}
#outsourcingPanel.em-panel .em-card-actions button.em-primary,.em-panel .em-card-actions button.em-primary,#externalMaquilaList .em-card-actions button.em-primary{background:#07465b!important;border-color:#0db7df!important;color:#adf1ff!important;box-shadow:0 0 8px #00b8e015!important}
#outsourcingPanel.em-panel .em-card-actions button:hover,#externalMaquilaList .em-card-actions button:hover{border-color:#39c6e8!important;background:#204558!important}
body #app #outsourcingPanel.em-panel .em-filters button{background:#22323d!important;border:1px solid #405b6b!important;color:#bcd1de!important;box-shadow:none!important;font-weight:400!important}
body #app #outsourcingPanel.em-panel .em-filters button.selected{background:#073d50!important;border-color:#1ab7df!important;color:#a9edff!important;box-shadow:inset 0 0 9px #00bfe01a!important}
.em-dialog .em-neon-card.em-detail-summary{grid-template-columns:1fr 1.35fr!important}
@media(max-width:1050px){.em-panel .em-neon-card,.em-dialog .em-neon-card{grid-template-columns:minmax(160px,1fr) minmax(230px,1.4fr)!important}.em-card-actions{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}}
@media(max-width:600px){.em-panel .em-neon-card,.em-dialog .em-neon-card,.em-dialog .em-neon-card.em-detail-summary{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important}.em-card-actions{grid-template-columns:1fr 1fr}.em-card-facts{grid-template-columns:1fr 1fr}}
