:is(.theme-toggle,.profile-theme-toggle,.favorites-theme-toggle,.partner-theme,.tracking-theme,.unified-theme-toggle){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:74px;min-height:40px;padding:8px 13px;border:1px solid #bdd1c1;border-radius:999px;background:#fff;color:#075d42;box-shadow:0 8px 24px #102b1b20;font-size:12px;font-weight:900}
.unified-theme-toggle{position:fixed;z-index:80;right:18px;bottom:18px}
html[data-theme="dark"] :is(.theme-toggle,.profile-theme-toggle,.favorites-theme-toggle,.partner-theme,.tracking-theme,.unified-theme-toggle){border-color:#4a6755;background:#203229;color:#eef8f1}

html[data-theme="dark"] .cart-steps{border:1px solid #496454;background:#192b21ed;color:#b9cbbd;box-shadow:0 8px 22px #0003}
html[data-theme="dark"] .cart-steps span:not(:last-child)::after{background:#4c6755}
html[data-theme="dark"] .cart-steps span b{background:#2b4234;color:#c6d7ca}
html[data-theme="dark"] .cart-steps .is-active{color:#fff}
html[data-theme="dark"] .cart-steps .is-active b{background:#66b184;color:#10261a}

.tracking-step i svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

html[data-theme="dark"] .filter-button[aria-pressed="true"],html[data-theme="dark"] .audience-switch button[aria-pressed="true"]{border-color:#74bd8e;background:#08704e;color:#fff;box-shadow:0 0 0 2px #74bd8e55,0 7px 16px #0003;transform:translateY(-1px)}
.filter-button[aria-pressed="true"]::before{margin-right:6px;content:"✓";font-weight:950}

html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body.factory-page,html[data-theme="dark"] body.factories-page{background:#101a14;color:#edf6ef}
html[data-theme="dark"] .factory-site-header,html[data-theme="dark"] .factories-header{border-color:#354c3e;background:#16231bf2;color:#edf6ef}
html[data-theme="dark"] .factory-back,html[data-theme="dark"] .header-cart{border-color:#4a6755;background:#203229;color:#eef8f1}
html[data-theme="dark"] .factory-stats,html[data-theme="dark"] .factory-products,html[data-theme="dark"] .factory-contact,html[data-theme="dark"] .contact-workspace,html[data-theme="dark"] .privacy-seal,html[data-theme="dark"] .question-card,html[data-theme="dark"] .ranking-shell,html[data-theme="dark"] .factory-directory,html[data-theme="dark"] .rating-explainer,html[data-theme="dark"] .factory-rank-card{border-color:#3a5142;background:#19271f;color:#edf6ef}
html[data-theme="dark"] .factory-contact{background:linear-gradient(130deg,#19271f,#203229)}
html[data-theme="dark"] .factory-stats article,html[data-theme="dark"] .rating-explainer>div{border-color:#3a5142}
html[data-theme="dark"] .factory-section-heading input,html[data-theme="dark"] .contact-workspace textarea,html[data-theme="dark"] .directory-controls input,html[data-theme="dark"] .directory-controls select{border-color:#496454;background:#101b15;color:#f2f8f3}
html[data-theme="dark"] .factory-product-card,html[data-theme="dark"] .leader-card,html[data-theme="dark"] .factory-metrics>div{border-color:#3a5142;background:#203129;color:#edf6ef}
html[data-theme="dark"] .factory-product-card img,html[data-theme="dark"] .factory-rank-media,html[data-theme="dark"] .factory-rank-media img{background:#f3f7f2}
html[data-theme="dark"] .question-login,html[data-theme="dark"] .question-answer{background:#23382b;color:#e5f2e8}
html[data-theme="dark"] .factory-mobile-nav,html[data-theme="dark"] .factories-mobile-nav{border-color:#354c3e;background:#16231bf8}
html[data-theme="dark"] .factory-mobile-nav a,html[data-theme="dark"] .factories-mobile-nav a{color:#b8cbbd}
html[data-theme="dark"] .leader-card{background:linear-gradient(145deg,#203129,#19271f)}
html[data-theme="dark"] .rank-badges span,html[data-theme="dark"] .factory-tags span{background:#294333;color:#d9efdf}
html[data-theme="dark"] .quality-track{background:#34493b}

@media(max-width:760px){
  .unified-theme-toggle{right:10px;bottom:70px;width:42px;min-width:42px;height:42px;padding:0}
  :is(.theme-toggle,.profile-theme-toggle,.favorites-theme-toggle,.partner-theme,.tracking-theme,.unified-theme-toggle) .theme-label{display:none}
  .tracking-step i svg{width:16px;height:16px}
}
