/* Theme palettes share the Moonlight layout. Generated tone mapping preserves alpha. */
:root{--ui-page:#101927;--ui-surface:#182438;--ui-raised:#233651;--ui-text:#e3eaf6;--ui-muted:#b7c4d5;--ui-accent:#d4b77d;--ui-accent-soft:#263448;--ui-on-accent:#101927;--ui-line:#40516b;color-scheme:dark}
:root[data-theme=forest]{color-scheme:dark;--ui-page:#101e1b;--ui-surface:#182c26;--ui-raised:#223d33;--ui-text:#edf4e9;--ui-muted:#b8cbbf;--ui-accent:#dfc58e;--ui-accent-soft:#263c30;--ui-on-accent:#14221a;--ui-line:#415c4c;--tone-fg-302f2a:#14221a;--tone-fg-672d25:#dfc58e;--tone-fg-b78232:#dfc58e;--tone-edge-e6e2d9:#dfc58e;--tone-bg-faf9f6:#dfc58e;--tone-fg-ba873a:#dfc58e;--tone-fg-777369:#b8cbbf;--tone-fg-fff:#edf4e9;--tone-fg-8b6840:#dfc58e;--tone-fg-696a59:#b8cbbf;--tone-bg-fff:#182c26;--tone-fg-78756a:#b8cbbf;--tone-bg-f3ece0:#dfc58e;--tone-fg-777:#b8cbbf;--tone-fg-838076:#b8cbbf;--tone-bg-f5eee5:#dfc58e;--tone-edge-672d2520:#415c4c20;--tone-fg-77756b:#b8cbbf;--tone-fg-fff9ed:#dfc58e;--tone-fg-dfc197:#dfc58e;--tone-fg-e4cbb9:#dfc58e;--tone-edge-ffffff25:#415c4c25;--tone-fg-e5c391:#dfc58e;--tone-fg-efddcd:#dfc58e;--tone-fg-e6cdbb:#dfc58e;--tone-fg-7b756b:#b8cbbf;--tone-fg-847d72:#b8cbbf;--tone-fg-716e65:#b8cbbf;--tone-fg-514c40:#14221a;--tone-bg-f1ece3:#dfc58e;--tone-bg-23130f80:#101e1b80;--tone-bg-e9e4da:#dfc58e;--tone-bg-672d25:#223d33;--tone-bg-e0eae6:#182c26;--tone-bg-214d48:#223d33;--tone-bg-e1e8f1:#182c26;--tone-edge-234169:#415c4c;--tone-bg-101927:#101e1b;--tone-bg-233651:#223d33;--tone-bg-405477:#182c26;--tone-bg-f0ede6:#dfc58e;--tone-fg-6c685f:#b8cbbf;--tone-fg-203c38:#14221a;--tone-fg-214d48:#dfc58e;--tone-fg-997045:#dfc58e;--tone-edge-d4dfda:#415c4c;--tone-bg-f0f5f2:#182c26;--tone-fg-cfdfd5:#edf4e9;--tone-bg-e0eae4:#182c26;--tone-bg-e3ece7:#182c26;--tone-fg-22364e:#14221a;--tone-fg-234169:#dfc58e;--tone-edge-cfd8e2:#415c4c;--tone-fg-476488:#dfc58e;--tone-bg-eef3f9:#182c26;--tone-fg-52677e:#b8cbbf;--tone-edge-edf0f4:#415c4c;--tone-bg-f3f6fa:#182c26;--tone-bg-e1e9f4:#182c26;--tone-fg-e3eaf6:#edf4e9;--tone-fg-b9c9f0:#dfc58e;--tone-fg-d7ba80:#dfc58e;--tone-edge-30415b:#415c4c;--tone-edge-3b5070:#415c4c;--tone-edge-050c1520:#415c4c20;--tone-bg-182438:#223d33;--tone-bg-b9c9f0:#dfc58e;--tone-fg-101927:#14221a;--tone-bg-1c2a3f:#223d33;--tone-fg-b1bdd1:#b8cbbf;--tone-fg-c1cee4:#edf4e9;--tone-edge-40506a:#415c4c;--tone-fg-c0cadb:#edf4e9;--tone-bg-d7ba80:#dfc58e;--tone-fg-182438:#14221a;--tone-edge-b49b6a:#dfc58e;--tone-fg-e8cc92:#dfc58e;--tone-edge-615540:#dfc58e;--tone-bg-182538:#223d33;--tone-bg-202738:#223d33;--tone-edge-101927:#415c4c;--tone-edge-61554055:#dfc58e55;--tone-fg-be9f65:#dfc58e;--tone-fg-f4eee0:#dfc58e;--tone-fg-e7c98e:#dfc58e;--tone-fg-b9c5d8:#b8cbbf;--tone-edge-61554088:#dfc58e88;--tone-fg-d5c09b:#dfc58e;--tone-edge-4e493e:#415c4c;--tone-edge-c0a16c:#dfc58e;--tone-edge-4d5a70:#415c4c;--tone-fg-f2e9d9:#dfc58e;--tone-fg-adb9cc:#b8cbbf;--tone-fg-e6c994:#dfc58e;--tone-bg-142135f5:#223d33f5;--tone-edge-41516b:#415c4c;--tone-edge-050b1833:#415c4c33;--tone-fg-acbbd0:#b8cbbf;--tone-bg-26364b:#223d33;--tone-bg-e6c994:#dfc58e;--tone-fg-172235:#14221a;--tone-bg-1b2c44:#223d33;--tone-edge-40516b:#415c4c;--tone-fg-bac7db:#b8cbbf;--tone-fg-bdc9da:#b8cbbf;--tone-edge-786847:#dfc58e;--tone-bg-253346:#223d33;--tone-fg-bbc8db:#b8cbbf;--tone-edge-827052:#dfc58e;--tone-bg-293b53:#223d33;--tone-bg-19263a:#223d33;--tone-fg-e9eef8:#edf4e9;--tone-bg-18263b:#223d33;--tone-edge-354861:#415c4c;--tone-fg-e5ecf7:#edf4e9;--tone-edge-c1a976:#dfc58e;--tone-bg-22344d:#223d33;--tone-fg-aebbce:#b8cbbf;--tone-fg-b8c6d9:#b8cbbf;--tone-bg-1c2b40:#223d33;--tone-bg-293b54:#223d33;--tone-bg-18263c:#223d33;--tone-edge-73654d:#415c4c;--tone-fg-f1e7d2:#dfc58e;--tone-fg-ae9568:#dfc58e;--tone-bg-24374f:#223d33;--tone-edge-495c75:#415c4c;--tone-edge-766547:#dfc58e;--tone-fg-e5eaf5:#edf4e9;--tone-bg-07101cd9:#101e1bd9;--tone-edge-3d4e66:#415c4c;--tone-edge-34445e:#415c4c;--tone-fg-cfbc98:#dfc58e;--tone-fg-acbad0:#b8cbbf;--tone-bg-dfbd78:#dfc58e;--tone-edge-dfbd78:#dfc58e;--tone-edge-ffffff10:#415c4c10;--tone-fg-dfbd78:#dfc58e;--tone-edge-ffffff08:#415c4c08;--tone-bg-dfbd7808:#263c3008;--tone-fg-b9a783:#dfc58e;--tone-fg-8d9aab:#b8cbbf;--tone-bg-dfbd7809:#263c3009;--tone-edge-bba16d:#dfc58e;--tone-fg-9da9b9:#b8cbbf;--tone-fg-bac3ce:#b8cbbf;--tone-bg-152131:#223d33;--tone-edge-ffffff20:#415c4c20;--tone-fg-aebac9:#b8cbbf;--tone-fg-b7c1cf:#b8cbbf;--tone-edge-ffffff0d:#415c4c0d;--tone-fg-c3b088:#dfc58e;--tone-fg-b3a58d:#b8cbbf;--tone-fg-ebc77e:#dfc58e;--tone-bg-dfbd7812:#263c3012;--tone-fg-dfbd7826:#dfc58e26;--tone-fg-eee7d9:#dfc58e;--tone-fg-aebdce:#b8cbbf;--tone-bg-1b2a3d:#223d33;--tone-bg-142030:#223d33;--tone-edge-c6a66b26:#dfc58e26;--tone-edge-d7b57880:#dfc58e80;--tone-bg-203049:#223d33;--tone-fg-e8c98e:#dfc58e;--tone-fg-c8a869:#dfc58e;--tone-bg-172436:#223d33;--tone-edge-ffffff12:#415c4c12;--tone-fg-baa071:#dfc58e;--tone-fg-e3d6bd:#dfc58e;--tone-fg-9fadbf:#b8cbbf;--tone-bg-0c1420:#101e1b;--tone-fg-c1ccda:#edf4e9;--tone-fg-a5b5c9:#b8cbbf;--tone-fg-e1d4bd:#dfc58e;--tone-edge-c2a161:#dfc58e;--tone-bg-d3b4770a:#263c300a;--tone-fg-c6d0dc:#edf4e9;--tone-fg-9baabd:#b8cbbf;--tone-fg-a7b8cc:#b8cbbf;--tone-fg-d2b782:#dfc58e;--tone-bg-0a131e:#101e1b;--tone-fg-8fa0b4:#b8cbbf;--tone-fg-e0be78:#dfc58e;--tone-edge-dfbd7833:#dfc58e33;--tone-bg-dfbd7810:#263c3010;--tone-fg-a8b7ca:#b8cbbf;--tone-fg-97a8bb:#b8cbbf;--tone-edge-c8a56944:#dfc58e44;--tone-bg-c8a569:#dfc58e;--tone-edge-c8a56933:#dfc58e33;--tone-fg-e5c792:#dfc58e;--tone-fg-c8a569:#dfc58e;--tone-bg-172335:#223d33;--tone-edge-c8a569:#dfc58e;--tone-bg-c8a5690b:#263c300b;--tone-fg-efdab4:#dfc58e;--tone-fg-eee:#edf4e9;--tone-edge-c8a56966:#dfc58e66;--tone-edge-dfbd7866:#dfc58e66;--tone-fg-ddc18b:#dfc58e;--tone-edge-c6a66b66:#dfc58e66;--tone-bg-d4b77d:#dfc58e;--tone-fg-b7c4d5:#b8cbbf;--tone-edge-c5a469:#dfc58e;--tone-edge-c5a46966:#dfc58e66;--tone-fg-aeb9c9:#b8cbbf;--tone-fg-e7cc91:#dfc58e;--tone-bg-d4b77d16:#263c3016;--tone-edge-e7cc91:#dfc58e;--tone-fg-d4b77d:#dfc58e;--tone-edge-c5a46933:#dfc58e33;--tone-fg-dec18c:#dfc58e;--tone-fg-afbdcf:#b8cbbf;--tone-edge-ffffff16:#415c4c16;--tone-fg-bfc9d7:#b8cbbf;--tone-fg-dbb698:#dfc58e;--tone-edge-c5a46955:#dfc58e55;--tone-fg-c6d3df:#edf4e9;--tone-fg-d9c39a:#dfc58e;--tone-edge-c5a46945:#dfc58e45;--tone-bg-172337:#223d33;--tone-edge-c5a46970:#dfc58e70;--tone-bg-d4b77d0d:#263c300d;--tone-fg-e0c68f:#dfc58e;--tone-fg-f0cd93:#dfc58e;}
:root[data-theme=lotus]{color-scheme:dark;--ui-page:#241924;--ui-surface:#302333;--ui-raised:#443149;--ui-text:#f6eaf3;--ui-muted:#cfbace;--ui-accent:#e8bdc8;--ui-accent-soft:#47303f;--ui-on-accent:#2b1727;--ui-line:#65495f;--tone-fg-302f2a:#2b1727;--tone-fg-672d25:#e8bdc8;--tone-fg-b78232:#e8bdc8;--tone-edge-e6e2d9:#e8bdc8;--tone-bg-faf9f6:#e8bdc8;--tone-fg-ba873a:#e8bdc8;--tone-fg-777369:#cfbace;--tone-fg-fff:#f6eaf3;--tone-fg-8b6840:#e8bdc8;--tone-fg-696a59:#cfbace;--tone-bg-fff:#302333;--tone-fg-78756a:#cfbace;--tone-bg-f3ece0:#e8bdc8;--tone-fg-777:#cfbace;--tone-fg-838076:#cfbace;--tone-bg-f5eee5:#e8bdc8;--tone-edge-672d2520:#65495f20;--tone-fg-77756b:#cfbace;--tone-fg-fff9ed:#e8bdc8;--tone-fg-dfc197:#e8bdc8;--tone-fg-e4cbb9:#e8bdc8;--tone-edge-ffffff25:#65495f25;--tone-fg-e5c391:#e8bdc8;--tone-fg-efddcd:#e8bdc8;--tone-fg-e6cdbb:#e8bdc8;--tone-fg-7b756b:#cfbace;--tone-fg-847d72:#cfbace;--tone-fg-716e65:#cfbace;--tone-fg-514c40:#2b1727;--tone-bg-f1ece3:#e8bdc8;--tone-bg-23130f80:#24192480;--tone-bg-e9e4da:#e8bdc8;--tone-bg-672d25:#443149;--tone-bg-e0eae6:#302333;--tone-bg-214d48:#443149;--tone-bg-e1e8f1:#302333;--tone-edge-234169:#65495f;--tone-bg-101927:#241924;--tone-bg-233651:#443149;--tone-bg-405477:#302333;--tone-bg-f0ede6:#e8bdc8;--tone-fg-6c685f:#cfbace;--tone-fg-203c38:#2b1727;--tone-fg-214d48:#e8bdc8;--tone-fg-997045:#e8bdc8;--tone-edge-d4dfda:#65495f;--tone-bg-f0f5f2:#302333;--tone-fg-cfdfd5:#f6eaf3;--tone-bg-e0eae4:#302333;--tone-bg-e3ece7:#302333;--tone-fg-22364e:#2b1727;--tone-fg-234169:#e8bdc8;--tone-edge-cfd8e2:#65495f;--tone-fg-476488:#e8bdc8;--tone-bg-eef3f9:#302333;--tone-fg-52677e:#cfbace;--tone-edge-edf0f4:#65495f;--tone-bg-f3f6fa:#302333;--tone-bg-e1e9f4:#302333;--tone-fg-e3eaf6:#f6eaf3;--tone-fg-b9c9f0:#e8bdc8;--tone-fg-d7ba80:#e8bdc8;--tone-edge-30415b:#65495f;--tone-edge-3b5070:#65495f;--tone-edge-050c1520:#65495f20;--tone-bg-182438:#443149;--tone-bg-b9c9f0:#e8bdc8;--tone-fg-101927:#2b1727;--tone-bg-1c2a3f:#443149;--tone-fg-b1bdd1:#cfbace;--tone-fg-c1cee4:#f6eaf3;--tone-edge-40506a:#65495f;--tone-fg-c0cadb:#f6eaf3;--tone-bg-d7ba80:#e8bdc8;--tone-fg-182438:#2b1727;--tone-edge-b49b6a:#e8bdc8;--tone-fg-e8cc92:#e8bdc8;--tone-edge-615540:#e8bdc8;--tone-bg-182538:#443149;--tone-bg-202738:#443149;--tone-edge-101927:#65495f;--tone-edge-61554055:#e8bdc855;--tone-fg-be9f65:#e8bdc8;--tone-fg-f4eee0:#e8bdc8;--tone-fg-e7c98e:#e8bdc8;--tone-fg-b9c5d8:#cfbace;--tone-edge-61554088:#e8bdc888;--tone-fg-d5c09b:#e8bdc8;--tone-edge-4e493e:#65495f;--tone-edge-c0a16c:#e8bdc8;--tone-edge-4d5a70:#65495f;--tone-fg-f2e9d9:#e8bdc8;--tone-fg-adb9cc:#cfbace;--tone-fg-e6c994:#e8bdc8;--tone-bg-142135f5:#443149f5;--tone-edge-41516b:#65495f;--tone-edge-050b1833:#65495f33;--tone-fg-acbbd0:#cfbace;--tone-bg-26364b:#443149;--tone-bg-e6c994:#e8bdc8;--tone-fg-172235:#2b1727;--tone-bg-1b2c44:#443149;--tone-edge-40516b:#65495f;--tone-fg-bac7db:#cfbace;--tone-fg-bdc9da:#cfbace;--tone-edge-786847:#e8bdc8;--tone-bg-253346:#443149;--tone-fg-bbc8db:#cfbace;--tone-edge-827052:#e8bdc8;--tone-bg-293b53:#443149;--tone-bg-19263a:#443149;--tone-fg-e9eef8:#f6eaf3;--tone-bg-18263b:#443149;--tone-edge-354861:#65495f;--tone-fg-e5ecf7:#f6eaf3;--tone-edge-c1a976:#e8bdc8;--tone-bg-22344d:#443149;--tone-fg-aebbce:#cfbace;--tone-fg-b8c6d9:#cfbace;--tone-bg-1c2b40:#443149;--tone-bg-293b54:#443149;--tone-bg-18263c:#443149;--tone-edge-73654d:#65495f;--tone-fg-f1e7d2:#e8bdc8;--tone-fg-ae9568:#e8bdc8;--tone-bg-24374f:#443149;--tone-edge-495c75:#65495f;--tone-edge-766547:#e8bdc8;--tone-fg-e5eaf5:#f6eaf3;--tone-bg-07101cd9:#241924d9;--tone-edge-3d4e66:#65495f;--tone-edge-34445e:#65495f;--tone-fg-cfbc98:#e8bdc8;--tone-fg-acbad0:#cfbace;--tone-bg-dfbd78:#e8bdc8;--tone-edge-dfbd78:#e8bdc8;--tone-edge-ffffff10:#65495f10;--tone-fg-dfbd78:#e8bdc8;--tone-edge-ffffff08:#65495f08;--tone-bg-dfbd7808:#47303f08;--tone-fg-b9a783:#e8bdc8;--tone-fg-8d9aab:#cfbace;--tone-bg-dfbd7809:#47303f09;--tone-edge-bba16d:#e8bdc8;--tone-fg-9da9b9:#cfbace;--tone-fg-bac3ce:#cfbace;--tone-bg-152131:#443149;--tone-edge-ffffff20:#65495f20;--tone-fg-aebac9:#cfbace;--tone-fg-b7c1cf:#cfbace;--tone-edge-ffffff0d:#65495f0d;--tone-fg-c3b088:#e8bdc8;--tone-fg-b3a58d:#cfbace;--tone-fg-ebc77e:#e8bdc8;--tone-bg-dfbd7812:#47303f12;--tone-fg-dfbd7826:#e8bdc826;--tone-fg-eee7d9:#e8bdc8;--tone-fg-aebdce:#cfbace;--tone-bg-1b2a3d:#443149;--tone-bg-142030:#443149;--tone-edge-c6a66b26:#e8bdc826;--tone-edge-d7b57880:#e8bdc880;--tone-bg-203049:#443149;--tone-fg-e8c98e:#e8bdc8;--tone-fg-c8a869:#e8bdc8;--tone-bg-172436:#443149;--tone-edge-ffffff12:#65495f12;--tone-fg-baa071:#e8bdc8;--tone-fg-e3d6bd:#e8bdc8;--tone-fg-9fadbf:#cfbace;--tone-bg-0c1420:#241924;--tone-fg-c1ccda:#f6eaf3;--tone-fg-a5b5c9:#cfbace;--tone-fg-e1d4bd:#e8bdc8;--tone-edge-c2a161:#e8bdc8;--tone-bg-d3b4770a:#47303f0a;--tone-fg-c6d0dc:#f6eaf3;--tone-fg-9baabd:#cfbace;--tone-fg-a7b8cc:#cfbace;--tone-fg-d2b782:#e8bdc8;--tone-bg-0a131e:#241924;--tone-fg-8fa0b4:#cfbace;--tone-fg-e0be78:#e8bdc8;--tone-edge-dfbd7833:#e8bdc833;--tone-bg-dfbd7810:#47303f10;--tone-fg-a8b7ca:#cfbace;--tone-fg-97a8bb:#cfbace;--tone-edge-c8a56944:#e8bdc844;--tone-bg-c8a569:#e8bdc8;--tone-edge-c8a56933:#e8bdc833;--tone-fg-e5c792:#e8bdc8;--tone-fg-c8a569:#e8bdc8;--tone-bg-172335:#443149;--tone-edge-c8a569:#e8bdc8;--tone-bg-c8a5690b:#47303f0b;--tone-fg-efdab4:#e8bdc8;--tone-fg-eee:#f6eaf3;--tone-edge-c8a56966:#e8bdc866;--tone-edge-dfbd7866:#e8bdc866;--tone-fg-ddc18b:#e8bdc8;--tone-edge-c6a66b66:#e8bdc866;--tone-bg-d4b77d:#e8bdc8;--tone-fg-b7c4d5:#cfbace;--tone-edge-c5a469:#e8bdc8;--tone-edge-c5a46966:#e8bdc866;--tone-fg-aeb9c9:#cfbace;--tone-fg-e7cc91:#e8bdc8;--tone-bg-d4b77d16:#47303f16;--tone-edge-e7cc91:#e8bdc8;--tone-fg-d4b77d:#e8bdc8;--tone-edge-c5a46933:#e8bdc833;--tone-fg-dec18c:#e8bdc8;--tone-fg-afbdcf:#cfbace;--tone-edge-ffffff16:#65495f16;--tone-fg-bfc9d7:#cfbace;--tone-fg-dbb698:#e8bdc8;--tone-edge-c5a46955:#e8bdc855;--tone-fg-c6d3df:#f6eaf3;--tone-fg-d9c39a:#e8bdc8;--tone-edge-c5a46945:#e8bdc845;--tone-bg-172337:#443149;--tone-edge-c5a46970:#e8bdc870;--tone-bg-d4b77d0d:#47303f0d;--tone-fg-e0c68f:#e8bdc8;--tone-fg-f0cd93:#e8bdc8;}
:root[data-theme=sunrise]{color-scheme:light;--ui-page:#faf6ed;--ui-surface:#fffdf8;--ui-raised:#f0e5d4;--ui-text:#352a24;--ui-muted:#68574b;--ui-accent:#823c27;--ui-accent-soft:#f3e6d7;--ui-on-accent:#ffffff;--ui-line:#b5a48c;--tone-fg-302f2a:#ffffff;--tone-fg-672d25:#823c27;--tone-fg-b78232:#823c27;--tone-edge-e6e2d9:#823c27;--tone-bg-faf9f6:#823c27;--tone-fg-ba873a:#823c27;--tone-fg-777369:#68574b;--tone-fg-fff:#352a24;--tone-fg-8b6840:#823c27;--tone-fg-696a59:#68574b;--tone-bg-fff:#fffdf8;--tone-fg-78756a:#68574b;--tone-bg-f3ece0:#823c27;--tone-fg-777:#68574b;--tone-fg-838076:#68574b;--tone-bg-f5eee5:#823c27;--tone-edge-672d2520:#b5a48c20;--tone-fg-77756b:#68574b;--tone-fg-fff9ed:#823c27;--tone-fg-dfc197:#823c27;--tone-fg-e4cbb9:#823c27;--tone-edge-ffffff25:#b5a48c25;--tone-fg-e5c391:#823c27;--tone-fg-efddcd:#823c27;--tone-fg-e6cdbb:#823c27;--tone-fg-7b756b:#68574b;--tone-fg-847d72:#68574b;--tone-fg-716e65:#68574b;--tone-fg-514c40:#ffffff;--tone-bg-f1ece3:#823c27;--tone-bg-23130f80:#faf6ed80;--tone-bg-e9e4da:#823c27;--tone-bg-672d25:#f0e5d4;--tone-bg-e0eae6:#fffdf8;--tone-bg-214d48:#f0e5d4;--tone-bg-e1e8f1:#fffdf8;--tone-edge-234169:#b5a48c;--tone-bg-101927:#faf6ed;--tone-bg-233651:#f0e5d4;--tone-bg-405477:#fffdf8;--tone-bg-f0ede6:#823c27;--tone-fg-6c685f:#68574b;--tone-fg-203c38:#ffffff;--tone-fg-214d48:#823c27;--tone-fg-997045:#823c27;--tone-edge-d4dfda:#b5a48c;--tone-bg-f0f5f2:#fffdf8;--tone-fg-cfdfd5:#352a24;--tone-bg-e0eae4:#fffdf8;--tone-bg-e3ece7:#fffdf8;--tone-fg-22364e:#ffffff;--tone-fg-234169:#823c27;--tone-edge-cfd8e2:#b5a48c;--tone-fg-476488:#823c27;--tone-bg-eef3f9:#fffdf8;--tone-fg-52677e:#68574b;--tone-edge-edf0f4:#b5a48c;--tone-bg-f3f6fa:#fffdf8;--tone-bg-e1e9f4:#fffdf8;--tone-fg-e3eaf6:#352a24;--tone-fg-b9c9f0:#823c27;--tone-fg-d7ba80:#823c27;--tone-edge-30415b:#b5a48c;--tone-edge-3b5070:#b5a48c;--tone-edge-050c1520:#b5a48c20;--tone-bg-182438:#f0e5d4;--tone-bg-b9c9f0:#823c27;--tone-fg-101927:#ffffff;--tone-bg-1c2a3f:#f0e5d4;--tone-fg-b1bdd1:#68574b;--tone-fg-c1cee4:#352a24;--tone-edge-40506a:#b5a48c;--tone-fg-c0cadb:#352a24;--tone-bg-d7ba80:#823c27;--tone-fg-182438:#ffffff;--tone-edge-b49b6a:#823c27;--tone-fg-e8cc92:#823c27;--tone-edge-615540:#823c27;--tone-bg-182538:#f0e5d4;--tone-bg-202738:#f0e5d4;--tone-edge-101927:#b5a48c;--tone-edge-61554055:#823c2755;--tone-fg-be9f65:#823c27;--tone-fg-f4eee0:#823c27;--tone-fg-e7c98e:#823c27;--tone-fg-b9c5d8:#68574b;--tone-edge-61554088:#823c2788;--tone-fg-d5c09b:#823c27;--tone-edge-4e493e:#b5a48c;--tone-edge-c0a16c:#823c27;--tone-edge-4d5a70:#b5a48c;--tone-fg-f2e9d9:#823c27;--tone-fg-adb9cc:#68574b;--tone-fg-e6c994:#823c27;--tone-bg-142135f5:#f0e5d4f5;--tone-edge-41516b:#b5a48c;--tone-edge-050b1833:#b5a48c33;--tone-fg-acbbd0:#68574b;--tone-bg-26364b:#f0e5d4;--tone-bg-e6c994:#823c27;--tone-fg-172235:#ffffff;--tone-bg-1b2c44:#f0e5d4;--tone-edge-40516b:#b5a48c;--tone-fg-bac7db:#68574b;--tone-fg-bdc9da:#68574b;--tone-edge-786847:#823c27;--tone-bg-253346:#f0e5d4;--tone-fg-bbc8db:#68574b;--tone-edge-827052:#823c27;--tone-bg-293b53:#f0e5d4;--tone-bg-19263a:#f0e5d4;--tone-fg-e9eef8:#352a24;--tone-bg-18263b:#f0e5d4;--tone-edge-354861:#b5a48c;--tone-fg-e5ecf7:#352a24;--tone-edge-c1a976:#823c27;--tone-bg-22344d:#f0e5d4;--tone-fg-aebbce:#68574b;--tone-fg-b8c6d9:#68574b;--tone-bg-1c2b40:#f0e5d4;--tone-bg-293b54:#f0e5d4;--tone-bg-18263c:#f0e5d4;--tone-edge-73654d:#b5a48c;--tone-fg-f1e7d2:#823c27;--tone-fg-ae9568:#823c27;--tone-bg-24374f:#f0e5d4;--tone-edge-495c75:#b5a48c;--tone-edge-766547:#823c27;--tone-fg-e5eaf5:#352a24;--tone-bg-07101cd9:#faf6edd9;--tone-edge-3d4e66:#b5a48c;--tone-edge-34445e:#b5a48c;--tone-fg-cfbc98:#823c27;--tone-fg-acbad0:#68574b;--tone-bg-dfbd78:#823c27;--tone-edge-dfbd78:#823c27;--tone-edge-ffffff10:#b5a48c10;--tone-fg-dfbd78:#823c27;--tone-edge-ffffff08:#b5a48c08;--tone-bg-dfbd7808:#f3e6d708;--tone-fg-b9a783:#823c27;--tone-fg-8d9aab:#68574b;--tone-bg-dfbd7809:#f3e6d709;--tone-edge-bba16d:#823c27;--tone-fg-9da9b9:#68574b;--tone-fg-bac3ce:#68574b;--tone-bg-152131:#f0e5d4;--tone-edge-ffffff20:#b5a48c20;--tone-fg-aebac9:#68574b;--tone-fg-b7c1cf:#68574b;--tone-edge-ffffff0d:#b5a48c0d;--tone-fg-c3b088:#823c27;--tone-fg-b3a58d:#68574b;--tone-fg-ebc77e:#823c27;--tone-bg-dfbd7812:#f3e6d712;--tone-fg-dfbd7826:#823c2726;--tone-fg-eee7d9:#823c27;--tone-fg-aebdce:#68574b;--tone-bg-1b2a3d:#f0e5d4;--tone-bg-142030:#f0e5d4;--tone-edge-c6a66b26:#823c2726;--tone-edge-d7b57880:#823c2780;--tone-bg-203049:#f0e5d4;--tone-fg-e8c98e:#823c27;--tone-fg-c8a869:#823c27;--tone-bg-172436:#f0e5d4;--tone-edge-ffffff12:#b5a48c12;--tone-fg-baa071:#823c27;--tone-fg-e3d6bd:#823c27;--tone-fg-9fadbf:#68574b;--tone-bg-0c1420:#faf6ed;--tone-fg-c1ccda:#352a24;--tone-fg-a5b5c9:#68574b;--tone-fg-e1d4bd:#823c27;--tone-edge-c2a161:#823c27;--tone-bg-d3b4770a:#f3e6d70a;--tone-fg-c6d0dc:#352a24;--tone-fg-9baabd:#68574b;--tone-fg-a7b8cc:#68574b;--tone-fg-d2b782:#823c27;--tone-bg-0a131e:#faf6ed;--tone-fg-8fa0b4:#68574b;--tone-fg-e0be78:#823c27;--tone-edge-dfbd7833:#823c2733;--tone-bg-dfbd7810:#f3e6d710;--tone-fg-a8b7ca:#68574b;--tone-fg-97a8bb:#68574b;--tone-edge-c8a56944:#823c2744;--tone-bg-c8a569:#823c27;--tone-edge-c8a56933:#823c2733;--tone-fg-e5c792:#823c27;--tone-fg-c8a569:#823c27;--tone-bg-172335:#f0e5d4;--tone-edge-c8a569:#823c27;--tone-bg-c8a5690b:#f3e6d70b;--tone-fg-efdab4:#823c27;--tone-fg-eee:#352a24;--tone-edge-c8a56966:#823c2766;--tone-edge-dfbd7866:#823c2766;--tone-fg-ddc18b:#823c27;--tone-edge-c6a66b66:#823c2766;--tone-bg-d4b77d:#823c27;--tone-fg-b7c4d5:#68574b;--tone-edge-c5a469:#823c27;--tone-edge-c5a46966:#823c2766;--tone-fg-aeb9c9:#68574b;--tone-fg-e7cc91:#823c27;--tone-bg-d4b77d16:#f3e6d716;--tone-edge-e7cc91:#823c27;--tone-fg-d4b77d:#823c27;--tone-edge-c5a46933:#823c2733;--tone-fg-dec18c:#823c27;--tone-fg-afbdcf:#68574b;--tone-edge-ffffff16:#b5a48c16;--tone-fg-bfc9d7:#68574b;--tone-fg-dbb698:#823c27;--tone-edge-c5a46955:#823c2755;--tone-fg-c6d3df:#352a24;--tone-fg-d9c39a:#823c27;--tone-edge-c5a46945:#823c2745;--tone-bg-172337:#f0e5d4;--tone-edge-c5a46970:#823c2770;--tone-bg-d4b77d0d:#f3e6d70d;--tone-fg-e0c68f:#823c27;--tone-fg-f0cd93:#823c27;}

/* Consistent actions and quiet progressive disclosure. */
.app-action,#muhurtaContent button,.match-actions button{min-height:44px;padding:10px 16px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-raised);color:var(--ui-accent);font:inherit;line-height:1.5;cursor:pointer}
.match-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.match-actions button[type=submit],#muhurtaContent button[aria-pressed=true]{background:var(--ui-accent);color:var(--ui-on-accent);border-color:var(--ui-accent)}
.match-actions button:last-child{background:transparent}.match-person input{max-width:none}.match-person input,.match-person select{color-scheme:inherit!important}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}input,select{color-scheme:inherit!important}
.disclosure{border-bottom:1px solid var(--ui-line);padding:8px 0;margin:0 0 20px}.disclosure>summary{cursor:pointer;padding:12px 0;color:var(--ui-accent);font-size:1rem;line-height:1.7}.disclosure[open]>summary{margin-bottom:10px}.disclosure .date-search{margin-bottom:12px}.skysection.disclosure{margin-top:28px}
#timings article>small{display:none}.timing-key{font-size:.875rem;line-height:1.8;color:var(--ui-muted);margin:12px 0 0}.timings h2{margin-bottom:14px}
#calendar .workspace{align-items:start}.k-context{overflow-wrap:anywhere}.k-result>div{flex-wrap:wrap}.k-result-badge{white-space:normal}.k-tabs{gap:6px}.k-tabs button{font-size:.9rem;padding:9px 12px}.k-tabs.match-tabs{padding-bottom:14px;border-bottom:1px solid var(--ui-line)}
#kundali h1,.festival-page h1{margin-bottom:18px}.match-person{padding:18px 16px}.match-person legend{padding:0 6px}.match-person label{margin:16px 0}.match-person .k-advanced{border-bottom:0;padding-bottom:0}
#themeOpen{width:38px;height:38px;padding:8px;border:0;background:transparent;color:var(--ui-accent);border-radius:50%;display:grid;place-items:center;flex-shrink:0}#themeOpen svg{width:21px;height:21px}.headeractions{align-items:center;gap:6px}.theme-dialog{background:var(--ui-surface)!important;color:var(--ui-text)!important;max-width:470px}.theme-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.theme-heading h2{margin:0}.theme-heading button{font-size:26px;min-width:44px;min-height:44px;color:inherit;border:0;background:transparent}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.theme-option{padding:14px;border:1px solid var(--ui-line);border-radius:12px;background:transparent;color:inherit;text-align:left}.theme-option[aria-pressed=true]{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-accent)}.theme-option strong{font-size:1rem;display:block;margin-top:10px}.theme-option small{font-size:.875rem;color:var(--ui-muted)}.theme-swatches{display:flex;height:30px;border-radius:6px;overflow:hidden}.theme-swatches i{flex:1}.theme-dialog p{color:var(--ui-muted);font-size:.9rem;margin-top:18px}
:root[data-theme] .k-regional polygon{fill:var(--ui-surface);stroke:var(--ui-accent)}:root[data-theme] .k-regional polygon:has(title:first-child){stroke:var(--ui-accent)}:root[data-theme] .k-regional polygon[data-asc=true]{fill:var(--ui-accent-soft)}
:root[data-theme] .bottom-nav{background:var(--ui-surface);border-color:var(--ui-line)}:root[data-theme] body{background:var(--ui-page);color:var(--ui-text)}:root[data-theme] .splash{background:var(--ui-page)}
@media(max-width:440px){header{gap:4px;padding:10px 12px}.brand{font-size:19px;gap:6px}.brand .ganesha-icon{width:32px;height:32px}.language-switch button{padding:6px;font-size:12px}.headeractions{gap:2px}#themeOpen{width:34px;padding:6px}.theme-dialog{padding:22px}.k-tabs button{flex:1}.match-tabs button{flex:1}.match-actions button{flex:1}.home-summary>.sectionhead{gap:12px;align-items:start;flex-wrap:wrap}.k-table-wrap{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

#custom button{color:var(--ui-on-accent)}

/* Calendar reading order: day, three matching detail sections, then month. */
#calendar>.daycard{width:100%;max-width:none;margin:0 0 20px;order:initial;box-sizing:border-box;padding:clamp(20px,4vw,32px)}
#calendar>.calendar-detail{width:100%;margin:12px 0;padding:0;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);color:var(--ui-text);overflow:hidden}
#calendar>.calendar-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;min-height:60px;padding:16px 20px;margin:0;font-size:1rem;font-weight:500;line-height:1.7;color:var(--ui-accent)}
#calendar>.calendar-detail>summary::-webkit-details-marker{display:none}
#calendar>.calendar-detail>summary::after{content:'+';font-family:system-ui,sans-serif;font-size:22px;line-height:1;flex-shrink:0;font-weight:400}
#calendar>.calendar-detail[open]>summary::after{content:'−'}
#calendar>.calendar-detail[open]>summary{border-bottom:1px solid var(--ui-line)}
.calendar-detail-body{padding:4px 20px 20px;min-width:0}
#calendar #timings{border-top:0;margin:0}
#calendar #timings article{border-color:var(--ui-line);padding:14px 0}
#calendar #timings article:last-child{border-bottom:0}
#calendar #timingKey{margin-top:12px}
#calendar #sky{display:block}
#calendar #sky article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:4px 16px;padding:14px 0;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;background:transparent}
#calendar #sky article:last-child{border-bottom:0}
#calendar #sky p{margin:0;font-size:.9375rem;color:var(--ui-muted)}
#calendar #sky strong{font-size:1rem;text-align:right;font-weight:500;color:var(--ui-text);overflow-wrap:anywhere}
#calendar #sky small{grid-column:2;text-align:right;margin:0;font-size:.8125rem;color:var(--ui-muted)}
#calendar #muhurtaContent .k-tabs{margin:14px 0}
#calendar #muhurtaContent .muhurta-card{border-color:var(--ui-line);padding:16px 0}
#calendar #muhurtaContent .muhurta-card:last-child{padding-bottom:8px}
#calendar #muhurtaContent select{background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-line)}
#calendar #muhurtaContent summary{font-size:.9375rem;color:var(--ui-accent)}
#calendar>#monthCalendarSection{width:100%;margin-top:28px;max-width:none}
#calendar .daycard dl>div{gap:20px}#calendar .daycard dd{max-width:65%;overflow-wrap:anywhere}
@media(max-width:440px){#calendar>.calendar-detail>summary{padding:15px 16px}.calendar-detail-body{padding:4px 16px 16px}#calendar #sky article{gap:4px 10px}#calendar>.daycard{padding:22px 18px}}
#offlineStatus{font-size:.8125rem;color:var(--ui-muted);flex-basis:100%;line-height:1.7}footer{flex-wrap:wrap}

/* Keep splash and branding borderless on touch; retain keyboard focus cues. */
#dismissSplash,header .brand,header .brand .ganesha-icon{border:0!important;box-shadow:none!important;outline:none!important}
body.keyboard-navigation #dismissSplash:focus-visible,body.keyboard-navigation header .brand:focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:4px}

/* Explicit viewport geometry also keeps recovery usable on older Android WebViews. */
.splash{top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:100vh}
.splash-content{width:100%;max-width:520px}
.splash[hidden]{display:none!important;pointer-events:none}
.bottom-nav{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;grid-template-columns:repeat(5,minmax(0,1fr));border-radius:0;border-left:0;border-right:0;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
.bottom-nav button{min-width:0;min-height:52px;flex-direction:column;gap:3px;padding:4px 2px}
.bottom-nav button>span:last-child{font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:normal}
.startup-error{position:relative;z-index:200;margin:16px;padding:24px;border:1px solid #e9c77e;border-radius:16px;background:#101927;color:#f7efdf}
.startup-error h2{color:#e9c77e}.startup-error p{overflow-wrap:break-word}.startup-error button{padding:12px 20px;border:0;border-radius:10px;background:#e9c77e;color:#101927}
