We prove the assertion with $e_D=2$ and $e_L=0$. First we describe finite-group and counting data at a single scale $x$. Averaging over a subgroup converts a bound for prime-power counts into a bound for $G_\psi$, with at most $4o$ additional character sums to estimate. Step 3 states the existence result that provides these data throughout arbitrarily distant intervals.
Step 1: realize the Dirichlet characters as characters of a finite group. Put
$$c=(3o+1)^{-1},\qquad K_0=\sum_{\chi\in\mathcal P_\psi\setminus\{1\}}|\kappa_\chi|.$$
Fix $x\ge3$ and $0<\varepsilon<1/52$. Let $H$ be a finite abelian group, written additively, and $H_0\le H$ a cyclic subgroup of index $o$. Write
$$n=|H|,\quad G=(\mathbb Z/2\mathbb Z)^2\times H,\quad \iota(t)=((0,0),t)\quad(t\in H),$$
$$
\Phi=\{((0,\beta),h):\beta\in\mathbb Z/2\mathbb Z,\ h\in H\},$$
$$s_0=((1,0),0),\quad c_0=((1,1),0),\quad
\chi_C((\alpha,\beta),h)=(-1)^\alpha,\quad P_t(g)=c_0+g+\iota(t).$$
In the formula for $\chi_C$, the values at $\alpha=0,1$ are $1,-1$, respectively. Write $\widehat G=\operatorname{Hom}(G,\mathbb C^\times)$ for the complex characters of $G$, and denote its trivial character by $1$.
Choose a positive integer $R$ and a surjective homomorphism $\rho:(\mathbb Z/R\mathbb Z)^\times\to G$. For $\gamma\in\widehat G$, let $\chi_\gamma$ be the primitive Dirichlet character inducing $\gamma\circ\rho$ modulo $R$, and put $h_\gamma(y)=g_{\chi_\gamma}(y)$ for $y>0$. The map $\gamma\mapsto\chi_\gamma$ is injective: equality of primitive characters gives equality of their induced characters modulo $R$, and surjectivity of $\rho$ then gives equality of the characters of $G$. In particular, $\chi_\gamma=1$ if and only if $\gamma=1$.
For each prime $p$, choose a subgroup $I_p\le G$ and an element $F_p\in G$. For every positive integer $r$, require the coefficient identity
$$a_\gamma(r):=\prod_{p\mid r}\frac1{|I_p|}\sum_{z\in I_p}\gamma(v_p(r)F_p+z)=\chi_\gamma(r)\qquad(r\ge1),$$
where $v_p(r)$ is the exponent of $p$ in $r$. Put $\kappa(\gamma)=\kappa_{\chi_\gamma}$ for $\gamma\ne1$ and $\kappa(1)=0$. Require primes $q\equiv3\pmod8$, $d\equiv7\pmod{16}$, and a finite set $S$ of primes with
$$2,q\in S,\quad d\notin S,\quad I_d=\{0,s_0\},$$
$$I_p=\{0\}\ (p\notin S\cup\{d\}),\qquad I_p\subset\Phi,\ F_p\in\Phi\ (p\in S).$$
Let $\Psi_0=\{\gamma\in\widehat G:\gamma(\iota(u))=1\text{ for every }u\in H_0\}$ and $\mathcal K=\{\gamma\in\widehat G:\chi_\gamma\in\mathcal P_\psi\}$. Require every character in $\mathcal P_\psi$ to occur as a $\chi_\gamma$, and require
$$\mathcal K\subset\Psi_0,\qquad \gamma(s_0)=1\quad(\gamma\in\mathcal K),$$
with $1$ the only member of $\mathcal K$ trivial on $\iota(H)$. For the remaining characters require
$$|\kappa(\gamma)|\le4\log x,\qquad |h_\gamma(x)|\le x^{1/2+\varepsilon}\quad(\gamma\in\Psi_0\setminus\mathcal K).$$
Step 2: specify weights for the prime-power counts. Choose $T\subset H$, $T_2\subset H_0$, integers $m,N\ge0$, positive real numbers $b,b',k,X'$, nonnegative real numbers $a_0,\eta,\theta$, a function $a:H\to\mathbb R$, and weights $w_{u,j}:G\to\mathbb R$ for $u\in H_0$, $0\le j<m$. Extend the weights arbitrarily to $u\in H\setminus H_0$. Write $a_t=a(t)$. Require
$$a_0\le2xb,\quad |T|\ge\tfrac12nx^{-\varepsilon/8},\quad |T_2|/n\ge x^{-\varepsilon},$$
$$x^{1/2-\varepsilon}\le m\le x^{1/2+\varepsilon/2},\qquad xm\le k\le n^2x^{1/2-\varepsilon},$$
and, for every $h\in H$,
$$\left||T\cap(h+H_0)|-\lambda(h)|T|\right|\le x^{-1+\varepsilon}|T|,\qquad
\lambda(h)=\begin{cases}4c,&h\in H_0,\\3c,&h\notin H_0.\end{cases}$$
For $t\in T$ require $|a_t/b-x|\le1$; thus $a_t\ge b(x-1)>0$. For every $u\in H_0$ and $0\le j<m$, require $w_{u,j}$ to be positive on $\Phi$, to take values in $[b,b+\eta+1]$ on $\{((0,1),s+u):s\in T_2\}$, and to be at most $2b'$ at the other points of $\Phi$. Also require
$$b'X'\le xb,\qquad a_t/w_{u,j}(g)\le N\quad(t\in T,\ g\in\Phi),$$
$$|h_\gamma(y)|\le y\theta\quad(\gamma\in\widehat G,\ y\ge X'/3),$$
$$2(2n)(x+1)\theta\le1/x,\qquad6(2n)(x+1)(\eta+1)\le b/x.$$
For $s>0$, $t\in H$, and $w:G\to\mathbb R$ positive on $\Phi$, define $(z)_+=\max\{z,0\}$ and the prime-power count
$$\begin{aligned}
A(s,t,w)={}&2\!\sum_{\substack{p\le N\ \mathrm{prime},\ p\notin\{2,q,d\}\\F_p\notin\Phi}}\!\log p
\sum_{\substack{1\le i\le N\\iF_p\notin\Phi}}(s/p^i-w(P_t(iF_p)))_+\\
&+\log d\sum_{i=1}^N\sum_{\substack{g\in G\setminus\Phi\\g-iF_d\in I_d}}(s/d^i-w(P_t(g)))_+.
\end{aligned}$$
Its complex main term is
$$M_0(s,w)=s\left(\log s-1-\gamma_{\!E}+\kappa(\chi_C)-\frac1{2n}\sum_{g\in\Phi}\log w(g)\right).$$
Choose the remaining real parameters and nonempty finite sets required by all eleven numerical conditions and all seven size conditions of (Prime-power count boundTheorem ANT.0103). Take its translation index set to be $H_0$ and its translation map to be the inclusion $H_0\hookrightarrow H$. Use the same arithmetic data, $\kappa$, $x,\varepsilon,n,m,b,b',k,T,T_2$, weights and cutoff $N$, and use $a_0$ for the real parameter denoted $a$ in (Prime-power count boundTheorem ANT.0103). Its count and main term are then $\sum_{t\in T}\sum_{j=0}^{m-1}A(a_t,t,w_{u,j})$ and $\sum_{t\in T}\sum_{j=0}^{m-1}\Re M_0(a_t,w_{u,j})$, respectively. Require the nonnegative error exponents denoted $e_D,e_P$ in (Prime-power count boundTheorem ANT.0103) to be at most $2,0$, respectively. In particular, the numerical conditions include nonnegative real numbers $B_0,N_c$ satisfying
$$B_0\le2nmbx^\varepsilon,\qquad N_c\le|T_2|kbx^{2\varepsilon}/n^2.$$
Step 3: choose these data simultaneously on intervals. Apply (Compatible arithmetic data on intervalsTheorem AGR.0100) to $\psi$. Write $\varepsilon_1$ for the resulting positive bound on $\varepsilon$. For $0<\varepsilon<\min\{\varepsilon_1,1/52\}$, this gives a threshold $x_0\ge3$ and a set $\mathcal W\subset[3,\infty)$ such that
$$\forall Z\in\mathbb R\quad\exists Y\ge\max\{1,Z\}:\qquad [Y,Y^{3/2}]\subset\mathcal W.$$
For every $x\in\mathcal W$ with $x\ge x_0$, the data in Steps 1 and 2 exist simultaneously. The counting error exponents are at most $2$ and $0$, so we take $e_D=2,e_L=0$ throughout the remaining estimates.
The threshold $x_0$ is uniform over $x\in\mathcal W$; the groups, primes, weights and numerical parameters may depend on $x$. To combine the analytic and counting conditions, it suffices to construct, for each $x\in\mathcal W$, a nonempty collection of choices with the following two properties. Beyond a threshold $x_A$, every choice satisfies Step 1 and the coset proportions in Step 2. Beyond a threshold $x_C$, at least one choice satisfies all the remaining conditions of Step 2. Both thresholds must be independent of $x$. Selecting this latter choice and taking $x_0=\max\{3,x_A,x_C\}$ gives both sets of conditions for the same group, primes and weights.
The cyclic subgroup in Step 1 comes from the construction of the finite group. For an integer $e\ge2$, put
$$Q=\operatorname{lcm}(2^{e+2},M),\qquad C_e=(\mathbb Z/2^{e+2}\mathbb Z)^\times/\{\pm1\},\qquad B_\psi=\{\psi(a):a\in\mathbb Z,\ (a,M)=1\}\subset\mathbb C^\times.$$
Write $[a]$ for reduction modulo $2^{e+2}$ followed by the quotient by $\{\pm1\}$.
Take $H$ to be the image of the homomorphism
$$(\mathbb Z/Q\mathbb Z)^\times\longrightarrow C_e\times B_\psi,\qquad a\longmapsto([a],\psi(a)),$$
and take $H_0$ to be the kernel of the second projection on $H$, writing these groups additively in Steps 1 and 2. The first projection is injective on $H_0$. Since $C_e$ is cyclic, generated by the class of $5$, $H_0$ is cyclic. The second projection has image $B_\psi$, so $[H:H_0]=o$. Cyclicity is inherited from this construction; Steps 4–7 use $T_2\subset H_0$ and the index $o$.
The prime congruences are requirements of the number-field construction. (Auxiliary primes with controlled twistsTheorem ANT.1.0101) imposes them together with $q\mid d+1$ and $p\mid d+1$ for every odd prime $p\le U^{\varepsilon/5}$, where $U\ge1$ is the scale at which the primes are chosen. (Simultaneous auxiliary-prime and cohomological windowsTheorem ANT.1564) retains these conditions while choosing the same primes for the analytic estimates and the localization-kernel bound. The quadratic fields $\mathbb Q(\sqrt{-q})$ and $\mathbb Q(\sqrt{-d})$ have discriminants $-q$ and $-d$; the congruences make $2$ inert in the first and split in the second. The divisibilities give $-d\equiv1\pmod q$ and $-d\equiv1\pmod p$ for the indicated odd primes, so these primes also split in $\mathbb Q(\sqrt{-d})$.
Put $F_e=\mathbb Q(\zeta_{2^{e+2}})^+$, where $\zeta_{2^{e+2}}$ is a primitive $2^{e+2}$th root of unity and the superscript $+$ denotes the maximal real subfield. The stronger congruence modulo $16$ prevents an odd power of Frobenius at $d$ from acting trivially on $F_e$: every odd power of $d$ is $7\pmod{16}$ and hence is neither $1$ nor $-1$ modulo $2^{e+2}$. Quadratic reciprocity and $(-d/q)=1$ give $(-q/d)=-1$, with the parenthesized expressions denoting Legendre symbols. Thus complex conjugation cannot belong to a decomposition group at $d$ in $F_e\mathbb Q(\sqrt{-q},\sqrt{-d})$: its action on $\mathbb Q(\sqrt{-q})$ would require an odd power of Frobenius, whose action on $F_e$ is nontrivial, whereas complex conjugation fixes $F_e$. These restrictions enter the number-field construction; Steps 4–7 use the inertia and Frobenius conditions displayed in Step 1.
Step 4: obtain the character weights from the coset proportions. Step 1 gives a bijection $\mathcal K\to\mathcal P_\psi$, with $1$ mapping to the principal primitive character. The characters in $\Psi_0$ are exactly the characters of $G/\iota(H_0)$, a group of order $4o$. The finite-character counting formula in Mathlib therefore gives $|\Psi_0|=4o$.
For $\gamma\in\mathcal K\setminus\{1\}$, the character $t\mapsto\gamma(\iota(t))$ is nontrivial by Step 1 and is trivial on $H_0$ because $\mathcal K\subset\Psi_0$. (Coset proportions and character averagesTheorem ALG.0155), with constant contribution $3c|T|$, additional contribution $c|T|$ on $H_0$, and error $x^{-1+\varepsilon}|T|$, gives
$$\left|\sum_{t\in T}\gamma(\iota(t))-c|T|\right|\le ox^{-1+\varepsilon}|T|.$$
Here is the coset calculation for this application. The character is constant on each of the $o$ cosets of $H_0$, with values of modulus one. By Step 2, replacing each coset size $|T\cap(h+H_0)|$ by $\lambda(h)|T|$ changes the character sum by at most $ox^{-1+\varepsilon}|T|$. The replacement sum equals $c|T|$: the contribution $3c|T|$ on every coset sums to zero by nontrivial-character orthogonality on $H/H_0$, and the additional contribution on $H_0$ is $c|T|$. For the trivial character the sum over $T$ is $|T|$.
Also $|\kappa(\gamma)|\le K_0$ for $\gamma\in\mathcal K\setminus\{1\}$, by the definition of $K_0$. These are the coefficient and logarithmic-derivative estimates needed below, together with the bounds for $\Psi_0\setminus\mathcal K$ in Step 1.
Step 5: bound the count at every translation. Set
$$\Delta_u=\sum_{t\in T}\sum_{j=0}^{m-1}\{A(a_t,t,w_{u,j})-\Re M_0(a_t,w_{u,j})\},$$
$$B=|T|a_0(1+m^2/k)+2nm^2bx^\varepsilon+\frac{m|T_2|kbx^{2\varepsilon}}{n^2}.$$
All the hypotheses of (Prime-power count boundTheorem ANT.0103) hold by Step 2, and the exponent in (Prime-power count boundTheorem ANT.0103) is at most $2+0+3=5$. Since $x\ge1$, $\varepsilon>0$ and $B\ge0$, (Prime-power count boundTheorem ANT.0103) gives
$$\Delta_u\le x^{5\varepsilon}B\qquad(u\in H_0).$$
Step 6: convert the count bound into the smoothed character bound. Step 6 uses (From uniform prime counts to a character sumTheorem ANT.0158), which we do not prove here. In (From uniform prime counts to a character sumTheorem ANT.0158), take the count exponent constant to be $C=5$, the logarithmic-derivative constant to be $C_a=4$, the bound for $|\kappa(\gamma)|$ on $\mathcal K\setminus\{1\}$ to be $K_0$, the nontrivial-character weight to be $c$, and the character-count bound to be $4o$. These constants are fixed before $x$, with $C\ge0$ and $0<c\le1$. Let $x_1$ be the resulting threshold, independent of the group and weights.
Every hypothesis of (From uniform prime counts to a character sumTheorem ANT.0158) holds when $x\in\mathcal W$ and $x\ge\max\{x_0,x_1\}$. The coefficient identity and the definition of $\kappa$ in Step 1 identify its smoothed sums with $h_\gamma$, including the principal term. Step 1 gives its subgroup and arithmetic conditions, Step 2 gives its size and weight conditions, and Step 4 gives its character conditions. The error in Step 4 is at most the permitted $4ox^{-1+\varepsilon}|T|$. Step 5 gives its count hypothesis, since
$$\frac{|T_2|kbx^\varepsilon}{n(nx^{-\varepsilon})}=\frac{|T_2|kbx^{2\varepsilon}}{n^2}.$$
The coefficient of the trivial character is $1$. Every other member of $\mathcal K$ is nontrivial on $\iota(H)$ by Step 1, so its coefficient is $c$. The bijection in Step 4 therefore identifies the conclusion of (From uniform prime counts to a character sumTheorem ANT.0158) as
$$G_\psi(x)\le x^{1/2+8\varepsilon}+\Sigma(x),\qquad
\Sigma(x)=\sum_{\gamma\in\Psi_0\setminus\mathcal K}|h_\gamma(x)|.$$
Step 7: absorb the auxiliary characters and choose the interval. The bounds in Step 1 and $|\Psi_0|=4o$ give $\Sigma(x)\le4ox^{1/2+\varepsilon}$. Since $x\ge1$ and $\varepsilon>0$,
$$G_\psi(x)\le(1+4o)x^{1/2+8\varepsilon}.$$
Choose $x_2=\max\{3,(1+4o)^{1/\varepsilon}\}$. Then $x^\varepsilon\ge1+4o$ for $x\ge x_2$, by the real-power identities and monotonicity in Mathlib. Consequently,
$$G_\psi(x)\le x^{1/2+9\varepsilon}\qquad(x\in\mathcal W,\ x\ge\max\{x_0,x_1,x_2\}).$$
Given any real $Y_0$, Step 3 provides $Y\ge\max\{Y_0,x_0,x_1,x_2\}$ with $[Y,Y^{3/2}]\subset\mathcal W$. The bound holds at every point of this interval. Replace $\varepsilon_1$ by $\min\{\varepsilon_1,1/52\}$ to obtain the asserted quantifier range; since $e_D+e_L+7=9$, this proves the statement.
∎