:root {
  /* Paper, ink and structural colors */
  --paper: #ffffff;
  --paper-raised: #ffffff;
  --paper-muted: #eef8ff;
  --paper-pure: #ffffff;
  --ink: #26364a;
  --ink-soft: #58697b;
  --ink-faint: #7a8998;
  --moss: #1f8875;
  --moss-deep: #14695d;
  --moss-soft: #ddf7ef;
  --line: #73c6b4;
  --line-soft: #c9e9e1;
  --rule: #dbe7ed;
  --rule-strong: #aac1cc;
  --focus: #e8576a;
  --relation-confirmed: #e6664d;
  --relation-idea: #587eb8;
  --status-active: #167760;
  --status-active-soft: #dcf7ed;
  --status-done: #946411;
  --status-done-soft: #fff0c9;
  --status-idea: #7b52a2;
  --status-idea-soft: #f2e8fb;
  --overlay: rgb(38 54 74 / 0.28);
  --grid-dot: rgb(31 136 117 / 0);
  --color-clear: rgb(255 255 255 / 0);

  /* Replace these slots, not component CSS, for another person/theme. */
  --cat-a: #c75a4e;
  --cat-a-soft: #ffe7e1;
  --cat-b: #8c6a08;
  --cat-b-soft: #fff0b5;
  --cat-c: #167a66;
  --cat-c-soft: #dcf7ec;
  --cat-d: #984c77;
  --cat-d-soft: #f9e3ef;
  --cat-e: #376fa5;
  --cat-e-soft: #e1f0ff;
  --cat-f: #946127;
  --cat-f-soft: #ffebcf;
  --cat-g: #227b89;
  --cat-g-soft: #def5f7;
  --cat-h: #5c7830;
  --cat-h-soft: #eaf6d8;

  /* Typography: Noto Serif JP and Zen Kaku Gothic New are OFL 1.1. */
  --font-display: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.875rem;
  --text-root: 1.25rem;
  --leading-tight: 1.28;
  --leading-normal: 1.65;
  --tracking-tight: -0.025em;
  --tracking-wide: 0.08em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --page-pad: 1.5rem;
  --tap-min: 2.75rem;

  /* Shape */
  --radius-xs: 0.375rem;
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --shadow-float: 0 1.1rem 3rem rgb(69 102 124 / 0.16);
  --shadow-node: 0 0.45rem 1.1rem rgb(69 102 124 / 0.11);
  --shadow-selected: 0 0 0 0.25rem rgb(232 87 106 / 0.16), 0 0.7rem 1.7rem rgb(69 102 124 / 0.16);

  /* Node metrics (read by the layout engine) */
  --node-root-size: 10rem;
  --node-root-pad-x: 1rem;
  --node-branch-height: 3.5rem;
  --node-branch-pad-x: 0.875rem;
  --node-branch-max: 17.5rem;
  --node-item-height: 2.75rem;
  --node-item-pad-x: 0.875rem;
  --node-item-max: 18rem;
  --node-detail-height: 2.5rem;
  --node-detail-pad-x: 0.75rem;
  --node-detail-max: 16.5rem;
  --node-thumb: 4.5rem;
  --node-icon: 1.25rem;
  --node-icon-box: 2.25rem;
  --panel-width: 27rem;

  /* Layout-engine metrics */
  --gap-sibling: 1.375rem;
  --gap-level-1: 11.875rem;
  --gap-level-2: 10.625rem;
  --gap-level-3: 9.375rem;
  --indent: 1.375rem;
  --gap-sibling-sp: 0.75rem;
  --gap-branch-sp: 1.25rem;
  --gap-root-sp: 1.75rem;
  --branch-arc: 4rem;

  /* Line hierarchy */
  --line-depth-1: 3.25px;
  --line-depth-2: 2.25px;
  --line-depth-3: 1.5px;
  --line-depth-4: 1px;
  --line-opacity-1: 0.82;
  --line-opacity-2: 0.64;
  --line-opacity-3: 0.48;
  --line-opacity-4: 0.35;
  --line-relation: 2.25px;

  /* Motion */
  --motion-fast: 150ms;
  --motion-expand: 320ms;
  --motion-panel: 380ms;
  --motion-stagger: 55ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-gentle: cubic-bezier(0.4, 0, 0.2, 1);

  /* Print */
  --print-paper: #ffffff;
  --print-ink: #26364a;
  --print-muted: #58697b;
  --print-rule: #b7c9d2;
  --print-qr: #26364a;
  --print-margin: 10mm;
  --print-title: 20pt;
  --print-heading: 12pt;
  --print-body: 10pt;
  --print-note: 8pt;
  --print-line-1: 1.1pt;
  --print-line-2: 0.75pt;
  --print-relation: 0.9pt;
  --print-gap-sibling: 2.5mm;
  --print-gap-branch: 5mm;
  --print-gap-level-1: 6mm;
  --print-gap-level-2: 6mm;
  --print-gap-level-3: 5mm;
  --print-branch-arc: 6mm;
}
