/* Shared light palette; original page colors remain the dark-mode fallback. */
html[data-theme="light"], html[data-theme="light"] body {
 color-scheme: light;
 --bg:#f5f6f2; --bg2:#eef1e9; --bg-primary:#f5f6f2; --bg-secondary:#eef1e9;
 --card:#fff; --bg-card:#fff; --bg-card-hover:#f1f4ed; --bg-hover:#edf1e8; --surface:#eef1e9;
 --border:#d7dfd5; --border-light:#b7c4b5; --line:#d7dfd5;
 --text:#243129; --text-primary:#243129; --text-bright:#15241b;
 --text-secondary:#59685e; --text-muted:#59685e; --text-dim:#59685e; --dim:#59685e;
 --gold:#86601e; --gold-bright:#725016; --gold-dim:#86601e; --green:#16724a; --red:#ba3049;
 background-color:var(--bg); color:var(--text);
 --theme-ink-444444:#59685e;
 --theme-ink-555555:#59685e;
 --theme-ink-666666:#59685e;
 --theme-ink-777777:#59685e;
 --theme-ink-888888:#59685e;
 --theme-ink-999999:#59685e;
 --theme-ink-a8a8bd:#243129;
 --theme-ink-aaaaaa:#59685e;
 --theme-ink-cccccc:#243129;
 --theme-ink-e0e0e0:#243129;
 --theme-ink-e0e0e8:#243129;
 --theme-ink-eeeeee:#243129;
 --theme-ink-ffffff:#243129;
 --theme-line-0a0a0a:#d7dfd5;
 --theme-line-111111:#d7dfd5;
 --theme-line-141420:#d7dfd5;
 --theme-line-1a1a1a:#d7dfd5;
 --theme-line-1a1a2a:#d7dfd5;
 --theme-line-1e1e30:#d7dfd5;
 --theme-line-222222:#d7dfd5;
 --theme-line-333333:#d7dfd5;
 --theme-line-49493a:#d7dfd5;
 --theme-line-4f4d39:#d7dfd5;
 --theme-line-626047:#d7dfd5;
 --theme-surface-000000:#f5f6f2;
 --theme-surface-060610:#f5f6f2;
 --theme-surface-08080d:#f5f6f2;
 --theme-surface-080810:#f5f6f2;
 --theme-surface-0a0a0a:#f5f6f2;
 --theme-surface-0a0a12:#f5f6f2;
 --theme-surface-0a0a14:#f5f6f2;
 --theme-surface-0e0e18:#ffffff;
 --theme-surface-101018:#ffffff;
 --theme-surface-111111:#ffffff;
 --theme-surface-12121e:#ffffff;
 --theme-surface-16213e:#ffffff;
 --theme-surface-171a18:#ffffff;
 --theme-surface-191c18:#ffffff;
 --theme-surface-1a1010:#ffffff;
 --theme-surface-1a1a00:#ffffff;
 --theme-surface-1a1a10:#ffffff;
 --theme-surface-1a1a1a:#ffffff;
 --theme-surface-1a1a2a:#ffffff;
 --theme-surface-1a1a2e:#ffffff;
 --theme-surface-1a2e1a:#ffffff;
 --theme-surface-1e1e1e:#ffffff;
 --theme-surface-222222:#ffffff;
 --theme-surface-23261f:#ffffff;
 --theme-surface-2e1a1a:#ffffff;
 --theme-surface-2e2e1a:#ffffff;
 --theme-surface-333333:#ffffff;
}
html[data-theme="light"] input:not([type=checkbox]):not([type=radio]):not([type=range]),
html[data-theme="light"] select, html[data-theme="light"] textarea {
 background-color:#fff; color:#243129; border-color:#b7c4b5; color-scheme:light;
}
html[data-theme="light"] ::placeholder {color:#68746c;opacity:1}
html[data-theme="light"] option {background:#fff;color:#243129}
html[data-theme="light"] .logo-name span {color:#243129!important}
.site-theme-toggle {position:fixed;top:18px;right:20px;z-index:10000;min-height:44px;padding:10px 16px;border:1px solid #667263;border-radius:24px;background:#202720;color:#f3e4be;box-shadow:0 3px 16px #0002;font:600 14px/1.2 system-ui;cursor:pointer}
html[data-theme="light"] .site-theme-toggle {background:#fff;color:#62491e;border-color:#bdc8b7}
#themeToggle {min-width:72px;white-space:nowrap;font-size:13px}
[data-theme-toggle]:focus-visible, #themeToggle:focus-visible {outline:3px solid #ad802c;outline-offset:3px}
@media(max-width:600px){.site-theme-toggle{top:12px;right:12px;padding:10px 12px}}
html[data-theme="light"] .navbar,
html[data-theme="light"] .sticky-top-cta,
html[data-theme="light"] .sticky-mobile-cta {background:#fffffff5;border-color:#d7dfd5}
html[data-theme="light"] .btn-gold,
html[data-theme="light"] .btn-gold-lg,
html[data-theme="light"] .newsletter-form button,
html[data-theme="light"] .learning-journey-cta,
html[data-theme="light"] .btn-filter.active,
html[data-theme="light"] .lhub-tab-active {background:#e6c688!important;color:#202a24!important;border-color:#bd9b52!important}

/* Shared single-choice controls retain native keyboard and mobile menus. */
html body select:not([multiple]):not([size]),
html body select[size="1"] {
 -webkit-appearance:none; appearance:none;
 box-sizing:border-box; min-height:44px; height:auto;
 max-width:100%; min-width:0;
 padding:11px 42px 11px 14px!important;
 border:1px solid var(--border,#394238); border-radius:10px;
 background-color:var(--card,var(--bg-card,#171e19));
 color:var(--text,var(--text-primary,#eef2e9));
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23acb8ac' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 14px center;background-size:18px;
 font-family:inherit;font-size:14px;line-height:1.4;cursor:pointer;
 transition:border-color .15s,box-shadow .15s;
}
html body select:not([multiple]):hover:not(:disabled){border-color:var(--gold,#e5c47c)}
html body select:focus-visible{outline:2px solid var(--gold,#e5c47c);outline-offset:2px}
html body select:disabled{opacity:.55;cursor:not-allowed}
html[data-theme="light"] body select:not([multiple]):not([size]),html[data-theme="light"] body select[size="1"]{background-color:#fff;color:#243129;border-color:#b7c4b5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2359685e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
html:not([data-theme="light"]) body select option{background:#171e19;color:#eef2e9}
@media(max-width:650px){html body select:not([multiple]):not([size]),html body select[size="1"]{font-size:16px}}
@media(prefers-reduced-motion:reduce){html body select{transition:none!important}}
@media(forced-colors:active){html body select:not([multiple]):not([size]),html body select[size="1"]{appearance:auto;background-image:none;padding-right:14px!important}}

/* Trading controls keep clear semantic colors in the light theme. */
html[data-theme="light"] .pt-dir-long.active,
html[data-theme="light"] .pt-dir-btn.pt-dir-long { background:#16804f!important; color:#fff!important; border-color:#16804f!important; }
html[data-theme="light"] .pt-dir-short.active,
html[data-theme="light"] .pt-dir-btn.pt-dir-short { background:#c4314d!important; color:#fff!important; border-color:#c4314d!important; }
html[data-theme="light"] .sim-buy-btn { background:#16804f!important; color:#fff!important; border-color:#16804f!important; }
html[data-theme="light"] .sim-sell-btn { background:#c4314d!important; color:#fff!important; border-color:#c4314d!important; }
html[data-theme="light"] .pt-history-btn { background:#e6c688!important; color:#202a24!important; border-color:#bd9b52!important; }
html[data-theme="light"] .btn-buy,
html[data-theme="light"] .buy-btn,
html[data-theme="light"] [data-action="buy"] { background:#16804f!important; color:#fff!important; border-color:#16804f!important; }
html[data-theme="light"] .btn-sell,
html[data-theme="light"] .sell-btn,
html[data-theme="light"] [data-action="sell"] { background:#c4314d!important; color:#fff!important; border-color:#c4314d!important; }
