// Apply a saved colour theme before the page paints. "auto" follows the system. (function () { try { var t = localStorage.getItem("taxonova-theme"); if (t === "light" || t === "dark") document.documentElement.setAttribute("data-theme", t); } catch (e) { /* storage unavailable: follow the system */ } })();