/* Blue retains the current app and Wallboard appearance. */
.crm-theme-picker{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;font-size:12px;font-weight:600}.crm-theme-picker select{width:100%;min-height:38px;padding:7px 10px;border:1px solid #cedceb;border-radius:8px;background:#fff;color:#25425c;font:inherit}.crm-sidebar .crm-navigation a[aria-current=page]{background:#15803d!important;color:#fff!important;box-shadow:inset 4px 0 #86efac;font-weight:700}.crm-sidebar .crm-navigation a[aria-current=page]:hover{background:#166534!important}.crm-sidebar .crm-navigation a:focus-visible{outline:3px solid #16a34a;outline-offset:2px}.admin-menu{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px}.admin-menu a{padding:9px 12px;border-radius:8px}.admin-menu a.active{background:#1975c6;color:white}
html[data-crm-theme=red]{--theme-bg:#fff4ef;--theme-surface:#fffaf7;--theme-tint:#ffe6dc;--theme-fg:#552b24;--theme-muted:#8a574b;--theme-border:#e8beb0;--theme-accent:#b83b24;--theme-accent2:#9b4c08;--theme-on:#fff;--theme-shadow:0 10px 30px #8a2d1610;color-scheme:light}
html[data-crm-theme=dark]{--theme-bg:#121416;--theme-surface:#202326;--theme-tint:#2c3034;--theme-fg:#f0f1f2;--theme-muted:#b8bec4;--theme-border:#494f55;--theme-accent:#69737d;--theme-accent2:#515a63;--theme-on:#fff;--theme-shadow:0 10px 30px #0003;color-scheme:dark}
html[data-crm-theme=red],html[data-crm-theme=dark]{background:var(--theme-bg);color:var(--theme-fg);--card:var(--theme-surface);--stroke:var(--theme-border);--muted:var(--theme-muted);--ink:var(--theme-fg);--accent:var(--theme-accent);--track:var(--theme-tint);--shadow:var(--theme-shadow)}
html[data-crm-theme]:not([data-crm-theme=blue]) body{background:var(--theme-bg);color:var(--theme-fg);--card:var(--theme-surface);--stroke:var(--theme-border);--muted:var(--theme-muted);--ink:var(--theme-fg);--accent:var(--theme-accent);--track:var(--theme-tint);--shadow:var(--theme-shadow)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(.crm-sidebar,.panel,.card,.metric,.record-card,.product-hero,.product-data,.product-data thead,dialog){background:var(--theme-surface);color:var(--theme-fg);border-color:var(--theme-border)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(h1,h2,h3,h4,label,dt,dd,table,.focus-number,.metric strong,.product-bar-value b,.hero-total strong){color:var(--theme-fg)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(.muted,small,.crm-nav-note,.crm-brand small,.metric span,.metric small,.product-hero p,.hero-total>span,.product-method,.product-small,.footnote){color:var(--theme-muted)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(a,.crm-brand){color:var(--theme-fg)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(input,select,textarea){background:var(--theme-surface);color:var(--theme-fg);border-color:var(--theme-border);accent-color:var(--theme-accent)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(input,textarea)::placeholder{color:var(--theme-muted)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(button,.button,.primary,.tabs a.active,.tabs a.selected,.controls .report-menu .report-button){background:var(--theme-accent);color:var(--theme-on);border-color:var(--theme-border)}
html[data-crm-theme]:not([data-crm-theme=blue]) .controls .report-menu .report-button:nth-child(even){background:var(--theme-accent2)}
html[data-crm-theme]:not([data-crm-theme=blue]) .controls .report-menu .report-button.selected{border-color:var(--theme-fg);outline-color:var(--theme-accent)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(.crm-navigation a,.tabs a,.status,.pill,.product-data tfoot,thead,th){background:var(--theme-tint);color:var(--theme-fg);border-color:var(--theme-border)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(td,th,header,footer,fieldset){border-color:var(--theme-border)}
html[data-crm-theme]:not([data-crm-theme=blue]) tbody tr:nth-child(even){background:var(--theme-tint)}
html[data-crm-theme]:not([data-crm-theme=blue]) :is(.crm-navigation a:hover,.tabs a:hover){background:var(--theme-accent2);color:var(--theme-on)}
html[data-crm-theme]:not([data-crm-theme=blue]) .tabs a.active{background:var(--theme-accent);color:var(--theme-on)}
html[data-crm-theme]:not([data-crm-theme=blue]) .ambient{display:none}
html[data-crm-theme=dark] :is(.error,.danger-zone,.issue-note){background:#3d2426;color:#ffd2d2;border-color:#a76868}
html[data-crm-theme=dark] .paid-sales-note{color:#ff8787!important}
html[data-crm-theme=dark] svg text{fill:var(--theme-fg)}
@media(max-width:760px){.crm-theme-picker{max-width:180px;margin:12px 0}.crm-theme-picker select{min-height:40px}}
@media print{.crm-theme-picker{display:none}html[data-crm-theme]:not([data-crm-theme=blue]){--theme-bg:white;--theme-surface:white;--theme-tint:#f2f2f2;--theme-fg:#111;--theme-muted:#444;--theme-border:#bbb}}

.wall .crm-theme-picker{color:var(--theme-fg,#c8e9ff)}
