[step:Translate induction of Dirichlet characters into descent of unit-group characters]
Let
\begin{align*}
G_m := (\mathbb{Z}/m\mathbb{Z})^\times
\end{align*}
for each $m \in \mathbb{N}$, with the convention that $G_1$ is the trivial group. Let
\begin{align*}
\widetilde{\chi}: G_q &\to \mathbb{C}^\times
\end{align*}
be the group character obtained by restricting $\chi$ to reduced residue classes modulo $q$.
For divisors $d \mid q$, define the reduction homomorphism
\begin{align*}
\rho_{q,d}: G_q &\to G_d,\\
a \bmod q &\mapsto a \bmod d.
\end{align*}
This map is well-defined because $\gcd(a,q)=1$ implies $\gcd(a,d)=1$.
[claim:Descent through a divisor is equivalent to triviality on the reduction kernel]
Let $d \mid q$. A group character $\widetilde{\chi}:G_q \to \mathbb{C}^\times$ factors through $\rho_{q,d}$ if and only if
\begin{align*}
\widetilde{\chi}(u)=1
\end{align*}
for every $u \in \ker \rho_{q,d}$.
[/claim]
[proof]
If $\widetilde{\chi}=\psi \circ \rho_{q,d}$ for a character $\psi:G_d\to\mathbb{C}^\times$, then for $u \in \ker\rho_{q,d}$,
\begin{align*}
\widetilde{\chi}(u)=\psi(\rho_{q,d}(u))=\psi(1)=1.
\end{align*}
Conversely, suppose $\widetilde{\chi}$ is trivial on $\ker\rho_{q,d}$. Since $d \mid q$, the reduction map $\rho_{q,d}$ is surjective. Define
\begin{align*}
\psi:G_d &\to \mathbb{C}^\times,\\
v &\mapsto \widetilde{\chi}(u),
\end{align*}
where $u \in G_q$ is any element satisfying $\rho_{q,d}(u)=v$. This is well-defined: if $u_1,u_2 \in G_q$ both map to $v$, then $u_1u_2^{-1}\in \ker\rho_{q,d}$, hence
\begin{align*}
\widetilde{\chi}(u_1)\widetilde{\chi}(u_2)^{-1}
=
\widetilde{\chi}(u_1u_2^{-1})
=
1.
\end{align*}
Thus $\widetilde{\chi}(u_1)=\widetilde{\chi}(u_2)$. The map $\psi$ is a group homomorphism because $\widetilde{\chi}$ and $\rho_{q,d}$ are group homomorphisms. Therefore $\widetilde{\chi}=\psi\circ\rho_{q,d}$.
[/proof]
[/step]