/* TechLead V35. Light keeps V34. Dark is an explicit, screen-only theme.
   The supplied logo, partner artwork and product photos are never filtered or inverted. */

/* New controls only: a 44px header button and the three-way footer preference. */
.tl-v35-theme-toggle{display:inline-flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:1px solid #b8c6d8;border-radius:9px;background:#f4f7fb;color:#172b48;cursor:pointer;line-height:1}
.tl-v35-theme-toggle:hover{background:#e9f0fb}
.tl-v35-theme-toggle:focus-visible{outline:3px solid #174dc4;outline-offset:4px}
.tl-v35-theme-toggle svg{display:block;flex:none;width:22px;height:22px}
.tl-v35-theme-toggle .tl-v35-theme-sun{display:none}
html[data-tl-theme="dark"] .tl-v35-theme-toggle .tl-v35-theme-moon{display:none}
html[data-tl-theme="dark"] .tl-v35-theme-toggle .tl-v35-theme-sun{display:block}
.site-footer .tl-v35-theme-select-wrapper{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid #ffffff26}
.site-footer .tl-v35-theme-select-wrapper label{font-size:14px;font-weight:650;color:#edf3fc}
.site-footer .tl-v35-theme-select{min-height:44px;min-width:160px;max-width:100%;padding:8px 36px 8px 12px;border:1px solid #627e9f;border-radius:8px;background:#172e4a;color:#f3f7fd;color-scheme:dark;font:inherit;font-size:14px}
.site-footer .tl-v35-theme-select:focus-visible{outline:3px solid #bcd4ff;outline-offset:3px}
.site-footer .tl-v35-theme-status{flex-basis:100%;margin:0;color:#c2d0e2;font-size:13px;line-height:1.6}
.tl-v35-theme-toggle[hidden],.tl-v35-theme-select-wrapper[hidden]{display:none!important}
@media(max-width:900px){
  body .site-header .tl-v35-theme-toggle{margin-left:auto}
  body .site-header .tl-v35-theme-toggle:not([hidden])~.tl-v3-search-trigger{margin-left:0}
}

@media screen {
  html[data-tl-theme="dark"]{
    color-scheme:dark;
    --tl35-page:#0b1423;
    --tl35-surface:#111f33;
    --tl35-raised:#172a43;
    --tl35-soft:#101e31;
    --tl35-text:#e8eef8;
    --tl35-muted:#b7c6db;
    --tl35-link:#9bbdff;
    --tl35-link-hover:#d1e1ff;
    --tl35-line:#354b67;
    --tl35-control-line:#607b9d;
    --tl35-action:#275fd2;
    --tl35-action-hover:#1d4da9;
    --tl35-focus:#bcd4ff;
    --tl35-success:#a2e7be;
    --tl35-success-bg:#123329;
    --tl35-error:#ffb3ab;
    --tl35-error-bg:#3a202a;
    --tl35-warning:#ffd38a;
  }
  html[data-tl-theme="dark"] body{
    --ink:var(--tl35-text);--muted:var(--tl35-muted);--navy:#111f33;--navy-deep:#0d1c31;
    --blue:#1459e8;--blue-dark:var(--tl35-link);--soft:var(--tl35-soft);--pale:var(--tl35-raised);--line:var(--tl35-line);
    --success:var(--tl35-success);--focus:var(--tl35-focus);--shadow:0 18px 48px #0005;
    --tl50-ink:var(--tl35-text);--tl50-blue:var(--tl35-link);--tl50-line:var(--tl35-line);--tl50-bg:var(--tl35-page);--tl50-muted:var(--tl35-muted);
    background:var(--tl35-page);color:var(--tl35-text);
  }
  html[data-tl-theme="dark"] body .tl-growth{
    --tg-text:var(--tl35-text);--tg-muted:var(--tl35-muted);--tg-accent:var(--tl35-link);
    --tg-stroke:var(--tl35-line);--tg-light:var(--tl35-soft);--tg-surface:var(--tl35-page);
    background:var(--tl35-page);color:var(--tl35-text);
  }
  html[data-tl-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,strong,summary,label){color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.tl-growth,.tl-v8-partnerships,.tl-v25-related,.tl-v33-article,.tl-v33-group,.tl-v26-remote-copy,.tl-v28-filter-empty) :is(h1,h2,h3,h4){color:var(--tl35-text)}
  html[data-tl-theme="dark"] body a:where(:not(.btn,.growth-button,.tg-button,.contact-cta,.wa-float)){color:var(--tl35-link)}
  html[data-tl-theme="dark"] body a:where(:not(.btn,.growth-button,.tg-button,.contact-cta,.wa-float)):hover{color:var(--tl35-link-hover)}
  html[data-tl-theme="dark"] body :is(.tl-v5-product .detail-copy>p>a,.tl-v5-product .detail-copy>a,.tl-growth .tg-article a,.tl-growth .tg-side-link a){color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(.tl-v5-product .detail-copy>p>a,.tl-v5-product .detail-copy>a,.tl-growth .tg-article a,.tl-growth .tg-side-link a):hover{color:var(--tl35-link-hover)}
  html[data-tl-theme="dark"] body .skip-link{background:var(--tl35-raised);color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(code,kbd,samp){background:var(--tl35-raised);color:#dbe9ff}
  html[data-tl-theme="dark"] body :focus-visible{outline-color:var(--tl35-focus)!important}
  html[data-tl-theme="dark"] body ::selection{background:#375f97;color:#fff}

  /* Header keeps V34 geometry, breakpoints and open/close behavior. */
  html[data-tl-theme="dark"] body.growth-release .site-header{background:var(--tl35-surface);color:var(--tl35-text);border-bottom-color:var(--tl35-line);box-shadow:0 4px 18px #0003}
  html[data-tl-theme="dark"] body .site-header .brand.tl-v33-brand{background:#f6f8fb;color:#172b48;border-radius:4px;box-shadow:inset 0 0 0 1px #d6e0ec}
  html[data-tl-theme="dark"] body .site-header .brand.tl-v33-brand:focus-visible{outline-color:#174dc4!important;outline-offset:-3px}
  html[data-tl-theme="dark"] body .site-header .main-nav{background:var(--tl35-surface);border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body .site-header .main-nav>a,
  html[data-tl-theme="dark"] body .site-header .nav-dropdown>button{color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .site-header .main-nav>a:not(.contact-cta):hover,
  html[data-tl-theme="dark"] body .site-header .nav-dropdown>button:hover,
  html[data-tl-theme="dark"] body .site-header .nav-dropdown>button[aria-expanded="true"]{color:var(--tl35-link)}
  html[data-tl-theme="dark"] body .site-header .main-nav>a.contact-cta{background:var(--tl35-action);color:#fff}
  html[data-tl-theme="dark"] body .site-header .main-nav>a.contact-cta:hover{background:var(--tl35-action-hover)}
  html[data-tl-theme="dark"] body .site-header :is(.menu-btn,.tl-v3-search-trigger,.tl-v35-theme-toggle){background:var(--tl35-raised);border-color:var(--tl35-control-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .site-header :is(.menu-btn,.tl-v3-search-trigger,.tl-v35-theme-toggle):hover{background:#213a5a;color:#fff}
  html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu{background:var(--tl35-raised);border-color:var(--tl35-line);color:var(--tl35-text);box-shadow:0 16px 45px #0005}
  html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu>a{color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu>a>.tl-icon{color:var(--tl35-link)}
  html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu>a:hover,
  html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu>a[aria-current="page"]{background:#23466f;color:#d5e4ff}

  /* Page surfaces, including all service, editorial and commerce families. */
  html[data-tl-theme="dark"] body :is(.growth-hero,.growth-page-hero,.en-subhero,.guide-hero){background:linear-gradient(120deg,#111f35,#142944);border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body :is(.growth-soft,.growth-topic-chooser,.tl-v2-soft,.tl-v3-related,.tl-v25-related,.tl-v27-service-nav,.en-contact,.en-insight,.store-top,.map-caption,.tg-related,.tg-support){background:var(--tl35-soft);border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body :is(
    .growth-hero-panel,.growth-card,.growth-check-panel,.tl-v7-home-guide,
    .form-card,.info-card,.filters,.product-card,.summary-card,.product-gallery,.empty-state,
    .en-card,.en-focus-panel,.en-section-nav,.guide-emblem,.en-page-mark,
    .tl-v2-brief,.tl-v3-search,.tl-v3-result-link,.tl-v3-related-card,
    .tl-v4-table-wrap,.tl-v4-toc,.tl-v5-summary,.tl-v5-product-help,.tl-v5-quote-context,
    .tl-v8-partner-card,.tl-v15-privacy-controls,.tl-v19-selection-tools,.tl-v20-sharing,
    .tl-v25-card,.tl-v26-remote-panel,.tl-v28-filter-empty,.tl-v29-quantity,
    .tl-v31-tools,.tl-v32-table-wrap,.tl-v33-controls,.tl-v33-empty,.tl-v33-table-wrap,.tl-v33-guide-cta,
    .tg-card,.tg-side-link,.tg-note,.tg-bottom-cta,.tg-related-links a,.tg-support-grid a,
    .tl50-layout article,.tl-v5-commerce .cart-item
  ){background:var(--tl35-surface);border-color:var(--tl35-line);color:var(--tl35-text);box-shadow:none}
  html[data-tl-theme="dark"] body :is(
    .guide-note,.guide-example,.tl50-model,.tl-v4-note,.tl-v4-resource,.tl-v4-sources,
    .tl-v3-recommendation,.tl-v3-search-empty,.tl-v3-search-fallback,.tl-v5-selection-strip,
    .tl-v7-context-note,.tl-v9-partner-request,.tl-v12-service-request,.tl-v15-contact-privacy,
    .tl-v25-card-service,.tl-v33-related-note,.tl-v26-remote-brand,.catalog-notice
  ){background:var(--tl35-raised);border-color:var(--tl35-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.growth-band,.promo,.tg-hero){border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body .growth-band{background:#102843}
  html[data-tl-theme="dark"] body .promo{background:linear-gradient(115deg,#122944,#204b88);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.growth-band,.promo,.tg-hero) :is(h1,h2,strong){color:#f2f6fd}
  html[data-tl-theme="dark"] body :is(.growth-band,.promo,.tg-hero) p{color:#d2e0f3}
  html[data-tl-theme="dark"] body :is(.en-page-mark,.guide-emblem){color:var(--tl35-link)}

  /* Reading text and explicit legacy colors, rather than image manipulation. */
  html[data-tl-theme="dark"] body :is(
    .growth-trust,.growth-reading,.growth-article-section,.tl-v2-choice-panel,.tl-v2-brief-body,
    .tl-v3-recommendation,.tl-v3-related-card,.tl-v4-article,.tl-v4-resource,.tl-v5-summary,.tl-v5-product,.tl-v5-product-help,
    .tl-v5-quote-context,.tl-v7-home-guide,.tl-v8-partner-card,.tl-v9-partner-request,.tl-v10-references,
    .tl-v10-process,.tl-v12-service-request,.tl-v19-selection-tools,.tl-v20-sharing-body,.tl-v25-card,
    .tl-v26-remote-copy,.tl-v28-filter-empty,.tl-v33-feature,.tl-v33-guide-row,.tl-v33-empty,.empty-state,
    .tg-article,.tg-bottom-cta,.guide-body,.guide-example,.tl50-intro
  ) :is(p,li,dd){color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body :is(
    .page-intro,.product-category,.product-summary,
    .company-id,.form-help,.growth-trust,.guide-deck,.guide-byline,.tl-v2-small,
    .tl-v3-search-hint,.tl-v3-search-status,.tl-v3-result-description,.tl-v3-finder-note,
    .tl-v4-meta,.tl-v4-related-inline,.tl-v4-resource small,.tl-v5-order-steps,.tl-v5-selection-strip small,
    .tl-v7-scope-intro,.tl-v7-scope-note,.tl-v8-partner-list span,.tl-v10-small,.tl-v13-share span,
    .tl-v15-small,.tl-v18-clear-copy,.tl-v20-copy-fallback p,.tl-v24-search-spelling,.tl-v25-related-intro,
    .tl-v26-remote-brand>span,.tl-v27-service-nav p,.tl-v28-filter-help,.tl-v29-quantity-row p,.tl-v29-quantity-status,
    .tl-v31-note,.tl-v32-local-note,.tl-v32-source,.tl-v33-results,.tl-v33-filter-label,.tl-v33-article-meta,
    .tl-v33-toc strong
  ){color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body .product-card .stock,
  html[data-tl-theme="dark"] body.tl-v5-commerce .cart-item .stock,
  html[data-tl-theme="dark"] body .tl-v33-article :is(.tl-v33-source,.source){color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body :is(.tl-v33-article,.tl-v33-article li,.tl-v4-article strong,.tl-v7-context-note strong,.tl-v7-home-guide strong,.tl-v5-selection-strip p,.tl-v5-product .detail-copy .detail-price){color:var(--tl35-text)}
  html[data-tl-theme="dark"] body #tl-v5-summary-count{color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(
    .growth-eyebrow,.en-kicker,.tl50-kicker,.tl-v3-result-type,.tl-v3-related-card>span,
    .tl-v25-category,.tl-v25-card-action,.tl-v8-partner-card .tl-v8-partner-area,
    .growth-step>span,.growth-hero h1 span,.en-hero h1 span,.growth-faq summary>span,
    .en-questions summary>.tl-icon,.tg-bottom-cta .tg-eyebrow
  ){color:var(--tl35-link)}
  html[data-tl-theme="dark"] body .growth-check-panel li::before,
  html[data-tl-theme="dark"] body .growth-trust span::before,
  html[data-tl-theme="dark"] body .tl-v2-choice-panel li::before{color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(.growth-text-link,.growth-card .tl-v10-service-link,.tl-v33-feature h2 a,.tl-v33-guide-row h3 a,.tl-v33-toc a,.tl50-layout aside nav a,.tg-toc a,.tg-toc strong,.tl-v18-clear-status,.tl-v19-selection-status,.tl-v20-copy-status,.tl-v31-status){color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(.tl-v6-message-count,.tg-reading){color:var(--tl35-muted)!important}
  html[data-tl-theme="dark"] body .tl-v6-message-count.tl-v6-near-limit{color:var(--tl35-warning)!important}

  /* Boundaries and compact navigation chips. */
  html[data-tl-theme="dark"] body :is(
    .growth-check-panel li,.tl-v2-choice-panel li,.tl-v2-tabs,.tl-v2-review,.tl-v4-article section,
    .growth-faq,.growth-faq details,.en-questions details,.en-toc,.guide-toc,.guide-responsibilities>div,
    .tl50-section,.tl50-help,.tl-v13-share,.tl-v15-privacy-controls details,.tl-v18-clear-tools,
    .tl-v20-sharing[open]>summary,.tl-v31-fallback,.tl-v33-group,.tl-v33-guide-row,.tl-v33-toc,
    .tg-toc,.tg-article section,.en-contact-direct,.tl-v5-order-steps,.specs td
  ){border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body :is(.tl-v13-share,.tl-v8-partner-strip){background:var(--tl35-page);border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body :is(
    .tl-v2-tabs a,.tl-v4-topics a,.tl-v5-catalogue-nav a,.tl-v27-service-nav a,
    .tl-v8-partner-list a,.tl-v33-guide-link,.pill,.tag,.eyebrow,.tl-v5-order-steps span,
    .growth-topic-chooser button,.tl-v3-search-filters button,.tl-v33-filters button
  ){background:var(--tl35-surface);border-color:var(--tl35-control-line);color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(
    .tl-v2-tabs a,.tl-v4-topics a,.tl-v5-catalogue-nav a,.tl-v27-service-nav a,
    .tl-v8-partner-list a,.tl-v33-guide-link,.tl-v25-card,.tl-v3-result-link,
    .tg-related-links a,.tg-support-grid a
  ):hover{background:var(--tl35-raised);border-color:#779bcd;color:var(--tl35-link-hover)}
  html[data-tl-theme="dark"] body :is(
    .tl-v2-tabs a[aria-selected="true"],.growth-topic-chooser button[aria-pressed="true"],
    .tl-v3-search-filters button[aria-pressed="true"],.tl-v33-filters button[aria-pressed="true"]
  ){background:var(--tl35-action);border-color:#82a8eb;color:#fff}
  html[data-tl-theme="dark"] body .tl-v5-order-steps [aria-current="step"]{color:var(--tl35-link)}

  /* Inputs, select menus and action buttons, including generated commerce UI. */
  html[data-tl-theme="dark"] body :is(
    .field input,.field select,.field textarea,.filters input,.filters select,
    .tl-v2-brief-grid input,.tl-v2-brief-grid select,.tl-v3-finder select,.tl-v3-search-body input,
    .qty input,.tl-v29-quantity input,.tl-v20-copy-fallback textarea,.tl-v31-fallback textarea,
    .tl-v33-search-field input,.tl-v35-theme-select
  ){background:#0c192b;border-color:var(--tl35-control-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(input,textarea)::placeholder{color:#a9bad1;opacity:1}
  html[data-tl-theme="dark"] body.tl-v2-contact .contact-form :is(input,textarea)::placeholder{color:#a9bad1;opacity:1}
  html[data-tl-theme="dark"] body :is(input,select,textarea):focus{border-color:var(--tl35-focus);box-shadow:0 0 0 2px #92b8ff33}
  html[data-tl-theme="dark"] body :is(input,progress){accent-color:#8db4ff}
  html[data-tl-theme="dark"] body :is(.tl-v3-finder,.tl-v2-brief-grid,.tl-v29-quantity,.tl-v33-search-field) label{color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .tl-v3-finder select option:disabled{color:#9baec8}
  html[data-tl-theme="dark"] body :is(
    .btn.secondary,.btn.light,.growth-secondary,.wish-btn,.tl-v3-search-close,.tl-v3-search-retry,
    .tl-v18-clear-button,.tl-v19-clear-button,.tl-v20-copy-actions button,.tl-v24-search-more,
    .tl-v31-actions button,.tl-v31-fallback button,.tl-v33-reset,.qty button,.qty span,
    .tl-v6-alternatives a,.tl-v2-brief>summary small
  ){background:var(--tl35-raised);border-color:var(--tl35-control-line);color:var(--tl35-link)}
  html[data-tl-theme="dark"] body :is(
    .btn.secondary,.btn.light,.growth-secondary,.wish-btn,.tl-v3-search-close,.tl-v3-search-retry,
    .tl-v18-clear-button,.tl-v19-clear-button,.tl-v20-copy-actions button,.tl-v24-search-more,
    .tl-v31-actions button,.tl-v31-fallback button,.tl-v33-reset,.qty button,.tl-v6-alternatives a
  ):hover{background:#213a5a;border-color:#86a8d8;color:var(--tl35-link-hover)}
  html[data-tl-theme="dark"] body :is(.btn.primary,.growth-button:not(.growth-secondary),.tl-v3-finder button,.tl-v31-actions .tl-v31-primary,.consent-actions [data-consent],.tl50-button){background:var(--tl35-action);border-color:#6990d7;color:#fff}
  html[data-tl-theme="dark"] body :is(.btn.primary,.growth-button:not(.growth-secondary),.tl-v3-finder button,.tl-v31-actions .tl-v31-primary,.consent-actions [data-consent],.tl50-button):hover{background:var(--tl35-action-hover);border-color:#91b1e9;color:#fff}
  html[data-tl-theme="dark"] body .tl-growth .tg-button:not(.tg-outline){background:var(--tl35-action);color:#fff!important}
  html[data-tl-theme="dark"] body .tl-growth .tg-button:not(.tg-outline):hover{background:var(--tl35-action-hover)}
  html[data-tl-theme="dark"] body .tl-growth .tg-outline{background:transparent;border-color:var(--tl35-control-line);color:var(--tl35-link)!important}
  html[data-tl-theme="dark"] body .wish-btn[aria-pressed="true"]{background:#24476f;border-color:#8db4ff;color:#d6e5ff}
  html[data-tl-theme="dark"] body .wish-btn[aria-pressed="true"]:hover{background:#2a5486;border-color:#b2caff;color:#e6efff}
  html[data-tl-theme="dark"] body.tl-v5-commerce .cart-item .remove-item{color:#c2d0e4}
  html[data-tl-theme="dark"] body.tl-v5-commerce .cart-item .qty{border-color:var(--tl35-control-line)}
  html[data-tl-theme="dark"] body .tl-v31-actions .tl-v31-clear{background:transparent;border-color:transparent;color:var(--tl35-link)}

  /* Search, consent, statuses and validation. Hidden/open behavior is unchanged. */
  html[data-tl-theme="dark"] body .tl-v3-search::backdrop{background:#020913db}
  html[data-tl-theme="dark"] body .consent-banner{background:var(--tl35-raised);border-color:var(--tl35-control-line);color:var(--tl35-text);box-shadow:0 12px 60px #0008}
  html[data-tl-theme="dark"] body :is(.consent-status,.tl-v15-contact-privacy,.tl-v31-status){color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body :is(.notice,.global-notice){background:var(--tl35-success-bg);color:var(--tl35-success);border-color:#3a8464}
  html[data-tl-theme="dark"] body .tl-v6-feedback{background:var(--tl35-raised);border-color:var(--tl35-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .tl-v6-feedback>p:first-child{color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .tl-v6-feedback[data-state="success"]{background:var(--tl35-success-bg);border-color:#3a8464}
  html[data-tl-theme="dark"] body .tl-v6-feedback[data-state="success"]>p:first-child{color:var(--tl35-success)}
  html[data-tl-theme="dark"] body .tl-v6-feedback .tl-v6-next-steps{color:#b8d8c7}
  html[data-tl-theme="dark"] body :is(.tl-v6-feedback[data-state="error"],.tl-v23-errors){background:var(--tl35-error-bg);border-color:#bf7680;color:var(--tl35-error)}
  html[data-tl-theme="dark"] body .tl-v6-feedback[data-state="error"]>p:first-child,
  html[data-tl-theme="dark"] body .tl-v23-errors :is(h3,p,a){color:var(--tl35-error)}
  html[data-tl-theme="dark"] body :is(.tl-v6-field-error,.tl-v29-quantity-status[data-state="error"]){color:var(--tl35-error)}
  html[data-tl-theme="dark"] body :is(.contact-form [aria-invalid="true"],.tl-v29-quantity input[aria-invalid="true"]){border-color:#ef9e9d;box-shadow:0 0 0 1px #ef9e9d}
  html[data-tl-theme="dark"] body .tl-v2-brief-body .tl-v2-brief-status{color:var(--tl35-success)}

  /* Guide tables, privacy storage table, local coverage and product specs. */
  html[data-tl-theme="dark"] body :is(.tl-v4-table,.tl-v15-storage-table,.tl-v32-table,.tl-v33-guide-table,.specs){background:var(--tl35-surface);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.tl-v4-table,.tl-v15-storage-table,.tl-v32-table,.tl-v33-guide-table,.specs) :is(th,td){background:var(--tl35-surface);border-color:var(--tl35-line);color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body :is(.tl-v4-table,.tl-v15-storage-table,.tl-v32-table,.tl-v33-guide-table,.specs) :is(caption,thead th){background:#1b3454;color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.tl-v4-table,.tl-v15-storage-table,.tl-v32-table,.tl-v33-guide-table,.specs) tbody th{background:var(--tl35-soft);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.tl-v4-table,.tl-v15-storage-table) thead{background:#1b3454;color:var(--tl35-text)}
  html[data-tl-theme="dark"] body :is(.tl-v15-table-wrap,.tl-v33-table-wrap,.tl-v32-table-wrap){border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body .tl-growth .tg-checks label{background:var(--tl35-surface);border-color:var(--tl35-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .tl-growth .tg-checks label:has(input:checked){background:var(--tl35-success-bg);border-color:#3a8464;color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .tl-v31-progress{background:var(--tl35-line);accent-color:#8db4ff}
  html[data-tl-theme="dark"] body .tl-v31-progress::-webkit-progress-bar{background:var(--tl35-line)}
  html[data-tl-theme="dark"] body .tl-v31-progress::-webkit-progress-value{background:#8db4ff}
  html[data-tl-theme="dark"] body .tl-v31-progress::-moz-progress-bar{background:#8db4ff}

  /* Partner cards become dark. Only logo/artwork areas retain a neutral light canvas. */
  html[data-tl-theme="dark"] body.tl-growth-v14 .tl-v8-partner-list a{background:var(--tl35-surface)}
  html[data-tl-theme="dark"] body :is(.tl-v14-brandmark,.tl-v26-logo-anydesk){background:#f6f8fb;border-radius:5px}
  html[data-tl-theme="dark"] body #parceiros.tlp520{background:linear-gradient(135deg,#10233d,#142b48);border-color:var(--tl35-line)}
  html[data-tl-theme="dark"] body #parceiros.tlp520 .tlp520-card{background:var(--tl35-surface)!important;border-color:var(--tl35-line)!important;color:var(--tl35-text)!important}
  html[data-tl-theme="dark"] body #parceiros.tlp520 .tlp520-label{color:var(--tl35-text)!important}
  html[data-tl-theme="dark"] body #parceiros.tlp520 .tlp520-label span{color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body #parceiros.tlp520 .tlp520-media{background:#f8fafc}
  html[data-tl-theme="dark"] body :is(.product-image,.tl-v5-commerce .cart-item>img){background:#f8fafc}

  /* Footer and the fixed mobile contact actions. */
  html[data-tl-theme="dark"] body .site-footer{background:#0a1729;color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .site-footer :is(h2,label){color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .site-footer :is(p,.copyright){color:var(--tl35-muted)}
  html[data-tl-theme="dark"] body .site-footer .footer-brandline.tl-v33-brand{background:#f6f8fb;color:#172b48}
  html[data-tl-theme="dark"] body .growth-mobile-contact{background:var(--tl35-surface);border-color:var(--tl35-line);box-shadow:0 -3px 20px #0005}
  html[data-tl-theme="dark"] body .growth-mobile-contact a{background:var(--tl35-raised);border-color:var(--tl35-control-line);color:var(--tl35-text)}
  html[data-tl-theme="dark"] body .growth-mobile-contact a:last-child{background:var(--tl35-action);border-color:#6990d7;color:#fff}

  @media(max-width:900px){
    html[data-tl-theme="dark"] body .site-header .nav-dropdown-menu{background:var(--tl35-raised);box-shadow:none}
    html[data-tl-theme="dark"] body :is(.en-toc,.guide-toc,.tl-v33-toc){background:var(--tl35-soft);border-color:var(--tl35-line)}
  }
}

/* JS sets colorScheme inline; print deliberately returns to the original light document. */
@media print{
  html[data-tl-theme],html[data-tl-theme] body{color-scheme:light!important}
  html[data-tl-theme] body{background:#fff!important;color:#000!important}
  .tl-v35-theme-toggle,.tl-v35-theme-select-wrapper{display:none!important}
}
