/* Inspired by www.buffaloex.com, observed 2026-11-19:
   header #6e431e, navigation/Track accent #bc8c4d, white surfaces.
   Coffee is used for text-bearing actions to retain accessible contrast. */
:root[data-theme="buffaloex"] {
  --canvas:#fcfaf7; --surface:#ffffff; --sidebar-surface:#f4ede4;
  --surface-soft:#f5efe7; --hover:#eee1d1; --selected:#e9d9c2;
  --text:#362a21; --muted:#685746; --placeholder:#6d5945;
  --border:#e2d5c4; --control-border:#aa8f70; --focus-ring:#986831;
  --primary:#6e431e; --primary-hover:#563318; --on-primary:#ffffff;
  --success:#4d6b4e; --success-bg:#edf2e8; --warning:#835f27; --warning-bg:#ffefcf;
  --chart:#9b713e; --chart-track:#e9ddce; --chart-success:#729371; --chart-waiting:#a0793d;
  --feedback-error:#9f4b3b; --feedback-error-bg:#f9ebe4;
  --shadow-color:#5e3d2310; --backdrop:#2d211855;
  --buffalo-gold:#bc8c4d; --buffalo-sand:#f2e8da; --buffalo-cream:#f8f3eb;
  color-scheme:light;
}
[data-theme="buffaloex"] .sidebar .nav-item.active {background:var(--selected);color:var(--primary);box-shadow:inset 3px 0 0 var(--buffalo-gold)}
[data-theme="buffaloex"] .sidebar .nav-item.active .icon {color:var(--primary)}
[data-theme="buffaloex"] .sidebar .nav-item:not(.active) .icon {color:#967247}
[data-theme="buffaloex"] :is(.dash-agent,.module-agent-panel,.module-agent-head) {background:var(--buffalo-cream)}
[data-theme="buffaloex"] .dash-workflows>.dash-rail-card:first-child {background:var(--buffalo-sand)}
[data-theme="buffaloex"] .dash-workflows>.dash-rail-card:nth-child(2) {background:var(--surface-soft)}
[data-theme="buffaloex"] .dashboard-approvals {background:#f3eae0}
[data-theme="buffaloex"] .dashboard-quick-start {background:var(--buffalo-cream)}
[data-theme="buffaloex"] :is(.dash-workflow-card,.approval-card,.quick-card) {box-shadow:inset 0 0 0 1px #e2d5c470}
[data-theme="buffaloex"] :is(.avatar.blue,.avatar.lavender) {background:var(--selected);color:var(--primary)}
[data-theme="buffaloex"] .avatar.mint {background:var(--success-bg);color:var(--success)}
[data-theme="buffaloex"] .avatar.peach {background:#f3e4ca;color:var(--warning)}
[data-theme="buffaloex"] .dash-flow-avatar {background:var(--buffalo-sand);color:var(--primary)}
[data-theme="buffaloex"] :is(.from-user .dash-message-content,.module-agent-message.is-user,.agent-user) {background:var(--selected)}
