/* Kaitu site tokens. Colours follow the app (packages/dsh-plugin/src/client/Prototype.module.css .app):
   paper ground, blue-black primary, vermilion only for "now", highlighter only for the one thing that matters, pencil for what is not settled. */
:root {
  color-scheme: light;
  --bg: #f2f1ed;
  --surface: #ffffff;
  --sunken: #ecebe5;
  --control: #e9e8e3;
  --line: #e2e0d9;
  --line-strong: #cfcdc5;
  --ink: #1a1b19;
  --ink2: #474944;
  --muted: #6a6c66;
  --link: #1b3f94;
  --link-soft: #e4eaf6;
  --primary: #1b3f94;
  --primary-hover: #16347c;
  --on-primary: #ffffff;
  --now: #d23f27;
  --mark: #ffe66b;
  --pencil: #5b5d58;
  --route: #1f3550;
  --mark-fold0: #1f3550;
  --mark-fold1: #2b4c7e;
  --mark-fold2: #e8dfcc;
  --mark-route-folded: #ffffff;
  --mark-route-open: #1f3550;
  --shadow-shot: 0 0 0 1px rgba(26, 27, 25, 0.1), 0 2px 4px rgba(26, 27, 25, 0.04), 0 28px 64px -28px rgba(26, 27, 25, 0.32);
  --shadow-card: 0 0 0 1px var(--line), 0 1px 3px rgba(26, 27, 25, 0.06);
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Iowan Old Style", Georgia, "Microsoft YaHei", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[lang="en"] {
  --serif: "Iowan Old Style", "Charter", "Palatino", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1a1916;
    --surface: #22201c;
    --sunken: #1e1d1a;
    --control: #2a2723;
    --line: #34312c;
    --line-strong: #4a463f;
    --ink: #ece6da;
    --ink2: #c2bbae;
    --muted: #9e978a;
    --link: #a3b9dd;
    --link-soft: rgba(163, 185, 221, 0.12);
    --primary: #a9bedf;
    --primary-hover: #bfd0ea;
    --on-primary: #16202e;
    --now: #e8705a;
    --mark: rgba(255, 230, 107, 0.3);
    --pencil: #a9aba4;
    --route: #8faed6;
    --mark-fold0: #3a5a86;
    --mark-fold1: #5c7daa;
    --mark-fold2: #cfc4ad;
    --mark-route-folded: #ece6da;
    --mark-route-open: #3a5a86;
    --shadow-shot: 0 0 0 1px rgba(236, 230, 218, 0.1), 0 28px 64px -28px rgba(0, 0, 0, 0.7);
    --shadow-card: 0 0 0 1px var(--line);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1a1916;
  --surface: #22201c;
  --sunken: #1e1d1a;
  --control: #2a2723;
  --line: #34312c;
  --line-strong: #4a463f;
  --ink: #ece6da;
  --ink2: #c2bbae;
  --muted: #9e978a;
  --link: #a3b9dd;
  --link-soft: rgba(163, 185, 221, 0.12);
  --primary: #a9bedf;
  --primary-hover: #bfd0ea;
  --on-primary: #16202e;
  --now: #e8705a;
  --mark: rgba(255, 230, 107, 0.3);
  --pencil: #a9aba4;
  --route: #8faed6;
  --mark-fold0: #3a5a86;
  --mark-fold1: #5c7daa;
  --mark-fold2: #cfc4ad;
  --mark-route-folded: #ece6da;
  --mark-route-open: #3a5a86;
  --shadow-shot: 0 0 0 1px rgba(236, 230, 218, 0.1), 0 28px 64px -28px rgba(0, 0, 0, 0.7);
  --shadow-card: 0 0 0 1px var(--line);
}
