.admin-composition {
  min-width: 0;
  margin: 18px 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--admin-line);
}
.admin-composition > legend {
  padding: 0 10px 0 0;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 700;
}
.admin-composition > label {
  display: grid;
  gap: 7px;
  margin: 13px 0;
  color: var(--admin-muted);
  font-size: 10px;
  font-weight: 760;
}
.admin-composition small, .composition-hint {
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.composition-materials {
  min-width: 0;
  margin: 14px 0;
  padding: 0;
  border: 0;
}
.composition-materials legend {
  margin-bottom: 10px;
  padding: 0;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 700;
}
.composition-material-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
}
.composition-material-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--admin-ink);
  font-size: 12px;
  cursor: pointer;
}
.product-editor .composition-material-options input {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--admin-ink);
}
.jewel-composition {
  margin: 26px 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--product-line);
}
.jewel-composition h2 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
}
.jewel-composition dl { margin: 0; }
.jewel-composition dl > div { margin-top: 14px; }
.jewel-composition dt { font-size: 13px; font-weight: 600; }
.jewel-composition dd {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  .composition-material-options { grid-template-columns: 1fr; }
}
