\begin{figure}[p] \centering \resizebox{\textwidth}{!}{% \begin{tikzpicture}[font=\scriptsize, >=stealth] \begin{scope}[shift={(0.0, 14.35)}] \fill[holdsK!55, draw=black!75, thin] (0.0, -0.14) rectangle (0.36, 0.14); \node[anchor=west] at (0.44, 0) {Tractable ($\mathsf{P}$ or $\mathsf{NC}^2$)}; \fill[ruledNow!75, draw=black!75, thin] (3.55, -0.14) rectangle (3.91, 0.14); \node[anchor=west] at (3.99, 0) {Hard (proved here)}; \fill[ruledBefore!55, draw=black!65, thin] (6.80, -0.14) rectangle (7.16, 0.14); \node[anchor=west] at (7.24, 0) {Prior poly-size hard \cite{Barrington1989}}; \fill[unknownK, draw=black!60, thin] (11.20, -0.14) rectangle (11.56, 0.14); \node[anchor=west] at (11.64, 0) {Not previously studied}; \end{scope} \node[anchor=west, font=\footnotesize\bfseries] at (0, 13.70) {(a) Modular counting $\#\mathcal{M}_{g^*}^\Gamma(G)\;\mathrm{mod}\, q$ across all finite groups $\Gamma$ and moduli $q \ge 2$ (planar, genus $O(\log n)$, treewidth $\le c,\; c \ge 2$)}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (3.35, 13.06) {Before this paper}; \draw[thick] (0.0, 9.75) rectangle (6.7, 13.00); \fill[holdsK!55] (0.0, 11.95) rectangle (6.7, 13.00); \draw[black!60] (0.0, 11.95) -- (6.7, 11.95); \node[align=center, text width=6.4cm] at (3.35, 12.48) {\textbf{Class I: $\Gamma$ abelian}\\Exact \& all $\mathrm{mod}\, q$ in $\mathsf{NC}^2$ or $\mathsf{P}$ \cite{Kasteleyn1967,Vazirani1989,GalluccioLoebl1999,BodlaenderHagerup1998,ElberfeldJakobyTantau2010,MahajanSubramanyaVinay2004,ChiuDavidaLitow2001}}; \fill[unknownK] (0.0, 9.75) rectangle (6.7, 11.95); \fill[ruledBefore!55] (4.75, 9.75) rectangle (6.7, 10.85); \draw[dashed, black!45] (0.0, 10.85) -- (6.7, 10.85); \draw[black!50] (4.75, 9.75) -- (4.75, 10.85); \node[align=center, text width=6.2cm, text=black!80] at (3.35, 11.40) {\textbf{Class II: non-abelian $\Gamma \in \mathcal{C}_p$}\\($Q_8, D_8, S_3, A_4, \mathrm{SL}(2,3)$): \emph{not studied}}; \node[align=center, text width=4.5cm, text=black!80] at (2.38, 10.30) {\textbf{Solvable Class III} ($D_{24}, S_4,$\\$S_3\!\times\!A_4, \mathbb{Z}_3^2\!\rtimes\!Q_8$): \emph{not studied}}; \node[align=center, text width=1.8cm, text=ruledNow!90!black] at (5.72, 10.30) {\textbf{Non-solv.}\\($A_5$): hard \cite{Barrington1989}}; \draw[->, very thick, black!75] (6.95, 11.38) -- (8.25, 11.38); \node[above, font=\scriptsize\bfseries] at (7.60, 11.44) {Thm.~\ref{thm:mod-trichotomy}}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (12.05, 13.06) {After (complete classification)}; \draw[thick] (8.5, 9.75) rectangle (15.6, 13.00); \fill[holdsK!55] (8.5, 11.95) rectangle (15.6, 13.00); \draw[black!75] (8.5, 11.95) -- (15.6, 11.95); \node[align=center, text width=6.6cm] at (12.05, 12.48) {\textbf{Class I ($\mathrm{Ab}$):} exact \& all $q \ge 2$ in $\mathsf{NC}^2$ (planar/tw-$c$), $\mathsf{P}$ (genus)}; \fill[holdsK!55] (8.5, 10.85) rectangle (12.15, 11.95); \fill[ruledNow!75] (12.15, 10.85) rectangle (15.6, 11.95); \draw[black!75] (12.15, 10.85) -- (12.15, 11.95); \draw[black!75] (8.5, 10.85) -- (15.6, 10.85); \node[align=center, text width=3.45cm] at (10.32, 11.40) {\textbf{$q = p^e$ ($e \ge 1$):} $\mathsf{NC}^2$ (pl./tw-$c$),\\$\mathsf{P}$ (genus) via $\mathrm{GR}(p^e,s)$}; \node[align=center, text width=3.2cm, text=white] at (13.88, 11.40) {\textbf{prime $\ell \mid q,\; \ell \neq p$:}\\$\mathsf{Mod}_\ell\mathsf{P}$-hard (tw-$2$)}; \fill[ruledNow!75] (8.5, 9.75) rectangle (15.6, 10.85); \node[align=center, text=white] at (12.05, 10.30) {\textbf{Class III ($\Gamma \notin \bigcup_p \mathcal{C}_p$): no tractable modulus}\\$\mathsf{Mod}_\ell\mathsf{P}$-hard $\forall q \ge 2$, $\forall\text{ prime }\ell \mid q$ (Frobenius 1907)}; \node[anchor=west, font=\footnotesize\bfseries] at (0, 8.95) {(b) Exact integer counting $\#\mathcal{M}_{g^*}^\Gamma(G)$ on outerplanar bipartite graphs: maximum degree $\Delta = 2$ vs.\ $\Delta = 3$}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (3.35, 8.31) {Before this paper}; \draw[thick] (0.0, 5.30) rectangle (6.7, 8.25); \fill[holdsK!55] (0.0, 5.30) rectangle (1.75, 8.25); \fill[unknownK] (1.75, 5.30) rectangle (5.05, 8.25); \fill[ruledBefore!55] (5.05, 5.30) rectangle (6.7, 8.25); \draw[black!60] (1.75, 5.30) -- (1.75, 8.25); \draw[black!50] (5.05, 5.30) -- (5.05, 8.25); \draw[dashed, black!45] (0.0, 6.78) -- (6.7, 6.78); \node[align=center, text width=1.6cm] at (0.88, 7.52) {\textbf{$\Delta = 2$}\\$\mathrm{Ab}$ in $\mathsf{NC}^2$}; \node[align=center, text width=1.6cm] at (0.88, 6.04) {\textbf{$\Delta = 3$}\\$\mathrm{Ab}$ in $\mathsf{NC}^2$}; \node[align=center, text width=3.1cm, text=black!80] at (3.40, 7.52) {Solvable non-abelian\\($\Delta = 2$): \emph{not studied}}; \node[align=center, text width=3.1cm, text=black!80] at (3.40, 6.04) {Solvable non-abelian\\($\Delta = 3$): \emph{not studied}}; \node[align=center, text width=1.5cm, text=ruledNow!90!black] at (5.88, 7.52) {Non-solv.\\hard \cite{Barrington1989}}; \node[align=center, text width=1.5cm, text=ruledNow!90!black] at (5.88, 6.04) {Non-solv.\\hard \cite{Barrington1989}}; \draw[->, very thick, black!75] (6.95, 6.78) -- (8.25, 6.78); \node[above, font=\scriptsize\bfseries] at (7.60, 6.84) {Thm.~\ref{thm:outerplanar-exact}}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (12.05, 8.31) {After (complete classification)}; \draw[thick] (8.5, 5.30) rectangle (15.6, 8.25); \fill[holdsK!55] (8.5, 6.78) rectangle (12.35, 8.25); \fill[ruledNow!75] (12.35, 6.78) rectangle (15.6, 8.25); \fill[holdsK!55] (8.5, 5.30) rectangle (10.35, 6.78); \fill[ruledNow!75] (10.35, 5.30) rectangle (15.6, 6.78); \draw[black!75] (8.5, 6.78) -- (15.6, 6.78); \draw[black!75] (10.35, 5.30) -- (10.35, 8.25); \draw[black!75] (12.35, 6.78) -- (12.35, 8.25); \node[align=center, text width=1.7cm] at (9.42, 7.52) {\textbf{$\Delta = 2$}\\$\mathrm{Ab}$ ($\mathsf{NC}^2$)}; \node[align=center, text width=1.85cm] at (11.35, 7.52) {\textbf{$\mathcal{Q}_4$ ($Q_8,D_8$)}\\$\mathsf{P}$ ($\mathbb{Z}_4$-Gauss)}; \node[align=center, text width=3.1cm, text=white] at (13.98, 7.52) {\textbf{$\Gamma \notin \mathrm{Ab} \cup \mathcal{Q}_4$}\\$\#\mathsf{P}$-hard (Schmidt + 3 cases)}; \node[align=center, text width=1.7cm] at (9.42, 6.04) {\textbf{$\Delta = 3$}\\$\mathrm{Ab}$ ($\mathsf{NC}^2$)}; \node[align=center, text width=4.9cm, text=white] at (12.98, 6.04) {\textbf{Every non-abelian $\Gamma$ (incl.\ $\mathcal{Q}_4$)}\\$\#\mathsf{P}$-hard via $10$-vertex $O_{10}$ (Ising)}; \node[anchor=west, font=\footnotesize\bfseries] at (0, 4.50) {(c) Class~III $\Delta = 2$ vs.\ tw-$2$ separation (orders $24$ and $72$, $\mathrm{mod}\, 3$) and linear-size non-solvable hardness}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (3.35, 3.86) {Before this paper}; \draw[thick] (0.0, 0.90) rectangle (6.7, 3.80); \fill[unknownK] (0.0, 2.35) rectangle (6.7, 3.80); \fill[ruledBefore!55] (0.0, 0.90) rectangle (6.7, 2.35); \draw[dashed, black!45] (0.0, 2.35) -- (6.7, 2.35); \node[align=center, text width=6.4cm, text=black!80] at (3.35, 3.08) {\textbf{Class~III $P\!\rtimes\!Q$ ($D_{24}, \mathrm{Dic}_6$; faithful $\mathbb{Z}_3^2\!\rtimes\!Q_8, D_8$):}\\$2$-regular vs.\ tw-$2$ $\mathrm{mod}\, 3$ status \emph{not studied}}; \node[align=center, text width=6.4cm, text=ruledNow!90!black] at (3.35, 1.62) {\textbf{Non-solvable ($A_5, \mathrm{PSL}(2,r)$ prime power $r\!\ge\!4$):}\\poly-size $\Delta = 2$ hardness via Barrington \cite{Barrington1989}}; \draw[->, very thick, black!75] (6.95, 2.35) -- (8.25, 2.35); \node[above, font=\scriptsize\bfseries, align=center] at (7.60, 2.41) {Thms.\\[-2pt]\ref{thm:order72}, \ref{thm:outerplanar-exact}}; \node[anchor=south, font=\scriptsize\bfseries, text=black!75] at (12.05, 3.86) {After (separation \& linear-size proof)}; \draw[thick] (8.5, 0.90) rectangle (15.6, 3.80); \fill[holdsK!55] (8.5, 2.35) rectangle (12.05, 3.80); \fill[ruledNow!75] (12.05, 2.35) rectangle (15.6, 3.80); \draw[black!75] (12.05, 2.35) -- (12.05, 3.80); \draw[black!75] (8.5, 2.35) -- (15.6, 2.35); \node[align=center] at (10.28, 3.08) {\textbf{$2$-regular outerplanar:}\\$\mathsf{P}$ (Dickson Gauss sums)}; \node[align=center, text=white] at (13.82, 3.08) {\textbf{Planar bipartite tw-$2$:}\\$\mathsf{Mod}_3\mathsf{P}$-hard (Class III)}; \fill[ruledNow!75] (8.5, 0.90) rectangle (15.6, 2.35); \node[align=center, text=white] at (12.05, 1.62) {\textbf{Linear-size, depth-$2$ commutator ($\Delta = 2$):}\\$\#\mathsf{P}$ \& $\mathsf{Mod}_\ell\mathsf{P}$-hard ($\ell$ prime; Thompson + Schmidt)}; \end{tikzpicture}% } \caption{Before-and-after summary of exact and modular counting for edge-ordered group-labeled perfect matchings (here tw-$c$ denotes treewidth $\le c$ with $c \ge 2$, $\mathrm{GR}(p^e, s)$ the Galois ring of characteristic $p^e$ and rank $s$, and $\mathcal{Q}_4$ the class-$2$ $2$-groups of exponent at most $4$): (a)~complete modular classification on planar, $O(\log n)$-genus, and bounded-treewidth ($c \ge 2$) graphs (Theorem~\ref{thm:mod-trichotomy}); (b)~complete exact classification on outerplanar bipartite graphs at $\Delta = 2$ and $\Delta = 3$ (Theorem~\ref{thm:outerplanar-exact}); (c)~Class~III $\Delta = 2$ vs.\ tw-$2$ separation modulo~$3$ starting at order~$24$ ($D_{24}, \mathrm{Dic}_6$) and reaching faithful non-nilpotent-by-abelian actions at order~$72$ (Theorem~\ref{thm:order72}), with linear-size non-solvable hardness (Theorem~\ref{thm:outerplanar-exact}(b)).} \label{fig:before-after} \end{figure}