#tab-15.material-order-main-section {
  --mo-ink: #18181b;
  --mo-muted: #71717a;
  --mo-line: #e4e4e7;
  --mo-soft: #f7f7f5;
  --mo-accent: #45624f;
  --mo-alert: #a16207;
  background: #fff !important;
}

#tab-15 .material-order-calculator-workspace {
  gap: 14px !important;
  color: var(--mo-ink);
}

#tab-15 .material-order-head {
  align-items: flex-end;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mo-ink);
}

#tab-15 .material-order-head h3 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

#tab-15 .material-order-head p {
  margin: 0;
  color: var(--mo-muted);
  font-size: 12px;
}

#tab-15 .material-order-field-summary {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  border: 1px solid var(--mo-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

#tab-15 .material-order-field-summary-item {
  min-height: 70px !important;
  padding: 13px 16px !important;
  border: 0 !important;
  border-right: 1px solid var(--mo-line) !important;
  border-radius: 0 !important;
  background: #fff !important;
}

#tab-15 .material-order-field-summary-item:last-child {
  border-right: 0 !important;
}

#tab-15 .material-order-field-summary-item span {
  color: var(--mo-muted) !important;
  font-size: 11px !important;
  font-weight: 700;
}

#tab-15 .material-order-field-summary-item strong {
  margin-top: 7px;
  color: var(--mo-ink) !important;
  font-size: 18px !important;
  line-height: 1;
}

#tab-15 .material-order-field-summary-item.is-alert strong {
  color: var(--mo-alert) !important;
}

#tab-15 .material-order-smart-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.8fr);
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--mo-line);
  border-radius: 6px;
  background: var(--mo-soft);
}

#tab-15 .material-order-strategy {
  display: grid;
  grid-template-columns: 90px repeat(3, minmax(120px, 1fr));
  align-items: stretch;
  gap: 6px;
}

#tab-15 .material-order-smart-label {
  display: flex;
  align-items: center;
  color: var(--mo-muted);
  font-size: 11px;
  font-weight: 800;
}

#tab-15 .material-order-strategy button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 8px 11px;
  border: 1px solid #d4d4d8;
  border-radius: 5px;
  background: #fff;
  color: var(--mo-ink);
  cursor: pointer;
  text-align: left;
}

#tab-15 .material-order-strategy button:hover {
  border-color: #a1a1aa;
}

#tab-15 .material-order-strategy button.is-active {
  border-color: var(--mo-ink);
  background: var(--mo-ink);
  color: #fff;
}

#tab-15 .material-order-strategy button strong {
  font-size: 12px;
}

#tab-15 .material-order-strategy button span {
  overflow: hidden;
  max-width: 100%;
  color: #71717a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-15 .material-order-strategy button.is-active span {
  color: #d4d4d8;
}

#tab-15 .material-order-readiness {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 18px;
  border-left: 1px solid var(--mo-line);
}

#tab-15 .material-order-readiness-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 11px;
}

#tab-15 .material-order-readiness-head strong {
  font-size: 14px;
}

#tab-15 .material-order-readiness-track {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #dededb;
}

#tab-15 .material-order-readiness-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--mo-accent);
  transition: width 180ms ease;
}

#tab-15 .material-order-readiness p {
  margin: 6px 0 0;
  color: var(--mo-muted);
  font-size: 10px;
}

#tab-15 .material-order-field-toolbar {
  align-items: flex-end !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mo-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

#tab-15 .material-order-field-filters {
  gap: 8px !important;
}

#tab-15 .material-order-field select,
#tab-15 .material-order-field input {
  min-height: 36px !important;
  border-color: #d4d4d8 !important;
  border-radius: 5px !important;
  background: #fff !important;
  font-size: 12px !important;
}

#tab-15 .material-order-field-table-wrap {
  border: 1px solid var(--mo-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

#tab-15 .material-order-field-table {
  min-width: 1460px !important;
  table-layout: fixed;
}

#tab-15 .material-order-field-table th {
  padding: 10px 9px !important;
  border-color: var(--mo-line) !important;
  background: #f4f4f2 !important;
  color: #52525b !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-align: left !important;
}

#tab-15 .material-order-field-table td {
  padding: 10px 9px !important;
  border-color: #ededeb !important;
  color: var(--mo-ink) !important;
  font-size: 11px !important;
  line-height: 1.45;
  vertical-align: middle !important;
}

#tab-15 .material-order-field-table tbody tr:hover td {
  background: #fafaf8 !important;
}

#tab-15 .material-order-field-table th:nth-child(1) { width: 150px; }
#tab-15 .material-order-field-table th:nth-child(2) { width: 155px; }
#tab-15 .material-order-field-table th:nth-child(3) { width: 88px; }
#tab-15 .material-order-field-table th:nth-child(4) { width: 56px; }
#tab-15 .material-order-field-table th:nth-child(5) { width: 100px; }
#tab-15 .material-order-field-table th:nth-child(6) { width: 92px; }
#tab-15 .material-order-field-table th:nth-child(7) { width: 88px; }
#tab-15 .material-order-field-table th:nth-child(8) { width: 92px; }
#tab-15 .material-order-field-table th:nth-child(9) { width: 105px; }
#tab-15 .material-order-field-table th:nth-child(10) { width: 86px; }
#tab-15 .material-order-field-table th:nth-child(11) { width: 360px; }

#tab-15 .material-order-cell-title,
#tab-15 .material-order-cell-sub {
  display: block;
}

#tab-15 .material-order-cell-title {
  font-size: 11px;
}

#tab-15 .material-order-cell-sub {
  margin-top: 2px;
  overflow: hidden;
  color: var(--mo-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-15 .material-order-stock-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
}

#tab-15 .material-order-stock-input input {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 4px 6px;
  border: 1px solid #d4d4d8;
  border-radius: 4px;
  background: #fff;
  text-align: right;
}

#tab-15 .material-order-stock-input span {
  color: var(--mo-muted);
  font-size: 9px;
}

#tab-15 .material-order-recommended {
  color: var(--mo-accent) !important;
  font-size: 12px !important;
  font-weight: 800;
}

#tab-15 .material-order-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid #d4d4d8;
  border-radius: 12px;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

#tab-15 .material-order-status.is-ready {
  border-color: #bfd4c5;
  background: #f0f7f2;
  color: #31593d;
}

#tab-15 .material-order-status.is-price {
  border-color: #ead5a5;
  background: #fff8e8;
  color: #8a5a08;
}

#tab-15 .material-order-status.is-stock {
  border-color: #d4d4d8;
  background: #f4f4f5;
  color: #52525b;
}

#tab-15 .material-order-basis {
  color: #606068 !important;
  font-size: 10px !important;
}

#tab-15 .material-order-settings-panel {
  border: 1px solid var(--mo-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
}

#tab-15 .material-order-settings-panel summary {
  padding: 12px 14px !important;
  font-size: 11px !important;
}

#tab-15 .material-order-settings-panel summary span {
  margin-left: 6px;
  color: var(--mo-muted);
  font-weight: 500;
}

@media (max-width: 1050px) {
  #tab-15 .material-order-field-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #tab-15 .material-order-field-summary-item:nth-child(2) {
    border-right: 0 !important;
  }

  #tab-15 .material-order-field-summary-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--mo-line) !important;
  }

  #tab-15 .material-order-smart-strip {
    grid-template-columns: 1fr;
  }

  #tab-15 .material-order-readiness {
    padding: 12px 0 0;
    border-top: 1px solid var(--mo-line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  #tab-15 .material-order-strategy {
    grid-template-columns: 1fr;
  }

  #tab-15 .material-order-smart-label {
    min-height: 24px;
  }
}
