/* Theme-specific palette and adjustments. */
:root[data-theme="slate"]{
  --surface-canvas:#222729;--surface-sidebar:#292f31;--surface-panel:#343c3e;
  --surface-card:#343c3e;--surface-input:#293132;--edge:#536061;
  --text-strong:#ecf0ed;--text-muted:#b8c5c2;
  --surface-hover:#425052;--bubble-user:#3a5254;--bubble-ink:#eef8f3;
  --field-placeholder:#a2b3b0;--composer-shadow:#09161766;--theme-accent:#74b6a4;--theme-accent-hover:#9dd6c7;--theme-accent-ink:#0c1a17;
}

:root[data-theme="slate"] body,:root[data-theme="slate"] html,:root[data-theme="slate"] .shell{background:var(--surface-canvas);color:var(--text-strong)}
:root[data-theme="slate"] .sidebar{background:var(--surface-sidebar);border-color:var(--edge)}
:root[data-theme="slate"] .composer,:root[data-theme="slate"] .message.result,:root[data-theme="slate"] .gpu,:root[data-theme="slate"] .worker,:root[data-theme="slate"] .sidebar-details,:root[data-theme="slate"] .connection,:root[data-theme="slate"] .active-conversation-title,:root[data-theme="slate"] .mcp-side,:root[data-theme="slate"] .resource-grid>.ram-visual,:root[data-theme="slate"] .settings-dialog,:root[data-theme="slate"] #mcp-dialog{background:var(--surface-panel);color:var(--text-strong);border-color:var(--edge)}
:root[data-theme="slate"] .message.user{background:#3a5254;border-color:#597073}
:root[data-theme="slate"] .brand strong,:root[data-theme="slate"] .active-conversation-title strong,:root[data-theme="slate"] .conversation-name,:root[data-theme="slate"] .message-content,:root[data-theme="slate"] .md-rendered h1,:root[data-theme="slate"] .md-rendered h2,:root[data-theme="slate"] .md-rendered h3{color:var(--text-strong)}
:root[data-theme="slate"] input,:root[data-theme="slate"] select,:root[data-theme="slate"] .composer select,:root[data-theme="slate"] .file-picker select,:root[data-theme="slate"] .file-picker input[type=file],:root[data-theme="slate"] .field input{background:var(--surface-input);color:var(--text-strong);border-color:var(--edge)}
:root[data-theme="slate"] .library-management-name strong,:root[data-theme="slate"] .dialog-head h2{color:var(--text-strong)}

html[data-theme="slate"],html[data-theme="slate"] body{background:#222729!important;color:#ecf0ed}

