/*
 * Colour palettes that match each design style (light mode, and a matching accent in dark/OLED).
 *   Neumorphism : cool grey + indigo      Minimalism : white + black
 *   Glassmorphism: pale frosted + blue    Bento Grid : light grey tiles + violet
 *   Claymorphism : warm cream + lavender
 * The logo keeps its own teal. Status colours (green / red / amber / blue / orange) never change.
 */
@media screen {
:root { --hlc-chart-1: #0a3f3b; --hlc-chart-2: #5eead4; }

/* ===== NEUMORPHISM: cool light grey, indigo accent ===== */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-neumorphism {
	--neu-bg: #e8ebf1; --neu-light: #ffffff; --neu-dark: #c3c9d6; --hlc-bg: #e8ebf1;
	--hlc-navy: #1f2542; --hlc-navy-2: #3a47a8; --hlc-navy-3: #5566d4;
	--hlc-teal: #4f5fd0; --hlc-teal-bright: #8c9bf5; --hlc-teal-soft: #dde2fa;
	--hlc-text: #272c44; --hlc-muted: #646b85; --hlc-line: #d3d8e4; --hlc-line-strong: #b4bccf;
	--neu-grad: linear-gradient(145deg, #7b8bf0, #4353c4);
	--hlc-chart-1: #4f5fd0; --hlc-chart-2: #b3bdfa;
}
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-neumorphism .hlc-footer { background: linear-gradient(160deg, #2c3566, #1c2244); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-neumorphism .hlc-hero h1 { color: #1f2542; }

/* ===== MINIMALISM: white, black accent ===== */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-minimalism {
	--hlc-navy: #0d0d0f; --hlc-navy-2: #26262b; --hlc-navy-3: #4a4a52;
	--hlc-teal: #111114; --hlc-teal-bright: #6b6b75; --hlc-teal-soft: #f1f1f3;
	--hlc-text: #1a1a1e; --hlc-muted: #6a6a73; --hlc-line: #e8e8ec; --hlc-line-strong: #d2d2d8; --hlc-bg: #fff;
	--neu-bg: #fff; --neu-grad: linear-gradient(#111114, #111114);
	--neu-out: 0 0 0 1px #e8e8ec; --neu-out-sm: 0 0 0 1px #e8e8ec; --neu-in: inset 0 0 0 1px #e1e1e6; --neu-in-sm: inset 0 0 0 1px #e1e1e6;
	--hlc-chart-1: #111114; --hlc-chart-2: #b9b9c2;
}
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-footer { background: #0d0d0f; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-hero h1 { color: #0d0d0f; }

/* ===== GLASSMORPHISM: pale airy canvas, frosted white, blue accent ===== */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism {
	--hlc-navy: #17203d; --hlc-navy-2: #2f4bb8; --hlc-navy-3: #4a6bec;
	--hlc-teal: #3f63e6; --hlc-teal-bright: #8fa8ff; --hlc-teal-soft: rgba(205, 218, 253, .7);
	--hlc-text: #1f2745; --hlc-muted: #5d6685; --hlc-line: rgba(120, 140, 190, .25); --hlc-line-strong: rgba(120, 140, 190, .42);
	--neu-grad: linear-gradient(135deg, #6c8cff, #3b58d6);
	--neu-dark: rgba(70, 90, 150, .2);
	--hlc-chart-1: #3f63e6; --hlc-chart-2: #b9c8fb;
	background: radial-gradient(900px 520px at 10% -5%, rgba(170, 195, 255, .55), transparent 60%), radial-gradient(760px 520px at 95% 8%, rgba(226, 210, 255, .55), transparent 60%), linear-gradient(180deg, #f6f8fd 0%, #eaeff9 100%) fixed;
}
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-hero h1 { color: #17203d; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-cta-band,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-report-head { background: linear-gradient(135deg, rgba(86, 116, 240, .92), rgba(138, 104, 230, .85)); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-btn-primary:hover { background: linear-gradient(135deg, #7c99ff, #3550cc); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-footer { background: rgba(255, 255, 255, .5); color: #3c456a; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-footer a, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-glassmorphism .hlc-footer-brand { color: #17203d; }

/* ===== BENTO GRID: light grey page, white tiles, violet accent, one black tile ===== */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento {
	--hlc-navy: #14141c; --hlc-navy-2: #4d3fb5; --hlc-navy-3: #6c5ce0;
	--hlc-teal: #6c5ce0; --hlc-teal-bright: #a99bff; --hlc-teal-soft: #ebe8fc;
	--hlc-text: #1c1c26; --hlc-muted: #666678; --hlc-line: #e6e6ee; --hlc-line-strong: #d0d0dc; --hlc-bg: #f3f4f8;
	--neu-grad: linear-gradient(150deg, #9a86f2, #5a47cc);
	--hlc-teal-soft: #ebe8fc;
	--hlc-chart-1: #6c5ce0; --hlc-chart-2: #cfc7fa;
	background: #f3f4f8;
}
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-stepper { background: rgba(255, 255, 255, .96); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-input, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-select, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-plain, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-search-input, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-emino input { background-color: #f6f6fa; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-table-wrap, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-chart { background: #f8f8fc; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-footer, html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-formula { background: #14141c; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-hero h1 { color: #14141c; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-benefit:nth-child(1), html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-tool:nth-child(1), html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-cat:nth-child(1), html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-bento .hlc-topic-card:first-child { color: #efeaff; }

/* ===== CLAYMORPHISM: warm cream, lavender accent, peach and sage touches ===== */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-claymorphism {
	--neu-bg: #f3ede5; --hlc-bg: #f3ede5; --neu-dark: #d6c3ae;
	--hlc-navy: #2b2a3a; --hlc-navy-2: #5f50ad; --hlc-navy-3: #8173d0;
	--hlc-teal: #7e6fd0; --hlc-teal-bright: #b4a8f2; --hlc-teal-soft: #e5e0f7;
	--hlc-text: #34324a; --hlc-muted: #726e84; --hlc-line: #e3d7c8; --hlc-line-strong: #cdbca7;
	--neu-grad: linear-gradient(145deg, #b2a5f2, #7566ca);
	--hlc-chart-1: #7e6fd0; --hlc-chart-2: #f0a77d;
}
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-claymorphism .hlc-cta-band,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-claymorphism .hlc-report-head { background: linear-gradient(145deg, #b2a5f2, #7566ca); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-claymorphism .hlc-hero h1 { color: #2b2a3a; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body.hlc-style-claymorphism .hlc-footer { background: linear-gradient(160deg, #5f50b0, #43378f); }

/* ===== dark / OLED: matching accent per style (text and surfaces come from dark.css) ===== */
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-neumorphism { --hlc-teal: #8c9bf5; --hlc-teal-bright: #a9b5fb; --hlc-teal-soft: #232a52; --neu-grad: linear-gradient(145deg, #5a6be0, #34419f); --hlc-chart-1: #8c9bf5; --hlc-chart-2: #4453b8; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-bento, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-claymorphism { --hlc-teal: #a99bff; --hlc-teal-bright: #c4baff; --hlc-teal-soft: #2a2450; --neu-grad: linear-gradient(145deg, #7a67e6, #4a3aa8); --hlc-chart-1: #a99bff; --hlc-chart-2: #5a49c0; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-glassmorphism { --hlc-teal: #8fa8ff; --hlc-teal-bright: #b4c4ff; --hlc-teal-soft: rgba(80, 105, 200, .3); --neu-grad: linear-gradient(135deg, #5b7bf0, #3550c4); --hlc-chart-1: #8fa8ff; --hlc-chart-2: #4a63c8; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism { --hlc-teal: #f2f2f4; --hlc-teal-bright: #d4d4da; --hlc-teal-soft: #1f1f24; --neu-grad: linear-gradient(#f2f2f4, #f2f2f4); --hlc-chart-1: #f2f2f4; --hlc-chart-2: #55555e; }

/* ===== accent + primary buttons follow each style's accent (no teal leftovers) ===== */
html body[class*="hlc-style-"]:not(.hlc-style-minimalism) .hlc-btn-accent,
html body[class*="hlc-style-"]:not(.hlc-style-minimalism) .hlc-btn-primary { background: var(--neu-grad); color: #fff; text-shadow: none; }
html body[class*="hlc-style-"]:not(.hlc-style-minimalism) .hlc-btn-accent:hover,
html body[class*="hlc-style-"]:not(.hlc-style-minimalism) .hlc-btn-primary:hover { background: var(--neu-grad); color: #fff; filter: brightness(1.1); }
html body.hlc-style-minimalism .hlc-btn-primary:hover, html body.hlc-style-minimalism .hlc-btn-accent:hover { filter: none; background: var(--hlc-navy-3); }

/* ===== dark / OLED: soft status tiles and headings must not inherit the light style values ===== */
html[data-hlc-mode="dark"] body[class*="hlc-style-"] { --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="oled"] body[class*="hlc-style-"] { --hlc-green-soft: #0b2a1b; --hlc-red-soft: #2e1212; --hlc-amber-soft: #2c240b; --hlc-blue-soft: #0f2340; --hlc-orange-soft: #36190a; --hlc-now-soft: #33290d; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body[class*="hlc-style-"] .hlc-hero h1 { color: #fff; }
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 { background: #f2f2f4; color: #0d0d0f; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn-primary:hover, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-btn-accent:hover { background: #fff; color: #0d0d0f; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-step-num, html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism .hlc-stepper a.is-active .hlc-stepper-num { background: #f2f2f4; color: #0d0d0f; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body:not(.hlc-style-minimalism) .hlc-step-num { color: #0f0f1a; }
}

/* Logo follows the selected style. Minimalism dark inverts so it never goes white-on-white. */
.hlc-brand-mark svg { display: block; width: 100%; height: 100%; }
html:is([data-hlc-mode="dark"],[data-hlc-mode="oled"]) body.hlc-style-minimalism { --hlc-logo-fg: #111114; --hlc-logo-ink: #f2f2f4; }

/* Footer text: styles whose footer is dark in light mode (all but Glassmorphism) need light text. */
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer p,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer li { color: #c9d0ea; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer a { color: #eef1ff; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer p.hlc-footer-brand,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer-title,
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer .widget-title { color: #fff; }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer-disclaimer { color: #c9d0ea; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
html:not([data-hlc-mode="dark"]):not([data-hlc-mode="oled"]) body:not(.hlc-style-glassmorphism) .hlc-footer-copy { color: #aab3d6; }

/* Header: logo left; menu, search and colour switch together on the right. */
.hlc-header-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (max-width: 1120px) { .hlc-header-end { display: contents; } }
