/* Approved lavender palette. Green is reserved for store discovery and semantic status. */
html:not([data-theme="night"]){--page225:#f4efff;--surface225:#f9f5ff;--card225:#e8ddfb;--line225:#d7c7ef;--ink225:#302044;--muted225:#655575;--accent225:#8d6ad8;--action225:#7954c5;--link225:#6741a8;--store225:#e3f4df;--store-ink225:#254431;--store-line225:#bbdab7;--ui-bg149:var(--page225)!important;--ui-surface149:var(--surface225)!important;--ui-ink149:var(--ink225)!important;--ui-muted149:var(--muted225)!important;--ui-line149:var(--line225)!important;--ui-soft149:var(--card225)!important;--ui-blue149:var(--action225)!important;--bg:var(--page225)!important;--surface:var(--surface225)!important;--text:var(--ink225)!important;--muted:var(--muted225)!important;--border:var(--line225)!important;--primary:var(--action225)!important;--accent:var(--action225)!important;--blue:var(--action225)!important;color-scheme:light}
html[data-theme="night"]{--page225:#1c1529;--surface225:#281e39;--card225:#35264c;--line225:#5f477d;--ink225:#f2eaff;--muted225:#cebedf;--accent225:#c3a8f3;--action225:#7954c5;--link225:#c3a8f3;--store225:#243b2c;--store-ink225:#e3f4df;--store-line225:#50745b;--ui-bg149:var(--page225)!important;--ui-surface149:var(--surface225)!important;--ui-ink149:var(--ink225)!important;--ui-muted149:var(--muted225)!important;--ui-line149:var(--line225)!important;--ui-soft149:var(--card225)!important;--ui-blue149:var(--accent225)!important;--bg:var(--page225)!important;--surface:var(--surface225)!important;--text:var(--ink225)!important;--muted:var(--muted225)!important;--border:var(--line225)!important;--accent:var(--accent225)!important;color-scheme:dark}
html body{background:var(--page225)!important;color:var(--ink225)!important}
html body :is(.public-header,.public-header .header-inner,.footer145,.footer,.admin-app,.admin-sidebar,.side-nav){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html body :is(.public-header .brand,.wordmark150){color:var(--accent225)!important}
html body :is(.public-header .nav a.nav-active,.eyebrow){color:var(--link225)!important}
html body :is(.admin-panel,.metric-card,.verify-card,.setup-stat,.setup-summary,.system-stat,.mk-card,.product-card,.home-product-card148,.comparison-result141,.service-card149,.service-intro149,.account-card,.auth-card,.login-card,.cookie-banner135,.cookie-dialog135,.service-search78,.service-form78){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html body :is(input,textarea)::placeholder{color:var(--muted225)!important;opacity:1}
html body :is(.btn.primary,button.primary,.btn.success){background:var(--action225)!important;border-color:var(--action225)!important;color:#fff!important}
html body :is(.btn.soft,.btn.glass,.btn.ghost-dark,.theme-toggle148,.rail-arrow155){background:var(--card225)!important;border-color:var(--line225)!important;color:var(--ink225)!important}
html body :is(.home221,.home221 .home-platform148){--home-surface:var(--surface225);--home-ink:var(--ink225);--home-line:var(--line225);color:var(--ink225)}
html body .home-banner221{background:var(--card225)!important;color:var(--ink225)!important}
html body .home-banner221 :is(h1,p,.home-kicker221){color:var(--ink225)!important}
html body .home221 .home-search221{position:relative!important;top:auto!important;z-index:auto!important;background:var(--page225)!important;padding:12px 0!important;clear:both;min-width:0}
html body .home221 .home-search221 #universal138{position:relative!important;inset:auto!important;transform:none!important;box-sizing:border-box;max-width:100%!important;background:var(--surface225)!important;border-color:var(--line225)!important;gap:8px}
html body .home-search221 :is(.home-query140,input){min-width:0;box-sizing:border-box}
html body .home-search221 .home-search-actions140{flex-shrink:0}
html body :is(.home-shortcuts221,.home221 .home-deals221,.home221 .home-deals221[data-tone221],.home-partners221,.home-platform-offers148,.home-empty-trending148,.home-empty-offers148){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html body .home-shortcuts221>div>a{background:var(--card225)!important;color:var(--ink225)!important}
html body .home-shortcuts221 img{background:transparent!important}
html body .home-viewall221{color:var(--ink225)!important;border-color:var(--line225)!important}
html body .home-insight221{background:var(--card225)!important;color:var(--ink225)!important;border:1px solid var(--line225)}
html body :is(.home-stores221,.store-card141){background:var(--store225)!important;color:var(--store-ink225)!important;border:1px solid var(--store-line225)!important}
html body .home-stores221 :is(h2,a,strong){color:var(--store-ink225)!important}
html body .home-stores221>div:last-child>a{background:transparent!important}
html body .home221 .home-rail-controls148 a{color:var(--ink225)!important}
html body :is(#startup153,#connection219){background:var(--page225)!important;color:var(--ink225)!important}
html body .connection-card219>strong{color:var(--accent225)!important}
html body .connection-card219 button{background:var(--action225)!important;color:#fff!important}
html body :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--accent225)!important;outline-offset:3px}
@media(max-width:600px){html body .home221 .home-search221 #universal138{padding:8px!important;gap:4px}html body .home-search221 .home-search-actions140{gap:2px}html body .home-search221 .search-icon141{width:32px!important;min-width:32px;padding:4px!important}html body .home-search221 .home-search-actions140>.btn.primary{padding:8px 10px!important;min-width:54px}html body .home221 .home-search221{margin:0!important}}

html body main{background-color:var(--page225)!important;color:var(--ink225)!important}
html body :is(.auth175,.auth-card175){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html body .auth-art175{background:var(--card225)!important;color:var(--ink225)!important}
html body .auth-art175 :is(h1,h2,p,a){color:var(--ink225)!important}
html body .auth-card175 :is(a,.link-btn,.login-password-wrap button){color:var(--link225)!important}
html body .auth-card175>nav [aria-current]{color:var(--link225)!important;border-color:var(--accent225)!important}
html body .auth-card175>nav{border-color:var(--line225)!important}
html body .auth-card175>p{color:var(--muted225)!important}

/* Mobile home search: preserve category choice, readable input and touch targets. */
@media(max-width:600px){
html body .home221 .home-search221 #universal138{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important;align-items:stretch!important;box-sizing:border-box}
html body .home221 .home-search221 .search-kind140{display:flex!important;flex-direction:column;max-width:none!important;width:100%!important;grid-column:1/-1!important;gap:6px}
html body .home221 .home-search221 .home-query140{display:flex!important;flex-direction:column;width:100%;grid-column:1/-1!important;gap:6px}
html body .home221 .home-search221 :is(input:not([type=file]),select){width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;font-size:16px!important;box-sizing:border-box}
html body .home221 .home-search221 .home-search-actions140{display:flex!important;flex-wrap:nowrap!important;grid-column:1/-1!important;gap:8px!important;width:100%;min-width:0}
html body .home221 .home-search221 .home-search-actions140 .search-icon141{width:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px!important;padding:10px!important}
html body .home221 .home-search221 .home-search-actions140>.btn.primary{flex:1 1 auto!important;min-width:0!important;min-height:44px!important;font-size:14px!important;padding:10px 12px!important}
}

/* Shopping layout239: keep the capped async comparison page centered. */
html body main.shopping152{width:100%!important;min-width:0;margin-inline:auto!important}
html body .shopping152 .product-card .clean-wishlist{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%;margin:10px 0 0!important}
html[data-theme="night"] body .shopping152 :is(.product-image,.clean-filter-panel){background:var(--surface225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}
html[data-theme="night"] body .shopping152 .product-image img{background:transparent!important}
html[data-theme="night"] body .shopping152 :is(.price-row b,.price-row strong,.clean-filter-panel label){color:var(--ink225)!important}
html[data-theme="night"] body .shopping152 :is(.price-row s,.clean-product-meta,.clean-store-label,.product-updated88){color:var(--muted225)!important}
html[data-theme="night"] body .shopping152 .price-signal100{background:var(--card225)!important;color:var(--ink225)!important;border-color:var(--line225)!important}

/* Footer social240: saved links alongside the brand, wrapping on small screens. */
html body .footer-brand145{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
html body .footer-brand145 nav[aria-label="Social media"]{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
html body .footer-brand145 .footer-social240{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 10px;border:1px solid var(--line225);border-radius:12px;color:var(--ink225);background:var(--surface225)}
html body .footer-social240 svg{width:28px;height:28px;flex:0 0 28px}
