/* Form fields. 46px, square, 2px ink border. */

.st-field {
  width: 100%;
  height: var(--st-h-field);
  padding: 0 12px;
  background: var(--st-surface);
  border: var(--st-border-width) solid var(--st-ink);
  color: var(--st-ink);
  font-size: var(--st-size-body-sm);
  transition: border-color var(--st-transition);
}

.st-field::placeholder {
  color: var(--st-muted-2);
}

.st-field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--st-muted);
  font-size: 12px;
  font-weight: var(--st-weight-bold);
  letter-spacing: var(--st-track-button);
  text-transform: uppercase;
}

.st-field--error {
  border-color: var(--st-accent);
}

.st-field__error {
  display: block;
  margin-top: 6px;
  color: var(--st-accent-deep);
  font-size: var(--st-size-label);
}

.st-field:disabled {
  background: var(--st-surface-2);
  color: var(--st-muted-2);
  cursor: not-allowed;
}

textarea.st-field {
  height: auto;
  min-height: 120px;
  padding: 12px;
  line-height: var(--st-lh-body);
}

/* Native checkbox and radio accents — handoff, screen 03. */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--st-accent);
}
