.theme-toggle{position:fixed;left:max(20px,env(safe-area-inset-left));bottom:calc(20px + env(safe-area-inset-bottom));z-index:50;display:flex;align-items:center;gap:4px;padding:5px;border:1px solid #607a88;border-radius:999px;background:#12232d;color:#b8cbd5;min-height:54px;cursor:pointer;box-shadow:0 4px 20px #0003}
.theme-toggle[hidden]{display:none}
.theme-toggle svg{box-sizing:content-box;padding:10px;border-radius:50%}
.theme-toggle .theme-moon{background:#64c9e9;color:#081a24}
.theme-toggle:focus-visible{outline:3px solid #64c9e9;outline-offset:4px}
html[data-theme=light]{color-scheme:light;--bg:#f7f9fa;--panel:#e6eef1;--panel-soft:#dce8ed;--ink:#142c39;--text:#142c39;--muted:#425e6d;--accent:#126782;--brand:#126782;--on-accent:#fff;--line:#9db0bb;background:var(--bg);color:var(--ink)}
[data-theme=light] body{background:var(--bg);color:var(--ink)}
[data-theme=light] footer{background:#dce7ec;color:var(--ink)}
[data-theme=light] input,[data-theme=light] select,[data-theme=light] textarea{background:#fff;color:var(--ink);border-color:#718b99}
[data-theme=light] #form-error{color:#a51f24}
[data-theme=light] input[aria-invalid=true],[data-theme=light] select[aria-invalid=true],[data-theme=light] textarea[aria-invalid=true]{border-color:#a51f24}
[data-theme=light] .theme-toggle{background:#fff;color:#425e6d;border-color:#718b99}
[data-theme=light] .theme-toggle .theme-sun{background:#126782;color:#fff}
[data-theme=light] .theme-toggle .theme-moon{background:transparent;color:inherit}
[data-theme=light] .theme-toggle:focus-visible,[data-theme=light] .floating-phone:focus-visible{outline-color:#126782}
[data-theme=light] .configurator-page .site-header{background:var(--panel)}
[data-theme=light] .configurator-page .nav-links,[data-theme=light] .configurator-page .button.ghost{background:var(--panel);color:var(--text);border-color:var(--line)}
[data-theme=light] .configurator-page .button.primary{background:var(--brand);color:#fff}
[data-theme=light] .configurator-page .advisor-options .option[aria-pressed=true]{color:#fff}
[data-theme=light] .configurator-page .advisor-report-list{color:var(--text)}
[data-theme=light] .configurator-page .lang{color:var(--text)}
@media print{.theme-toggle{display:none}}
/* Explicit colours also override the WordPress theme's dark heading defaults. */
html:not([data-theme=light]){--ink:#f5f8fc;--text:#f5f8fc;--muted:#d1dce5;--accent:#82ddf6}
html:not([data-theme=light]) body{color:var(--ink)}
html:not([data-theme=light]) main :is(h1,h2,h3,h4,h5,h6,p,label,legend,li,summary),html:not([data-theme=light]) footer{color:var(--ink)}
html:not([data-theme=light]) :is(.intro,.advisor-question,.advisor-report-list,.legal-content){color:var(--ink)}
html:not([data-theme=light]) :is(figcaption,.breadcrumbs,.legal-date,.muted,.hint){color:var(--muted)}
html:not([data-theme=light]) :is(input,select,textarea){color:var(--ink);background:#0b151c;border-color:#9bb0bd}
html:not([data-theme=light]) ::placeholder{color:#c5d3dd;opacity:1}
html:not([data-theme=light]) .configurator-page .option{color:var(--ink)}
html:not([data-theme=light]) .configurator-page .option[aria-pressed=true]{color:#081a24}
html:not([data-theme=light]) #form-error{color:#ffc7bf}
