:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182230;background:#f5f7fa;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;border-radius:9px;background:#246bfd;color:#fff;padding:10px 16px;font-weight:650;cursor:pointer}button:hover{filter:brightness(.96)}input,select{width:100%;border:1px solid #d5dce5;border-radius:9px;padding:10px 12px;background:#fff;color:#182230;outline:none}input:focus,select:focus{border-color:#246bfd;box-shadow:0 0 0 3px #246bfd18}label{display:grid;gap:6px;font-size:13px;font-weight:600}.hidden{display:none!important}.muted{color:#667085}.error{color:#c83232;min-height:20px;font-size:13px}.brand{font-weight:900;letter-spacing:.12em;color:#246bfd;font-size:25px}.login-shell{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,#e9f0ff,#f7f9fc 55%)}.card{background:#fff;border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 12px 35px #34405412}.login-card{width:min(420px,calc(100vw - 32px));padding:34px;display:grid;gap:17px}.login-card h1{margin:4px 0 0}.login-card p{margin:0}.app-shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:#101828;color:#fff;padding:24px 16px;display:flex;flex-direction:column;gap:30px}.side-brand{padding:0 10px;color:#fff}nav{display:grid;gap:8px}.nav-item{background:transparent;text-align:left;color:#b8c3d6}.nav-item.active,.nav-item:hover{background:#ffffff14;color:#fff}.user-panel{margin-top:auto;display:grid;gap:4px;padding:12px 10px;border-top:1px solid #ffffff20}.user-panel span{font-size:12px;color:#9eabc0;overflow:hidden;text-overflow:ellipsis}.secondary{background:#eef2f7;color:#344054}.user-panel .secondary{margin-top:10px;background:#ffffff14;color:#fff}.workspace{padding:28px;min-width:0}.workspace header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.workspace h1{margin:0}.workspace header p{margin:4px 0 0}.toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:14px}.toolbar input{max-width:420px}.pill{background:#e8efff;color:#2459b8;padding:7px 12px;border-radius:999px;font-size:13px}.table-wrap{background:#fff;border:1px solid #e3e8ef;border-radius:14px;overflow:auto}table{width:100%;border-collapse:collapse;min-width:850px}th,td{text-align:left;padding:14px;border-bottom:1px solid #eef1f5;font-size:14px}th{background:#fafbfc;color:#667085;font-size:12px;text-transform:uppercase;letter-spacing:.03em}tr:last-child td{border-bottom:0}.row-actions{display:flex;gap:6px}.row-actions button{padding:6px 9px;font-size:12px}.danger{background:#fff0f0;color:#bd2424}.empty{text-align:center;padding:55px;color:#667085}.status-card{padding:24px}.status-card pre{white-space:pre-wrap;background:#101828;color:#d5e2ff;border-radius:10px;padding:18px}dialog{border:0;border-radius:16px;padding:0;width:min(650px,calc(100vw - 30px));box-shadow:0 30px 80px #10182844}dialog::backdrop{background:#10182888}dialog form{padding:24px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0}.icon-button{background:transparent;color:#667085;font-size:26px;padding:2px 8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}@media(max-width:760px){.app-shell{grid-template-columns:1fr}aside{position:sticky;top:0;z-index:5;flex-direction:row;align-items:center;padding:12px}.side-brand{font-size:18px}nav{display:flex}.user-panel{margin-left:auto;margin-top:0;border:0;padding:0}.user-panel strong,.user-panel span{display:none}.user-panel .secondary{margin:0}.workspace{padding:18px}.form-grid{grid-template-columns:1fr}.workspace header{align-items:flex-start}.workspace header button{white-space:nowrap}}
.pda-scanner-video{width:100%;max-width:640px;min-height:240px;background:#111;border-radius:12px;object-fit:cover}
/* iPad-friendly pre-production verification */
.prestart-standard{padding:14px 16px;border:1px solid #b8cdfd;border-radius:12px;background:#f2f6ff}.prestart-standard h3,.prestart-standard p{margin:0 0 8px}.verification-history{display:grid;gap:10px}.verification-history article{display:grid;gap:6px;padding:12px;border-radius:10px}.verification-failed{border:1px solid #f2b8b8;background:#fff4f4;color:#9f2020}.verification-passed{border:1px solid #a8dfbd;background:#f1fbf5;color:#176b3a}.checkbox-line{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.checkbox-line input{width:auto}
.verification-chip{display:block;width:max-content;margin-top:5px;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:700;background:#eef2f7;color:#52606d}.verification-ready,.verification-ready_deviation{background:#e8f7ee;color:#176b3a}.verification-failed,.verification-awaiting_approval{background:#fff0f0;color:#a51d1d}.verification-pending,.verification-not_configured{background:#fff7df;color:#8a5a00}
.prestart-ipad-dialog{width:min(940px,calc(100vw - 24px));max-height:94vh;overflow:auto}.prestart-ipad-dialog form{padding:28px}.prestart-ipad-dialog .form-grid{gap:20px}.prestart-ipad-dialog label{font-size:15px}.prestart-ipad-dialog input,.prestart-ipad-dialog select,.prestart-ipad-dialog textarea{min-height:52px;font-size:17px}.prestart-ipad-dialog .checkbox-line input{min-height:auto;width:24px;height:24px}.prestart-ipad-dialog .dialog-actions{position:sticky;bottom:0;margin:0 -28px -28px;padding:16px 28px;background:#fff;border-top:1px solid #e3e8ef;box-shadow:0 -8px 22px #10182810}.prestart-ipad-dialog .dialog-actions button{min-height:50px;min-width:128px;font-size:16px}
@media(max-width:760px){.prestart-ipad-dialog{width:100vw;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}.prestart-ipad-dialog form{padding:18px}.prestart-ipad-dialog .dialog-actions{margin:0 -18px -18px;padding:14px 18px}}
.table-wrap{box-shadow:0 8px 24px #1018280a}.table-wrap thead{position:sticky;top:0;z-index:1}.table-wrap tbody tr:nth-child(even){background:#fbfcfe}.table-wrap tbody tr:hover{background:#f3f7ff}.table-subtext{display:block;margin-top:4px;color:#667085;white-space:normal;min-width:150px}.number-cell{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.quality-good{color:#176b3a;font-weight:750}.quality-bad{color:#b42318;font-weight:750}.row-actions{flex-wrap:wrap;min-width:210px}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:750;white-space:nowrap}.status-draft{background:#eef2f7;color:#475467}.status-planned{background:#fff3d6;color:#8a5a00}.status-active{background:#e8f0ff;color:#1d4ed8}.status-completed{background:#e8f7ee;color:#176b3a}.status-cancelled,.status-exception{background:#fff0f0;color:#b42318}
.business-action-cell{position:sticky;right:0;z-index:2;min-width:300px;max-width:380px;background:#fff;box-shadow:-8px 0 14px #1018280a}.table-wrap tbody tr:nth-child(even) .business-action-cell{background:#fbfcfe}.table-wrap tbody tr:hover .business-action-cell{background:#f3f7ff}.business-action-cell .row-actions{align-items:center}.business-action-cell .primary-detail-action{background:#246bfd;color:#fff}.business-action-cell .danger{margin-left:auto}
.business-action-menu{position:relative}.business-action-menu summary{list-style:none;border-radius:9px;background:#eef2f7;color:#344054;padding:6px 9px;font-size:12px;font-weight:650;cursor:pointer;white-space:nowrap}.business-action-menu summary::-webkit-details-marker{display:none}.business-action-menu[open] summary{background:#dfe8f7}.business-action-menu-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:300px;padding:10px;display:flex;flex-wrap:wrap;gap:6px;background:#fff;border:1px solid #d5dce5;border-radius:12px;box-shadow:0 14px 35px #10182828}.business-action-menu-panel button{padding:7px 9px;font-size:12px}
.feedback-success{display:inline-flex;align-items:center;gap:7px;color:#176b3a;background:#e8f7ee;border-radius:9px;padding:8px 11px}.feedback-success::before{content:"✓";font-weight:900}.loading-indicator{display:inline-block;width:16px;height:16px;border:2px solid #c9d5e8;border-top-color:#246bfd;border-radius:50%;vertical-align:-3px;animation:qeos-spin .8s linear infinite}@keyframes qeos-spin{to{transform:rotate(360deg)}}
.toolbar{flex-wrap:wrap;align-items:center;justify-content:flex-start}.toolbar>input[type="search"],.toolbar>input:not([type]){flex:1 1 280px}.toolbar>select{width:auto;min-width:150px;max-width:230px}.toolbar>.compact-filter-label{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#475467}.toolbar>.compact-filter-label input{width:145px}.toolbar>.pill{margin-left:auto;white-space:nowrap}@media(max-width:900px){.toolbar>select{flex:1 1 170px;max-width:none}.toolbar>.compact-filter-label{flex:1 1 210px}.toolbar>.pill{margin-left:0}.business-action-cell{min-width:260px;max-width:320px}}
.print-only{display:none}@media print{body{background:#fff;color:#000}.print-only{display:block;color:#475467;font-size:12px}.app-shell{display:block}.app-shell>aside,.workspace>header,.toolbar,#businessModuleHint,#businessActionResult{display:none!important}.workspace{padding:0}.table-wrap{border:0;box-shadow:none;overflow:visible}table{min-width:0;font-size:10px}th,td{padding:7px;font-size:10px}.business-action-cell,th:last-child{display:none!important}.status-badge{border:1px solid #98a2b3;background:#fff!important;color:#000!important}.business-action-cell{position:static}.dialog-header button,.related-detail-actions{display:none!important}body[data-print-scope="business-detail"] #appView{display:none!important}body[data-print-scope="business-detail"] #businessDetailDialog{display:block;position:static;width:100%;max-width:none;box-shadow:none;border:0}body[data-print-scope="business-detail"] #businessDetailDialog::backdrop{display:none}body[data-print-scope="business-detail"] #businessDetailContent{display:grid;grid-template-columns:1fr 1fr;gap:12px}body[data-print-scope="business-detail"] #businessDetailContent .card{break-inside:avoid;box-shadow:none;border:1px solid #cfd5df}body[data-print-scope="business-list"] dialog{display:none!important}}
@media(max-width:760px){dialog.wide-dialog{width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}.wide-dialog .dialog-header{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid #e3e8ef;padding:14px 16px}.wide-dialog .dialog-header .row-actions{min-width:0}.wide-dialog .dialog-header button{min-height:42px}.wide-dialog .detail-grid{grid-template-columns:1fr;padding:14px}.wide-dialog .detail-grid .card{padding:16px}.related-detail-actions button{min-height:42px;flex:1 1 135px}.business-action-cell{position:static;min-width:260px;box-shadow:none}.business-action-cell .row-actions button{min-height:38px}}

/* Keep every dialog exit control visible and predictable. */
.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.dialog-header>div{min-width:0}
.dialog-header h2{margin:0}
.dialog-header .dialog-back-button{flex:0 0 auto;white-space:nowrap;font-size:14px;padding:9px 13px}
@media(max-width:760px){.dialog-header{gap:10px}.dialog-header .dialog-back-button{min-height:42px}}

/* Lists with an existing detail action also open from the unused row/card area. */
.detail-entry-container{cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}
tbody tr.detail-entry-container:hover>td{background:#edf4ff}
tbody tr.detail-entry-container:focus-visible{outline:3px solid #246bfd;outline-offset:-3px}
article.detail-entry-container:hover,.activity-item.detail-entry-container:hover{box-shadow:0 0 0 2px #8fb2ff}
article.detail-entry-container:focus-visible,.activity-item.detail-entry-container:focus-visible{outline:3px solid #246bfd;outline-offset:2px}

/* Desktop enterprise workspace: compact, information-dense, and keyboard friendly. */
@media(min-width:761px){
  :root{font-size:14px}
  body{background:#f3f5f8}
  .app-shell{grid-template-columns:208px minmax(0,1fr)}
  aside{padding:14px 10px;gap:14px;position:sticky;top:0;height:100vh;overflow-y:auto}
  .side-brand{padding:3px 10px 9px;font-size:21px}
  nav{gap:2px}
  .nav-item{padding:7px 10px;border-radius:6px;font-size:13px;font-weight:550;line-height:1.25}
  .user-panel{padding:10px 8px}
  .workspace{padding:18px 22px 28px}
  .workspace-header{min-height:54px;margin-bottom:14px!important;padding-bottom:12px;border-bottom:1px solid #dfe4ea}
  .page-heading{display:flex;align-items:center;gap:12px;min-width:0}
  .workspace h1{font-size:21px;line-height:1.25}
  .workspace header p{font-size:12px;margin-top:2px}
  button{border-radius:6px;padding:7px 11px;font-size:13px}
  input,select,textarea{border-radius:6px;padding:7px 9px;font-size:13px}
  label{gap:4px;font-size:12px}
  .back-button{background:#fff;color:#344054;border:1px solid #cfd6df;white-space:nowrap}
  .back-button:hover{background:#f6f8fb;filter:none}
  .toolbar{gap:8px;margin-bottom:10px;align-items:center}
  .toolbar input{max-width:340px}
  .card{border-radius:9px;box-shadow:0 1px 2px #1018280a}
  .status-card{padding:15px}
  .table-wrap{border-radius:8px;box-shadow:0 1px 2px #10182808}
  table{min-width:980px}
  th,td{padding:9px 10px;font-size:12.5px;vertical-align:middle}
  th{font-size:11px;letter-spacing:.015em;white-space:nowrap;background:#f7f8fa;color:#475467}
  .status-badge{padding:2px 7px;font-size:11px;border-radius:5px}
  .row-actions{gap:4px;min-width:170px}
  .row-actions button{padding:4px 7px;font-size:11.5px}
  .business-action-cell{min-width:240px;max-width:320px}
  dialog{border-radius:10px}
  dialog form{padding:18px}
  .dialog-header{padding:16px 18px}
  .form-grid{gap:11px 14px;margin:14px 0}
}
.module-tabs{display:flex;gap:4px;margin:0 0 12px;border-bottom:1px solid #dfe4ea;padding-bottom:0}.module-tabs button{border-radius:6px 6px 0 0;background:transparent;color:#475467;border-bottom:2px solid transparent}.module-tabs button.active{color:#175cd3;border-bottom-color:#246bfd;background:#eef4ff}.full-width{grid-column:1/-1}
.unread-row{background:#eef4ff!important}.unread-row td:first-child{box-shadow:inset 3px 0 #246bfd}
.nav-group{display:grid;gap:2px}.nav-center-group{margin:0 0 6px}.nav-center-label{padding:8px 12px 5px;color:#f2f4f7;font-size:13px;font-weight:700;letter-spacing:.02em}.nav-center-group:has(.nav-subitem.active)>.nav-center-label{color:#fff}.nav-submenu{display:grid;gap:2px;margin-left:10px;padding-left:8px;border-left:1px solid #ffffff1f}.nav-subitem{font-size:12px!important;color:#9eabc0!important}.nav-subitem.active,.nav-subitem:hover{color:#fff!important}.nav-group:has(.nav-subitem.active)>.nav-group-parent{color:#fff;background:#ffffff0b}
.channel-status-bar{display:flex;gap:8px;margin:0 0 12px}.conversation-thread{padding:18px;display:grid;gap:10px;max-height:50vh;overflow:auto}.conversation-message{max-width:78%;padding:10px 12px;border-radius:8px;background:#f2f4f7}.conversation-message.outbound{margin-left:auto;background:#e8f0ff}.conversation-message small{display:block;margin-top:5px;color:#667085}
.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 14px}
.section-heading h2{margin:0 0 4px}
.wide-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px;max-height:calc(100dvh - 32px);overflow:auto}
dialog.procurement-material-fullscreen{background:#f4f7fb}
dialog.procurement-material-fullscreen .dialog-head{position:sticky;top:0;z-index:8;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 28px 14px;background:#fff;border-bottom:1px solid #dfe7ef;box-shadow:0 2px 8px #1018280a}
dialog.procurement-material-fullscreen .dialog-head h2{margin:0;font-size:24px;color:#182230}
dialog.procurement-material-fullscreen .dialog-head p{margin:5px 0 0;max-width:1080px;font-size:14px}
dialog.procurement-material-fullscreen .icon-button{flex:0 0 auto}
#procurementMaterialDialogBody{max-width:1680px;margin:0 auto;padding:20px 28px 34px}
#procurementMaterialDialog .procurement-match-note{margin:0 0 14px;padding:10px 12px;border:1px solid #b8d9f4;border-radius:9px;background:#eef8ff;color:#24577a;font-size:14px;font-weight:650}
#procurementMaterialDialog .procurement-profile-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#procurementMaterialDialog .procurement-market-status{grid-column:span 1}
#procurementMaterialDialog .status-item{min-height:118px;justify-content:flex-start}
#procurementMaterialDialog .procurement-profile-section{margin-top:18px;padding:18px;background:#fff;border:1px solid #dfe7ef;border-radius:12px}
#procurementMaterialDialog .procurement-profile-section h3{margin:0 0 4px;color:#183b56;font-size:18px}
#procurementMaterialDialog .section-note{margin:0 0 12px;color:#667085;font-size:13px}
#procurementMaterialDialog .table-wrap{max-height:none;overflow:auto}
#procurementMaterialDialog table{min-width:1060px;table-layout:auto}
#procurementMaterialDialog th,#procurementMaterialDialog td{white-space:normal;vertical-align:top}
#procurementMaterialDialog td:first-child{min-width:300px;overflow-wrap:anywhere}
@media(max-width:1180px){#procurementMaterialDialog .procurement-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){dialog.procurement-material-fullscreen .dialog-head{padding:14px 16px 12px}dialog.procurement-material-fullscreen .dialog-head h2{font-size:20px}#procurementMaterialDialogBody{padding:14px 16px 24px}#procurementMaterialDialog .procurement-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#procurementMaterialDialog .procurement-profile-section{padding:14px}#procurementMaterialDialog td:first-child{min-width:220px}}
.sales-order-entry-dialog{max-width:1240px}.order-entry-section{margin:14px 0;padding:15px;border:1px solid #dfe7ef;border-radius:12px;background:#fff}.order-entry-section h3{margin:0 0 10px;color:#183b56;font-size:17px}.order-customer-finance{padding:10px 14px;background:#f7fbff}.sales-order-line-table{min-width:1080px;table-layout:fixed}.sales-order-line-table input{width:100%;min-width:0}.sales-order-line-table th:nth-child(1){width:24%}.sales-order-line-table th:nth-child(2){width:8%}.sales-order-line-table th:nth-child(3){width:6%}.sales-order-line-table th:nth-child(4){width:10%}.sales-order-line-table th:nth-child(5){width:12%}.sales-order-line-table th:nth-child(6){width:22%}.sales-order-line-table th:nth-child(7){width:10%}.sales-order-line-table th:nth-child(8){width:46px}.sales-order-line-table td{vertical-align:middle}.sales-order-line-table tfoot td{font-weight:800;background:#f1f7fc}.sales-order-line-table tfoot td:nth-child(2){color:#146b9e;font-size:16px}.order-line-subtotal{font-weight:750;color:#233c53}.order-line-stock{font-size:12px}.order-line-stock strong,.order-line-stock small{display:block}.stock-ready{color:#147a45}.stock-shortage{color:#b42318;font-weight:750}.sales-order-entry-dialog .dialog-actions{position:sticky;bottom:-18px;padding:14px 0 2px;background:#fff}@media(max-width:760px){.order-entry-section{padding:12px}.sales-order-entry-dialog .section-heading{flex-direction:column}.sales-order-entry-dialog .section-heading button{width:100%}}
.exhibition-language-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;margin:2px 0 14px;border:1px solid #cfe1f4;border-radius:10px;background:#f4f9ff;font-weight:700}.exhibition-language-bar select{width:auto;min-height:40px;background:#fff}.exhibition-code-note{margin-left:auto;color:#52606d;font-size:13px;font-weight:600}.exhibition-form{display:grid;gap:14px}.exhibition-section{padding:14px;border:1px solid #e0e7ef;border-radius:12px;background:#fff}.exhibition-section h3{margin:0 0 12px;font-size:16px;color:#183b56}.choice-output{background:#f8fafc!important;cursor:default}.choice-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.choice-chips button{min-height:38px;padding:7px 12px;border:1px solid #cbd8e6;border-radius:999px;background:#fff;color:#344054;font-size:13px}.choice-chips button.selected{background:#1769aa;border-color:#1769aa;color:#fff;box-shadow:0 1px 2px #175cd340}.other-input{margin-top:9px}.exhibition-section textarea{min-height:62px}@media(max-width:760px){.exhibition-language-bar{position:sticky;top:72px;z-index:3}.exhibition-code-note{width:100%;margin-left:0}.exhibition-section{padding:12px}.choice-chips button{min-height:42px}.exhibition-form .form-grid{grid-template-columns:1fr}}
.exhibition-staff-section{background:#fff8df;border-color:#efd17b}.exhibition-staff-section h3{color:#7a4d00}.exhibition-audio-panel{padding:12px;border:1px dashed #d8b759;border-radius:10px;background:#fffdf4}.exhibition-audio-panel>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:9px 0}.exhibition-audio-panel textarea{margin-top:8px}.exhibition-form .form-grid{gap:10px}.exhibition-form label{gap:5px}.exhibition-form input,.exhibition-form select{min-height:38px}
.dialog-header .exhibition-recording-top{display:flex;align-items:center;gap:7px;margin-left:auto;margin-right:18px}.dialog-header .exhibition-recording-top button{min-height:34px;padding:6px 10px;font-size:13px}.dialog-header .exhibition-recording-top .is-recording{background:#d92d20;border-color:#d92d20;color:#fff}.dialog-header .exhibition-recording-top .is-recording:hover{background:#b42318}
.suite-summary-wide{grid-column:1/-1}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.detail-grid .card{margin:0;box-shadow:none}
.manufacturing-import-panel .compact-filter-bar{display:grid;grid-template-columns:minmax(180px,260px) minmax(280px,1fr) auto;align-items:end;gap:12px}
.manufacturing-import-panel .compact-filter-bar label{display:grid;gap:6px;min-width:0}
.manufacturing-import-panel .compact-filter-bar input,.manufacturing-import-panel .compact-filter-bar select{width:100%;min-width:0}
.manufacturing-import-panel .compact-filter-bar .row-actions{align-self:end;flex-wrap:nowrap}
.manufacturing-import-panel .status-list{margin-top:14px}
.manufacturing-list-heading{flex-wrap:wrap}
.manufacturing-list-search{display:flex;flex:0 1 480px;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.manufacturing-list-search input{width:min(360px,38vw);min-width:250px}
.manufacturing-list-search .count-pill{white-space:nowrap}
@media(max-width:1050px){#manufacturingMasterDataView .detail-grid .manufacturing-list-heading{flex-direction:column}#manufacturingMasterDataView .detail-grid .manufacturing-list-search{width:100%;flex-basis:auto;justify-content:flex-start}#manufacturingMasterDataView .detail-grid .manufacturing-list-search input{width:100%;min-width:0}}
@media(max-width:760px){.manufacturing-list-heading{flex-direction:column}.manufacturing-list-search{width:100%;flex-basis:auto;justify-content:flex-start}.manufacturing-list-search input{width:100%;min-width:0}.manufacturing-list-search .count-pill{margin:0}}
.warehouse-location-table table{min-width:760px;table-layout:fixed}
.warehouse-location-table th,.warehouse-location-table td{white-space:normal;overflow-wrap:anywhere}
.warehouse-location-table th:first-child{width:24%}
.warehouse-location-table th:last-child{width:20%}
.warehouse-control-tower{margin:0 0 18px;padding:26px;border:1px solid #cfe4f2;border-radius:18px;background:linear-gradient(145deg,#f9fdff 0%,#eff9f6 100%);box-shadow:0 10px 28px #174a5a0d}.warehouse-control-tower>.section-heading{align-items:flex-start}.warehouse-control-tower>.section-heading h2{margin:0;color:#123a55;font-size:28px}.warehouse-control-tower>.section-heading p{max-width:890px;margin:8px 0 0;color:#516b7c;font-size:15px;line-height:1.65}.warehouse-entry-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 18px}.warehouse-entry-actions button{min-height:42px}.warehouse-flow-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.warehouse-flow-lane{display:flex;flex-direction:column;gap:10px;min-height:250px;padding:18px;border:1px solid #cae2e7;border-radius:14px;background:#fff;box-shadow:0 4px 14px #174a5a0b}.warehouse-flow-lane span{color:#317e8b;font-size:13px;font-weight:800}.warehouse-flow-lane h3{margin:2px 0 0;color:#173f58;font-size:20px}.warehouse-flow-lane p{margin:2px 0;color:#354f62;font-size:14px;font-weight:650;line-height:1.75}.warehouse-flow-lane small{margin-top:auto;color:#63798a;line-height:1.5}.warehouse-flow-lane button{align-self:flex-start;margin-top:4px}.warehouse-sop-heading{margin:26px 0 14px;padding-top:20px;border-top:1px solid #cfe0e6}.warehouse-sop-heading h3{margin:0;color:#173f58;font-size:21px}.warehouse-sop-heading p{margin:6px 0 0}.warehouse-sop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.warehouse-sop-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-height:160px;padding:16px;border:1px solid #d6e2e9;border-radius:13px;background:#fff;color:#1a354a;text-align:left;box-shadow:0 3px 10px #174a5a09}.warehouse-sop-card:hover{border-color:#2584a5;background:#f6fcff;transform:translateY(-1px)}.warehouse-sop-card span{color:#2584a5;font-size:12px;font-weight:800}.warehouse-sop-card strong{font-size:18px}.warehouse-sop-card small{color:#65788a;font-size:13px;line-height:1.45}.warehouse-sop-card b{margin-top:auto;color:#176fa0;font-size:13px}.warehouse-boundary-note{margin:18px 0 0;padding:12px 14px;border-left:4px solid #2d8dab;border-radius:8px;background:#f1f8fb;color:#345a6c;font-size:14px;line-height:1.65}.warehouse-sop-dialog .dialog-head{position:sticky;top:0;z-index:2;background:#fff}.warehouse-sop-hero{padding:18px;border-radius:12px;background:linear-gradient(130deg,#edf9fa,#f7fbff)}.warehouse-sop-hero h3{margin:10px 0 4px;color:#123a55;font-size:26px}.warehouse-sop-hero p{margin:0;color:#546e7e}.warehouse-sop-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.warehouse-sop-summary>div{padding:15px;border:1px solid #dbe7ed;border-radius:10px;background:#fff}.warehouse-sop-summary span{display:block;margin-bottom:7px;color:#317e8b;font-size:13px;font-weight:800}.warehouse-sop-summary strong{display:block;color:#243f52;font-size:14px;line-height:1.55}.warehouse-sop-steps,.warehouse-sop-system{margin-top:16px;padding:18px;border:1px solid #dbe7ed;border-radius:12px;background:#fff}.warehouse-sop-steps h3,.warehouse-sop-system h3{margin:0 0 10px;color:#173f58}.warehouse-sop-steps ol{display:grid;gap:10px;margin:0;padding-left:24px;color:#344e60;line-height:1.65}.warehouse-sop-system p{margin:0 0 12px;color:#5d7381;line-height:1.65}.warehouse-sop-system button{min-height:42px}@media(max-width:1050px){.warehouse-flow-lanes,.warehouse-sop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-flow-lane{min-height:220px}}@media(max-width:760px){.warehouse-control-tower{padding:16px;border-radius:12px}.warehouse-control-tower>.section-heading h2{font-size:23px}.warehouse-entry-actions button{flex:1 1 140px}.warehouse-flow-lanes,.warehouse-sop-grid,.warehouse-sop-summary{grid-template-columns:1fr}.warehouse-flow-lane{min-height:auto}.warehouse-sop-hero h3{font-size:22px}.warehouse-sop-card{min-height:135px}}
@media(max-width:760px){.detail-grid{grid-template-columns:1fr}}
@media(max-width:900px){.manufacturing-import-panel .compact-filter-bar{grid-template-columns:1fr}.manufacturing-import-panel .compact-filter-bar .row-actions{flex-wrap:wrap}.manufacturing-import-panel .compact-filter-bar .row-actions button{flex:1 1 140px}}
.activity-list{display:grid;gap:8px}.activity-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px 14px;border:1px solid #e3e8ef;border-radius:10px;background:#fff;color:#182230;text-align:left}.activity-item span{color:#667085;font-size:13px}
.workspace-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.global-quick-action{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#182230;box-shadow:0 1px 2px #1018280a;white-space:nowrap}
.global-quick-action:hover{filter:none;background:#f7f9fc;border-color:#98a2b3}
.notebook-quick-action{background:#f7f2ff;border-color:#ded0f5}
.notebook-quick-action:hover{background:#f0e7ff;border-color:#c8afea}
.global-quick-icon{font-size:18px;line-height:1}
.global-message-badge{position:absolute;top:-8px;right:-7px;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border:2px solid #fff;border-radius:999px;background:#e52929;color:#fff;font-size:11px;font-weight:800;line-height:1}
@media(max-width:760px){.workspace-header{gap:10px;flex-wrap:wrap}.workspace-header-actions{width:100%;justify-content:flex-start}.global-quick-action{flex:1 1 auto;justify-content:center}.global-quick-action span:not(.global-quick-icon):not(.global-message-badge){display:none}.global-quick-icon{font-size:20px}}
.module-description{margin:0 0 9px}
.notification-control-panel{display:grid;gap:7px;margin-bottom:10px;padding:9px;background:#fff;border:1px solid #dfe4ea;border-radius:8px;box-shadow:0 1px 2px #10182808}
.notification-filter-bar{display:grid;grid-template-columns:minmax(260px,2fr) repeat(4,minmax(105px,.72fr)) auto auto auto;gap:7px;align-items:center}
.notification-filter-bar input,.notification-filter-bar select{width:100%;min-width:0;height:34px}
.notification-filter-bar .pill{margin:0;justify-self:start;white-space:nowrap}
.notification-filter-bar button,.notification-action-bar button{height:34px;padding:6px 10px;white-space:nowrap}
.notification-action-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:7px;border-top:1px solid #eef1f5}
.notification-action-bar .pill{margin:0}
.notification-advanced-actions{position:relative}
.notification-advanced-actions summary{height:34px;display:flex;align-items:center;padding:6px 10px;border-radius:6px;background:#eef2f7;color:#344054;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.notification-advanced-actions summary::-webkit-details-marker{display:none}
.notification-advanced-actions[open] summary{background:#dfe8f7}
.notification-advanced-panel{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:min(620px,calc(100vw - 280px));display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(190px,1fr) auto auto;gap:7px;padding:10px;background:#fff;border:1px solid #d5dce5;border-radius:8px;box-shadow:0 14px 35px #10182828}
.notification-advanced-panel select,.notification-advanced-panel input{width:100%;min-width:0;height:34px}
.global-message-layout{padding:0 18px 18px}.global-message-layout .notification-list{max-height:65vh;overflow:auto}.global-message-layout .notification-item{grid-template-columns:minmax(0,1fr) auto}.global-message-layout .notification-item p{white-space:pre-wrap}
.notebook-expanded{position:fixed;inset:14px;z-index:40;padding:18px;overflow:auto;border-radius:14px;background:#f4f7fb;box-shadow:0 20px 70px #0b152b55}.notebook-expanded .personal-note-browser{min-height:calc(100vh - 185px)}
.message-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 20px 12px}.message-dialog-head h2{margin:0}.message-dialog-head p{margin:4px 0 0}.message-time-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px 14px;border-bottom:1px solid #dfe4ea}.message-time-strip>div{display:flex;flex-direction:column;align-items:center;padding:10px;border:1px solid #d9e3e7;border-radius:10px;background:#f7fafb}.message-time-strip small{color:#60717d}.message-time-strip strong{margin-top:2px;color:#244855}.quad-message-layout{display:grid;grid-template-columns:290px minmax(0,1fr);height:min(680px,72vh);padding:14px 20px 20px}.message-contacts{overflow:auto;border:1px solid #dfe4ea;border-radius:10px 0 0 10px;background:#f7f9fb}.message-contact{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border:0;border-bottom:1px solid #dfe4ea;border-radius:0;background:#fff;color:#243445;text-align:left}.message-contact:hover,.message-contact.active{background:#eef7f9;filter:none}.message-contact-label{padding:8px 12px;border-bottom:1px solid #dfe4ea;background:#edf1f5;color:#667085;font-size:12px;font-weight:700}.message-avatar{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:50%;background:#dce7ee;color:#284354;font-weight:800}.message-avatar.group{border-radius:8px;background:#26768a;color:#fff}.message-thread{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;border:1px solid #dfe4ea;border-left:0;border-radius:0 10px 10px 0;background:#fff}.message-thread>h3{margin:0;padding:14px;border-bottom:1px solid #dfe4ea}.message-bubbles{min-height:0;padding:14px;overflow:auto;background:#f8fafb}.message-bubble{display:flex;gap:9px;max-width:82%;margin:0 0 12px}.message-bubble.mine{margin-left:auto;flex-direction:row-reverse}.message-bubble>div{padding:9px 12px;border:1px solid #dfe4ea;border-radius:4px 12px 12px;background:#fff}.message-bubble.mine>div{background:#e7f6f8}.message-bubble strong{font-size:12px}.message-bubble p{margin:5px 0;line-height:1.5}.message-bubble time{color:#7a8794;font-size:11px}.message-composer{padding:10px;border-top:1px solid #dfe4ea}.message-tools{display:flex;gap:6px;overflow-x:auto}.message-tools button{min-height:34px;padding:6px 10px;white-space:nowrap}.message-send-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.message-send-row textarea{min-height:54px}.message-send-row button{min-width:72px}
.message-attachment{display:block;max-width:100%;margin:6px 0;padding:7px 9px;overflow:hidden;border:1px solid #b9cbd4;background:#f7fbfc;color:#17647a;text-overflow:ellipsis;white-space:nowrap;text-align:left}.message-media{margin-top:8px}.message-media .message-attachment{margin:0}.message-media-preview{margin-top:8px;max-width:min(460px,100%)}.message-image-preview,.message-video-preview{display:block;max-width:100%;max-height:360px;border-radius:12px;background:#0f172a;object-fit:contain}.message-bubble time{display:block;margin-top:6px}
.message-contact{position:relative}.message-unread-count{display:grid;min-width:22px;height:22px;margin-left:auto;padding:0 6px;place-items:center;border-radius:999px;background:#e52929;color:#fff;font-size:11px}.message-bubble-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.message-delete{min-width:24px;min-height:24px;padding:0;border:0;background:transparent;color:#8a98a5;font-size:18px}.message-delete:hover{background:#feecec;color:#c52a2a}
.voice-call-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-top:1px solid #b9d8df;background:#e8f7fa;color:#174e5e}.voice-call-bar .row-actions{margin:0}.voice-call-bar button{min-height:34px;padding:6px 12px}#remoteVoiceAudio{display:none}
@media(max-width:760px){.quad-message-layout{grid-template-columns:118px minmax(0,1fr);height:72vh;padding:8px}.message-contact{padding:8px}.message-contact span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-avatar{display:none}.message-time-strip{padding-inline:8px}.message-dialog-head{padding-inline:10px}}
.notebook-heading{padding:18px 20px;margin:0;background:#fff;border:1px solid #dfe4ea;border-radius:12px 12px 0 0}.notebook-summary{display:flex;justify-content:space-between;gap:16px;padding:14px 20px;background:#f3f8fa;color:#667085}.personal-note-browser{display:grid;grid-template-columns:minmax(260px,32%) minmax(0,1fr);min-height:560px;overflow:hidden;border:1px solid #dfe4ea;border-radius:0 0 12px 12px;background:#fff}.personal-note-list-panel{min-width:0;overflow:hidden;border-right:1px solid #dfe4ea;background:#f8fafb}.personal-note-search{padding:14px;border-bottom:1px solid #dfe4ea;background:#fff}.personal-note-search small{display:block;margin-top:8px;color:#667085}.personal-note-list{max-height:650px;overflow:auto}.personal-note-list-item{display:block;width:100%;padding:15px 16px;border:0;border-bottom:1px solid #dfe4ea;border-radius:0;background:transparent;color:#182230;text-align:left}.personal-note-list-item:hover{background:#f0f6f8;filter:none}.personal-note-list-item.active{background:#f7cf55}.personal-note-list-item strong,.personal-note-list-item span,.personal-note-list-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personal-note-list-item strong{font-size:16px}.personal-note-list-item span{margin-top:5px;color:#536170}.personal-note-list-item small{margin-top:6px;color:#667085}.personal-note-list-item.completed{opacity:.66}.personal-note-list-item.completed strong{text-decoration:line-through}.personal-note-detail-panel{min-width:0;padding:26px 30px;overflow:auto;background:#fff}.personal-note-detail-head{display:flex;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid #dfe4ea}.personal-note-detail-head>div:first-child{display:flex;flex-direction:column;gap:5px}.personal-note-detail-head time{color:#667085;font-size:13px}.personal-note-detail h2{margin:26px 0 10px;font-size:28px}.personal-note-detail.completed h2,.personal-note-detail.completed .personal-note-content{text-decoration:line-through;opacity:.68}.personal-note-kind{color:#0f7388;font-size:13px;font-weight:700}.personal-note-actions{display:flex;gap:6px}.personal-note-remind-at{display:block;margin:0 0 20px;color:#b4640d;font-weight:700}.personal-note-content{min-height:300px;color:#344250;font-size:17px;line-height:1.75}.personal-note-share{margin-top:20px;color:#667085}.personal-note-detail-empty{display:grid;min-height:450px;place-items:center;color:#667085}@media(max-width:760px){.personal-note-browser{grid-template-columns:1fr}.personal-note-list-panel{border-right:0;border-bottom:1px solid #dfe4ea}.personal-note-list{max-height:300px}.personal-note-detail-panel{padding:20px}.notebook-summary{flex-direction:column}}
@media(max-width:1100px){.notification-filter-bar{grid-template-columns:minmax(240px,2fr) repeat(2,minmax(120px,1fr))}.notification-filter-bar .pill{justify-self:stretch;text-align:center}.notification-advanced-panel{right:auto;left:0;width:min(620px,calc(100vw - 44px))}}
@media(max-width:760px){.notification-control-panel{padding:8px}.notification-filter-bar{grid-template-columns:1fr 1fr}.notification-filter-bar #notificationSearch{grid-column:1/-1}.notification-filter-bar .pill{justify-self:stretch;text-align:center}.notification-action-bar{align-items:stretch}.notification-action-bar>*{flex:1 1 auto}.notification-advanced-actions{flex-basis:100%}.notification-advanced-actions summary{justify-content:center}.notification-advanced-panel{position:static;width:100%;margin-top:6px;grid-template-columns:1fr}.notification-advanced-panel button{width:100%}}
.performance-progress{display:block;width:100%;min-width:90px;height:6px;margin-top:7px;border:0;border-radius:999px;overflow:hidden;background:#e5eaf1}.performance-progress::-webkit-progress-bar{background:#e5eaf1}.performance-progress::-webkit-progress-value{background:#2563eb}.performance-progress::-moz-progress-bar{background:#2563eb}
.poka-standard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:12px;background:#eef6f8}.poka-standard-toolbar div{display:grid;gap:3px}.poka-standard-toolbar span{color:#60717d;font-size:13px}.poka-standard-items{display:grid;gap:14px}.poka-standard-item{padding:16px;border:1px solid #d9e2e8;border-radius:12px;background:#fff}.poka-item-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.poka-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.poka-item-grid label{font-size:13px}.poka-item-grid input,.poka-item-grid select{min-height:42px}.poka-item-grid .poka-wide{grid-column:span 2}.poka-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px}.poka-check input{width:20px!important;min-height:20px!important}.poka-empty{display:grid;gap:16px;padding:24px;border:1px dashed #98a2b3;border-radius:14px;background:#f8fafc}.poka-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.poka-progress>div{display:grid;gap:6px;padding:12px;border:1px solid #d8e1e8;border-radius:10px;background:#fff}.poka-progress span{color:#667085;font-size:12px}.poka-progress strong{font-size:16px}.poka-gate-ready{border-color:#8dd3a7!important;background:#effbf4!important;color:#176b3a}.poka-gate-blocked{border-color:#f0b3b3!important;background:#fff4f4!important;color:#9f2020}.poka-connection{display:flex;gap:8px;flex-wrap:wrap;padding:10px 12px;border-radius:9px;background:#fff8e5;color:#73510a;font-size:12px}.poka-connection span{padding-right:8px;border-right:1px solid #e9d497}.poka-checklist{display:grid;gap:14px}.poka-check-card{padding:18px;border:2px solid #dfe5eb;border-radius:14px;background:#fff}.poka-check-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.poka-check-card header span{color:#667085;font-size:12px;font-weight:700}.poka-check-card header h3{margin:5px 0 0;font-size:20px}.poka-check-card header>strong{padding:5px 10px;border-radius:999px;background:#eef2f6;color:#52606d;font-size:13px}.poka-passed,.poka-approved_deviation{border-color:#65bd86;background:#f4fcf7}.poka-passed header>strong,.poka-approved_deviation header>strong{background:#dcf5e6;color:#176b3a}.poka-failed,.poka-rejected{border-color:#ef8080;background:#fff7f7}.poka-failed header>strong,.poka-rejected header>strong{background:#ffe1e1;color:#9f2020}.poka-awaiting_approval{border-color:#e4ad3f;background:#fffaf0}.poka-standard-value,.poka-actual-value{display:grid;grid-template-columns:70px minmax(100px,.45fr) 1fr;gap:10px;align-items:center;margin-top:12px;padding:10px 12px;border-radius:8px;background:#f4f7fa}.poka-standard-value span,.poka-actual-value span{color:#667085}.poka-standard-value small,.poka-actual-value small{color:#667085}.poka-confirm-fields,.poka-deviation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #dfe5eb}.poka-confirm-fields .poka-wide{grid-column:span 2}.poka-confirm-fields button,.poka-deviation-fields button{min-height:52px}.poka-history{padding:12px 0}.poka-history summary{cursor:pointer;font-weight:700}.poka-history .table-wrap{margin-top:12px}
@media(max-width:900px){.poka-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.poka-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.poka-confirm-fields,.poka-deviation-fields{grid-template-columns:1fr}.poka-confirm-fields .poka-wide{grid-column:auto}.poka-standard-value,.poka-actual-value{grid-template-columns:1fr}.poka-standard-value span,.poka-actual-value span{font-size:12px}}
@media(max-width:600px){.poka-item-grid,.poka-progress{grid-template-columns:1fr}.poka-item-grid .poka-wide{grid-column:auto}.poka-standard-toolbar{align-items:stretch;flex-direction:column}.poka-check-card{padding:14px}.poka-check-card>header{flex-direction:column}.poka-confirm-fields button,.poka-deviation-fields button{width:100%}}

/* Dense enterprise tables: keep records readable and the whole row usable as the detail entry. */
body{font-size:14px}
.table-wrap table{min-width:max(100%,850px)}
.table-wrap th,.table-wrap td{padding:10px 11px;font-size:13px;line-height:1.35;vertical-align:middle}
.table-wrap th{font-size:11px;white-space:nowrap}
.table-wrap td:last-child{width:1%;white-space:nowrap}
.table-wrap td>button,.table-wrap .row-actions button,.table-wrap .compact-button{min-width:max-content;padding:6px 9px;font-size:12px;line-height:1.25;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}
.table-wrap .table-subtext{min-width:0;margin-top:3px;font-size:12px;line-height:1.3}

/* Business lists: a compact two-tier command surface instead of a loose wrapping form. */
.business-list-toolbar{display:grid;gap:8px;margin:0 0 8px;padding:10px;border:1px solid #dfe4ea;border-radius:10px;background:#fff;box-shadow:0 1px 2px #10182808}
.business-filter-fields{display:grid;grid-template-columns:minmax(250px,1.8fr) repeat(4,minmax(125px,1fr));gap:7px;align-items:center;min-width:0}
.business-filter-fields>input,.business-filter-fields>select{width:100%;min-width:0;max-width:none;height:34px}
.business-filter-fields>.compact-filter-label{display:grid;grid-template-columns:auto minmax(0,145px);align-items:center;justify-content:start;gap:6px;min-width:0;margin:0;color:#475467;font-size:12px;white-space:nowrap}
.business-filter-fields>.compact-filter-label input{box-sizing:border-box;width:145px;min-width:0;max-width:100%;height:34px}
.business-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding-top:8px;border-top:1px solid #eef1f5}
.business-filter-actions>.pill{margin:0;white-space:nowrap}
.business-filter-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.business-filter-action-buttons button{height:34px;padding:6px 10px;white-space:nowrap}
.business-filter-action-buttons #newBusinessButton{min-width:88px}
#businessModuleHint:empty,#businessActionResult:empty{display:none}
#businessModuleHint,#businessActionResult{margin:7px 0 9px;padding:7px 10px;border-radius:7px}
@media(max-width:1250px){.business-filter-fields{grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(125px,1fr))}}
@media(max-width:900px){.business-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.business-filter-fields>#businessSearchInput{grid-column:1/-1}.business-filter-actions{align-items:stretch;flex-direction:column}.business-filter-action-buttons{justify-content:flex-start}.business-filter-action-buttons button{flex:1 1 auto}}
@media(max-width:600px){.business-list-toolbar{padding:8px}.business-filter-fields{grid-template-columns:1fr}.business-filter-fields>#businessSearchInput{grid-column:auto}.business-filter-fields>.compact-filter-label{grid-template-columns:72px minmax(0,1fr)}.business-filter-action-buttons{display:grid;grid-template-columns:1fr 1fr}.business-filter-action-buttons button{width:100%}}

/* Application center: reference-style white cards with compact icons and descriptions. */
.launcher-branding,.launcher-actions{display:none}
.app-launcher-button{border:1px solid #d6dee8;background:#fff;color:#263342;box-shadow:0 2px 8px #1720330d;white-space:nowrap}
.app-launcher-button:hover{border-color:#9eb4ca;background:#f8fafc;color:#0e5ea7;filter:none}
.app-shell:not(.launcher-mode){grid-template-columns:minmax(0,1fr)}
.app-shell:not(.launcher-mode)>aside{display:none}
.app-shell:not(.launcher-mode) .side-brand{font-size:18px;letter-spacing:.04em;line-height:1.3}
.app-shell:not(.launcher-mode) .nav-item .app-icon,.app-shell:not(.launcher-mode) .nav-item .app-description{display:none}
.app-shell:not(.launcher-mode) .nav-item .app-card-copy{display:block;min-width:0}
.app-shell:not(.launcher-mode) .nav-item .app-label{display:block;overflow:hidden;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap}
.app-shell.launcher-mode{display:block;min-height:100vh;background:#f3f5f8}
.app-shell.launcher-mode>.workspace{display:none!important}
.app-shell.launcher-mode>aside{
  display:grid;
  grid-template-columns:minmax(430px,1fr) auto auto;
  grid-template-areas:"branding actions account" "apps apps apps";
  align-items:center;
  gap:20px 14px;
  min-height:100vh;
  padding:26px clamp(24px,2.5vw,44px) 40px;
  overflow:visible;
  color:#182230;
  background:linear-gradient(180deg,#f7f8fa 0,#f2f4f7 44%,#eef1f4 100%);
}
.app-shell.launcher-mode>aside>.side-brand{display:none}
.app-shell.launcher-mode .launcher-branding{
  grid-area:branding;
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.launcher-logo{
  display:grid;
  flex:0 0 52px;
  width:52px;
  height:52px;
  place-items:center;
  border-radius:12px;
  color:#76d0ff;
  background:linear-gradient(145deg,#071422,#111f32);
  box-shadow:0 10px 22px #17203322,inset 0 0 0 1px #ffffff12;
  font-size:27px;
  font-weight:900;
  letter-spacing:-.08em;
}
.launcher-branding h1{margin:0;color:#172033;font-size:clamp(25px,1.75vw,34px);font-weight:900;letter-spacing:-.035em;line-height:1.15}
.launcher-branding p{margin:7px 0 0;color:#697586;font-size:clamp(13px,.85vw,15px);font-weight:520}
.app-shell.launcher-mode .launcher-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:12px}
.launcher-quick-action{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:8px 13px;
  border:1px solid #d7dfe8;
  border-radius:11px;
  color:#172033;
  background:#fff;
  box-shadow:0 3px 10px #1720330d;
  font-size:14px;
  font-weight:760;
  white-space:nowrap;
}
.launcher-quick-action:hover{border-color:#b9c6d5;background:#fbfcfd;filter:none;transform:translateY(-1px)}
.launcher-message-badge{position:absolute;top:-9px;right:-8px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border:2px solid #fff;border-radius:999px;background:#e22f36;color:#fff;font-size:11px;font-weight:850}
.app-shell.launcher-mode .user-panel{
  grid-area:account;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
}
.app-shell.launcher-mode .user-panel strong{max-width:120px;overflow:hidden;color:#344054;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.app-shell.launcher-mode .user-panel>span{display:none}
.app-shell.launcher-mode .user-panel .secondary{min-height:42px;margin:0;padding:8px 11px;border:1px solid #d7dfe8;border-radius:11px;background:#fff;color:#475467;font-size:12px;white-space:nowrap}
.app-shell.launcher-mode .launcher-directory{grid-area:apps;display:grid;gap:12px;min-width:0;padding-top:4px}
.launcher-category-header{display:flex;align-items:center;gap:13px;min-height:42px}
.launcher-category-header>div{display:grid;gap:2px}.launcher-category-header h2{margin:0;color:#1b2b3d;font-size:20px}.launcher-category-header p{margin:0;color:#697586;font-size:12.5px}
.launcher-category-back{min-height:38px;padding:7px 11px;border:1px solid #cfd9e4;border-radius:9px;background:#fff;color:#31536c;font-size:12px;font-weight:750;white-space:nowrap}.launcher-category-back:hover{border-color:#9fb4c8;background:#f8fbfd;filter:none}
.launcher-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.launcher-category-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 12px;min-width:0;min-height:146px;padding:17px;border:1px solid #d6dfe8;border-radius:14px;background:#fff;color:#172033;text-align:left;box-shadow:0 10px 25px #1720330d;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.launcher-category-card:hover,.launcher-category-card:focus-visible{border-color:#aebfd0;background:#fff;box-shadow:0 16px 34px #17203318;filter:none;transform:translateY(-3px)}.launcher-category-card:focus-visible{outline:3px solid #2d87dc55;outline-offset:2px}
.launcher-category-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:12px;background:linear-gradient(145deg,var(--category-icon-from,#347fc1),var(--category-icon-to,#64a8cf));color:#fff;box-shadow:inset 0 1px 0 #ffffff55,0 7px 15px #17203318}.launcher-category-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.launcher-category-copy{display:grid;align-content:start;gap:5px;min-width:0}.launcher-category-copy strong{font-size:18px;font-weight:880;line-height:1.25}.launcher-category-copy small{display:-webkit-box;overflow:hidden;color:#697586;font-size:12px;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.launcher-category-count{align-self:end;color:#607386;font-size:11px;font-weight:750}.launcher-category-enter{align-self:end;justify-self:end;color:#236b9d;font-size:11px;font-weight:800}
.app-shell.launcher-mode #appLauncherGrid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:14px;
  min-width:0;
}
.app-shell.launcher-mode .nav-center-group,.app-shell.launcher-mode .nav-submenu{display:contents}
.app-shell.launcher-mode .nav-center-group.launcher-category-filtered{display:none!important}
.app-shell.launcher-mode .nav-center-label{display:none}
.app-shell.launcher-mode .nav-item{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:9px;
  width:100%;
  min-width:0;
  min-height:140px;
  padding:14px 15px 13px;
  overflow:hidden;
  border:1px solid #d8e0e9;
  border-radius:12px;
  color:#172033;
  background:#fff;
  box-shadow:0 10px 25px #1720330d;
  text-align:left;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.app-shell.launcher-mode .nav-item:hover,.app-shell.launcher-mode .nav-item:focus-visible{
  color:#172033;
  border-color:#b7c7d8;
  background:#fff;
  box-shadow:0 16px 34px #17203318;
  filter:none;
  transform:translateY(-3px);
}
.app-shell.launcher-mode .nav-item:focus-visible{outline:3px solid #2d87dc55;outline-offset:2px}
.app-shell.launcher-mode .app-icon{
  display:grid;
  flex:0 0 36px;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:10px;
  color:#fff;
  background:linear-gradient(145deg,var(--app-icon-from,#2684ff),var(--app-icon-to,#45b7e8));
  box-shadow:inset 0 1px 0 #ffffff55,0 7px 15px #1720331c;
}
.app-shell.launcher-mode .app-icon svg{width:21px;height:21px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.app-shell.launcher-mode .app-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:5px;width:100%;min-width:0}
.app-shell.launcher-mode .app-label{display:block;width:100%;color:#172033;font-size:16px;font-weight:850;line-height:1.22;overflow-wrap:anywhere}
.app-shell.launcher-mode .app-description{display:-webkit-box;width:100%;overflow:hidden;color:#707b8b;font-size:12.5px;font-weight:500;line-height:1.42;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.app-shell.launcher-mode .nav-badge,.app-shell.launcher-mode #collaborationBadge{position:absolute;top:9px;right:9px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#e22f36;color:#fff;font-size:10px;font-weight:850}
@media(max-width:1749px){.app-shell.launcher-mode #appLauncherGrid{grid-template-columns:repeat(6,minmax(0,1fr))}.app-shell.launcher-mode>aside{grid-template-columns:minmax(400px,1fr) auto}.app-shell.launcher-mode .user-panel{grid-column:2}.app-shell.launcher-mode .launcher-actions{grid-row:2;grid-column:2;align-self:start}.app-shell.launcher-mode .launcher-directory{grid-row:3;grid-column:1/-1}}
@media(max-width:1399px){.app-shell.launcher-mode #appLauncherGrid{grid-template-columns:repeat(5,minmax(0,1fr))}.launcher-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell.launcher-mode>aside{grid-template-columns:1fr auto;gap:18px 12px}.app-shell.launcher-mode .launcher-actions{grid-column:1;justify-content:flex-start}.app-shell.launcher-mode .user-panel{grid-column:2}}
@media(max-width:1049px){.app-shell.launcher-mode #appLauncherGrid{grid-template-columns:repeat(4,minmax(0,1fr))}.launcher-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell.launcher-mode>aside{padding:22px 20px 34px}.launcher-branding h1{font-size:25px}.launcher-logo{flex-basis:48px;width:48px;height:48px}.app-shell.launcher-mode .nav-item{min-height:140px;padding:13px}}
@media(max-width:779px){.app-shell.launcher-mode>aside{grid-template-columns:1fr;grid-template-areas:"branding" "actions" "account" "apps";align-items:start;padding:20px 16px 30px}.app-shell.launcher-mode .launcher-actions,.app-shell.launcher-mode .user-panel,.app-shell.launcher-mode .launcher-directory{grid-column:1;grid-row:auto}.app-shell.launcher-mode .launcher-actions{justify-content:flex-start;flex-wrap:wrap}.app-shell.launcher-mode .user-panel{justify-content:flex-start}.app-shell.launcher-mode #appLauncherGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.app-shell.launcher-mode .nav-item{min-height:142px}.launcher-branding p{margin-top:6px}}
@media(max-width:519px){.launcher-logo{flex-basis:44px;width:44px;height:44px;border-radius:10px;font-size:23px}.launcher-branding{gap:11px}.launcher-branding h1{font-size:21px}.launcher-branding p{font-size:12.5px}.launcher-quick-action{min-height:40px;padding:7px 10px;font-size:13px}.launcher-category-grid,.app-shell.launcher-mode #appLauncherGrid{grid-template-columns:1fr}.launcher-category-card{min-height:132px;padding:14px}.launcher-category-header{align-items:flex-start;flex-direction:column}.app-shell.launcher-mode .nav-item{min-height:128px}.app-shell.launcher-mode .user-panel strong{display:none}}

/* Factory Brain: keep the scheduling workspace dense and remove empty alert space. */
#factoryBrainView>.dashboard-panel{margin-top:12px}
#factoryBrainView>.detail-grid.dashboard-panel{gap:12px}
#factoryBrainView .section-heading{margin-bottom:10px}
#factoryBrainMetrics{gap:10px}
#factoryBrainMetrics .status-card{padding:12px 14px}
#factoryBrainMetrics .status-card p{margin:5px 0 0;line-height:1.35}
#factoryBrainError:empty{display:none}
#factoryBrainError:not(:empty){margin:8px 0 0;min-height:0}
#factoryBrainView>.card.status-card.dashboard-panel{padding:14px}

/* Coating instructions: show the production line first, then the selected stage's parameters. */
dialog.fullscreen-detail-dialog{inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;overflow:auto}
dialog.fullscreen-detail-dialog::backdrop{background:#101828}
#manufacturingMasterDataDetailDialog{background:#f4f7fb}
#manufacturingMasterDataDetailDialog .dialog-header{position:sticky;top:0;z-index:5;padding:17px 20px 13px;border-bottom:1px solid #dce3ec;background:#fff}
#manufacturingMasterDataDetailDialog .dialog-header h2{font-size:22px}
#manufacturingMasterDataDetailDialog .dialog-header p{margin:4px 0 0;font-size:13px}
#manufacturingMasterDataDetailContent{padding:14px 18px 18px}
.dialog-header-actions{display:flex;align-items:center;gap:9px}
.bom-overview{display:grid;gap:13px}
.bom-product-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border:1px solid #d7e5f1;border-radius:15px;background:linear-gradient(120deg,#f7fbff 0%,#ecf5fc 100%)}
.bom-product-hero>div:first-child>span{color:#2775a8;font-size:11px;font-weight:850;letter-spacing:.07em}.bom-product-hero h3{margin:4px 0;color:#152d42;font-size:21px}.bom-product-hero p{margin:0;color:#64778a;font-size:13px}
.bom-hero-metrics{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bom-hero-metrics span{display:grid;gap:2px;min-width:68px;padding:7px 9px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;color:#657788;font-size:10px;text-align:center}.bom-hero-metrics b{color:#1c4c6d;font-size:17px}
.bom-material-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.bom-material-group{min-width:0;border:1px solid #dce6ee;border-radius:12px;background:#fff;box-shadow:0 4px 13px #17324d0a;overflow:hidden}.bom-material-group>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:12px 13px;border-bottom:1px solid #e6edf2;background:#f8fbfd}.bom-material-group header span,.bom-material-group header small{display:block}.bom-material-group header span{color:#29475e;font-size:14px;font-weight:850}.bom-material-group header small{margin-top:2px;color:#758698;font-size:11px}.bom-material-group header strong{padding:3px 7px;border-radius:999px;background:#eaf3fa;color:#24628b;font-size:11px;white-space:nowrap}.bom-material-lines{display:grid;padding:3px 13px 8px}.bom-material-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #eef2f5}.bom-material-lines>div:last-of-type{border-bottom:0}.bom-material-lines span,.bom-material-lines small{display:block;min-width:0}.bom-material-lines b{display:block;overflow:hidden;color:#263d50;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.bom-material-lines small{overflow:hidden;margin-top:2px;color:#7a8997;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.bom-material-lines>div>strong{color:#1e5f87;font-size:12px;white-space:nowrap}.bom-material-lines>p{margin:6px 0 0;color:#708293;font-size:11px}.bom-full-detail{margin-top:13px;border:1px solid #dce6ee;border-radius:12px;background:#fff;overflow:hidden}.bom-full-detail summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;color:#304a60;font-size:14px;font-weight:850;cursor:pointer;list-style:none}.bom-full-detail summary::-webkit-details-marker{display:none}.bom-full-detail summary::before{color:#2877a9;content:"+";font-size:19px}.bom-full-detail[open] summary::before{content:"−"}.bom-full-detail summary span{margin-right:auto}.bom-full-detail summary strong{padding:3px 8px;border-radius:999px;background:#edf3f7;color:#607789;font-size:11px}
.manufacturing-process-view{display:grid;gap:13px}
.manufacturing-production-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;padding:22px 24px;border:2px solid #1e78d5;border-left-width:8px;border-radius:16px;background:linear-gradient(135deg,#edf7ff,#fff);box-shadow:0 10px 28px #135da51f}
.manufacturing-production-entry h3,.manufacturing-production-mode h3{margin:3px 0 6px;font-size:28px;color:#10243a}.manufacturing-production-entry p{margin:0;max-width:920px;color:#40566f;font-size:16px;line-height:1.6}.manufacturing-production-eyebrow{color:#1267b4;font-size:13px;font-weight:900;letter-spacing:.08em}.manufacturing-production-start,.manufacturing-production-release{min-height:54px;padding:0 24px;border-radius:12px;background:#0d6bc5;font-size:18px;font-weight:900;box-shadow:0 8px 18px #0d6bc533}.manufacturing-production-complete{min-height:48px;background:#163d61;font-weight:850}.manufacturing-production-rule{grid-column:1/-1;padding:10px 14px;border-radius:10px;background:#fff3cd;color:#754900!important;font-weight:800}.manufacturing-production-last{display:grid;gap:2px;min-width:230px;padding:10px 14px;border:1px solid #bdd8f1;border-radius:10px;background:#fff}.manufacturing-production-last span,.manufacturing-production-last small{color:#63788e}.manufacturing-production-mode{display:grid;gap:16px;margin-bottom:20px;padding:22px;border:2px solid #3178bd;border-radius:16px;background:#f8fbff;box-shadow:0 12px 32px #153a5d1a}.manufacturing-production-mode>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #c8d9e8}.manufacturing-production-mode>header p{margin:0;color:#65788a}.manufacturing-production-status{display:grid;min-width:180px;padding:12px 16px;border-radius:12px;background:#e8f2fb;text-align:right}.manufacturing-production-status span{color:#375a78;font-size:13px;font-weight:800}.manufacturing-production-status strong{font-size:27px}.manufacturing-production-status small{color:#667f94}.manufacturing-production-status.blocked{background:#fff0ed;color:#a52c1f}.manufacturing-production-status.ready{background:#e5f7ec;color:#17663a}.manufacturing-production-status.in_production{background:#e8f1ff;color:#0e57a5}.manufacturing-production-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.manufacturing-production-timeline>div{display:grid;gap:3px;padding:12px 14px;border:1px solid #d5e1eb;border-radius:10px;background:#fff}.manufacturing-production-timeline span,.manufacturing-production-timeline small{color:#6b7c8e}.manufacturing-production-timeline strong{font-size:15px}.manufacturing-production-progress{height:10px;overflow:hidden;border-radius:999px;background:#dfe9f2}.manufacturing-production-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#15905b,#55b97e);transition:width .25s ease}.manufacturing-production-message{margin:0;padding:12px 15px;border-radius:10px;background:#fff4d6;color:#704900;font-size:16px;font-weight:850}.manufacturing-production-group{overflow:hidden;border:1px solid #cbd9e6;border-radius:13px;background:#fff}.manufacturing-production-group>header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px 16px;background:#edf4fa}.manufacturing-production-group>header span{padding:4px 9px;border-radius:999px;background:#d9e9f7;color:#24587e;font-size:12px;font-weight:850}.manufacturing-production-group>header h4{margin:0;font-size:19px}.manufacturing-production-group>header strong{color:#60758a;font-size:14px}.manufacturing-production-items{display:grid}.manufacturing-production-item{display:grid;grid-template-columns:42px minmax(0,1fr) minmax(270px,360px);align-items:center;gap:14px;padding:15px 16px;border-top:1px solid #e5edf4}.manufacturing-production-item:first-child{border-top:0}.manufacturing-production-item.compliant{background:#f3fbf6}.manufacturing-production-item.noncompliant{background:#fff3f1}.manufacturing-production-sequence{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e7eef5;color:#31536f;font-weight:900}.manufacturing-production-item.compliant .manufacturing-production-sequence{background:#cfeeda;color:#14633a}.manufacturing-production-item.noncompliant .manufacturing-production-sequence{background:#ffd7d1;color:#a02d20}.manufacturing-production-requirement{display:grid;gap:5px}.manufacturing-production-requirement>span{color:#60758a;font-size:13px;font-weight:800}.manufacturing-production-requirement>strong{color:#162b3d;font-size:18px;line-height:1.55;white-space:pre-wrap}.manufacturing-production-requirement>em{color:#a12a1e;font-style:normal;font-weight:800}.manufacturing-production-requirement>small{color:#6a7e8f}.manufacturing-production-choice{display:grid;gap:8px}.manufacturing-production-choice input{width:100%;min-height:38px;border-color:#cad8e4;background:#fff}.manufacturing-production-choice>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.production-choice{min-height:42px;border:2px solid transparent;border-radius:9px;background:#edf2f6;color:#29465e;font-weight:900}.production-choice.compliant-choice:hover,.production-choice.compliant-choice.selected{border-color:#28a266;background:#ddf6e7;color:#12623a}.production-choice.noncompliant-choice:hover,.production-choice.noncompliant-choice.selected{border-color:#d95447;background:#ffe1dc;color:#982b20}.manufacturing-production-mode>footer{display:flex;align-items:center;justify-content:flex-end;gap:15px}.manufacturing-production-mode>footer .error{margin-right:auto}.manufacturing-production-mode button:disabled,.manufacturing-production-mode input:disabled{cursor:not-allowed;opacity:.72}
.manufacturing-process-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:0 2px}
.manufacturing-process-summary>div{display:grid;gap:2px}
.manufacturing-process-summary span{color:#356489;font-size:12px;font-weight:800;letter-spacing:.06em}
.manufacturing-process-summary strong{color:#162a3c;font-size:16px}
.manufacturing-process-summary p{max-width:560px;margin:0;color:#718096;font-size:12px;text-align:right}
.manufacturing-process-track{position:relative;overflow-x:auto;padding:11px 10px 15px;border:1px solid #d8e1eb;border-radius:13px;background:linear-gradient(180deg,#fafdff 0,#eef4f8 100%);box-shadow:0 5px 18px #17324d0b}
.manufacturing-process-track::before{position:absolute;right:10px;bottom:20px;left:10px;height:2px;background:#91a4b7;content:""}
.manufacturing-process-flow{position:relative;z-index:1;display:flex;align-items:end;gap:7px;min-width:max(100%,calc(var(--process-stage-count) * 132px))}
.manufacturing-process-stage{position:relative;display:grid;flex:var(--stage-span) 1 0;grid-template-rows:auto 62px auto auto auto;min-width:124px;min-height:154px;padding:6px 7px 8px;border:1px solid transparent;border-radius:10px;background:transparent;color:#24384a;text-align:left;box-shadow:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}
.manufacturing-process-stage:hover{filter:none;border-color:#a9bfd2;background:#ffffffb8;transform:translateY(-2px)}
.manufacturing-process-stage.active{border-color:#4b91c8;background:#fff;box-shadow:0 7px 18px #315d7f1c;transform:translateY(-3px)}
.manufacturing-process-stage::after{position:absolute;right:-8px;bottom:18px;width:8px;height:2px;background:#4e7089;content:""}
.manufacturing-process-stage:last-child::after{display:none}
.manufacturing-process-stage-number{position:absolute;top:7px;left:7px;z-index:2;display:grid;min-width:23px;height:23px;padding:0 5px;place-items:center;border:1px solid #b9c8d5;border-radius:6px;background:#fff;color:#31566f;font-size:11px;font-weight:850}
.manufacturing-process-method-badge{position:absolute;top:8px;right:7px;z-index:2;padding:2px 5px;border:1px solid #b9cfdd;border-radius:999px;background:#eef7fb;color:#266486;font-size:8.5px;font-weight:850;line-height:1.25;white-space:nowrap}
.manufacturing-process-machine{display:block;height:62px;color:#5e7284}
.manufacturing-process-machine svg{display:block;width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.manufacturing-process-machine .process-floor{stroke:#8395a5;stroke-width:1.2}
.manufacturing-process-machine .process-material{stroke:#1e7fb9;stroke-width:2.6}
.manufacturing-process-machine .process-web{stroke:#167ab5;stroke-width:2.7}
.manufacturing-process-machine .process-direction{fill:#167ab5;stroke:#167ab5;stroke-width:1}
.manufacturing-process-machine .process-roll{fill:#dbe6ee;stroke:#51697b;stroke-width:2.4}
.manufacturing-process-machine .process-roll-core{fill:#fff;stroke:#51697b}
.manufacturing-process-machine .process-coating-roll{fill:#d6e1e8;stroke:#425e72;stroke-width:2.4}
.manufacturing-process-machine .process-micro-roll{fill:#b8cfda;stroke:#315c74}
.manufacturing-process-machine .process-blade-roll{fill:#79a9cf;stroke:#315c74;stroke-width:2.2}
.manufacturing-process-machine .process-blade{fill:#758c98;stroke:#425e72;stroke-width:1.8}
.manufacturing-process-machine .process-slot-head{fill:#dce7ed;stroke:#425e72;stroke-width:2.2}
.manufacturing-process-machine .process-filter-roll{fill:#f1f5f7;stroke:#526a7d;stroke-width:2}
.manufacturing-process-machine .process-liquid{fill:#eb726d;stroke:#a84f4c;stroke-width:1.3}
.manufacturing-process-machine .process-machine{fill:#d8e4eb;stroke:#526a7d}
.manufacturing-process-machine .process-machine-top{fill:#eff4f7;stroke:#526a7d}
.manufacturing-process-machine .process-frame{stroke:#526a7d;stroke-width:2.2}
.manufacturing-process-machine .process-coating{fill:#7db8d7;stroke:#286c94}
.manufacturing-process-machine .process-heat{stroke:#d58b38;stroke-width:2.3}
.manufacturing-process-machine .process-fan{fill:#e9f1f5;stroke:#526a7d}
.manufacturing-process-machine .process-fan-blade{fill:#9fbccc;stroke:#526a7d;stroke-width:1}
.manufacturing-process-stage.active .manufacturing-process-machine{color:#284e68}
.manufacturing-process-stage.active .process-material{stroke:#1175b4}
.manufacturing-process-stage>strong{display:block;overflow:hidden;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.manufacturing-process-stage>small{display:block;overflow:hidden;margin-top:2px;color:#718096;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.manufacturing-process-key-value{display:block;overflow:hidden;margin-top:5px;padding:3px 5px;border-radius:5px;background:#e7eef4;color:#40576a;font-size:10.5px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.manufacturing-process-stage.active .manufacturing-process-key-value{background:#e3f1fb;color:#145b88}
.manufacturing-process-panel{padding:15px 17px 17px;border:1px solid #d8e1eb;border-radius:13px;background:#fff;box-shadow:0 5px 18px #17324d0b}
.manufacturing-process-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:11px;border-bottom:1px solid #e7ecf1}
.manufacturing-process-kicker{color:#3279aa;font-size:11px;font-weight:850;letter-spacing:.06em}
.manufacturing-process-panel h3{margin:3px 0 0;color:#182c3d;font-size:20px}
.manufacturing-process-owner{display:grid;grid-template-columns:auto minmax(90px,auto);gap:2px 8px;align-items:center;font-size:12px}
.manufacturing-process-owner span{color:#8290a0}
.manufacturing-process-owner strong{color:#34495b;font-size:12px;text-align:right}
.manufacturing-process-parameter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.manufacturing-process-parameter{min-width:0;padding:10px 11px;border:1px solid #dfe6ed;border-radius:9px;background:#f8fafc}
.manufacturing-process-parameter span{display:block;overflow:hidden;color:#687789;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.manufacturing-process-parameter strong{display:block;margin-top:4px;overflow-wrap:anywhere;color:#172b3d;font-size:15px;line-height:1.25}
.manufacturing-process-parameter small{display:block;margin-top:4px;color:#7a8795;font-size:10.5px;line-height:1.35}
.manufacturing-process-notes{margin-top:18px;border:2px solid #e6a43b;border-left-width:7px;border-radius:12px;background:linear-gradient(135deg,#fff7dc 0,#fffdf5 72%);box-shadow:0 8px 22px #b66b0018}
.manufacturing-process-notes summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;color:#783f00;font-size:24px;font-weight:900;line-height:1.3;cursor:pointer;list-style:none}
.manufacturing-process-notes summary::-webkit-details-marker{display:none}
.manufacturing-process-notes summary::before{content:"+";color:#c66500;font-size:30px;font-weight:900;line-height:1}
.manufacturing-process-notes[open] summary::before{content:"−"}
.manufacturing-process-notes summary span{margin-left:auto;padding:4px 10px;border-radius:999px;background:#ffe8a8;color:#744000;font-size:14px;font-weight:850}
.manufacturing-process-notes ol{margin:0;padding:18px 28px 22px 52px;border-top:2px solid #f0c978;color:#1f2f3d;font-size:24px;font-weight:700;line-height:1.65}
.manufacturing-process-notes li{margin-top:10px;padding-left:4px;white-space:pre-wrap}
.manufacturing-process-notes li::marker{color:#bd6200;font-weight:900}
.manufacturing-process-empty{padding:44px;text-align:center;color:#667085}
.manufacturing-process-empty p{margin:6px 0 0}

/* Product technical standards: an interactive layer stack backed by the source drawing. */
.product-standard-view{display:grid;gap:13px}
.product-standard-hero{display:grid;grid-template-columns:minmax(430px,1.05fr) minmax(390px,.95fr);gap:14px;min-height:326px}
.product-layer-stack{position:relative;display:grid;align-content:center;min-height:326px;padding:34px 48px 42px;border:1px solid #d7e2ec;border-radius:15px;background:radial-gradient(circle at 18% 15%,#fff 0,#f5f9fc 42%,#e9f1f7 100%);box-shadow:0 8px 24px #17324d10;isolation:isolate;overflow:hidden}
.product-layer-stack::before{position:absolute;inset:18px;border:1px dashed #c9d7e3;border-radius:12px;content:""}
.product-layer{position:relative;z-index:2;display:grid;grid-template-columns:minmax(145px,1fr) auto;align-items:center;width:calc(100% - var(--layer-index) * 11px);min-height:48px;margin-top:-4px;padding:8px 15px 9px 20px;border:1px solid color-mix(in srgb,var(--layer-color,#4d90c5) 52%,#fff);border-radius:52% 12px 46% 11px/15px 12px 14px 11px;background:linear-gradient(105deg,color-mix(in srgb,var(--layer-color,#4d90c5) 74%,#fff),color-mix(in srgb,var(--layer-color,#4d90c5) 38%,#fff));color:#142d40;text-align:left;box-shadow:0 8px 13px #294f6c1c;transform:translateX(calc(var(--layer-index) * 7px)) perspective(500px) rotateX(5deg);transition:transform .2s ease,filter .2s ease,box-shadow .2s ease;animation:product-layer-breathe 4.8s ease-in-out infinite;animation-delay:calc(var(--layer-index) * -.55s)}
.product-layer:nth-child(1){--layer-color:#5b82d2}.product-layer:nth-child(2){--layer-color:#76b84b}.product-layer:nth-child(3){--layer-color:#e9b2ba}.product-layer:nth-child(4){--layer-color:#8ccfd0}.product-layer:nth-child(5){--layer-color:#b9bdc4}.product-layer:nth-child(6){--layer-color:#cda8e2}
.product-layer:hover{filter:none;transform:translateX(calc(var(--layer-index) * 7px + 7px)) perspective(500px) rotateX(2deg);box-shadow:0 12px 22px #294f6c2b}
.product-layer.active{z-index:3;border-color:#186fa8;outline:3px solid #2e8dc226;transform:translateX(calc(var(--layer-index) * 7px + 12px)) scale(1.015);box-shadow:0 13px 24px #1e5f892d}
.product-layer span{min-width:0;font-size:14px;font-weight:850}.product-layer strong{padding-left:12px;font-size:12px;white-space:nowrap}.product-layer em{grid-column:1/-1;margin-top:2px;color:#385970;font-size:10px;font-style:normal;opacity:.78}
.product-standard-source{display:grid;grid-template-rows:1fr auto;min-width:0;margin:0;padding:12px;border:1px solid #d7e2ec;border-radius:15px;background:#fff;box-shadow:0 8px 24px #17324d10;overflow:hidden}
.product-standard-source img{display:block;width:100%;height:275px;object-fit:contain;animation:product-source-float 5.4s ease-in-out infinite;transform-origin:center}
.product-standard-source figcaption{padding:7px 4px 0;border-top:1px solid #edf1f5;color:#6f8090;font-size:11px;text-align:center}
.product-standard-source-empty{place-content:center;text-align:center;color:#66798b}.product-standard-source-empty p{margin:5px 0 0;font-size:12px}
.product-layer-panel{padding:15px 17px 17px;border:1px solid #d7e2ec;border-radius:14px;background:#fff;box-shadow:0 6px 19px #17324d0d}
.product-layer-panel>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:11px;border-bottom:1px solid #e8edf2}
.product-layer-panel>header span{color:#337aa8;font-size:11px;font-weight:850;letter-spacing:.05em}.product-layer-panel h3{margin:2px 0 0;color:#182d3e;font-size:20px}.product-layer-panel>header>strong{padding:6px 10px;border-radius:8px;background:#edf5fa;color:#265b79;font-size:13px}
.product-layer-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:12px}.product-layer-panel-grid h4{margin:0 0 8px;color:#506477;font-size:12px}
.product-layer-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.product-layer-requirement{min-width:0;padding:9px 10px;border:1px solid #e0e7ee;border-radius:9px;background:#f8fafc}.product-layer-requirement span,.product-layer-requirement small{display:block;color:#718192;font-size:10.5px}.product-layer-requirement strong{display:block;margin:3px 0;color:#162c3d;font-size:14px}.product-layer-requirement small{line-height:1.35}
.product-layer-materials{display:grid;gap:8px}.product-layer-material{padding:10px 11px;border:1px solid #dfe7ee;border-radius:9px;background:#fbfcfd}.product-layer-material header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-layer-material header div{display:grid}.product-layer-material header span{color:#718294;font-size:10px}.product-layer-material header strong{color:#173044;font-size:13px}.product-layer-material header em{color:#688092;font-size:10px;font-style:normal}.product-layer-material>p{margin:5px 0 8px;color:#53687a;font-size:11px}
.product-layer-suppliers{display:grid;gap:5px}.product-layer-supplier{display:grid;grid-template-columns:1fr auto;gap:1px 8px;padding:7px 8px;border-radius:7px;background:#edf6f0}.product-layer-supplier strong{color:#265d3c;font-size:11px}.product-layer-supplier span{color:#4d6d5a;font-size:10px}.product-layer-supplier small{grid-column:1/-1;color:#607768;font-size:9.5px}.product-layer-link-state{padding:7px 8px;border-radius:7px;background:#fff5df;color:#8a652a;font-size:10.5px;font-weight:750}
.product-layer-unlinked{margin:0;padding:12px;border:1px dashed #cfd9e2;border-radius:9px;background:#fafcfd;color:#6c7d8c;font-size:11px;line-height:1.5}.product-layer-unlinked strong{color:#536878}.product-layer-unlinked p{margin:4px 0 0}
.product-standard-requirements{padding:14px 16px 16px;border:1px solid #d7e2ec;border-radius:14px;background:#fff}.product-standard-requirements>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;color:#53687a;font-size:12px}.product-standard-requirements>header span{color:#1a3245;font-size:15px;font-weight:850}
.product-standard-category{border-top:1px solid #e8edf2}.product-standard-category summary{display:flex;align-items:center;justify-content:space-between;padding:10px 2px;color:#344e63;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.product-standard-category summary::-webkit-details-marker{display:none}.product-standard-category summary::before{width:18px;color:#357da9;content:"+";font-size:16px}.product-standard-category[open] summary::before{content:"−"}.product-standard-category summary span{margin-right:auto}.product-standard-category summary strong{padding:2px 7px;border-radius:999px;background:#edf2f6;color:#66798a;font-size:10px}
.product-standard-category>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 0 11px 18px}.product-standard-category article{min-width:0;padding:9px 10px;border:1px solid #e3e9ef;border-radius:8px;background:#fafcfd}.product-standard-category article span,.product-standard-category article small{display:block;color:#718192;font-size:10.5px}.product-standard-category article strong{display:block;margin:3px 0;color:#172d3e;font-size:13px}.product-standard-category article small{line-height:1.35}
@keyframes product-layer-breathe{0%,100%{translate:0 0}50%{translate:0 -2px}}
@keyframes product-source-float{0%,100%{transform:translateY(0) rotate(-.15deg)}50%{transform:translateY(-4px) rotate(.15deg)}}
@media(prefers-reduced-motion:reduce){.product-layer,.product-standard-source img{animation:none}.product-layer{transition:none}}
@media(max-width:950px){.manufacturing-process-parameter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.manufacturing-process-summary{align-items:flex-start;flex-direction:column;gap:5px}.manufacturing-process-summary p{text-align:left}.manufacturing-production-entry{grid-template-columns:1fr}.manufacturing-production-start{justify-self:start}.manufacturing-production-rule{grid-column:1}.manufacturing-production-item{grid-template-columns:38px minmax(0,1fr)}.manufacturing-production-choice{grid-column:2}.manufacturing-production-timeline{grid-template-columns:1fr}}
@media(max-width:950px){.product-standard-hero{grid-template-columns:1fr}.product-layer-panel-grid{grid-template-columns:1fr}.product-standard-category>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#manufacturingMasterDataDetailContent{padding:10px}.manufacturing-process-flow{min-width:calc(var(--process-stage-count) * 118px)}.manufacturing-process-stage{min-width:110px}.manufacturing-process-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manufacturing-process-panel>header{flex-direction:column;gap:8px}.manufacturing-process-owner{width:100%}.manufacturing-production-entry,.manufacturing-production-mode{padding:16px}.manufacturing-production-mode>header{flex-direction:column}.manufacturing-production-status{width:100%;text-align:left}.manufacturing-production-group>header{grid-template-columns:1fr}.manufacturing-production-item{grid-template-columns:1fr}.manufacturing-production-sequence,.manufacturing-production-choice{grid-column:1}.manufacturing-production-choice>div{grid-template-columns:1fr 1fr}.product-layer-stack{min-height:290px;padding:28px 23px 35px}.product-layer{grid-template-columns:1fr;padding-left:14px}.product-layer strong{padding:0}.product-layer-panel>header{align-items:flex-start;flex-direction:column;gap:7px}.product-standard-category>div{grid-template-columns:1fr}}
@media(max-width:480px){.manufacturing-process-parameter-grid,.product-layer-requirements{grid-template-columns:1fr}.product-standard-source img{height:220px}}
.copilot-production-preparation{display:grid;gap:12px;margin:18px 0;padding:15px;border:1px solid #cfe0ed;border-radius:13px;background:linear-gradient(135deg,#f7fbff 0%,#eff7fb 100%)}.copilot-production-preparation>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.copilot-production-preparation>header span:first-child{display:block;color:#2d759f;font-size:11px;font-weight:850;letter-spacing:.05em}.copilot-production-preparation h3{margin:4px 0;color:#19354a;font-size:18px}.copilot-production-preparation header p{margin:0;color:#6b7e8d;font-size:12px}.copilot-production-preparation .status-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.copilot-production-preparation .status-item{padding:9px 10px;border-radius:9px;background:#fff}.copilot-production-preparation .status-item span{display:block;color:#718394;font-size:10px}.copilot-production-preparation .status-item strong{display:block;margin-top:3px;color:#1b536f;font-size:16px}
@media(max-width:760px){.bom-product-hero,.copilot-production-preparation>header{align-items:flex-start;flex-direction:column}.bom-hero-metrics{justify-content:flex-start}.copilot-production-preparation .status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Procurement control tower: source-to-pay decisions stay visible above the record list. */
.procurement-control-tower{margin-bottom:18px;padding:20px;border:1px solid #d8e6f5;border-radius:18px;background:linear-gradient(135deg,#f7fbff 0%,#f2f8f5 100%)}
.procurement-action-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0;padding:11px 13px;border:1px solid #cfe1f2;border-radius:13px;background:#fff}.procurement-action-bar span{color:#62768b;font-size:13px}.procurement-query-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.procurement-material-search{display:flex;align-items:center;gap:9px;margin:0;padding:11px 12px;border:1px solid #d9e6f1;border-radius:12px;background:#fafdff;flex-wrap:wrap}.procurement-material-search label{font-weight:800;color:#173e60}.procurement-material-search input{min-width:220px;flex:1}.procurement-material-search .muted{font-size:12px;flex-basis:100%}.procurement-material-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0 14px}.procurement-material-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;width:100%;padding:12px;text-align:left;border:1px solid #cfe1f2;border-radius:12px;background:#fff;color:#26384b;cursor:pointer}.procurement-material-result:hover,.procurement-drill-card:hover,.procurement-drill-row:hover{border-color:#2f79b7;box-shadow:0 5px 13px rgba(34,91,135,.12)}.procurement-material-result strong{font-size:15px}.procurement-material-result span{font-size:13px;color:#546b81}.procurement-material-result small{grid-column:1/-1;color:#6d8093}.procurement-drill-card{width:100%;border:1px solid #d9e4ee;background:#fff;text-align:left;cursor:pointer}.procurement-drill-row{width:100%;border:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer}.procurement-drill-row strong,.procurement-drill-row span{display:block}.procurement-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.procurement-profile-grid .status-item{padding:12px;background:#f7fbff;border:1px solid #d8e8f5;border-radius:10px}.procurement-profile-section{margin:18px 0}.procurement-profile-section h3{margin:0 0 8px}.procurement-profile-section table{font-size:13px}.detail-list{display:grid;grid-template-columns:max-content 1fr;gap:9px 18px}.detail-list dt{font-weight:800;color:#52667a}.detail-list dd{margin:0}
.procurement-control-tower .section-heading{margin-bottom:14px}.procurement-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.procurement-kpis .status-card{min-height:112px;padding:15px}.procurement-kpis strong{display:block;margin-top:8px;color:#123a5a;font-size:28px;line-height:1}.procurement-kpis small{display:block;margin-top:8px;color:#63768b}.procurement-flow{display:flex;align-items:center;gap:10px;overflow:auto;padding:15px 0 4px;color:#174c75;font-weight:700;white-space:nowrap}.procurement-flow span{padding:8px 11px;border:1px solid #cfe1f2;border-radius:999px;background:#fff}.procurement-flow b{color:#2e75ad}.procurement-tower-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}.procurement-tower-grid .status-card{min-height:130px}
@media(max-width:920px){.procurement-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-tower-grid,.procurement-material-results,.procurement-query-grid,.procurement-profile-grid{grid-template-columns:1fr}.procurement-material-search{align-items:stretch}.procurement-material-search input{min-width:0;flex:1 1 100%}}
