.mfg-app-page {
  background: #f6f8fb;
  min-height: calc(100vh - 58px);
}

.mfg-hero {
  align-items: center;
  background: linear-gradient(135deg, #16324f, #1d6f8f);
  border-radius: 8px;
  color: #fff;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 24px;
}

.mfg-hero span {
  color: #9ee8ff;
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mfg-hero h1 {
  font-size: 30px;
  margin: 6px 0;
}

.mfg-hero p {
  color: #e3f4fb;
  margin: 0;
  max-width: 760px;
}

.mfg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.mfg-hero-meter {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-width: 260px;
  padding: 16px;
}

.mfg-hero-meter i {
  font-size: 30px;
}

.mfg-hero-meter small {
  color: #d5edf6;
}

.mfg-action-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mfg-action-card {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  color: #233242;
  display: grid;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.mfg-action-card:hover {
  border-color: #88b8d0;
  color: #0f5d7e;
}

.mfg-action-card i {
  color: #0f789b;
  font-size: 24px;
}

.mfg-action-card span {
  color: #667085;
  font-size: 13px;
}

.mfg-live-dashboard {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.mfg-live-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.mfg-live-kpi,
.mfg-live-skeleton {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  min-height: 92px;
  padding: 13px;
}

.mfg-live-kpi {
  display: grid;
  gap: 4px;
}

.mfg-live-kpi i {
  color: #0f789b;
  font-size: 20px;
}

.mfg-live-kpi span {
  color: #667085;
  font-size: 12px;
}

.mfg-live-kpi strong {
  color: #182230;
  font-size: 21px;
}

.mfg-live-skeleton {
  overflow: hidden;
  position: relative;
}

.mfg-live-skeleton::after {
  animation: mfgPulse 1.2s infinite;
  background: linear-gradient(90deg, transparent, rgba(15, 120, 155, .12), transparent);
  content: "";
  inset: 0;
  position: absolute;
  transform: translateX(-100%);
}

@keyframes mfgPulse {
  to {
    transform: translateX(100%);
  }
}

.mfg-live-panels {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mfg-command-center {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.05fr 1fr 1fr;
  margin: 18px 0;
}

.mfg-health-panel {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 154px;
  padding: 18px;
}

.mfg-health-ring {
  --score: 0;
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(#fff 58%, transparent 59%),
    conic-gradient(#16a34a calc(var(--score) * 1%), #e5eaf0 0);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  width: 112px;
}

.mfg-health-ring.warn {
  background:
    radial-gradient(#fff 58%, transparent 59%),
    conic-gradient(#d97706 calc(var(--score) * 1%), #e5eaf0 0);
}

.mfg-health-ring.danger {
  background:
    radial-gradient(#fff 58%, transparent 59%),
    conic-gradient(#dc2626 calc(var(--score) * 1%), #e5eaf0 0);
}

.mfg-health-ring strong {
  color: #182230;
  font-size: 22px;
  font-weight: 900;
}

.mfg-health-panel span {
  color: #667085;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}

.mfg-health-panel h2 {
  color: #182230;
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
}

.mfg-health-panel p {
  color: #52606d;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.mfg-live-panel {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  overflow: hidden;
}

.mfg-live-panel header {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e3e8ef;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
}

.mfg-live-panel header i {
  color: #0f789b;
}

.mfg-live-panel header strong {
  color: #182230;
  flex: 1;
}

.mfg-live-panel header a {
  color: #0d6efd;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.mfg-live-list {
  display: grid;
  max-height: 300px;
  overflow: auto;
}

.mfg-live-list.compact {
  max-height: 210px;
}

.mfg-live-item {
  border-bottom: 1px solid #eef2f7;
  border-inline-start: 4px solid #64748b;
  color: #182230;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  text-decoration: none;
}

.mfg-live-item:hover {
  background: #f8fbfe;
  color: #0f5d7e;
}

.mfg-live-item strong {
  font-size: 13px;
}

.mfg-live-item span,
.mfg-live-item small {
  color: #667085;
  font-size: 12px;
}

.mfg-live-item.ok {
  border-inline-start-color: #16a34a;
}

.mfg-live-item.warn {
  border-inline-start-color: #d97706;
}

.mfg-live-item.danger {
  border-inline-start-color: #dc2626;
}

.mfg-station-load-list {
  display: grid;
  gap: 10px;
  padding: 13px;
}

.mfg-station-load-item {
  display: grid;
  gap: 6px;
}

.mfg-station-load-item header {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 0;
}

.mfg-station-load-item strong {
  color: #182230;
  font-size: 13px;
}

.mfg-station-load-item span {
  color: #667085;
  font-size: 12px;
}

.mfg-station-load-track {
  background: #eef2f6;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.mfg-station-load-track b {
  background: #16a34a;
  display: block;
  height: 100%;
}

.mfg-station-load-track b.warn {
  background: #d97706;
}

.mfg-station-load-track b.danger {
  background: #dc2626;
}

.mfg-live-charts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.mfg-chart-panel {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  overflow: hidden;
}

.mfg-chart-panel header {
  background: #f8fafc;
  border-bottom: 1px solid #e3e8ef;
  color: #182230;
  padding: 12px 14px;
}

.mfg-bars {
  display: grid;
  gap: 11px;
  padding: 13px;
}

.mfg-bar-row {
  display: grid;
  gap: 6px;
}

.mfg-bar-label {
  align-items: center;
  color: #344054;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
}

.mfg-bar-label strong {
  color: #182230;
}

.mfg-bar-track {
  background: #edf2f7;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.mfg-bar-fill {
  background: #1887a5;
  border-radius: 999px;
  height: 100%;
}

.mfg-bar-fill.ok {
  background: #16a34a;
}

.mfg-bar-fill.warn {
  background: #d97706;
}

.mfg-bar-fill.danger {
  background: #dc2626;
}

.mfg-typeahead {
  min-width: 260px;
  position: relative;
}

.mfg-typeahead-results {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  display: none;
  max-height: 290px;
  min-height: 246px;
  overflow: auto;
  position: fixed;
  z-index: 1080;
}

.mfg-typeahead-results button {
  background: transparent;
  border: 0;
  color: #27364a;
  display: block;
  min-height: 41px;
  padding: 9px 12px;
  text-align: start;
  width: 100%;
}

.mfg-page .mfg-header {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 18px;
}

.mfg-order-page {
  background: #f6f8fb;
}

.mfg-order-page .mfg-header {
  border-top: 4px solid #1887a5;
}

.mfg-order-eyebrow {
  color: #0f789b;
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.mfg-order-status-line {
  align-items: center;
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mfg-order-status-chip {
  background: #eef4f7;
  border: 1px solid #d6e3ea;
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}

.mfg-order-status-chip.status-completed {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.mfg-order-status-chip.status-in-progress,
.mfg-order-status-chip.status-finished {
  background: #eff8ff;
  border-color: #b2ddff;
  color: #175cd3;
}

.mfg-order-status-chip.status-material-requested,
.mfg-order-status-chip.status-released,
.mfg-order-status-chip.status-planned {
  background: #fffaeb;
  border-color: #fedf89;
  color: #b54708;
}

.mfg-order-status-chip.status-cancelled {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.mfg-order-actions {
  background: rgba(255, 255, 255, .94);
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  max-width: 760px;
  padding: 8px;
  position: sticky;
  top: 12px;
  z-index: 20;
}

.mfg-order-actions .btn {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-height: 36px;
}

.mfg-order-jump {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -4px 0 14px;
  padding: 8px;
  position: sticky;
  top: 76px;
  z-index: 18;
}

.mfg-order-jump a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding: 8px 10px;
  text-decoration: none;
}

.mfg-order-jump a:hover {
  background: #eef7fb;
  border-color: #b9ddea;
  color: #0f5d7e;
}

.mfg-order-focus {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.mfg-order-focus button {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
}

.mfg-order-focus button.active {
  background: #1887a5;
  border-color: #1887a5;
  color: #fff;
}

.mfg-order-list-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 14px 0;
}

.mfg-order-list-card {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px;
}

.mfg-order-list-card span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.mfg-order-list-card strong {
  color: #182230;
  font-size: 20px;
  font-weight: 900;
}

.mfg-order-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mfg-order-list-filters button {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
}

.mfg-order-list-filters button.active {
  background: #eaf7fb;
  border-color: #91d0df;
  color: #0f5d7e;
}

.mfg-order-row.overdue {
  background: #fff7ed;
}

.mfg-order-row.high-variance {
  box-shadow: inset 4px 0 0 #d97706;
}

.mfg-order-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.mfg-recipe-list-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 14px 0;
}

.mfg-recipe-list-card {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px;
}

.mfg-recipe-list-card span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.mfg-recipe-list-card strong {
  color: #182230;
  font-size: 20px;
  font-weight: 900;
}

.mfg-recipe-list-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.mfg-recipe-list-filters button {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
}

.mfg-recipe-list-filters button.active {
  background: #eaf7fb;
  border-color: #91d0df;
  color: #0f5d7e;
}

.mfg-recipe-row.needs-setup {
  background: #fff7ed;
}

.mfg-recipe-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.mfg-readiness-meter {
  display: grid;
  gap: 5px;
  min-width: 120px;
}

.mfg-readiness-meter div {
  background: #eef2f6;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.mfg-readiness-meter b {
  background: #16a34a;
  display: block;
  height: 100%;
}

.mfg-readiness-meter b.warn {
  background: #d97706;
}

.mfg-readiness-meter b.danger {
  background: #dc2626;
}

.mfg-readiness-meter span {
  color: #667085;
  font-size: 12px;
}

.mfg-section-hidden {
  display: none !important;
}

.mfg-section-head-bordered {
  border-bottom: 1px solid #e3e8ef;
  margin: -2px 0 14px;
  padding-bottom: 12px;
}

.mfg-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mfg-page .mfg-panel {
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.mfg-page .mfg-table thead th {
  background: #f7fafc;
  border-bottom: 1px solid #dfe6ee;
  color: #344054;
  font-weight: 800;
}

.mfg-page .mfg-table tbody tr:hover {
  background: #f8fbfe;
}

.mfg-order-page .mfg-table th {
  position: sticky;
  top: 0;
  z-index: 3;
}

.mfg-order-page .table-responsive {
  border: 1px solid #e3e8ef;
  border-radius: 8px;
}

.mfg-order-page .mfg-table td,
.mfg-order-page .mfg-table th {
  padding: 8px;
}

.mfg-order-page .mfg-table .btn-sm {
  min-height: 32px;
}

.mfg-page .mfg-kpi {
  border-top: 3px solid #1887a5;
}

.mfg-order-timeline {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.mfg-timeline-node {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 72px;
  padding: 12px;
}

.mfg-timeline-node i {
  align-items: center;
  background: #eef4f7;
  border-radius: 999px;
  color: #476475;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.mfg-timeline-node strong {
  color: #182230;
  display: block;
  font-size: 13px;
}

.mfg-timeline-node span {
  color: #667085;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.mfg-timeline-node.done {
  background: #f3fbf6;
  border-color: #a7d7bd;
}

.mfg-timeline-node.done i {
  background: #16a34a;
  color: #fff;
}

.mfg-timeline-node.cancelled.done {
  background: #fef3f2;
  border-color: #fecdca;
}

.mfg-timeline-node.cancelled.done i {
  background: #dc2626;
}

.mfg-readiness-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.mfg-readiness-check {
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 74px;
  padding: 12px;
}

.mfg-readiness-check i {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.mfg-readiness-check.ok {
  background: #f3fbf6;
  border-color: #abefc6;
}

.mfg-readiness-check.ok i {
  background: #16a34a;
  color: #fff;
}

.mfg-readiness-check.warn {
  background: #fffaeb;
  border-color: #fedf89;
}

.mfg-readiness-check.warn i {
  background: #d97706;
  color: #fff;
}

.mfg-readiness-check.block {
  background: #fef3f2;
  border-color: #fecdca;
}

.mfg-readiness-check.block i {
  background: #dc2626;
  color: #fff;
}

.mfg-readiness-check strong {
  color: #182230;
  display: block;
  font-size: 13px;
}

.mfg-readiness-check span {
  color: #667085;
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.mfg-readiness-notes {
  margin-top: 10px;
}

.mfg-readiness-summary {
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.mfg-readiness-summary.ok {
  background: #f3fbf6;
  border-color: #abefc6;
  color: #067647;
}

.mfg-readiness-summary.block {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.mfg-readiness-summary span {
  color: #667085;
  font-size: 12px;
}

.mfg-change-history {
  display: grid;
  gap: 10px;
}

.mfg-change-item {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 12px;
}

.mfg-change-icon {
  align-items: center;
  background: #eef4f7;
  border-radius: 999px;
  color: #0f789b;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.mfg-change-item strong {
  color: #182230;
  display: block;
  font-size: 13px;
}

.mfg-change-item small,
.mfg-change-item p {
  color: #667085;
  display: block;
  font-size: 12px;
  margin: 3px 0 0;
}

.mfg-change-payload {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.mfg-change-payload span {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  font-size: 11px;
  gap: 4px;
  padding: 6px 8px;
}

.mfg-change-item.materials-saved {
  border-inline-start: 4px solid #1887a5;
}

.mfg-change-item.costs-saved {
  border-inline-start: 4px solid #d97706;
}

.mfg-change-item.quality-check-saved {
  border-inline-start: 4px solid #16a34a;
}

.mfg-change-item.completed {
  border-inline-start: 4px solid #0d6efd;
}

.mfg-recipe-command {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  margin-bottom: 14px;
}

.mfg-recipe-summary,
.mfg-recipe-checks {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.mfg-recipe-summary {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.mfg-recipe-metric {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  min-height: 70px;
  padding: 10px;
}

.mfg-recipe-metric span {
  color: #667085;
  display: block;
  font-size: 12px;
}

.mfg-recipe-metric strong {
  color: #182230;
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

.mfg-recipe-check {
  align-items: center;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
}

.mfg-recipe-check i {
  font-size: 16px;
}

.mfg-recipe-check.ok {
  background: #f3fbf6;
  border-color: #abefc6;
  color: #067647;
}

.mfg-recipe-check.warn {
  background: #fffaeb;
  border-color: #fedf89;
  color: #b54708;
}

.mfg-recipe-check.block {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.mfg-station-overview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 14px;
}

.mfg-station-kpi {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 13px;
}

.mfg-station-kpi i {
  color: #0f789b;
  font-size: 20px;
}

.mfg-station-kpi span {
  color: #667085;
  font-size: 12px;
}

.mfg-station-kpi strong {
  color: #182230;
  font-size: 22px;
}

.mfg-station-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mfg-station-readiness span {
  border: 1px solid #e3e8ef;
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}

.mfg-station-readiness .ok {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.mfg-station-readiness .warn {
  background: #fffaeb;
  border-color: #fedf89;
  color: #b54708;
}

.mfg-station-readiness .block {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

.mfg-station-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.mfg-station-filters button {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
}

.mfg-station-filters button.active {
  background: #eaf7fb;
  border-color: #91d0df;
  color: #0f5d7e;
}

.mfg-station-row.needs-setup {
  background: #fff7ed;
}

.mfg-station-row.inactive {
  opacity: 0.76;
}

.mfg-station-metrics {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  min-width: 150px;
}

.mfg-station-meter {
  background: #eef2f6;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.mfg-station-meter b {
  background: #16a34a;
  display: block;
  height: 100%;
}

.mfg-station-meter b.warn {
  background: #d97706;
}

.mfg-station-meter b.danger {
  background: #dc2626;
}

.mfg-station-metrics span {
  color: #667085;
  font-size: 12px;
}

.mfg-planning-command {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, auto);
  margin-bottom: 14px;
}

.mfg-planning-health {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 13px;
  padding: 14px;
}

.mfg-planning-health i {
  align-items: center;
  background: #eaf7fb;
  border-radius: 999px;
  color: #1887a5;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 20px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.mfg-planning-health.warn i {
  background: #fff7ed;
  color: #d97706;
}

.mfg-planning-health.danger i {
  background: #fef2f2;
  color: #dc2626;
}

.mfg-planning-health div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mfg-planning-health span,
.mfg-planning-health small {
  color: #667085;
  font-size: 12px;
}

.mfg-planning-health strong {
  color: #182230;
  font-size: 16px;
  font-weight: 900;
}

.mfg-planning-filters {
  align-items: center;
  background: #fff;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px;
}

.mfg-planning-filters button {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #d9e3ee;
  border-radius: 8px;
  color: #344054;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
}

.mfg-planning-filters button.active {
  background: #eaf7fb;
  border-color: #91d0df;
  color: #0f5d7e;
}

.mfg-planning-insights {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  margin-bottom: 14px;
}

.mfg-planning-load,
.mfg-planning-conflicts {
  display: grid;
  gap: 8px;
}

.mfg-plan-load-row {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 10px;
}

.mfg-plan-load-row strong,
.mfg-plan-conflict strong {
  color: #182230;
  display: block;
  font-size: 13px;
}

.mfg-plan-load-row span,
.mfg-plan-load-row small,
.mfg-plan-conflict span,
.mfg-plan-conflict small {
  color: #667085;
  display: block;
  font-size: 12px;
}

.mfg-plan-load-meter,
.mfg-plan-station-load div {
  background: #edf2f7;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.mfg-plan-load-meter b,
.mfg-plan-station-load b {
  background: #16a34a;
  border-radius: 999px;
  display: block;
  height: 100%;
}

.mfg-plan-load-meter b.warn,
.mfg-plan-station-load b.warn {
  background: #d97706;
}

.mfg-plan-load-meter b.danger,
.mfg-plan-station-load b.danger {
  background: #dc2626;
}

.mfg-plan-conflict {
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 3px;
  padding: 10px;
  text-decoration: none;
}

.mfg-plan-conflict:hover {
  background: #fee4e2;
}

.mfg-plan-station-load {
  display: grid;
  gap: 6px;
  padding: 10px 12px 0;
}

.mfg-plan-station-load span {
  color: #667085;
  font-size: 12px;
}

.mfg-workflow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.mfg-step {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 12px;
  position: relative;
}

.mfg-step b {
  align-items: center;
  background: #eef4f7;
  border-radius: 999px;
  color: #476475;
  display: inline-flex;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.mfg-step span {
  color: #1f2937;
  font-weight: 850;
}

.mfg-step small,
.mfg-muted {
  color: #667085;
}

.mfg-step.done {
  border-color: #a7d7bd;
  background: #f3fbf6;
}

.mfg-step.done b {
  background: #16a34a;
  color: #fff;
}

.mfg-step.active {
  border-color: #1887a5;
  box-shadow: 0 8px 24px rgba(24, 135, 165, .12);
}

.mfg-step.active b {
  background: #1887a5;
  color: #fff;
}

.mfg-typeahead-results button:hover {
  background: #eef7fb;
}

.mfg-check {
  align-items: center;
  display: flex !important;
  gap: 8px !important;
  margin-top: 22px;
}

.mfg-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.mfg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.mfg-tabs button {
  background: #fff;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #344054;
  font-weight: 700;
  padding: 9px 14px;
}

.mfg-tabs button.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.mfg-report-pane {
  display: none;
}

.mfg-report-pane.active {
  display: block;
}

.mfg-report-insights {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 14px;
}

.mfg-report-insight {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-inline-start: 4px solid #1887a5;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  color: #182230;
  display: grid;
  gap: 7px;
  min-height: 128px;
  padding: 13px;
  text-decoration: none;
}

.mfg-report-insight:hover {
  background: #f8fbfe;
  color: #0f5d7e;
}

.mfg-report-insight.warn {
  border-inline-start-color: #d97706;
}

.mfg-report-insight.danger {
  border-inline-start-color: #dc2626;
}

.mfg-report-insight.ok {
  border-inline-start-color: #16a34a;
}

.mfg-report-insight header {
  align-items: center;
  display: flex;
  gap: 8px;
}

.mfg-report-insight header i {
  color: #1887a5;
  font-size: 18px;
}

.mfg-report-insight.warn header i {
  color: #d97706;
}

.mfg-report-insight.danger header i {
  color: #dc2626;
}

.mfg-report-insight.ok header i {
  color: #16a34a;
}

.mfg-report-insight strong {
  font-size: 13px;
  font-weight: 900;
}

.mfg-report-insight b {
  font-size: 20px;
  font-weight: 900;
}

.mfg-report-insight span,
.mfg-report-insight small {
  color: #667085;
  font-size: 12px;
}

.mfg-report-print-meta {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  color: #344054;
  display: none;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 12px;
  padding: 12px;
}

.mfg-report-print-meta div {
  display: grid;
  gap: 3px;
}

.mfg-report-print-meta strong {
  color: #182230;
  font-size: 12px;
}

.mfg-report-print-meta span {
  color: #475467;
  font-size: 12px;
}

.mfg-settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mfg-settings-grid label {
  color: #344054;
  display: grid;
  font-size: 13px;
  gap: 7px;
}

.mfg-settings-grid span,
.mfg-settings-toggles span {
  font-weight: 800;
}

.mfg-settings-toggles {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mfg-settings-toggles label {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  color: #344054;
  display: flex;
  gap: 9px;
  padding: 12px;
}

.mfg-settings-toggles input {
  height: 18px;
  width: 18px;
}

.mfg-settings-message {
  display: none;
  margin-top: 12px;
}

.mfg-settings-message.success,
.mfg-settings-message.danger {
  border-radius: 8px;
  display: block;
  padding: 12px 14px;
}

.mfg-settings-message.success {
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
}

.mfg-settings-message.danger {
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

.mfg-settings-preview {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mfg-settings-card {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 13px;
}

.mfg-settings-card header {
  align-items: center;
  display: flex;
  gap: 8px;
}

.mfg-settings-card i {
  color: #1887a5;
  font-size: 18px;
}

.mfg-settings-card.warn i {
  color: #d97706;
}

.mfg-settings-card.danger i {
  color: #dc2626;
}

.mfg-settings-card strong {
  color: #182230;
  font-size: 13px;
  font-weight: 900;
}

.mfg-settings-card b {
  color: #182230;
  font-size: 20px;
  font-weight: 900;
}

.mfg-settings-card span,
.mfg-settings-card small {
  color: #667085;
  font-size: 12px;
}

.mfg-settings-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mfg-alert {
  align-items: flex-start;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 15px;
}

.mfg-alert i {
  font-size: 20px;
  margin-top: 2px;
}

.mfg-alert div {
  display: grid;
  gap: 3px;
}

.mfg-alert span {
  color: #b45309;
  font-size: 13px;
}

.mfg-toast-stack {
  bottom: 18px;
  display: grid;
  gap: 10px;
  inset-inline-end: 18px;
  max-width: min(420px, calc(100vw - 32px));
  position: fixed;
  z-index: 3000;
}

.mfg-toast {
  align-items: flex-start;
  animation: mfgToastIn 0.18s ease-out;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-inline-start: 4px solid #1887a5;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  color: #182230;
  display: grid;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  padding: 12px;
}

.mfg-toast > i {
  color: #1887a5;
  font-size: 18px;
  line-height: 1.4;
}

.mfg-toast div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mfg-toast strong {
  font-size: 13px;
  font-weight: 800;
}

.mfg-toast span {
  color: #52606d;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mfg-toast button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #667085;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 26px;
}

.mfg-toast button:hover {
  color: #182230;
}

.mfg-toast.success {
  border-inline-start-color: #16a34a;
}

.mfg-toast.success > i {
  color: #16a34a;
}

.mfg-toast.error {
  border-inline-start-color: #dc2626;
}

.mfg-toast.error > i {
  color: #dc2626;
}

.mfg-toast.warning {
  border-inline-start-color: #d97706;
}

.mfg-toast.warning > i {
  color: #d97706;
}

.mfg-dialog-backdrop {
  align-items: center;
  background: rgba(15, 23, 42, 0.46);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 3100;
}

.mfg-dialog {
  animation: mfgDialogIn 0.18s ease-out;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  color: #182230;
  display: grid;
  gap: 14px;
  max-width: min(460px, 100%);
  padding: 18px;
  width: 100%;
}

.mfg-dialog header {
  align-items: center;
  display: flex;
  gap: 12px;
}

.mfg-dialog header i {
  align-items: center;
  background: #eaf7fb;
  border-radius: 999px;
  color: #1887a5;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.mfg-dialog h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.mfg-dialog p {
  color: #52606d;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.mfg-dialog textarea {
  min-height: 92px;
  resize: vertical;
}

.mfg-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

@keyframes mfgDialogIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mfgToastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mfg-audit-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 14px;
}

.mfg-audit-card {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 12px;
}

.mfg-audit-card span,
.mfg-audit-item small,
.mfg-empty {
  color: #667085;
  font-size: 12px;
}

.mfg-audit-card strong {
  color: #182230;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mfg-accounting-warning {
  background: #fffbeb;
  border-color: #f3c969;
}

.mfg-accounting-warning strong {
  color: #92400e;
}

.mfg-accounting-warning ul {
  color: #92400e;
  font-size: 12px;
  margin: 0;
  padding-inline-start: 18px;
}

.mfg-quality-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 12px;
}

.mfg-quality-grid label {
  color: #344054;
  display: grid;
  font-size: 13px;
  gap: 6px;
}

.mfg-quality-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 12px;
}

.mfg-quality-card {
  background: #f8fafc;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  padding: 10px 12px;
}

.mfg-quality-card span {
  color: #667085;
  display: block;
  font-size: 12px;
}

.mfg-quality-card strong {
  color: #182230;
  display: block;
  font-size: 17px;
  margin-top: 4px;
}

.mfg-quality-card.status-passed {
  border-top: 3px solid #16a34a;
}

.mfg-quality-card.status-failed {
  border-top: 3px solid #dc2626;
}

.mfg-quality-card.status-conditional {
  border-top: 3px solid #d97706;
}

.mfg-quality-card.status-pending {
  border-top: 3px solid #64748b;
}

.mfg-planning-board {
  display: grid;
  gap: 14px;
}

.mfg-plan-station {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
  overflow: hidden;
}

.mfg-plan-station > header {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e3e8ef;
  display: flex;
  justify-content: space-between;
  padding: 13px 15px;
}

.mfg-plan-station h2 {
  color: #182230;
  font-size: 17px;
  margin: 0 0 4px;
}

.mfg-plan-station header span,
.mfg-plan-counts small {
  color: #667085;
  font-size: 12px;
}

.mfg-plan-counts {
  text-align: center;
}

.mfg-plan-counts b {
  color: #0f789b;
  display: block;
  font-size: 22px;
}

.mfg-plan-orders {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.mfg-plan-order {
  align-items: center;
  border: 1px solid #e3e8ef;
  border-inline-start: 4px solid #1887a5;
  border-radius: 8px;
  color: #182230;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.2fr) minmax(320px, 2fr) auto;
  padding: 11px;
  text-decoration: none;
}

.mfg-plan-order:hover {
  background: #f8fbfe;
  color: #0f5d7e;
}

.mfg-plan-order.overdue {
  border-inline-start-color: #dc2626;
}

.mfg-plan-order.conflict {
  background: #fff7ed;
}

.mfg-plan-order strong {
  display: block;
}

.mfg-plan-order span {
  color: #667085;
  font-size: 12px;
}

.mfg-plan-order dl {
  display: grid;
  gap: 6px 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.mfg-plan-order dt {
  color: #667085;
  font-size: 11px;
}

.mfg-plan-order dd {
  color: #182230;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}

.mfg-audit-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.mfg-audit-grid h3 {
  color: #344054;
  font-size: 15px;
  margin: 0 0 8px;
}

.mfg-audit-list {
  background: #fbfdff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  display: grid;
  max-height: 340px;
  overflow: auto;
}

.mfg-audit-item {
  border-bottom: 1px solid #e8eef5;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 11px 12px;
}

.mfg-audit-item:last-child {
  border-bottom: 0;
}

.mfg-audit-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mfg-audit-item strong {
  color: #182230;
  font-size: 13px;
}

.mfg-audit-item span {
  color: #475467;
  font-size: 12px;
}

.mfg-audit-item.movement.in {
  border-inline-start: 3px solid #16a34a;
}

.mfg-audit-item.movement.out {
  border-inline-start: 3px solid #dc2626;
}

.mfg-empty {
  padding: 16px;
  text-align: center;
}

@media (max-width: 800px) {
  .mfg-audit-grid {
    grid-template-columns: 1fr;
  }

  .mfg-audit-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .mfg-plan-order {
    grid-template-columns: 1fr;
  }

  .mfg-plan-order dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mfg-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .mfg-hero-meter {
    min-width: 0;
  }

  .mfg-live-panels {
    grid-template-columns: 1fr;
  }

  .mfg-command-center {
    grid-template-columns: 1fr;
  }

  .mfg-health-panel {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .mfg-health-ring {
    width: 88px;
  }

  .mfg-live-charts {
    grid-template-columns: 1fr;
  }

  .mfg-planning-command,
  .mfg-planning-insights {
    grid-template-columns: 1fr;
  }

  .mfg-planning-filters {
    justify-content: stretch;
  }

  .mfg-planning-filters button {
    flex: 1 1 130px;
    justify-content: center;
  }

  .mfg-workflow {
    grid-template-columns: 1fr;
  }

  .mfg-page .mfg-header {
    flex-direction: column;
  }

  .mfg-order-actions,
  .mfg-order-jump {
    position: static;
  }

  .mfg-order-jump a {
    flex: 1 1 140px;
    justify-content: center;
  }

  .mfg-order-focus button {
    flex: 1 1 120px;
    justify-content: center;
  }

  .mfg-order-list-filters button {
    flex: 1 1 130px;
    justify-content: center;
  }

  .mfg-recipe-list-filters button {
    flex: 1 1 130px;
    justify-content: center;
  }

  .mfg-station-filters button {
    flex: 1 1 130px;
    justify-content: center;
  }

  .mfg-toast-stack {
    bottom: 12px;
    inset-inline: 12px;
    max-width: none;
  }
}

@media print {
  @page {
    margin: 10mm;
    size: A4 landscape;
  }

  body {
    background: #fff !important;
  }

  .top-navbar,
  .sidebar,
  .erp-sidebar,
  .unified-sidebar,
  .inv-sidebar,
  .mfg-header-actions,
  .mfg-toolbar,
  .mfg-tabs,
  .mfg-toast-stack,
  .mfg-report-pane:not(.active) {
    display: none !important;
  }

  .content-wrapper,
  .main-content,
  .page-content,
  .mfg-page {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .mfg-page .mfg-header,
  .mfg-page .mfg-panel,
  .mfg-page .mfg-kpi,
  .mfg-report-print-meta {
    box-shadow: none !important;
  }

  .mfg-page .mfg-header {
    border: 0 !important;
    border-bottom: 2px solid #182230 !important;
    border-radius: 0 !important;
    margin-bottom: 10px !important;
    padding: 0 0 10px !important;
  }

  .mfg-page .mfg-header h1 {
    color: #111827 !important;
    font-size: 20px !important;
    margin: 0 0 4px !important;
  }

  .mfg-page .mfg-header p {
    color: #475467 !important;
    margin: 0 !important;
  }

  .mfg-report-print-meta {
    display: grid !important;
    margin-bottom: 10px !important;
  }

  .mfg-kpis {
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: repeat(6, 1fr) !important;
    margin-bottom: 10px !important;
  }

  .mfg-page .mfg-kpi {
    border: 1px solid #d0d5dd !important;
    border-top: 2px solid #344054 !important;
    min-height: auto !important;
    padding: 6px 8px !important;
  }

  .mfg-page .mfg-kpi span {
    color: #475467 !important;
    font-size: 9px !important;
  }

  .mfg-page .mfg-kpi strong {
    color: #111827 !important;
    font-size: 12px !important;
  }

  .mfg-page .mfg-panel {
    border: 0 !important;
    padding: 0 !important;
  }

  .table-responsive {
    overflow: visible !important;
  }

  .mfg-table {
    border-collapse: collapse !important;
    font-size: 10px !important;
    width: 100% !important;
  }

  .mfg-table th,
  .mfg-table td {
    border: 1px solid #d0d5dd !important;
    color: #111827 !important;
    padding: 4px 5px !important;
  }

  .mfg-table thead th {
    background: #eef2f7 !important;
  }

  .mfg-table a.btn,
  .mfg-table th:last-child,
  .mfg-table td:last-child {
    display: none !important;
  }
}
