.library-external-production-badge,
.library-external-production-toggle.is-checked,
.product-library-detail[data-library-detail][data-library-kind] .library-stage-fields > .library-stage-cost.is-external-production {
  color: #966b35;
  border-color: #ecd6b5;
  background: #fbefd9;
}
.library-external-production-badge {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 3px 9px;
  border: 1px solid #ecd6b5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}
.library-external-production-badge.is-corner {
  position: absolute;
  top: 12px;
  right: 14px;
  pointer-events: none;
}
.product-library-page .finished-product-grid > .has-external-production {
  position: relative;
}
.product-library-page .has-external-production .library-shared-stock-badge.is-corner {
  right: 65px;
}
.library-external-production-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: none;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid #d9e4ec;
  border-radius: 999px;
  background: #f7fbfe;
  color: #6c8799;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
}
.library-external-production-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #b58b51;
  cursor: pointer;
}
.library-external-production-toggle:focus-within {
  outline: 2px solid #c9a571;
  outline-offset: 3px;
}
.library-external-production-toggle:has(input:disabled) {
  cursor: default;
  opacity: .6;
}
.product-library-detail[data-library-detail][data-library-kind] .library-stage-fields > .library-stage-cost.is-external-production > :is(dt,dd,small) {
  color: #966b35;
}
