:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#222222;background:#f8f8f8;font-synthesis:none;font-size:14px;--muted:#5b5b5b;--border:#eaeaea;--accent:#222222;--light:#f8f8f8}
main{padding-bottom:36px!important}
.node-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.github-link{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:5px;color:#5b5b5b;text-decoration:none}
.github-link:hover{background:#f8f8f8;color:#222222}
.graph-source-link{color:#5b5b5b}
.graph-source-link rect{fill:transparent;stroke:transparent}
.graph-source-link:hover rect,.graph-source-link:focus-visible rect{stroke:#5b5b5b;fill:#eaeaea}
.graph-source-link:focus-visible{outline:none}
.graph-source-link:focus-visible rect{stroke-width:2}
.graph-source-link.selected{color:#eaeaea}
.graph-source-link.selected:hover rect,.graph-source-link.selected:focus-visible rect{stroke:#d5d5d5;fill:#5b5b5b}
.node-heading-actions{display:flex;align-items:center;gap:12px}
.graph-connection{cursor:pointer}
.graph-edge-hit{fill:none;stroke:transparent;stroke-width:18}
.graph-connection:hover .graph-edge,.graph-connection:focus-visible .graph-edge{stroke:#222222;stroke-width:2.5}
.graph-connection:focus-visible{outline:2px solid #5b5b5b;outline-offset:5px}
.graph-node:focus-visible{outline:none}
.graph-node:focus-visible rect{stroke:#5b5b5b;stroke-width:3}
.context-dialog{width:650px;max-width:calc(100vw - 32px);max-height:88vh;padding:28px;font-size:14px;line-height:1.5}
.context-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.context-dialog-heading h2{font-size:22px}
.context-close{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:6px;background:#f8f8f8;color:#222222;font-size:25px;line-height:1}
.context-close:hover{background:#eaeaea}
.context-field{display:block;margin:0 0 16px;font-size:14px;font-weight:550}
.context-field input,.context-field select,.context-field textarea{display:block;margin-top:7px;font:400 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.context-field textarea{width:100%;resize:vertical;min-height:100px;padding:11px 12px;border:1px solid #d5d5d5;border-radius:7px;color:#222222;background:white;outline-offset:4px}
.context-field textarea:focus-visible{outline:2px solid #5b5b5b}
.context-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}
.context-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #222222;border-radius:7px;padding:9px 15px;background:#222222;color:white;font:550 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none}
.context-button:hover{background:#222222}
.context-button.secondary{border-color:#d5d5d5;background:white;color:#222222}
.context-button.secondary:hover,.context-button.secondary[aria-expanded="true"]{background:#f8f8f8;border-color:#939393}
.context-button:disabled{opacity:.6}
.context-editor,.context-search{padding:20px;margin:18px 0 22px;border:1px solid #eaeaea;border-radius:9px;background:#f8f8f8}
.context-editor>.context-actions:last-child{margin-bottom:0}
.context-note{color:var(--muted);font-size:14px;font-weight:400;line-height:1.6;margin:10px 0 16px;overflow-wrap:anywhere}
.context-choices,.context-items{display:grid;gap:10px}
.context-choice{display:grid;gap:6px;padding:16px;text-align:left;background:#f8f8f8;border:1px solid #eaeaea;border-radius:8px;color:#222222;font-size:14px;overflow-wrap:anywhere}
.context-choice:hover{background:#f8f8f8;border-color:#939393}
.context-choice strong{font-size:16px;text-transform:capitalize}
.context-choice .context-note{margin:0}
.context-item{border:1px solid var(--border);border-radius:8px;background:white;min-width:0}
.context-item>summary{position:relative;cursor:pointer;padding:15px 16px;font-size:15px;line-height:1.5;color:#222222;overflow-wrap:anywhere}
.context-item-title{font-weight:550}
.context-kind{color:var(--muted);font-size:14px;margin-left:12px;font-weight:400}
.context-item-content{padding:0 16px 16px}
.context-copy{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:4px 0 16px}
.context-link{font-size:14px;font-weight:500;text-underline-offset:3px;overflow-wrap:anywhere}
.context-text-button{font:400 14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:0;padding:0;background:transparent;color:var(--accent);text-align:left;text-decoration:underline;text-underline-offset:3px}
.context-remove{margin-left:auto;color:#8e5149}
.context-metadata{font-size:14px;color:var(--muted)}
.context-metadata summary{cursor:pointer;font-size:14px}
.context-metadata dl{display:grid;grid-template-columns:125px minmax(0,1fr);gap:10px 14px;margin:16px 0 0;line-height:1.6}
.context-metadata dt{font-weight:500}.context-metadata dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
.connection-details{margin:18px 0 0}
.context-status{font-size:14px;line-height:1.6;background:#f8f8f8;padding:12px 14px;border-radius:7px;color:#222222}
.context-status.error{background:#f8f8f8;color:#9a3b2d;border:1px solid #d5d5d5}
.context-results{display:grid;gap:18px}
.context-result{border-top:1px solid #eaeaea;padding-top:18px}
.context-result p{font-size:14px;color:var(--muted);margin:10px 0 14px;overflow-wrap:anywhere}
.context-result>.context-link{font-size:16px;line-height:1.5}
@media(max-width:650px){.context-dialog{padding:20px}.context-editor,.context-search{padding:16px}.context-metadata dl{grid-template-columns:1fr;gap:4px}.context-metadata dd{margin-bottom:12px}.context-dialog-heading{margin-bottom:18px}}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{outline-offset:4px}button{cursor:pointer}button:disabled,input:disabled,select:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #5b5b5b}a{color:var(--accent)}.topbar{height:70px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:white}.brand{text-decoration:none;color:#222222;font-size:17px;font-weight:700;display:flex;align-items:center;gap:10px}.brand-mark{background:#222222;color:#eaeaea;display:grid;place-items:center;width:29px;height:29px;border-radius:8px;font-size:23px}.local-label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}main{max-width:1440px;margin:0 auto;padding:36px 42px 0}.page-heading{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-bottom:26px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--accent);margin:0 0 9px}h1{font-size:31px;font-weight:620;letter-spacing:-1px;margin:0 0 10px}h2{font-size:20px;letter-spacing:-.4px;font-weight:620;margin:0}h3{font-size:16px;margin:0 0 9px}p{line-height:1.5}.lede{margin:0;color:var(--muted)}.graph-select{width:370px;max-width:43%}label{font-size:12px;display:block;margin-bottom:7px;font-weight:600}select,input{width:100%;border:1px solid #d5d5d5;border-radius:7px;background:white;padding:11px 12px;color:#222222;min-width:0}input::placeholder{color:#5b5b5b}.text-button{background:none;border:none;color:var(--accent);padding:8px 0;font-size:12px}.snapshot{display:flex;flex-wrap:wrap;gap:10px 22px;padding:14px 18px;border:1px solid var(--border);border-radius:8px;background:#f8f8f8;margin:0 0 23px;font-size:12px}.snapshot-item{display:flex;gap:7px;align-items:center;min-width:0}.snapshot-label{color:var(--muted)}.snapshot-value{font-weight:550;overflow-wrap:anywhere}.snapshot code{font-size:11px}.routing-panel{border:1px solid var(--border);background:white;border-radius:12px;padding:23px;margin-bottom:30px;box-shadow:0 2px 3px #22222203}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.quiet-badge{font-size:11px;color:var(--muted);background:#f8f8f8;border:1px solid var(--border);border-radius:6px;padding:6px 9px}.search-row{display:flex;gap:10px}.search-row input{padding:13px 14px;background:#f8f8f8}.search-row button{border:none;border-radius:7px;background:#222222;color:white;white-space:nowrap;padding:0 21px;font-size:13px;font-weight:600}.search-row button span{margin-left:14px}.field-note{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}.legend{display:flex;gap:6px}.badge{display:inline-flex;align-items:center;font-size:10px;padding:4px 7px;border-radius:4px;line-height:1.2;white-space:nowrap;border:1px solid transparent}.declared{color:#5b5b5b;background:#f8f8f8;border-color:#eaeaea}.configured{color:#222222;background:#f8f8f8;border-color:#eaeaea}.observed{color:#222222;background:#f8f8f8;border-color:#eaeaea}.unknown{color:#926219;background:#f8f8f8;border-color:#eaeaea}.map-section>.field-note{margin-top:-5px;margin-bottom:15px;max-width:1000px}.map-layout{border:1px solid var(--border);border-radius:10px;display:grid;grid-template-columns:285px minmax(0,1fr);overflow:hidden;background:white;min-height:550px}.inventory{border-right:1px solid var(--border);background:#f8f8f8;min-width:0}.inventory-controls{padding:20px 17px 13px;border-bottom:1px solid var(--border)}.inventory-controls input{font-size:12px;padding:9px 10px}.inventory-controls select{font-size:12px;padding:8px 10px;margin-top:9px}.node-list{max-height:700px;overflow:auto;padding:7px}.node-button{width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:6px;padding:11px 10px;display:flex;gap:10px;align-items:flex-start;color:#222222}.node-button:hover{background:#f8f8f8}.node-button.selected{background:#f8f8f8;border-color:#d5d5d5;color:#222222}.node-type-icon{background:#eaeaea;color:#5b5b5b;width:25px;height:25px;border-radius:5px;display:grid;place-items:center;flex-shrink:0;font-size:13px}.node-button.selected .node-type-icon{background:#eaeaea;color:#222222}.node-button-label{font-size:12px;font-weight:560;overflow-wrap:anywhere;line-height:1.5}.node-button-kind{font-size:10px;color:var(--muted);margin-top:4px}.node-detail{padding:25px;min-width:0}.node-detail h2{overflow-wrap:anywhere}.node-kind{margin-bottom:8px;display:flex;gap:7px;align-items:center}.node-key{font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);overflow-wrap:anywhere;margin:9px 0 18px}.detail-section{margin-top:24px}.detail-section h3{font-size:12px;text-transform:uppercase;letter-spacing:.8px;color:#222222;margin-bottom:12px}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state h3{color:#222222}.empty-state p{font-size:13px;max-width:330px;margin:10px auto}.empty-icon{font-size:38px;color:#939393;display:block;margin-bottom:12px}.compact-empty{font-size:12px;color:var(--muted);margin:10px 0}.attribute-grid{margin:0;display:grid;grid-template-columns:minmax(100px,35%) minmax(0,1fr);font-size:12px;border:1px solid var(--border);border-radius:6px;overflow:hidden}.attribute-grid dt,.attribute-grid dd{padding:9px 12px;line-height:1.55;margin:0;border-bottom:1px solid #eaeaea;overflow-wrap:anywhere;white-space:pre-wrap}.attribute-grid dt{font-weight:500;background:#f8f8f8;color:#222222}.attribute-grid dd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.attribute-grid dt:last-of-type,.attribute-grid dd:last-of-type{border-bottom:0}.relationship-list{display:grid;gap:8px}.relation{border:1px solid var(--border);border-radius:6px;padding:12px}.relation-line{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px}.relation-label{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#5b5b5b}.node-link{padding:0;background:none;border:none;color:var(--accent);text-align:left;font-weight:550;overflow-wrap:anywhere;max-width:100%}.node-link:hover{text-decoration:underline}.evidence-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.evidence-link{border:1px solid #eaeaea;background:#f8f8f8;color:#222222;border-radius:4px;padding:4px 7px;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:left;overflow-wrap:anywhere;max-width:100%}.evidence-link:hover{background:#f8f8f8;color:#222222}.metadata-details{margin-top:10px;font-size:11px}.metadata-details summary{cursor:pointer;color:var(--muted)}.metadata-details .attribute-grid{margin-top:9px}.neighborhood{background:#f8f8f8;border:1px solid var(--border);border-radius:7px;overflow:auto}.neighborhood>svg{display:block;width:100%;min-width:560px}.graph-node{cursor:pointer}.graph-node rect{fill:white;stroke:#d5d5d5}.graph-node:hover rect{fill:#f8f8f8;stroke:#5b5b5b}.graph-node text{font:11px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#222222}.graph-node.selected rect{fill:#222222;stroke:#222222}.graph-node.selected text{fill:white}.graph-edge{stroke:#d5d5d5;fill:none;stroke-width:1.25}.graph-edge-label{font:8px ui-monospace,monospace;fill:#5b5b5b;paint-order:stroke;stroke:#f8f8f8;stroke-width:4px;stroke-linejoin:round}.route-summary{padding-top:18px;margin-top:15px;border-top:1px solid var(--border);display:flex;align-items:center;gap:9px}.route-summary strong{font-size:13px}.candidate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));gap:12px;margin-top:15px}.candidate{border:1px solid #eaeaea;border-radius:8px;padding:17px;background:#f8f8f8;min-width:0}.candidate-heading{display:flex;gap:9px;align-items:flex-start;margin-bottom:9px}.candidate-number{display:grid;place-items:center;width:23px;height:23px;background:#eaeaea;color:#222222;border-radius:5px;font-size:11px;flex-shrink:0}.candidate-heading h3{font-size:13px;margin:3px 0 0;overflow-wrap:anywhere}.candidate p,.candidate ul{font-size:12px;color:#222222;line-height:1.6}.candidate ul{padding-left:18px;margin:8px 0}.route-path{border-top:1px solid var(--border);margin-top:12px;padding-top:10px}.route-path .relation-line{margin-top:7px;font-size:10px}.route-context{margin-top:18px}.context-list{display:flex;gap:6px;flex-wrap:wrap}.context-list .node-link{border:1px solid var(--border);border-radius:5px;padding:6px 8px;font-size:11px;background:#f8f8f8}.status-message,#route-status{font-size:12px;line-height:1.6;border-radius:7px;padding:12px 15px;margin-bottom:18px;background:#f8f8f8;color:#222222}#route-status{margin:14px 0 0}.status-message.error,#route-status.error{background:#f8f8f8;color:#9a3b2d;border:1px solid #d5d5d5}.unresolved-panel{margin-top:20px;border:1px solid #d5d5d5;background:#f8f8f8;border-radius:8px;padding:16px 20px}.unresolved-panel summary{font-size:12px;font-weight:600;cursor:pointer;color:#7b612b}.unresolved-item{font-size:12px;padding:12px 0;border-top:1px solid #eaeaea;overflow-wrap:anywhere}.unresolved-item:first-child{margin-top:12px}.unresolved-item p{margin:0}footer{padding:25px 0 30px;text-align:center;color:#939393;font-size:11px}dialog{border:1px solid var(--border);border-radius:12px;padding:25px;max-width:min(1000px,93vw);width:1000px;max-height:86vh;color:#222222;box-shadow:0 15px 80px #22222235}dialog::backdrop{background:#22222265;backdrop-filter:blur(2px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.dialog-heading h2{font-size:17px;overflow-wrap:anywhere}.icon-button{background:#f8f8f8;border:1px solid var(--border);width:29px;height:29px;border-radius:5px;font-size:20px;color:#222222;flex-shrink:0}#source-code{padding:18px;background:#f8f8f8;border:1px solid var(--border);border-radius:7px;overflow:auto;max-height:60vh;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4}#source-meta{overflow-wrap:anywhere}#source-status{font-size:12px;margin-top:13px;color:#8a5538}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(min-width:1500px){main{padding-top:45px}.page-heading{margin-bottom:32px}}@media(max-width:900px){main{padding:25px 20px 0}.topbar{padding:0 20px}.page-heading{align-items:flex-start;flex-direction:column;gap:20px}.graph-select{max-width:100%;width:100%}.map-layout{grid-template-columns:230px minmax(0,1fr)}.node-detail{padding:20px}.legend{flex-wrap:wrap;justify-content:flex-end}h1{font-size:28px}}@media(max-width:650px){.local-label{font-size:10px}.topbar{height:59px}.brand{font-size:14px}.map-layout{grid-template-columns:1fr}.inventory{border-right:0;border-bottom:1px solid var(--border)}.node-list{max-height:225px}.search-row{flex-direction:column}.search-row button{padding:13px}.routing-panel{padding:18px}.section-heading{align-items:flex-start}.map-section .section-heading{flex-direction:column}.map-section .legend{justify-content:flex-start}.attribute-grid{grid-template-columns:38% minmax(0,1fr)}.snapshot{gap:10px 15px}.node-detail{padding:18px}.quiet-badge{font-size:10px}.candidate-grid{grid-template-columns:1fr}}

/* The investigation is the primary view. Supporting detail stays readable and folded away. */
.lede{font-size:16px;max-width:650px}
.local-label,.eyebrow,label,.text-button,.field-note,.node-button-label,.node-key,.compact-empty,.status-message,.inventory-controls input,.inventory-controls select{font-size:14px}
.eyebrow{letter-spacing:1px}
.graph-select select{font-size:14px}
.node-heading-actions{flex-wrap:wrap}
.detail-section h3{font-size:14px;text-transform:none;letter-spacing:0}
.empty-state p{font-size:14px}
.neighborhood>svg{min-width:780px}
.graph-node text{font-size:14px}
.graph-node.investigation-highlight:not(.selected) rect{fill:#eaeaea;stroke:#5b5b5b;stroke-width:2}
.graph-node.investigation-highlight.selected rect{stroke:#222222;stroke-width:3}
.graph-connection.investigation-highlight .graph-edge{stroke:#5b5b5b;stroke-width:3}
.connection-citations{display:grid;gap:10px;margin:20px 0}
.connection-details{margin-top:0;padding-bottom:6px}
.investigation-section{margin-bottom:30px;min-width:0}
.investigation-form{display:flex;align-items:center;gap:20px;border:1px solid #d5d5d5;border-radius:12px;padding:20px;background:white;box-shadow:0 2px 3px #22222203}
.investigation-form textarea{display:block;flex:1;min-width:0;resize:vertical;max-height:240px;min-height:58px;border:0;border-radius:5px;padding:8px;color:#222222;background:white;font:400 17px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;outline-offset:3px}
.investigation-form textarea:focus-visible{outline:2px solid #5b5b5b}
.investigation-form textarea::placeholder{color:#5b5b5b}
.investigation-form>.context-button{font-size:16px;padding:13px 20px;gap:22px;min-width:162px;white-space:nowrap}
.investigation-hint{font-size:14px;color:var(--muted);margin:11px 2px 24px}
#investigation-status{font-size:15px;margin:20px 0}
#investigation-results{padding:26px;border:1px solid var(--border);border-radius:12px;background:white;min-width:0}
.investigation-result-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.investigation-result-heading h2{font-size:22px}
.investigation-note{color:var(--muted);font-size:15px;line-height:1.6;margin:8px 0 16px;overflow-wrap:anywhere}
.investigation-starting-point{margin:24px 0}
.investigation-source{font-size:20px;line-height:1.5;font-weight:600;letter-spacing:0;overflow-wrap:anywhere;margin-bottom:7px}
.investigation-source a{font-size:20px;font-weight:600;text-decoration:none}
.investigation-source a:hover{text-decoration:underline}
.investigation-symbol{font:400 14px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--muted);overflow-wrap:anywhere;margin:0 0 18px}
.investigation-path{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:22px 0 15px}
.path-node{min-height:40px;max-width:100%;border:1px solid #d5d5d5;border-radius:7px;padding:9px 12px;background:#f8f8f8;color:#222222;font-size:14px;font-weight:550;overflow-wrap:anywhere;text-align:left}
.path-node:hover{background:#eaeaea;border-color:#939393}
.path-edge{display:grid;place-items:center;width:32px;height:38px;border:0;border-radius:5px;background:transparent;color:#5b5b5b;font-size:23px}
.path-edge:hover{background:#f8f8f8}
.investigation-alternatives{margin:24px 0;font-size:15px;color:var(--muted)}
.investigation-alternatives>summary,.investigation-evidence>summary{cursor:pointer;line-height:1.6;padding:5px 0}
.investigation-other-paths{display:grid;gap:10px;margin:16px 0}
.investigation-other-path{display:grid;gap:7px;border:1px solid var(--border);border-radius:7px;background:#f8f8f8;padding:14px 16px;text-align:left;color:#222222;font-size:15px;overflow-wrap:anywhere;min-width:0}
.investigation-other-path span{font-size:14px;color:var(--muted);line-height:1.5}
.investigation-other-path:hover{background:#f8f8f8;border-color:#939393}
.investigation-evidence{border-top:1px solid var(--border);padding-top:18px;margin-top:20px}
.investigation-evidence>summary{font-size:16px;font-weight:550;color:#222222}
.investigation-evidence-content{margin-top:20px}
.investigation-evidence-section+.investigation-evidence-section{border-top:1px solid var(--border);margin-top:28px;padding-top:24px}
.investigation-evidence-section h3{font-size:17px;margin:0 0 15px}
.investigation-record{padding:15px 0}
.investigation-record+.investigation-record{border-top:1px solid #eaeaea}
.investigation-record h4,.investigation-edge-evidence h4{font-size:15px;font-weight:600;margin:0 0 8px;line-height:1.6;overflow-wrap:anywhere}
.investigation-record-value{font-size:18px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;margin:8px 0}
.investigation-integrity{font-size:14px;color:var(--muted);margin:12px 0}
.investigation-integrity summary{cursor:pointer}
.investigation-integrity .investigation-note{font-size:14px;overflow-wrap:anywhere}
.investigation-excerpt{border:1px solid var(--border);border-radius:7px;margin-top:10px;background:#f8f8f8;min-width:0}
.investigation-excerpt>summary{padding:14px 16px;font-size:15px;line-height:1.6;color:#222222;cursor:pointer;overflow-wrap:anywhere}
.investigation-purpose{margin-left:12px;font-size:14px;color:var(--muted)}
.investigation-excerpt-content{padding:2px 16px 16px;min-width:0}
.investigation-excerpt-content>.context-link{display:block;margin:10px 0}
.investigation-excerpt-content pre{max-height:400px;overflow:auto;padding:16px;margin:15px 0;background:#f8f8f8;border-radius:6px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4}
.investigation-citation{overflow-wrap:anywhere}
.investigation-provenance{display:grid;gap:16px}
.investigation-edge-evidence{border:1px solid var(--border);border-radius:8px;padding:18px;scroll-margin-top:20px}
.investigation-edge-evidence:focus{outline:2px solid #5b5b5b;outline-offset:3px}
.investigation-facts{display:grid;gap:10px;font-size:14px;margin:16px 0}
.investigation-fact{display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;line-height:1.6}
.investigation-fact dt{color:var(--muted)}
.investigation-fact dd{margin:0;overflow-wrap:anywhere}
.investigation-citations{display:grid;gap:10px;margin:18px 0 5px}
.investigation-handoff{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:24px}
.investigation-matches{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin-top:20px}
.investigation-match{display:grid;gap:8px;padding:18px;border:1px solid #eaeaea;border-radius:8px;background:#f8f8f8;text-align:left;color:#222222;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.investigation-match strong{font-size:17px}
.investigation-match span{color:var(--muted)}
.investigation-match:hover{background:#f8f8f8;border-color:#939393}
.map-section>summary{cursor:pointer;padding:12px 0;font-size:18px;line-height:1.6;color:#222222;font-weight:550}
.map-section[open]>summary{margin-bottom:15px}
@media(max-width:650px){
  .local-label{font-size:14px}.brand{font-size:16px}.topbar{gap:14px}
  .investigation-form{flex-direction:column;align-items:stretch;padding:16px;gap:12px}
  .investigation-form textarea{width:100%;font-size:16px;min-height:96px}
  .investigation-form>.context-button{align-self:flex-end;font-size:15px}
  #investigation-results{padding:20px}
  .investigation-source,.investigation-source a{font-size:18px}
  .investigation-fact{grid-template-columns:1fr;gap:3px}
  .investigation-facts{gap:15px}
  .node-heading-actions{gap:9px}
}

.stress-dialog { width: 720px; max-width: calc(100vw - 32px); font-size: 16px; line-height: 1.5; }
.stress-dialog h2 { font-size: 26px; }
.stress-dialog textarea { width: 100%; font: inherit; padding: 14px; border: 1px solid var(--line, #d5d5d5); border-radius: 10px; resize: vertical; }
.stress-dialog input[type=file] { font: inherit; margin-top: 8px; max-width: 100%; }
.stress-dialog .context-field { margin: 20px 0; font-size: 16px; }
.stress-evidence { margin-top: 24px; }
.stress-evidence summary { font-weight: 600; cursor: pointer; }
.stress-setup summary { cursor: pointer; color: #222222; margin: 16px 0; }
.stress-evidence pre { overflow: auto; font-size: 15px; }
.stress-waveform { margin: 24px 0; padding: 18px; border: 1px solid var(--line, #d5d5d5); border-radius: 12px; }
.stress-waveform figcaption { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.stress-plot { display: flex; gap: 12px; }
.stress-voltage-axis { display: flex; flex-direction: column; justify-content: space-between; flex: 0 0 64px; padding: 3px 0; font-size: 16px; }
.stress-waveform svg { display: block; width: 100%; min-width: 0; height: 140px; color: #5b5b5b; }
.stress-time-axis { display: flex; justify-content: space-between; margin-left: 76px; font-size: 16px; }
