/* Optional standalone palette adapter for the unchanged DWICE styles. */
[data-color-mode-toggle]{min-width:44px;min-height:44px;cursor:pointer;background:transparent;border:0;color:inherit;font:inherit}
[data-color-mode-icon]{font-size:24px;line-height:1}
[data-color-mode-toggle]:focus-visible{outline:2px solid var(--orange,#bb5c20);outline-offset:3px}
html[data-color-mode="light"]{
  color-scheme:light;
  --bg:#f6f4ee!important;--bg2:#ffffff!important;--rail:#eae8df!important;
  --ink:#24251f!important;--muted:#595e51!important;--muted2:#686e60!important;
  --line:#d5d7ca!important;--accent:#94501c!important;--accent-buy:#94501c!important;
}
html[data-color-mode="light"] body{background:var(--bg);color:var(--ink)}
html[data-color-mode="light"] .rail{background:var(--rail)}
html[data-color-mode="light"] .rail .ic:hover{background:#dedfd1;color:var(--ink)}
html[data-color-mode="light"] .rail .ic.active{color:#211509}
html[data-color-mode="light"] .rail-account-links a:hover{background:#e8e7dd;color:var(--ink)}
html[data-color-mode="light"] .promo .btn:not(.primary){background:#f6f4ee;color:var(--ink)}
html[data-color-mode="light"] .card .buy:hover{color:#fff}
html[data-color-mode="light"] .promo,
html[data-color-mode="light"] .searchmain,
html[data-color-mode="light"] .dd,
html[data-color-mode="light"] .rail-account-links{background:#fff;color:var(--ink);border-color:var(--line)}
html[data-color-mode="light"] input,
html[data-color-mode="light"] select{color:var(--ink);color-scheme:light}
html[data-color-mode="light"] .searchmain input{background:transparent}
html[data-color-mode="light"] .card .art{background:#e8e7dd}
html[data-color-mode="light"] .tabbar{background:#f9f8f2;border-color:var(--line)}
html[data-color-mode="light"] .view{background:#fff;color:var(--muted)}
html[data-color-mode="light"] .view.active{background:var(--orange);color:#211509}
