/* Test mode. No global image inversion and no changes to product colours. */
.tj-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:40px;padding:7px 10px;background:transparent;border:1px solid var(--line,#d8dce7);border-radius:6px;color:var(--ink,#191a20);font:12px/1.15 Arial,sans-serif;cursor:pointer;flex-shrink:0;text-transform:none;letter-spacing:normal}
.tj-theme-toggle>span{display:flex;flex-direction:column;gap:2px;text-align:left}.tj-theme-toggle small{font:10px/1 Arial,sans-serif;opacity:.72}.tj-theme-toggle svg{flex-shrink:0}
.tj-theme-toggle:hover{background:rgba(121,146,193,.13)}.tj-theme-toggle:focus-visible{outline:2px solid #638be4;outline-offset:3px}
html[data-tj-theme="dark"]{color-scheme:dark;--paper:#191e29;--ink:#eff1f5;--olive:#9db6ff;--cobalt:#9db6ff;--terracotta:#f0a18d;--mustard:#e8bd64;--line:#394152;--muted:#bdc4d2;--red:#f29788;--cream:#111620;--white:#191e29;--olive2:#b5c7fb;--shadow:0 18px 55px #0004}
html[data-tj-theme="dark"] body{background:#111620;color:var(--ink)}
html[data-tj-theme="dark"] input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="color"]),html[data-tj-theme="dark"] textarea,html[data-tj-theme="dark"] select{background:#141b27;color:#eff1f5;border-color:#586176}
html[data-tj-theme="dark"] input::placeholder,html[data-tj-theme="dark"] textarea::placeholder{color:#a6afc1;opacity:1}
html[data-tj-theme="dark"] :is(input[type="radio"],input[type="checkbox"]){accent-color:#9db6ff}
html[data-tj-theme="dark"] :is(button,input,select,textarea):focus-visible{outline-color:#abc1ff}
@media print{.tj-theme-toggle{display:none!important}}
/* Site shell */
.header-inner>.tj-theme-toggle{order:3}
html[data-tj-theme="dark"] :is(.site-header,.header-inner,.primary-nav,main#main,.hero-copy,.features,.capability-grid article,.collection-descriptions article,.card-caption,.subpage-cta,.empty-state,.electricians-hero,.electricians-extra,.electricians-map-wrap,.electricians-benefit,.electricians-partner,.studio-landing,.contact-card,.contact-form,.realization-card){background:#191e29;color:var(--ink);border-color:var(--line)}
html[data-tj-theme="dark"] :is(.collection-section,.electricians-page,.electricians-benefits,.electricians-network,.studio-landing-page,.realizations-page){background:#141a25;color:var(--ink)}
html[data-tj-theme="dark"] .electricians-network{border-color:#394152}
html[data-tj-theme="dark"] :is(.lead,.hero-copy p,.page-heading>p,.electricians-hero-copy p,.electricians-network-intro>p,.electricians-benefit p,.electricians-partner p,.electricians-directory-tools,.electricians-map-legend){color:var(--muted)}
html[data-tj-theme="dark"] .electricians-map-region path{fill:#353f51;stroke:#191e29}
html[data-tj-theme="dark"] .electricians-map-region.has-partner path{fill:#758ebd}
html[data-tj-theme="dark"] .electricians-map-region:hover path{fill:#bd8972}
html[data-tj-theme="dark"] .electricians-map-region.is-active path{fill:#9db6ff}
html[data-tj-theme="dark"] .electricians-map-region:focus-visible path{fill:#bd8972;stroke:#ffd091;stroke-width:3.2}
html[data-tj-theme="dark"] :is(.electricians-map-instruction,.electricians-benefit h3,.electricians-partner h3,.page-heading h1){color:var(--ink)}
html[data-tj-theme="dark"] :is(.electricians-edit,.design-card:hover .card-caption){background:#232d40;color:#c0d2ff}
html[data-tj-theme="dark"] :is(.button-solid,.electricians-cta){background:#294b96;border-color:#6384ce;color:#fff}
html[data-tj-theme="dark"] .button-solid:hover{background:#345cae}
html[data-tj-theme="dark"] :is(.site-footer,.tj-footer){background:#101522;color:#eff1f5}
/* Editorial pages: keep photographs, the interactive house and colour-matching studio unaltered. */
html[data-tj-theme="dark"] :is(.plana-page,.linea-page,.eikon-page,.plana-intro,.plana-editorial,.plana-section,.series-gallery-section,.possibilities-page,.possibilities-section,.realizations-intro,.realizations-grid,.realization-copy,.contact-page,.contact-layout){background:#191e29;color:var(--ink)}
html[data-tj-theme="dark"] :is(.plana-page,.linea-page,.eikon-page,.possibilities-page) :is(h1,h2,h3){color:var(--ink)}
/* Account / checkout: the store's data and prices are unaffected. */
html[data-tj-theme="dark"] .woocommerce :is(.woocommerce-MyAccount-content,.woocommerce-MyAccount-navigation,.woocommerce-notices-wrapper,.woocommerce-info,.woocommerce-message,form.login,form.register,.shop_table,.cart_totals,#payment,.payment_box){background:#191e29;color:var(--ink);border-color:var(--line)}
html[data-tj-theme="dark"] .woocommerce :is(.woocommerce-error,.woocommerce-error li){background:#392326;color:#ffceca}
html[data-tj-theme="dark"] .woocommerce :is(.button,button.button,a.button,input.button){background:#294b96;color:#fff;border-color:#6384ce}
html[data-tj-theme="dark"] .woocommerce a:not(.button){color:#b5c9ff}
html[data-tj-theme="dark"] :is(.tj-consent-panel,.tj-consent-dialog,.tj-consent-banner){background:#191e29;color:var(--ink);border-color:var(--line)}
@media(max-width:940px){.header-inner>.tj-theme-toggle{order:2;margin-left:auto}.has-js .header-inner>.menu-toggle{order:3;margin-left:0}.header-inner>.primary-nav{order:4}}
@media(max-width:600px){.header-inner{gap:10px}.header-inner>.tj-theme-toggle{padding:7px;min-width:38px}.header-inner>.tj-theme-toggle>span{display:none}}

/* 1.10.7: every content surface gets a matching foreground. Product samples retain their colours. */
html[data-tj-theme="dark"] .site-brand .wordmark{color:#eff1f5;background:transparent}
html[data-tj-theme="dark"] :is(.site-brand,.tj-footer-logo) .custom-logo{background:transparent;padding:0;border-radius:0;filter:grayscale(1) invert(1);mix-blend-mode:screen}
html[data-tj-theme="dark"] :is(.site-brand,.tj-footer-logo) .custom-logo[data-tj-logo-background="transparent"]{filter:brightness(0) invert(1);mix-blend-mode:normal}
html[data-tj-theme="dark"] main#main.trajkot-studio-landing{background:#111620!important}
html[data-tj-theme="dark"] :is(.studio-series-card,.studio-series-copy,.studio-layout,.studio-controls,.plana-studio,.plana-hero,.plana-editorial,.plana-use,.plana-details>div,.plana-overview,.plana-article,.plana-cta,.tj-account-card,.tj-offer-card,.tj-offer-rename,.tj-contact-composition,.tj-contact-direct,.tj-help-page,.tj-help-document .tj-help-callout,.possibilities-list-wrap,.possibilities-cta,.discover-mesh,.discover-banner,.config-section,.inspirations){background:#191e29;color:#eff1f5;border-color:#394152}
html[data-tj-theme="dark"] :is(.studio-landing-hero,.plana-editorial .plana-hero,.possibilities-hero,.discover-intro){background:#141b27;color:#eff1f5}
html[data-tj-theme="dark"] :is(.studio-landing-edit,.plana-edit-link,.possibilities-edit,.discover-edit,.studio-segments,.studio-slot-options,.eikon-families){background:#243045;color:#eff1f5}
html[data-tj-theme="dark"] :is(.studio-series-title,.studio-heading h2,.studio-controls legend,.studio-segments button,.studio-slot-options button,.studio-match,.tj-contact-field>label,.plana-use h2,.plana-details h2,.tj-help-document h1,.tj-help-document h2,.tj-help-document h3){color:#eff1f5}
html[data-tj-theme="dark"] :is(.studio-segments button[aria-pressed=true],.studio-slot-options button[aria-pressed=true],.eikon-families button[aria-pressed=true]){background:#9db6ff;color:#111a2d}
html[data-tj-theme="dark"] :is(.studio-gallery-hint p,.studio-heading>p,.studio-disclaimer,.studio-controls legend span,.plana-hero-grid p:not(.plana-series),.plana-editorial-heading>p,.plana-use-card p,.plana-socket-card p,.plana-pn,.plana-overview figcaption,.possibilities-cta p,.discover-cta p,.tj-contact-consent,.tj-contact-company,.tj-offer-meta){color:#bdc4d2}
html[data-tj-theme="dark"] :is(.studio-controls fieldset,.woocommerce table.shop_table th,.woocommerce table.shop_table td,.woocommerce-MyAccount-navigation li,.tj-help-document table,.tj-help-document td,.tj-help-document th){border-color:#394152}
html[data-tj-theme="dark"] .studio-pick:hover,html[data-tj-theme="dark"] .studio-pick[aria-pressed=true]{background:#26344a;border-color:#9db6ff}
html[data-tj-theme="dark"] .button-light{background:#f0f4ff;color:#17243d;border-color:#f0f4ff}
html[data-tj-theme="dark"] .button-light:hover{background:#d6e2ff;color:#17243d}
html[data-tj-theme="dark"] .scene-copy :is(h2,p){color:#fff}
html[data-tj-theme="dark"] .scene-copy .scene-switch{color:#fff;border-color:#bdc8df}
html[data-tj-theme="dark"] .scene-copy .scene-switch[aria-pressed=true]{background:#f0f4ff;color:#17243d}
html[data-tj-theme="dark"] :is(.tj-cart-card,.tj-cart-coupon,.tj-cart-prices,.woocommerce .cart_totals,.woocommerce .woocommerce-address-fields,.woocommerce .woocommerce-order-details,.woocommerce .woocommerce-customer-details address,.woocommerce fieldset,.woocommerce .woocommerce-EditAccountForm,.woocommerce .woocommerce-form-login,.woocommerce .woocommerce-form-register,.woocommerce-checkout #payment,.woocommerce-checkout .payment_box){background:#191e29;color:#eff1f5;border-color:#394152}
html[data-tj-theme="dark"] .woocommerce :is(input.input-text,textarea,select){background:#141b27!important;color:#eff1f5!important;border-color:#586176!important}
html[data-tj-theme="dark"] .woocommerce :is(.woocommerce-message,.woocommerce-info){background:#202b3d;color:#eff1f5}
html[data-tj-theme="dark"] .woocommerce :is(a.button,.button,button.button.alt){color:#fff}
html[data-tj-theme="dark"] .woocommerce-MyAccount-navigation .is-active a{background:#294b96;color:#fff}
html[data-tj-theme="dark"] .woocommerce :is(.select2-selection,.select2-results,.select2-dropdown){background:#141b27;color:#eff1f5;border-color:#586176}
/* Contrast fixes verified against the rendered sections, including lower page content. */
html[data-tj-theme="dark"] :is(.studio-palette,.plana-sockets,.plana-socket-card,.discover-cta,.tj-realizations-callout,.tj-realizations-cta){background:#191e29;color:#eff1f5;border-color:#394152}
html[data-tj-theme="dark"] :is(.studio-palette legend,.studio-selected-wall,.discover-cta h2,.tj-realizations-cta h2){color:#eff1f5}
html[data-tj-theme="dark"] :is(.tj-contact-page p,.tj-realizations-page p,.plana-home figcaption){color:#bdc4d2}
html[data-tj-theme="dark"] :is(.discover-cta,.electricians-cta,.plana-cta) .button-light{background:#f0f4ff;color:#17243d;border-color:#f0f4ff}
html[data-tj-theme="dark"] .inspiration-grid figcaption{background:#101522d9;padding:8px 12px;border-radius:4px}
html[data-tj-theme="dark"] :is(.tj-cookie-panel,.tj-cookie-reopen,.tj-cookie-settings-link,.tj-cookie-noscript){background:#191e29;color:#eff1f5;border-color:#586176}
html[data-tj-theme="dark"] .tj-cookie-panel :is(h2,.tj-cookie-actions>button){color:#eff1f5}
html[data-tj-theme="dark"] .tj-cookie-panel :is(p,a,.tj-cookie-links button){color:#bdc4d2}
html[data-tj-theme="dark"] .tj-cookie-actions>button:hover{background:#243045}
html[data-tj-theme="dark"] .tj-cookie-actions>button[data-tj-consent=save]{background:#294b96;color:#fff;border-color:#6384ce}

html[data-tj-theme="dark"] :is(.studio-custom-color,.studio-paint-note,.tj-projects-page p){color:#bdc4d2}
html[data-tj-theme="dark"] :is(.tj-project-invitation,.tj-project-card-copy,.tj-projects-empty){background:#191e29;color:#eff1f5;border-color:#394152}

/* FAQ questions and answers keep their contrast when the page is dark. */
html[data-tj-theme="dark"] .tj-help-document:has(.wp-block-details){--help-ink:#eff1f5;--help-muted:#bdc4d2;--help-gold:#d6bc87;--help-line:#394152}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details{color:#eff1f5;border-color:#394152}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details summary{color:#eff1f5}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details :is(p,ul,ol){color:#bdc4d2}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details summary:hover,
html[data-tj-theme="dark"] .tj-help-page .wp-block-details a:not(.wp-block-button__link){color:#b5c9ff}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details summary::after{color:#d6bc87}
html[data-tj-theme="dark"] .tj-help-page .wp-block-details :is(summary,a):focus-visible{outline-color:#abc1ff}
html[data-tj-theme="dark"] .plana-details summary{color:#eff1f5}
html[data-tj-theme="dark"] .plana-details>div :is(p,ul,ol){color:#bdc4d2}

/* Dark preview gutters and dialog chrome; photographs and Vimar controls retain their colours. */
html[data-tj-theme="dark"] .discover-page .discover-preview{background:var(--paper);border-color:var(--line)}
html[data-tj-theme="dark"] .discover-mesh-badges li{color:var(--muted)}
html[data-tj-theme="dark"] #tj-discover-dialog{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-tj-theme="dark"] #tj-discover-dialog :is(.discover-dialog-bar,.discover-dialog-content){background:var(--paper);border-color:var(--line)}
html[data-tj-theme="dark"] #discover-close{color:var(--ink)}
html[data-tj-theme="dark"] #discover-close:hover{background:#243045}
html[data-tj-theme="dark"] #discover-close:focus-visible{outline-color:var(--cobalt)}
html[data-tj-theme="dark"] #tj-discover-dialog #discover-board,
html[data-tj-theme="dark"] #tj-discover-dialog #discover-board :is(.demo,.scene-bar){background:#191e29;border-color:#394152}
html[data-tj-theme="dark"] #tj-discover-dialog #discover-board :is(.scene-bar p,.note){color:#bdc4d2}
html[data-tj-theme="dark"] #tj-discover-dialog #discover-board .instructions a{color:#b5c9ff}
html[data-tj-theme="dark"] #tj-discover-dialog #discover-board .loading{background:#243045;color:#bdc4d2}

/* Header preferences follow the account navigation as two plain icons. */
.header-inner>.tj-header-tools{order:3;display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;margin-left:4px}
.tj-header-tools>:is(.tj-language-toggle,.tj-theme-toggle){display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px;width:44px;min-height:44px;height:44px;padding:8px;border:0;border-radius:0;background:transparent;color:var(--ink);line-height:1;cursor:pointer;box-shadow:none}
.tj-header-tools>:is(.tj-language-toggle,.tj-theme-toggle):hover{background:transparent;opacity:.75}
.tj-header-tools>:is(.tj-language-toggle,.tj-theme-toggle):focus-visible{outline:2px solid #638be4;outline-offset:2px}
.tj-header-tools svg{display:block;flex:none;pointer-events:none}
@media(max-width:940px){
 .header-inner>.tj-header-tools{order:2;margin-left:auto;gap:2px}
 .has-js .header-inner>.menu-toggle{order:3;margin-left:0;min-width:52px}
 .header-inner>.primary-nav{order:4}
 .header-inner>.site-brand{order:1;flex:1;min-width:0}
 .site-brand .custom-logo{max-width:min(170px,100%)}
}
@media(max-width:600px){.header-inner{gap:8px}.header-inner>.tj-header-tools{margin-left:0;gap:0}}
@media print{.tj-header-tools{display:none!important}}
@media(min-width:941px) and (max-width:1100px){
 .header-inner{gap:14px}
 .primary-nav .menu{gap:8px}
 .site-brand .custom-logo{max-width:150px}
 .site-brand .wordmark{font-size:22px;letter-spacing:.22em}
 .site-brand .wordmark span{font-size:6px;letter-spacing:.08em}
}
@media(max-width:600px){
 .site-brand .wordmark{font-size:clamp(14px,4.1vw,22px);letter-spacing:.16em}
 .site-brand .wordmark span{font-size:5px;letter-spacing:0}
}
