.field { display: grid; gap: var(--space-half); margin-bottom: var(--space-2); }
.field label { font-size: var(--text-footnote); color: var(--color-text-secondary); padding: 0 var(--space-half); }
.input {
  width: 100%;
  min-height: var(--touch);
  padding: 10px 14px;
  border: 1px solid var(--color-separator);
  border-radius: var(--radius-control);
  background: var(--color-surface);
  font-size: max(16px, var(--text-body)); /* ≥16px: no iOS zoom on focus */
}
.input:focus { outline: none; border-color: var(--color-primary-strong); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.input-code { text-transform: uppercase; letter-spacing: 0.2em; text-align: center; font-weight: 600; }
.form-error {
  color: var(--color-danger-strong);
  font-size: var(--text-footnote);
  margin: calc(-1 * var(--space-1)) 0 var(--space-2);
  padding: 0 var(--space-half);
}
.form-actions { display: grid; gap: var(--space-1); margin-top: var(--space-2); }

/* Segmented control */
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 2px;
  border-radius: 9px;
  background: var(--color-fill);
}
.segmented button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: var(--text-subhead);
  font-weight: 500;
}
.segmented button[aria-pressed="true"] {
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-card);
  font-weight: 600;
}

/* Stepper */
.stepper { display: inline-flex; align-items: center; gap: var(--space-1); }
.stepper button {
  width: var(--touch); height: 36px;
  border: 0; border-radius: 9px;
  background: var(--color-fill);
  color: var(--color-primary-strong);
  font-size: 1.25rem; font-weight: 600;
}
.stepper output { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; }
.list-row > .segmented { flex: 1; }
