/* Layout only. M22 uses the unchanged M21 palette and component styles. */
.m22-component,
.m22-component > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.m22-component .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.m22-component .field {
  margin-bottom: var(--space-4);
}

.m22-component .field input,
.m22-component .field select,
.m22-component .field textarea {
  min-width: 0;
  max-width: 100%;
}

.m22-component .field input[type="checkbox"] {
  width: auto;
  height: auto;
  justify-self: start;
}
