/* Approved light palette, shared by every page and all dynamic detail views.
   These tokens deliberately apply only when the visitor selects light mode. */
html[data-theme="light"],html[data-theme="light"] body,html[data-theme="light"] body[class]{
 --bg:var(--rv-light-bg,#E8EDE2);--surface:var(--rv-light-surface,#FFFFFF);--surface-2:var(--rv-light-raised,#DCE5D2);
 --text:var(--rv-light-text,#252D24);--muted:var(--rv-light-muted,#596653);--faint:#65725E;
 --border:var(--rv-light-border,#D5DECE);--border-strong:#A9B79E;
 --accent:var(--rv-light-accent,#E9C34A);--accent-deep:#94751D;--accent-ink:#252D24;--accent-soft:#E9C34A24;
 --brand-base:var(--surface);--brand-rad:var(--text);--brand-line:var(--border);
 --panel:var(--surface);--paper:var(--bg);--ink:var(--text);--soft:var(--surface-2);--soft2:#EEF3E8;
 --line:var(--border);--line2:#E3EAD9;--topbar:var(--surface);--control:var(--surface-2);--card-soft:#EEF3E8;
 --table-head:var(--surface-2);--hover:#E3EAD9;--chip:var(--surface-2);--track:#D5DECE;--grid:#D5DECE;
 --blue:#697C4A;--blue2:#E3EAD9;--blue-soft:#E3EAD9;--v32-blueglow:#697C4A18;
 --ep-bg:var(--bg);--ep-paper:var(--surface);--ep-text:var(--text);--ep-muted:var(--muted);--ep-line:var(--border);--ep-gold:var(--accent);
 --in-bg:var(--bg);--in-paper:var(--surface);--in-text:var(--text);--in-muted:var(--muted);--in-line:var(--border);--in-gold:var(--accent);
 --nw-bg:var(--bg);--nw-surface:var(--surface);--nw-ink:var(--text);--nw-muted:var(--muted);--nw-line:var(--border);--nw-gold:var(--accent);
 --mh-bg:var(--bg);--mh-panel:var(--surface);--mh-ink:var(--text);--mh-muted:var(--muted);
 --site-bg:var(--bg);--site-slate-50:#EEF3E8;--site-slate-100:var(--surface-2);--site-slate-200:var(--border);--site-slate-300:#A9B79E;--site-slate-500:var(--muted);--site-slate-600:#46543F;--site-slate-800:var(--text);
 --shadow:0 8px 26px #25311B0A;--shadow-strong:0 18px 45px #25311B16;
 background:var(--bg);color:var(--text);color-scheme:light;
}
html[data-theme="light"] .rv-workspace-page .rv{
 --paper:var(--bg);--panel:var(--surface);--ink:var(--text);--muted:var(--rv-light-muted,#596653);--line:var(--border);--soft:var(--surface-2);--yellow:var(--accent);
}
html[data-theme="light"] body.rv-journal-page :is(.card,.panel,.stat-card,.coach-card){border-color:var(--border)!important}
html[data-theme="light"] body.rv-journal-page :is(input,select,textarea){border-color:var(--border)!important}
html[data-theme="light"] :is(.calc-field input,.calc-field select,.calc-direction,.calc-risk-mode,.cal-controls,.cal-filters,.cr-search,.cr-unit,.cr-sort,.st-search,.st-platform,.in-toolbar,.in-field input,.in-field select,.ed-search,.ls-outline,.pt-provider-toolbar){background:var(--surface-2);border-color:var(--border)}
html[data-theme="light"] :is(.cal-table th,.cr-table th,.st-card-actions,.ls-note,.ls-exercise,.ls-summary){background:var(--surface-2)}
html[data-theme="light"] :is(.in-tag,.in-guide,.in-card,.in-article,.in-downloads,.ep-feature,.ep-lesson,.ep-support,.ed-card,.pt-provider-card){border-color:var(--border)}
html[data-theme="light"] .btn--primary,html[data-theme="light"] .ed-button--gold,html[data-theme="light"] .th-gold{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
/* Illustration framing is shared with the landing page and remains dark. */
.in-visual:has(.in-hero-image){padding:0;transform:none;background:#090D12;border-color:#D9AD473D;box-shadow:0 18px 50px #11190B17}
.in-visual:has(.in-hero-image) .in-visual-top,.in-visual:has(.in-hero-image)>small{display:none}
.in-hero-image{display:block;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;border-radius:18px}
/* Shared services and podcast cards on broker/exchange detail and directory pages. */
.rv-partner-extras{padding-block:22px 44px;display:grid;gap:24px}
.rv-shared-practice{border:1px solid var(--border);border-radius:20px;overflow:hidden;background:var(--surface)}
.rv-shared-practice-copy{padding:25px 28px}
.rv-shared-practice-copy>span{font-size:11px;color:var(--muted)}
.rv-shared-practice-copy h2{font-size:clamp(22px,3vw,30px);margin:7px 0 10px;line-height:1.7}
.rv-shared-practice-copy p{font-size:13px;color:var(--muted);line-height:2;margin:0}
.rv-shared-practice img{display:block;width:100%;height:auto;max-height:340px;object-fit:cover;object-position:center 52%;background:#080C12}
.rv-practice-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:20px;background:var(--surface-2)}
.rv-practice-links a{font-size:12px;padding:11px 8px;text-align:center;background:var(--surface);border:1px solid var(--border);border-radius:10px;text-decoration:none;color:var(--text)}
.rv-practice-links a:hover{border-color:var(--accent-deep)}
@media(max-width:620px){.rv-practice-links{grid-template-columns:1fr 1fr;padding:14px;gap:8px}.rv-shared-practice-copy{padding:21px}.rv-shared-practice img{max-height:none;object-fit:contain}.rv-partner-extras{gap:18px}}
html[data-theme="light"] .br-step-image{background:var(--surface-2)}
html[data-theme="light"] .br-step-image span{color:var(--muted)}
html[data-theme="light"] .pt-directory-tools input,html[data-theme="light"] .pt-directory-tools select{background:var(--surface-2);border-color:var(--border);color:var(--text)}
