/* Theme-specific palette and adjustments. */
:root[data-theme="sand"]{
 --surface-canvas:#f7f2e9;--surface-sidebar:#f0e8dd;--surface-panel:#fffdf9;
 --surface-card:#fffaf4;--surface-input:#fcf4e9;--surface-hover:#f2e6d5;
 --edge:#d8caba;--text-strong:#41352c;--text-muted:#766556;
 --bubble-user:#f3e5d1;--bubble-ink:#463728;--field-placeholder:#857466;
 --theme-accent:#9b5b2c;--theme-accent-hover:#b8793e;--theme-accent-ink:#ffffff;
 --ambient-glow:transparent;--composer-shadow:#87634b26;
}

html[data-theme="sand"] :is(.welcome h2,.welcome-icon){color:var(--accent)}
html[data-theme="sand"] :is(.md-rendered :not(pre)>code,.thinking,.tool-event,.tool-doc){
 background:var(--surface-input);color:var(--text-strong);border-color:var(--edge);
}
html[data-theme="sand"] .md-rendered a{color:var(--accent)}
html[data-theme=\"sand\"] .field textarea.workload-text,
html[data-theme=\"sand\"] .composer .field textarea.workload-text{
 background:var(--surface-input);color:var(--text-strong);border:1px solid var(--edge);
}
html[data-theme=\"sand\"] .job-diagnostics,html[data-theme=\"sand\"] .tool-result,
html[data-theme=\"sand\"] .diagnostics-log{
 background:var(--surface-input);color:var(--text-strong);border-color:var(--edge);
}
