/* STUD APP 2.0. Shared palette for the shell and the existing runner frame. */
:root, :root[data-theme="cream"] {
  color-scheme: light;
  --bg:#F5EEE3; --surface:#FFFAF3; --raised:#EFE3D3; --text:#33271F;
  --muted:#796B60; --accent:#9F2638; --accentText:#FFF9F0; --amber:#BE8048;
  --border:#D9C9B7; --heading:Georgia,"Times New Roman",serif;
  --card:#F0E1CB; --cardText:#33271F; --cardMuted:#705D50; --cardAccent:#9F2638;
  --danger:#A32335; --readable-muted:#705F53;
}
:root[data-theme="graphite"] {
  color-scheme:dark;
  --bg:#191714; --surface:#24201C; --raised:#302920; --text:#F1E7D9;
  --muted:#B8A798; --accent:#DCA16E; --accentText:#2B1B13; --amber:#DCA16E;
  --border:#554536; --heading:"Segoe UI",Arial,sans-serif;
  --card:#24201C; --cardText:#F1E7D9; --cardMuted:#B8A798; --cardAccent:#DCA16E;
  --danger:#FFB6AF; --readable-muted:var(--muted);
}
:root[data-theme="burgundy"] {
  color-scheme:dark;
  --bg:#29171B; --surface:#382127; --raised:#492C32; --text:#F8ECDD;
  --muted:#C8AAA7; --accent:#EFD8B9; --accentText:#602632; --amber:#DCA16E;
  --border:#715056; --heading:Georgia,"Times New Roman",serif;
  --card:#F0DFC9; --cardText:#33271F; --cardMuted:#705D50; --cardAccent:#9F2638;
  --danger:#FFB6AF; --readable-muted:var(--muted);
}
:root {
  /* Legacy component aliases preserve the original component/event structure. */
  --panel:var(--surface); --panel2:var(--raised); --line:var(--border);
  --lime:var(--accent); --purple:var(--accent); --cyan:var(--amber);
  --radius:20px; --button-radius:12px;
}
