/* =====================================================================================================================================
   oc-theme.css  -  OurChapter colour themes (the colour sets).   Loaded by octhemecore.tpl (the theme module) - read that file's header for how to
   use and extend it.   ONE BLOCK PER THEME below:  change a block = that theme changes on every page.   Add a block = a new theme (also appears in
   the picker).   Needs: --theme-name / --theme-group (standard | dark | page) / --theme-swatch lines in each block.
   ===================================================================================================================================== */
/* ---- colour sets: one block per theme --------------------------------------------------------------------------------------- */

/* ---- STANDARD themes (light sections, coloured header) ---- */
[data-theme="forest"] {
	--theme-name:"Forest"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#15803d 0,#15803d 9px,#dcfce7 9px);
	--blue-dark:#14532d;--blue-mid:#15803d;--blue-light:#4ade80;--blue-pale:#dcfce7;--accent:#22c55e;
	--topbar-gradient:linear-gradient(135deg,#14532d 0%,#16a34a 60%,#4ade80 100%);
	--header-gradient:linear-gradient(90deg,#14532d,#16a34a);
	--section-bg:#f0fdf4;--section-text:#14532d;
	--row-odd:#f0fdf4;--row-even:#fff;--row-hover:#dcfce7;--th-bg:#dcfce7;
}
[data-theme="sunset"] {
	--theme-name:"Sunset"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#c2410c 0,#c2410c 9px,#fff7ed 9px);
	--blue-dark:#7c2d12;--blue-mid:#c2410c;--blue-light:#fb923c;--blue-pale:#fff7ed;--accent:#f97316;
	--topbar-gradient:linear-gradient(135deg,#7c2d12 0%,#c2410c 60%,#f97316 100%);
	--header-gradient:linear-gradient(90deg,#7c2d12,#c2410c);
	--section-bg:#fff7ed;--section-text:#7c2d12;
	--row-odd:#fff7ed;--row-even:#fff;--row-hover:#fed7aa;--th-bg:#fed7aa;
}
[data-theme="royal"] {
	--theme-name:"Royal"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#7c3aed 0,#7c3aed 9px,#ede9fe 9px);
	--blue-dark:#3b0764;--blue-mid:#7c3aed;--blue-light:#a78bfa;--blue-pale:#ede9fe;--accent:#8b5cf6;
	--topbar-gradient:linear-gradient(135deg,#3b0764 0%,#6d28d9 60%,#8b5cf6 100%);
	--header-gradient:linear-gradient(90deg,#3b0764,#6d28d9);
	--section-bg:#faf5ff;--section-text:#3b0764;
	--row-odd:#faf5ff;--row-even:#fff;--row-hover:#ede9fe;--th-bg:#ede9fe;
}
[data-theme="rose"] {
	--theme-name:"Rose Gold"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#be185d 0,#be185d 9px,#fdf2f8 9px);
	--blue-dark:#881337;--blue-mid:#be185d;--blue-light:#f9a8d4;--blue-pale:#fdf2f8;--accent:#ec4899;
	--topbar-gradient:linear-gradient(135deg,#881337 0%,#be185d 60%,#f472b6 100%);
	--header-gradient:linear-gradient(90deg,#881337,#be185d);
	--section-bg:#fff0f7;--section-text:#881337;
	--row-odd:#fff0f7;--row-even:#fff;--row-hover:#fce7f3;--th-bg:#fce7f3;
}
[data-theme="amber"] {
	--theme-name:"Amber"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#b45309 0,#b45309 9px,#fffbeb 9px);
	--blue-dark:#78350f;--blue-mid:#b45309;--blue-light:#fcd34d;--blue-pale:#fffbeb;--accent:#f59e0b;
	--topbar-gradient:linear-gradient(135deg,#78350f 0%,#b45309 60%,#f59e0b 100%);
	--header-gradient:linear-gradient(90deg,#78350f,#b45309);
	--section-bg:#fffbeb;--section-text:#78350f;
	--row-odd:#fffbeb;--row-even:#fff;--row-hover:#fde68a;--th-bg:#fde68a;
}
[data-theme="teal"] {
	--theme-name:"Teal"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#0f766e 0,#0f766e 9px,#f0fdfa 9px);
	--blue-dark:#134e4a;--blue-mid:#0f766e;--blue-light:#2dd4bf;--blue-pale:#f0fdfa;--accent:#14b8a6;
	--topbar-gradient:linear-gradient(135deg,#134e4a 0%,#0f766e 60%,#14b8a6 100%);
	--header-gradient:linear-gradient(90deg,#134e4a,#0f766e);
	--section-bg:#f0fdfa;--section-text:#134e4a;
	--row-odd:#f0fdfa;--row-even:#fff;--row-hover:#ccfbf1;--th-bg:#ccfbf1;
}
[data-theme="emerald"] {
	--theme-name:"Emerald"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#047857 0,#047857 9px,#ecfdf5 9px);
	--blue-dark:#064e3b;--blue-mid:#047857;--blue-light:#34d399;--blue-pale:#ecfdf5;--accent:#10b981;
	--topbar-gradient:linear-gradient(135deg,#064e3b 0%,#065f46 60%,#10b981 100%);
	--header-gradient:linear-gradient(90deg,#064e3b,#065f46);
	--section-bg:#ecfdf5;--section-text:#064e3b;
	--row-odd:#ecfdf5;--row-even:#fff;--row-hover:#a7f3d0;--th-bg:#a7f3d0;
}
[data-theme="slate"] {
	--theme-name:"Slate"; --theme-group:standard; --theme-swatch:linear-gradient(to bottom,#334155 0,#334155 9px,#f8fafc 9px);
	--blue-dark:#1e293b;--blue-mid:#334155;--blue-light:#94a3b8;--blue-pale:#f8fafc;--accent:#64748b;
	--topbar-gradient:linear-gradient(135deg,#1e293b 0%,#334155 60%,#64748b 100%);
	--header-gradient:linear-gradient(90deg,#1e293b,#334155);
	--section-bg:#f8fafc;--section-text:#1e293b;
	--row-odd:#f8fafc;--row-even:#fff;--row-hover:#e2e8f0;--th-bg:#e2e8f0;
}

/* ---- DARK / REVERSED themes (dark sections, light text) ---- */
[data-theme="midnight"] {
	--theme-name:"Midnight"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#020617,#1e293b);
	--blue-dark:#0f172a;--blue-mid:#1e293b;--blue-light:#475569;--blue-pale:#e2e8f0;--accent:#38bdf8;
	--topbar-gradient:linear-gradient(135deg,#020617 0%,#0f172a 60%,#1e293b 100%);
	--header-gradient:linear-gradient(90deg,#020617,#1e293b);
	--section-bg:#1e293b;--section-text:#cbd5e1;
	--row-odd:#1e293b;--row-even:#243347;--row-hover:#2d4060;--th-bg:#0f172a;
	--border:#334155;--muted:#94a3b8;
}
[data-theme="indigo"] {
	--theme-name:"Indigo"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#1e1b4b,#4338ca);
	--blue-dark:#1e1b4b;--blue-mid:#3730a3;--blue-light:#818cf8;--blue-pale:#eef2ff;--accent:#6366f1;
	--topbar-gradient:linear-gradient(135deg,#1e1b4b 0%,#3730a3 60%,#6366f1 100%);
	--header-gradient:linear-gradient(90deg,#1e1b4b,#3730a3);
	--section-bg:#1e1b4b;--section-text:#c7d2fe;
	--row-odd:#1e1b4b;--row-even:#26235e;--row-hover:#312e81;--th-bg:#13103a;
	--border:#3730a3;--muted:#a5b4fc;
}
[data-theme="crimson"] {
	--theme-name:"Crimson"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#450a0a,#b91c1c);
	--blue-dark:#7f1d1d;--blue-mid:#b91c1c;--blue-light:#fca5a5;--blue-pale:#fef2f2;--accent:#ef4444;
	--topbar-gradient:linear-gradient(135deg,#7f1d1d 0%,#b91c1c 60%,#ef4444 100%);
	--header-gradient:linear-gradient(90deg,#7f1d1d,#b91c1c);
	--section-bg:#2c0808;--section-text:#fecaca;
	--row-odd:#2c0808;--row-even:#3b0f0f;--row-hover:#7f1d1d;--th-bg:#1a0505;
	--border:#7f1d1d;--muted:#f87171;
}
[data-theme="darkforest"] {
	--theme-name:"Dk Forest"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#052e16,#166534);
	--blue-dark:#052e16;--blue-mid:#166534;--blue-light:#4ade80;--blue-pale:#dcfce7;--accent:#22c55e;
	--topbar-gradient:linear-gradient(135deg,#052e16 0%,#166534 60%,#22c55e 100%);
	--header-gradient:linear-gradient(90deg,#052e16,#166534);
	--section-bg:#0f2417;--section-text:#bbf7d0;
	--row-odd:#0f2417;--row-even:#162d1e;--row-hover:#1e4028;--th-bg:#0a1a0e;
	--border:#166534;--muted:#4ade80;
}
[data-theme="darkviolet"] {
	--theme-name:"Dk Violet"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#2e1065,#5b21b6);
	--blue-dark:#2e1065;--blue-mid:#6d28d9;--blue-light:#c4b5fd;--blue-pale:#ede9fe;--accent:#a78bfa;
	--topbar-gradient:linear-gradient(135deg,#2e1065 0%,#5b21b6 60%,#7c3aed 100%);
	--header-gradient:linear-gradient(90deg,#2e1065,#5b21b6);
	--section-bg:#1a0a3d;--section-text:#ddd6fe;
	--row-odd:#1a0a3d;--row-even:#21104f;--row-hover:#2d1763;--th-bg:#110630;
	--border:#5b21b6;--muted:#a78bfa;
}
[data-theme="darkteal"] {
	--theme-name:"Dk Teal"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#042f2e,#0f766e);
	--blue-dark:#042f2e;--blue-mid:#0f766e;--blue-light:#2dd4bf;--blue-pale:#f0fdfa;--accent:#14b8a6;
	--topbar-gradient:linear-gradient(135deg,#042f2e 0%,#0f766e 60%,#14b8a6 100%);
	--header-gradient:linear-gradient(90deg,#042f2e,#0f766e);
	--section-bg:#0a1f1e;--section-text:#99f6e4;
	--row-odd:#0a1f1e;--row-even:#0f2b29;--row-hover:#16403c;--th-bg:#061514;
	--border:#0f766e;--muted:#2dd4bf;
}
[data-theme="darkbronze"] {
	--theme-name:"Dk Bronze"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#451a03,#92400e);
	--blue-dark:#451a03;--blue-mid:#92400e;--blue-light:#fbbf24;--blue-pale:#fffbeb;--accent:#d97706;
	--topbar-gradient:linear-gradient(135deg,#451a03 0%,#92400e 60%,#d97706 100%);
	--header-gradient:linear-gradient(90deg,#451a03,#92400e);
	--section-bg:#1c0d02;--section-text:#fde68a;
	--row-odd:#1c0d02;--row-even:#261208;--row-hover:#3d1c0a;--th-bg:#120801;
	--border:#92400e;--muted:#fbbf24;
}
[data-theme="wine"] {
	--theme-name:"Wine"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#500724,#9d174d);
	--blue-dark:#500724;--blue-mid:#9d174d;--blue-light:#fb7185;--blue-pale:#fdf2f8;--accent:#f43f5e;
	--topbar-gradient:linear-gradient(135deg,#500724 0%,#9d174d 60%,#f43f5e 100%);
	--header-gradient:linear-gradient(90deg,#500724,#9d174d);
	--section-bg:#200610;--section-text:#fecdd3;
	--row-odd:#200610;--row-even:#2d0a18;--row-hover:#4a1025;--th-bg:#160409;
	--border:#9d174d;--muted:#fb7185;
}
[data-theme="steel"] {
	--theme-name:"Steel"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#0c1929,#1e3a5f);
	--blue-dark:#0c1929;--blue-mid:#1e3a5f;--blue-light:#60a5fa;--blue-pale:#eff6ff;--accent:#3b82f6;
	--topbar-gradient:linear-gradient(135deg,#0c1929 0%,#1e3a5f 60%,#3b82f6 100%);
	--header-gradient:linear-gradient(90deg,#0c1929,#1e3a5f);
	--section-bg:#0c1929;--section-text:#bfdbfe;
	--row-odd:#0c1929;--row-even:#132238;--row-hover:#1e3a5f;--th-bg:#080f1a;
	--border:#1e3a5f;--muted:#93c5fd;
}
[data-theme="darkemerald"] {
	--theme-name:"Dk Emerald"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#022c22,#065f46);
	--blue-dark:#022c22;--blue-mid:#065f46;--blue-light:#34d399;--blue-pale:#ecfdf5;--accent:#10b981;
	--topbar-gradient:linear-gradient(135deg,#022c22 0%,#065f46 60%,#10b981 100%);
	--header-gradient:linear-gradient(90deg,#022c22,#065f46);
	--section-bg:#071a12;--section-text:#6ee7b7;
	--row-odd:#071a12;--row-even:#0d2318;--row-hover:#103321;--th-bg:#04100b;
	--border:#065f46;--muted:#34d399;
}
[data-theme="navy"] {
	--theme-name:"Navy"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#0a1628,#1e3a8a);
	--blue-dark:#0a1628;--blue-mid:#1e3a8a;--blue-light:#93c5fd;--blue-pale:#eff6ff;--accent:#3b82f6;
	--topbar-gradient:linear-gradient(135deg,#0a1628 0%,#1e3a8a 60%,#3b82f6 100%);
	--header-gradient:linear-gradient(90deg,#0a1628,#1e3a8a);
	--section-bg:#0a1628;--section-text:#bfdbfe;
	--row-odd:#0a1628;--row-even:#0f1f3d;--row-hover:#1e3a8a;--th-bg:#060e1a;
	--border:#1e3a8a;--muted:#93c5fd;
}
[data-theme="obsidian"] {
	--theme-name:"Obsidian"; --theme-group:dark; --theme-swatch:linear-gradient(135deg,#0d0d15,#00bcd4);
	--blue-dark:#0a0a0f;--blue-mid:#1a1a2e;--blue-light:#00d4ff;--blue-pale:#e8fbff;--accent:#00bcd4;
	--topbar-gradient:linear-gradient(135deg,#0a0a0f 0%,#1a1a2e 60%,#00bcd4 100%);
	--header-gradient:linear-gradient(90deg,#0a0a0f,#1a1a2e);
	--section-bg:#0d0d15;--section-text:#b2f5ff;
	--row-odd:#0d0d15;--row-even:#13131f;--row-hover:#1a1a2e;--th-bg:#080812;
	--border:#1a1a2e;--muted:#00d4ff;
}

/* ---- PAGE BACKGROUND themes (full page image, translucent panels) ---- */
[data-theme="sunrise"] {
	--theme-name:"Sunrise"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#ffecd2,#fcb69f,#ff9a9e,#fbc2eb);
	--blue-dark:#7c2d12;--blue-mid:#c2410c;--blue-light:#fb923c;--blue-pale:#fff7ed;--accent:#f97316;
	--topbar-gradient:linear-gradient(135deg,#7c2d12 0%,#be185d 60%,#f97316 100%);
	--header-gradient:linear-gradient(90deg,#7c2d12,#be185d);
	--section-bg:rgba(255,255,255,0.82);--section-text:#4a1020;
	--row-odd:rgba(255,237,213,0.6);--row-even:rgba(255,255,255,0.5);--row-hover:rgba(254,215,170,0.7);--th-bg:rgba(254,215,170,0.5);
	--page-bg-image:linear-gradient(160deg,#ffecd2 0%,#fcb69f 35%,#ff9a9e 65%,#fbc2eb 100%);
}
[data-theme="aurora"] {
	--theme-name:"Aurora"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#0a0f14,#0d2b22,#0a3d4f,#1a1040);
	--blue-dark:#064e3b;--blue-mid:#0e7490;--blue-light:#34d399;--blue-pale:#ecfdf5;--accent:#06b6d4;
	--topbar-gradient:linear-gradient(135deg,#064e3b 0%,#0e7490 50%,#3730a3 100%);
	--header-gradient:linear-gradient(90deg,#064e3b,#0e7490);
	--section-bg:rgba(10,25,30,0.78);--section-text:#a7f3d0;
	--row-odd:rgba(6,78,59,0.4);--row-even:rgba(14,116,144,0.3);--row-hover:rgba(52,211,153,0.25);--th-bg:rgba(6,78,59,0.55);
	--border:#0f766e;--muted:#5eead4;
	--page-bg-image:linear-gradient(160deg,#0a0f14 0%,#0d2b22 25%,#0a3d4f 55%,#1a1040 80%,#0a0f14 100%);
}
[data-theme="parchment"] {
	--theme-name:"Parchment"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#f5e6c8,#ede0b0,#e8d5a0);
	--blue-dark:#78350f;--blue-mid:#92400e;--blue-light:#d97706;--blue-pale:#fef9ee;--accent:#b45309;
	--topbar-gradient:linear-gradient(135deg,#78350f 0%,#92400e 60%,#d97706 100%);
	--header-gradient:linear-gradient(90deg,#5c2a0a,#92400e);
	--section-bg:rgba(254,249,238,0.88);--section-text:#44200a;
	--row-odd:rgba(254,243,199,0.6);--row-even:rgba(254,249,238,0.5);--row-hover:rgba(253,230,138,0.6);--th-bg:rgba(253,230,138,0.5);
	--page-bg-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeBlend in='SourceGraphic' mode='multiply'/%3E%3C/filter%3E%3Crect width='200' height='200' fill='%23f5e6c8' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E"),linear-gradient(160deg,#f5e6c8 0%,#ede0b0 40%,#e8d5a0 70%,#f0ddb8 100%);
}
[data-theme="oceanwaves"] {
	--theme-name:"Oc. Waves"; --theme-group:page; --theme-swatch:linear-gradient(180deg,#082f49,#0369a1,#38bdf8);
	--blue-dark:#0c4a6e;--blue-mid:#0369a1;--blue-light:#38bdf8;--blue-pale:#e0f2fe;--accent:#0ea5e9;
	--topbar-gradient:linear-gradient(135deg,#0c4a6e 0%,#0369a1 60%,#38bdf8 100%);
	--header-gradient:linear-gradient(90deg,#082f49,#0369a1);
	--section-bg:rgba(255,255,255,0.85);--section-text:#0c4a6e;
	--row-odd:rgba(224,242,254,0.55);--row-even:rgba(255,255,255,0.45);--row-hover:rgba(186,230,253,0.65);--th-bg:rgba(186,230,253,0.45);
	--page-bg-image:linear-gradient(180deg,#082f49 0%,#0c4a6e 25%,#0369a1 55%,#0ea5e9 80%,#38bdf8 100%);
}
[data-theme="sakura"] {
	--theme-name:"Sakura"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#fff0f8,#fbcfe8,#f472b6);
	--blue-dark:#831843;--blue-mid:#be185d;--blue-light:#f9a8d4;--blue-pale:#fdf2f8;--accent:#ec4899;
	--topbar-gradient:linear-gradient(135deg,#831843 0%,#be185d 60%,#f472b6 100%);
	--header-gradient:linear-gradient(90deg,#831843,#be185d);
	--section-bg:rgba(255,255,255,0.88);--section-text:#831843;
	--row-odd:rgba(252,231,243,0.6);--row-even:rgba(255,255,255,0.5);--row-hover:rgba(251,207,232,0.7);--th-bg:rgba(251,207,232,0.5);
	--page-bg-image:linear-gradient(160deg,#fff0f8 0%,#fce7f3 30%,#fbcfe8 55%,#f9a8d4 75%,#f472b6 100%);
}
[data-theme="starfield"] {
	--theme-name:"Starfield"; --theme-group:page; --theme-swatch:linear-gradient(135deg,#0a0e1a,#0f1729);
	--blue-dark:#0a0e1a;--blue-mid:#1a2744;--blue-light:#60a5fa;--blue-pale:#eff6ff;--accent:#3b82f6;
	--topbar-gradient:linear-gradient(135deg,#0a0e1a 0%,#1a2744 60%,#3b82f6 100%);
	--header-gradient:linear-gradient(90deg,#0a0e1a,#1a2744);
	--section-bg:rgba(10,14,26,0.82);--section-text:#bfdbfe;
	--row-odd:rgba(10,14,26,0.7);--row-even:rgba(26,39,68,0.6);--row-hover:rgba(59,130,246,0.25);--th-bg:rgba(10,14,26,0.85);
	--border:#1a2744;--muted:#93c5fd;
	--page-bg-image:
		radial-gradient(1.5px 1.5px at 15% 18%,rgba(255,255,255,0.9) 0%,transparent 100%),
		radial-gradient(1px   1px   at 32% 6%, rgba(255,255,255,0.8) 0%,transparent 100%),
		radial-gradient(2px   2px   at 48% 22%,rgba(255,255,255,0.7) 0%,transparent 100%),
		radial-gradient(1px   1px   at 63% 10%,rgba(255,255,255,0.9) 0%,transparent 100%),
		radial-gradient(1.5px 1.5px at 78% 30%,rgba(255,255,255,0.8) 0%,transparent 100%),
		radial-gradient(1px   1px   at 91% 8%, rgba(255,255,255,0.7) 0%,transparent 100%),
		radial-gradient(2px   2px   at 7%  42%,rgba(255,255,255,0.9) 0%,transparent 100%),
		radial-gradient(1px   1px   at 24% 58%,rgba(255,255,255,0.75)0%,transparent 100%),
		radial-gradient(1.5px 1.5px at 41% 50%,rgba(255,255,255,0.85)0%,transparent 100%),
		radial-gradient(1px   1px   at 57% 65%,rgba(255,255,255,0.7) 0%,transparent 100%),
		radial-gradient(2px   2px   at 73% 48%,rgba(255,255,255,0.9) 0%,transparent 100%),
		radial-gradient(1px   1px   at 87% 70%,rgba(255,255,255,0.8) 0%,transparent 100%),
		radial-gradient(1.5px 1.5px at 18% 78%,rgba(255,255,255,0.85)0%,transparent 100%),
		radial-gradient(1px   1px   at 38% 88%,rgba(255,255,255,0.7) 0%,transparent 100%),
		radial-gradient(2px   2px   at 55% 82%,rgba(255,255,255,0.9) 0%,transparent 100%),
		radial-gradient(1px   1px   at 70% 92%,rgba(255,255,255,0.75)0%,transparent 100%),
		radial-gradient(1.5px 1.5px at 84% 85%,rgba(255,255,255,0.8) 0%,transparent 100%),
		radial-gradient(1px   1px   at 96% 95%,rgba(255,255,255,0.7) 0%,transparent 100%),
		linear-gradient(135deg,#0a0e1a 0%,#0f1729 50%,#0a0e1a 100%);
}
[data-theme="desert"] {
	--theme-name:"Desert"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#fef3c7,#fbbf24,#92400e);
	--blue-dark:#78350f;--blue-mid:#b45309;--blue-light:#fbbf24;--blue-pale:#fffbeb;--accent:#f59e0b;
	--topbar-gradient:linear-gradient(135deg,#78350f 0%,#b45309 60%,#f59e0b 100%);
	--header-gradient:linear-gradient(90deg,#78350f,#92400e);
	--section-bg:rgba(255,251,235,0.88);--section-text:#78350f;
	--row-odd:rgba(254,243,199,0.6);--row-even:rgba(255,251,235,0.5);--row-hover:rgba(253,230,138,0.65);--th-bg:rgba(253,230,138,0.5);
	--page-bg-image:linear-gradient(160deg,#fef3c7 0%,#fde68a 25%,#fbbf24 50%,#d97706 75%,#92400e 100%);
}
[data-theme="lavender"] {
	--theme-name:"Lavender"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#faf5ff,#ddd6fe,#a78bfa);
	--blue-dark:#4c1d95;--blue-mid:#7c3aed;--blue-light:#c4b5fd;--blue-pale:#ede9fe;--accent:#8b5cf6;
	--topbar-gradient:linear-gradient(135deg,#4c1d95 0%,#6d28d9 60%,#8b5cf6 100%);
	--header-gradient:linear-gradient(90deg,#4c1d95,#6d28d9);
	--section-bg:rgba(255,255,255,0.85);--section-text:#4c1d95;
	--row-odd:rgba(237,233,254,0.6);--row-even:rgba(255,255,255,0.5);--row-hover:rgba(221,214,254,0.7);--th-bg:rgba(221,214,254,0.5);
	--page-bg-image:linear-gradient(160deg,#faf5ff 0%,#ede9fe 30%,#ddd6fe 55%,#c4b5fd 75%,#a78bfa 100%);
}
[data-theme="autumn"] {
	--theme-name:"Autumn"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#fde68a,#fb923c,#b91c1c);
	--blue-dark:#7c2d12;--blue-mid:#c2410c;--blue-light:#fb923c;--blue-pale:#fff7ed;--accent:#ea580c;
	--topbar-gradient:linear-gradient(135deg,#7c2d12 0%,#c2410c 40%,#d97706 80%,#b45309 100%);
	--header-gradient:linear-gradient(90deg,#7c2d12,#c2410c);
	--section-bg:rgba(255,247,237,0.88);--section-text:#7c2d12;
	--row-odd:rgba(254,243,199,0.6);--row-even:rgba(255,247,237,0.5);--row-hover:rgba(254,215,170,0.7);--th-bg:rgba(254,215,170,0.5);
	--page-bg-image:linear-gradient(160deg,#fef9c3 0%,#fde68a 20%,#fb923c 42%,#ef4444 64%,#b91c1c 82%,#7c2d12 100%);
}
[data-theme="arctic"] {
	--theme-name:"Arctic"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#f0f9ff,#bae6fd,#38bdf8);
	--blue-dark:#0c4a6e;--blue-mid:#0369a1;--blue-light:#7dd3fc;--blue-pale:#f0f9ff;--accent:#38bdf8;
	--topbar-gradient:linear-gradient(135deg,#082f49 0%,#0369a1 60%,#38bdf8 100%);
	--header-gradient:linear-gradient(90deg,#082f49,#0369a1);
	--section-bg:rgba(255,255,255,0.90);--section-text:#0c4a6e;
	--row-odd:rgba(240,249,255,0.65);--row-even:rgba(255,255,255,0.55);--row-hover:rgba(186,230,253,0.65);--th-bg:rgba(186,230,253,0.45);
	--page-bg-image:linear-gradient(160deg,#f0f9ff 0%,#e0f2fe 30%,#bae6fd 55%,#7dd3fc 75%,#38bdf8 100%);
}
[data-theme="tropical"] {
	--theme-name:"Tropical"; --theme-group:page; --theme-swatch:linear-gradient(160deg,#a7f3d0,#34d399,#0891b2);
	--blue-dark:#064e3b;--blue-mid:#059669;--blue-light:#34d399;--blue-pale:#ecfdf5;--accent:#10b981;
	--topbar-gradient:linear-gradient(135deg,#064e3b 0%,#047857 30%,#0d9488 60%,#0891b2 100%);
	--header-gradient:linear-gradient(90deg,#064e3b,#047857);
	--section-bg:rgba(255,255,255,0.85);--section-text:#064e3b;
	--row-odd:rgba(236,253,245,0.6);--row-even:rgba(255,255,255,0.5);--row-hover:rgba(167,243,208,0.65);--th-bg:rgba(167,243,208,0.5);
	--page-bg-image:linear-gradient(160deg,#ecfdf5 0%,#a7f3d0 25%,#34d399 50%,#0d9488 75%,#0891b2 100%);
}
[data-theme="galaxy"] {
	--theme-name:"Galaxy"; --theme-group:page; --theme-swatch:linear-gradient(135deg,#0a0814,#1e1b4b,#6d28d9);
	--blue-dark:#1e1b4b;--blue-mid:#4c1d95;--blue-light:#a78bfa;--blue-pale:#ede9fe;--accent:#8b5cf6;
	--topbar-gradient:linear-gradient(135deg,#0a0814 0%,#1e1b4b 40%,#4c1d95 70%,#6d28d9 100%);
	--header-gradient:linear-gradient(90deg,#0a0814,#1e1b4b);
	--section-bg:rgba(15,10,35,0.82);--section-text:#ddd6fe;
	--row-odd:rgba(30,27,75,0.7);--row-even:rgba(45,40,100,0.6);--row-hover:rgba(109,40,217,0.3);--th-bg:rgba(10,8,20,0.85);
	--border:#4c1d95;--muted:#c4b5fd;
	--page-bg-image:
		radial-gradient(ellipse 60% 40% at 20% 30%,rgba(109,40,217,0.5) 0%,transparent 70%),
		radial-gradient(ellipse 50% 60% at 80% 65%,rgba(30,27,75,0.7) 0%,transparent 70%),
		radial-gradient(ellipse 70% 50% at 50% 80%,rgba(76,29,149,0.4) 0%,transparent 70%),
		linear-gradient(135deg,#0a0814 0%,#0f0b20 50%,#0a0814 100%);
}

html.oc-themed[data-theme] body { background-image:var(--page-bg-image); background-size:cover; background-attachment:fixed; background-position:center; }

/* ---- shared fixes so older page styles stay readable on every theme (one rule set; works for any theme, present or future) ---- */
html.oc-themed { --oc-link:#1d5fa8; --oc-pos:#15803d; --oc-neg:#b91c1c; --oc-pagetext:#1e293b; --oc-pagemuted:#475569; }html.oc-themed[data-tone="dark"] { --oc-link:#7dd3fc; --oc-pos:#4ade80; --oc-neg:#f87171; }html.oc-themed[data-tone="dark"][data-page="image"] { --oc-pagetext:#e2e8f0; --oc-pagemuted:#cbd5e1; }html.oc-themed[data-tone="dark"][data-page="image"] main { color:#e2e8f0; }html.oc-themed[data-tone="dark"] [style*="color:#0f766e"] { color:#80efe6 !important; }html.oc-themed[data-tone="dark"] [style*="color:#15803d"] { color:#84ebab !important; }html.oc-themed[data-tone="dark"] [style*="color:#1d6fd0"] { color:#82b3ee !important; }html.oc-themed[data-tone="dark"] [style*="color:#475569"] { color:#aab5c5 !important; }html.oc-themed[data-tone="dark"] [style*="color:#64748b"] { color:#acb6c3 !important; }html.oc-themed[data-tone="dark"] [style*="color:#7c3aed"] { color:#a87cf3 !important; }html.oc-themed[data-tone="dark"] [style*="color:#b45309"] { color:#f8af77 !important; }html.oc-themed[data-tone="dark"] [style*="color:#b91c1c"] { color:#ec8383 !important; }html.oc-themed[data-tone="dark"] [style*="color:#be185d"] { color:#ef80ae !important; }
html.oc-themed[data-theme] { --du-bad:var(--oc-neg); --du-line:var(--border, #e2e8f0); --du-muted:var(--muted, #475569); --du-navy:var(--section-text); --du-ok:var(--oc-pos); --fa-line:var(--border, #e2e8f0); --fa-muted:var(--muted, #475569); --fa-navy:var(--section-text); --fc-green:var(--oc-pos); --fc-line:var(--border, #e2e8f0); --fc-muted:var(--muted, #475569); --fc-navy:var(--section-text); --fc-red:var(--oc-neg); --fl-blue:var(--oc-link); --fl-green:var(--oc-pos); --fl-line:var(--border, #e2e8f0); --fl-muted:var(--muted, #475569); --fl-navy:var(--section-text); --fl-red:var(--oc-neg); --fr-green:var(--oc-pos); --fr-line:var(--border, #e2e8f0); --fr-muted:var(--muted, #475569); --fr-navy:var(--section-text); --fr-red:var(--oc-neg); --fu-line:var(--border, #e2e8f0); --fu-muted:var(--muted, #475569); --fu-navy:var(--section-text); }
html.oc-themed[data-theme] .du-changes { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .du-tools .lbl { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-opt { border:1px solid var(--border, #cbd5e1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-opt:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-opt b { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-opt span { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-opt.sel { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-legend { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .du-btn.on { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-card { background:var(--section-bg) !important; }
html.oc-themed[data-theme] a.du-card:hover { background:var(--section-bg) !important; }
html.oc-themed[data-theme] .du-sec { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-note.hint { color:#713f12 !important; }
html.oc-themed[data-theme] .du-note.warn { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-note.info { background:var(--section-bg) !important; border:1px solid var(--border, #bfdbfe) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-tools { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-tools label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-tools label.chk { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .du-pill { border:1px solid var(--border, #cbd5e1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-pill:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-tablewrap { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.du-grid th { background:var(--th-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.du-grid td { border-bottom:1px solid var(--border, #eef2f7) !important; }
html.oc-themed[data-theme] table.du-grid tbody tr:nth-child(even) td { background:var(--row-even) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.du-grid tbody tr:hover td { background:var(--row-hover) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.du-grid a { color:var(--oc-link) !important; }
html.oc-themed[data-theme] table.du-grid .nm { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-chip.ok { color:#166534 !important; }
html.oc-themed[data-theme] .du-chip.soon { color:#92400e !important; }
html.oc-themed[data-theme] .du-chip.expired { color:#991b1b !important; }
html.oc-themed[data-theme] .du-chip.none { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-chip.life { color:#854d0e !important; }
html.oc-themed[data-theme] .du-chip.pp { color:#1e40af !important; }
html.oc-themed[data-theme] .du-bar { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-bar label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-bar .sum { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .du-link { color:var(--oc-pagemuted) !important; }
html.oc-themed[data-theme] .du-tip .du-tiptext { background:var(--section-bg) !important; color:var(--section-text) !important; border:1px solid var(--border, #94a3b8) !important; }
html.oc-themed[data-theme] table.dh th { background:var(--th-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.dh td { border-bottom:1px solid var(--border, #eef2f7) !important; }
html.oc-themed[data-theme] .du-ro { color:#78350f !important; }
html.oc-themed[data-theme] .du-f label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .panel-info { border:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] label { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .pagetitle { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .button { background:var(--blue-mid) !important; }
html.oc-themed[data-theme] .errormsg { color:#991b1b !important; }
html.oc-themed[data-theme] span[style*="yellow"] { color:#713f12 !important; }
html.oc-themed[data-theme] table[style*="d9edf7"] { background:var(--section-bg) !important; border:1px solid var(--border, #bfdbfe) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fin-yearpick { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .fin-card { border:1px solid var(--border, #cfe3f1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fin-card small { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .fin-card b { color:var(--section-text) !important; }
html.oc-themed[data-theme] .fin-card.neg b { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .fin-card.pos b { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .fin-group { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .fin-fundwrap { border:1px solid var(--border, #dbe4ee) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds { color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds th { background:var(--th-bg) !important; color:var(--section-text) !important; border-bottom:1px solid var(--border, #dbe4ee) !important; }
html.oc-themed[data-theme] table.fin-funds td { border-bottom:1px solid var(--border, #eef2f7) !important; }
html.oc-themed[data-theme] table.fin-funds tbody tr:nth-child(even) td { background:var(--row-even) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds tbody tr:hover td { background:var(--row-hover) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds .muted { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] table.fin-funds a.fin-name { color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds a.fin-name:hover { color:var(--oc-link) !important; }
html.oc-themed[data-theme] table.fin-funds td.bal { color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fin-funds td.bal.neg { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] table.fin-funds td.inc { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] table.fin-funds td.exp { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] table.fin-funds td.zero { color:var(--muted, #64748b) !important; }
html.oc-themed[data-theme] table.fin-funds tfoot td { background:var(--row-odd) !important; color:var(--section-text) !important; border-top:2px solid var(--border, #b9cfe6) !important; }
html.oc-themed[data-theme] .fin-sort:hover { color:var(--section-text) !important; }
html.oc-themed[data-theme] th[aria-sort=ascending] .fin-arr,
html.oc-themed[data-theme] th[aria-sort=descending] .fin-arr { color:var(--section-text) !important; }
html.oc-themed[data-theme] .fin-icn { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .fin-icn:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .fa-verdict.good { background:var(--section-bg) !important; color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .fa-verdict.bad { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-verdict.worse { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-card { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-card.e b { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .fa-card.o b { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .fa-card.i b { color:var(--oc-link) !important; }
html.oc-themed[data-theme] details.fa-chk { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-badge.ok { color:#166534 !important; }
html.oc-themed[data-theme] .fa-badge.info { color:#1e40af !important; }
html.oc-themed[data-theme] .fa-badge.warn { color:#9a3412 !important; }
html.oc-themed[data-theme] .fa-badge.error { color:#991b1b !important; }
html.oc-themed[data-theme] .fa-t { color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-body p { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] table.fa-tbl th { background:var(--th-bg) !important; }
html.oc-themed[data-theme] .neg { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] table.fa-tbl a { color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fa-tbl a:hover { color:var(--oc-link) !important; }
html.oc-themed[data-theme] .fa-junk { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fj-box { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fj-bd { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .fj-list { border:1px solid var(--border, #e2e8f0) !important; }
html.oc-themed[data-theme] .fj-ft { border-top:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fj-btn { border:1px solid var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-fund { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fa-fund > summary:before { color:var(--muted, #64748b) !important; }
html.oc-themed[data-theme] .fa-pill.error { color:#991b1b !important; }
html.oc-themed[data-theme] .fa-pill.warn { color:#92400e !important; }
html.oc-themed[data-theme] .fa-pill.info { color:#1e40af !important; }
html.oc-themed[data-theme] .fa-pill.ok { color:#166534 !important; }
html.oc-themed[data-theme] .bd-bar { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-tab { border:1px solid var(--border, #cbd5e1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-tab:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.du-grid tr.bd-sub td { background:var(--row-odd) !important; color:var(--section-text) !important; border-top:2px solid var(--border, #b9cfe6) !important; }
html.oc-themed[data-theme] .bd-h { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .bd-pos { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .bd-neg { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .bd-st.ok { color:#166534 !important; }
html.oc-themed[data-theme] .bd-st.watch { color:#92400e !important; }
html.oc-themed[data-theme] .bd-st.over { color:#991b1b !important; }
html.oc-themed[data-theme] .bd-st.none { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-tool { border:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-tool b { color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-btn { border:1px solid var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-btn:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bd-btn.red { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .fc-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .fc-btn.pri { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fc-btn.pri:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fc-card { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fc-card.end { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fc-panel { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fc-t th { background:var(--th-bg) !important; }
html.oc-themed[data-theme] .du-btn.dk { background:var(--section-bg) !important; color:var(--section-text) !important; border-color:var(--border, #cbd5e1) !important; }
html.oc-themed[data-theme] .du-btn.dk:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] tr.bu-row.on td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .bu-grp { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .bu-file { border:2px dashed var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fu-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .fu-btn.del { background:var(--section-bg) !important; color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .fu-btn.del:hover { color:#991b1b !important; }
html.oc-themed[data-theme] .fu-card { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fu-sec { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fu-f label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .fu-money span { color:var(--muted, #64748b) !important; }
html.oc-themed[data-theme] .fu-bar { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fu-cancel { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .im-num { background:var(--blue-mid) !important; }
html.oc-themed[data-theme] tr.im-row.on td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .im-pos { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .im-neg { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .fl-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .fl-btn.primary { background:var(--section-bg) !important; }
html.oc-themed[data-theme] .fl-btn.primary:hover { background:var(--section-bg) !important; }
html.oc-themed[data-theme] .fl-yrsel { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-chip.split { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-card { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-card.end { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-tools { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-tbtn { border:1px solid var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-tbtn:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-scroll { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fl th { background:var(--th-bg) !important; color:var(--section-text) !important; border-bottom:2px solid var(--border, #cbd5e1) !important; }
html.oc-themed[data-theme] table.fl tr.fin-row:nth-child(even) td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fl tr.fin-row:hover td { background:var(--row-hover) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fl tr.fl-open td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fl tr.fin-year td { background:var(--row-odd) !important; color:var(--section-text) !important; border-top:1px solid var(--border, #94a3b8) !important; border-bottom:1px solid var(--border, #cbd5e1) !important; }
html.oc-themed[data-theme] td.bal { color:var(--section-text) !important; }
html.oc-themed[data-theme] td.nm a { color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-chip { color:#075985 !important; }
html.oc-themed[data-theme] .fl-chip.ok { color:#166534 !important; }
html.oc-themed[data-theme] .fl-date { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .fl-cats table { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fl-cats th { background:var(--th-bg) !important; }
html.oc-themed[data-theme] .fl-empty { border:1px dashed var(--border, #cbd5e1) !important; }
html.oc-themed[data-theme] .fl-foot { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .em-box { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-hd { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .em-f label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .em-kind label { color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-sec { border:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-sec h3 { color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-split button { color:#b91c1c !important; }
html.oc-themed[data-theme] .em-rem.ok { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .em-rem.bad { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .em-btn { border:1px solid var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-btn:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-btn.del { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .em-ft { border-top:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-note.warn { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-note.ok { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-note.info { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-thumb { border:1px solid var(--border, #cbd5e1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-big { background:var(--section-bg) !important; border:1px solid var(--border, #94a3b8) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-lb img { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .em-drop { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr th { border-bottom:2px solid var(--border, #94a3b8) !important; }
html.oc-themed[data-theme] table.fr td { border-bottom:1px solid var(--border, #e2e8f0) !important; }
html.oc-themed[data-theme] .fr-form { border:1px solid var(--border, #cfe3f1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-head { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .fr-chip { color:#075985 !important; }
html.oc-themed[data-theme] .fr-chip.red { color:#991b1b !important; }
html.oc-themed[data-theme] .fr-note { color:#7a5b00 !important; }
html.oc-themed[data-theme] .fr-bar { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-card { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-card.end { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr th { background:var(--th-bg) !important; color:var(--section-text) !important; border-bottom:2px solid var(--border, #cbd5e1) !important; }
html.oc-themed[data-theme] table.fr tr:nth-child(even) td { background:var(--row-even) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr tr.tot td { background:var(--row-odd) !important; border-top:1px solid var(--border, #94a3b8) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr td a { color:var(--section-text) !important; }
html.oc-themed[data-theme] table.fr td a:hover { color:var(--oc-link) !important; }
html.oc-themed[data-theme] details.fr-cat { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] details.fr-cat > summary { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] details.fr-cat > summary .amt { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .fr-tbtn { border:1px solid var(--border, #94a3b8) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-tbtn:hover { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-foot { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-options { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-catlink { color:var(--section-text) !important; }
html.oc-themed[data-theme] .fr-catlink:hover { color:var(--oc-link) !important; }
html.oc-themed[data-theme] .frm-box { background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .frm-hd { background:var(--header-gradient) !important; }
html.oc-themed[data-theme] .frm-sum { background:var(--section-bg) !important; border-bottom:1px solid var(--border, #e2e8f0) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .frm-ft { border-top:1px solid var(--border, #e2e8f0) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .rp-field label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .rp-field .hint { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .rp-check { color:var(--section-text) !important; }
html.oc-themed[data-theme] tr.rp-row.on td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .rp-grp { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] .ye-box { border:1px solid var(--border, #cfe3f1) !important; background:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] tr.rc-row.on td { background:var(--row-odd) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .rc-dates label { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .rc-acct { color:var(--muted, #334155) !important; }
html.oc-themed[data-theme] .rc-same { color:#1e40af !important; }
html.oc-themed[data-theme] .rc-pos { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .rc-neg { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] tr.rc-open td { background:var(--row-odd) !important; color:var(--oc-pos) !important; }
html.oc-themed[data-theme] .du-balloon { color:var(--section-text) !important; border:1px solid var(--border, #94a3b8) !important; }
html.oc-themed[data-theme] .du-brk { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-brk b { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-sortable:hover { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-sortable.asc .du-arr,
html.oc-themed[data-theme] .du-sortable.desc .du-arr { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-btn.du-dlw { color:#1e293b !important; }
html.oc-themed[data-theme] .du-btn.du-dlw:hover { color:#1e293b !important; }
html.oc-themed[data-theme] .du-th-note { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] .du-pop.hist { background:var(--section-bg) !important; color:var(--section-text) !important; border:1px solid var(--border, #94a3b8) !important; }
html.oc-themed[data-theme] .du-tagwrap .du-pop { background:var(--blue-dark) !important; }
html.oc-themed[data-theme] .du-steps li { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-steps li:before { background:var(--blue-mid) !important; }
html.oc-themed[data-theme] .searchable ul { background-color:var(--section-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .searchable ul li { color:var(--muted, #6e6e6e) !important; }
html.oc-themed[data-theme] [class*="-head"] h1, html.oc-themed[data-theme] [class*="-head"] h1 a, html.oc-themed[data-theme] [class*="-head"] a.du-home { color:#fff !important; }
html.oc-themed[data-theme] [class*="-head"] small { color:rgba(255,255,255,.85) !important; }

html.oc-themed[data-theme] .pagetitle { background:var(--header-gradient) !important; color:#fff !important; }
html.oc-themed[data-theme] .panel.panel-default.panel-info { background:var(--section-bg) !important; border-color:var(--border, #bce8f1) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] .panel-body { background:transparent !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.med th { background:var(--th-bg) !important; color:var(--section-text) !important; }
html.oc-themed[data-theme] table.med tr:nth-child(odd) td { background:var(--row-odd) !important; }
html.oc-themed[data-theme] table.med tr:nth-child(even) td { background:var(--row-even) !important; }
html.oc-themed[data-theme] table.med tr:hover td { background:var(--row-hover) !important; }
html.oc-themed[data-theme] table.med td, html.oc-themed[data-theme] table.med td a { color:var(--section-text) !important; }
html.oc-themed[data-theme] main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]), html.oc-themed[data-theme] main select, html.oc-themed[data-theme] main textarea { color:#0f172a !important; }
html.oc-themed[data-theme] [style*="background:#fff"], html.oc-themed[data-theme] [style*="background: #fff"] { color:#0f172a !important; }
html.oc-themed[data-theme] main a:not([class*="btn"]):not(.du-save):not(.fin-icn):not(.skip-link):not(.bd-tab):not(.du-back):not(.du-home):not(.nm) { color:var(--oc-link); }
html.oc-themed[data-theme] #frPdfBtn { color:#0f172a !important; }
html.oc-themed[data-theme] main :is(.du-tablewrap, .du-sec, .ye-box, .panel-body) :is(td, th, p, h4, b, label) { color:var(--section-text); }
html.oc-themed[data-theme] .fr-h, html.oc-themed[data-theme] .fa-h2, html.oc-themed[data-theme] .rp-grp, html.oc-themed[data-theme] .bu-grp, html.oc-themed[data-theme] .fin-group, html.oc-themed[data-theme] main > .container > p, html.oc-themed[data-theme] main > .container > h4 { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] main td[style*="background:#e6f0fb"], html.oc-themed[data-theme] main td[style*="background:#dcfce7"], html.oc-themed[data-theme] main td[style*="background:#f0f0f0"], html.oc-themed[data-theme] main td[style*="background:#dcdcdc"], html.oc-themed[data-theme] main tr.grand td, html.oc-themed[data-theme] main tr.tot td, html.oc-themed[data-theme] main .grand td, html.oc-themed[data-theme] main tfoot td[style*="background"] { color:#0f172a !important; }
html.oc-themed[data-theme] .du-btn[style*="background:#fff"] { color:#0f172a !important; }
html.oc-themed[data-theme] main table:not([class]) td { color:var(--oc-pagetext); }
html.oc-themed[data-theme] main table:not([class]) :is(tr[bgcolor], td[bgcolor]) :is(td, b, a), html.oc-themed[data-theme] main table:not([class]) td[bgcolor] :is(b, a), html.oc-themed[data-theme] main table:not([class]) td[bgcolor] { color:#0f172a !important; }
html.oc-themed[data-theme] label.left { color:#334155 !important; }
html.oc-themed[data-theme] main input[type=file]:not(#x):not(#y):not(#z) { color:var(--section-text) !important; }
html.oc-themed[data-theme] .du-link, html.oc-themed[data-theme] #finCount, html.oc-themed[data-theme] .fin-yearpick { color:var(--oc-pagetext) !important; }
html.oc-themed[data-theme] [style*="color:#047857"], html.oc-themed[data-theme] [style*="color:#059669"], html.oc-themed[data-theme] [style*="color:#16a34a"] { color:var(--oc-pos) !important; }html.oc-themed[data-theme] [style*="color:#475569"], html.oc-themed[data-theme] [style*="color: #475569"], html.oc-themed[data-theme] [style*="color:#64748b"], html.oc-themed[data-theme] [style*="color:#334155"] { color:var(--muted, #475569) !important; }
html.oc-themed[data-theme] [style*="color:#0b3a63"], html.oc-themed[data-theme] [style*="color:#0f3c5e"], html.oc-themed[data-theme] [style*="color: #0b3a63"], html.oc-themed[data-theme] [style*="color:#1e293b"] { color:var(--section-text) !important; }
html.oc-themed[data-theme] [style*="color:#15803d"] { color:var(--oc-pos) !important; }
html.oc-themed[data-theme] [style*="color:#b91c1c"] { color:var(--oc-neg) !important; }
html.oc-themed[data-theme] .pagebutton { background:var(--blue-mid) !important; border-color:var(--blue-mid) !important; color:#fff !important; }
html.oc-themed[data-theme] button.submit, html.oc-themed[data-theme] .submit { background:var(--blue-mid) !important; border-color:var(--blue-mid) !important; color:#fff !important; }
