/* Production planning is separate from the drawing and input panels. */
.workspace > .production-card {
  grid-column: 1 / -1;
  min-width: 0;
}
.production-head {
  padding: 18px 20px 15px;
  border-bottom: 1px solid var(--line);
}
.production-head h2 {
  margin-top: 5px;
  font-size: 21px;
}
.production-head p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.production-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 13px;
}
.production-option {
  display: block;
  min-width: 0;
  cursor: pointer;
  padding: 15px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #f7fafd;
}
.production-option[data-selected="true"] {
  border-color: #287bca;
  background: #edf6ff;
  box-shadow: inset 0 0 0 1px #287bca;
}
.production-option[data-state="not_suitable"],
.production-option[data-state="needs_verification"] {
  background: #f8f9fb;
}
.production-option[data-state="not_suitable"] {
  cursor: default;
}
.production-option[data-selected="true"][data-state="needs_verification"] {
  background: #edf6ff;
}
.production-option-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 26px;
}
.production-option-head input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #126fc1;
  flex-shrink: 0;
}
.production-option-head > strong { font-size: 17px; color: #18334e; }
.production-indicator {
  margin-left: auto;
  font-size: 11px;
  color: #687e93;
  white-space: nowrap;
}
.production-option[data-state="ready"] .production-indicator { color: #14754f; }
.production-option[data-state="not_suitable"] .production-indicator { color: #995b23; }
.production-option-metrics { display: grid; gap: 11px; margin-top: 16px; }
.production-option-metrics > span {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: space-between;
  color: #62768d;
  font-size: 12px;
}
.production-option-metrics strong {
  font-size: 16px;
  color: #1764af;
  white-space: nowrap;
}
.production-reason {
  display: block;
  min-height: 30px;
  margin-top: 12px;
  color: #687e93;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-line;
}
.production-option[data-state="not_suitable"] .production-reason { color: #995b23; }
.production-status {
  padding: 0 20px 19px;
  font-size: 13px;
  line-height: 1.5;
  color: #687e93;
}
.production-status[data-state="ready"] { color: #14754f; }
.production-status[data-state="busy"] { color: #1764af; }
.production-status[data-state="needs_verification"],
.production-status[data-state="no_match"] { color: #945c17; }
.production-status[data-state="unavailable"] { color: #a14043; }
@media (max-width: 760px) {
  .production-options { grid-template-columns: 1fr; gap: 9px; }
  .production-option { padding: 13px 15px; }
  .production-option-metrics { margin-top: 11px; gap: 6px; }
  .production-reason { min-height: 0; }
}

