/* DADCARE Mother App theme correction.
   Scope: Mother App dark/light only. Light mode keeps the palette declared in
   motherapp.css. Dark mode must override the same surface/text tokens locally,
   because body.shell owns those tokens and therefore cannot inherit the dark
   values from :root. The values themselves live in motherapp.css's token
   block, so no colour is invented here. */

html[data-theme="dark"] body.shell {
  --bg: var(--shell-dark-bg);
  --surface: var(--shell-dark-surface);
  --surface-2: var(--shell-dark-surface-2);
  --border: var(--shell-dark-border);
  --text: var(--shell-dark-text);
  --muted: var(--shell-dark-muted);

  /* Keep Mother App shadows coherent on dark surfaces. */
  --shell-shadow: 0, 0, 0;
}
