\subsection{Allowances at the coefficient primes} At each rational prime normalize \(v_\ell(\ell)=1\). Take the \hyperlink{proof.shared-level-group-order}{same chosen-level group order} \(G=D_{\mathrm{aut}}\) for the datum of the selected square and set \[ c_\ell=v_\ell(G)+2^{-\ell},\qquad v_\ell=9c_\ell\log\ell. \] Here \(v_\ell\) without an argument is the ramified ratio allowance. \paragraph{Special values for the critical parity.} \teamanchor{proof.shared-critical-selmer-values}% Let \(L/\mathbf Q\) be abelian CM of degree \(n_L\), with maximal real subfield \(F_L\), and let \(N_L\) be divisible by the conductors of its primitive Dirichlet characters. For \(k\ge2\) put \[ H_{\ell,k}(L)=H^2_{\mathrm{\acute et}} (\mathcal O_L[1/\ell],\mathbf Z_\ell(k)), \qquad w_k(L)=|H^0(L,\mathbf Q/\mathbf Z(k))|. \] Use the corresponding notation for \(F_L\). The factor \(\Lambda_k(L)\) is the product of \(L(1-k,\xi)\) over primitive associates of the characters of \(L\) with \(\xi(-1)=(-1)^k\). By Artin factorization it equals \(\zeta_{F_L}(1-k)\) for even \(k\), and \(L(1-k,\chi_{L/F_L})\) for odd \(k\). For even \(k\), the cohomological Lichtenbaum formula for the totally real abelian field \(F_L\) gives the valuation of \(\zeta_{F_L}(1-k)\) as the valuation of the ratio of the ordinary degree-two cohomology order to the degree-one torsion order for \(\mathcal O_{F_L}[1/\ell]\). Huber--Kings give this at odd primes \cite[Theorems~1.3.1 and~1.4.1]{f2-huber-kings}, and Kolster's abelian case gives it at \(2\) \cite[Appendix~A, Theorem~A.1 and Corollary~A.3, p.~45]{f2-rognes-weibel-dyadic}. The real regulator has rank zero in this parity, degree-one torsion has order equal to the \(\ell\)-part of \(w_k(F_L)\) by the coefficient sequence, and the Euler factors at \(\ell\) are \(\ell\)-units at \(1-k\). Thus \[ \log_\ell|H_{\ell,k}(F_L)| =v_\ell(\Lambda_k(L))+v_\ell(w_k(F_L)). \] For odd \(k\ge3\), \(L/F_L\) is cyclic of degree two and \(L\) is abelian over \(\mathbf Q\). In the cohomological definition, the higher class number for \(D=L,F_L\) is \(h_k(D)=\prod_\ell|H_{\ell,k}(D)|\), with ordinary cohomology also at \(2\) \cite[pp.~223--224]{f2-voight-relative}. Kolster's higher relative class number formula gives, up to sign, \(\Lambda_k(L)=(2^{[F_L:\mathbf Q]+1}/Q_k) h_k(L)/(h_k(F_L)w_k(L))\) \cite[\S5 and Theorem~6.1, p.~183]{f2-kolster-sands}. The higher unit index satisfies \(Q_k\in\{1,2\}\) \cite[Proposition~1.2(a), p.~224]{f2-voight-relative}. Taking valuations gives \[ \log_\ell\frac{|H_{\ell,k}(L)|}{|H_{\ell,k}(F_L)|} =v_\ell(\Lambda_k(L))+v_\ell(w_k(L)) +v_\ell(Q_k)-([F_L:\mathbf Q]+1)v_\ell(2), \qquad Q_k\in\{1,2\}. \] Let \(P_k=\prod_{p\le k+1}p\), and let \(f_\xi\) be the primitive conductor of \(\xi\). For \(f_\xi>1\), grouping the Dirichlet series by residue classes gives \(L(s,\xi)=f_\xi^{-s}\sum_{a=1}^{f_\xi-1}\xi(a)\zeta(s,a/f_\xi)\). When \(f_\xi=1\) the single term is \(\zeta(s,1)=\zeta(s)\). Using \(\zeta(1-k,u)=-B_k(u)/k\) \cite[(25.15.3) and (25.11.14)]{dlmf} gives \[ L(1-k,\xi)=-\frac{f_\xi^{\,k-1}}{k} \sum_{a=1}^{f_\xi}\xi(a)B_k(a/f_\xi). \] Each even \(B_j\) with \(2\le j\le k\) has squarefree denominator supported on primes \(p\) with \(p-1\mid j\) by von Staudt--Clausen \cite[(24.10.1)]{dlmf}. The only nonzero odd \(B_j\) is \(B_1=-1/2\). Hence \(P_k\) clears every Bernoulli number in the polynomial \(B_k\), and the expansion shows that \(kP_k f_\xi L(1-k,\xi)\) is an algebraic integer. The same expansion and \(|B_j|\le j!\) give \(|B_k(u)|\le3k!\) on \([0,1]\), so \(|L(1-k,\xi)|\le3(k f_\xi)^k\). The parity list is Galois-stable and the factors are nonzero by the functional equation. Thus \[ M_k(L)=\Lambda_k(L)\prod_{\xi(-1)=(-1)^k} kP_k f_\xi \] is a nonzero rational integer, and \(P_k\le(2k)^k\) gives \[ \log|M_k(L)| \le n_L\bigl(\log3+\log(kN_L)+k\log(2k)+k\log(kN_L)\bigr). \] In particular \(v_\ell(\Lambda_k(L))\le v_\ell(M_k(L))\). If \(\ell^a\mid w_k(L)\), the cyclotomic image in \((\mathbf Z/\ell^a\mathbf Z)^\times\) has index at most \(n_L\) and exponent dividing \(k\). Its order is at most \(k\) at odd \(\ell\) and at most \(2k\) at \(2\), by the cyclic structure of the odd prime-power units and the two cyclic factors at \(2\). It follows that \(\ell^a\le2n_Lk\) at odd \(\ell\) and \(2^a\le4n_Lk\) at \(2\). Each odd prime in \(w_k(L)\) contributes at most \(\log(2n_Lk)\) to its logarithm, and there are at most \(n_Lk\) of them. In particular \(\log w_k(L)\ll n_Lk\log(2n_Lk)\). \paragraph{A common integer for the Tate-twisted cocycles.} \teamanchor{proof.weighted-fit-odd-class-budget}% Put \(N_{\rm cyc}=dN_1\), \(F=E^+\), and \(n_E=[E:\mathbb Q]\). Since \(E/F\) is \hyperlink{proof.weighted-datum-characters}{unramified at every finite place}, the restriction and corestriction maps between its rings of \(\ell\)-integers satisfy \(\operatorname{cor}\operatorname{res}=2\) and \(\operatorname{res}\operatorname{cor}=1+c\), where \(c\) is complex conjugation on \(E\). The cocycles to be bounded have coefficients in \((O/\ell^\nu O)(-e)\), with \(0\le e0\) they vanish on the kernels of the cyclotomic character in the decomposition groups above \(\ell\), and they obey \(z(cgc^{-1})=-z(g)\). Take \(e>0\) and \(O=\mathbb Z_\ell\). Embed the coefficients into \(B=(\mathbb Q_\ell/\mathbb Z_\ell)(-e)\). At \(v\mid\ell\) the local cocycle factors through the cyclotomic image of the decomposition group, which is open because \(E_v/\mathbb Q_\ell\) is finite. At odd \(\ell\) this image has a procyclic subgroup inside \(1+\ell\mathbb Z_\ell\) of index prime to \(\ell\). At \(2\) it is itself procyclic since \(4\mid N_1\) gives \(i\in E\). In either case a topological generator of the procyclic subgroup acts on \(B\) with its action minus one a nonzero scalar. That scalar acts surjectively on the divisible module \(B\), so \(H^1\) of the subgroup vanishes. The prime-to-\(\ell\) quotient at odd \(\ell\) has vanishing \(H^1\) on the invariant module as well. Thus the global cohomology class belongs to the strict localization kernel at the places over \(\ell\). \teamanchor{proof.selmer-minus-parts}% Conjugation acts on coefficients by \((-1)^e\), so the cohomology class of an odd cocycle has eigenvalue \(\epsilon=(-1)^{e+1}\). Every coboundary as a function on \(G_E\) is even, since \(\chi(cgc^{-1})=\chi(g)\). An odd cocycle that is a coboundary in \(B\) is therefore killed by two. The map to the strict localization kernel is injective at odd \(\ell\), and has kernel of order at most two at \(\ell=2\). For the latter assertion the image of the coboundary map is \(B/B^{G_E}\), again a divisible group whose two-torsion has order two, since \(B^{G_E}\) is finite cyclic. Set \(k=e+1\) and use \(H_{\ell,k}(L)\) as in the \hyperlink{proof.shared-critical-selmer-values}{special value calculation}. For the finite module \((\mathbf Z/\ell^s)(-e)\) and its Tate dual \((\mathbf Z/\ell^s)(k)\), cohomology on \(\mathcal O_E[1/\ell]\) agrees with Galois cohomology unramified outside \(\ell\). Poitou--Tate gives a perfect pairing of their localization kernels in degrees one and two. Only places over \(\ell\) contribute, since \(E\) has only complex infinite places \cite[Proposition~II.2.9 and Theorem~I.4.10(a)]{f1milne-adt}. Filtered direct limits commute with the localization kernels. Finiteness of degree-one cohomology at finite coefficients gives the Mittag--Leffler condition for inverse-limit cohomology in degree two \cite[Corollary~I.4.15]{f1milne-adt}. Thus the strict localization kernel for \(B\) is the equivariant Pontryagin dual of the wild kernel \(A\subset H_{\ell,k}(E)\). For \(k\ge2\), if \(\ell\) is odd or \(L\) is totally imaginary, Weibel identifies \(H_{\ell,k}(L)\) with the \(\ell\)-primary part of the finite group \(K_{2k-2}(\mathcal O_L)\) \cite[VI, Theorem~8.2 and its proof]{f1weibel-kbook}. At \(2\) for \(F\), the ordinary degree-two cohomology group is finite by Rognes--Weibel \cite[Proposition~6.12, p.~35]{f2-rognes-weibel-dyadic}. The duality controls signed orders even at \(2\), since \[ |(A^\vee)^\epsilon| = |A/(1-\epsilon c)A| = |A^\epsilon| \le |H_{\ell,k}(E)^{\,\epsilon}|. \] Here superscripts are the kernels of \(c-\epsilon\). This bounds the raw cocycles by the signed part of \(H_{\ell,k}(E)\) with the possible factor of two from coboundaries. Use the \hyperlink{proof.shared-critical-selmer-values}{critical special values} with \(L=E\), \(F_L=F\) and \(N_L=N_{\rm cyc}\), so that \(\Lambda_k=\Lambda_k(E)\). This compares the ordinary groups \(H_{\ell,k}(L)\) calculated with the same coefficients as the wild kernel. At odd \(\ell\), \(H_{\ell,k}(E)^+\simeq H_{\ell,k}(F)\) by transfer, and \(H_{\ell,k}(E)\) is the sum of its two sign parts. Thus the even-\(k\) formula controls the invariant part and the odd-\(k\) ratio controls the anti-invariant part, both by \(v_\ell(\Lambda_k)+v_\ell(w_k(E))\), using \(w_k(F)\mid w_k(E)\). For the coefficient prime \(2\), abbreviate \(H_L=H_{2,k}(L)\). If \(k\) is even then \(2H_E^+\subseteq\operatorname{res}H_F\), so \(|H_E^+|\le |H_F||H_E[2]|\). If \(k\) is odd, then \(k\ge3\) and \((1+c)H_E\supseteq 2\operatorname{res}H_F\). The kernel of restriction is killed by \(2\), and the kernel of doubling on its image is contained in \(H_E[2]\). Consequently \[ |H_E^-| = \frac{|H_E|}{|(1+c)H_E|} \le\frac{|H_E|}{|H_F|}|H_F[2]||H_E[2]|. \] The coefficient sequence embeds \(H_L/2H_L\) into \(H^2_{\mathrm{\acute et}}(\mathcal O_L[1/2],\mu_2)\). By the Kummer sequence the latter has order at most \[ h_L\,2^{\#\{v\mid2\ \mathrm{in}\ L\}+r_1(L)}. \] Indeed, the class group of \(\mathcal O_L[1/2]\) is a quotient of the ordinary class group, and the \(2\)-torsion of the Brauer group has local invariants only at the real and dyadic places. Since \(H_L\) is finite, \(|H_L[2]|=|H_L/2H_L|\). A common upper bound for the dyadic error, including the possible factor of two on passing from raw cocycles to classes, is therefore \[ C_2=1+2n_E+\lceil\log_2 h_E\rceil+\lceil\log_2 h_F\rceil . \] For \(E\) the integer \(M_k=M_k(E)\) from the \hyperlink{proof.shared-critical-selmer-values}{special value calculation} satisfies \(v_\ell(\Lambda_k)\le v_\ell(M_k)\) and \[ \log|M_k|\ll n_Ek\log(2kN_{\rm cyc}),\qquad \log w_k(E)\ll n_Ek\log(2n_Ek). \] The positive integer \[ X=h_E\,2^{C_2}\prod_{k=2}^t |M_k|w_k(E) \] bounds every finite cocycle length by \(v_\ell(X)\) for \(O=\mathbb Z_\ell\), with the full dyadic allowance \(2^{C_2}\) for every \(e\). For a finite coefficient extension \(O/\mathbb Z_\ell\), the defining cocycle conditions commute with finite free base change. In a \(\mathbb Z_\ell\)-basis of \(O\), each of the coefficient components obeys the identical conditions at the same modulus \(\ell^\nu\). Ordinary \(O\)-length is therefore the ramification index times \(\mathbb Z_\ell\)-length. With \(v_\ell(\ell)=1\), the normalized bound remains \(v_\ell(X)\). Finally \(E,F\) lie in the \hyperlink{proof.weighted-datum-characters}{cyclotomic field of conductor \(N_{\rm cyc}\)}, so their root discriminants are at most \(N_{\rm cyc}\) by the cyclotomic different and the discriminant tower formula. Minkowski's bound and the count of ideals of each possible norm give \(\log h_L\ll n_E^2\log(2N_{\rm cyc})\) for \(L=E,F\). Summing the displayed estimates gives \[ \log X \ll n_E^2\log(2N_{\rm cyc}) + n_E t^2\log(2n_EtN_{\rm cyc}). \] \teamanchor{proof.weighted-fitting-budget}% \paragraph{The local length and its sum over primes.} Put \(h_2=r^8\), take \(b_1\) to be the datum's integral rounding of \(a/x\), and set \(g=g_0g_1\) and \[ A=(2b_1)!\left(\prod_{\max(0,b_1-30h_2^3)