/* Shared semantic safeguards after the reversible palette derivatives. */
body.svet-dark-palette{color-scheme:dark;background:#1f262d;color:#f2f4f5;--blue:#d6ff62;--yellow:#d6ff62;--ink:#f2f4f5;--muted:#acb6c0;--paper:#1f262d}
body.svet-dark-palette .button.blue,body.svet-dark-palette .button.yellow{background:#d6ff62;color:#0b0d0f}
body.svet-dark-palette .button.blue:hover,body.svet-dark-palette .button.yellow:hover{background:#e2ff91;color:#0b0d0f}

body.svet-dark-palette input,body.svet-dark-palette textarea,body.svet-dark-palette select{color-scheme:dark;caret-color:#d6ff62}
body.svet-dark-palette input::placeholder,body.svet-dark-palette textarea::placeholder{color:#acb6c0;opacity:1}
body.svet-dark-palette option{background:#343f4a;color:#f2f4f5}
body.svet-dark-palette .svet-ed-source-led{stroke:#d6ff62}
body.svet-dark-palette .svet-ed-diagram .svet-ed-lights{fill:#d6ff62}
body.svet-dark-palette .svet-ed-diagram [fill="#f4d08b"]{fill:#d6ff62}
body.svet-dark-palette .svet-ed-diagram [stroke="#f4d08b"]{stroke:#d6ff62}
body.svet-dark-palette .svet-energy-demo.is-island .svet-ed-source-led{stroke:#687580}
body.svet-dark-palette .svet-ed-diagram .svet-ed-focus-node text{fill:#d6ff62}
body.svet-dark-palette :focus-visible{outline-color:#d6ff62}
body.svet-dark-palette ::selection{background:#d6ff62;color:#0b0d0f}
/* Actual product photographs retain their original pixels and colour. */
body.svet-dark-palette .category-model-visual.has-manufacturer-photo{background:#e9edef}
body.svet-dark-palette .category-model-visual.has-manufacturer-photo>span{color:#34434d}
body.svet-dark-palette .shop-shortcuts a[aria-current=page]{border-color:#d6ff62}

/* Preserve the supplied full-colour brand on a light, readable plate. */
body.svet-dark-palette .brand.brand-original{background:#f4f3ee!important;border-radius:6px}
body.svet-dark-palette .brand-original .brand-logo-sign,body.svet-dark-palette .brand-original .brand-logo-wordmark{mix-blend-mode:multiply!important;filter:none!important}
body.svet-dark-palette .restore-actions .button>span{background:#1f262d;color:#d6ff62}



body.svet-dark-palette .shop-button.shop-add{background:#d6ff62!important;color:#0b0d0f!important}

body.svet-dark-palette .product-photo-window img,body.svet-dark-palette img.manufacturer-photo,body.svet-dark-palette .category-model-visual.has-manufacturer-photo img,body.svet-dark-palette .catalog-product-art.has-manufacturer-photo img{mix-blend-mode:normal!important}
body.svet-dark-palette .product-photo-window,body.svet-dark-palette .catalog-product-art.has-manufacturer-photo{background:#e9edef}

body.svet-dark-palette .catalog-product-art.has-manufacturer-photo>small{color:#34434d}

/* Brand colours are identity, independent of the site's energy accent. */
body.svet-dark-palette .brand-original small{color:#414d57!important}
body.svet-dark-palette .messenger-icon.messenger-telegram{background:#237da9!important;border-color:#237da9!important;color:#fff!important}
body.svet-dark-palette .messenger-icon.messenger-whatsapp{background:#187b4d!important;border-color:#187b4d!important;color:#fff!important}
body.svet-dark-palette .messenger-icon.messenger-max{background:#7554d9!important;border-color:#7554d9!important;color:#fff!important}
body.svet-dark-palette .contact-channel-telegram .contact-channel-icon{background:#2084ad;color:#fff}
body.svet-dark-palette .contact-channel-whatsapp .contact-channel-icon{background:#1b7955;color:#fff}
body.svet-dark-palette .contact-channel-max .contact-channel-icon{background:linear-gradient(135deg,#237fff,#863af0);color:#fff}
body.svet-dark-palette .contact-channel-email .contact-channel-icon{background:#50647e;color:#f4d08b}
body.svet-dark-palette .messenger-icon:hover{filter:brightness(1.15)}
body.svet-dark-palette .kit-order>a.kit-explore{background:#d6ff62;color:#0b0d0f;border-color:#d6ff62}
body.svet-dark-palette .kit-order>a.kit-explore:hover{background:#e2ff91;color:#0b0d0f}
body.svet-dark-palette .kit-order>a.kit-explore>span{color:inherit}

body.svet-dark-palette .header-contact-channels>a[href*="t.me"]{background:#237da9;border-color:#237da9;color:#fff!important}
body.svet-dark-palette .header-contact-channels>a[href*="wa.me"]{background:#187b4d;border-color:#187b4d;color:#fff!important}
body.svet-dark-palette .header-contact-channels>a[href*="max.ru"]{background:#7554d9;border-color:#7554d9;color:#fff!important}
body.svet-dark-palette .header-contact-channels>a>span{color:#fff}
body.svet-dark-palette .header-contact-channels>a:hover{filter:brightness(1.15)}

/* A compact brand plate, vertically centred instead of stretching across the header. */
@media(min-width:1200px){
body.svet-dark-palette.structure-site header .brand.brand-original{width:330px!important;max-width:330px!important;height:92px!important;min-height:92px!important;max-height:92px!important;align-self:center!important;justify-self:start;gap:10px!important;padding:12px 14px!important;margin:0!important;border:1px solid #e6e5df;box-sizing:border-box;border-radius:9px}
body.svet-dark-palette.structure-site header .brand-original .brand-logo-sign{width:62px!important;flex:0 0 62px!important;height:auto!important}
body.svet-dark-palette.structure-site header .brand-original .brand-logo-type{width:auto!important;min-width:0!important;flex:1 1 0!important}
body.svet-dark-palette.structure-site header .brand-original small{font-size:9px!important;letter-spacing:.65px!important;line-height:1.5!important;margin-top:6px!important}
}
@media(min-width:701px) and (max-width:1199px){
body.svet-dark-palette.structure-site header{grid-template-columns:240px minmax(180px,1fr) auto}
body.svet-dark-palette.structure-site header .brand.brand-original{width:240px!important;max-width:100%!important;min-height:64px!important;height:64px!important;padding:8px 10px!important;gap:8px!important;box-sizing:border-box;border-radius:8px}
body.svet-dark-palette.structure-site header .brand-original .brand-logo-sign{width:43px!important;flex:0 0 43px!important}
body.svet-dark-palette.structure-site header .brand-original .brand-logo-type{width:auto!important;flex:1 1 0!important;min-width:0!important}
body.svet-dark-palette.structure-site header .brand-original small{font-size:6.5px!important;line-height:1.45!important;letter-spacing:.45px!important;margin-top:5px!important}
}

/* The divider belongs to the navigation area; leave clear space around the brand. */
@media(min-width:1200px){
body.svet-dark-palette.structure-site header{position:relative}
body.svet-dark-palette.structure-site header .brand.brand-original{left:-20px;top:7px}
body.svet-dark-palette.structure-site header #nav{border-bottom:0!important}
body.svet-dark-palette.structure-site header #nav::after{content:"";position:absolute;left:calc(3.8% + 334px);right:3.8%;top:56px;height:1px;background:#485563;pointer-events:none}
}
body #calculator.svet-autonomy input[type=range]{min-height:0!important;height:4px!important}
