/**
 * Mendflow — theme bridge (loads after Vite shell + legacy CSS).
 * Light is default; dark only when html[data-theme="dark"].
 */

html[data-theme="light"],
html:not([data-theme="dark"]) {
  color-scheme: light;
  --sidebar: #f5f2fc;
  --sidebar-ink: #534764;
  --sidebar-muted: #857d93;
  --rail-bg: #faf8ff;
  --rail-bg-2: #ffffff;
  --rail-ink: #16131d;
  --rail-muted: #857d93;
}

/* Body background: legacy style.css (prod) — do not force html to --sidebar */
html[data-theme="light"] body,
html:not([data-theme="dark"]) body {
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.07), transparent 28rem),
    linear-gradient(180deg, #fbfbfd 0%, #f6f3fb 100%) !important;
  color: var(--ink, #16131d);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background: #0d0a18 !important;
}

/* Shell sidebar visuals: /css/shell-sidebar.css (dark rail in all themes, per mock) */

/* Right rail mock: /css/right-rail-mock.css */
