/* Standalone clickable prototype. Intentionally independent of the live workspace. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#242528;background:#eeeff1;font-size:16px;line-height:1.5;color-scheme:light}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;padding:20px}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button,summary,select{cursor:pointer}
button{transition:background .12s,border-color .12s}
button:disabled{opacity:.45;cursor:default}
:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #555;outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1{font-size:34px;line-height:1.2;letter-spacing:-1.2px;font-weight:600;margin-bottom:10px}
h2{font-size:23px;line-height:1.35;letter-spacing:-.6px;font-weight:600}
h3{font-size:16px;font-weight:600;letter-spacing:-.2px}
.demo-shell{max-width:1520px;min-height:calc(100vh - 40px);margin:0 auto;display:grid;grid-template-columns:224px minmax(0,1fr);border:1px solid #dcdde0;border-radius:12px;background:#fff;box-shadow:0 8px 35px #15152108}
.workspace-sidebar{position:sticky;top:20px;height:calc(100vh - 40px);padding:30px 18px 22px;display:flex;flex-direction:column;border-right:1px solid #e9e9ec;background:#fafafa;border-radius:12px 0 0 12px}
.workspace-brand{display:flex;align-items:center;gap:10px;padding:0 10px;font-size:21px;letter-spacing:-.7px;font-weight:650;text-decoration:none}
.workspace-brand>span{display:grid;place-items:center;width:28px;height:28px;background:#25262a;color:#fff;border-radius:7px;font-size:17px;letter-spacing:-1px}
.workspace-repository{margin:38px 4px 28px}
.workspace-repository label{display:block;color:#777;font-size:14px;margin-bottom:9px}
.workspace-repository select,.repository-url-row select{display:block;width:100%;min-width:0;min-height:44px;padding:10px 38px 10px 12px;border:1px solid #d9dce2;border-radius:7px;background-color:#fff;font-size:14px;line-height:22px;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23757d88' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-size:16px 16px;background-repeat:no-repeat;text-overflow:ellipsis;transition:border-color .15s,box-shadow .15s}
.workspace-repository select:hover,.repository-url-row select:hover{border-color:#b7bec8}
.workspace-repository select:focus-visible,.repository-url-row select:focus-visible{border-color:#6d8795;outline:2px solid #6d879529;outline-offset:2px}
.repository-url-row select{flex:1 1 0}
.repository-url-row>.context-button{flex-shrink:0;min-height:44px;white-space:nowrap}
.workspace-repository p{font-size:14px;color:#888;margin:9px 0 0 1px}
.workspace-nav{display:grid;gap:6px}
.workspace-nav a{display:flex;align-items:center;padding:11px 12px;text-decoration:none;border-radius:6px;font-size:15px;color:#686a70}
.workspace-nav a[aria-current=page]{background:#e9eaed;color:#242528;font-weight:600}
.workspace-nav a[aria-current=page]::after{content:'→';margin-left:auto;color:#666}
.workspace-nav a:hover{background:#f0f0f2}
.sidebar-footer{margin-top:auto}
.sidebar-footer button{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #dddfe3;border-radius:6px;padding:10px 12px;background:#fff;font-size:15px}
.sidebar-footer p{font-size:14px;color:#8a8c91;padding:0 12px;margin:16px 0 0}
main{min-width:0;padding:38px 38px 40px}
.dashboard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:10px}
.dashboard-heading p{font-size:16px;color:#74767c;margin-bottom:0}
.quiet-action{font-size:14px;color:#777;background:none;border:0;padding:9px 0;white-space:nowrap}
.quiet-action:hover{color:#222}
.demo-disclosure{font-size:14px;color:#81838a;margin:0 0 30px}
.demo-steps{display:flex;list-style:none;gap:0;padding:0;margin:0 0 32px;border-bottom:1px solid #e5e6e9;font-size:14px;color:#93959b}
.demo-steps li{flex:1;padding:14px 0;border-bottom:2px solid transparent;margin-bottom:-1px}
.demo-steps [aria-current=step]{color:#25262a;font-weight:600;border-bottom-color:#25262a}
.demo-steps .complete{color:#55585e}
.demo-import{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:38px 30px;border:1px solid #e2e3e7;border-radius:10px;align-items:center;min-height:350px;background:#fff}
.demo-import h2{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:20px 0 16px;max-width:310px}
.demo-import-copy>p{font-size:16px;color:#74767c;max-width:320px;margin-bottom:28px}
.demo-eyebrow{font-size:14px;color:#8a8c91;letter-spacing:1px}
.repo-preview{background:#fafafa;border:1px solid #e3e4e7;border-radius:8px;overflow:hidden;font-size:14px;min-width:0}
.repo-preview-heading{padding:17px 20px;border-bottom:1px solid #e4e5e7;font-weight:600}
.repo-files{display:grid;gap:14px;padding:20px;font:14px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#777;overflow:auto}
.repo-preview-stats{display:flex;justify-content:space-between;gap:10px;padding:17px 20px;border-top:1px solid #e4e5e7;color:#8a8c91}
.repo-preview-stats strong{color:#444;font-weight:500}
.context-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:43px;background:#292a2e;color:#fff;border:1px solid #292a2e;border-radius:6px;padding:10px 17px;font-size:15px;font-weight:500;line-height:1.4;text-decoration:none;max-width:100%}
.context-button:hover:not(:disabled){background:#44454a}
.context-button.secondary{background:#fff;color:#484a50;border-color:#d9dadf;font-weight:400}
.context-button.secondary:hover{background:#f6f6f7}
.status-message{font-size:15px;color:#62646b;padding:12px 16px;border:1px solid #ddd;border-radius:6px}
.status-message.error{color:#9c3d36;background:#fff9f8;border-color:#edd3cf}
.demo-muted{font-size:15px;color:#7a7c82;line-height:1.6}
.demo-section{margin-top:26px;padding-top:26px;border-top:1px solid #e7e8eb;scroll-margin-top:35px}
.demo-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.demo-section-heading h2{margin:0}
.demo-section-heading>span{color:#85878e;font-size:14px}
#system-details{border:1px solid #e1e2e6;border-radius:8px;background:#fff}
#system-details>summary{font-size:15px;padding:14px 18px;color:#55585e}
#system-details>summary>span{font-size:14px;color:#999ba1;margin-left:14px}
.demo-system{padding:0 18px 2px}
.demo-system .demo-section-heading{margin:6px 0 0}
.demo-system h2{font-size:16px;letter-spacing:0}
.demo-graph-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:15px 0 8px}
.demo-graph-heading>span{font-size:14px;color:#888b91}
.demo-view-tabs{display:flex;gap:20px}
.demo-view-tabs button{border:0;border-bottom:2px solid transparent;background:none;font-size:14px;color:#999;padding:9px 0}
.demo-view-tabs button[aria-selected=true]{border-color:#333;color:#333}
.demo-graph{overflow:auto;background-color:#fcfcfd;background-image:radial-gradient(#d5d7dc .8px,transparent .8px);background-size:18px 18px;border:1px solid #ececef;border-radius:6px}
.demo-graph>svg{width:100%;min-width:920px;display:block}
.demo-node{cursor:pointer;outline:none}
.demo-node rect{fill:#fff;stroke:#d0d2d7;stroke-width:1.3}
.demo-node:hover rect,.demo-node:focus-visible rect{stroke:#555;stroke-width:2.5}
.demo-node.selected rect{fill:#303136;stroke:#303136}
.demo-node.active rect{fill:#f0f1f3;stroke:#555;stroke-width:2}
.demo-node text{fill:#333;font:17px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;pointer-events:none}
.demo-node .demo-node-detail{font-size:14px;fill:#888a90}
.demo-node.selected text{fill:#fff}.demo-node.selected .demo-node-detail{fill:#dadce1}
.demo-node.dimmed{opacity:.5}
.demo-wire{fill:none;stroke:#b5b7bf;stroke-width:1.4}.demo-wire.power{stroke-dasharray:5 4}.demo-wire.active{stroke:#555;stroke-width:2.2}
.demo-wire-label{fill:#888;font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;paint-order:stroke;stroke:#fcfcfd;stroke-width:5px;stroke-linejoin:round}
.demo-selection{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;padding:14px 0;font-size:14px;min-height:54px}
.demo-selection>span{color:#8b8d93}
.demo-selection button{margin-left:auto;border:0;background:none;font-size:14px;color:#555;padding:0}
.demo-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.demo-evidence-grid article{border:1px solid #e1e2e6;border-radius:8px;padding:20px;min-width:0}
.demo-item-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.demo-item-heading h3{margin:0}.demo-item-heading>span{font-size:14px;color:#8e9096}
.demo-evidence-grid p{font-size:15px;color:#7a7c82;margin:12px 0 18px}
.demo-evidence-grid details{font-size:14px;color:#6f7177;margin-top:15px}
.demo-spec-facts{margin:18px 0}.demo-spec-facts dt{font-size:14px;color:#666;margin-top:14px}.demo-spec-facts dd{font-size:15px;margin:3px 0 0}.demo-spec-facts a{font-size:14px;margin-left:8px}
.demo-chart{margin:22px 0 0;padding:20px;border:1px solid #e2e3e7;border-radius:8px;overflow:auto;background:#fff}
.demo-chart figcaption{font-size:15px;font-weight:500;margin-bottom:12px}
.demo-chart svg{display:block;width:100%;min-width:560px}.demo-chart text{font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#85878d}.demo-chart .plot-title{font-size:15px;font-weight:500;fill:#555}
.demo-chart-note{font-size:14px;color:#909299;margin:8px 0 0}
.investigation-form{display:flex;align-items:center;gap:18px;padding:16px;border:1px solid #d5d6dc;border-radius:8px;background:#fff}
.investigation-form textarea{flex:1;min-width:0;border:0;padding:0;resize:vertical;line-height:1.7;font-size:16px;outline-offset:8px}
.investigation-form button{flex:none}
#investigate-hint{font-size:14px;margin:12px 0 0}
.demo-finding h3{font-size:27px;font-weight:600;letter-spacing:-.7px;line-height:1.3;margin:8px 0 15px;max-width:720px}
.demo-finding>p{font-size:16px;color:#72757c;line-height:1.7;max-width:760px}
.demo-evidence-chain{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:20px 0}
.demo-evidence-chain strong{font-size:15px;font-weight:500}.demo-evidence-chain p{font-size:15px;line-height:1.6;color:#7a7d84}.demo-evidence-chain a,.demo-evidence-chain button{font-size:14px;color:#555;text-decoration:underline;text-underline-offset:4px}.demo-evidence-chain button{background:none;border:0;padding:0;text-align:left}
.demo-path{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:22px 0;font-size:14px}
.demo-path span{padding:7px 11px;background:#f4f4f6;border:1px solid #e5e5e8;border-radius:5px}.demo-path b{font-weight:400;color:#a1a3a9}
.demo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:22px 0 0}
.demo-code{font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;color:#64666e;border:1px solid #e4e5e9;border-radius:7px;background:#fafafb;padding:18px;white-space:pre;overflow:auto;margin:18px 0}
.demo-code .added{display:block;background:#e8eaee;color:#333;font-weight:500}.demo-code .code-line{display:block}.demo-code .line-number{display:inline-block;min-width:38px;color:#bbb;user-select:none}.demo-code .source-highlight{background:#e8eaee}
#repair-panel>p{font-size:15px;color:#7a7c84;margin-bottom:18px}
.demo-verification h3{font-size:28px;letter-spacing:-.7px;font-weight:600;margin:0 0 12px}.demo-verification>p{font-size:16px;color:#787b81;line-height:1.7}
.demo-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0}
.demo-metrics>div{padding:22px;border:1px solid #e3e4e8;border-radius:8px;background:#fafafb}
.demo-metrics strong{display:block;font-size:32px;letter-spacing:-1px;font-weight:500}.demo-metrics span{display:block;font-size:14px;color:#8a8d94;margin-top:5px}
.demo-checks{list-style:none;padding:0;font-size:15px}.demo-checks li{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #eeeff1;color:#666970}.demo-checks strong{font-weight:500;color:#555}
.text-button{border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:4px}.demo-download{display:inline-block;margin-top:20px;font-size:14px;color:#666}
.demo-source-dialog{width:880px;max-width:calc(100vw - 32px);max-height:90vh;overflow:auto;border:1px solid #dddfe4;border-radius:12px;padding:26px;box-shadow:0 20px 90px #0002}
dialog::backdrop{background:#20212660;backdrop-filter:blur(3px)}
.demo-source-dialog h2{font-size:23px;overflow-wrap:anywhere}.demo-source-dialog .demo-code{max-height:60vh}
#lab-form>label{display:block;font-size:15px;margin:22px 0 10px}
#lab-prompt{width:100%;padding:15px;border:1px solid #d6d8dd;border-radius:7px;background:#fff;font-size:16px;line-height:1.7;resize:vertical}
.lab-summary{display:flex;align-items:baseline;gap:18px;margin-top:26px}.lab-summary strong{font-size:26px;letter-spacing:-.6px;font-weight:600}.lab-summary span{font-size:14px;color:#93959b}
.demo-findings-brief{font-size:16px;line-height:1.7;color:#767980;margin-top:16px}
.demo-result-table{width:100%;border-collapse:collapse;text-align:left;margin:22px 0;font-size:15px}.demo-result-table td,.demo-result-table th{padding:14px 10px;border-bottom:1px solid #e7e8ec}.demo-result-table th{font-weight:400;color:#9a9ca2}.demo-result-table :is(td,th):last-child{text-align:right}
.demo-lab-details{font-size:14px;color:#797c83;margin:22px 0}.demo-lab-details summary,#ci-change>summary{cursor:pointer;font-size:14px;color:#797c83}.demo-lab-details p{line-height:1.7;font-size:15px}
.demo-lab-view .demo-steps{display:none}
.demo-lab-view #lab-panel{padding:26px;border:1px solid #e2e3e7;border-radius:8px;background:#fff}
.demo-lab-view #lab-heading{margin-bottom:8px}
.demo-lab-view #lab-description{margin:0 0 22px}
body[data-stage="3"] #evidence-panel,body[data-stage="4"] #evidence-panel{display:none}
body[data-stage="3"] #investigate-panel>h2,body[data-stage="3"] #demo-investigation-form,body[data-stage="3"] #investigate-hint{display:none}
body[data-stage="4"] #investigate-panel,body[data-stage="4"] #lab-panel,body[data-stage="4"] #repair-panel>:not(#verification){display:none}
body[data-stage="4"] #repair-panel{border:0;padding:0}
body[data-stage="3"] #lab-form{display:none}
#connections-dialog{width:610px}
.connection-row{border-top:1px solid #e5e6e9;padding:20px 0}.connection-row:last-of-type{padding-bottom:0}.connection-row h3{margin:0}.connection-row p{font-size:15px;color:#888a91;margin:6px 0 14px;overflow-wrap:anywhere}
.demo-upload{position:relative;display:inline-flex;padding:9px 13px;background:#fff;border:1px solid #d7d9de;border-radius:6px;font-size:14px;line-height:1.5;color:#555;overflow:hidden;cursor:pointer}
.demo-upload:focus-within{outline:2px solid #555;outline-offset:3px}
.demo-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.connection-row form{margin-top:22px}.connection-row form>label{display:block;font-size:14px;color:#777;margin-bottom:8px}
.connection-link{display:flex;gap:10px}.connection-link input{min-width:0;flex:1;padding:10px 12px;border:1px solid #dddfe3;border-radius:6px;font-size:15px}.connection-link button{flex:none}
#connection-status{font-size:14px;margin:16px 0 0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1450px){main{padding:44px 52px}.demo-import{padding:48px;min-height:410px;gap:55px}.demo-import h2{font-size:37px}}
@media(max-width:1150px){body{padding:12px}.demo-shell{grid-template-columns:200px minmax(0,1fr);min-height:calc(100vh - 24px)}.workspace-sidebar{top:12px;height:calc(100vh - 24px);padding-inline:13px}main{padding:30px 25px}.demo-import{gap:22px;padding:28px}.demo-import h2{font-size:28px}.repo-files{font-size:13px;padding:16px}.repo-preview-stats{padding:15px;font-size:14px}.demo-item-heading{flex-direction:column;gap:4px}.demo-section-heading{align-items:flex-start;flex-wrap:wrap}.demo-evidence-chain{grid-template-columns:1fr;gap:5px}.demo-metrics>div{padding:16px}}
@media(max-width:800px){body{padding:0;background:#fff}.demo-shell{display:block;border:0;border-radius:0;min-height:100vh}.workspace-sidebar{position:static;height:auto;padding:18px 20px;border:0;border-bottom:1px solid #e8e9ec;border-radius:0}.workspace-brand{padding:0;font-size:20px}.workspace-repository{display:none}.workspace-nav{display:flex;margin-top:20px;gap:8px}.workspace-nav a{padding:9px 12px;white-space:nowrap}.workspace-nav a[aria-current=page]::after{display:none}.sidebar-footer{position:absolute;right:20px;top:18px}.sidebar-footer button{width:auto;font-size:14px;padding:6px 10px}.sidebar-footer p{display:none}main{padding:28px 20px 35px}.dashboard-heading h1{font-size:30px}.dashboard-heading p{font-size:15px}.demo-disclosure{font-size:14px;line-height:1.7;margin:16px 0}.demo-steps{flex-wrap:wrap;font-size:14px}.demo-steps li{flex-basis:50%;padding:10px 0}.demo-import{grid-template-columns:1fr;gap:26px;padding:25px}.demo-import h2{max-width:none;font-size:30px}.demo-import-copy>p{max-width:none}.repo-files{font-size:14px}.demo-evidence-grid{grid-template-columns:1fr}.demo-graph-heading{align-items:flex-start;flex-direction:column;gap:5px}.demo-selection button{margin-left:0}.demo-selection{gap:8px 14px}#system-details>summary>span{display:none}.demo-system{padding-inline:10px}.demo-system .demo-section-heading>span{font-size:14px}.investigation-form{flex-direction:column;align-items:stretch}.investigation-form textarea{width:100%;min-height:90px}.demo-finding h3{font-size:24px}.demo-metrics{grid-template-columns:1fr;gap:12px}.demo-metrics>div{padding:18px}.demo-metrics strong{font-size:29px}.demo-checks li{font-size:14px}.demo-chart{padding:16px}.lab-summary{flex-direction:column;gap:5px}.demo-lab-view #lab-panel{padding:20px}.demo-result-table{font-size:14px}.demo-result-table td,.demo-result-table th{padding:12px 5px}.demo-source-dialog{padding:21px}.connection-link{flex-wrap:wrap}.connection-link input{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Short presentation motion; results and measurements are never delayed. */
@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes trace-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes signal-pass{0%,100%{opacity:0}12%,80%{opacity:1}}
@keyframes path-in{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}
.demo-import,#loaded-demo,#diagnosis,#verification,#lab-results{animation:panel-in .38s ease-out both}
.demo-trace{animation:trace-reveal .85s cubic-bezier(.2,.6,.3,1) both;transform-box:fill-box}
.demo-signal{fill:#535762;pointer-events:none;animation:signal-pass 1.45s ease both}
.demo-path>*{animation:path-in .3s ease both}
.demo-path>:nth-child(2){animation-delay:.07s}.demo-path>:nth-child(3){animation-delay:.14s}.demo-path>:nth-child(4){animation-delay:.21s}.demo-path>:nth-child(5){animation-delay:.28s}.demo-path>:nth-child(6){animation-delay:.35s}.demo-path>:nth-child(7){animation-delay:.42s}.demo-path>:nth-child(8){animation-delay:.49s}.demo-path>:nth-child(9){animation-delay:.56s}
.demo-metrics>div{animation:panel-in .4s ease both}.demo-metrics>div:nth-child(2){animation-delay:.09s}.demo-metrics>div:nth-child(3){animation-delay:.18s}
.demo-source-dialog[open]{animation:panel-in .2s ease both}
.context-button:active:not(:disabled){transform:translateY(1px)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important}.demo-signal{display:none}}

/* Keep the investigation overview light; details stay one click away. */
#vehicle-graph{overflow:hidden;background:none;border:0;border-radius:12px}
.demo-connections-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:4px 0}
.demo-connections-heading>span{font-size:12px;color:#939ba5}
.demo-connection-tabs{display:flex;gap:3px;padding:3px;background:#f4f5f7;border:1px solid #e8eaed;border-radius:8px}
.demo-connection-tabs button{border:0;border-radius:5px;background:transparent;color:#858b94;padding:6px 13px;font-size:12px;cursor:pointer}
.demo-connection-tabs button[aria-selected=true]{background:#fff;color:#343b44;box-shadow:0 1px 3px #202c3610}
.demo-connection-tabs button:focus-visible,.demo-view-tabs button:focus-visible{outline:2px solid #629d9c;outline-offset:3px}
@media(max-width:600px){.demo-connections-heading{align-items:flex-start;flex-direction:column;gap:8px}}
.system-evidence{border-top:1px solid #edf0f2;margin-top:8px}
.system-evidence>summary{padding:13px 2px;font-size:12px;color:#7d8590;cursor:pointer}
.system-evidence .demo-selection{padding:8px 2px 20px;font-size:13px}
.system-evidence .question-inspection{margin:0;border:0;background:transparent;padding:8px 2px 20px}
.demo-system .demo-section-heading>span{font-size:11px;color:#9ba1a9}

/* Investigation is a distinct screen: spatial context and readable activity stay together. */
.investigation-analysis-open .demo-steps{display:none}
.investigation-screen-header{margin:0 0 23px}
.investigation-screen-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px}
.investigation-screen-actions .quiet-action{padding:0;font-size:12px;color:#7f8b95}
#investigation-screen-state{font-size:11px;color:#608c8c;display:flex;align-items:center;gap:7px}
#investigation-screen-state:before{content:'';width:5px;height:5px;border-radius:50%;background:#79a9a7;box-shadow:0 0 0 4px #eef5f4}
.investigation-screen-header h2{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:0 0 9px;outline:none}
.investigation-screen-header p{font-size:13px;line-height:1.6;color:#8b959e;max-width:900px;margin:0}
.investigation-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(275px,1fr);gap:18px;align-items:start}
.investigation-map{min-width:0}
.investigation-map #system-details{border-radius:11px;overflow:hidden}
.investigation-map #system-details>summary{display:none}
.investigation-map .demo-system{padding:17px 16px 12px}
.investigation-map .demo-section-heading{margin:0;gap:12px;align-items:flex-start}
.investigation-map .demo-section-heading h2{font-size:14px}
.investigation-map #index-summary{font-size:10px;max-width:160px;text-align:right}
.investigation-map .demo-graph-heading{margin:11px 0 10px}
.investigation-map .demo-view-tabs button{font-size:12px;padding-bottom:9px}
.investigation-map .vehicle-map{border:0;border-radius:0}
.investigation-map .vehicle-map-svg{height:clamp(290px,calc(100vh - 340px),410px);min-height:290px;max-height:none}
.investigation-map .vehicle-map-toolbar{left:10px;right:8px;top:10px}
.investigation-map .vehicle-map-bottom{margin-inline:10px}
.investigation-map .demo-graph:not(#vehicle-graph){max-height:430px}
.investigation-map .question-graph-viewport{max-height:350px}
.investigation-map .question-graph-legend{display:none}
.investigation-map .question-graph-toolbar{justify-content:flex-end}
.investigation-map .demo-connections-heading{flex-wrap:wrap;gap:9px}
.investigation-map .demo-connections-heading>span{font-size:10px}
.investigation-trace-panel{min-width:0;border:1px solid #e3e8ec;border-radius:11px;background:#fcfdfe;overflow:hidden}
.investigation-trace-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8c98a2;border-bottom:1px solid #edf0f3;padding:15px 17px}
.investigation-trace-scroll{height:clamp(390px,calc(100vh - 280px),520px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8dfe4 transparent;outline-offset:-3px}
.investigation-trace-scroll #investigation-progress{margin:0;border:0;border-radius:0;padding:17px 16px;background:transparent}
.investigation-trace-scroll .question-trace-heading{position:sticky;top:-17px;z-index:1;gap:8px;margin:-17px -16px 0;padding:16px;background:#fcfdfe;border-bottom:1px solid #edf0f3}
.investigation-trace-scroll .question-trace-heading strong{font-size:12px;line-height:1.5}
.investigation-trace-scroll .question-trace-list{margin-top:18px}
.investigation-trace-scroll .question-trace-entry{grid-template-columns:22px minmax(0,1fr);gap:10px;padding-bottom:24px}
.investigation-trace-scroll .question-trace-number{width:22px;height:22px;font-size:9px}
.investigation-trace-scroll .question-trace-entry:not(:last-child):before{left:10px;top:23px}
.investigation-trace-scroll .question-trace-entry strong{font-size:11px;line-height:1.55;display:block}
.investigation-trace-scroll .question-trace-entry p{font-size:11px;line-height:1.7;color:#89959f;margin-top:5px}
.investigation-findings-action{display:flex;justify-content:flex-end;min-height:28px}
.investigation-findings-action button{font-size:12px;color:#567e87}
.investigation-source .system-evidence{margin-top:0;padding:0 16px;border:1px solid #e8ecef;border-radius:9px}
.investigation-source .demo-selection{padding:10px 0 18px}
.investigation-source .question-inspection{margin:0 -16px;padding:16px;min-height:0}
.investigation-results{scroll-margin-top:24px}
.investigation-results>#diagnosis:not([hidden]){margin-top:26px}
.investigation-results .demo-finding{margin-top:0}
.investigation-results .demo-finding h3{font-size:23px}
@media(max-width:1100px){.investigation-workspace{grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);gap:13px}.investigation-map .demo-section-heading{flex-direction:column;gap:5px}.investigation-map #index-summary{text-align:left;max-width:none}.investigation-map .vehicle-map-controls button{padding-inline:7px}.investigation-map .vehicle-map-heading{font-size:10px}}
@media(max-width:800px){.investigation-workspace{grid-template-columns:minmax(0,1fr)}.investigation-screen-header h2{font-size:21px}.investigation-screen-header p{font-size:12px}.investigation-map .demo-section-heading{flex-direction:row}.investigation-map .vehicle-map-svg{height:310px}.investigation-trace-scroll{height:360px}.investigation-trace-scroll .question-trace-entry strong,.investigation-trace-scroll .question-trace-entry p{font-size:12px}.investigation-results .demo-finding h3{font-size:21px}}
.demo-graph-heading>span{font-size:12px;color:#939ba5}
.investigation-analysis-open .dashboard-heading{display:none}
