:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#20201d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--app-bg:#f7f5f0;--grid-bg:#f7f5f0;--grid-line:#ebe6db;--ink:#20201d;--muted:#6f6a61;--line:#d8d2c5;--paper:#fffdf8;--panel:#fbfaf6;--teal:#1f6f68;--green:#5b7d32;--berry:#9b3d56;--gold:#9a6818;--blue:#356f9b;--violet:#70579d;--shadow:0 18px 45px #2d281e1f;background:#f7f5f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#f2f0e8;--app-bg:#0e1112;--grid-bg:#0e1112;--grid-line:#1f2928;--ink:#f2f0e8;--muted:#aeb8b2;--line:#34413f;--paper:#171d1e;--panel:#121718;--teal:#7fc7bd;--green:#a6cb79;--berry:#df819e;--gold:#d8a84f;--blue:#8abce3;--violet:#b59add;--shadow:0 18px 45px #00000061;background:#0e1112}*{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}.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);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:10;background:#fffdf8eb;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{width:34px;height:34px;color:var(--teal);background:#e8f0eb;border:1px solid #bfcfc6;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);min-height:30px;color:var(--muted);background:#fffaf0;align-items:center;gap:7px;padding:5px 8px;display:inline-flex}.graph-status{border:1px solid var(--line);min-height:34px;color:var(--muted);background:#fffdf8;align-items:center;padding:7px 10px;font-size:.82rem;display:inline-flex}.graph-status-generated{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.graph-status-seed{color:var(--gold);background:#fff7e7;border-color:#d4c3a1}.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%;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);cursor:pointer;text-transform:capitalize;background:#fffdf8;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:0 10px;display:inline-flex}.kind-tab.is-active{color:var(--teal);background:#eaf3ef;border-color:#7fb0a8}.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:#8db7af;box-shadow:0 8px 22px #1f6f681c}.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{width:30px;height:30px;color:var(--teal);background:#fff;border:1px solid;flex:none;place-items:center;display:inline-grid}.kind-badge.large{width:38px;height:38px}.kind-person{color:var(--teal);background:#eaf3ef}.kind-place{color:var(--gold);background:#fff3dc}.kind-event{color:var(--berry);background:#fae9ee}.kind-book,.kind-passage{color:var(--blue);background:#e8f1f7}.kind-theme{color:var(--violet);background:#f0ecf8}.kind-source{color:var(--green);background:#edf4e5}.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);min-height:30px;color:var(--muted);background:#fbfaf6;align-items:center;gap:6px;padding:0 8px;text-decoration:none;display:inline-flex}.icon-link:hover{color:var(--teal);border-color:#95bbb4}.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{color:#6d4a13;cursor:pointer;font:inherit;background:#fff7e7;border:1px solid #d4c3a1;padding:3px 6px;font-size:.76rem;display:inline-flex;position:relative}.reference-chip:hover,.reference-chip:focus-visible{border-color:#af852b;outline:0}.verse-preview-panel{border:1px solid var(--line);box-sizing:border-box;color:var(--muted);overflow-wrap:anywhere;pointer-events:none;text-transform:none;white-space:normal;z-index:1200;background:#fffdf8fa;gap:7px;padding:11px 12px;line-height:1.45;display:grid;position:fixed;overflow:auto;box-shadow:0 18px 38px #2d281e29}.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:#fffdf8fa;bottom:-14px}.verse-preview-panel[data-placement=below]:after{border-bottom-color:#fffdf8fa;top:-14px}.verse-preview-panel strong{color:var(--ink);font-size:.86rem;line-height:1.2}.verse-preview-panel span{color:#111}.theme-signal-list{gap:8px;display:grid}.theme-signal-chip{color:var(--muted);text-align:left;background:#fbf8ff;border:1px solid #d8ccec;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{color:var(--violet);background:#f0ecf8;border-color:#b8a6d5;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{z-index:1300;background:#1a181457;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.chapter-reader{border:1px solid var(--line);background:#fffdf8;grid-template-rows:auto minmax(0,1fr);width:min(960px,100vw - 32px);height:min(840px,100dvh - 32px);display:grid;box-shadow:0 28px 80px #1a181447}.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:#111;padding:18px;overflow:auto}.chapter-reader-body>p{color:#111;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:#111;margin:0;padding:8px 10px;line-height:1.65}.chapter-reader-verses p.is-active{background:#fff4d7;outline:1px solid #d4c3a1}.chapter-reader-verses sup{color:#6d4a13;margin-right:7px;font-size:.7rem;font-weight:700;top:-.35em}.chapter-reader-verses span{color:#111}.graph-frame{border:1px solid var(--line);background-color:#fffdf8;background-image:linear-gradient(#ebe6db 1px,#0000 1px),linear-gradient(90deg,#ebe6db 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;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{touch-action:none;background:#fffdf89e;width:100%;height:100%;min-height:520px}.sigma-frame.is-fullscreen .sigma-container{min-height:0}.sigma-container canvas{display:block}.sigma-controls{border:1px solid var(--line);box-shadow:var(--shadow);z-index:5;background:#fffdf8eb;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{color:var(--teal);outline:1px solid var(--teal);outline-offset:-1px;background:#eaf3ef}.graph-layout-status{border:1px solid var(--line);box-shadow:var(--shadow);color:var(--muted);z-index:6;background:#fffdf8eb;align-items:center;gap:9px;padding:8px 10px;display:inline-flex;position:absolute;top:12px;left:12px}.graph-spinner{border:2px solid #d8d2c5;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:#302d276b}.graph-edge marker path{fill:#302d2773}.graph-edge text{fill:var(--muted);paint-order:stroke;stroke:#fffdf8;stroke-width:5px;stroke-linecap:round;font-size:12px}.graph-node{cursor:pointer;outline:none}.graph-node circle{fill:#fffdf8;stroke:#a9a293;stroke-width:2px;filter:drop-shadow(0 10px 16px #2c261c29)}.graph-node.is-selected circle{fill:#eaf3ef;stroke:var(--teal);stroke-width:3px}.node-icon{width:100%;height:100%;color:var(--teal);place-items:center;display:grid}.graph-node.node-place .node-icon{color:var(--gold)}.graph-node.node-event .node-icon{color:var(--berry)}.graph-node.node-book .node-icon,.graph-node.node-passage .node-icon{color:var(--blue)}.graph-node.node-theme .node-icon{color:var(--violet)}.graph-node text{text-anchor:middle;fill:var(--ink);paint-order:stroke;stroke:#fffdf8;stroke-width:5px;stroke-linecap:round;font-size:13px;font-weight:700}.graph-legend{border-top:1px solid var(--line);color:var(--muted);background:#fffdf8eb;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{border:1px solid var(--line);color:var(--muted);cursor:pointer;background:#fffdf8;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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:#fff;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{background:#f7fbf8;border-color:#bfcfc6}.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-color:#f7f5f0;background-image:linear-gradient(#ebe6db 1px,#0000 1px),linear-gradient(90deg,#ebe6db 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;min-height:0;padding:12px;display:grid;overflow:hidden}.graph-canvas-app{background-color:#f7f5f0;background-image:linear-gradient(#ebe6db 1px,#0000 1px),linear-gradient(90deg,#ebe6db 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;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:#fffdf861}.graph-canvas-app .graph-legend{border:1px solid var(--line);z-index:12;max-width:min(760px,100vw - 28px);max-height:21dvh;position:absolute;bottom:58px;left:14px;overflow:hidden;box-shadow:0 12px 30px #2d281e1a}.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);color:var(--ink);cursor:pointer;background:#fbfaf6;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{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);pointer-events:auto;background:#fffdf8eb;border:1px solid #d8d2c5e6;align-items:center;gap:8px;min-width:0;padding:6px;display:flex;box-shadow:0 8px 18px #2d281e12}.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:#dfece6;border-color:#8db7af}.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);color:var(--muted);cursor:pointer;min-height:var(--graph-top-control-height,32px);white-space:nowrap;background:#fffdf8d1;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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);color:var(--paper);content:attr(data-tooltip);opacity:0;pointer-events:none;visibility:hidden;white-space:nowrap;z-index:80;border:1px solid #fffdf838;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);box-shadow:0 10px 24px #1a18142e}.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{border:1px solid var(--line);box-shadow:var(--shadow);z-index:40;background:#fffdf8f5;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{box-shadow:none;z-index:3;background:#fffdf8fa;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{border:1px solid var(--line);z-index:42;background:#fffdf8f5;align-items:center;gap:8px;min-height:48px;padding:8px;display:flex;position:absolute;box-shadow:0 16px 38px #2d281e1f}.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{border-color:var(--line);background:#fffdf8d1;flex:none;justify-content:center;width:30px;height:30px;padding:0}.graph-minimized-panel:hover,.graph-minimized-close:hover{border-color:#9dbeb6}.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{border:1px solid var(--line);z-index:22;background:#fffdf8f0;position:absolute;box-shadow:0 16px 38px #2d281e1f}.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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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);color:var(--muted);cursor:pointer;text-align:left;background:#fffdf8d1;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{accent-color:var(--teal);cursor:grab;width:100%}.graph-timeline-scrubber input:active{cursor:grabbing}.graph-timeline-window{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.graph-timeline-window button{border:1px solid var(--line);color:var(--muted);cursor:pointer;text-align:left;background:#fffdf8b8;gap:3px;min-height:42px;padding:6px;display:grid}.graph-peek-action{z-index:18;gap:8px;min-height:34px;padding:4px 14px;position:absolute;bottom:14px;right:14px;box-shadow:0 16px 38px #2d281e1f}.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:#fbfaf6;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);color:var(--muted);cursor:pointer;text-align:left;background:#fffdf8c7;gap:7px;min-width:0;padding:9px;display:grid}.trail-card:hover{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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:#fbfaf6;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);color:var(--muted);cursor:pointer;background:#fffdf8db;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.trail-detail-actions button:hover,.passage-graph-button:hover{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.trail-step-list,.trail-edge-list{gap:8px;display:grid}.trail-step{border:1px solid var(--line);background:#fffdf8bd;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:#fbfaf6;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:#9a6a1f47}.timeline-context-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.timeline-context-metrics span{border:1px solid var(--line);color:var(--muted);background:#fffdf8c2;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);color:var(--muted);background:#fffdf8c2;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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);color:var(--muted);background:#fffdf8c2;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:#fffdf8c2;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);color:var(--muted);background:#fbfaf6;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{border:1px solid var(--line);background:#fffdf8f0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px;display:grid;box-shadow:0 12px 28px #2d281e14}.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{color:var(--teal);background:#eaf3ef}.graph-options-button{border:1px solid var(--line);color:var(--muted);cursor:pointer;height:var(--graph-top-control-height,32px);min-height:var(--graph-top-control-height,32px);text-align:left;background:#fffdf8d1;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.graph-options-backdrop{z-index:1350;background:#1a18143d;justify-content:flex-end;align-items:flex-start;padding:72px 14px 14px;display:flex;position:fixed;inset:0}.graph-options-dialog{border:1px solid var(--line);background:#fffdf8;grid-template-rows:auto minmax(0,1fr);width:min(430px,100vw - 28px);max-height:min(620px,100dvh - 92px);display:grid;box-shadow:0 28px 80px #1a18143d}.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);color:var(--muted);cursor:pointer;background:#fffdf8d1;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.graph-options-heading button:hover{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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(2,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);color:var(--muted);cursor:pointer;background:#fbfaf6;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.graph-node-type-option{border:1px solid var(--line);cursor:pointer;background:#fbfaf6;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:#f0f7f4;border-color:#9dbeb6}.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{z-index:1360;background:#1a18143d;justify-content:flex-start;align-items:flex-start;padding:72px 14px 14px;display:flex;position:fixed;inset:0}.graph-source-info-dialog{border:1px solid var(--line);background:#fffdf8;grid-template-rows:auto minmax(0,1fr);width:min(470px,100vw - 28px);max-height:min(620px,100dvh - 92px);display:grid;box-shadow:0 28px 80px #1a18143d}.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);color:var(--muted);cursor:pointer;background:#fffdf8d1;justify-content:center;align-items:center;width:30px;height:30px;padding:0;display:inline-flex}.graph-source-info-heading button:hover{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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:#fbfaf6;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{color:var(--teal);background:#edf5ef;border:1px solid #bfcfc6;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{border:1px solid var(--line);color:var(--muted);background:#fbfaf6}.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{color:var(--teal);text-transform:uppercase;background:#eaf3ef;border:1px solid #bfcfc6;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:#fbfaf6;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{color:var(--teal);background:#eaf3ef;border-color:#9dbeb6}.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{color:var(--teal);background:#eaf3ef}.attention-context{color:var(--muted);background:#fbfaf6}.attention-sequence{color:var(--gold);background:#fff4dc}.attention-evidence{color:var(--violet);background:#f1ecf8}.attention-weak{color:#8b7d6d;background:#f1eee8}.edge-drawer{border:1px solid var(--line);background:#fffdf8f5;min-height:96px;max-height:30dvh;padding:12px;overflow:auto;box-shadow:0 -12px 34px #2d281e1a}.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);color:var(--muted);cursor:pointer;background:#fbfaf6;align-items:center;gap:7px;min-height:34px;padding:0 10px;display:inline-flex}.edge-chip-list button:hover{color:var(--teal);border-color:#8db7af}.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-color:#f7f5f0;background-image:linear-gradient(#ebe6db 1px,#0000 1px),linear-gradient(90deg,#ebe6db 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:36px 36px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;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{border:1px solid var(--line);color:var(--muted);background:#fbfaf6;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{border:1px solid var(--line);color:var(--ink);cursor:pointer;text-align:left;background:#fbfaf6;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{color:var(--teal);border-color:#9dbeb6}.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{color:var(--teal);cursor:pointer;background:#eaf3ef;border:1px solid #bfcfc6;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:#fbfaf6;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:#eef6e8}.confidence-medium{color:var(--gold);background:#fff4dc}.confidence-low{color:var(--berry);background:#fae9ee}.confidence-symbolic{color:var(--violet);background:#f1ecf8}.source-list{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.source-list a{color:var(--teal);background:#edf5ef;border:1px solid #bfcfc6;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:#fffdf8;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{color:var(--teal);background:#eaf3ef}.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:#8db7af;box-shadow:0 8px 22px #1f6f681c}.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{color:#6d4a13;overflow-wrap:anywhere;background:#fff7e7;border:1px solid #d4c3a1;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{color:var(--violet);background:#f1ecf8;border:1px solid #c2b3d8;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:#fbfaf6;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:#8db7af}.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);color:var(--teal);cursor:pointer;background:#eaf3ef;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{color:#6d4a13;background:#fff7e7}.resolver-save-status{color:var(--teal);background:#f7fbf8;border:1px solid #bfcfc6;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{background:#f7fbf8;border-color:#bfcfc6}.mapping-list{margin-top:12px}.mapping-row{border-top:1px solid #dbe6de;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:#8db7af;box-shadow:0 8px 22px #1f6f681c}.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:#fbfaf6;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);color:var(--muted);background:#fbfaf6;padding:5px 7px;font-size:.78rem}.xref-votes{color:#6d4a13;background:#fff7e7;border-color:#d4c3a1}.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}.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,#f4f0e8 25%,#fffdf8 45%,#f4f0e8 65%) 0 0/240% 100%;height:52px;animation:1.2s ease-in-out infinite skeleton-pan}.xref-state{border:1px solid var(--line);min-height:58px;color:var(--muted);background:#fbfaf6;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:#121718f0;border-color:#34413feb;box-shadow:0 8px 18px #00000038}[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:#0f1314b3}[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{color:#101718;background:#dcebe4;border-color:#dcebe4}[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{border-color:var(--line);box-shadow:var(--shadow);background:#171d1ef7}[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:#03060794}[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{color:var(--teal);background:#1d302f;border-color:#557b75}[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{color:var(--gold);background:#2b2416;border-color:#6e5729}[data-theme=dark] .kind-badge{background:#101718}[data-theme=dark] .kind-person,[data-theme=dark] .attention-primary{color:var(--teal);background:#7fc7bd29}[data-theme=dark] .kind-place{color:var(--gold);background:#d8a84f29}[data-theme=dark] .kind-event,[data-theme=dark] .confidence-low{color:var(--berry);background:#df819e29}[data-theme=dark] .kind-book,[data-theme=dark] .kind-passage{color:var(--blue);background:#8abce329}[data-theme=dark] .kind-theme,[data-theme=dark] .attention-evidence,[data-theme=dark] .confidence-symbolic,[data-theme=dark] .cluster-topline span{color:var(--violet);background:#b59add29}[data-theme=dark] .kind-source,[data-theme=dark] .confidence-high{color:var(--green);background:#a6cb7926}[data-theme=dark] .confidence-medium{color:var(--gold);background:#d8a84f29}[data-theme=dark] .attention-weak{color:#89938f;background:#151a1b}[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{color:var(--teal);background:#18302e;border-color:#426a64}[data-theme=dark] .graph-mobile-landing,[data-theme=dark] .graph-mobile-actions button{border-color:var(--line);background:#171d1ef0}[data-theme=dark] .verse-preview-panel{border-color:var(--line);box-shadow:var(--shadow);color:var(--muted);background:#171d1efa}[data-theme=dark] .verse-preview-panel[data-placement=above]:after{border-top-color:#171d1efa}[data-theme=dark] .verse-preview-panel[data-placement=below]:after{border-bottom-color:#171d1efa}[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:#2b2416;outline-color:#6e5729}[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,#151a1b 25%,#222b2a 45%,#151a1b 65%) 0 0/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{border:1px solid var(--line);z-index:24;background:#fffdf8f0;gap:10px;padding:10px;display:grid;position:absolute;top:64px;left:8px;right:8px;box-shadow:0 10px 24px #2d281e14}.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{border:1px solid var(--line);color:var(--teal);cursor:pointer;background:#fffdf8d1;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:#eaf3ef;border-color:#9dbeb6;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-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}}
