:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#f7f5f0;--grid-bg:#f7f5f0;--grid-line:#ebe6db;--ink:#20201d;--muted:#6f6a61;--line:#d8d2c5;--paper:#fffdf8;--panel:#fbfaf6;--paper-rgb:255 253 248;--ink-rgb:32 32 29;--line-rgb:216 210 197;--shadow-rgb:45 40 30;--scrim-rgb:26 24 20;--teal:#1f6f68;--green:#5b7d32;--berry:#9b3d56;--gold:#9a6818;--blue:#356f9b;--violet:#70579d;--shadow:0 18px 45px rgb(var(--shadow-rgb) / .12);--shadow-soft:0 8px 18px rgb(var(--shadow-rgb) / .07);--shadow-medium:0 12px 28px rgb(var(--shadow-rgb) / .08);--shadow-raised:0 16px 38px rgb(var(--shadow-rgb) / .12);--shadow-overlay:0 28px 80px rgb(var(--scrim-rgb) / .24);--shadow-modal:0 28px 80px rgb(var(--scrim-rgb) / .28);--shadow-bottom-sheet:0 -12px 34px rgb(var(--shadow-rgb) / .1);--shadow-tooltip:0 10px 24px rgb(var(--scrim-rgb) / .18);--shadow-popover:0 18px 38px rgb(var(--shadow-rgb) / .16);--shadow-row-hover:0 8px 22px #1f6f681c;--shadow-graph-node:drop-shadow(0 10px 16px #2c261c29);--surface-plain:#fff;--surface-subtle:#fbfaf6;--surface-warm:#fffaf0;--surface-glass-38:rgb(var(--paper-rgb) / .38);--surface-glass-62:rgb(var(--paper-rgb) / .62);--surface-glass-72:rgb(var(--paper-rgb) / .72);--surface-glass-74:rgb(var(--paper-rgb) / .74);--surface-glass-76:rgb(var(--paper-rgb) / .76);--surface-glass-78:rgb(var(--paper-rgb) / .78);--surface-glass-82:rgb(var(--paper-rgb) / .82);--surface-glass-86:rgb(var(--paper-rgb) / .86);--surface-glass-92:rgb(var(--paper-rgb) / .92);--surface-glass-94:rgb(var(--paper-rgb) / .94);--surface-glass-96:rgb(var(--paper-rgb) / .96);--surface-glass-98:rgb(var(--paper-rgb) / .98);--chrome-bg:var(--surface-glass-92);--chrome-border:rgb(var(--line-rgb) / .9);--tooltip-border:rgb(var(--paper-rgb) / .22);--scrollbar-thumb:rgb(var(--line-rgb) / .82);--scrollbar-thumb-hover:#9dbeb6;--timeline-scrubber-fill:var(--teal);--timeline-scrubber-track:#c8c0b2;--timeline-scrubber-thumb:var(--teal);--timeline-scrubber-thumb-ring:var(--paper);--canvas-tint:var(--surface-glass-62);--backdrop-bg:rgb(var(--scrim-rgb) / .24);--modal-backdrop-bg:rgb(var(--scrim-rgb) / .34);--reader-text:#111;--brand-mark-bg:#e8f0eb;--brand-mark-border:#bfcfc6;--brand-mark-hover-bg:#dfece6;--badge-bg:var(--surface-plain);--accent-bg:#eaf3ef;--accent-bg-soft:#f0f7f4;--accent-border:#9dbeb6;--accent-border-muted:#bfcfc6;--accent-border-strong:#7fb0a8;--accent-border-hover:#95bbb4;--interactive-border:#8db7af;--interactive-shadow:var(--shadow-row-hover);--warning-bg:#fff7e7;--warning-bg-strong:#fff4dc;--warning-bg-active:#fff4d7;--warning-border:#d4c3a1;--warning-border-strong:#af852b;--warning-text:#6d4a13;--success-bg:#eef6e8;--source-bg:#f7fbf8;--source-bg-strong:#edf5ef;--source-border:#bfcfc6;--source-border-subtle:#dbe6de;--violet-bg:#f1ecf8;--violet-bg-strong:#f0ecf8;--violet-border:#c2b3d8;--theme-signal-bg:#fbf8ff;--theme-signal-border:#d8ccec;--theme-signal-hover-border:#b8a6d5;--neutral-bg:#f1eee8;--neutral-text:#8b7d6d;--connection-border-subtle:#9a6a1f47;--skeleton-stop:#f4f0e8;--kind-person:#1f6f68;--kind-person-bg:#eaf3ef;--kind-place:#9a6818;--kind-place-bg:#fff3dc;--kind-event:#9b3d56;--kind-event-bg:#fae9ee;--kind-book:#356f9b;--kind-book-bg:#e8f1f7;--kind-passage:#356f9b;--kind-passage-bg:#e8f1f7;--kind-theme:#70579d;--kind-theme-bg:#f0ecf8;--kind-command:#a8503c;--kind-command-bg:#f9ece7;--kind-attribute:#5a7a2e;--kind-attribute-bg:#eff4e3;--kind-divine-name:#4f6fa8;--kind-divine-name-bg:#edf2fb;--kind-source:#5b7d32;--kind-source-bg:#edf4e5;--attention-primary-bg:#eaf3ef;--attention-context-bg:#fbfaf6;--attention-sequence-bg:#fff4dc;--attention-evidence-bg:#f1ecf8;--attention-weak-bg:#f1eee8;--attention-weak-text:#8b7d6d;--graph-label:#302d27;--graph-label-halo:#fffdf8e0;--graph-label-hover-bg:#fffdf8;--graph-label-hover-shadow:#1a181442;--graph-node-person:#1f6f68;--graph-node-place:#9a6a1f;--graph-node-event:#9f4261;--graph-node-event-healing:#9a4c68;--graph-node-event-teaching:#a24a70;--graph-node-event-journey:#944661;--graph-node-event-life:#a75667;--graph-node-event-conflict:#923954;--graph-node-event-prophecy:#8f4f6d;--graph-node-book:#356d8c;--graph-node-passage:#356d8c;--graph-node-theme:#6f539c;--graph-node-command:#a8503c;--graph-node-attribute:#5a7a2e;--graph-node-divine-name:#4f6fa8;--graph-node-selected:#1f6f68;--graph-node-trail:#b96e19;--graph-node-dim:#f7f5f0;--graph-node-fallback:#90a4ae;--graph-edge-active:#7f9991;--graph-edge-trail:#b69a5f;--graph-edge-dim:#e9e3da;--graph-edge-primary:#aeb9b2;--graph-edge-sequence:#d2c8ad;--graph-edge-evidence:#c9bed6;--graph-edge-weak:#ebe5dd;--graph-edge-context:#ded6ca;--graph-edge-primary-hover:#8fa49c;--graph-edge-sequence-hover:#b39f75;--graph-edge-evidence-hover:#a697b7;--graph-edge-weak-hover:#ccc2b6;--graph-edge-context-hover:#b7aea2;--legacy-graph-edge-stroke:#302d276b;--legacy-graph-edge-marker:#302d2773;--legacy-graph-node-stroke:#a9a293}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#0e1112;--grid-bg:#0e1112;--grid-line:#1f2928;--ink:#f2f0e8;--muted:#aeb8b2;--line:#34413f;--paper:#171d1e;--panel:#121718;--paper-rgb:23 29 30;--ink-rgb:242 240 232;--line-rgb:52 65 63;--shadow-rgb:0 0 0;--scrim-rgb:3 6 7;--teal:#7fc7bd;--green:#a6cb79;--berry:#df819e;--gold:#d8a84f;--blue:#8abce3;--violet:#b59add;--shadow:0 18px 45px rgb(var(--shadow-rgb) / .38);--shadow-soft:0 8px 18px rgb(var(--shadow-rgb) / .22);--shadow-medium:0 12px 28px rgb(var(--shadow-rgb) / .22);--shadow-raised:0 16px 38px rgb(var(--shadow-rgb) / .22);--shadow-overlay:0 28px 80px rgb(var(--shadow-rgb) / .36);--shadow-modal:0 28px 80px rgb(var(--shadow-rgb) / .36);--shadow-bottom-sheet:0 -12px 34px rgb(var(--shadow-rgb) / .28);--shadow-tooltip:0 10px 24px rgb(var(--shadow-rgb) / .3);--shadow-popover:0 18px 38px rgb(var(--shadow-rgb) / .3);--shadow-row-hover:0 8px 22px rgb(var(--shadow-rgb) / .22);--shadow-graph-node:drop-shadow(0 10px 16px rgb(var(--shadow-rgb) / .34));--surface-plain:#171d1e;--surface-subtle:#171d1e;--surface-warm:#171d1e;--surface-glass-38:rgb(var(--paper-rgb) / .38);--surface-glass-62:rgb(var(--paper-rgb) / .62);--surface-glass-72:rgb(var(--paper-rgb) / .72);--surface-glass-74:rgb(var(--paper-rgb) / .74);--surface-glass-76:rgb(var(--paper-rgb) / .76);--surface-glass-78:rgb(var(--paper-rgb) / .78);--surface-glass-82:rgb(var(--paper-rgb) / .82);--surface-glass-86:rgb(var(--paper-rgb) / .86);--surface-glass-92:rgb(var(--paper-rgb) / .92);--surface-glass-94:rgb(var(--paper-rgb) / .94);--surface-glass-96:rgb(var(--paper-rgb) / .96);--surface-glass-98:rgb(var(--paper-rgb) / .98);--chrome-bg:#121718f0;--chrome-border:rgb(var(--line-rgb) / .92);--tooltip-border:rgb(var(--paper-rgb) / .22);--scrollbar-thumb:rgb(var(--line-rgb) / .86);--scrollbar-thumb-hover:#557b75;--timeline-scrubber-fill:var(--teal);--timeline-scrubber-track:#56615d;--timeline-scrubber-thumb:var(--teal);--timeline-scrubber-thumb-ring:var(--paper);--canvas-tint:#0f1314b3;--backdrop-bg:rgb(var(--scrim-rgb) / .58);--modal-backdrop-bg:rgb(var(--scrim-rgb) / .58);--reader-text:#f2f0e8;--brand-mark-bg:#171d1e;--brand-mark-border:#34413f;--brand-mark-hover-bg:#1d302f;--badge-bg:#101718;--accent-bg:#1d302f;--accent-bg-soft:#1d302f;--accent-border:#557b75;--accent-border-muted:#426a64;--accent-border-strong:#557b75;--accent-border-hover:#557b75;--interactive-border:#557b75;--interactive-shadow:var(--shadow-row-hover);--warning-bg:#2b2416;--warning-bg-strong:#2b2416;--warning-bg-active:#2b2416;--warning-border:#6e5729;--warning-border-strong:#6e5729;--warning-text:#d8a84f;--success-bg:#a6cb7926;--source-bg:#18302e;--source-bg-strong:#18302e;--source-border:#426a64;--source-border-subtle:#34413f;--violet-bg:#b59add29;--violet-bg-strong:#b59add29;--violet-border:#557b75;--theme-signal-bg:#171d1e;--theme-signal-border:#34413f;--theme-signal-hover-border:#557b75;--neutral-bg:#151a1b;--neutral-text:#89938f;--connection-border-subtle:#6e5729;--skeleton-stop:#151a1b;--skeleton-highlight:#222b2a;--kind-person:#7fc7bd;--kind-person-bg:#7fc7bd29;--kind-place:#d8a84f;--kind-place-bg:#d8a84f29;--kind-event:#df819e;--kind-event-bg:#df819e29;--kind-book:#8abce3;--kind-book-bg:#8abce329;--kind-passage:#8abce3;--kind-passage-bg:#8abce329;--kind-theme:#b59add;--kind-theme-bg:#b59add29;--kind-command:#d89579;--kind-command-bg:#d87c6429;--kind-attribute:#b3cc8a;--kind-attribute-bg:#a6cb7929;--kind-divine-name:#a9c0f0;--kind-divine-name-bg:#7fa2de2b;--kind-source:#a6cb79;--kind-source-bg:#a6cb7926;--attention-primary-bg:#7fc7bd29;--attention-context-bg:#171d1e;--attention-sequence-bg:#d8a84f29;--attention-evidence-bg:#b59add29;--attention-weak-bg:#151a1b;--attention-weak-text:#89938f;--graph-label:#e7efe9;--graph-label-halo:#090e0fd1;--graph-label-hover-bg:#172222;--graph-label-hover-shadow:#0000009e;--graph-node-person:#1f6f68;--graph-node-place:#9a6a1f;--graph-node-event:#9f4261;--graph-node-event-healing:#b35e7a;--graph-node-event-teaching:#ad6686;--graph-node-event-journey:#a85270;--graph-node-event-life:#b86573;--graph-node-event-conflict:#973a59;--graph-node-event-prophecy:#a05a7b;--graph-node-book:#356d8c;--graph-node-passage:#356d8c;--graph-node-theme:#6f539c;--graph-node-command:#a8503c;--graph-node-attribute:#5a7a2e;--graph-node-divine-name:#4f6fa8;--graph-node-selected:#7fc7bd;--graph-node-trail:#f4cf77;--graph-node-dim:#101718;--graph-node-fallback:#90a4ae;--graph-edge-active:#98b8b1;--graph-edge-trail:#d8bc79;--graph-edge-dim:#263230;--graph-edge-primary:#7f948d;--graph-edge-sequence:#9a927f;--graph-edge-evidence:#82758d;--graph-edge-weak:#333c3a;--graph-edge-context:#67726c;--graph-edge-primary-hover:#9eb7af;--graph-edge-sequence-hover:#c1ad7f;--graph-edge-evidence-hover:#ac9cbf;--graph-edge-weak-hover:#6f7a75;--graph-edge-context-hover:#9ba7a0;--legacy-graph-edge-stroke:#263230;--legacy-graph-edge-marker:#67726c;--legacy-graph-node-stroke:#557b75}[data-theme=linen]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#f8f4ec;--grid-bg:#f8f4ec;--grid-line:#efe6d8;--ink:#24211d;--muted:#746b5f;--line:#e2d4bf;--paper:#fffaf1;--panel:#f7f1e7;--paper-rgb:255 250 241;--ink-rgb:36 33 29;--line-rgb:226 212 191;--shadow-rgb:88 64 38;--scrim-rgb:62 43 26;--teal:#2f9189;--green:#6f8d54;--berry:#4f879e;--gold:#b47a33;--blue:#4f879e;--violet:#8f70a6;--shadow:0 18px 45px rgb(var(--shadow-rgb) / .1);--shadow-soft:0 8px 18px rgb(var(--shadow-rgb) / .06);--shadow-medium:0 12px 28px rgb(var(--shadow-rgb) / .08);--shadow-raised:0 16px 38px rgb(var(--shadow-rgb) / .1);--shadow-overlay:0 28px 80px rgb(var(--scrim-rgb) / .2);--shadow-modal:0 28px 80px rgb(var(--scrim-rgb) / .24);--shadow-bottom-sheet:0 -12px 34px rgb(var(--shadow-rgb) / .08);--shadow-tooltip:0 10px 24px rgb(var(--scrim-rgb) / .16);--shadow-popover:0 18px 38px rgb(var(--shadow-rgb) / .13);--shadow-row-hover:0 8px 22px #2f91891a;--shadow-graph-node:drop-shadow(0 10px 16px rgb(var(--shadow-rgb) / .14));--surface-plain:#fffdf8;--surface-subtle:#fbf4e9;--surface-warm:#fff4df;--surface-glass-38:rgb(var(--paper-rgb) / .38);--surface-glass-62:rgb(var(--paper-rgb) / .62);--surface-glass-72:rgb(var(--paper-rgb) / .72);--surface-glass-74:rgb(var(--paper-rgb) / .74);--surface-glass-76:rgb(var(--paper-rgb) / .76);--surface-glass-78:rgb(var(--paper-rgb) / .78);--surface-glass-82:rgb(var(--paper-rgb) / .82);--surface-glass-86:rgb(var(--paper-rgb) / .86);--surface-glass-92:rgb(var(--paper-rgb) / .92);--surface-glass-94:rgb(var(--paper-rgb) / .94);--surface-glass-96:rgb(var(--paper-rgb) / .96);--surface-glass-98:rgb(var(--paper-rgb) / .98);--chrome-bg:var(--surface-glass-92);--chrome-border:rgb(var(--line-rgb) / .86);--tooltip-border:rgb(var(--paper-rgb) / .22);--scrollbar-thumb:rgb(var(--line-rgb) / .82);--scrollbar-thumb-hover:#abd1c8;--timeline-scrubber-fill:var(--teal);--timeline-scrubber-track:#cbbfaa;--timeline-scrubber-thumb:var(--teal);--timeline-scrubber-thumb-ring:var(--paper);--canvas-tint:var(--surface-glass-38);--backdrop-bg:rgb(var(--scrim-rgb) / .2);--modal-backdrop-bg:rgb(var(--scrim-rgb) / .28);--reader-text:#191714;--brand-mark-bg:#e7f2ee;--brand-mark-border:#bdd7cf;--brand-mark-hover-bg:#d8ebe5;--badge-bg:var(--surface-plain);--accent-bg:#e8f3ee;--accent-bg-soft:#f0f7f3;--accent-border:#abd1c8;--accent-border-muted:#bdd7cf;--accent-border-strong:#7fb8af;--accent-border-hover:#88beb4;--interactive-border:#85bdb4;--interactive-shadow:var(--shadow-row-hover);--warning-bg:#fff1dc;--warning-bg-strong:#ffe8c2;--warning-bg-active:#ffe2b6;--warning-border:#e5bf83;--warning-border-strong:#c89345;--warning-text:#80531c;--success-bg:#eef6e6;--source-bg:#f4faf6;--source-bg-strong:#e8f3ee;--source-border:#bdd7cf;--source-border-subtle:#d6e4dc;--violet-bg:#f4eef8;--violet-bg-strong:#eee5f5;--violet-border:#cdb8dd;--theme-signal-bg:#fff8fb;--theme-signal-border:#efd0d3;--theme-signal-hover-border:#dda9af;--neutral-bg:#f2ece3;--neutral-text:#887968;--connection-border-subtle:#e8795b47;--skeleton-stop:#f3eadf;--kind-person:#b47a33;--kind-person-bg:#fff1dc;--kind-place:#f36f61;--kind-place-bg:#fff0eb;--kind-event:#4f879e;--kind-event-bg:#eaf2f6;--kind-book:#2f9189;--kind-book-bg:#e8f3ee;--kind-passage:#4f879e;--kind-passage-bg:#eaf2f6;--kind-theme:#d85d71;--kind-theme-bg:#fff0f2;--kind-command:#c86d52;--kind-command-bg:#fff0eb;--kind-attribute:#6f8d54;--kind-attribute-bg:#eef6e6;--kind-divine-name:#6f80b4;--kind-divine-name-bg:#eef1fb;--kind-source:#6f8d54;--kind-source-bg:#eef6e6;--attention-primary-bg:#e8f3ee;--attention-context-bg:#fbf4e9;--attention-sequence-bg:#ffe8c2;--attention-evidence-bg:#fff0f2;--attention-weak-bg:#f2ece3;--attention-weak-text:#887968;--graph-label:#24211d;--graph-label-halo:#fffaf1e6;--graph-label-hover-bg:#fffaf1;--graph-label-hover-shadow:rgb(var(--scrim-rgb) / .2);--graph-node-person:#c58a44;--graph-node-place:#f36f61;--graph-node-event:#4f879e;--graph-node-event-healing:#4b8f9a;--graph-node-event-teaching:#5b7fa3;--graph-node-event-journey:#548b97;--graph-node-event-life:#61899e;--graph-node-event-conflict:#487d95;--graph-node-event-prophecy:#5b829f;--graph-node-book:#2f9189;--graph-node-passage:#4f879e;--graph-node-theme:#df5c75;--graph-node-command:#e47a5c;--graph-node-attribute:#7a9b5c;--graph-node-divine-name:#7087b9;--graph-node-selected:#2f9189;--graph-node-trail:#e87852;--graph-node-dim:#f8f4ec;--graph-node-fallback:#a7b0aa;--graph-edge-active:#6caea5;--graph-edge-trail:#e58b64;--graph-edge-dim:#eadfce;--graph-edge-primary:#a8cdc6;--graph-edge-sequence:#e5bf83;--graph-edge-evidence:#e7b0b7;--graph-edge-weak:#efe5d9;--graph-edge-context:#dbcdbb;--graph-edge-primary-hover:#75b5ac;--graph-edge-sequence-hover:#c99345;--graph-edge-evidence-hover:#d4818f;--graph-edge-weak-hover:#d7c8b7;--graph-edge-context-hover:#bba992;--legacy-graph-edge-stroke:#4641395c;--legacy-graph-edge-marker:#46413961;--legacy-graph-node-stroke:#b8aa96}[data-theme=mosaic]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#faf7f0;--grid-bg:#faf7f0;--grid-line:#eadfcd;--ink:#39342d;--muted:#736d66;--line:#dfd0bc;--paper:#fffbf4;--panel:#f8f2e8;--paper-rgb:255 251 244;--ink-rgb:57 52 45;--line-rgb:223 208 188;--shadow-rgb:78 61 42;--scrim-rgb:62 48 32;--teal:#24a09a;--green:#90b85f;--berry:#5d9fca;--gold:#f3a642;--blue:#5d9fca;--violet:#9b8ac9;--shadow:0 18px 45px rgb(var(--shadow-rgb) / .09);--shadow-soft:0 8px 18px rgb(var(--shadow-rgb) / .055);--shadow-medium:0 12px 28px rgb(var(--shadow-rgb) / .07);--shadow-raised:0 16px 38px rgb(var(--shadow-rgb) / .09);--shadow-overlay:0 28px 80px rgb(var(--scrim-rgb) / .18);--shadow-modal:0 28px 80px rgb(var(--scrim-rgb) / .22);--shadow-bottom-sheet:0 -12px 34px rgb(var(--shadow-rgb) / .075);--shadow-tooltip:0 10px 24px rgb(var(--scrim-rgb) / .14);--shadow-popover:0 18px 38px rgb(var(--shadow-rgb) / .11);--shadow-row-hover:0 8px 22px #24a09a18;--shadow-graph-node:drop-shadow(0 10px 16px rgb(var(--shadow-rgb) / .12));--surface-plain:#fffefb;--surface-subtle:#fbf5eb;--surface-warm:#fff2dc;--surface-glass-38:rgb(var(--paper-rgb) / .38);--surface-glass-62:rgb(var(--paper-rgb) / .62);--surface-glass-72:rgb(var(--paper-rgb) / .72);--surface-glass-74:rgb(var(--paper-rgb) / .74);--surface-glass-76:rgb(var(--paper-rgb) / .76);--surface-glass-78:rgb(var(--paper-rgb) / .78);--surface-glass-82:rgb(var(--paper-rgb) / .82);--surface-glass-86:rgb(var(--paper-rgb) / .86);--surface-glass-92:rgb(var(--paper-rgb) / .92);--surface-glass-94:rgb(var(--paper-rgb) / .94);--surface-glass-96:rgb(var(--paper-rgb) / .96);--surface-glass-98:rgb(var(--paper-rgb) / .98);--chrome-bg:var(--surface-glass-94);--chrome-border:rgb(var(--line-rgb) / .82);--tooltip-border:rgb(var(--paper-rgb) / .24);--scrollbar-thumb:rgb(var(--line-rgb) / .86);--scrollbar-thumb-hover:#afd6d0;--timeline-scrubber-fill:var(--teal);--timeline-scrubber-track:var(--kind-person-bg);--timeline-scrubber-thumb:var(--teal);--timeline-scrubber-thumb-ring:var(--paper);--canvas-tint:var(--surface-glass-38);--backdrop-bg:rgb(var(--scrim-rgb) / .18);--modal-backdrop-bg:rgb(var(--scrim-rgb) / .26);--reader-text:#342f28;--brand-mark-bg:#e7f4f2;--brand-mark-border:#c3ddd8;--brand-mark-hover-bg:#d8efeb;--badge-bg:var(--surface-plain);--accent-bg:#e7f4f2;--accent-bg-soft:#f0faf7;--accent-border:#afd6d0;--accent-border-muted:#c3ddd8;--accent-border-strong:#72bbb3;--accent-border-hover:#80c4bd;--interactive-border:#7fc4bd;--interactive-shadow:var(--shadow-row-hover);--warning-bg:#fff0d5;--warning-bg-strong:#ffe5bb;--warning-bg-active:#ffdaa2;--warning-border:#e8be78;--warning-border-strong:#d09136;--warning-text:#87561a;--success-bg:#eef7e4;--source-bg:#f3fbf7;--source-bg-strong:#e7f4f2;--source-border:#c3ddd8;--source-border-subtle:#d7e7e0;--violet-bg:#f2eefb;--violet-bg-strong:#ebe5f7;--violet-border:#c8bde7;--theme-signal-bg:#fff5f8;--theme-signal-border:#efd0da;--theme-signal-hover-border:#dea5b7;--neutral-bg:#f1ece4;--neutral-text:#887d70;--connection-border-subtle:#e25b833d;--skeleton-stop:#f4ebdf;--kind-person:#f19b3d;--kind-person-bg:#fff0d5;--kind-place:#ee654d;--kind-place-bg:#fff0eb;--kind-event:#5d9fca;--kind-event-bg:#eaf4f9;--kind-book:#24a09a;--kind-book-bg:#e7f4f2;--kind-passage:#5d9fca;--kind-passage-bg:#eaf4f9;--kind-theme:#e25b83;--kind-theme-bg:#fff0f4;--kind-command:#ed744f;--kind-command-bg:#fff0eb;--kind-attribute:#90b85f;--kind-attribute-bg:#eef7e4;--kind-divine-name:#9b8ac9;--kind-divine-name-bg:#f2eefb;--kind-source:#90b85f;--kind-source-bg:#eef7e4;--attention-primary-bg:#e7f4f2;--attention-context-bg:#fbf5eb;--attention-sequence-bg:#ffe5bb;--attention-evidence-bg:#fff0f4;--attention-weak-bg:#f1ece4;--attention-weak-text:#887d70;--graph-label:#39342d;--graph-label-halo:#fffbf4eb;--graph-label-hover-bg:#fffbf4;--graph-label-hover-shadow:rgb(var(--scrim-rgb) / .18);--graph-node-person:#f19b3d;--graph-node-place:#ee654d;--graph-node-event:#5d9fca;--graph-node-event-healing:#569fc1;--graph-node-event-teaching:#668fca;--graph-node-event-journey:#68a4c6;--graph-node-event-life:#719bc2;--graph-node-event-conflict:#528bb7;--graph-node-event-prophecy:#6b92ce;--graph-node-book:#24a09a;--graph-node-passage:#5d9fca;--graph-node-theme:#e25b83;--graph-node-command:#ed744f;--graph-node-attribute:#90b85f;--graph-node-divine-name:#9b8ac9;--graph-node-selected:#24a09a;--graph-node-trail:#ee654d;--graph-node-dim:#faf7f0;--graph-node-fallback:#a9aaa2;--graph-edge-active:#73bcb5;--graph-edge-trail:#e58d61;--graph-edge-dim:#ebe1d3;--graph-edge-primary:#b6d3cf;--graph-edge-sequence:#e8c488;--graph-edge-evidence:#e6b2c2;--graph-edge-weak:#f0e7db;--graph-edge-context:#d8cec0;--graph-edge-primary-hover:#7fc7bf;--graph-edge-sequence-hover:#d99d42;--graph-edge-evidence-hover:#d684a0;--graph-edge-weak-hover:#d7cbbb;--graph-edge-context-hover:#b8aa99;--legacy-graph-edge-stroke:#4b463e57;--legacy-graph-edge-marker:#4b463e5c;--legacy-graph-node-stroke:#b9ab98}[data-theme=confetti]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#fbfbfa;--grid-bg:#fbfbfa;--grid-line:#eeeeea;--ink:#242426;--muted:#707177;--line:#dfdfda;--paper:#fff;--panel:#f7f7f4;--paper-rgb:255 255 255;--ink-rgb:36 36 38;--line-rgb:223 223 218;--shadow-rgb:48 48 48;--scrim-rgb:32 32 34;--teal:#1aa9b3;--green:#7fbd4a;--berry:#147cd7;--gold:#f4b600;--blue:#147cd7;--violet:#8f62c9;--shadow:0 18px 45px rgb(var(--shadow-rgb) / .08);--shadow-soft:0 8px 18px rgb(var(--shadow-rgb) / .05);--shadow-medium:0 12px 28px rgb(var(--shadow-rgb) / .065);--shadow-raised:0 16px 38px rgb(var(--shadow-rgb) / .08);--shadow-overlay:0 28px 80px rgb(var(--scrim-rgb) / .16);--shadow-modal:0 28px 80px rgb(var(--scrim-rgb) / .2);--shadow-bottom-sheet:0 -12px 34px rgb(var(--shadow-rgb) / .07);--shadow-tooltip:0 10px 24px rgb(var(--scrim-rgb) / .14);--shadow-popover:0 18px 38px rgb(var(--shadow-rgb) / .1);--shadow-row-hover:0 8px 22px #147cd71a;--shadow-graph-node:drop-shadow(0 10px 16px rgb(var(--shadow-rgb) / .1));--surface-plain:#fff;--surface-subtle:#f8f8f5;--surface-warm:#fff8e3;--surface-glass-38:rgb(var(--paper-rgb) / .38);--surface-glass-62:rgb(var(--paper-rgb) / .62);--surface-glass-72:rgb(var(--paper-rgb) / .72);--surface-glass-74:rgb(var(--paper-rgb) / .74);--surface-glass-76:rgb(var(--paper-rgb) / .76);--surface-glass-78:rgb(var(--paper-rgb) / .78);--surface-glass-82:rgb(var(--paper-rgb) / .82);--surface-glass-86:rgb(var(--paper-rgb) / .86);--surface-glass-92:rgb(var(--paper-rgb) / .92);--surface-glass-94:rgb(var(--paper-rgb) / .94);--surface-glass-96:rgb(var(--paper-rgb) / .96);--surface-glass-98:rgb(var(--paper-rgb) / .98);--chrome-bg:var(--surface-glass-94);--chrome-border:rgb(var(--line-rgb) / .88);--tooltip-border:rgb(var(--paper-rgb) / .24);--scrollbar-thumb:rgb(var(--line-rgb) / .82);--scrollbar-thumb-hover:#b8dfe3;--timeline-scrubber-fill:var(--teal);--timeline-scrubber-track:#cfd0ca;--timeline-scrubber-thumb:var(--teal);--timeline-scrubber-thumb-ring:var(--paper);--canvas-tint:var(--surface-glass-38);--backdrop-bg:rgb(var(--scrim-rgb) / .18);--modal-backdrop-bg:rgb(var(--scrim-rgb) / .26);--reader-text:#18191b;--brand-mark-bg:#eff9fa;--brand-mark-border:#c5e4e7;--brand-mark-hover-bg:#e2f4f6;--badge-bg:var(--surface-plain);--accent-bg:#eff9fa;--accent-bg-soft:#f4fbfc;--accent-border:#b8dfe3;--accent-border-muted:#c5e4e7;--accent-border-strong:#74cbd2;--accent-border-hover:#7bd2d8;--interactive-border:#79cbd1;--interactive-shadow:var(--shadow-row-hover);--warning-bg:#fff5ce;--warning-bg-strong:#ffeaa2;--warning-bg-active:#ffdf72;--warning-border:#e8c860;--warning-border-strong:#cf9c06;--warning-text:#866000;--success-bg:#eff8e7;--source-bg:#f6fbf9;--source-bg-strong:#eff9fa;--source-border:#c5e4e7;--source-border-subtle:#dde9e7;--violet-bg:#f5f0fb;--violet-bg-strong:#ece4f8;--violet-border:#cebce6;--theme-signal-bg:#fff2f7;--theme-signal-border:#efc4d3;--theme-signal-hover-border:#dc94ae;--neutral-bg:#f1f1ef;--neutral-text:#83858a;--connection-border-subtle:#ef4f7f38;--skeleton-stop:#efefeb;--kind-person:#f68b1f;--kind-person-bg:#fff1df;--kind-place:#f04a3f;--kind-place-bg:#fff0ed;--kind-event:#147cd7;--kind-event-bg:#eaf3fc;--kind-book:#1aa9b3;--kind-book-bg:#eff9fa;--kind-passage:#147cd7;--kind-passage-bg:#eaf3fc;--kind-theme:#ef4f7f;--kind-theme-bg:#fff2f7;--kind-command:#e76f1e;--kind-command-bg:#fff1df;--kind-attribute:#f4b600;--kind-attribute-bg:#fff5ce;--kind-divine-name:#8f62c9;--kind-divine-name-bg:#f5f0fb;--kind-source:#7fbd4a;--kind-source-bg:#eff8e7;--attention-primary-bg:#eff9fa;--attention-context-bg:#f8f8f5;--attention-sequence-bg:#ffeaa2;--attention-evidence-bg:#fff2f7;--attention-weak-bg:#f1f1ef;--attention-weak-text:#83858a;--graph-label:#242426;--graph-label-halo:#ffffffeb;--graph-label-hover-bg:#fff;--graph-label-hover-shadow:rgb(var(--scrim-rgb) / .14);--graph-node-person:#f68b1f;--graph-node-place:#f04a3f;--graph-node-event:#147cd7;--graph-node-event-healing:#168bd0;--graph-node-event-teaching:#316edc;--graph-node-event-journey:#2384d4;--graph-node-event-life:#3f7ed1;--graph-node-event-conflict:#0f6fca;--graph-node-event-prophecy:#4f73da;--graph-node-book:#1aa9b3;--graph-node-passage:#147cd7;--graph-node-theme:#ef4f7f;--graph-node-command:#e76f1e;--graph-node-attribute:#f4b600;--graph-node-divine-name:#8f62c9;--graph-node-selected:#1aa9b3;--graph-node-trail:#f04a3f;--graph-node-dim:#fbfbfa;--graph-node-fallback:#c7c9cb;--graph-edge-active:#9da2a8;--graph-edge-trail:#f0a04c;--graph-edge-dim:#ecece8;--graph-edge-primary:#d2d8da;--graph-edge-sequence:#e4d29c;--graph-edge-evidence:#e8c3d0;--graph-edge-weak:#f0f0ed;--graph-edge-context:#ddddd8;--graph-edge-primary-hover:#9ccfd4;--graph-edge-sequence-hover:#d7a70d;--graph-edge-evidence-hover:#d589a3;--graph-edge-weak-hover:#d5d5d0;--graph-edge-context-hover:#b9b9b3;--legacy-graph-edge-stroke:#46464452;--legacy-graph-edge-marker:#46464457;--legacy-graph-node-stroke:#b8b8b2}:root{background:var(--app-bg);color:var(--ink);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--app-bg);min-width:320px;min-height:100vh;color:var(--ink);margin:0}button,input{font:inherit}button,a{color:inherit}html{scrollbar-color:var(--scrollbar-thumb) transparent}*{scrollbar-color:var(--scrollbar-thumb) transparent;scrollbar-width:thin}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-clip:content-box;background-color:var(--scrollbar-thumb);border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}::-webkit-scrollbar-corner{background:0 0}.app{grid-template-rows:auto 1fr;min-height:100vh;display:grid}.app.is-graph-app{min-height:100dvh;display:block}.topbar{border-bottom:1px solid var(--line);background:var(--surface-glass-92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;display:flex}.brand-mark{border:1px solid var(--brand-mark-border);background:var(--brand-mark-bg);width:34px;height:34px;color:var(--teal);place-items:center;display:inline-grid}.brand-mark.compact{width:34px;height:34px}.brand h1,.entity-header h2,.section-title h2,.claim-card h3{letter-spacing:0;margin:0}.brand h1{font-size:.98rem;line-height:1.2}.brand p{color:var(--muted);margin:1px 0 0;font-size:.76rem}.stat-strip{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.stat{border:1px solid var(--line);background:var(--surface-warm);min-height:30px;color:var(--muted);align-items:center;gap:7px;padding:5px 8px;display:inline-flex}.graph-status{border:1px solid var(--line);background:var(--paper);min-height:34px;color:var(--muted);align-items:center;padding:7px 10px;font-size:.82rem;display:inline-flex}.graph-status-generated{border-color:var(--accent-border);background:var(--accent-bg);color:var(--teal)}.graph-status-seed{border-color:var(--warning-border);background:var(--warning-bg);color:var(--gold)}.stat svg{color:var(--teal)}.stat strong{color:var(--ink)}.shell{grid-template-columns:minmax(260px,330px) minmax(0,1fr) minmax(280px,360px);gap:0;min-height:0;display:grid}.search-panel,.evidence-panel{background:var(--panel);border-right:1px solid var(--line);padding:18px;overflow:auto}.evidence-panel{border-right:0;border-left:1px solid var(--line)}.workspace{min-width:0;padding:20px;overflow:auto}.search-field{border:1px solid var(--line);background:var(--paper);align-items:center;gap:9px;min-height:42px;padding:0 12px;display:flex}.search-field svg{color:var(--teal);flex:none}.search-field input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0}.kind-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;display:grid}.kind-tab{border:1px solid var(--line);background:var(--paper);cursor:pointer;text-transform:capitalize;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:0 10px;display:inline-flex}.kind-tab.is-active{border-color:var(--accent-border-strong);background:var(--accent-bg);color:var(--teal)}.result-count,.section-title{color:var(--muted);align-items:center;gap:8px;display:flex}.section-title small{color:var(--muted);font-size:.76rem;line-height:1.1}.result-count{margin:0 0 12px;font-size:.86rem}.entity-list,.claim-list,.relationship-list{gap:10px;display:grid}.entity-row,.relationship-row{border:1px solid var(--line);background:var(--paper);text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr);gap:10px;width:100%;padding:12px;display:grid}.relationship-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.entity-row.is-selected,.entity-row:hover,.relationship-row:hover{border-color:var(--interactive-border);box-shadow:0 8px 22px var(--interactive-shadow)}.entity-row strong,.relationship-main strong{line-height:1.2;display:block}.entity-row small,.relationship-main small{color:var(--muted);margin-top:4px;line-height:1.35;display:block}.kind-badge{background:var(--surface-plain);width:30px;height:30px;color:var(--teal);border:1px solid;flex:none;place-items:center;display:inline-grid}.kind-badge.large{width:38px;height:38px}.kind-person{color:var(--kind-person);background:var(--kind-person-bg)}.kind-place{color:var(--kind-place);background:var(--kind-place-bg)}.kind-event{color:var(--kind-event);background:var(--kind-event-bg)}.kind-book{color:var(--kind-book);background:var(--kind-book-bg)}.kind-passage{color:var(--kind-passage);background:var(--kind-passage-bg)}.kind-theme{color:var(--violet);background:var(--kind-theme-bg)}.kind-command{color:var(--kind-command);background:var(--kind-command-bg)}.kind-attribute{color:var(--kind-attribute);background:var(--kind-attribute-bg)}.kind-divineName{color:var(--kind-divine-name);background:var(--kind-divine-name-bg)}.kind-source{color:var(--green);background:var(--kind-source-bg)}.entity-header{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:18px;padding:18px}.loading-panel{border:1px solid var(--line);background:var(--paper);min-height:220px;color:var(--muted);place-items:center;margin-bottom:18px;display:grid}.entity-title{align-items:flex-start;gap:14px;display:flex}.eyebrow{text-transform:uppercase;color:var(--muted);letter-spacing:0;margin-bottom:5px;font-size:.72rem;line-height:1.1;display:block}.entity-header h2{font-size:clamp(1.55rem,2.4vw,2.4rem);line-height:1.05}.entity-title p,.entity-summary{color:var(--muted)}.entity-title p{margin:7px 0 0}.entity-actions{flex-wrap:wrap;gap:8px;margin:16px 0 0;display:flex}.coordinate-pill,.icon-link{border:1px solid var(--line);background:var(--surface-subtle);min-height:30px;color:var(--muted);align-items:center;gap:6px;padding:0 8px;text-decoration:none;display:inline-flex}.icon-link:hover{color:var(--teal);border-color:var(--accent-border-hover)}.external-link-list{flex-wrap:wrap;gap:6px;display:flex}.external-link-list.compact .icon-link{max-width:100%;min-height:28px;font-size:.78rem}.external-link-list.compact .icon-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.entity-summary{max-width:70rem;margin:16px 0;line-height:1.55}.property-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;display:grid}.property-grid div{border-top:1px solid var(--line);padding-top:9px}.property-grid dt{color:var(--muted);text-transform:uppercase;font-size:.75rem}.property-grid dd{margin:4px 0 0;line-height:1.35}.reference-list-block{gap:8px;display:grid}.reference-list-meta{color:var(--muted);font-size:.76rem;line-height:1.2}.reference-list{flex-wrap:wrap;gap:5px;display:flex}.reference-list-actions{flex-wrap:wrap;gap:10px;display:flex}.reference-list-toggle{color:var(--teal);cursor:pointer;font:inherit;background:0 0;border:0;justify-self:start;align-items:center;gap:4px;padding:0;font-size:.78rem;display:inline-flex}.reference-list-toggle svg{transition:transform .14s}.reference-list-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.reference-chip{border:1px solid var(--warning-border);background:var(--warning-bg);color:var(--warning-text);cursor:pointer;font:inherit;padding:3px 6px;font-size:.76rem;display:inline-flex;position:relative}.reference-chip:hover,.reference-chip:focus-visible{border-color:var(--warning-border-strong);outline:0}.verse-preview-panel{background:var(--surface-glass-98);border:1px solid var(--line);box-sizing:border-box;box-shadow:var(--shadow-popover);color:var(--muted);overflow-wrap:anywhere;pointer-events:none;text-transform:none;white-space:normal;z-index:1200;gap:7px;padding:11px 12px;line-height:1.45;display:grid;position:fixed;overflow:auto}.verse-preview-panel[data-placement=above]{transform:translateY(-100%)}.verse-preview-panel:after{content:"";left:var(--verse-preview-arrow-left,16px);border:7px solid #0000;position:absolute;transform:translate(-50%)}.verse-preview-panel[data-placement=above]:after{border-top-color:var(--surface-glass-98);bottom:-14px}.verse-preview-panel[data-placement=below]:after{border-bottom-color:var(--surface-glass-98);top:-14px}.verse-preview-panel strong{color:var(--ink);font-size:.86rem;line-height:1.2}.verse-preview-panel span{color:var(--reader-text)}.theme-signal-list{gap:8px;display:grid}.theme-signal-chip{background:var(--theme-signal-bg);border:1px solid var(--theme-signal-border);color:var(--muted);text-align:left;align-items:flex-start;gap:9px;min-width:0;padding:8px;display:flex}button.theme-signal-chip{cursor:pointer}button.theme-signal-chip:hover,button.theme-signal-chip:focus-visible{background:var(--kind-theme-bg);border-color:var(--theme-signal-hover-border);color:var(--violet);outline:0}.theme-signal-chip>span:last-child{gap:3px;min-width:0;display:grid}.theme-signal-chip strong{color:var(--ink);font-size:.88rem;line-height:1.2}.theme-signal-chip small{color:var(--muted);overflow-wrap:anywhere;line-height:1.3}.chapter-reader-backdrop{background:var(--modal-backdrop-bg);z-index:1300;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.chapter-reader{background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-modal);grid-template-rows:auto minmax(0,1fr);width:min(960px,100vw - 32px);height:min(840px,100dvh - 32px);display:grid}.chapter-reader-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.chapter-reader-title{align-items:center;gap:10px;min-width:0;display:flex}.chapter-reader-title>span{min-width:0;display:grid}.chapter-reader-title strong{color:var(--ink);font-size:1rem;line-height:1.2}.chapter-reader-body{color:var(--reader-text);padding:18px;overflow:auto}.chapter-reader-body>p{color:var(--reader-text);margin:0;line-height:1.5}.chapter-theme-signals{border-bottom:1px solid var(--line);gap:10px;margin:-2px 0 16px;padding-bottom:14px;display:grid}.chapter-reader-verses{gap:10px;display:grid}.chapter-reader-verses p{color:var(--reader-text);margin:0;padding:8px 10px;line-height:1.65}.chapter-reader-verses p.is-active{background:var(--warning-bg-active);outline:1px solid var(--warning-border)}.chapter-reader-verses sup{color:var(--warning-text);margin-right:7px;font-size:.7rem;font-weight:700;top:-.35em}.chapter-reader-verses span{color:var(--reader-text)}.graph-frame{background:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--paper);border:1px solid var(--line);background-size:36px 36px;min-height:420px;overflow:hidden}.graph-loading{color:var(--muted);place-items:center;padding:20px;display:grid}.sigma-frame{grid-template-rows:minmax(520px,66vh) auto;display:grid}.sigma-frame.is-fullscreen{z-index:1000;border:0;grid-template-rows:minmax(0,1fr) auto;min-height:100dvh;position:fixed;inset:0}.sigma-canvas{min-height:520px;position:relative}.sigma-frame.is-fullscreen .sigma-canvas{min-height:0}.sigma-container{background:var(--surface-glass-62);touch-action:none;width:100%;height:100%;min-height:520px}.sigma-frame.is-fullscreen .sigma-container{min-height:0}.sigma-container canvas{display:block}.sigma-controls{background:var(--surface-glass-92);border:1px solid var(--line);box-shadow:var(--shadow);z-index:5;align-items:center;gap:4px;padding:4px;display:flex;position:absolute;bottom:12px;left:12px}.sigma-controls button,.sigma-controls span{color:var(--muted);background:0 0;border:0;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.sigma-controls button{cursor:pointer}.sigma-controls button:hover,.sigma-controls button:focus-visible{background:var(--accent-bg);color:var(--teal);outline:1px solid var(--teal);outline-offset:-1px}.graph-layout-status{background:var(--surface-glass-92);border:1px solid var(--line);box-shadow:var(--shadow);color:var(--muted);z-index:6;align-items:center;gap:9px;padding:8px 10px;display:inline-flex;position:absolute;top:12px;left:12px}.graph-spinner{border:2px solid var(--line);border-top-color:var(--teal);border-radius:999px;width:16px;height:16px;animation:.85s linear infinite graph-spin}@keyframes graph-spin{to{transform:rotate(360deg)}}.graph-svg{width:100%;min-height:420px;display:block}.graph-edge line{stroke:var(--legacy-graph-edge-stroke)}.graph-edge marker path{fill:var(--legacy-graph-edge-marker)}.graph-edge text{fill:var(--muted);paint-order:stroke;stroke:var(--paper);stroke-width:5px;stroke-linecap:round;font-size:12px}.graph-node{cursor:pointer;outline:none}.graph-node circle{fill:var(--paper);stroke:var(--legacy-graph-node-stroke);stroke-width:2px;filter:var(--shadow-graph-node)}.graph-node.is-selected circle{fill:var(--accent-bg);stroke:var(--teal);stroke-width:3px}.node-icon{width:100%;height:100%;color:var(--kind-person);place-items:center;display:grid}.graph-node.node-place .node-icon{color:var(--kind-place)}.graph-node.node-event .node-icon{color:var(--kind-event)}.graph-node.node-book .node-icon{color:var(--kind-book)}.graph-node.node-passage .node-icon{color:var(--kind-passage)}.graph-node.node-theme .node-icon{color:var(--violet)}.graph-node text{text-anchor:middle;fill:var(--ink);paint-order:stroke;stroke:var(--paper);stroke-width:5px;stroke-linecap:round;font-size:13px;font-weight:700}.graph-legend{border-top:1px solid var(--line);background:var(--surface-glass-92);color:var(--muted);grid-template-rows:auto minmax(0,1fr);gap:8px;padding:10px 12px;font-size:.82rem;display:grid}.graph-legend-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.graph-legend-heading>span{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:.7rem}.graph-legend-heading button,.graph-legend-toggle{background:var(--paper);border:1px solid var(--line);color:var(--muted);cursor:pointer;justify-content:center;align-items:center;display:inline-flex}.graph-legend-heading button{width:28px;height:28px;padding:0}.graph-legend-heading button:hover,.graph-legend-toggle:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-legend-list{flex-wrap:wrap;gap:8px;min-height:0;padding-right:2px;display:flex;overflow:auto}.sigma-frame.is-fullscreen .graph-legend{max-height:18dvh;overflow:auto}.graph-legend-list span{border:1px solid var(--line);background:var(--surface-plain);padding:6px 8px}.graph-legend-toggle{gap:8px;min-height:34px;padding:4px 14px}.graph-legend-toggle span{white-space:nowrap;align-items:baseline;gap:4px;font-size:.82rem;line-height:1.1;display:inline-flex}.graph-legend-toggle strong{color:var(--ink);font-size:inherit;font-weight:400}.relationship-table{margin-top:18px}.graph-workspace-shell{grid-template-columns:minmax(230px,300px) minmax(0,1fr) minmax(310px,390px);height:calc(100dvh - 79px);min-height:680px;display:grid;overflow:hidden}.graph-search-rail,.graph-context-rail{background:var(--panel);min-height:0;padding:14px;overflow:auto}.graph-search-rail{border-right:1px solid var(--line)}.graph-context-rail{border-left:1px solid var(--line)}.graph-search-results{gap:8px}.graph-search-results .entity-row{padding:10px}.passage-search-result-row{border-color:var(--source-border);background:var(--source-bg)}.passage-search-result-row:disabled{cursor:progress;opacity:.72}.kind-tabs.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.kind-tabs.compact .kind-tab{min-height:34px;padding:0 8px}.graph-stage{background:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--app-bg);background-size:36px 36px;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:0;padding:12px;display:grid;overflow:hidden}.graph-canvas-app{background:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--app-bg);background-size:36px 36px;height:100dvh;min-height:640px;position:relative;overflow:hidden}.graph-canvas-app .sigma-frame{box-shadow:none;border:0;grid-template-rows:minmax(0,1fr);height:100%;min-height:0;position:absolute;inset:0}.graph-canvas-app .sigma-canvas,.graph-canvas-app .sigma-container{min-height:0}.graph-canvas-app .sigma-container{background:var(--surface-glass-38)}.graph-canvas-app .graph-legend{border:1px solid var(--line);box-shadow:var(--shadow-medium);z-index:12;max-width:min(760px,100vw - 28px);max-height:21dvh;position:absolute;bottom:58px;left:14px;overflow:hidden}.graph-canvas-app .graph-legend-toggle{box-shadow:none;z-index:12;position:absolute;bottom:58px;left:14px}.graph-canvas-app .graph-layout-status{top:78px;left:14px}.graph-canvas-loading{color:var(--muted);place-items:center;height:100dvh;display:grid}.graph-entity-unavailable{text-align:center;align-content:center;justify-items:center;gap:14px;padding:24px}.graph-entity-unavailable>div:first-child{gap:6px;max-width:420px;display:grid}.graph-entity-unavailable h2,.graph-entity-unavailable p{margin:0}.graph-entity-unavailable h2{color:var(--ink)}.graph-unavailable-actions{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.graph-unavailable-actions button{border:1px solid var(--line);background:var(--surface-subtle);color:var(--ink);cursor:pointer;align-items:center;gap:6px;min-height:36px;padding:0 12px;display:inline-flex}.graph-unavailable-actions button:first-child{background:var(--ink);border-color:var(--ink);color:var(--paper)}.graph-floating-bar{--graph-top-control-height:32px;pointer-events:none;z-index:70;justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:absolute;top:14px;left:14px;right:14px}.graph-floating-section{background:var(--surface-glass-92);border:1px solid var(--chrome-border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--shadow-soft);pointer-events:auto;align-items:center;gap:8px;min-width:0;padding:6px;display:flex}.graph-floating-left{max-width:min(620px,100vw - 180px);padding-right:16px}.graph-floating-right{flex:none}.graph-floating-brand{color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.graph-floating-brand:hover .brand-mark,.graph-floating-brand:focus-visible .brand-mark{background:var(--brand-mark-hover-bg);border-color:var(--interactive-border)}.graph-focus-title.floating{border-left:1px solid var(--line);padding-left:10px}.graph-floating-actions{flex-wrap:nowrap;justify-content:flex-end;gap:4px;display:flex}.graph-mode-controls{align-items:center;gap:5px;min-width:0;display:flex;overflow:hidden}.graph-floating-actions button,.graph-peek-action,.graph-drawer-heading button,.chapter-reader-heading button,.edge-heading-actions button{border:1px solid var(--line);background:var(--surface-glass-82);color:var(--muted);cursor:pointer;min-height:var(--graph-top-control-height,32px);white-space:nowrap;align-items:center;gap:6px;padding:0 8px;display:inline-flex}.graph-floating-actions button:hover,.graph-floating-actions button.is-active,.graph-peek-action:hover,.graph-drawer-heading button:hover,.chapter-reader-heading button:hover,.edge-heading-actions button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-floating-actions button:disabled{cursor:progress;opacity:.62}.graph-floating-actions button{height:var(--graph-top-control-height,32px);width:var(--graph-top-control-height,32px);flex:none;justify-content:center;padding:0;position:relative}.graph-floating-actions button span{display:none}.graph-floating-actions .icon-tooltip-button:after{background:var(--ink);border:1px solid var(--tooltip-border);box-shadow:var(--shadow-tooltip);color:var(--paper);content:attr(data-tooltip);opacity:0;pointer-events:none;visibility:hidden;white-space:nowrap;z-index:80;padding:6px 7px;font-size:.72rem;line-height:1.1;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(-2px)}.graph-floating-actions .icon-tooltip-button:before{border:5px solid #0000;border-bottom-color:var(--ink);content:"";opacity:0;pointer-events:none;visibility:hidden;z-index:81;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% - 1px);left:50%;transform:translate(-50%)translateY(-2px)}.graph-floating-actions .icon-tooltip-button:hover:after,.graph-floating-actions .icon-tooltip-button:focus-visible:after,.graph-floating-actions .icon-tooltip-button:hover:before,.graph-floating-actions .icon-tooltip-button:focus-visible:before{opacity:1;visibility:visible;transform:translate(-50%)translateY(0)}.graph-floating-actions .icon-tooltip-button:last-child:after{left:auto;right:0;transform:translateY(-2px)}.graph-floating-actions .icon-tooltip-button:last-child:hover:after,.graph-floating-actions .icon-tooltip-button:last-child:focus-visible:after{transform:translateY(0)}.graph-mobile-landing{display:none}.graph-overlay-drawer{background:var(--surface-glass-96);border:1px solid var(--line);box-shadow:var(--shadow);z-index:40;grid-auto-rows:max-content;align-content:start;gap:10px;padding:10px;display:grid;position:absolute;overflow:auto}.graph-search-overlay{width:min(360px,100vw - 28px);top:78px;bottom:14px;left:14px}.graph-details-overlay{width:min(430px,100vw - 28px);top:78px;bottom:14px;right:14px}.graph-trail-overlay{width:min(470px,100vw - 28px);top:78px;bottom:14px;right:14px}.graph-search-overlay .graph-drawer-heading,.graph-details-overlay .graph-drawer-heading{background:var(--surface-glass-98);box-shadow:none;z-index:3;margin:-10px -10px 0;padding:8px 10px;position:sticky;top:-10px}.graph-evidence-overlay.edge-drawer{min-height:118px;max-height:36dvh;bottom:14px;left:14px;right:14px}.graph-drawer-heading,.graph-drawer-actions,.edge-heading-actions{align-items:center;gap:8px;display:flex}.graph-drawer-heading,.edge-heading-actions{justify-content:space-between}.graph-drawer-heading{border-bottom:1px solid var(--line);padding-bottom:8px}.graph-drawer-heading .section-title{margin-bottom:0}.graph-drawer-heading button,.chapter-reader-heading button,.edge-heading-actions button{justify-content:center;width:30px;height:30px;min-height:30px;padding:0}.edge-heading-actions>span{color:var(--muted);font-size:.82rem}.graph-minimized-panel{background:var(--surface-glass-96);border:1px solid var(--line);box-shadow:var(--shadow-raised);z-index:42;align-items:center;gap:8px;min-height:48px;padding:8px;display:flex;position:absolute}.graph-minimized-main,.graph-minimized-close{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;display:inline-flex}.graph-minimized-main{text-align:left;flex:auto;gap:9px;min-width:0;padding:0}.graph-minimized-main span{gap:2px;min-width:0;display:grid}.graph-minimized-main strong,.graph-minimized-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.graph-minimized-main strong{color:var(--ink);font-size:.88rem;line-height:1.1}.graph-minimized-main small{color:var(--muted);font-size:.78rem;line-height:1.2}.graph-minimized-close{background:var(--surface-glass-82);border-color:var(--line);flex:none;justify-content:center;width:30px;height:30px;padding:0}.graph-minimized-panel:hover,.graph-minimized-close:hover{border-color:var(--accent-border)}.graph-minimized-main:hover,.graph-minimized-close:hover{color:var(--teal)}.graph-details-minimized{width:min(330px,100vw - 28px);bottom:14px;right:14px}.graph-evidence-minimized{width:min(460px,100vw - 28px);bottom:14px;left:14px}.graph-timeline-panel,.graph-timeline-minimized{background:var(--surface-glass-94);border:1px solid var(--line);box-shadow:var(--shadow-raised);z-index:22;position:absolute}.graph-timeline-panel{gap:8px;min-width:320px;padding:8px;display:grid;bottom:14px;left:clamp(390px,34vw,520px);right:clamp(390px,34vw,520px)}.graph-timeline-slider{width:min(560px,100vw - 28px);min-width:0;left:50%;right:auto;transform:translate(-50%)}.graph-timeline-minimized{width:360px;max-width:min(360px,100vw - 28px);bottom:14px;left:50%;right:auto;transform:translate(-50%)}.graph-timeline-minimized button{color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;justify-content:center;align-items:center;gap:8px;width:100%;min-width:0;min-height:34px;padding:4px 14px;display:inline-flex}.graph-timeline-minimized span,.graph-timeline-active-card>span:last-of-type,.graph-timeline-window button{min-width:0}.graph-timeline-minimized span{gap:2px;display:grid}.graph-timeline-active-card>span:last-of-type{gap:3px;display:grid}.graph-timeline-minimized strong,.graph-timeline-minimized small,.graph-timeline-active-card strong,.graph-timeline-window strong,.graph-timeline-window small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.graph-timeline-minimized strong,.graph-timeline-active-card strong,.graph-timeline-window strong{color:var(--ink);font-size:.82rem;line-height:1.1}.graph-timeline-minimized strong{font-weight:400}.graph-timeline-minimized small,.graph-timeline-window small{color:var(--muted);font-size:.72rem;line-height:1.15}.graph-timeline-heading,.graph-timeline-controls,.graph-timeline-active-row{align-items:center;display:flex}.graph-timeline-heading{justify-content:space-between;gap:10px}.graph-timeline-title{gap:2px;min-width:0;display:grid}.graph-timeline-heading .section-title h2{font-size:.78rem}.graph-timeline-controls{gap:6px}.graph-timeline-mode{border:1px solid var(--line);min-height:28px;display:inline-flex}.graph-timeline-mode button,.graph-timeline-controls>button,.graph-timeline-active-row>button{color:var(--muted);cursor:pointer;background:0 0;border:0}.graph-timeline-mode button{border-right:1px solid var(--line);padding:0 8px;font-size:.74rem}.graph-timeline-mode button:last-child{border-right:0}.graph-timeline-controls>button,.graph-timeline-active-row>button{border:1px solid var(--line);justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.graph-timeline-mode button:hover,.graph-timeline-mode button.is-active,.graph-timeline-controls>button:hover,.graph-timeline-active-row>button:hover,.graph-timeline-window button:hover,.graph-timeline-window button.is-active,.graph-timeline-active-card:hover,.graph-timeline-active-card.is-selected,.graph-timeline-minimized button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-timeline-active-row{gap:7px}.graph-timeline-active-row>button:disabled{cursor:default;opacity:.44}.graph-timeline-active-card{border:1px solid var(--line);background:var(--surface-glass-82);color:var(--muted);cursor:pointer;text-align:left;flex:auto;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:42px;padding:7px 9px;display:grid}.graph-timeline-scrubber{gap:5px;display:grid}.graph-timeline-scrubber input{appearance:none;background:linear-gradient(to right, var(--timeline-scrubber-fill) 0 var(--timeline-progress,0%), var(--timeline-scrubber-track) var(--timeline-progress,0%) 100%);border:1px solid rgb(var(--line-rgb) / .7);cursor:grab;border-radius:999px;width:100%;height:10px;padding:0}.graph-timeline-scrubber input:active{cursor:grabbing}.graph-timeline-scrubber input::-webkit-slider-runnable-track{background:0 0;border:0;height:10px}.graph-timeline-scrubber input::-webkit-slider-thumb{appearance:none;background:var(--timeline-scrubber-thumb);border:2px solid var(--timeline-scrubber-thumb-ring);box-shadow:0 1px 4px rgb(var(--shadow-rgb) / .16);border-radius:999px;width:18px;height:18px;margin-top:-5px}.graph-timeline-scrubber input::-moz-range-track{background:var(--timeline-scrubber-track);border:0;border-radius:999px;height:10px}.graph-timeline-scrubber input::-moz-range-progress{background:var(--timeline-scrubber-fill);border-radius:999px;height:10px}.graph-timeline-scrubber input::-moz-range-thumb{background:var(--timeline-scrubber-thumb);border:2px solid var(--timeline-scrubber-thumb-ring);box-shadow:0 1px 4px rgb(var(--shadow-rgb) / .16);border-radius:999px;width:14px;height:14px}.graph-timeline-window{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.graph-timeline-window button{border:1px solid var(--line);background:var(--surface-glass-72);color:var(--muted);cursor:pointer;text-align:left;gap:3px;min-height:42px;padding:6px;display:grid}.graph-peek-action{box-shadow:var(--shadow-raised);z-index:18;gap:8px;min-height:34px;padding:4px 14px;position:absolute;bottom:14px;right:14px}.graph-peek-action span{color:var(--ink);font-size:.82rem;font-weight:400;line-height:1.1}.graph-peek-timeline{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font-size:.72rem;line-height:1.2;display:block;overflow:hidden}.timeline-context-panel{border:1px solid var(--line);background:var(--surface-subtle);gap:10px;padding:10px;display:grid}.timeline-context-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.timeline-context-heading .section-title{margin-bottom:0}.trail-suggestion-panel{border:0;border-top:1px solid var(--line);background:0 0;gap:8px;padding:10px 0 0;display:grid}.trail-list{gap:8px;display:grid}.trail-card{border:1px solid var(--line);background:var(--surface-glass-78);color:var(--muted);cursor:pointer;text-align:left;gap:7px;min-width:0;padding:9px;display:grid}.trail-card:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.trail-card small,.trail-link-labels{line-height:1.3}.trail-card small{color:var(--muted)}.trail-path{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.trail-node{align-items:center;gap:5px;min-width:0;display:inline-flex}.trail-node .kind-badge{width:24px;height:24px}.trail-node strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:9rem;font-size:.8rem;line-height:1.1;overflow:hidden}.trail-link-labels{border-top:1px solid var(--line);color:var(--muted);padding-top:7px;font-size:.72rem}.trail-detail{gap:12px;display:grid}.trail-detail-heading{border:1px solid var(--line);background:var(--surface-subtle);gap:8px;padding:12px;display:grid}.trail-detail-heading h2{color:var(--ink);margin:0;font-size:1rem;line-height:1.25}.trail-detail-heading p{color:var(--muted);margin:0;line-height:1.45}.trail-detail-actions{gap:8px;display:flex}.trail-detail-actions button,.passage-graph-button{border:1px solid var(--line);background:var(--surface-glass-86);color:var(--muted);cursor:pointer;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.trail-detail-actions button:hover,.passage-graph-button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.trail-step-list,.trail-edge-list{gap:8px;display:grid}.trail-step{border:1px solid var(--line);background:var(--surface-glass-74);gap:7px;padding:8px;display:grid}.trail-step button{color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:0;display:flex}.trail-step button:hover strong{color:var(--teal)}.trail-step small,.trail-step-link,.trail-edge-card small{color:var(--muted)}.trail-step-link{align-items:center;gap:5px;padding-left:32px;font-size:.78rem;display:inline-flex}.trail-edge-card{border:1px solid var(--line);background:var(--surface-subtle);gap:6px;padding:10px;display:grid}.trail-edge-card>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.trail-edge-card p{color:var(--muted);margin:0;line-height:1.4}.trail-empty-state{border:1px dashed var(--line);color:var(--muted);gap:4px;padding:14px;display:grid}.trail-empty-state strong{color:var(--ink)}.connection-search-result-row{border-color:var(--connection-border-subtle)}.timeline-context-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.timeline-context-metrics span{border:1px solid var(--line);background:var(--surface-glass-76);color:var(--muted);gap:3px;min-width:0;padding:7px;font-size:.72rem;line-height:1.15;display:grid}.timeline-context-metrics strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:700;overflow:hidden}.timeline-neighbor-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.timeline-neighbor-row button,.timeline-neighbor-empty{border:1px solid var(--line);background:var(--surface-glass-76);color:var(--muted);align-items:center;gap:7px;min-width:0;min-height:42px;padding:7px;display:flex}.timeline-neighbor-row button{cursor:pointer;text-align:left}.timeline-neighbor-row button:last-child{justify-content:space-between}.timeline-neighbor-row button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.timeline-neighbor-row button span{gap:2px;min-width:0;display:grid}.timeline-neighbor-row strong,.timeline-neighbor-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.timeline-neighbor-row strong{color:var(--ink);font-size:.78rem;line-height:1.1}.timeline-neighbor-row small,.timeline-neighbor-empty{font-size:.7rem;line-height:1.1}.timeline-reference-groups{gap:8px;display:grid}.timeline-period-note{border:1px solid var(--line);background:var(--surface-glass-76);color:var(--muted);gap:4px;margin:0;padding:8px;font-size:.78rem;line-height:1.35;display:grid}.timeline-period-note strong{color:var(--ink);line-height:1.1}.timeline-date-statement-list{gap:7px;display:grid}.timeline-date-statement{border:1px solid var(--line);background:var(--surface-glass-76);gap:5px;padding:8px;display:grid}.timeline-date-statement>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.timeline-date-statement strong{color:var(--ink);font-size:.84rem;line-height:1.1}.timeline-date-statement small,.timeline-date-statement p{color:var(--muted);margin:0;font-size:.74rem;line-height:1.3}.timeline-reference-group{gap:6px;display:grid}.timeline-reference-group>strong{color:var(--muted);text-transform:uppercase;font-size:.7rem;line-height:1.1}.graph-selection-loading{border:1px solid var(--line);background:var(--surface-subtle);color:var(--muted);align-items:center;gap:12px;min-height:92px;padding:14px;display:flex}.graph-selection-loading h2{color:var(--ink);margin:4px 0 0;font-size:1.1rem;line-height:1.15}.graph-selection-loading p{margin:6px 0 0;line-height:1.35}.graph-stage .sigma-frame{box-shadow:var(--shadow);grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0}.graph-stage .sigma-canvas,.graph-stage .sigma-container{min-height:0}.graph-workspace-toolbar{background:var(--surface-glass-94);border:1px solid var(--line);box-shadow:var(--shadow-medium);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px;display:grid}.graph-focus-title{align-items:center;gap:10px;min-width:0;display:flex}.graph-focus-title small,.inspector-mode span{color:var(--muted);text-transform:uppercase;font-size:.72rem;line-height:1.1;display:block}.graph-focus-title strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.graph-lens-switcher{border:1px solid var(--line);height:var(--graph-top-control-height,32px);min-height:var(--graph-top-control-height,32px);max-width:100%;display:inline-flex}.graph-lens-switcher button,.graph-action-group button,.inspector-actions button,.edge-drawer-heading button{cursor:pointer;background:0 0;border:0}.graph-lens-switcher button{border-right:1px solid var(--line);color:var(--muted);white-space:nowrap;min-width:84px;padding:0 9px;font-size:.82rem}.graph-lens-switcher button:last-child{border-right:0}.graph-lens-switcher button:hover,.graph-lens-switcher button.is-active{background:var(--accent-bg);color:var(--teal)}.graph-options-button{border:1px solid var(--line);background:var(--surface-glass-82);color:var(--muted);cursor:pointer;height:var(--graph-top-control-height,32px);min-height:var(--graph-top-control-height,32px);text-align:left;align-items:center;gap:7px;min-width:92px;padding:0 8px;font-size:.8rem;font-weight:400;display:inline-flex}.graph-options-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;line-height:1.1;display:inline;overflow:hidden}.graph-options-button:hover,.graph-options-button.is-active{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-options-backdrop{background:var(--backdrop-bg);z-index:1350;justify-content:flex-end;align-items:flex-start;padding:72px 14px 14px;display:flex;position:fixed;inset:0}.graph-options-dialog{background:var(--paper);border:1px solid var(--line);box-shadow:0 28px 80px var(--backdrop-bg);grid-template-rows:auto minmax(0,1fr);width:min(430px,100vw - 28px);max-height:min(620px,100dvh - 92px);display:grid}.graph-options-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.graph-options-title{align-items:center;gap:10px;min-width:0;display:flex}.graph-options-title>span{gap:3px;min-width:0;display:grid}.graph-options-title strong{color:var(--ink);font-size:.96rem;line-height:1.1}.graph-options-heading button{border:1px solid var(--line);background:var(--surface-glass-82);color:var(--muted);cursor:pointer;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.graph-options-heading button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-options-body{gap:14px;padding:12px;display:grid;overflow:auto}.graph-options-section{gap:10px;display:grid}.graph-options-section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.graph-options-section-heading h2{color:var(--ink);text-transform:uppercase;margin:0;font-size:.82rem;line-height:1.1}.graph-node-type-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.graph-theme-options,.graph-emphasis-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.graph-emphasis-options{grid-template-columns:repeat(4,minmax(0,1fr))}.graph-theme-options button,.graph-emphasis-options button{border:1px solid var(--line);background:var(--surface-subtle);color:var(--muted);cursor:pointer;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 10px;font-size:.78rem;line-height:1.1;display:inline-flex}.graph-theme-options button:hover,.graph-theme-options button.is-active,.graph-emphasis-options button:hover,.graph-emphasis-options button.is-active{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-node-type-option{border:1px solid var(--line);background:var(--surface-subtle);cursor:pointer;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-height:58px;padding:8px;display:grid}.graph-node-type-option.is-active{background:var(--accent-bg-soft);border-color:var(--accent-border)}.graph-node-type-option input{accent-color:var(--teal);width:16px;height:16px;margin:0}.graph-node-type-label{gap:3px;min-width:0;display:grid}.graph-node-type-label strong{color:var(--ink);font-size:.8rem;line-height:1.1}.graph-node-type-label small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.73rem;line-height:1.1;overflow:hidden}.graph-source-info-backdrop{background:var(--backdrop-bg);z-index:1360;justify-content:flex-start;align-items:flex-start;padding:72px 14px 14px;display:flex;position:fixed;inset:0}.graph-source-info-dialog{background:var(--paper);border:1px solid var(--line);box-shadow:0 28px 80px var(--backdrop-bg);grid-template-rows:auto minmax(0,1fr);width:min(470px,100vw - 28px);max-height:min(620px,100dvh - 92px);display:grid}.graph-source-info-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.graph-source-info-title{align-items:center;gap:10px;min-width:0;display:flex}.graph-source-info-title>span{gap:3px;min-width:0;display:grid}.graph-source-info-title strong{color:var(--ink);font-size:.96rem;line-height:1.1}.graph-source-info-title small{color:var(--muted);font-size:.76rem;line-height:1.2}.graph-source-info-heading button{border:1px solid var(--line);background:var(--surface-glass-82);color:var(--muted);cursor:pointer;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.graph-source-info-heading button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.graph-source-info-body{gap:12px;padding:12px;display:grid;overflow:auto}.graph-source-info-body>p{color:var(--muted);margin:0;line-height:1.4}.graph-source-info-list{gap:8px;display:grid}.graph-source-info-card{border:1px solid var(--line);background:var(--surface-subtle);gap:7px;padding:10px;display:grid}.graph-source-info-card h2{color:var(--ink);margin:0;font-size:.92rem;line-height:1.15}.graph-source-info-card p{color:var(--muted);margin:0;line-height:1.4}.graph-source-info-source-row{flex-wrap:wrap;gap:5px;display:flex}.graph-source-info-source-row a,.graph-source-info-source-row span{border:1px solid var(--source-border);background:var(--source-bg-strong);color:var(--teal);padding:3px 6px;font-size:.74rem}.graph-source-info-source-row a{text-decoration:none}.graph-source-info-source-row a:hover{border-color:var(--teal)}.graph-action-group{gap:6px;display:inline-flex}.graph-action-group button,.inspector-actions button,.edge-drawer-heading button{background:var(--ink);color:var(--paper);min-height:36px;padding:0 11px}.graph-action-group button:disabled{cursor:progress;opacity:.64}.graph-action-group button+button,.edge-drawer-heading button{background:var(--surface-subtle);border:1px solid var(--line);color:var(--muted)}.node-inspector{grid-auto-rows:max-content;align-content:start;gap:10px;display:grid}.inspector-mode{justify-content:space-between;align-items:center;gap:8px;display:flex}.inspector-mode strong{border:1px solid var(--source-border);background:var(--accent-bg);color:var(--teal);text-transform:uppercase;padding:3px 6px;font-size:.72rem}.inspector-header{align-items:flex-start;gap:10px;display:flex}.inspector-header h2{margin:0;font-size:1.18rem;line-height:1.12}.inspector-header p,.inspector-summary{color:var(--muted)}.inspector-header p{margin:4px 0 0}.inspector-summary{margin:0;line-height:1.38}.inspector-summary-block{gap:6px;display:grid}.inspector-summary.is-collapsed{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.inspector-summary-toggle{color:var(--teal);cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:4px;padding:0;font-size:.78rem;display:inline-flex}.inspector-summary-toggle svg{transition:transform .14s}.inspector-summary-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.inspector-actions{flex-wrap:wrap;gap:6px;display:flex}.inspector-section{border-top:1px solid var(--line);padding-top:10px}.collapsible-section-toggle{cursor:pointer;text-align:left;background:0 0;border:0;justify-content:space-between;width:100%;margin:0;padding:0}.section-title.collapsible-section-toggle{margin-bottom:0}.section-title.collapsible-section-toggle[aria-expanded=true]{margin-bottom:10px}.collapsible-section-toggle>span{align-items:center;gap:8px;min-width:0;display:inline-flex}.collapsible-section-toggle small{color:var(--muted);font-size:.72rem;line-height:1.1}.collapsible-section-toggle:hover{color:var(--teal)}.theme-insight-panel{border:1px solid var(--line);background:var(--surface-subtle);gap:10px;padding:10px;display:grid}.theme-insight-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.theme-insight-metric{border:1px solid var(--line);background:var(--paper);gap:2px;min-height:48px;padding:7px;display:grid}.theme-insight-metric strong{color:var(--ink);font-size:.95rem;line-height:1}.theme-insight-metric span,.theme-insight-label{color:var(--muted);text-transform:uppercase;font-size:.7rem;line-height:1.1}.theme-insight-group{gap:6px;display:grid}.theme-insight-split{grid-template-columns:1fr 1fr;gap:8px;display:grid}.theme-insight-chip-row,.theme-reference-list{flex-wrap:wrap;gap:5px;display:flex}.theme-insight-chip,.theme-insight-kind,.theme-reference-list span{border:1px solid var(--line);background:var(--paper);color:var(--muted);align-items:center;gap:5px;min-height:26px;padding:3px 6px;font-size:.76rem;display:inline-flex}.theme-insight-chip strong{color:var(--teal)}.theme-connection-list{gap:6px;display:grid}.theme-connection-list button{border:1px solid var(--line);background:var(--paper);color:var(--muted);cursor:pointer;text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-height:42px;padding:6px;display:grid}.theme-connection-list button:hover{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}.theme-connection-list button>span:last-child{gap:2px;min-width:0;display:grid}.theme-connection-list strong,.theme-connection-list small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.theme-connection-list strong{color:var(--ink);font-size:.82rem}.theme-connection-list small{font-size:.72rem}.property-grid.compact{grid-template-columns:1fr;gap:8px;margin-bottom:0}.claim-list.compact,.relationship-list.compact{gap:8px}.inspector-scroll-list{min-height:0;max-height:min(460px,46dvh);padding-right:2px;overflow:auto}.claim-list.compact .claim-card{padding:10px}.attention-pill{color:var(--muted);text-transform:uppercase;border:1px solid;padding:5px 7px;font-size:.72rem}.attention-primary{background:var(--accent-bg);color:var(--teal)}.attention-context{background:var(--surface-subtle);color:var(--muted)}.attention-sequence{background:var(--warning-bg-strong);color:var(--gold)}.attention-evidence{background:var(--violet-bg);color:var(--violet)}.attention-weak{background:var(--neutral-bg);color:var(--neutral-text)}.edge-drawer{background:var(--surface-glass-96);border:1px solid var(--line);box-shadow:var(--shadow-bottom-sheet);min-height:96px;max-height:30dvh;padding:12px;overflow:auto}.edge-drawer-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.edge-drawer-heading h2{margin:0;font-size:1rem;line-height:1.25}.edge-drawer-heading h2 span{color:var(--teal)}.edge-drawer-heading>span{color:var(--muted);font-size:.82rem}.edge-chip-list{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.edge-chip-list button{border:1px solid var(--line);background:var(--surface-subtle);color:var(--muted);cursor:pointer;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.edge-chip-list button:hover{border-color:var(--interactive-border);color:var(--teal)}.edge-chip-list strong{color:var(--ink)}.edge-meta-row{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.edge-claim-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ontology-shell{grid-template-columns:minmax(0,1fr) minmax(340px,430px);height:calc(100dvh - 79px);min-height:680px;display:grid;overflow:hidden}.ontology-graph-panel{background:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--app-bg);background-size:36px 36px;grid-template-rows:minmax(0,1fr);min-height:0;padding:14px;display:grid;overflow:hidden}.ontology-graph-panel .sigma-frame{box-shadow:var(--shadow);grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0}.ontology-graph-panel .sigma-canvas,.ontology-graph-panel .sigma-container{min-height:0}.ontology-inspector{background:var(--panel);border-left:1px solid var(--line);min-height:0;padding:14px;overflow:auto}.ontology-inspector-stack{gap:12px;display:grid}.ontology-card{background:var(--paper);border:1px solid var(--line);gap:12px;padding:14px;display:grid}.ontology-card h3{margin:0;font-size:.95rem}.ontology-card p{color:var(--muted);margin:0;line-height:1.45}.ontology-edge-callout{background:var(--surface-subtle);border:1px solid var(--line);color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.ontology-edge-callout strong{color:var(--ink)}.ontology-edge-callout span{color:var(--teal)}.ontology-edge-list,.ontology-section-list,.ontology-node-chip-list{gap:8px;display:grid}.ontology-edge-list button{background:var(--surface-subtle);border:1px solid var(--line);color:var(--ink);cursor:pointer;text-align:left;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:8px 10px;display:flex}.ontology-edge-list button:hover,.ontology-node-chip-list button:hover{border-color:var(--accent-border);color:var(--teal)}.ontology-edge-list small{color:var(--muted);margin-top:2px;display:block}.ontology-section-list article{border-top:1px solid var(--line);gap:8px;padding-top:10px;display:grid}.ontology-section-list article:first-child{border-top:0;padding-top:0}.ontology-node-chip-list{flex-wrap:wrap;display:flex}.ontology-node-chip-list button{background:var(--accent-bg);border:1px solid var(--source-border);color:var(--teal);cursor:pointer;min-height:30px;padding:0 8px}.section-title{margin-bottom:12px}.section-title h2{color:var(--ink);font-size:.9rem}.weight{color:var(--muted);border:1px solid var(--line);background:var(--surface-subtle);padding:5px 7px;font-size:.82rem}.claim-card{border:1px solid var(--line);background:var(--paper);padding:10px}.claim-topline{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.claim-card h3{font-size:.88rem;line-height:1.25}.claim-card p{color:var(--muted);margin:7px 0 9px;line-height:1.38}.confidence{text-transform:uppercase;border:1px solid;flex:none;padding:4px 6px;font-size:.72rem}.confidence-high{color:var(--green);background:var(--success-bg)}.confidence-medium{color:var(--gold);background:var(--warning-bg-strong)}.confidence-low{color:var(--berry);background:var(--kind-event-bg)}.confidence-symbolic{color:var(--violet);background:var(--violet-bg)}.source-list{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.source-list a{border:1px solid var(--source-border);background:var(--source-bg-strong);color:var(--teal);padding:3px 6px;font-size:.76rem;text-decoration:none}.source-list a:hover{border-color:var(--teal)}.view-switch{border:1px solid var(--line);background:var(--paper);min-height:34px;display:inline-flex}.view-switch button{border:0;border-right:1px solid var(--line);min-width:96px;color:var(--muted);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:7px;padding:0 10px;display:inline-flex}.view-switch button:last-child{border-right:0}.view-switch button:hover,.view-switch button.is-active{background:var(--accent-bg);color:var(--teal)}.resolver-shell{grid-template-columns:minmax(280px,360px) minmax(0,1fr) minmax(280px,340px)}.resolver-loading{margin:20px}.resolver-sidebar{align-content:start;gap:16px;display:grid}.resolver-sidebar .section-title,.resolver-section .section-title,.evidence-panel .resolver-side-title{margin-bottom:0}.resolver-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.resolver-metric{border:1px solid var(--line);background:var(--paper);min-height:74px;padding:10px}.resolver-metric strong{font-size:1.28rem;line-height:1;display:block}.resolver-metric span{color:var(--muted);margin-top:8px;font-size:.78rem;line-height:1.25;display:block}.queue-list,.resolver-table,.cluster-entities,.system-list,.unresolved-list,.mapping-list{gap:8px;display:grid}.queue-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-top:4px;font-size:.72rem;font-weight:700}.queue-row,.resolver-table-row,.cluster-entities button,.unresolved-row{border:1px solid var(--line);background:var(--paper);width:100%;min-height:48px;color:var(--ink);text-align:left;cursor:pointer}.queue-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.queue-row:hover,.resolver-table-row:hover,.cluster-entities button:hover,.unresolved-row:hover{border-color:var(--interactive-border);box-shadow:0 8px 22px var(--interactive-shadow)}.queue-row strong,.queue-row small,.resolver-table-row strong,.resolver-table-row small,.cluster-entities strong,.cluster-entities small,.unresolved-row strong,.unresolved-row small{min-width:0;display:block}.queue-row small,.resolver-table-row small,.cluster-entities small,.unresolved-row small{color:var(--muted);margin-top:4px;line-height:1.3}.queue-row>span:last-child,.resolver-table-row>span:last-child,.system-row span{border:1px solid var(--warning-border);background:var(--warning-bg);color:var(--warning-text);overflow-wrap:anywhere;max-width:12rem;padding:5px 7px;font-size:.78rem}.resolver-section{margin-bottom:20px}.resolver-table{margin-top:12px}.resolver-table-row{grid-template-columns:auto minmax(0,1fr) minmax(8rem,13rem);align-items:center;gap:10px;padding:10px;display:grid}.cluster-grid,.review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.cluster-card,.review-card{border:1px solid var(--line);background:var(--paper);padding:12px}.cluster-topline{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px;display:flex}.cluster-topline h3{margin:0;font-size:.98rem;line-height:1.2}.cluster-topline span{border:1px solid var(--violet-border);background:var(--violet-bg);color:var(--violet);place-items:center;min-width:30px;min-height:26px;font-weight:700;display:inline-grid}.cluster-topline .role-pill{text-align:center;white-space:normal;min-height:24px;padding:5px 7px;font-size:.72rem;line-height:1.1}.role-candidate-actions{margin-top:10px}.cluster-entities button,.unresolved-row,.candidate-main,.decision-button,.decision-actions button{padding:9px 10px}.review-reason{color:var(--muted);margin:0 0 10px;line-height:1.4}.candidate-list{gap:8px;display:grid}.candidate-row{border:1px solid var(--line);background:var(--surface-subtle);grid-template-columns:minmax(0,1fr) auto;align-items:stretch;width:100%;display:grid}.candidate-main{text-align:left;cursor:pointer;background:0 0;border:0}.candidate-row:hover,.candidate-row:focus-within{border-color:var(--interactive-border)}.candidate-main strong,.candidate-main small{display:block}.candidate-main small{color:var(--muted);margin-top:4px;line-height:1.3}.decision-button,.decision-actions button{border:0;border-left:1px solid var(--line);background:var(--accent-bg);color:var(--teal);cursor:pointer;font-weight:700}.decision-actions{border:1px solid var(--line);border-left:0;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px;display:grid}.decision-actions button:first-child{border-left:1px solid var(--line)}.decision-actions button:last-child{background:var(--warning-bg);color:var(--warning-text)}.resolver-save-status{border:1px solid var(--source-border);background:var(--source-bg);color:var(--teal);padding:9px 10px;line-height:1.35}.system-list{margin-bottom:22px}.system-row{border:1px solid var(--line);background:var(--paper);justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:9px 10px;display:flex}.system-row strong{overflow-wrap:anywhere}.unresolved-list{margin-top:12px}.mapping-ledger{border-color:var(--source-border);background:var(--source-bg)}.mapping-list{margin-top:12px}.mapping-row{border-top:1px solid var(--source-border-subtle);gap:4px;padding-top:9px;display:grid}.mapping-row-topline{justify-content:space-between;align-items:center;gap:8px;display:flex}.mapping-row strong{color:var(--teal);font-size:.84rem}.mapping-row span{overflow-wrap:anywhere}.mapping-row small{color:var(--muted);line-height:1.35}.passage-shell{grid-template-columns:minmax(260px,330px) minmax(0,1fr) minmax(270px,340px)}.passage-search-panel{align-content:start;gap:14px;display:grid}.passage-result-count{margin:0}.passage-list,.xref-list,.top-passage-list,.passage-entity-list{gap:8px;display:grid}.passage-row,.xref-row,.top-passage-row,.passage-entity-row{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);text-align:left;cursor:pointer}.passage-row{padding:10px}.passage-row:hover,.passage-row.is-selected,.xref-row:hover,.top-passage-row:hover,.passage-entity-row:hover{border-color:var(--interactive-border);box-shadow:0 8px 22px var(--interactive-shadow)}.passage-row strong,.passage-row small,.xref-row strong,.xref-row small,.top-passage-row strong,.top-passage-row small,.passage-entity-row strong,.passage-entity-row small{min-width:0;display:block}.passage-row small,.xref-row small,.top-passage-row small,.passage-entity-row small{color:var(--muted);margin-top:4px;line-height:1.3}.passage-header{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;margin-bottom:18px;padding:18px;display:grid}.passage-header h2{letter-spacing:0;margin:0;font-size:clamp(1.55rem,2.4vw,2.35rem);line-height:1.05}.passage-metrics,.xref-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.passage-metrics{grid-column:1/-1;margin-top:18px}.xref-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0 22px}.passage-metric{border:1px solid var(--line);background:var(--surface-subtle);min-height:72px;padding:10px}.passage-metric strong{font-size:1.18rem;line-height:1.1;display:block}.passage-metric span{color:var(--muted);margin-top:8px;font-size:.78rem;line-height:1.25;display:block}.xref-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.xref-list-panel{min-width:0}.xref-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:10px;display:grid}.xref-votes,.xref-weight{border:1px solid var(--line);background:var(--surface-subtle);color:var(--muted);padding:5px 7px;font-size:.78rem}.xref-votes{border-color:var(--warning-border);background:var(--warning-bg);color:var(--warning-text)}.xref-source-card{margin-bottom:14px}.xref-source-link{width:fit-content}.top-passage-row{min-height:46px;padding:9px 10px}.passage-entity-list{margin-bottom:22px}.passage-entity-row{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:9px 10px;display:grid}.suggested-trail-list{gap:8px;display:grid}.suggested-trail-row{border:1px solid var(--line);background:var(--paper);width:100%;color:var(--ink);text-align:left;cursor:pointer;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:52px;padding:9px 10px;display:grid}.suggested-trail-row:hover{border-color:var(--interactive-border);box-shadow:0 8px 22px var(--interactive-shadow)}.suggested-trail-row strong,.suggested-trail-row small{min-width:0;display:block}.suggested-trail-row small{color:var(--muted);margin-top:4px;line-height:1.3}.passage-loading-card{align-items:center;min-height:220px;display:flex}.passage-loading-card p{color:var(--muted);margin:8px 0 0}.passage-skeleton-list{gap:10px;display:grid}.passage-skeleton-list span{border:1px solid var(--line);background:linear-gradient(90deg, var(--skeleton-stop) 25%, var(--paper) 45%, var(--skeleton-stop) 65%);background-size:240% 100%;height:52px;animation:1.2s ease-in-out infinite skeleton-pan}.xref-state{border:1px solid var(--line);background:var(--surface-subtle);min-height:58px;color:var(--muted);place-items:center;padding:12px;display:grid}@keyframes skeleton-pan{0%{background-position:100% 0}to{background-position:-100% 0}}[data-theme=dark] .topbar,[data-theme=dark] .graph-floating-section,[data-theme=dark] .graph-workspace-toolbar{background:var(--chrome-bg);border-color:var(--chrome-border);box-shadow:var(--shadow-soft)}[data-theme=dark] .graph-frame,[data-theme=dark] .graph-stage,[data-theme=dark] .graph-canvas-app,[data-theme=dark] .ontology-graph-panel{background:linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px), var(--grid-bg);background-size:36px 36px}[data-theme=dark] .sigma-container,[data-theme=dark] .graph-canvas-app .sigma-container{background:var(--canvas-tint)}[data-theme=dark] .brand-mark,[data-theme=dark] .stat,[data-theme=dark] .graph-status,[data-theme=dark] .kind-tab,[data-theme=dark] .coordinate-pill,[data-theme=dark] .icon-link,[data-theme=dark] .reference-chip,[data-theme=dark] .theme-signal-chip,[data-theme=dark] .sigma-controls,[data-theme=dark] .graph-layout-status,[data-theme=dark] .graph-legend,[data-theme=dark] .graph-legend-toggle,[data-theme=dark] .graph-legend-heading button,[data-theme=dark] .graph-legend-list span,[data-theme=dark] .graph-floating-actions button,[data-theme=dark] .graph-peek-action,[data-theme=dark] .graph-drawer-heading button,[data-theme=dark] .chapter-reader-heading button,[data-theme=dark] .edge-heading-actions button,[data-theme=dark] .graph-unavailable-actions button,[data-theme=dark] .graph-minimized-close,[data-theme=dark] .graph-selection-loading,[data-theme=dark] .graph-lens-switcher,[data-theme=dark] .graph-options-button,[data-theme=dark] .graph-timeline-mode,[data-theme=dark] .graph-timeline-mode button,[data-theme=dark] .graph-timeline-controls>button,[data-theme=dark] .graph-timeline-active-row>button,[data-theme=dark] .graph-timeline-active-card,[data-theme=dark] .graph-timeline-window button,[data-theme=dark] .graph-timeline-minimized button,[data-theme=dark] .graph-options-heading button,[data-theme=dark] .graph-theme-options button,[data-theme=dark] .graph-emphasis-options button,[data-theme=dark] .graph-node-type-option,[data-theme=dark] .graph-source-info-heading button,[data-theme=dark] .graph-source-info-card,[data-theme=dark] .theme-insight-panel,[data-theme=dark] .timeline-context-panel,[data-theme=dark] .trail-suggestion-panel,[data-theme=dark] .trail-card,[data-theme=dark] .trail-detail-heading,[data-theme=dark] .trail-detail-actions button,[data-theme=dark] .trail-step,[data-theme=dark] .trail-edge-card,[data-theme=dark] .passage-graph-button,[data-theme=dark] .timeline-context-metrics span,[data-theme=dark] .timeline-neighbor-row button,[data-theme=dark] .timeline-neighbor-empty,[data-theme=dark] .timeline-period-note,[data-theme=dark] .timeline-date-statement,[data-theme=dark] .theme-insight-metric,[data-theme=dark] .theme-insight-chip,[data-theme=dark] .theme-insight-kind,[data-theme=dark] .theme-reference-list span,[data-theme=dark] .theme-connection-list button,[data-theme=dark] .attention-context,[data-theme=dark] .edge-chip-list button,[data-theme=dark] .ontology-edge-callout,[data-theme=dark] .ontology-edge-list button,[data-theme=dark] .weight,[data-theme=dark] .view-switch,[data-theme=dark] .candidate-row,[data-theme=dark] .passage-metric,[data-theme=dark] .xref-weight,[data-theme=dark] .xref-state,[data-theme=dark] .mapping-ledger,[data-theme=dark] .resolver-save-status{background:var(--paper);border-color:var(--line);color:var(--muted)}[data-theme=dark] .graph-unavailable-actions button:first-child{background:var(--brand-mark-hover-bg);border-color:var(--brand-mark-hover-bg);color:var(--badge-bg)}[data-theme=dark] .graph-overlay-drawer,[data-theme=dark] .graph-search-overlay .graph-drawer-heading,[data-theme=dark] .graph-details-overlay .graph-drawer-heading,[data-theme=dark] .graph-minimized-panel,[data-theme=dark] .graph-timeline-panel,[data-theme=dark] .graph-timeline-minimized,[data-theme=dark] .edge-drawer,[data-theme=dark] .graph-options-dialog,[data-theme=dark] .graph-source-info-dialog,[data-theme=dark] .chapter-reader{background:var(--surface-glass-96);border-color:var(--line);box-shadow:var(--shadow)}[data-theme=dark] .graph-canvas-app .graph-legend-toggle{box-shadow:none}[data-theme=dark] .graph-peek-action{box-shadow:var(--shadow)}[data-theme=dark] .graph-options-backdrop,[data-theme=dark] .graph-source-info-backdrop,[data-theme=dark] .chapter-reader-backdrop{background:var(--modal-backdrop-bg)}[data-theme=dark] .graph-status-generated,[data-theme=dark] .kind-tab:hover,[data-theme=dark] .kind-tab.is-active,[data-theme=dark] .graph-lens-switcher button:hover,[data-theme=dark] .graph-lens-switcher button.is-active,[data-theme=dark] .graph-options-button:hover,[data-theme=dark] .graph-options-button.is-active,[data-theme=dark] .graph-timeline-mode button:hover,[data-theme=dark] .graph-timeline-mode button.is-active,[data-theme=dark] .graph-timeline-controls>button:hover,[data-theme=dark] .graph-timeline-active-row>button:hover,[data-theme=dark] .graph-timeline-active-card:hover,[data-theme=dark] .graph-timeline-active-card.is-selected,[data-theme=dark] .graph-timeline-window button:hover,[data-theme=dark] .graph-timeline-window button.is-active,[data-theme=dark] .graph-timeline-minimized button:hover,[data-theme=dark] .graph-options-heading button:hover,[data-theme=dark] .graph-theme-options button:hover,[data-theme=dark] .graph-theme-options button.is-active,[data-theme=dark] .graph-emphasis-options button:hover,[data-theme=dark] .graph-emphasis-options button.is-active,[data-theme=dark] .graph-node-type-option.is-active,[data-theme=dark] .graph-source-info-heading button:hover,[data-theme=dark] .view-switch button:hover,[data-theme=dark] .view-switch button.is-active,[data-theme=dark] .sigma-controls button:hover,[data-theme=dark] .sigma-controls button:focus-visible,[data-theme=dark] .graph-legend-heading button:hover,[data-theme=dark] .graph-legend-toggle:hover,[data-theme=dark] .graph-floating-actions button:hover,[data-theme=dark] .graph-floating-actions button.is-active,[data-theme=dark] .graph-peek-action:hover,[data-theme=dark] .graph-drawer-heading button:hover,[data-theme=dark] .chapter-reader-heading button:hover,[data-theme=dark] .edge-heading-actions button:hover,[data-theme=dark] .timeline-neighbor-row button:hover,[data-theme=dark] .trail-card:hover,[data-theme=dark] .trail-detail-actions button:hover,[data-theme=dark] .passage-graph-button:hover,[data-theme=dark] .theme-connection-list button:hover,[data-theme=dark] .ontology-edge-list button:hover,[data-theme=dark] .ontology-node-chip-list button:hover,[data-theme=dark] .decision-button,[data-theme=dark] .decision-actions button{background:var(--accent-bg);border-color:var(--accent-border);color:var(--teal)}[data-theme=dark] .graph-status-seed,[data-theme=dark] .reference-chip,[data-theme=dark] .attention-sequence,[data-theme=dark] .queue-row>span:last-child,[data-theme=dark] .resolver-table-row>span:last-child,[data-theme=dark] .system-row span,[data-theme=dark] .xref-votes,[data-theme=dark] .decision-actions button:last-child{background:var(--warning-bg);border-color:var(--warning-border);color:var(--gold)}[data-theme=dark] .kind-badge{background:var(--badge-bg)}[data-theme=dark] .kind-person{background:var(--kind-person-bg);color:var(--kind-person)}[data-theme=dark] .attention-primary{background:var(--kind-person-bg);color:var(--teal)}[data-theme=dark] .kind-place{background:var(--kind-place-bg);color:var(--kind-place)}[data-theme=dark] .kind-event,[data-theme=dark] .confidence-low{background:var(--kind-event-bg);color:var(--berry)}[data-theme=dark] .kind-book,[data-theme=dark] .kind-passage{background:var(--kind-book-bg);color:var(--blue)}[data-theme=dark] .kind-theme,[data-theme=dark] .attention-evidence,[data-theme=dark] .confidence-symbolic,[data-theme=dark] .cluster-topline span{background:var(--kind-theme-bg);color:var(--violet)}[data-theme=dark] .kind-command{background:var(--kind-command-bg);color:var(--kind-command)}[data-theme=dark] .kind-attribute{background:var(--kind-attribute-bg);color:var(--kind-attribute)}[data-theme=dark] .kind-divineName{background:var(--kind-divine-name-bg);color:var(--kind-divine-name)}[data-theme=dark] .kind-source,[data-theme=dark] .confidence-high{background:var(--kind-source-bg);color:var(--green)}[data-theme=dark] .confidence-medium{background:var(--kind-place-bg);color:var(--gold)}[data-theme=dark] .attention-weak{background:var(--neutral-bg);color:var(--neutral-text)}[data-theme=dark] .source-list a,[data-theme=dark] .graph-source-info-source-row a,[data-theme=dark] .graph-source-info-source-row span,[data-theme=dark] .ontology-node-chip-list button,[data-theme=dark] .inspector-mode strong,[data-theme=dark] .passage-search-result-row{background:var(--source-bg);border-color:var(--source-border);color:var(--teal)}[data-theme=dark] .graph-mobile-landing,[data-theme=dark] .graph-mobile-actions button{background:var(--surface-glass-94);border-color:var(--line)}[data-theme=dark] .verse-preview-panel{background:var(--surface-glass-98);border-color:var(--line);box-shadow:var(--shadow);color:var(--muted)}[data-theme=dark] .verse-preview-panel[data-placement=above]:after{border-top-color:var(--surface-glass-98)}[data-theme=dark] .verse-preview-panel[data-placement=below]:after{border-bottom-color:var(--surface-glass-98)}[data-theme=dark] .verse-preview-panel span,[data-theme=dark] .chapter-reader-body,[data-theme=dark] .chapter-reader-body>p,[data-theme=dark] .chapter-reader-verses p,[data-theme=dark] .chapter-reader-verses span{color:var(--ink)}[data-theme=dark] .chapter-reader-verses p.is-active{background:var(--warning-bg);outline-color:var(--warning-border)}[data-theme=dark] .chapter-reader-verses sup{color:var(--gold)}[data-theme=dark] .graph-edge text,[data-theme=dark] .graph-node text{stroke:var(--paper)}[data-theme=dark] .passage-skeleton-list span{background:linear-gradient(90deg, var(--neutral-bg) 25%, var(--skeleton-highlight) 45%, var(--neutral-bg) 65%);background-size:240% 100%}@media (width<=1180px){.graph-floating-bar{flex-wrap:wrap;align-items:flex-start;max-height:none;overflow:visible}.graph-floating-section{max-width:100%}.graph-floating-left{flex:min(420px,100%);max-width:min(620px,100vw - 146px)}.graph-floating-right{margin-left:auto}.graph-focus-title.floating{border-left:1px solid var(--line);border-top:0;padding-top:0;padding-left:10px}.graph-floating-actions{flex-wrap:nowrap;justify-content:flex-start;padding-bottom:2px;overflow-x:auto}.graph-mode-controls{align-items:center;padding-bottom:2px;display:flex;overflow-x:auto}.graph-lens-switcher,.graph-options-button{flex:none}.graph-search-overlay,.graph-details-overlay,.graph-trail-overlay{top:204px}.graph-timeline-panel{left:14px;right:14px}.graph-canvas-app .graph-layout-status{top:204px}.graph-workspace-shell{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.graph-context-rail{border-left:0;border-top:1px solid var(--line);grid-column:1/-1;max-height:36dvh}.edge-claim-grid{grid-template-columns:1fr}.shell{grid-template-columns:minmax(230px,300px) minmax(0,1fr)}.evidence-panel{border-left:0;border-top:1px solid var(--line);grid-column:1/-1}.claim-list{grid-template-columns:repeat(2,minmax(0,1fr))}.resolver-shell,.passage-shell{grid-template-columns:minmax(250px,320px) minmax(0,1fr)}.ontology-shell{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;overflow:visible}.ontology-graph-panel{min-height:680px}.ontology-inspector{border-left:0;border-top:1px solid var(--line)}.resolver-shell .evidence-panel,.passage-shell .evidence-panel{grid-column:1/-1}.cluster-grid,.review-grid,.xref-columns{grid-template-columns:1fr}}@media (width<=820px){.topbar,.shell,.graph-workspace-shell{display:block}.topbar{position:static}.stat-strip{justify-content:flex-start;margin-top:14px}.search-panel,.workspace,.evidence-panel,.graph-search-rail,.graph-context-rail{border:0;border-bottom:1px solid var(--line)}.graph-workspace-shell{height:auto;min-height:0;overflow:visible}.graph-canvas-app{height:100dvh;min-height:100dvh;overflow:hidden}.graph-floating-bar{flex-wrap:nowrap;align-items:flex-start;gap:6px;top:8px;left:8px;right:8px}.graph-floating-section{min-height:42px;padding:4px}.graph-floating-left{flex:auto;max-width:calc(100vw - 82px);padding-right:10px}.graph-floating-right{flex:none}.graph-focus-title.floating{min-width:0}.graph-focus-title.floating strong{text-overflow:ellipsis;white-space:nowrap;max-width:42vw;display:block;overflow:hidden}.graph-mode-controls{display:none}.graph-mobile-landing{background:var(--surface-glass-94);border:1px solid var(--line);box-shadow:var(--shadow-medium);z-index:24;gap:10px;padding:10px;display:grid;position:absolute;top:64px;left:8px;right:8px}.graph-mobile-landing-copy{display:block}.graph-mobile-landing-copy>span{gap:2px;min-width:0;display:grid}.graph-mobile-landing-copy strong{color:var(--ink);font-size:.9rem;line-height:1.15}.graph-mobile-landing-copy small{color:var(--muted);font-size:.76rem;line-height:1.25}.graph-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.graph-mobile-actions button{background:var(--surface-glass-82);border:1px solid var(--line);color:var(--teal);cursor:pointer;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:0 8px;font-size:.82rem;display:inline-flex}.graph-mobile-actions button:hover,.graph-mobile-actions button:focus-visible{background:var(--accent-bg);border-color:var(--accent-border);outline:0}.graph-canvas-app.has-graph-overlay .graph-mobile-landing{display:none}.graph-canvas-app .sigma-frame{opacity:.3;pointer-events:none}.graph-canvas-app .sigma-controls,.graph-canvas-app .graph-legend,.graph-canvas-app .graph-legend-toggle{display:none}.graph-options-backdrop,.graph-source-info-backdrop{align-items:flex-end;padding:8px}.graph-options-dialog,.graph-source-info-dialog{width:100%;max-height:min(680px,100dvh - 16px)}.graph-node-type-grid,.graph-theme-options,.graph-emphasis-options{grid-template-columns:1fr 1fr}.passage-header{grid-template-columns:minmax(0,1fr)}.passage-graph-button{width:fit-content}.graph-floating-actions{flex-wrap:nowrap;padding-bottom:2px;overflow-x:auto}.graph-floating-actions button{flex:none}.graph-search-overlay,.graph-details-overlay,.graph-trail-overlay{z-index:50;width:auto;inset:112px 8px 8px}.graph-timeline-panel{z-index:38;min-width:0;bottom:8px;left:8px;right:8px}.graph-timeline-slider{width:auto;transform:none}.graph-timeline-heading,.graph-timeline-active-row{align-items:stretch}.graph-timeline-window{grid-template-columns:1fr 1fr}.graph-timeline-window button:nth-child(n+5){display:none}.graph-timeline-active-card{grid-template-columns:auto minmax(0,1fr)}.graph-timeline-active-card em{display:none}.graph-timeline-minimized{width:min(360px,100vw - 16px);max-width:calc(100vw - 16px);bottom:64px;left:8px;right:auto;transform:none}.graph-evidence-overlay.edge-drawer{max-height:52dvh;bottom:8px;left:8px;right:8px}.graph-details-minimized,.graph-evidence-minimized{width:auto;bottom:8px;left:8px;right:8px}.graph-peek-action{z-index:36;bottom:8px;right:8px}.graph-timeline-window{display:none}.graph-canvas-app .graph-layout-status{display:none;top:auto;bottom:142px;left:8px}.graph-stage{min-height:76vh;overflow:visible}.ontology-graph-panel{min-height:560px;padding:8px}.graph-workspace-toolbar{grid-template-columns:1fr}.graph-lens-switcher,.graph-options-button,.graph-action-group{width:100%}.graph-lens-switcher button,.graph-action-group button{flex:1 1 0}.property-grid,.claim-list{grid-template-columns:1fr}.graph-frame,.graph-svg,.sigma-canvas,.sigma-container{min-height:360px}.sigma-frame{grid-template-rows:minmax(360px,58vh) auto}.view-switch{width:100%}.view-switch button{flex:1 1 0}.resolver-metrics,.resolver-table-row{grid-template-columns:1fr}.resolver-table-row .kind-badge{display:none}.passage-metrics,.xref-stat-grid,.xref-row{grid-template-columns:1fr}}
