.dtfc {
  width: 100%;
}

.dtfc__heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.dtfc__form {
  display: grid;
  gap: 1rem;
}

.dtfc__field {
  display: grid;
  gap: 0.5rem;
}

.dtfc__label {
  font: inherit;
  font-weight: 600;
}

.dtfc__color-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.625rem;
  align-items: stretch;
}

.dtfc__picker {
  width: 3rem;
  min-height: 3rem;
  padding: 0.2rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.dtfc__hex {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.875rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  font: inherit;
  text-transform: uppercase;
}

.dtfc__submit,
.dtfc__clear {
  appearance: none;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.dtfc__clear {
  display: block;
  border: 1px solid currentColor;
  background: transparent;
}
