:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark;--ink:#eceef0;--green:#087968;--mint:#233b33;--line:#383d43;--muted:#b6bcc4;--soft:#1b1e22;--d-ink:#eceef0;--d-green:#8bd0b9;--d-line:#383d43;--d-red:#ff757c;--code-ink:#eceef0;--code-green:#087968;--code-muted:#b6bcc4;--code-line:#383d43;--theme-bg:#121416;--theme-surface:#1c1f23;--theme-raised:#25292e;--theme-text:#eceef0;--theme-muted:#b6bcc4;--theme-border:#383d43}
.theme-toggle{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:calc(18px + env(safe-area-inset-bottom));z-index:10000;display:inline-flex;align-items:center;gap:8px;min-height:43px;padding:9px 15px;border:1px solid #c6dcd5;border-radius:30px;background:#fff;color:#17493c;font:600 13px var(--site-font,Arial,sans-serif);box-shadow:0 4px 20px #102e2a20;cursor:pointer;touch-action:manipulation}
.theme-toggle svg{width:20px;height:20px}.theme-toggle:focus-visible{outline:3px solid #16a085;outline-offset:4px}
html[data-theme=dark] .theme-toggle{background:#25292e;color:#eceef0;border-color:#50565e;box-shadow:0 4px 20px #0005}
html[data-theme=dark],html[data-theme=dark] body{background:var(--theme-bg)!important;color:var(--theme-text)!important}
html[data-theme=dark] :is(header,.detail-preview-header,.code-header){background:#181b1ff5!important;border-color:var(--theme-border)!important}
html[data-theme=dark] :is(.product-focus,.product-detail-card,.product.product-market-card,.related-product-card,.code-card,.code-steps>li,.guide-card,.contact-card,.testimonial-card,.faq-item,.board-row,.hero-board,.service-points span,.zoom-summary,.zoom-plan,.category-menu-panel,.search-suggestions,.welcome-dialog){background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important;box-shadow:0 10px 28px #0002!important}
html[data-theme=dark] :is(h1,h2,h3,h4,.section-heading,.detail-breadcrumb strong,.chosen-plan strong,.service-points b,.category-menu-title,.search-suggestion-name,.code-form-group label,.code-steps h3,.related-product-body h3,.related-products){color:var(--theme-text)!important}
html[data-theme=dark] :is(p,.product-lead,.product-description,.detail-breadcrumb,.detail-preview-back,.buy-help,.chosen-plan,.service-points span,.product-category,.related-product-category,.related-product-period,.related-product-original,.code-card-lead,.code-input-hint,.code-status,.code-support,.code-result-label,.search-summary,.guide-result-count,.guide-card-details,.testimonial-author){color:var(--theme-muted)!important}
html[data-theme=dark] :is(.header nav a,.code-nav a,.category-menu-panel a,.category-page-links a,.shop-footer-links a,.code-footer-links a){color:#d9dde2!important}
html[data-theme=dark] :is(.category-menu-toggle,.home-tab,.guide-filters button,.related-products-controls button,.category-links a,.category-page-links a,.search-suggestion,.search-all-results,.code-copy){background:var(--theme-raised)!important;border-color:#41474f!important;color:var(--theme-text)!important}
html[data-theme=dark] :is(.home-tab.is-active,.guide-filters button[aria-pressed=true]){background:#007f6d!important;color:#fff!important;border-color:#58d7b7!important}
html[data-theme=dark] :is(.category-menu-panel a:hover,.search-suggestion:hover,.board-row:hover){background:#2c3137!important}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.code-input-wrap){background:#15181c!important;color:var(--theme-text)!important;border-color:#565e68!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a5adb8!important;opacity:1}
html[data-theme=dark] :is(.trust-line span,.detail-preview-label,.category-label,.code-heading-icon,.code-step-number,.code-security){background:#25312d!important;border-color:#41584d!important;color:#b4dfcc!important}
html[data-theme=dark] :is(.price-panel,.plan-options button,.choice-options button){background:#25292e!important;border-color:#454c55!important;color:var(--theme-text)!important}
html[data-theme=dark] :is(.price-panel>span,.price-panel small,.choice-options button small,.plan-options button small,del,.period){color:var(--theme-muted)!important}
html[data-theme=dark] :is(.price-panel strong,.price-line .price,.related-product-price strong,.search-suggestion-price){color:#ff757c!important}
html[data-theme=dark] :is(.plan-options button[aria-pressed=true],.choice-options button[aria-pressed=true]){background:#2563eb!important;border-color:#729fff!important;color:#fff!important}
html[data-theme=dark] :is(.choice-options button[aria-pressed=true] small,.plan-options button[aria-pressed=true] small){color:#fff!important}
html[data-theme=dark] :is(.purchase-notes,.selected-plan-info){background:#30291b!important;border-color:#a58035!important}
html[data-theme=dark] :is(.purchase-notes h2,.selected-plan-info h2){color:#ffd27b!important}
html[data-theme=dark] :is(.purchase-notes li,.selected-plan-info li){color:#ecdbb8!important;border-color:#645131!important}
html[data-theme=dark] :is(.code-result,.code-status.is-copied){background:#14392e!important;border-color:#469d80!important;color:#b3f7d9!important}
html[data-theme=dark] .code-digits{color:#7decc7!important}
html[data-theme=dark] .code-status.is-error{background:#42252b!important;color:#ffbdc4!important;border-color:#9e5864!important}
html[data-theme=dark] :is(.code-support,.chosen-plan,.code-footer,.shop-footer-bottom,.faq-answer){border-color:var(--theme-border)!important}
html[data-theme=dark] :is(.shop-footer,.code-footer,footer,.trust-section,.testimonials-section,.faq-section,.contact,.guide-library){background:#181b1f!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] :is(.button,.buy-now,.code-submit,.market-buy-link,.related-product-action,.code-header-help){color:#fff!important}
html[data-theme=dark] :is(.button,.code-submit,.code-header-help,.market-buy-link){background:#007f6d!important}
html[data-theme=dark] :is(.code-eyebrow,.code-support a,.eyebrow,.text-link,.product-type){color:#a1d8c4!important}
html[data-theme=dark] :is(.header-search,.header-search button){background:#25292e!important;color:#d9dde2!important;border-color:#454c55!important}
html[data-theme=dark] :is(.header-search input,.header-search button){border:0!important}
html[data-theme=dark] :is(.price-prefix,.market-card-body .price-line,.guide-filters button.is-active){color:var(--theme-text)!important}
html[data-theme=dark] .guide-filters button.is-active{background:#007f6d!important}
html[data-theme=dark] a .brand-lockup-v2{border-radius:8px!important;padding:5px!important}
html[data-theme=dark] .related-products-rail{scrollbar-color:#4c6c70 transparent}
html[data-theme=dark] :is(.product-media,.product-poster,.related-product-media){border-color:#36524f!important}
html[data-theme=dark] :is(.market-card-body,.product-body,.product-category,.market-card-visual){background:var(--theme-surface)!important}
html[data-theme=dark] :is(.guide-hero,.article-hero,.feature-hero){background:#20252a!important;border-color:var(--theme-border)!important}
html[data-theme=dark] :is(.guide-label,.mobile-sticky-bar,.article-toc,.feature-index,.guide-step,.article-section,.feature-card,.guide-empty){background:var(--theme-surface)!important;border-color:var(--theme-border)!important;color:var(--theme-text)!important}
html[data-theme=dark] :is(.guide-card li,.guide-card-details,.guide-step li,.guide-step p,.article-content li,.article-toc a,.feature-index a,.mobile-bar-btn){color:var(--theme-muted)!important}
html[data-theme=dark] :is(.guide-card>a,.guide-card-details){border-color:var(--theme-border)!important}
/* Keep the light theme's typography; only assign dark colors by purpose. */
html[data-theme=dark] :is(.market-card-body,.product-purchase,.related-product-body,.code-card,.guide-card){text-shadow:none!important}
html[data-theme=dark] :is(.product-category,.related-product-category,.price-prefix,.service-points span,.detail-preview-back){color:var(--theme-muted)!important}
html[data-theme=dark] :is(.group-heading a,.guide-card>a,.article-toc a:hover,.feature-index a:hover,.detail-breadcrumb a,.code-nav a.active,.header nav a.active){color:#a1d8c4!important}
html[data-theme=dark] :is(.feature-item,.prompt-box,.callout,.callout.warning,.callout.success,.article-footer,.guide-step,.article-intro,.quick-link){background:#22272c!important;border-color:#454c55!important;color:var(--theme-text)!important}
html[data-theme=dark] :is(.feature-body p,.feature-body li,.prompt-box p,.callout p,.callout li,.article-lead,.article-meta,.feature-item summary strong,.feature-index strong,.article-toc strong,.faq-answer,.contact-card a,.contact-card strong,.shop-footer-contact a){color:var(--theme-text)!important}
html[data-theme=dark] :is(.code-result-label,.code-support a,.code-copy,.code-eyebrow){color:#b4dfcc!important}
html[data-theme=dark] :is(.testimonial-author strong,.faq-item summary,.faq-item button,.welcome-heading,.welcome-greeting,.welcome-content,.board-row h2){color:var(--theme-text)!important}
html[data-theme=dark] :is(.home-tab.is-active,.guide-filters button.is-active,.code-submit,.code-header-help,.mobile-bar-btn.bar-zalo){color:#fff!important}
/* Complete dark surfaces for the assurance and support blocks. */
html[data-theme=dark] :is(.assurance-section,.commitment-section){background:var(--theme-surface)!important;border-color:var(--theme-border)!important}
html[data-theme=dark] :is(.commitment-grid article,.trust-grid article){background:#25292e!important;border-color:#41474f!important;box-shadow:none!important}
html[data-theme=dark] :is(.commitment-grid h3,.trust-grid strong){color:var(--theme-text)!important}
html[data-theme=dark] :is(.commitment-grid p,.trust-grid span){color:var(--theme-muted)!important}
html[data-theme=dark] .commitment-grid b{color:#92d7bd!important}
html[data-theme=dark] .assurance-heading>span{background:#26392f!important;border-color:#41594d!important;color:#b8e3ce!important}
html[data-theme=dark] .trust-grid i{background:#264038!important;color:#b3ead7!important}
html[data-theme=dark] .trust-grid article:nth-child(2) i{background:#403622!important;color:#f5d286!important}
html[data-theme=dark] .trust-grid article:nth-child(3) i{background:#352c48!important;color:#d3b7fb!important}
html[data-theme=dark] .trust-grid article:nth-child(4) i{background:#253949!important;color:#b0d9ff!important}
/* Heading containers stay transparent; color belongs to the small badge. */
html[data-theme=dark] .section-badge-header{background:transparent!important;border:0!important;color:var(--theme-text)!important}
html[data-theme=dark] .eyebrow-badge{background:#263647!important;color:#bedbfa!important}
html[data-theme=dark] .rating-summary-pill{background:#25292e!important;border-color:#454c55!important;box-shadow:none!important;color:#e6e9ec!important}
html[data-theme=dark] .rating-summary-pill strong{color:var(--theme-text)!important}
html[data-theme=dark] .rating-summary-pill>span:not(.stars){color:var(--theme-muted)!important}
html[data-theme=dark] .rating-summary-pill .stars{color:#ffc55b!important}
html[data-theme=dark] .testimonial-author span{color:#b0b8c3!important}
html[data-theme=dark] :is(.shop-footer-steps,.shop-footer-contact li,.shop-footer-help p,.shop-footer-email){color:var(--theme-muted)!important}
html[data-theme=dark] .shop-footer-help>span{color:var(--theme-text)!important}
html[data-theme=dark] .shop-footer-bottom{background:#14171a!important}
html[data-theme=dark] .shop-footer:before,html[data-theme=dark] .shop-footer:after{opacity:.18}
html[data-theme=dark] .shop-footer .shop-footer-cta{background:#087968!important;border-color:#319f85!important;color:#fff!important}
html[data-theme=dark] .shop-footer .shop-footer-social a{background:#252f38!important;color:#dceaf5!important;border-color:#43505c!important}
/* Fill the media area instead of letterboxing tall product artwork. */
.product.product-market-card .market-card-visual{padding:0!important;border-radius:0!important;width:100%;height:auto!important;aspect-ratio:auto!important;overflow:hidden}
.product.product-market-card .market-card-visual img{width:100%!important;height:auto!important;max-width:none!important;object-fit:cover!important;object-position:center;display:block}
html[data-theme=dark] .related-product-media img{object-fit:cover!important}
html[data-theme=dark] .header-search{overflow:hidden;border:1px solid #454c55!important;border-radius:12px}
/* Blend the approved white-backed logo into dark headers and footers. */
html[data-theme=dark] a .brand-lockup-v2{background:transparent!important;padding:0!important;border-radius:0!important;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}
@media(max-width:768px){body:has(.mobile-sticky-bar) .theme-toggle{bottom:calc(72px + env(safe-area-inset-bottom))}}
@media(max-width:650px){.theme-toggle{left:12px;bottom:calc(12px + env(safe-area-inset-bottom));min-height:39px;padding:8px 12px;font-size:12px}.theme-toggle svg{width:18px;height:18px}}

/* Scrolling takes priority over decorative painting. Keep the ordinary card border. */
html.tkht-is-scrolling :is(.product-scene *, .floating-contact-button){animation-play-state:paused!important}
html.tkht-is-scrolling :is(.product-scene:before,.product-scene:after){animation-play-state:paused!important}
/* Opaque sticky surfaces avoid blurring the moving page on every scroll frame. */
body:has(#home-featured)>header,body[data-catalog-page]>header,.detail-preview-header{
 backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff;
}
html[data-theme=dark] :is(body:has(#home-featured)>header,body[data-catalog-page]>header,.detail-preview-header){background:#181b1f!important}

/* Storefront preference: light only. */
:root{color-scheme:light}
.theme-toggle{display:none!important}
