.settings-open{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid #dbe3f0;border-radius:12px;background:#f8fafc;color:#334155;font-weight:700;cursor:pointer;font-size:14px;margin:8px 0}.settings-open-mobile{margin:0;padding:8px;width:36px;height:36px}.settings-overlay[hidden]{display:none}.settings-overlay{position:fixed;inset:0;z-index:8000;background:#0f172a88;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(5px)}.settings-card{width:min(440px,100%);padding:24px;border-radius:24px;background:#fff;color:#17243d;box-shadow:0 24px 80px #0004;border:1px solid #dbe3f0}.settings-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.settings-card h2{font-size:20px;font-weight:800}.settings-card header button{width:36px;height:36px;border-radius:10px;background:#f1f5f9;font-size:24px}.settings-card fieldset{border:0;margin:20px 0;padding:0}.settings-card legend{font-size:14px;font-weight:700;margin-bottom:10px}.settings-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-choices button{padding:14px;border:1px solid #dbe3f0;border-radius:12px;font-size:15px;font-weight:700;background:#f8fafc;cursor:pointer}.settings-choices button[aria-pressed=true]{border-color:#2463d4;background:#edf3ff;color:#1428a0;box-shadow:0 0 0 1px #2463d4}.settings-card p{font-size:13px;color:#64748b;margin-top:22px}button:focus-visible,a:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
html[data-theme=dark]{--ss-blue:#7fa6ff;--ss-border:#334155;background:#0b1220;color:#e2e8f0;color-scheme:dark}
html[data-theme=dark] body,html[data-theme=dark] #main-shell,html[data-theme=dark] #app-container{background:#0b1220;color:#e2e8f0}
html[data-theme=dark] :is(.bg-white,#desktop-sidebar,#mobile-header,#mobile-nav,.settings-card,.cd-panel,.cd-summary,#shop-auth-card,.shop-team-card,.shop-auth-card,#shop-account-desktop){background:#152035!important;color:#e2e8f0;border-color:#334155!important}
html[data-theme=dark] [class*="bg-slate-50"],html[data-theme=dark] [class*="bg-slate-100"],html[data-theme=dark] [class*="bg-gray-50"],html[data-theme=dark] :is(.settings-open,.settings-card header button,.settings-choices button,.cd-product,.cd-test,.cd-credit-alert,.cd-row.voucher,.cd-loan-details .cd-row.total,.cd-share-panel){background:#1e2d46!important;color:#d8e5ff;border-color:#3b4b66!important}
html[data-theme=dark] [class*="text-slate-900"],html[data-theme=dark] [class*="text-slate-800"],html[data-theme=dark] [class*="text-slate-700"],html[data-theme=dark] [class*="text-slate-600"],html[data-theme=dark] :is(.shell-title,.mobile-brand,.cd-wrap,.cd-method-title,.cd-head h3,.cd-row b,.settings-card){color:#e2e8f0!important}
html[data-theme=dark] [class*="text-slate-500"],html[data-theme=dark] [class*="text-slate-400"],html[data-theme=dark] :is(.cd-small,.cd-view-date,.cd-field,.settings-card p,.shell-subtitle){color:#a9bdd8!important}
html[data-theme=dark] [class*="border-slate"],html[data-theme=dark] [class*="border-ss-border"],html[data-theme=dark] :is(.cd-row,.cd-method-content,.cd-loan-details .cd-row){border-color:#334155!important}
html[data-theme=dark] :is(input,select,textarea){background:#0d192b!important;color:#e2e8f0!important;border-color:#425778!important}
html[data-theme=dark] :is(.settings-choices button[aria-pressed=true],.cd-buttons button.active,.cd-method.chosen){background:#20375b!important;color:#dce8ff!important;border-color:#7fa6ff!important}
html[data-theme=dark] :is(.cd-method.muted-alternative,.cd-method.unavailable){background:#182237!important;border-color:#334155!important}
html[data-theme=dark] :is(.cd-combo-highlight,.cd-one-of,.cd-offer-icon){background:#1c3458!important;color:#b5d0ff!important;border-color:#41638a!important}
html[data-theme=dark] [class*="text-ss-blue"],html[data-theme=dark] .cd-row.total,html[data-theme=dark] .cd-loan-monthly b{color:#91b5ff!important}
html[data-theme=dark] :is(.shell-rule,.shop-account-name,.shop-account-meta){color:#b8cae3}

.settings-open:not(.settings-open-mobile){margin:12px 22px}
html[data-theme=dark] :is(#shop-auth-overlay,.shell-rule,#galaxy-ai-panel,.ga-card,.shop-team-owner-box){background:#152035!important;color:#e2e8f0!important;border-color:#334155!important}
html[data-theme=dark] :is(.shell-rule strong,#mobile-header-title,.shop-auth-title,.shop-team-title){color:#b5d0ff!important}
@media(min-width:1101px) and (max-width:1450px){#checkout-demo .cd-methods,#checkout-demo .cd-methods.without-trade{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Use the application's typography throughout checkout, including form controls. */
#checkout-demo .cd-wrap{font-family:inherit;font-size:14px;line-height:1.6}
#checkout-demo :is(input,select,textarea,button){font-family:inherit!important;letter-spacing:normal!important}
#checkout-demo :is(.promo-field label,.promo-check,.cd-field){font-size:13px;font-weight:600;letter-spacing:normal;text-transform:none}
#checkout-demo :is(.font-black,.font-extrabold){font-weight:700!important;letter-spacing:normal!important}
#checkout-demo .cd-head h3{font-size:17px;font-weight:700}
#checkout-demo .cd-method-title{font-size:16px;font-weight:700}
#checkout-demo .promo-apps~div button,#checkout-demo .promo-grid~div button{font-size:12px!important}
/* Override the legacy light skin at the same selectors, with a theme prefix. */
html[data-theme=dark]{--ui-bg:#0b1220;--ui-surface:#152035;--ui-surface-soft:#1e2d46;--ui-border:#334155;--ui-text:#e2e8f0;--ui-muted:#a9bdd8;--ui-blue:#91b5ff;--ui-blue-soft:#20375b;--ui-cyan:#163544;--ui-shadow:0 8px 28px #0003;--ui-shadow-hover:0 12px 32px #0005}
html[data-theme=dark] body{background:#0b1220!important;color:#e2e8f0!important}
html[data-theme=dark] :is(#main-shell,#app-container){background:transparent!important}
html[data-theme=dark] #desktop-sidebar{background:#101b2d!important}
html[data-theme=dark] .shell-brand{background:#152035!important;border-color:#334155!important}
html[data-theme=dark] :is(.shell-title,.mobile-brand){color:#e2e8f0!important}
html[data-theme=dark] .shell-subtitle{color:#a9bdd8!important}
html[data-theme=dark] #desktop-nav button:hover{background:#1e2d46!important}
html[data-theme=dark] #desktop-nav button.bg-\[\#EEF2FF\]{background:#20375b!important;color:#b5d0ff!important}
html[data-theme=dark] #app-container .bg-white{background:#152035!important;border-color:#334155!important}
html[data-theme=dark] #app-container:has(#products-grid-container) .fade-in > .bg-white.rounded-2xl{background:#152035!important}
html[data-theme=dark] #app-container:has(#products-grid-container) .fade-in > .bg-white.rounded-2xl input{background:#0d192b!important;color:#e2e8f0!important}
html[data-theme=dark] :is(.smart-filter-chip,.ga-chips button){background:#1e2d46!important;color:#d8e5ff!important;border-color:#425778!important}
html[data-theme=dark] .smart-filter-chip.is-active{background:#285fc4!important;color:#fff!important}
html[data-theme=dark] #products-grid-container > div{background:#152035!important;border-color:#334155!important}
html[data-theme=dark] #products-grid-container h3{color:#e2e8f0!important}
html[data-theme=dark] #products-grid-container .text-ss-blue{color:#91b5ff!important}
html[data-theme=dark] #products-grid-container .w-20.h-20{background:#26344b!important;border-color:#425778!important}
html[data-theme=dark] #products-grid-container > div > div:nth-of-type(2){background:#1e2d46!important;color:#d8e5ff!important;border-color:#334155!important}
html[data-theme=dark] #products-grid-container > div > button:last-child{background:#20375b!important;color:#b5d0ff!important}
html[data-theme=dark] #app-container .w-32.h-32.sm\:w-40.sm\:h-40{background:#26344b!important}
html[data-theme=dark] :is(#galaxy-ai-panel,.ga-input,.ga-input input){background:#152035!important;color:#e2e8f0!important;border-color:#425778!important}
html[data-theme=dark] .preview-notice{background:#20375b!important;color:#d8e5ff!important;border-color:#425778!important}
html[data-theme=dark] :is(.cd-combo-empty,.cd-loan-monthly,.cd-summary-hero,.cd-shop-saved){background:#1e2d46!important;color:#e2e8f0!important;border-color:#334155!important}
#checkout-demo .cd-summary pre{font-family:inherit;font-size:13px;line-height:1.7}
html[data-theme=dark] #checkout-demo :is(.cd-simple-offers,.cd-simple-offers .cd-row>b,.cd-wrap button:not(.cd-method-title),.cd-share-apps button){background:#1e2d46!important;color:#d8e5ff!important;border-color:#425778!important}
html[data-theme=dark] #checkout-demo .cd-wrap button.active{background:#285fc4!important;color:#fff!important;border-color:#7fa6ff!important}
html[data-theme=dark] #checkout-demo :is(.cd-view-date time,.cd-summary h3,.cd-share-heading h4,.cd-loan-monthly b,.cd-combo-highlight strong,.cd-choice){color:#b5d0ff!important}
html[data-theme=dark] #checkout-demo :is(.cd-exclusive,.cd-note,.cd-loan-details small,.cd-share-heading p,.cd-share-note,.cd-share-fallback){color:#a9bdd8!important}
html[data-theme=dark] #checkout-demo :is(.cd-head,.cd-method-title,.cd-simple-offers .cd-row+.cd-row){border-color:#334155!important}
/* One native UI font with full Vietnamese support; avoid mixed fallback glyphs. */
:root{--app-font:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
html body,html :is(#shop-auth-overlay,#shop-team-modal,#galaxy-ai-panel){font-family:var(--app-font)!important;-webkit-font-smoothing:antialiased}
html :is(input,select,textarea,button){font-family:var(--app-font)!important}
#checkout-demo,#checkout-demo .cd-wrap,#checkout-demo .cd-summary pre{font-family:var(--app-font)!important}
#checkout-demo .cd-wrap h2{font-family:var(--app-font)!important;font-size:18px;font-weight:600;line-height:1.5;letter-spacing:normal}
#checkout-demo :is(.cd-head h3,.cd-method-title){font-weight:600!important;letter-spacing:normal}
#checkout-demo :is(.cd-field,.promo-field label,.promo-check){font-weight:500!important}
#checkout-demo :is(input,select,textarea){font-weight:400!important;font-size:14px!important;line-height:1.5}
#checkout-demo .cd-wrap button:not(.cd-method-title){font-weight:600!important}
#checkout-demo :is(.cd-row b,.cd-combo-highlight strong){font-weight:600}
.compare-filter{padding:14px 18px;border-bottom:1px solid var(--ui-border,#dce8f6);font-size:14px}.compare-filter label{display:flex;align-items:center;gap:9px;cursor:pointer}
.compare-advantage{color:#0057d9!important;font-weight:700!important}html[data-theme=dark] .compare-advantage{color:#60a5ff!important;font-weight:700!important}
.product-offers{padding:20px;border:1px solid var(--ui-border,#dce8f6);border-radius:24px;background:var(--ui-surface,#fff)}.product-offers h3{font-size:16px;font-weight:600;margin:0 0 12px}.product-offers p{font-size:14px;margin:8px 0}.product-offers small{display:block;font-size:12px;color:var(--ui-muted,#64748b);margin:10px 0}.product-offers button{border:1px solid #a3b9df;background:var(--ui-blue-soft,#eaf3ff);color:var(--ui-blue,#1428a0);border-radius:12px;padding:10px 14px;font-weight:600;margin-top:10px}
.shop-offer-details summary{cursor:pointer;font-size:14px;padding:14px 0;font-weight:500}.shop-offer-details[open] summary{border-bottom:1px solid var(--ui-border,#dce8f6);margin-bottom:14px}
#checkout-demo .cd-promos>.cd-panel{align-self:start}.cd-promos{grid-auto-rows:auto}
.product-offers h3{display:flex;align-items:center;gap:10px;margin-bottom:16px}.product-offers svg,.offer-return svg{width:21px;height:21px;flex-shrink:0}.offer-title-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#eaf1ff;color:#0057d9}.product-offer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.product-offer-line{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--ui-border,#dce8f6);border-radius:14px}.product-offer-icon{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:11px}.offer-tag{background:#e3f7ed;color:#087a55}.offer-swap{background:#fff1db;color:#a96208}.offer-bundle{background:#eaf1ff;color:#0057d9}.product-offer-line p{margin:0;display:flex;flex-direction:column;gap:3px}.product-offer-line p span{font-size:13px;color:var(--ui-muted,#64748b)}.product-offer-line strong{font-size:16px;font-weight:600;color:var(--ui-text,#17243d)}.product-offers button{display:inline-flex;align-items:center;gap:9px}.offer-return{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;margin-bottom:16px;border:1px solid var(--ui-border,#dce8f6);border-radius:12px;background:var(--ui-surface,#fff);color:var(--ui-blue,#1428a0);font-size:14px;font-weight:600;cursor:pointer}.offer-return:hover{background:var(--ui-blue-soft,#eaf3ff)}
html[data-theme=dark] .offer-title-icon,html[data-theme=dark] .offer-bundle{background:#20375b;color:#91b5ff}html[data-theme=dark] .offer-tag{background:#123a32;color:#6ee7b7}html[data-theme=dark] .offer-swap{background:#3a2d1b;color:#fcd08a}
/* October audit: clear selection, readable proof, compact unavailable options. */
.compare-advantage{color:#0875dc!important;background:#e3f2ff!important;border-radius:7px;padding:7px 8px;font-weight:700!important;opacity:1!important}
.compare-ai-copy{color:#52647a;white-space:normal;-webkit-line-clamp:3;line-height:1.5!important}
.decision-note{padding:18px;margin-top:16px;border:1px solid #b7d8fc;border-radius:20px;background:#f0f7ff;font-size:13px;line-height:1.6}.decision-note h3{font-weight:700;color:#0875dc;margin-bottom:8px}
.offer-periods{font-size:11px;color:#53677f;line-height:1.5;margin-top:10px;max-height:130px;overflow:auto}.offer-periods p{margin:4px 0}
.cd-method.chosen{border:2px solid #0875dc!important;box-shadow:0 0 0 3px #0875dc15;background:#f5faff!important}.cd-method.unavailable .cd-controls{min-height:0}.cd-method.unavailable{align-self:start}
.quote-total{background:#e9f4ff;padding:18px;border-radius:15px;margin:12px 0;color:#29415f;font-size:13px}.quote-total strong{display:block;font-size:28px;color:#0875dc;line-height:1.6;font-weight:700}.quote-total small{display:block;font-size:12px}
.budget-strict{display:flex;align-items:center;gap:7px;font-size:12px;color:#29415f;cursor:pointer}.budget-strict input{width:18px;height:18px;accent-color:#0875dc}
.card-version{display:block;font-size:11px;color:#52647a;font-weight:500;line-height:1.5}.quick-sales-pitch{font-size:14px!important;line-height:1.7!important}
.recommend-reason{font-weight:600;color:#1d4d82;margin-bottom:8px}.need-check{font-size:11px;color:#596c83;margin:7px 0}.data-update{font-size:11px;color:#59718c;margin:4px 0 12px}
.backup-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0;font-size:11px}.backup-actions button,.backup-actions label{padding:8px;border:1px solid #b7d8fc;background:#f0f7ff;border-radius:8px;cursor:pointer}.backup-actions input{display:block;max-width:200px;font-size:11px!important}
[data-theme=dark] .decision-note,[data-theme=dark] .quote-total{background:#162b43;color:#dae8fa;border-color:#2b5280}[data-theme=dark] .compare-advantage{color:#70c6ff!important;background:#123957!important}[data-theme=dark] .cd-method.chosen{background:#162b43!important}[data-theme=dark] .quote-total strong{color:#70c6ff}[data-theme=dark] .offer-periods,[data-theme=dark] .data-update,[data-theme=dark] .card-version,[data-theme=dark] .need-check{color:#aabfd7}
@media(max-width:700px){#checkout-demo input{font-size:16px!important;min-height:44px}.cd-methods{grid-auto-rows:auto!important}.cd-summary .cd-buttons{position:sticky;bottom:74px;padding:8px;background:var(--surface,#fff);border-radius:12px;z-index:5}.compare-spec-trigger{min-width:115px}#galaxy-ai-launcher{max-width:150px;font-size:11px}#galaxy-ai-panel.is-open~*{pointer-events:auto}.quote-total strong{font-size:25px}.backup-actions{flex-direction:column}}

/* Readable secondary information and clear status tags in both themes. */
#products-grid-container :is(p,[class*="text-[10px]"]),.need-evidence,.recommendation-note{font-size:13px!important;line-height:1.6!important;color:#334155}
.card-version,.data-update,.offer-periods,.need-check{font-size:13px!important;color:#40546c;line-height:1.6}
#app-container [onclick*="Color"],#app-container [onclick*="color"]{font-size:13px!important}
.status-badge{display:block;width:fit-content;max-width:100%;margin-top:6px;padding:5px 8px;border-radius:8px;font-size:12px;font-weight:700;line-height:1.4;white-space:normal}
.status-over{color:#9a3412;background:#ffedd5;border:1px solid #fdba74}.status-in{color:#166534;background:#dcfce7;border:1px solid #86efac}.status-pending{color:#854d0e;background:#fef9c3;border:1px solid #eab308}
.need-evidence{padding-left:17px;margin:0;list-style:disc}.need-evidence li{margin:5px 0}.recommendation-note{margin:12px 0;padding:12px 16px;background:#eff6ff;border-radius:12px}
html[data-theme=dark] :is(.need-evidence,.recommendation-note,.card-version,.data-update,.offer-periods){color:#d5e3f5!important}html[data-theme=dark] .recommendation-note{background:#20375b}html[data-theme=dark] .status-over{color:#fed7aa;background:#572c14;border-color:#b66c2e}html[data-theme=dark] .status-pending{color:#fef08a;background:#493713;border-color:#a88420}html[data-theme=dark] .status-in{color:#bbf7d0;background:#173e2c;border-color:#3c8b62}

[data-media-index],#product-media-note{font-size:13px!important;color:#40546c;line-height:1.6}html[data-theme=dark] :is([data-media-index],#product-media-note){color:#d5e3f5!important}
/* Simple filters and fully readable product highlights. */
.smart-filter-chip,.smart-filter-chip:hover,.smart-filter-chip:active{background:#fff!important;color:#334155!important;box-shadow:none!important;transform:none!important;transition:none!important;animation:none!important;border:1px solid #cbd5e1!important}
.smart-filter-chip::before,.smart-filter-chip::after{display:none!important}
.smart-filter-chip.is-active,.smart-filter-chip.is-active:hover{background:#1672ed!important;color:#fff!important;border-color:#1672ed!important;box-shadow:none!important}
#products-grid-container .product-highlight{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13px!important;line-height:1.55!important;word-break:normal}
#products-grid-container .product-highlight i{flex-shrink:0;margin-top:4px}
html[data-theme="dark"] .smart-filter-chip{background:#162238!important;color:#dbeafe!important;border-color:#455772!important}
html[data-theme="dark"] .smart-filter-chip.is-active{background:#1672ed!important;color:white!important}
/* Name hierarchy: larger model names, lighter and compact highlights. */
#products-grid-container h3{font-size:21px!important;line-height:1.25!important;letter-spacing:-.02em}
#app-container h2:not(.cd-panel h2){font-size:26px!important;line-height:1.25!important}
#products-grid-container .product-highlight{font-size:11px!important;line-height:1.5!important;font-weight:500!important}
#products-grid-container .product-highlight i{font-size:10px;margin-top:3px}

/* V17: settings hosts shop details and pricing on mobile. */
.settings-card{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:430px){.settings-overlay{padding:12px}.settings-card{padding:18px;border-radius:18px}.settings-card fieldset{margin:16px 0}}
