/* Optional pastel theme. Existing geometry, font sizing and interactions stay shared. */
:root[data-theme="macaron"] {
  --canvas:#fffaf5; --surface:#fffefd; --sidebar-surface:#f5efff;
  --surface-soft:#f1eef9; --hover:#ebe4f8; --selected:#e4d8f7;
  --text:#40394e; --muted:#63596f; --placeholder:#685d74;
  --border:#e3daec; --control-border:#a496b0; --focus-ring:#8267a3;
  --primary:#72539a; --primary-hover:#604585; --on-primary:#ffffff;
  --success:#39705b; --success-bg:#e3f4e9; --warning:#89632b; --warning-bg:#fff0d3;
  --chart:#947abd; --chart-track:#e7dff1; --chart-success:#628d77; --chart-waiting:#a47b3e;
  --feedback-error:#a44b5d; --feedback-error-bg:#fbe8ed;
  --shadow-color:#72539a14; --backdrop:#40394e55;
  --macaron-mint:#e5f4ee; --macaron-pink:#fbeaf0;
  --macaron-lavender:#f0eafa; --macaron-butter:#fff3d9;
  --macaron-sky:#e9f1fc; --macaron-outline:#d4c5e6;
  color-scheme:light;
}

/* Color groups give the soft, illustrated feel without adding decoration or space. */
[data-theme="macaron"] .sidebar .nav-item.active {background:var(--selected);color:var(--primary-hover);box-shadow:inset 0 0 0 1px var(--macaron-outline)}
[data-theme="macaron"] .sidebar .nav-item.active .icon {color:var(--primary-hover)}
[data-theme="macaron"] .sidebar .nav-group[aria-labelledby="nav-group-act"] .nav-item:not(.active) .icon {color:#8364a6}
[data-theme="macaron"] .sidebar .nav-group[aria-labelledby="nav-group-collect"] .nav-item:not(.active) .icon {color:#52816c}
[data-theme="macaron"] .sidebar .nav-group[aria-labelledby="nav-group-curation"] .nav-item:not(.active) .icon {color:#a2647a}
[data-theme="macaron"] :is(.dash-agent,.module-agent-panel,.module-agent-head) {background:var(--macaron-lavender)}
[data-theme="macaron"] .dash-workflows>.dash-rail-card:first-child {background:var(--macaron-mint)}
[data-theme="macaron"] .dash-workflows>.dash-rail-card:nth-child(2) {background:var(--macaron-lavender)}
[data-theme="macaron"] .dashboard-approvals {background:var(--macaron-pink)}
[data-theme="macaron"] .dashboard-quick-start {background:var(--macaron-butter)}
[data-theme="macaron"] :is(.dash-workflow-card,.approval-card,.quick-card) {box-shadow:inset 0 0 0 1px #e3daec80,0 2px 0 #d4c5e626}
[data-theme="macaron"] :is(.btn.primary,.send-btn,.dash-send):not(:disabled) {box-shadow:0 2px 0 #51387026}
[data-theme="macaron"] :is(.avatar.blue,.avatar.lavender) {background:var(--selected);color:#654b86}
[data-theme="macaron"] .avatar.mint {background:var(--macaron-mint);color:var(--success)}
[data-theme="macaron"] .avatar.peach {background:var(--macaron-pink);color:#94566b}
[data-theme="macaron"] .dash-flow-avatar {background:var(--macaron-sky);color:var(--text)}
[data-theme="macaron"] :is(.from-user .dash-message-content,.module-agent-message.is-user,.agent-user) {background:var(--selected)}

