/*
 * HomeLoanCalc: DARK and OLED colour modes. Work with every design style.
 *   html[data-hlc-mode="dark"]  deep teal-grey
 *   html[data-hlc-mode="oled"]  pure black page, near-black panels, thin lines (saves power on OLED screens)
 * Screen only: printing and PDF stay light.
 */
@media screen {
	/* ---------- shared: text, status colours, form controls ---------- */
	html[data-hlc-mode="dark"], html[data-hlc-mode="oled"] {
		color-scheme: dark;
		--hlc-text: #dbeae7; --hlc-muted: #9db8b3;
		--hlc-navy: #e6f8f5; --hlc-navy-2: #b6ebe5; --hlc-navy-3: #6fd9cc;
		--hlc-teal: #3dd3c2; --hlc-teal-bright: #5eead4; --hlc-teal-soft: #17403c;
		--hlc-green: #4ade80; --hlc-amber: #fbbf24; --hlc-red: #f87171;
		--hlc-line: #2a403c; --hlc-line-strong: #3a5651;
		--hlc-green-soft: #14392a; --hlc-red-soft: #3e1d1d; --hlc-amber-soft: #3b3112;
		--hlc-blue-soft: #17304f; --hlc-orange-soft: #47260f; --hlc-now-soft: #43391a;
	}
	html[data-hlc-mode="dark"] { --hlc-bg: #0f1a19; --hlc-surface: #16231f; --neu-bg: #172523; --neu-light: #223632; --neu-dark: #0a1211; }
	html[data-hlc-mode="oled"] { --hlc-bg: #000; --hlc-surface: #070a0a; --hlc-line: #1c2826; --hlc-line-strong: #2b3d39; --neu-bg: #070a0a; --neu-light: #0e1413; --neu-dark: #000;
		--hlc-green-soft: #0b2a1b; --hlc-red-soft: #2e1212; --hlc-amber-soft: #2c240b; --hlc-blue-soft: #0f2340; --hlc-orange-soft: #36190a; --hlc-now-soft: #33290d; --hlc-teal-soft: #0d2f2c; }
	html[data-hlc-mode="dark"] body { background: var(--neu-bg); }
	html[data-hlc-mode="oled"] body { background: #000; }

	/* ---------- OLED: flat panels with hairlines for every style except glass ---------- */
	html[data-hlc-mode="oled"] body.hlc-style-neumorphism, html[data-hlc-mode="oled"] body.hlc-style-claymorphism,
	html[data-hlc-mode="oled"] body.hlc-style-minimalism, html[data-hlc-mode="oled"] body.hlc-style-bento {
		--neu-bg: #070a0a; --neu-light: #0e1413; --neu-dark: #000;
		--neu-out: 0 0 0 1px #1b2624; --neu-out-sm: 0 0 0 1px #1b2624; --neu-in: inset 0 0 0 1px #1b2624; --neu-in-sm: inset 0 0 0 1px #1b2624;
		--neu-hover: 0 0 0 1px #34524c; --neu-hover-lg: 0 0 0 1px #34524c;
		--neu-grad: linear-gradient(145deg, #14b8a6, #0a5f58);
		background: #000;
	}
	html[data-hlc-mode="oled"] .hlc-header, html[data-hlc-mode="oled"] .hlc-footer, html[data-hlc-mode="oled"] .hlc-stepper, html[data-hlc-mode="oled"] .hlc-search-panel, html[data-hlc-mode="oled"] .hlc-topicbar { background: #000; box-shadow: 0 1px 0 #1b2624; }
	html[data-hlc-mode="oled"] .hlc-footer { box-shadow: 0 -1px 0 #1b2624; }
	html[data-hlc-mode="oled"] .hlc-card, html[data-hlc-mode="oled"] .hlc-benefit, html[data-hlc-mode="oled"] .hlc-tool, html[data-hlc-mode="oled"] .hlc-cat,
	html[data-hlc-mode="oled"] .hlc-post-card, html[data-hlc-mode="oled"] .hlc-entry { border: 0; }

	/* ---------- DARK: style-specific surfaces ---------- */
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism {
		--neu-bg: #2a2421; --neu-light: #3d3530; --neu-dark: #14100e;
		--neu-out: 8px 10px 20px rgba(0, 0, 0, .5), -6px -6px 14px rgba(255, 255, 255, .04), inset -5px -6px 10px rgba(0, 0, 0, .35), inset 5px 5px 10px rgba(255, 255, 255, .06);
		--neu-out-sm: 5px 6px 12px rgba(0, 0, 0, .5), -3px -3px 8px rgba(255, 255, 255, .04), inset -3px -4px 7px rgba(0, 0, 0, .35), inset 3px 3px 7px rgba(255, 255, 255, .06);
		--neu-in: inset 5px 6px 12px rgba(0, 0, 0, .55), inset -5px -5px 10px rgba(255, 255, 255, .05);
		--neu-in-sm: inset 3px 4px 8px rgba(0, 0, 0, .55), inset -3px -3px 7px rgba(255, 255, 255, .05);
		--neu-hover: 7px 9px 16px rgba(0, 0, 0, .55), -5px -5px 12px rgba(255, 255, 255, .05), inset -3px -4px 7px rgba(0, 0, 0, .35), inset 3px 3px 7px rgba(255, 255, 255, .06);
		--neu-hover-lg: 12px 14px 28px rgba(0, 0, 0, .6), -8px -8px 18px rgba(255, 255, 255, .05), inset -5px -6px 10px rgba(0, 0, 0, .35), inset 5px 5px 10px rgba(255, 255, 255, .06);
	}
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-benefit-icon, html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-tool-icon, html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-cat-icon,
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-dir-card-icon, html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-topic-ico, html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-hero-points li > span { background: linear-gradient(145deg, #3d3530, #231d1a); box-shadow: 4px 5px 10px rgba(0, 0, 0, .5), -2px -2px 6px rgba(255, 255, 255, .05); }
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-header { box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .7); }
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-footer { box-shadow: 0 -10px 20px -14px rgba(0, 0, 0, .7); }
	html[data-hlc-mode="dark"] body.hlc-style-claymorphism .hlc-dialog { box-shadow: 14px 16px 34px rgba(0, 0, 0, .7); }

	html[data-hlc-mode="dark"] body.hlc-style-minimalism {
		--neu-bg: #0b1110; --neu-dark: #24312e; --neu-light: #0b1110;
		--neu-out: 0 0 0 1px #24312e; --neu-out-sm: 0 0 0 1px #24312e; --neu-in: inset 0 0 0 1px #2a3a36; --neu-in-sm: inset 0 0 0 1px #2a3a36;
		--neu-hover: 0 0 0 1px #5fd3c6; --neu-hover-lg: 0 0 0 1px #5fd3c6;
		--neu-grad: linear-gradient(145deg, #14b8a6, #0a5f58); background: #0b1110;
	}
	html[data-hlc-mode="oled"] body.hlc-style-minimalism { --neu-hover: 0 0 0 1px #5fd3c6; --neu-hover-lg: 0 0 0 1px #5fd3c6; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-header, html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-footer { background: #0b1110; border-color: #24312e; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-stepper { background: rgba(11, 17, 16, .96); border-color: #24312e; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-card, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-benefit, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-tool,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-cat, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-post-card { border-color: #24312e; }
	html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-card, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-benefit, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-tool,
	html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-cat, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-post-card { border: 1px solid #1b2624; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-header, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-header { border-bottom: 1px solid #24312e; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-hero h1, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-hero h1,
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-blog-hero .hlc-page-title, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-blog-hero .hlc-page-title { color: var(--hlc-navy); }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-step-num, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-step-num,
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-step-first .hlc-step-num, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-step-first .hlc-step-num { background: #e6f8f5; color: #0b1f1d; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-chip[aria-pressed="true"], html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-chip[aria-pressed="true"],
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-topic-pill.is-current, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-topic-pill.is-current,
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .page-numbers.current, html[data-hlc-mode="oled"] body.hlc-style-minimalism .page-numbers.current { background: #e6f8f5; color: #0b1f1d; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn { box-shadow: 0 0 0 1px #34463f; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn-primary, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn-accent { box-shadow: none; color: #fff; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn-primary:hover { background: #1fb5a6; }
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-cta-band, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-cta-band,
	html[data-hlc-mode="dark"] body.hlc-style-minimalism .hlc-report-head, html[data-hlc-mode="oled"] body.hlc-style-minimalism .hlc-report-head { background: #0e3f3b; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-hero-points li > span, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-benefit-icon, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-tool-icon,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-cat-icon, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-topic-ico { background: #123532; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-404-code { color: var(--hlc-navy); }

	html[data-hlc-mode="dark"] body.hlc-style-bento {
		--neu-bg: #121a18; --neu-dark: #223330; --neu-light: #121a18;
		--neu-out: 0 0 0 1px #223330, 0 10px 24px -14px rgba(0, 0, 0, .6); --neu-out-sm: 0 0 0 1px #223330; --neu-in: inset 0 0 0 1px #223330; --neu-in-sm: inset 0 0 0 1px #223330;
		--neu-hover: 0 0 0 1px #3a5a54; --neu-hover-lg: 0 0 0 1px #3a5a54, 0 14px 28px -14px rgba(0, 0, 0, .7);
		--neu-grad: linear-gradient(145deg, #13807a, #0a3f3b); background: #0a0f0e;
	}
	html[data-hlc-mode="oled"] body.hlc-style-bento { --neu-hover: 0 0 0 1px #3a5a54; --neu-hover-lg: 0 0 0 1px #3a5a54; --neu-grad: linear-gradient(145deg, #0f6f69, #072c29); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-header, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-footer { background: var(--neu-bg); }
	html[data-hlc-mode="oled"] body.hlc-style-bento .hlc-header, html[data-hlc-mode="oled"] body.hlc-style-bento .hlc-footer { background: #000; }
	html[data-hlc-mode="dark"] body.hlc-style-bento .hlc-search-panel, html[data-hlc-mode="dark"] body.hlc-style-bento .hlc-topicbar { background: #0a0f0e; }
	html[data-hlc-mode="oled"] body.hlc-style-bento .hlc-search-panel, html[data-hlc-mode="oled"] body.hlc-style-bento .hlc-topicbar { background: #000; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-stepper { background: rgba(10, 15, 14, .96); box-shadow: 0 1px 0 #24312e; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-input, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-select, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-plain,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-search-input, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-emino input { background-color: #0c1311; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-table-wrap, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-chart, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-sched-tbl thead th { background: #0c1311; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-hero-points li, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-stat, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-list-item { background: var(--neu-bg); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-benefit-icon, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-tool-icon, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-cat-icon,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-topic-ico, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-hero-points li > span { background: #123532; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-btn { box-shadow: 0 0 0 1px #2b3f3b; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento .hlc-btn-primary { box-shadow: none; }

	/* glass: translucent dark panels over a dark colour field (OLED: black field, fainter glows) */
	html[data-hlc-mode="dark"] body.hlc-style-glassmorphism, html[data-hlc-mode="oled"] body.hlc-style-glassmorphism {
		--neu-bg: rgba(255, 255, 255, .07); --neu-light: rgba(255, 255, 255, .12); --neu-dark: rgba(0, 0, 0, .5);
		--neu-out: 0 10px 32px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); --neu-out-sm: 0 4px 14px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1);
		--neu-in: inset 0 2px 8px rgba(0, 0, 0, .5); --neu-in-sm: inset 0 1px 5px rgba(0, 0, 0, .5);
		--neu-hover: 0 8px 22px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .14); --neu-hover-lg: 0 16px 40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .14);
	}
	html[data-hlc-mode="dark"] body.hlc-style-glassmorphism { background: linear-gradient(135deg, #06211e 0%, #15122f 50%, #0a1d2f 100%) fixed; }
	html[data-hlc-mode="oled"] body.hlc-style-glassmorphism { background: #000; }
	html[data-hlc-mode="oled"] body.hlc-style-glassmorphism::before { opacity: .45; }
	html[data-hlc-mode="dark"] body.hlc-style-glassmorphism::before { opacity: .55; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-card, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-benefit, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-tool,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-cat, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-dir-card, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-report-sec,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-entry, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-post-card, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-sidebar .widget,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-faq, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-callout, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-banner,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-topic-card, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-author-box, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-sched-card,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .toc-side, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .toc, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-comment-list .comment-body { border-color: rgba(255, 255, 255, .14); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-btn, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-chip, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-topic-pill,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-tag, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-act, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .page-numbers { border-color: rgba(255, 255, 255, .16); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-header { background: rgba(14, 26, 24, .6); border-color: rgba(255, 255, 255, .14); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-stepper { background: rgba(14, 26, 24, .7); border-color: rgba(255, 255, 255, .12); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-footer { background: rgba(14, 26, 24, .55); border-color: rgba(255, 255, 255, .12); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-dialog { background: rgba(18, 32, 30, .88); border-color: rgba(255, 255, 255, .16); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-input, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-select, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-plain,
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-search-input, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-emino input { background-color: rgba(255, 255, 255, .06); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-table-wrap, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-chart { background: rgba(0, 0, 0, .25); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-sched-tbl thead th { background: rgba(22, 36, 34, .95); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-hero h1 { color: var(--hlc-navy); }
	@media (max-width: 1120px) { html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-nav { background: rgba(14, 26, 24, .96); } }

	/* ---------- shared: hard-coded light colours inside components ---------- */
	html[data-hlc-mode="dark"] .hlc-table tbody th, html[data-hlc-mode="dark"] .hlc-table tbody td, html[data-hlc-mode="dark"] .hlc-sched-tbl th, html[data-hlc-mode="dark"] .hlc-sched-tbl td,
	html[data-hlc-mode="oled"] .hlc-table tbody th, html[data-hlc-mode="oled"] .hlc-table tbody td, html[data-hlc-mode="oled"] .hlc-sched-tbl th, html[data-hlc-mode="oled"] .hlc-sched-tbl td { border-bottom-color: rgba(255, 255, 255, .08); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-table thead th, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-sched-tbl thead th { border-bottom-color: rgba(255, 255, 255, .16); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-table tbody tr:hover { background: rgba(255, 255, 255, .05); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-table tr.is-good dd, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-table tr.is-good td { color: #86efac; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-badge.is-part { color: #86efac; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-badge.is-extra { color: #93c5fd; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-badge.is-rate { color: #fdba74; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-needs-loan, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-warning { color: #fcd34d; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-report-sec h4, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-footer-title { box-shadow: 0 2px 0 rgba(255, 255, 255, .1); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-footer-title { box-shadow: none; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-input input::placeholder, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-plain::placeholder, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-search-input::placeholder { color: #6f8a85; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-chip[aria-pressed="true"], html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .page-numbers.current { color: #04201d; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-cta-band .hlc-btn { background: #e6f8f5; color: #06302c; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-act.is-del { color: #fca5a5; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-dlg-actions .hlc-danger { color: #fca5a5; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-sched-tbl tr.is-now > *:first-child, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-sched-card.is-now { box-shadow: inset 4px 0 0 #fbbf24; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-banner.is-good, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-banner.is-bad { color: var(--hlc-text); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-hl.is-good, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-stat.is-good { color: #86efac; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-hl.is-bad { color: #fca5a5; }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-dialog::backdrop { background: rgba(0, 0, 0, .65); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-thumb-ph { background: linear-gradient(145deg, #17403c, #0e1c1a); }
	html[data-hlc-mode="oled"] .hlc-thumb-ph { background: linear-gradient(145deg, #0d2f2c, #050808); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-prose a, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .toc a { color: var(--hlc-teal); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) img:not([src$=".svg"]) { filter: brightness(.92); }
	html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .hlc-brand-mark img, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) .custom-logo { filter: none; }

	/* ---------- the switch itself ---------- */
	.hlc-mode-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--neu-bg); box-shadow: var(--neu-out-sm); color: var(--hlc-navy); cursor: pointer; flex: none; }
	.hlc-mode-toggle:hover { color: var(--hlc-teal); box-shadow: var(--neu-in-sm); }
	.hlc-mode-toggle:focus-visible { outline: 2px solid var(--hlc-teal); outline-offset: 3px; }
	.hlc-mode-ico { display: none; }
	html:not([data-hlc-mode]) .hlc-mode-ico.is-light, html[data-hlc-mode="light"] .hlc-mode-ico.is-light, html[data-hlc-mode="dark"] .hlc-mode-ico.is-dark, html[data-hlc-mode="oled"] .hlc-mode-ico.is-oled { display: inline-flex; }
	.hlc-search-toggle { margin-left: auto; }
	.hlc-mode-toggle + .hlc-nav-toggle, .hlc-search-toggle + .hlc-mode-toggle { margin-left: 0; }
}
