/* KDD seasonal palettes: opt-in, no logo/image recoloring. */
html[data-kdd-theme="light"]{--kt-bg:#f7f4ee;--kt-surface:#ffffff;--kt-raised:#eee8dd;--kt-text:#201e1a;--kt-muted:#575248;--kt-accent:#806016;--kt-accent2:#a77c24;--kt-line:#cfc3ad;--kt-glow:#e5d7bc;--kdd-gold:var(--kt-accent);--kdd-orange:var(--kt-accent2);--kdd-bg:var(--kt-bg);--kdd-line:var(--kt-line);color-scheme:light}
html[data-kdd-theme="halloween"]{--kt-bg:#120e19;--kt-surface:#201727;--kt-raised:#2c2035;--kt-text:#faf0e4;--kt-muted:#d6becf;--kt-accent:#ffc078;--kt-accent2:#eda857;--kt-line:#664763;--kt-glow:#593047;--kdd-gold:var(--kt-accent);--kdd-orange:var(--kt-accent2);--kdd-bg:var(--kt-bg);--kdd-line:var(--kt-line);color-scheme:dark}
html[data-kdd-theme="christmas"]{--kt-bg:#081b19;--kt-surface:#102c27;--kt-raised:#193b31;--kt-text:#f7f1e1;--kt-muted:#bfd2c6;--kt-accent:#f2ce88;--kt-accent2:#e0ac64;--kt-line:#476a55;--kt-glow:#294b38;--kdd-gold:var(--kt-accent);--kdd-orange:var(--kt-accent2);--kdd-bg:var(--kt-bg);--kdd-line:var(--kt-line);color-scheme:dark}
html[data-kdd-theme="summer"]{--kt-bg:#f2fbfa;--kt-surface:#ffffff;--kt-raised:#dff2ef;--kt-text:#123c43;--kt-muted:#365e62;--kt-accent:#886014;--kt-accent2:#ac7d27;--kt-line:#a6ceca;--kt-glow:#c6eeea;--kdd-gold:var(--kt-accent);--kdd-orange:var(--kt-accent2);--kdd-bg:var(--kt-bg);--kdd-line:var(--kt-line);color-scheme:light}
html[data-kdd-theme="spring"]{--kt-bg:#f7f8ef;--kt-surface:#ffffff;--kt-raised:#eaf0df;--kt-text:#253a29;--kt-muted:#506147;--kt-accent:#765d24;--kt-accent2:#977c35;--kt-line:#bccdaf;--kt-glow:#dce9ce;--kdd-gold:var(--kt-accent);--kdd-orange:var(--kt-accent2);--kdd-bg:var(--kt-bg);--kdd-line:var(--kt-line);color-scheme:light}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) body,html[data-kdd-theme]:not([data-kdd-theme="classic"]) #wrapper{background:var(--kt-bg);color:var(--kt-text)}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(#content,.page-content,.card,.kdd-header,.kdd-footer,.kdd-device-card,.kdd-pro-summary,.thumbnail-container,.tabs,.kdd-grid article){background:var(--kt-surface)!important;color:var(--kt-text);border-color:var(--kt-line)!important;box-shadow:none}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-hero,.kdd-sales-hero,.kdd-final-cta,.kdd-pro-invite){background:radial-gradient(ellipse at 85% 0,var(--kt-glow),transparent 65%),var(--kt-bg)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-brand-card,.kdd-benefit-strip,.kdd-license-featured){background:var(--kt-raised)!important;border-color:var(--kt-line)!important;box-shadow:none}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(h1,h2,h3,h4,.h1,.h2,.h3,.kdd-grid strong,label,.kdd-header nav a,summary,.product-title a){color:var(--kt-text)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(p,.text-muted,.kdd-brand-card span,.kdd-pro-summary span,.kdd-showcase-caption strong){color:var(--kt-muted)}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-hero-copy p,.kdd-grid p,.kdd-section p,.kdd-account p,.kdd-pro-intro,.kdd-faq p,.kdd-footer p){color:var(--kt-muted)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(a,.kdd-label,.kdd-home h1 span,.kdd-section h2 span,.kdd-license-price,.kdd-pack-price,.kdd-footer strong){color:var(--kt-accent)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .btn-primary,html[data-kdd-theme]:not([data-kdd-theme="classic"]) #header .kdd-header nav a.btn-primary{background:var(--kt-accent)!important;color:var(--kt-surface)!important;border:1px solid var(--kt-accent)}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(input.form-control,select.form-control,textarea.form-control,.kdd-language-menu ul){background:var(--kt-surface);color:var(--kt-text);border-color:var(--kt-line)}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .form-control::placeholder{color:var(--kt-muted);opacity:1}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-section,.kdd-faq details){border-color:var(--kt-line)}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .kdd-global-beams{opacity:.18}html[data-kdd-theme]:not([data-kdd-theme="classic"]) .kdd-beams i{background:linear-gradient(var(--kt-accent),transparent);animation:none}

.kdd-theme-picker{display:flex;align-items:center;gap:8px;font-size:13px;max-width:100%}
.kdd-theme-picker select{font:inherit;min-height:40px;max-width:150px;border:1px solid var(--kt-line,#665021);border-radius:8px;background:var(--kt-surface,#151515);color:var(--kt-text,#eee);padding:6px 10px}
.kdd-theme-picker label{margin:0;color:var(--kt-muted,#ccc)}
.kdd-theme-picker select:focus-visible{outline:2px solid var(--kt-accent,#f6c34a);outline-offset:3px}
@media(max-width:600px){.kdd-theme-picker{flex-basis:100%;justify-content:center}}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) body a.btn-primary{color:var(--kt-surface)!important;background:var(--kt-accent)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .kdd-hero-showcase{background:var(--kt-raised);border-color:var(--kt-line);box-shadow:0 18px 40px #0002}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-showcase-caption strong,.kdd-benefit-strip,.kdd-benefit-strip span){color:var(--kt-text)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) :is(.kdd-showcase-caption p,.kdd-benefit-strip b,.kdd-step){color:var(--kt-accent)!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .kdd-product-art .kdd-art-caption strong{color:#f6edd8!important}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) .kdd-product-art .kdd-art-caption span{color:#e8bf64!important}

/* Decorations are behind all content and never intercept input. */
html[data-kdd-season="halloween"]{--kt-bg:#100d13;--kt-surface:#19121cef;--kt-raised:#261a25e8;--kt-accent:#ffbd75;--kt-line:#694a36;--season-image:url('assets/halloween.png')}
html[data-kdd-season="christmas"]{--season-image:url('assets/christmas.png')}
html[data-kdd-season="summer"]{--kt-bg:#061820;--kt-surface:#0b242cef;--kt-raised:#12353de8;--kt-text:#f4f5e9;--kt-muted:#c1d7d7;--kt-accent:#f6cd87;--kt-line:#41616a;--season-image:url('assets/summer.png')}
html[data-kdd-season="spring"]{--kt-bg:#0b1913;--kt-surface:#13281def;--kt-raised:#213b2ce8;--kt-text:#f7f4e8;--kt-muted:#cbd8c3;--kt-accent:#edd397;--kt-line:#53684c;--season-image:url('assets/spring.png')}
#kdd-season-scenery{display:none;position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;background:var(--season-image) center/cover no-repeat}
html[data-kdd-season]:not([data-kdd-season="none"]) #kdd-season-scenery{display:block}
html[data-kdd-season]:not([data-kdd-season="none"]) body>main{position:relative;z-index:1}
html[data-kdd-season]:not([data-kdd-season="none"]) #wrapper,
html[data-kdd-season]:not([data-kdd-season="none"]) #content,
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-home,
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-sales-hero{background:transparent!important}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-sales-hero{padding-top:65px;padding-bottom:75px}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-hero-copy{padding:28px;border-radius:0 26px 0 26px;background:linear-gradient(110deg,#08090bd9,#08090ba8);border-left:1px solid var(--kt-line)}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-section{background:#0b0d10dc!important;margin-inline:4%;border-color:var(--kt-line)}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams{display:none}
html[data-kdd-season]:not([data-kdd-season="none"]) :is(.kdd-hero-copy p,.kdd-hero-copy h1){text-shadow:0 2px 8px #0008}
#kdd-season-scenery:after{content:'';position:absolute;inset:60% -15% -15%;opacity:.24;background:radial-gradient(ellipse at 20% 75%,#c8c2d144,transparent 45%),radial-gradient(ellipse at 70% 50%,#b7b4c533,transparent 45%);animation:kdd-mist 24s ease-in-out infinite alternate;will-change:transform}
@keyframes kdd-mist{from{transform:translateX(-4%)}to{transform:translateX(4%)}}
#kdd-season-scenery i{position:absolute;left:calc(var(--n)*8.3%);top:-5%;width:4px;height:4px;border-radius:50%;background:#ffd49b;opacity:0;animation:kdd-season-fall calc(14s + var(--n)*1s) linear infinite;animation-delay:calc(var(--n)*-2s)}
@keyframes kdd-season-fall{0%{transform:translate(0,0);opacity:0}15%{opacity:.35}85%{opacity:.25}100%{transform:translate(45px,100vh);opacity:0}}
html[data-kdd-season="halloween"] #kdd-season-scenery i{animation-direction:reverse;background:#f4a958;width:3px;height:3px}
html[data-kdd-season="christmas"] #kdd-season-scenery i{background:#fff}
html[data-kdd-season="spring"] #kdd-season-scenery i{background:#e9c8c4;width:8px;height:4px;border-radius:80% 0 80% 0}
html[data-kdd-season="summer"] #kdd-season-scenery i{display:none}
html[data-kdd-season="summer"] #kdd-season-scenery:after{background:radial-gradient(ellipse at 80% 80%,#deb87155,transparent 70%);animation-duration:16s}
#kdd-motion{min-height:40px;padding:6px 10px;border:1px solid var(--kt-line,#665021);border-radius:8px;background:var(--kt-surface,#151515);color:var(--kt-text,#eee);font:inherit;cursor:pointer}
#kdd-motion[aria-pressed="true"]{outline:1px solid var(--kt-accent,#f6c34a)}
#kdd-motion[hidden]{display:none}
html[data-kdd-motion="paused"] #kdd-season-scenery:after,html[data-kdd-motion="paused"] #kdd-season-scenery i{animation-play-state:paused}
html[data-kdd-theme="light"] .kdd-beams{display:none}
html[data-kdd-theme="light"] .kdd-showcase-caption>span{color:var(--kt-accent)!important}
@media(prefers-reduced-motion:reduce){#kdd-season-scenery:after,#kdd-season-scenery i{animation:none!important}#kdd-motion{display:none}}
@media(max-width:800px){#kdd-season-scenery{background-position:center;background-size:auto 100%}.kdd-theme-picker{flex-wrap:wrap}html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-hero-copy{padding:20px}html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-section{margin-inline:0}#kdd-season-scenery i:nth-child(n+7){display:none}}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-sales-home .kdd-hero-copy h1{font-size:clamp(38px,4.5vw,64px)}
@media(max-width:800px){html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-sales-home .kdd-hero-copy h1{font-size:clamp(32px,8vw,48px);letter-spacing:-1px}}

/* Approved final behaviour: projectors retained, no pause control. */
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams{display:block;opacity:.32;z-index:0;position:fixed;inset:0;pointer-events:none;overflow:hidden}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i{animation:kdd-projector 23s ease-in-out infinite alternate;background:linear-gradient(#f9d26726,#ed902808,transparent);position:absolute;top:-15%;left:0;width:55%;height:150vh;transform-origin:50% 0;clip-path:polygon(49% 0,51% 0,100% 100%,0 100%)}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i:nth-child(2){left:15%;animation-delay:-7s}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i:nth-child(3){left:30%;animation-delay:-13s}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i:nth-child(4){left:45%;animation-delay:-19s}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i:nth-child(5){left:-20%;animation-delay:-11s}
html[data-kdd-season]:not([data-kdd-season="none"]) .kdd-global-beams i:nth-child(6){left:65%;animation-delay:-4s}
@keyframes kdd-projector{from{transform:rotate(-24deg)}to{transform:rotate(24deg)}}
html[data-kdd-season]:not([data-kdd-season="none"]) body>:is(header,footer,#header,#wrapper,#footer){position:relative;z-index:1}
html[data-kdd-season]:not([data-kdd-season="none"]) :is(.page-authentication,.page-registration,.page-my-account) #content{background:var(--kt-surface)!important}
body.kdd-standalone>header,body.kdd-standalone>footer,body.kdd-standalone>main{position:relative;z-index:1}
html[data-kdd-theme] body.kdd-standalone{background:var(--kt-bg,#090909);color:var(--kt-text,#eee)}
html[data-kdd-theme] body.kdd-standalone :is(section,aside,.guide-languages,nav a){background:var(--kt-surface,#151515);border-color:var(--kt-line,#665021);color:var(--kt-text,#eee)}
html[data-kdd-theme] body.kdd-standalone :is(p,.lead,.translation-note,.language-links span){color:var(--kt-muted,#bbb)}
body.kdd-standalone>header{flex-wrap:wrap}
body.kdd-standalone [data-kdd-theme-controls]{display:flex;margin:0;gap:8px;background:none}
html[data-kdd-theme="light"] body.kdd-standalone .button{background:var(--kt-accent);color:#fff!important}
html[data-kdd-theme="light"] .kdd-global-beams{display:none!important}
@media(prefers-reduced-motion:reduce){html .kdd-global-beams i{animation:none!important;will-change:auto}}
html[data-kdd-theme]:not([data-kdd-theme="classic"]) body.kdd-standalone a.button{background:var(--kt-accent);color:var(--kt-bg)!important}
html[data-kdd-season]:not([data-kdd-season="none"]) body.kdd-standalone .hero{background:#090b10d9;padding:32px;border-radius:0 24px 0 24px;margin:28px 0}
