/* Keep the document canvas coherent with browser chrome and the approved sidebar. */
html[data-theme="light"] {color-scheme:light;background:#fff}
html[data-theme="dark"] {color-scheme:dark;background:#17212a}
html[data-theme="light"] body {background:#fff}
html[data-theme="dark"] body {background:#17212a}
/* Login must honour an explicit app choice even when it differs from the OS. */
html[data-insight-entry][data-theme="light"] {--page:#fff;--ink:#20292f;--muted:#66737d;--line:#dce3e8;--blue:#006ab6;--card:rgba(255,255,255,.93);--input:#fff;--shadow:0 20px 56px #1e364426,0 3px 12px #1e364414}
html[data-insight-entry][data-theme="dark"] {--page:#17212a;--ink:#e7edf1;--muted:#a4b3bf;--line:#364651;--blue:#8ec9f3;--card:rgba(23,33,42,.94);--input:#17232d;--shadow:0 24px 64px #0009,0 4px 16px #0005}
html[data-insight-entry][data-theme="light"] .wordmark {filter:none}
html[data-insight-entry][data-theme="dark"] .wordmark {filter:brightness(0) invert(1)}
