:root{color-scheme:dark;font-family:Inter,SF Pro Display,PingFang SC,Microsoft YaHei,Arial,sans-serif;color:#e9eef3;background:#090d12;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0;--bg: #090d12;--surface: #10161d;--surface-2: #141c24;--surface-3: #19232d;--line: #26323d;--line-soft: #1b252e;--text: #e9eef3;--muted: #8e9ba8;--cyan: #49d0cc;--green: #7dd47a;--amber: #f4bc59;--red: #f27878}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:var(--bg);overflow:hidden}button,input,textarea{font:inherit;letter-spacing:0}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,video:focus-visible,svg:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}.app-shell{min-height:100vh;background:var(--bg)}.app-header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:#0d1218}.brand-block,.header-actions,.brand-block>div,.icon-text-button,.dataset-status{display:flex;align-items:center}.brand-block{gap:10px;min-width:0}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid #397d7a;background:#14302f;color:var(--cyan);font-size:11px;font-weight:800}.brand-block>div{align-items:flex-start;flex-direction:column;min-width:0}.brand-block strong{font-size:14px}.brand-block small{margin-top:2px;color:var(--muted);font-size:10px}.header-actions{gap:14px}.dataset-status{gap:7px;color:#b5c0ca;font-size:11px}.dataset-status i{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #233c29}.icon-text-button,.icon-button,.secondary-button{border:1px solid var(--line);background:var(--surface-2);cursor:pointer}.icon-text-button{gap:7px;min-height:34px;padding:0 10px;border-radius:5px;font-size:12px}.icon-text-button>span{min-width:19px;padding:2px 5px;color:var(--cyan);background:#183332;text-align:center}.icon-button{width:34px;height:34px;display:grid;place-items:center;border-radius:5px}.icon-button:hover,.icon-text-button:hover,.secondary-button:hover{border-color:#51606d;background:var(--surface-3)}.workspace-grid{height:calc(100vh - 58px);display:grid;grid-template-columns:220px minmax(610px,1fr);grid-template-areas:"library main";overflow:hidden}.scene-library{grid-area:library;min-width:0;border-right:1px solid var(--line);background:#0d1319;overflow-y:auto}.library-heading{height:48px;display:flex;align-items:center;border-bottom:1px solid var(--line)}.library-heading{gap:8px;padding:0 14px;color:#cbd4dc;font-size:12px;font-weight:650}.scene-list{padding:8px}.scene-row{width:100%;min-height:64px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px;border:1px solid transparent;border-radius:5px;color:#bbc5ce;background:transparent;text-align:left;cursor:pointer}.scene-row:hover{background:#131c24}.scene-row.active{border-color:#315d5c;background:#142323;color:var(--text)}.scene-row-icon{width:27px;height:27px;display:grid;place-items:center;background:#19242e;color:var(--muted)}.scene-row.active .scene-row-icon{color:var(--cyan);background:#193331}.scene-row-copy{display:flex;flex-direction:column;min-width:0}.scene-row-copy strong{overflow-wrap:anywhere;font-size:12px;line-height:1.3}.scene-row-copy small{margin-top:4px;color:#71808e;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-row-count{min-width:25px;padding:2px 4px;color:#8e9ba8;background:#1b252e;font-size:9px;text-align:center}.library-scope{margin:12px;padding:12px 2px;border-top:1px solid var(--line);color:var(--muted)}.scope-title{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#c7d0d8;font-size:11px;font-weight:650}.library-scope p{margin:5px 0;font-size:10px;line-height:1.5}.library-scope .scope-note{color:var(--amber)}.main-workspace{grid-area:main;min-width:0;padding:14px 16px 36px;overflow-y:auto}.main-workspace>section+section{margin-top:12px}.query-region+.replay-analysis-stack{margin-top:12px}.replay-analysis-stack{min-width:0;display:grid;gap:12px;scroll-margin-top:14px}.replay-analysis-stack>*{min-width:0}.replay-analysis-stack+section{margin-top:12px}.scene-brief{padding:12px 14px;border:1px solid var(--line);background:var(--surface)}.scene-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.scene-title-row span,.drawer-eyebrow{color:var(--cyan);font-size:9px;font-weight:700;text-transform:uppercase}.scene-title-row h1{margin:3px 0 0;font-size:18px;line-height:1.3}.scene-title-row code{color:#80909e;font-size:10px;overflow-wrap:anywhere;text-align:right}.brief-flow{display:grid;grid-template-columns:1fr 18px 1fr;align-items:center;gap:10px;margin-top:11px;padding-top:10px;border-top:1px solid var(--line-soft)}.brief-flow>svg{color:#61717f}.brief-flow strong{color:var(--amber);font-size:10px}.brief-flow div:last-child strong{color:var(--cyan)}.brief-flow p{margin:4px 0 0;color:#aeb9c3;font-size:11px;line-height:1.55}.query-region{position:relative}.query-control{min-height:44px;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:5px 6px 5px 12px;border:1px solid #355558;border-radius:6px;background:#111a21}.query-control>svg{color:var(--cyan)}.query-control input{min-width:0;border:0;outline:0;color:var(--text);background:transparent;font-size:12px}.query-control.has-error{border-color:#814a4a}.run-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:4px;cursor:pointer;font-weight:650}.run-button{height:32px;padding:0 12px;border:0;color:#071112;background:var(--cyan);font-size:11px}.query-error{margin:6px 0 0 4px;color:var(--red);font-size:10px}.video-stage,.signal-timeline{border:1px solid var(--line);background:var(--surface)}.media-header,.section-heading{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:1px solid var(--line-soft)}.media-header>div,.media-header>span{display:flex;align-items:center;gap:7px}.media-header strong,.section-heading strong{font-size:11px}.media-header>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.scene-video{display:block;width:100%;aspect-ratio:16 / 9;max-height:56vh;background:#050709;object-fit:contain}.video-error{aspect-ratio:16 / 9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:var(--red)}.video-error span{color:var(--muted);font-size:11px}.event-window-label{min-height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;border-top:1px solid var(--line-soft);font-size:10px}.event-window-label span{color:var(--muted)}.event-window-label strong{display:flex;align-items:center;gap:4px;color:var(--cyan);font-variant-numeric:tabular-nums}.event-window-button{width:100%;border:0;border-top:1px solid var(--line-soft);color:inherit;background:transparent;text-align:left;cursor:pointer}.compact-heading>div{display:flex;flex-direction:column;gap:3px}.compact-heading span{color:var(--muted);font-size:9px}.chart-legend{display:flex!important;flex-direction:row!important;gap:10px!important}.chart-legend span{display:flex;flex-direction:row;align-items:center;gap:5px;white-space:nowrap}.chart-legend i,.window-key i{display:inline-block;width:12px;height:3px}.signal-timeline>svg{display:block;width:100%;height:170px;cursor:crosshair}.chart-canvas{fill:#0b1117;stroke:#202b34}.chart-grid{stroke:#1f2b35;stroke-width:1}.event-window{fill:#49d0cc;opacity:.1}.coarse-window,.short-window{fill:#f27878;opacity:.23}.pedestrian-window{fill:#f4bc59;opacity:.14}.interactive-window{cursor:pointer;stroke:transparent;stroke-width:1.5;transition:opacity .12s ease,stroke .12s ease}.interactive-window:hover,.interactive-window:focus{opacity:.34;stroke:currentColor;outline:0}.window-band-label{font-size:8px;font-weight:700;pointer-events:none}.final-label{fill:#267b78}.coarse-label{fill:#a94343}.pedestrian-label{fill:#98631d}.time-pointer{stroke:#eaf3f5;stroke-width:1;stroke-dasharray:3 3}.time-pointer-dot{fill:#eaf3f5}.chart-label{fill:#70808d;font-size:9px}.window-key{width:100%;max-width:100%;min-height:44px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:9px;overflow-x:auto}.window-key-stage{display:flex;flex:0 0 auto;align-items:center;gap:4px}.window-key-stage>svg{color:#8a959d}.window-key button{min-height:32px;display:flex;flex:0 0 auto;align-items:center;gap:7px;padding:3px 7px;border:1px solid transparent;color:inherit;background:transparent;text-align:left;cursor:pointer}.window-key button:hover{border-color:var(--line);background:var(--surface-2)}.window-key button>span{display:flex;flex-direction:column;gap:2px;white-space:nowrap}.window-key button strong{color:var(--text);font-size:9px}.window-key button small{color:var(--muted);font-size:8px;font-variant-numeric:tabular-nums}.window-key-hint{margin-left:auto;padding:0 4px;color:var(--cyan);white-space:nowrap}.complete-key{background:#49d0cc;opacity:.7}.coarse-key,.short-key{background:#f27878}.pedestrian-key{background:#f4bc59}.drawer-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;justify-content:flex-end;background:#030608ad}.side-drawer{width:min(470px,92vw);height:100%;display:flex;flex-direction:column;border-left:1px solid #3a4955;background:#0d141b;box-shadow:-18px 0 48px #00000059}.drawer-header{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid var(--line)}.drawer-header h2{margin:3px 0 0;font-size:15px}.load-state{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.error-state{flex-direction:column;color:var(--red)}.error-state h1{margin:5px 0 0;color:var(--text);font-size:18px}.error-state p{margin:0}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 1180px){.workspace-grid{grid-template-columns:205px minmax(0,1fr);grid-template-areas:"library main";overflow:auto}.scene-library{position:sticky;top:0;height:calc(100vh - 58px)}.main-workspace{overflow:visible}}@media (max-width: 760px){body{overflow:auto}.app-header{height:auto;min-height:58px;padding:8px 10px}.brand-block small,.dataset-status{display:none}.workspace-grid{height:auto;min-height:calc(100vh - 58px);display:block;overflow:visible}.scene-library{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.library-heading,.library-scope{display:none}.scene-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.scene-row{min-height:58px}.main-workspace{padding:10px;overflow:visible}.brief-flow{grid-template-columns:1fr}.brief-flow>svg{transform:rotate(90deg);justify-self:center}.scene-title-row{align-items:flex-start;flex-direction:column;gap:5px}.scene-title-row code{text-align:left}}@media (max-width: 480px){.brand-block strong{font-size:12px}.icon-text-button{padding:0 8px;font-size:0}.icon-text-button>span{font-size:9px}.scene-row{grid-template-columns:24px minmax(0,1fr)}.scene-row-count{display:none}.query-control{grid-template-columns:18px minmax(0,1fr)}.run-button{grid-column:1 / -1;width:100%}.chart-legend{display:none!important}.signal-timeline>svg{height:150px}.window-key{gap:10px}}:root{color-scheme:light;--bg: #e7eaed;--surface: #ffffff;--surface-2: #f4f6f8;--surface-3: #edf1f4;--line: #cfd5db;--line-soft: #e3e7ea;--text: #1d272e;--muted: #66737d;--cyan: #216ba1;--green: #438a62;--amber: #c47428;--red: #bd4b4b}body{color:var(--text);background:var(--bg)}.app-shell{background:var(--bg)}.app-header{color:var(--text);border-color:#c9d0d6;background:#fff}.brand-mark{border-color:#1f5f8d;color:#fff;background:#216ba1}.brand-block small{color:#76828b}.dataset-status{color:#53616b}.dataset-status i{background:#438a62;box-shadow:none}.icon-text-button,.icon-button,.secondary-button{color:#34414a;border-color:#c8cfd5;background:#f5f7f8}.icon-text-button>span{color:#216ba1;background:#e5eff6}.icon-button:hover,.icon-text-button:hover,.secondary-button:hover{border-color:#9faab3;background:#eef1f3}.scene-library{border-color:#c9d0d6;background:#f3f5f6}.library-heading{border-color:#d5dbe0;color:#38454e;background:#eceff1}.scene-row{color:#53616b}.scene-row:hover{background:#e9edf0}.scene-row.active{border-color:#8fb4cf;color:#17232b;background:#e1edf5}.scene-row-icon{color:#65727c;background:#e1e5e8}.scene-row.active .scene-row-icon{color:#216ba1;background:#cfe1ed}.scene-row-copy small{color:#7b8790}.scene-row-count{color:#5f6b74;background:#e1e5e8}.library-scope{border-color:#d4dae0;color:#6b7780}.scope-title{color:#3e4b54}.main-workspace{background:#e7eaed}.scene-brief,.video-stage,.signal-timeline,.sensor-replay{border-color:#cbd2d8;background:#fff;box-shadow:0 1px 2px #1e2b340d}.scene-title-row span,.drawer-eyebrow{color:#216ba1}.scene-title-row code{color:#6f7c86}.brief-flow{border-color:#e3e7ea}.brief-flow strong{color:#a66022}.brief-flow div:last-child strong{color:#216ba1}.brief-flow p{color:#5d6972}.query-control{border-color:#aeb8c0;background:#fff}.query-control>svg{color:#216ba1}.query-control input{color:#1e2930}.query-control.has-error{border-color:#bd6767}.run-button{color:#fff;background:#216ba1}.media-header,.section-heading,.event-window-label{border-color:#e1e5e8}.media-header>span,.compact-heading span,.event-window-label span{color:#6b7780}.event-window-label strong{color:#216ba1}.chart-canvas{fill:#fafbfc;stroke:#d7dde2}.chart-grid{stroke:#e1e5e8}.event-window{fill:#216ba1;opacity:.1}.coarse-window{fill:#bd4b4b;opacity:.22}.short-window{fill:#bd4b4b;opacity:.18}.pedestrian-window{fill:#d99a39;opacity:.2}.time-pointer{stroke:#27343d}.time-pointer-dot{fill:#27343d}.chart-label{fill:#68747e}.window-key{border-color:#e3e7ea;color:#66737d}.interval-analysis{border-top:1px solid #dce2e6}.interval-analysis-heading{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 11px;background:#f5f7f8}.interval-analysis-heading strong{color:#27343d;font-size:11px}.interval-analysis-heading span{color:#6b7780;font-size:9px}.interval-analysis-row{display:grid;grid-template-columns:150px minmax(210px,.9fr) minmax(300px,1.25fr) 160px;align-items:stretch;border-top:1px solid #e2e6e9}.interval-analysis-row:first-of-type{border-top:0}.interval-analysis-row>div{min-width:0;padding:9px 11px;border-right:1px solid #e6eaed}.interval-analysis-row>div:last-child{border-right:0}.interval-name{display:flex;align-items:center;gap:8px}.interval-name>span{display:flex;min-width:0;flex-direction:column;gap:3px}.interval-name strong{color:#26323a;font-size:10px}.interval-name small{color:#6b7780;font-size:9px;font-variant-numeric:tabular-nums}.interval-color{width:4px;height:30px;flex:0 0 auto}.interval-color.complete{background:#49c7c3}.interval-color.short{background:#c95d5d}.interval-color.pedestrian{background:#d89a35}.interval-measures,.interval-conclusion{display:flex;flex-direction:column;justify-content:center;gap:4px}.interval-measures span,.interval-conclusion span{color:#7a858e;font-size:8px}.interval-measures strong{color:#33414a;font-size:9px;line-height:1.45;font-variant-numeric:tabular-nums}.interval-conclusion p{margin:0;color:#53606a;font-size:9px;line-height:1.5}.interval-verdict{display:flex;align-items:center;justify-content:flex-start;gap:6px;font-size:9px;font-weight:650;line-height:1.35}.interval-verdict svg{width:15px;height:15px;flex:0 0 auto}.interval-verdict.pass{color:#367b55;background:#f0f7f3}.interval-verdict.fail{color:#a34747;background:#fbf2f2}.interval-verdict.review{color:#9a641f;background:#fbf6ec}.drawer-layer{background:#161f2661}.side-drawer{border-color:#aeb8c0;color:#223039;background:#f7f8f9;box-shadow:-12px 0 30px #24303926}.drawer-header{border-color:#d5dbe0}.sensor-replay{overflow:hidden}.replay-analysis-stack.spatial-focus{gap:0}.spatial-focus .sensor-replay{border-bottom-color:#e1e5e8;box-shadow:none}.spatial-focus .signal-timeline{border-top:0;box-shadow:0 1px 2px #1e2b340d}.replay-toolbar{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 9px;border-bottom:1px solid #dce1e5;background:#f6f7f8}.replay-tabs{display:inline-flex;border:1px solid #bbc4cb;background:#e9edf0}.replay-tabs button{min-width:94px;height:31px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-right:1px solid #c8d0d6;color:#56636c;background:transparent;cursor:pointer;font-size:11px}.replay-tabs button:last-child{border-right:0}.replay-tabs button[aria-selected=true]{color:#fff;background:#3f596b}.replay-status{display:flex;align-items:center;gap:6px;color:#65717a;font-size:10px}.replay-status svg{color:#438a62}.replay-toolbar-actions{display:flex;align-items:center;gap:10px}.replay-immersive-button{height:31px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid #aeb9c1;color:#40515d;background:#fff;cursor:pointer;font-size:10px}.replay-immersive-button:hover{border-color:#718592;background:#edf2f5}.timeline-heading-actions{display:flex;flex:0 0 auto;align-items:center;gap:12px}.timeline-fullscreen-button{height:30px;display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;padding:0 9px;border:1px solid #aeb9c1;color:#40515d;background:#fff;cursor:pointer;font-size:9px}.timeline-fullscreen-button:hover{border-color:#718592;background:#edf2f5}.replay-viewport{position:relative;width:100%;min-height:280px;background:#dfe4e8}.video-layer-full{position:relative;width:100%}.video-layer-full .scene-video{display:block;width:100%;aspect-ratio:16 / 9;max-height:56vh;object-fit:contain;background:#11161a}.video-layer-spatial{position:absolute;z-index:8;top:54px;right:12px;width:clamp(220px,32%,360px);border:1px solid #aeb9c1;background:#11161a;box-shadow:0 3px 12px #1926302e;transition:width .16s ease,top .16s ease}.video-layer-spatial.expanded{z-index:12;top:12px;width:min(72%,720px)}.video-layer-spatial .scene-video{display:block;width:100%;aspect-ratio:16 / 9;max-height:none;object-fit:contain;background:#11161a}.video-evidence-overlay{position:absolute;z-index:3;top:28px;right:0;bottom:0;left:0;width:100%;height:calc(100% - 28px);pointer-events:none}.video-road-region{stroke-width:2;vector-effect:non-scaling-stroke}.video-road-region.teal{fill:#34bbb524;stroke:#34bbb5c7}.video-road-region.red{fill:#d3484821;stroke:#d34848c7}.video-road-region.amber{fill:#e0a13526;stroke:#e0a135d6}.video-overlay-label rect,.video-target-label rect{fill:#202d36e0}.video-overlay-label.red rect,.video-target-annotation.red .video-target-label rect{fill:#a43636e5}.video-overlay-label.amber rect,.video-target-annotation.amber .video-target-label rect{fill:#9d641ceb}.video-overlay-label text,.video-target-label text{fill:#fff;font-size:16px;font-weight:650;letter-spacing:0}.video-target-box{fill:none;stroke-width:3;vector-effect:non-scaling-stroke}.video-target-annotation.red .video-target-box{stroke:#ef5350}.video-target-annotation.amber .video-target-box{stroke:#f3b64b}.video-overlay-disclaimer{fill:#ffffffe0;font-size:13px;paint-order:stroke;stroke:#1d2830d1;stroke-width:3px}.spatial-video-header{height:28px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-left:8px;color:#e7edf1;background:#344b5b}.spatial-video-header span{display:flex;min-width:0;align-items:center;gap:5px;font-size:9px}.spatial-video-header strong{font-variant-numeric:tabular-nums;font-weight:650}.spatial-video-header button{width:30px;height:28px;display:grid;flex:0 0 auto;place-items:center;border:0;border-left:1px solid rgb(255 255 255 / 20%);color:#fff;background:transparent;cursor:pointer}.spatial-video-header button:hover{background:#ffffff1f}.canvas-replay{position:relative;width:100%;aspect-ratio:16 / 9;max-height:56vh;background:#f8fafb}.canvas-replay canvas{display:block;width:100%;height:100%}.spatial-replay-3d{position:relative;width:100%;aspect-ratio:16 / 9;max-height:56vh;overflow:hidden;background:#f3f5f6}.spatial-focus .spatial-replay-3d,.spatial-focus .replay-message{height:clamp(280px,37vh,390px);min-height:280px;max-height:390px;aspect-ratio:auto}.three-host{position:absolute;top:0;right:0;bottom:0;left:0}.three-host canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.three-host canvas:active{cursor:grabbing}.canvas-readout{position:absolute;top:12px;left:12px;max-width:min(410px,calc(100% - 24px));padding:8px 10px;border:1px solid #cbd3d9;color:#46535c;background:#ffffffeb;box-shadow:0 1px 3px #1926301a}.canvas-readout strong,.canvas-readout span{display:block}.canvas-readout strong{color:#26323a;font-size:12px}.canvas-readout span{margin-top:3px;font-size:9px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-corridor-readout{position:absolute;z-index:4;top:88px;left:12px;display:flex;max-width:min(340px,calc(100% - 24px));align-items:center;gap:8px;padding:6px 8px;border-left:4px solid #c96f24;color:#75431d;background:#fff8eff0;box-shadow:0 1px 3px #19263017}.event-corridor-readout strong{font-size:9px}.event-corridor-readout span{color:#9a5a25;font-size:9px;white-space:nowrap}.object-legend{position:absolute;right:12px;top:12px;display:flex;gap:10px;padding:6px 8px;border:1px solid #cbd3d9;background:#ffffffeb;font-size:9px}.object-legend span{display:flex;align-items:center;gap:5px}.object-legend i{width:9px;height:9px;display:inline-block}.legend-ego{background:#173f5c}.legend-vehicle{border:2px solid #d2772a}.legend-person{border:2px solid #c94b48}.three-actions{position:absolute;top:12px;right:12px;display:inline-flex;border:1px solid #bfc8cf;background:#fffffff0}.three-actions button{min-width:34px;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:0;border-right:1px solid #ccd3d8;color:#4f5c65;background:transparent;cursor:pointer;font-size:9px}.three-actions button:last-child{border-right:0}.three-actions button:hover{background:#edf1f4}.three-actions button.active{color:#fff;background:#3f596b}.spatial-legend{position:absolute;left:12px;bottom:10px;display:flex;align-items:center;gap:11px;padding:6px 8px;border:1px solid #cbd3d9;color:#52606a;background:#ffffffeb;font-size:9px}.spatial-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.spatial-legend i{width:12px;height:4px;display:inline-block}.spatial-legend .legend-cloud{height:8px;background:#647e8e}.spatial-legend .legend-traveled{background:#216ba1}.spatial-legend .legend-event{background:#d2772a}.spatial-legend .legend-target{height:8px;border:2px solid #c73f3f;background:#c73f3f2e}.spatial-legend .legend-ego{height:8px;background:#173f5c}.spatial-legend .legend-vehicle{height:8px;border:2px solid #d2772a}.spatial-legend .legend-person{height:8px;border:2px solid #c94b48}.spatial-legend .legend-motion{width:auto;height:auto;color:#158d84;font-size:13px;font-style:normal;font-weight:800;line-height:8px}.spatial-legend .legend-large{height:8px;border:1px solid #8f9aa2;background:#d2772a0f}.pointcloud-boundary{position:absolute;right:12px;bottom:10px;padding:5px 7px;color:#5e6b74;background:#ffffffe5;font-size:9px}.spatial-replay-3d .pointcloud-boundary{bottom:44px}.replay-message{width:100%;aspect-ratio:16 / 9;max-height:56vh;display:flex;align-items:center;justify-content:center;gap:8px;color:#6b7780;background:#f1f3f5}.replay-controls{min-height:46px;display:grid;grid-template-columns:32px 32px auto minmax(120px,1fr) auto;align-items:center;gap:8px;padding:6px 10px;border-top:1px solid #dce1e5;background:#f7f8f9}.replay-icon-button{width:30px;height:30px;display:grid;place-items:center;border:1px solid #bdc6cd;color:#34434d;background:#fff;cursor:pointer}.replay-icon-button:hover{border-color:#7d909e;background:#edf1f4}.replay-time{min-width:102px;color:#4f5c65;font-size:10px;font-variant-numeric:tabular-nums}.replay-controls input[type=range]{width:100%;accent-color:#216ba1}.live-signal{display:flex;align-items:center;gap:12px;padding-left:8px;border-left:1px solid #d3d9de}.live-signal span{color:#69757e;font-size:9px;white-space:nowrap}.live-signal strong{color:#26323a;font-variant-numeric:tabular-nums}.compact-timeline>svg{height:126px}.compact-analysis-details{border-top:1px solid #dce2e6;background:#fff}.compact-analysis-details summary{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 11px;color:#27343d;background:#f5f7f8;cursor:pointer;list-style:none}.compact-analysis-details summary::-webkit-details-marker{display:none}.compact-analysis-details summary>span:first-child{display:flex;min-width:0;align-items:baseline;gap:9px}.compact-analysis-details summary strong{flex:0 0 auto;font-size:10px}.compact-analysis-details summary small{min-width:0;color:#52606a;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analysis-expand-label{display:flex;flex:0 0 auto;align-items:center;gap:5px;color:#216ba1;font-size:9px}.compact-analysis-details summary svg{transition:transform .16s ease}.compact-analysis-details[open] summary svg{transform:rotate(180deg)}.compact-analysis-rows{border-top:1px solid #dce2e6}.replay-analysis-stack.immersive-analysis{position:fixed;z-index:40;top:0;right:0;bottom:0;left:0;display:block;margin:0;background:#e8ecef;scroll-margin:0}.immersive-analysis .sensor-replay{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;display:grid;grid-template-rows:46px minmax(0,1fr) auto;border:0;box-shadow:none}.immersive-analysis .replay-toolbar{grid-row:1}.immersive-analysis .replay-viewport{grid-row:2;height:100%;min-height:0}.immersive-analysis .replay-controls{grid-row:3}.immersive-analysis .event-window-button{display:none}.immersive-analysis .spatial-replay-3d,.immersive-analysis .replay-message{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto}.immersive-analysis .video-layer-spatial{width:clamp(300px,31vw,480px)}.immersive-analysis .signal-timeline{position:absolute;z-index:16;right:22px;bottom:64px;width:min(600px,calc(100vw - 44px));max-height:calc(100vh - 150px);overflow-x:hidden;overflow-y:auto;border:1px solid #aeb9c1;background:#fffffff7;box-shadow:0 10px 28px #1f2d373d}.immersive-analysis .signal-timeline>svg{height:112px}.immersive-analysis .signal-timeline .section-heading{min-height:39px;padding-top:6px;padding-bottom:6px}.immersive-analysis .window-key{min-height:40px}.immersive-analysis .compact-analysis-details summary{min-height:37px}.immersive-analysis .compact-analysis-details[open]{max-height:min(52vh,430px);overflow-y:auto}.immersive-analysis .pointcloud-boundary{display:none}.signal-timeline.timeline-fullscreen{position:fixed!important;z-index:55!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;max-height:none!important;display:grid;grid-template-rows:auto clamp(280px,43vh,390px) auto minmax(0,1fr);overflow:hidden!important;border:0!important;background:#f7f8f9!important;box-shadow:none!important}.timeline-fullscreen .section-heading{min-height:58px!important;padding:9px 16px!important;background:#f5f7f8}.timeline-fullscreen>svg{width:100%;height:100%!important;min-height:280px;background:#fff}.timeline-fullscreen .window-key{min-height:58px;padding:8px 14px;background:#fff}.timeline-fullscreen .interval-analysis{min-height:0;max-height:none;overflow-y:auto;background:#fff}.timeline-fullscreen .interval-analysis-heading{position:sticky;z-index:1;top:0}.window-process-drawer{width:min(650px,96vw)}.window-process-layer{z-index:60}.window-process-summary{padding:14px;border-bottom:1px solid #d5dbe0;background:#fff}.window-process-summary>p{margin:0 0 12px;color:#59666f;font-size:10px;line-height:1.55}.window-stage-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.window-stage-group{min-width:0;display:flex;align-items:center;gap:7px}.window-stage-group>svg{flex:0 0 auto;color:#7b8790}.window-stage-card{min-width:0;flex:1;padding:9px 10px;border:1px solid transparent;border-left:4px solid #bd5b5b;color:inherit;background:#f8f9fa;font:inherit;text-align:left;cursor:pointer}.window-stage-card.final{border-left-color:#3aa8a5}.window-stage-card:hover{border-top-color:#b7c4cc;border-right-color:#b7c4cc;border-bottom-color:#b7c4cc;background:#fff}.window-stage-card.selected{border-top-color:#7f9cad;border-right-color:#7f9cad;border-bottom-color:#7f9cad;background:#fff;box-shadow:0 0 0 1px #216ba11f}.window-stage-card span,.window-stage-card strong,.window-stage-card small{display:block}.window-stage-card span{color:#66737d;font-size:9px}.window-stage-card strong{margin-top:4px;color:#25323a;font-size:14px;font-variant-numeric:tabular-nums}.window-stage-card small{margin-top:4px;color:#56636d;font-size:9px}.window-process-body{flex:1;min-height:0;overflow-y:auto;background:#f7f8f9}.process-section-title{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 14px;border-bottom:1px solid #d8dde1;background:#eef1f3}.process-section-title strong{color:#2e3b44;font-size:10px}.process-section-title span{color:#6c7881;font-size:9px}.window-process-steps{margin:0;padding:0;list-style:none}.window-process-steps>li{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;padding:13px 14px;border-bottom:1px solid #dce1e5;background:#fff}.process-step-index{width:34px;height:34px;display:grid;grid-template-columns:1fr;place-items:center;border:1px solid #aac0cf;color:#216ba1;background:#edf4f8}.process-step-index svg{grid-area:1 / 1}.process-step-index span{align-self:end;justify-self:end;min-width:13px;padding:1px 3px;color:#fff;background:#3f596b;font-size:7px;text-align:center}.process-step-content{min-width:0}.process-step-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.process-step-heading>strong{color:#26323a;font-size:11px}.process-truth{flex:0 0 auto;padding:3px 5px;font-size:8px}.process-truth.observed{color:#367b55;background:#eaf5ee}.process-truth.computed{color:#216ba1;background:#e6f0f6}.process-truth.pending_integration{color:#9a641f;background:#fbf3e6}.process-rule{margin-top:9px}.process-rule>span{display:block;margin-bottom:4px;color:#78848d;font-size:8px}.process-rule>p{margin:0;padding:8px 9px;border-left:3px solid #7b9caf;color:#31434f;background:#edf1f3;font-size:9px;line-height:1.55}.process-raw-rule{margin-top:5px}.process-raw-rule summary{width:fit-content;color:#216ba1;font-size:8px;cursor:pointer}.process-raw-rule code{display:block;margin-top:5px;padding:6px 8px;color:#42535e;background:#f2f4f5;font-size:8px;line-height:1.45;overflow-wrap:anywhere}.process-result{display:flex;align-items:flex-start;gap:6px;margin-top:9px;color:#367b55}.process-result svg{flex:0 0 auto;margin-top:1px}.process-result strong{color:#34444d;font-size:9px;line-height:1.5}.process-evidence-list{margin-top:7px}.process-evidence-list p{position:relative;margin:4px 0;padding-left:10px;color:#56636d;font-size:9px;line-height:1.5}.process-evidence-list p:before{content:"";position:absolute;left:0;top:6px;width:4px;height:4px;background:#c47428}.process-sources{margin-top:9px;padding-top:8px;border-top:1px solid #e0e4e7}.process-sources>span{display:flex;align-items:center;gap:5px;margin-bottom:6px;color:#6c7881;font-size:8px}.process-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.process-source-chip{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 7px;padding:6px 7px;border:1px solid #d8dee2;background:#f8f9fa}.process-source-chip strong{color:#384750;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.process-source-chip span{grid-column:1 / -1;color:#66737c;font-size:8px}.process-source-chip small{grid-column:2;grid-row:1;color:#216ba1;font-size:7px;white-space:nowrap}.window-process-boundary{min-height:58px;display:flex;flex:0 0 auto;align-items:flex-start;gap:8px;padding:10px 14px;border-top:1px solid #cfd6db;color:#9a641f;background:#fbf6ec}.window-process-boundary svg{flex:0 0 auto;margin-top:1px}.window-process-boundary p{margin:0;color:#76572d;font-size:9px;line-height:1.55}@media (max-width: 760px){.main-workspace{background:#e7eaed}.replay-toolbar{align-items:stretch;flex-direction:column}.replay-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.replay-tabs button{min-width:0;width:100%}.replay-status{padding:0 2px}.replay-toolbar-actions{justify-content:space-between}.replay-viewport,.canvas-replay,.video-layer-full .scene-video,.spatial-replay-3d{min-height:0;max-height:none}.spatial-focus .spatial-replay-3d,.spatial-focus .replay-message{height:auto;min-height:0;max-height:none;aspect-ratio:16 / 9}.video-layer-spatial{top:47px;right:8px;width:min(42%,170px)}.video-layer-spatial.expanded{top:8px;right:8px;width:calc(100% - 16px)}.spatial-video-header,.spatial-video-header button{height:24px}.video-layer-spatial:not(.expanded)~.spatial-replay-3d .spatial-readout{max-width:calc(58% - 24px)}.event-corridor-readout{top:83px;max-width:calc(58% - 24px);align-items:flex-start;flex-direction:column;gap:2px}.replay-controls{grid-template-columns:32px 32px minmax(0,1fr)}.replay-time{text-align:right}.replay-controls input[type=range]{grid-column:1 / -1}.live-signal{grid-column:1 / -1;justify-content:space-between;padding:6px 0 0;border-left:0;border-top:1px solid #d8dde1}.object-legend{top:auto;bottom:10px}.three-actions span{display:none}.spatial-legend{max-width:calc(100% - 20px);left:10px;bottom:8px;gap:7px;overflow-x:auto}.spatial-replay-3d .pointcloud-boundary{display:none}.spatial-readout{max-width:calc(100% - 126px)}.interval-analysis-heading{align-items:flex-start;flex-direction:column;gap:3px}.interval-analysis-row{grid-template-columns:1fr}.interval-analysis-row>div{padding:8px 10px;border-right:0;border-bottom:1px solid #e6eaed}.interval-analysis-row>div:last-child{border-bottom:0}.interval-verdict{min-height:34px}.compact-analysis-details summary{align-items:flex-start;flex-direction:column;gap:4px}.compact-analysis-details summary>span:first-child{width:100%}.analysis-expand-label{align-self:flex-end}.immersive-analysis .sensor-replay{grid-template-rows:auto minmax(0,1fr) auto}.immersive-analysis .replay-toolbar{padding:6px 8px}.immersive-analysis .replay-status{display:none}.immersive-analysis .replay-viewport,.immersive-analysis .spatial-replay-3d,.immersive-analysis .replay-message{height:100%;min-height:0;max-height:none;aspect-ratio:auto}.immersive-analysis .video-layer-spatial{top:8px;width:min(44%,180px)}.immersive-analysis .signal-timeline{right:8px;bottom:116px;width:calc(100vw - 16px);max-height:222px}.immersive-analysis .signal-timeline>svg{height:92px}.immersive-analysis .signal-timeline .compact-heading span{display:none}.immersive-analysis .signal-timeline .chart-legend{display:none!important}.immersive-analysis .compact-analysis-details{display:none}.immersive-analysis .window-key{min-height:38px}.signal-timeline.timeline-fullscreen{display:flex;flex-direction:column;overflow-y:auto!important}.timeline-fullscreen .section-heading{min-height:52px!important;align-items:flex-start;padding:7px 9px!important}.timeline-fullscreen .section-heading>div:first-child span{display:none}.timeline-fullscreen .timeline-heading-actions{margin-left:auto}.timeline-fullscreen .chart-legend{display:none!important}.timeline-fullscreen .timeline-fullscreen-button span{display:none}.timeline-fullscreen>svg{min-height:180px;flex:0 0 180px}.timeline-fullscreen .window-key{min-height:58px;flex:0 0 auto;padding:7px 8px}.timeline-fullscreen .interval-analysis{max-height:none;flex:0 0 auto;overflow:visible}.window-stage-comparison{grid-template-columns:1fr}.window-stage-group>svg{transform:rotate(90deg)}.process-section-title{align-items:flex-start;flex-direction:column;gap:3px}.process-source-list{grid-template-columns:1fr}}.blueprint-workspace{display:grid;gap:12px;color:#26323a}.blueprint-scene-row .scene-row-count{min-width:38px}.blueprint-workspace>section{min-width:0;border:1px solid #c9d1d7;background:#fff;box-shadow:0 1px 2px #1e2b340d}.blueprint-header{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 16px}.blueprint-header>div:first-child{min-width:0}.blueprint-eyebrow{color:#216ba1;font-size:9px;font-weight:700;text-transform:uppercase}.blueprint-header h1{margin:3px 0 0;color:#1d272e;font-size:18px;line-height:1.3}.blueprint-header p{max-width:880px;margin:6px 0 0;color:#60707a;font-size:10px;line-height:1.55}.blueprint-live-status{min-width:175px;display:flex;flex:0 0 auto;align-items:center;gap:8px;padding:9px 10px;border-left:3px solid #c47428;background:#fbf6ec;color:#a56924}.blueprint-live-status.confirmed{border-left-color:#438a62;color:#367b55;background:#edf6f1}.blueprint-live-status.analyzing{border-left-color:#216ba1;color:#216ba1;background:#eef5f9}.blueprint-live-status.analyzing>svg{animation:analysis-mark-pulse 1.1s ease-in-out infinite}.blueprint-live-status>svg{flex:0 0 auto}.blueprint-live-status>span{min-width:0;display:flex;flex-direction:column;gap:3px}.blueprint-live-status strong{color:#33424b;font-size:9px}.blueprint-live-status small{color:#6e7880;font-size:8px}.blueprint-studio{display:grid;grid-template-columns:minmax(290px,350px) minmax(0,1fr);align-items:start;overflow:clip}.agent-chat{min-width:0;display:grid;grid-template-rows:auto minmax(220px,auto) auto;border-right:1px solid #cfd6db;background:#f4f6f7}.agent-chat>header{min-height:54px;display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid #d7dde1;background:#e9eef1}.agent-chat>header>svg{flex:0 0 auto;color:#216ba1}.agent-chat>header>span{display:flex;flex-direction:column;gap:2px}.agent-chat>header strong{color:#27343d;font-size:10px}.agent-chat>header small{color:#75828b;font-size:8px}.new-conversation-button{width:30px;height:30px;display:grid;flex:0 0 auto;margin-left:auto;place-items:center;border:1px solid #b7c3ca;border-radius:4px;color:#405864;background:#fff;cursor:pointer}.new-conversation-button:hover{color:#216ba1;border-color:#7f9caf;background:#f4f8fa}.chat-thread{min-height:260px;max-height:540px;display:flex;flex-direction:column;gap:10px;padding:12px 10px;overflow-y:auto}.chat-message{display:flex;align-items:flex-start;gap:7px}.chat-message.user-message{flex-direction:row-reverse}.chat-avatar{width:25px;height:25px;display:grid;flex:0 0 auto;place-items:center;border:1px solid #b9c7d0;border-radius:50%;color:#216ba1;background:#fff}.user-message .chat-avatar{color:#fff;border-color:#486878;background:#486878}.chat-message>div{max-width:calc(100% - 33px);padding:8px 9px;border:1px solid #d2d9de;border-radius:4px;background:#fff}.user-message>div{border-color:#bfd1de;background:#e8f1f7}.analysis-message>div{border-left:3px solid #216ba1}.trial-message>div{border-left:3px solid #438a62;background:#f2f8f4}.chat-message strong{display:block;color:#33434d;font-size:8px}.chat-message p{margin:5px 0 0;color:#53636d;font-size:9px;line-height:1.55;white-space:pre-wrap}.chat-case-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin:6px 0 7px;padding:7px 24px 7px 0;border-bottom:1px solid #c9d5dc;color:inherit;text-decoration:none}.chat-case-card>span{display:inline-flex;align-items:center;gap:5px;color:#216ba1}.chat-case-card>span b{font-size:9px}.chat-case-card>small,.chat-case-card>code{grid-column:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-case-card>small{color:#53636d;font-size:8px}.chat-case-card>code{color:#75828b;font-size:7px}.chat-case-card>svg{position:absolute;top:9px;right:2px;color:#216ba1}.chat-case-card:hover>span b{text-decoration:underline}.chat-composer{padding:10px;border-top:1px solid #d2d9de;background:#fff}.case-link-input-hint{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#216ba1}.case-link-input-hint>svg{flex:0 0 auto}.case-link-input-hint>span{min-width:0;display:flex;flex-direction:column;gap:2px}.case-link-input-hint strong{color:#33434d;font-size:8px}.case-link-input-hint small{color:#75828b;font-size:7px}.chat-composer textarea{width:100%;min-height:110px;resize:vertical;padding:9px 10px;border:1px solid #aebbc4;border-radius:4px;outline:0;color:#26323a;background:#fff;font-size:9px;line-height:1.6}.chat-composer textarea:focus{border-color:#216ba1;box-shadow:0 0 0 2px #216ba11a}.chat-composer>button{width:100%;margin-top:8px}.detected-case{display:flex;align-items:flex-start;flex-direction:column;gap:3px;margin-top:6px;padding:6px 7px;border-left:3px solid #438a62;background:#f2f8f4}.detected-case.pending{border-left-color:#c47428;background:#fbf6ec}.detected-case>span{display:flex;align-items:center;gap:5px;color:#367b55}.detected-case.pending>span{color:#93631f}.detected-case strong{font-size:8px}.detected-case small{color:#64717a;font-size:7px;line-height:1.4}.chat-error,.chat-dirty{display:flex;align-items:flex-start;gap:5px;margin:6px 0 0;color:#aa433b;font-size:8px;line-height:1.4}.chat-dirty{color:#93631f}.blueprint-authoring{min-width:0;background:#fff}.blueprint-empty-state{min-height:480px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:28px;text-align:center}.blueprint-empty-state>span{width:44px;height:44px;display:grid;place-items:center;color:#216ba1;background:#e6f0f6}.blueprint-empty-state h2{margin:12px 0 0;color:#2c3b44;font-size:14px}.blueprint-empty-state p{max-width:430px;margin:7px 0 0;color:#697780;font-size:9px;line-height:1.55}.agent-analysis-process{min-height:560px;background:#f8fafb}.analysis-process-header{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 13px;border-bottom:1px solid #d4dce1;background:#fff}.analysis-process-header>div{min-width:0;display:flex;align-items:center;gap:9px}.analysis-live-mark{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;color:#216ba1;background:#e6f0f6;animation:analysis-mark-pulse 1.1s ease-in-out infinite}.analysis-process-header>div>span:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}.analysis-process-header strong{color:#27343d;font-size:11px}.analysis-process-header small{color:#6d7b84;font-size:8px}.analysis-process-header code{flex:0 0 auto;padding:5px 7px;color:#216ba1;background:#e8f1f7;font-size:8px;font-weight:700}.analysis-process-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.25fr);min-height:498px}.analysis-phase-list{margin:0;padding:10px 0;border-right:1px solid #d9e0e4;background:#f2f5f6;list-style:none}.analysis-phase-list li{min-height:68px;display:flex;align-items:flex-start;gap:8px;padding:9px 11px;color:#82909a;border-left:3px solid transparent;transition:color .25s ease,background .25s ease,border-color .25s ease}.analysis-phase-list li>span{width:25px;height:25px;display:grid;flex:0 0 auto;place-items:center;border:1px solid #c5cfd5;border-radius:50%;background:#fff;font-size:8px;font-weight:700}.analysis-phase-list li>div{min-width:0}.analysis-phase-list strong{display:block;color:currentColor;font-size:9px}.analysis-phase-list small{display:block;margin-top:4px;color:#7a8790;font-size:8px;line-height:1.4}.analysis-phase-list li.active{color:#216ba1;border-left-color:#216ba1;background:#e9f2f7}.analysis-phase-list li.active>span{color:#fff;border-color:#216ba1;background:#216ba1;animation:analysis-step-pulse 1s ease-in-out infinite}.analysis-phase-list li.done{color:#367b55}.analysis-phase-list li.done>span{color:#fff;border-color:#438a62;background:#438a62}.analysis-live-output{min-width:0;display:grid;grid-template-rows:auto 1fr auto;background:#fff}.analysis-live-output>header{min-height:54px;display:flex;align-items:center;gap:8px;padding:9px 11px;border-bottom:1px solid #e0e5e8}.analysis-live-output>header>svg{flex:0 0 auto;color:#216ba1}.analysis-live-output>header>span{min-width:0;display:flex;flex-direction:column;gap:3px}.analysis-live-output>header strong{color:#2e3d46;font-size:9px}.analysis-live-output>header small{color:#71808a;font-size:8px}.analysis-output-stream{min-height:0;padding:11px;overflow:hidden}.analysis-output-stream article{display:flex;gap:8px;padding:9px 0;border-bottom:1px dashed #d8dfe3;animation:analysis-line-in .32s ease-out both}.analysis-output-stream article:last-child{border-bottom:0}.analysis-output-stream article>span{width:23px;height:23px;display:grid;flex:0 0 auto;place-items:center;color:#216ba1;border:1px solid #9fb7c7;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:7px}.analysis-output-stream article>div{min-width:0}.analysis-output-stream strong{color:#33434d;font-size:9px}.analysis-output-stream p{margin:4px 0 0;color:#4e626e;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:8px;line-height:1.45;overflow-wrap:anywhere}.analysis-output-stream article.typing p:after{content:"";display:inline-block;width:5px;height:10px;margin-left:4px;vertical-align:-2px;background:#216ba1;animation:analysis-cursor .7s steps(1) infinite}.analysis-live-output>footer{min-height:40px;display:flex;align-items:center;gap:7px;padding:8px 11px;color:#216ba1;border-top:1px solid #e0e5e8;background:#f4f8fa;font-size:8px}.analysis-live-output>footer i{width:7px;height:7px;border-radius:50%;background:#216ba1;animation:analysis-step-pulse 1s ease-in-out infinite}.subsection-title,.trial-report-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.subsection-title>div,.trial-report-header>div{min-width:0;display:flex;align-items:center;gap:8px}.subsection-title>div>svg,.trial-report-header>div>svg{flex:0 0 auto;color:#216ba1}.subsection-title>div>span,.trial-report-header>div>span{min-width:0;display:flex;flex-direction:column;gap:3px}.subsection-title strong,.trial-report-header strong{color:#27343d;font-size:10px}.subsection-title small,.trial-report-header small{color:#6d7a83;font-size:8px;line-height:1.35}.blueprint-artifact-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid #d9e0e4;background:#f5f7f8}.blueprint-artifact-identity{min-width:0;display:flex;align-items:center;gap:10px}.blueprint-artifact-icon{width:38px;height:38px;display:grid;flex:0 0 auto;place-items:center;color:#216ba1;border:1px solid #a9bfcd;background:#fff}.blueprint-artifact-identity>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.blueprint-artifact-identity small{color:#216ba1;font-size:8px;font-weight:700}.blueprint-artifact-identity strong{color:#27343d;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.25;overflow-wrap:anywhere}.blueprint-artifact-identity p{margin:2px 0 0;color:#60707a;font-size:8px;line-height:1.4}.blueprint-artifact-meta{display:flex;flex:0 0 auto;align-items:stretch;border:1px solid #cbd4da;background:#fff}.blueprint-artifact-meta>span{min-width:84px;display:flex;align-items:flex-end;justify-content:center;flex-direction:column;gap:2px;padding:7px 9px;border-right:1px solid #d9e0e4}.blueprint-artifact-meta>span:last-child{border-right:0}.blueprint-artifact-meta strong{color:#33434d;font-size:9px}.blueprint-artifact-meta small{color:#75828b;font-size:7px}.blueprint-canvas{height:min(720px,calc(100vh - 250px));min-height:560px;display:grid;grid-template-columns:224px minmax(0,1fr);border-top:1px solid #cfd7dc;overflow:hidden}.blueprint-graph{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-right:1px solid #cfd7dc;background:#eef2f4;overflow:hidden}.blueprint-graph>header{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #d4dce1;background:#f7f9fa}.blueprint-graph>header>span{min-width:0;display:flex;align-items:center;gap:7px}.blueprint-graph>header>span>svg{flex:0 0 auto;color:#216ba1}.blueprint-graph>header>span>span{min-width:0;display:flex;flex-direction:column;gap:2px}.blueprint-graph>header strong{color:#33434d;font-size:9px}.blueprint-graph>header small{color:#75828b;font-size:7px;line-height:1.35}.blueprint-graph>header>b{flex:0 0 auto;color:#216ba1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:8px}.blueprint-graph ol{min-height:0;margin:0;padding:9px 0;overflow-y:auto;list-style:none}.blueprint-graph li{position:relative;padding:0 8px 9px}.blueprint-graph li:not(:last-child):after{content:"";position:absolute;z-index:0;top:36px;bottom:-1px;left:22px;width:1px;background:#b7c3ca}.blueprint-graph li.complete:not(:last-child):after{background:#7594a8}.blueprint-graph button{position:relative;z-index:1;width:100%;min-height:69px;display:grid;grid-template-columns:29px minmax(0,1fr);grid-template-rows:auto auto;gap:0 8px;padding:8px;border:1px solid #cbd4da;border-radius:4px;color:#52636d;background:#fff;text-align:left;cursor:pointer}.blueprint-graph button:disabled{opacity:1;cursor:default}.blueprint-graph button:hover,.blueprint-graph li.active button{border-color:#216ba1;background:#f4f9fc;box-shadow:0 0 0 1px #216ba114}.blueprint-node-dot{width:27px;height:27px;display:grid;grid-row:1 / 3;place-items:center;align-self:center;color:#216ba1;border:1px solid #9fb7c7;border-radius:50%;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:7px;font-weight:700}.blueprint-graph li.complete .blueprint-node-dot{color:#fff;border-color:#438a62;background:#438a62}.blueprint-graph li.active .blueprint-node-dot{color:#fff;border-color:#216ba1;background:#216ba1}.blueprint-node-copy{min-width:0;display:flex;flex-direction:column}.blueprint-node-copy>small{color:#7b8790;font-size:7px}.blueprint-node-copy>strong{margin-top:2px;color:#31414b;font-size:8px;line-height:1.35}.blueprint-node-copy>p{margin:3px 0 0;color:#66747d;font-size:7px;line-height:1.35}.blueprint-graph button>code{grid-column:2;width:fit-content;margin-top:5px;padding:2px 4px;color:#216ba1;background:#e8f1f7;font-size:6px}.blueprint-graph>footer{min-height:40px;display:flex;align-items:center;gap:6px;padding:8px 10px;color:#7a5a2d;border-top:1px solid #d4dce1;background:#fbf6ec;font-size:7px;line-height:1.35}.blueprint-graph>footer>svg{flex:0 0 auto}.blueprint-graph>footer i{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#216ba1;animation:analysis-step-pulse 1s ease-in-out infinite}.blueprint-content-pane{position:relative;min-width:0;min-height:0;padding-bottom:520px;overflow-y:auto;scroll-behavior:smooth;background:#fff}.blueprint-content-toolbar{position:sticky;z-index:5;top:0;min-height:44px;display:flex;align-items:center;gap:8px;padding:7px 11px;border-bottom:1px solid #d9e0e4;background:#f5f7f8f5;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.blueprint-content-toolbar>svg{flex:0 0 auto;color:#216ba1}.blueprint-content-toolbar>span{min-width:0;display:flex;flex-direction:column;gap:2px}.blueprint-content-toolbar strong{color:#2e3d46;font-size:9px}.blueprint-content-toolbar small{color:#6d7a83;font-size:7px;line-height:1.35}.blueprint-content-toolbar>b{flex:0 0 auto;margin-left:auto;color:#216ba1;font-size:8px}.blueprint-node-content{position:relative;scroll-margin-top:46px;border-left:3px solid transparent;border-bottom:1px solid #d9e0e4;transition:border-color .16s ease,background-color .16s ease}.blueprint-node-content.active{border-left-color:#216ba1}.blueprint-node-content.active>.subsection-title{background:#f4f9fc}.blueprint-analysis-pane{min-width:0;min-height:0;border:0;overflow:hidden}.blueprint-analysis-pane>header{min-height:58px}.blueprint-analysis-pane>header>code{flex:0 0 auto;margin-left:auto;padding:4px 6px;color:#216ba1;background:#e8f1f7;font-size:7px}.blueprint-analysis-pane .analysis-output-stream{overflow-y:auto}.rule-expression-label{display:block;margin:7px 0 3px;color:#216ba1;font-size:7px;font-weight:700}.rule-field-list{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.rule-field-list>span{padding:3px 5px;color:#526873;border:1px solid #ced8de;background:#f5f7f8;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:6px;line-height:1.3}.rule-sample-evidence{margin-top:7px;padding:7px 8px;border-left:3px solid #438a62;background:#f1f7f3}.rule-sample-evidence strong{color:#367b55;font-size:7px}.rule-sample-evidence p{margin:3px 0 0;color:#455b50;font-size:7px;line-height:1.45}.vehicle-state-contract{display:grid;grid-template-columns:1.1fr 1.7fr 1.25fr 1fr;align-items:center;gap:0;margin:8px 10px;border:1px solid #cbd6dc;background:#f6f8f9}.vehicle-state-contract>span,.vehicle-state-contract>p{min-width:0;min-height:44px;display:flex;align-items:center;gap:6px;margin:0;padding:7px 8px;border-right:1px solid #d9e0e4;color:#56656f;font-size:7px;line-height:1.4}.vehicle-state-contract>p:last-child{border-right:0}.vehicle-state-contract>span{color:#216ba1}.vehicle-state-contract>span>svg{flex:0 0 auto}.vehicle-state-contract strong{color:#33434d;font-size:8px}.vehicle-state-contract b{color:#33434d}.node-not-triggered{margin:8px 10px 10px;padding:9px 10px;color:#7a5a2d;background:#fbf6ec;font-size:8px}.blueprint-outline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #cfd7dc;background:#eef2f4}.blueprint-outline button{position:relative;min-width:0;min-height:74px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;gap:2px 8px;padding:10px 11px;border:0;border-right:1px solid #d4dce1;color:#60707a;background:transparent;text-align:left;cursor:pointer}.blueprint-outline button:last-child{border-right:0}.blueprint-outline button:before{content:"";position:absolute;top:0;right:0;left:0;height:3px;background:transparent}.blueprint-outline button:hover{background:#f8fafb}.blueprint-outline button.active{color:#216ba1;background:#fff}.blueprint-outline button.active:before{background:#216ba1}.blueprint-outline button>span{width:27px;height:27px;display:grid;grid-row:1 / 3;place-items:center;align-self:center;color:#657680;border:1px solid #aebbc4;border-radius:50%;background:#fff;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:8px;font-weight:700}.blueprint-outline button.active>span{color:#fff;border-color:#216ba1;background:#216ba1}.blueprint-outline button>strong{min-width:0;align-self:end;color:#33434d;font-size:9px}.blueprint-outline button>small{min-width:0;align-self:start;overflow:hidden;color:#75828b;font-size:7px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.blueprint-outline button>b{grid-column:3;grid-row:1 / 3;align-self:center;color:#5f707a;font-size:7px;font-weight:650;white-space:nowrap}.blueprint-outline button.active>strong,.blueprint-outline button.active>b{color:#216ba1}.analysis-ledger,.rule-collection,.query-flow-section{border-bottom:1px solid #d9e0e4}.blueprint-module{position:relative;scroll-margin-top:14px;border-left:3px solid transparent;transition:border-color .18s ease,background-color .18s ease}.blueprint-module.active{border-left-color:#216ba1}.blueprint-module.active>.subsection-title{background:#f5f9fb}.subsection-title{min-height:46px;padding:8px 12px;background:#fff}.mapped-badge,.draft-badge,.flow-signature,.trial-success{flex:0 0 auto;padding:4px 6px;font-size:8px;font-weight:650}.mapped-badge,.trial-success{color:#367b55;background:#eaf5ee}.draft-badge{color:#93631f;background:#fbf3e6}.flow-signature{color:#536873;background:#e9eef1}.analysis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e0e5e8}.analysis-grid article{min-width:0;display:flex;gap:8px;padding:10px 11px;border-right:1px solid #e0e5e8;border-bottom:1px solid #e0e5e8}.analysis-grid article:nth-child(2n){border-right:0}.analysis-grid article:nth-last-child(-n+2){border-bottom:0}.analysis-index{width:24px;height:24px;display:grid;flex:0 0 auto;place-items:center;color:#216ba1;background:#e6f0f6;font-size:8px;font-weight:700}.analysis-grid article>div{min-width:0}.analysis-grid strong{color:#31414b;font-size:9px}.analysis-grid small{display:block;margin-top:3px;color:#7b8790;font-size:8px;overflow-wrap:anywhere}.analysis-grid p{margin:6px 0 0;color:#475963;font-size:9px;line-height:1.45}.rule-list{border-top:1px solid #e0e5e8}.blueprint-rule{min-width:0;display:grid;grid-template-columns:78px minmax(260px,1.45fr) minmax(210px,1fr);border-bottom:1px solid #e0e5e8}.blueprint-rule:last-child{border-bottom:0}.rule-identity,.rule-condition,.rule-evidence{min-width:0;padding:9px 10px}.rule-identity{border-right:1px solid #e0e5e8;background:#f7f9fa}.rule-identity>span{display:block;color:#216ba1;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;font-weight:700}.rule-identity small{display:block;margin-top:5px;color:#6d7b84;font-size:8px;line-height:1.35}.rule-condition{border-right:1px solid #e0e5e8}.rule-condition strong{color:#2e3d46;font-size:9px}.rule-condition p{margin:4px 0 6px;color:#53626b;font-size:8px;line-height:1.5}.rule-condition code{display:block;padding:6px 7px;color:#36505f;border-left:3px solid #7b9caf;background:#edf1f3;font-size:8px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}.rule-evidence{background:#fbfcfc}.origin-badge{display:inline-block;padding:3px 5px;color:#536873;background:#e8eef1;font-size:7px;font-weight:700}.rule-evidence p{margin:6px 0 0;color:#50616b;font-size:8px;line-height:1.4;overflow-wrap:anywhere}.rule-evidence small{display:block;margin-top:5px;color:#9a641f;font-size:7px;line-height:1.4}.query-whiteboard{margin:0 11px 10px;border:1px solid #bcc8cf;background:#fbfcfa;box-shadow:inset 0 0 18px #2d3e480a}.whiteboard-toolbar{min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px;border-bottom:1px solid #d3dade;color:#56666f;background:#f0f3f2}.whiteboard-toolbar>span{display:inline-flex;align-items:center;gap:6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:8px;font-weight:700}.whiteboard-toolbar small{color:#216ba1;font-size:8px}.query-flow{min-height:136px;display:flex;align-items:center;gap:0;padding:20px 12px 16px;overflow-x:auto;background-image:radial-gradient(circle,#c7d0d5 .8px,transparent .9px);background-size:15px 15px}.query-flow-fragment{min-width:0;display:flex;flex:1 0 150px;align-items:center}.query-flow-fragment:last-child{flex-grow:.85}.query-flow-fragment.waiting{opacity:0;transform:translateY(8px) scale(.97);pointer-events:none}.query-flow-fragment.revealed{animation:whiteboard-node-in .38s cubic-bezier(.2,.8,.2,1) both}.query-flow-fragment>svg{flex:0 0 auto;margin:0 5px;color:#6f7e87;stroke-width:1.7;filter:drop-shadow(0 1px 0 #ffffff)}.query-node{position:relative;min-width:126px;min-height:88px;display:flex;flex:1;flex-direction:column;padding:9px;border:1px solid #8298a6;border-top:4px solid #7b9caf;border-radius:3px;background:#fffffcf5;box-shadow:2px 3px #51636e1f;transform:rotate(-.35deg)}.query-flow-fragment:nth-child(2n) .query-node{transform:rotate(.45deg)}.query-node.node-window{border-color:#be8b58;border-top-color:#c47428}.query-node.node-semantic{border-color:#6692b2;border-top-color:#216ba1}.query-node.node-validate{border-color:#9b825e;border-top-color:#9a7240}.query-node.node-output{border-color:#6d9a7f;border-top-color:#438a62;background:#f5fbf7}.query-node>span{color:#81909a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:7px}.query-node strong{margin-top:8px;color:#2f3f48;font-size:9px}.query-node small{margin-top:5px;color:#63717a;font-size:8px;line-height:1.4}.whiteboard-note{padding:6px 8px;color:#68757d;border-top:1px dashed #c8d1d6;background:#f6f8f6eb;font-size:7px;line-height:1.4}.flow-failure-path{display:flex;align-items:center;gap:6px;margin:0 11px 10px;padding:7px 8px;color:#8d5f25;background:#fbf6ec;font-size:8px}.flow-failure-path>svg{flex:0 0 auto}.draft-actions{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f5f7f8}.draft-actions>div:first-child{min-width:0;display:flex;align-items:center;gap:8px}.draft-actions>div:first-child>svg{flex:0 0 auto;color:#c47428}.draft-actions>div:first-child>span{min-width:0;display:flex;flex-direction:column;gap:3px}.draft-actions strong{color:#31414b;font-size:9px}.draft-actions small{color:#6b7780;font-size:8px;line-height:1.35}.draft-actions>div:last-child{display:flex;flex:0 0 auto;gap:7px}.blueprint-primary-button,.blueprint-confirm-button,.blueprint-secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 10px;border-radius:4px;cursor:pointer;font-size:9px;font-weight:650;white-space:nowrap}.blueprint-primary-button{border:0;color:#fff;background:#216ba1}.blueprint-primary-button:hover{background:#185b89}.blueprint-primary-button:disabled{color:#d7e6ef;background:#6b97b5;cursor:wait}.blueprint-confirm-button{border:0;color:#fff;background:#438a62}.blueprint-confirm-button:hover{background:#367650}.blueprint-secondary-button{border:1px solid #b9c4cc;color:#40515d;background:#fff}.blueprint-secondary-button:hover{border-color:#718592;background:#edf2f5}.trial-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1600;display:grid;place-items:center;padding:28px;background:#19252da3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.trial-report-modal{width:min(1260px,100%);max-height:calc(100vh - 56px);overflow:auto;border:1px solid #9eabb3;background:#fff;box-shadow:0 16px 42px #121d2452}.trial-report-header{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #d9e0e4;background:#f5f7f8}.trial-report-modal .trial-report-header{position:sticky;top:0;z-index:2}.trial-report-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.trial-running{flex:0 0 auto;padding:4px 6px;color:#216ba1;background:#e6f0f6;font-size:8px;font-weight:650}.trial-recalculate-button{min-height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #b7c3ca;border-radius:4px;color:#40515d;background:#fff;cursor:pointer;font-size:8px;font-weight:650}.trial-recalculate-button:hover{color:#216ba1;border-color:#7f9caf;background:#eef5f9}.trial-modal-close{width:32px;height:32px;display:grid;place-items:center;border:1px solid #b7c3ca;border-radius:4px;color:#40515d;background:#fff;cursor:pointer}.trial-modal-close:hover{color:#216ba1;border-color:#7f9caf;background:#eef5f9}.trial-computation{display:grid;grid-template-columns:minmax(460px,1.12fr) minmax(340px,.88fr);min-height:470px}.trial-compute-steps{margin:0;padding:16px;list-style:none}.trial-compute-steps li{position:relative;min-height:76px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;border:1px solid #dce2e6;border-bottom:0;color:#8b969e;background:#f8fafb;transition:border-color .2s ease,background .2s ease,color .2s ease}.trial-compute-steps li:last-child{border-bottom:1px solid #dce2e6}.trial-compute-steps li.current{color:#216ba1;border-color:#7fabc8;background:#edf5fa;box-shadow:inset 3px 0 #216ba1}.trial-compute-steps li.done{color:#367b55;background:#f2f8f4}.trial-compute-index{width:27px;height:27px;display:grid;place-items:center;border:1px solid #bac5cc;border-radius:50%;color:#6e7c85;background:#fff;font-size:8px;font-weight:700}.trial-compute-steps li.current .trial-compute-index{color:#fff;border-color:#216ba1;background:#216ba1;animation:analysis-step-pulse 1s ease-in-out infinite}.trial-compute-steps li.done .trial-compute-index{color:#fff;border-color:#438a62;background:#438a62}.trial-compute-steps li>div{min-width:0}.trial-compute-steps li>div>small{display:block;color:currentColor;font-size:7px;font-weight:700}.trial-compute-steps li>div>strong{display:block;margin-top:2px;color:#33434d;font-size:9px}.trial-compute-steps li>div>p{margin:4px 0 0;color:#6a7780;font-size:8px;line-height:1.4}.trial-compute-steps li>code{min-width:86px;padding:5px 6px;color:currentColor;background:#ffffffb8;text-align:center;font-size:7px;font-weight:700}.trial-live-calculation{min-width:0;display:flex;flex-direction:column;padding:18px;border-left:1px solid #dce2e6;background:#f4f7f8}.trial-calculation-status{display:flex;align-items:flex-start;gap:9px;color:#216ba1}.trial-calculation-status>svg{flex:0 0 auto;margin-top:2px}.trial-calculation-status>span{min-width:0}.trial-calculation-status small,.trial-calculation-status strong{display:block}.trial-calculation-status small{color:#6c7881;font-size:7px}.trial-calculation-status strong{margin-top:3px;color:#27343d;font-size:12px}.trial-calculation-status p{margin:4px 0 0;color:#65737c;font-size:8px}.trial-progress-track{height:5px;margin:14px 0;background:#d9e1e5;overflow:hidden}.trial-progress-track>i{display:block;height:100%;background:#216ba1;transition:width .35s ease}.trial-live-calculation dl{margin:0;border:1px solid #dce2e6;background:#fff}.trial-live-calculation dl>div{min-height:44px;display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;border-bottom:1px solid #e1e6e9}.trial-live-calculation dl>div:last-child{border-bottom:0}.trial-live-calculation dt,.trial-live-calculation dd{margin:0;padding:7px 9px;font-size:8px;line-height:1.4}.trial-live-calculation dt{color:#68757e}.trial-live-calculation dd{color:#33434d;font-weight:650}.trial-reduction-formula{display:grid;gap:3px;margin-top:12px;padding:10px;border-left:3px solid #b7c3ca;background:#e9eef1}.trial-reduction-formula.ready{border-left-color:#438a62;background:#edf6f1}.trial-reduction-formula span{color:#69767f;font-size:7px}.trial-reduction-formula strong{color:#34434d;font-size:16px;font-variant-numeric:tabular-nums}.trial-reduction-formula small{color:#5f6d76;font-size:8px}.trial-reduction-formula.ready strong{color:#367b55}.trial-calculation-note{margin:auto 0 0;padding-top:13px;color:#7a858d;font-size:7px;line-height:1.45}.trial-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid #dfe4e8}.trial-metrics>div{min-height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-right:1px solid #e1e5e8}.trial-metrics>div:last-child{border-right:0}.trial-metrics strong{color:#216ba1;font-size:19px;font-variant-numeric:tabular-nums}.trial-metrics span{color:#6b7780;font-size:8px}.trial-report-body{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(440px,1.35fr);min-height:275px}.trial-preview{position:relative;min-width:0;margin:0;border-right:1px solid #dfe4e8;background:#11161a;overflow:hidden}.trial-preview img{display:block;width:100%;height:100%;min-height:275px;object-fit:cover}.trial-preview figcaption{position:absolute;left:10px;right:10px;bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;color:#fff;background:#23313be0;font-size:8px}.trial-preview figcaption span{color:#d8e2e8}.trial-rule-report{min-width:0;padding:11px}.trial-verdict{display:flex;align-items:center;gap:8px;padding:9px 10px;color:#9a641f;background:#fbf6ec}.trial-verdict>span{display:flex;flex-direction:column;gap:3px}.trial-verdict strong{font-size:9px}.trial-verdict small{color:#76572d;font-size:8px}.trial-rule-table{margin:9px 0;border:1px solid #dce2e6}.trial-rule-table>div{display:grid;grid-template-columns:72px 70px minmax(0,1fr);align-items:center;min-height:34px;border-bottom:1px solid #e2e6e9}.trial-rule-table>div:last-child{border-bottom:0}.trial-rule-table code{padding:7px 8px;color:#216ba1;font-size:8px;font-weight:700}.trial-row-status{width:fit-content;padding:3px 5px;font-size:7px;font-weight:700}.trial-row-status.pass{color:#367b55;background:#eaf5ee}.trial-row-status.review{color:#9a641f;background:#fbf3e6}.trial-rule-table p{min-width:0;margin:0;padding:7px 8px;color:#53616a;font-size:8px;line-height:1.35}.efficiency-forecast{border-top:1px solid #d8e0e4;background:#f8fafb}.efficiency-forecast>header{min-height:57px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #d8e0e4;background:#eef2f4}.efficiency-forecast>header>div{min-width:0;display:flex;align-items:center;gap:8px;color:#216ba1}.efficiency-forecast>header>div>svg{flex:0 0 auto}.efficiency-forecast>header>div>span{min-width:0}.efficiency-forecast>header strong,.efficiency-forecast>header small{display:block}.efficiency-forecast>header strong{color:#27343d;font-size:10px}.efficiency-forecast>header small{margin-top:3px;color:#69767f;font-size:8px}.forecast-basis{flex:0 0 auto;padding:4px 6px;color:#93631f;background:#fbf3e6;font-size:8px;font-weight:700}.forecast-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #d8e0e4;background:#fff}.forecast-control{min-width:0;padding:10px;border-right:1px solid #e1e6e9}.forecast-control:last-child{border-right:0}.forecast-control>span{display:block;margin-bottom:7px;color:#5f6d76;font-size:8px;font-weight:650}.forecast-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #b9c4cc}.forecast-segments button{min-width:0;min-height:29px;padding:3px 4px;border:0;border-right:1px solid #b9c4cc;color:#54636d;background:#fff;cursor:pointer;font-size:7px;white-space:normal}.forecast-segments button:last-child{border-right:0}.forecast-segments button:hover{color:#216ba1;background:#edf4f8}.forecast-segments button[aria-pressed=true]{color:#fff;background:#216ba1}.forecast-results{display:grid;grid-template-columns:250px minmax(0,1fr);border-bottom:1px solid #d8e0e4}.forecast-primary-result{min-height:118px;display:flex;align-items:center;gap:10px;padding:13px;border-right:1px solid #d8e0e4;color:#216ba1;background:#eef5f9}.forecast-primary-result>svg{flex:0 0 auto}.forecast-primary-result>span{min-width:0}.forecast-primary-result small,.forecast-primary-result strong{display:block}.forecast-primary-result small{color:#64727b;font-size:8px}.forecast-primary-result strong{margin-top:4px;color:#216ba1;font-size:24px;font-variant-numeric:tabular-nums}.forecast-primary-result p{margin:5px 0 0;color:#5e6c75;font-size:7px;line-height:1.45}.forecast-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.forecast-metrics>div{min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:10px 7px;border-right:1px solid #e1e6e9;text-align:center}.forecast-metrics>div:last-child{border-right:0}.forecast-metrics span{color:#69767f;font-size:7px}.forecast-metrics strong{color:#33434d;font-size:14px;font-variant-numeric:tabular-nums}.forecast-metrics small{color:#7b868e;font-size:7px;line-height:1.35}.forecast-metrics .forecast-reduction strong{color:#367b55}.forecast-assumptions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;background:#fff}.forecast-assumptions>div{min-width:0;display:flex;align-items:flex-start;gap:7px;padding:9px 11px;border-right:1px solid #e1e6e9;color:#216ba1}.forecast-assumptions>div:nth-child(2){border-right:0}.forecast-assumptions>div>svg{flex:0 0 auto;margin-top:1px}.forecast-assumptions>div>span{min-width:0}.forecast-assumptions strong,.forecast-assumptions small{display:block}.forecast-assumptions strong{color:#3a4952;font-size:8px}.forecast-assumptions small{margin-top:3px;color:#68757e;font-size:7px;line-height:1.4}.forecast-assumptions>p{grid-column:1 / -1;margin:0;padding:7px 11px;color:#8b651f;border-top:1px solid #ead9b8;background:#fbf6ec;font-size:7px;line-height:1.4}.blueprint-confirmation{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border-top:1px solid #e1d1b8;background:#fbf6ec}.blueprint-confirmation.confirmed{border-top-color:#bfd8c8;background:#edf6f1}.blueprint-confirmation>div:first-child{min-width:0;display:flex;align-items:center;gap:9px;color:#a06b25}.blueprint-confirmation.confirmed>div:first-child{color:#367b55}.blueprint-confirmation>div:first-child>svg{flex:0 0 auto}.blueprint-confirmation>div:first-child>span{min-width:0;display:flex;flex-direction:column;gap:3px}.blueprint-confirmation strong{color:#394750;font-size:9px}.blueprint-confirmation small{color:#6b6256;font-size:8px;line-height:1.4}.confirmation-actions{display:flex;flex:0 0 auto;gap:7px}.batch-ready-section{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px}.batch-ready-section>div{min-width:0;display:flex;align-items:center;gap:9px}.batch-ready-section>div>svg{flex:0 0 auto;color:#216ba1}.batch-ready-section>div>span{min-width:0;display:flex;flex-direction:column;gap:4px}.batch-ready-section strong{color:#2e3d46;font-size:10px}.batch-ready-section small{color:#69767f;font-size:8px;line-height:1.4}.batch-plan-ready{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;padding:8px 9px;color:#367b55;background:#eaf5ee;font-size:8px;font-weight:650}@keyframes analysis-mark-pulse{0%,to{opacity:.68;transform:scale(.94)}50%{opacity:1;transform:scale(1)}}@keyframes analysis-step-pulse{0%,to{box-shadow:0 0 #216ba100}50%{box-shadow:0 0 0 4px #216ba11f}}@keyframes analysis-line-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes analysis-cursor{0%,48%{opacity:1}49%,to{opacity:0}}@keyframes whiteboard-node-in{0%{opacity:0;transform:translateY(9px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@media (prefers-reduced-motion: reduce){.blueprint-live-status.analyzing>svg,.analysis-live-mark,.analysis-phase-list li.active>span,.analysis-live-output>footer i,.analysis-output-stream article,.analysis-output-stream article.typing p:after,.query-flow-fragment.revealed{animation:none}}@media (max-width: 1180px){.blueprint-studio{grid-template-columns:300px minmax(0,1fr)}.blueprint-rule{grid-template-columns:70px minmax(230px,1.4fr) minmax(180px,1fr)}.trial-report-body{grid-template-columns:minmax(300px,.85fr) minmax(390px,1.25fr)}}@media (max-width: 980px){.blueprint-studio{grid-template-columns:1fr}.agent-chat{border-right:0;border-bottom:1px solid #cfd6db}.chat-thread{max-height:360px}.analysis-process-layout{grid-template-columns:1fr}.analysis-phase-list{border-right:0;border-bottom:1px solid #d9e0e4}.blueprint-rule{grid-template-columns:72px minmax(0,1fr)}.rule-evidence{grid-column:2;border-top:1px solid #e0e5e8}.rule-condition{border-right:0}.trial-report-body{grid-template-columns:1fr}.trial-preview{border-right:0;border-bottom:1px solid #dfe4e8}.trial-computation{grid-template-columns:1fr}.trial-live-calculation{border-top:1px solid #dce2e6;border-left:0}.forecast-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-control:nth-child(2){border-right:0}.forecast-control:nth-child(-n+2){border-bottom:1px solid #e1e6e9}.forecast-results{grid-template-columns:1fr}.forecast-primary-result{min-height:92px;border-right:0;border-bottom:1px solid #d8e0e4}.blueprint-outline{grid-template-columns:repeat(2,minmax(0,1fr))}.blueprint-outline button:nth-child(2){border-right:0}.blueprint-outline button:nth-child(-n+2){border-bottom:1px solid #d4dce1}.blueprint-canvas{height:680px;min-height:620px;grid-template-columns:190px minmax(0,1fr)}.vehicle-state-contract{grid-template-columns:repeat(2,minmax(0,1fr))}.vehicle-state-contract>p:nth-child(2){border-right:0}.vehicle-state-contract>span,.vehicle-state-contract>p:nth-child(2){border-bottom:1px solid #d9e0e4}}@media (max-width: 760px){.blueprint-header{align-items:stretch;flex-direction:column;gap:11px}.blueprint-live-status{width:100%}.analysis-grid{grid-template-columns:1fr}.analysis-grid article{border-right:0}.analysis-grid article:nth-last-child(-n+2){border-bottom:1px solid #e0e5e8}.analysis-grid article:last-child{border-bottom:0}.blueprint-artifact-header,.subsection-title,.draft-actions,.blueprint-confirmation,.batch-ready-section{align-items:stretch;flex-direction:column}.blueprint-artifact-meta,.draft-actions>div:last-child,.confirmation-actions{width:100%}.blueprint-artifact-meta>span{flex:1;align-items:flex-start}.draft-actions>div:last-child>button,.confirmation-actions>button,.batch-ready-section>button{flex:1;white-space:normal}.trial-metrics{grid-template-columns:repeat(5,minmax(74px,1fr));overflow-x:auto}.trial-modal-backdrop{padding:8px}.trial-report-modal{max-height:calc(100vh - 16px)}.trial-report-header{align-items:flex-start}.trial-report-header-actions{flex-wrap:wrap;justify-content:flex-end}.forecast-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.forecast-metrics>div:nth-child(2n){border-right:0}.forecast-metrics>div{border-bottom:1px solid #e1e6e9}.forecast-metrics>div:last-child{grid-column:1 / -1;border-bottom:0}}@media (max-width: 520px){.blueprint-canvas{height:auto;min-height:0;grid-template-columns:1fr;overflow:visible}.blueprint-graph{max-height:360px;border-right:0;border-bottom:1px solid #cfd7dc}.blueprint-content-pane{max-height:680px}.blueprint-rule{grid-template-columns:1fr}.rule-identity{display:flex;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid #e0e5e8}.rule-identity small{margin-top:0}.rule-evidence{grid-column:auto}.draft-actions>div:last-child,.confirmation-actions{flex-direction:column}.trial-preview img{min-height:210px}.trial-preview figcaption{align-items:flex-start;flex-direction:column}.trial-rule-table>div{grid-template-columns:62px 62px minmax(0,1fr)}.trial-compute-steps{padding:10px}.trial-compute-steps li{grid-template-columns:30px minmax(0,1fr)}.trial-compute-steps li>code{grid-column:2;justify-self:start;min-width:0}.trial-live-calculation{padding:12px}.trial-live-calculation dl>div{grid-template-columns:90px minmax(0,1fr)}.forecast-controls{grid-template-columns:1fr}.forecast-control{border-right:0;border-bottom:1px solid #e1e6e9}.forecast-control:last-child{border-bottom:0}.forecast-assumptions{grid-template-columns:1fr}.forecast-assumptions>div{border-right:0;border-bottom:1px solid #e1e6e9}}:root{color-scheme:dark;--bg: #0b0d12;--surface: #14171f;--surface-2: #1a1e28;--surface-3: #252a37;--line: #2a2f3d;--line-soft: #202530;--text: rgb(255 255 255 / 88%);--muted: rgb(255 255 255 / 62%);--tertiary: rgb(255 255 255 / 42%);--quaternary: rgb(255 255 255 / 25%);--primary: #7c8cff;--primary-hover: #aeb8ff;--primary-soft: rgb(124 140 255 / 16%);--cyan: #7c8cff;--green: #4ed6a0;--amber: #f6c85f;--red: #ff6b7a;--shadow: 0 6px 16px rgb(0 0 0 / 32%), 0 3px 6px -4px rgb(0 0 0 / 48%);--shadow-elevated: 0 12px 32px rgb(0 0 0 / 38%), 0 4px 12px rgb(0 0 0 / 28%)}html,body,#root,.app-shell,.main-workspace{background:var(--bg)}body{color:var(--text)}*{scrollbar-color:#343a49 #10131a}::selection{color:#fff;background:#7c8cff6b}button,input,textarea{color:var(--text)}button:focus-visible,input:focus-visible,textarea:focus-visible,video:focus-visible,svg:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.app-header{color:var(--text);border-color:var(--line);background:#10131a;box-shadow:0 1px #ffffff08}.brand-mark{color:#fff;border-color:#9aa7ff;background:var(--primary)}.brand-block small,.dataset-status{color:var(--muted)}.dataset-status i{background:var(--green);box-shadow:0 0 0 3px #4ed6a01f}.icon-text-button,.icon-button,.secondary-button,.replay-immersive-button,.timeline-fullscreen-button,.replay-icon-button{min-height:36px;color:var(--text);border-color:#343a49;border-radius:6px;background:var(--surface-2)}.icon-text-button>span{color:var(--primary-hover);background:var(--primary-soft)}.icon-button:hover,.icon-text-button:hover,.secondary-button:hover,.replay-immersive-button:hover,.timeline-fullscreen-button:hover,.replay-icon-button:hover{color:var(--primary-hover);border-color:var(--primary);background:#222735}.scene-library{border-color:var(--line);background:#10131a}.library-heading{color:var(--text);border-color:var(--line);background:#10131a}.scene-row{color:var(--muted);border-radius:8px}.scene-row:hover{color:var(--text);background:#1b2030}.scene-row.active{color:var(--text);border-color:#7c8cff6b;background:var(--primary-soft)}.scene-row-icon,.scene-row-count{color:var(--muted);background:var(--surface-3)}.scene-row.active .scene-row-icon{color:var(--primary-hover);background:#7c8cff33}.scene-row-copy small,.library-scope,.scope-title{color:var(--muted)}.library-scope{border-color:var(--line)}.scene-brief,.video-stage,.signal-timeline,.sensor-replay,.blueprint-workspace>section{color:var(--text);border-color:var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.scene-title-row span,.drawer-eyebrow,.blueprint-eyebrow{color:var(--primary-hover)}.scene-title-row code,.brief-flow p{color:var(--muted)}.brief-flow,.media-header,.section-heading,.event-window-label{border-color:var(--line-soft)}.brief-flow strong{color:var(--amber)}.brief-flow div:last-child strong,.event-window-label strong{color:var(--primary-hover)}.query-control{min-height:44px;color:var(--text);border-color:#343a49;border-radius:8px;background:#151923;box-shadow:var(--shadow)}.query-control:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #7c8cff29}.query-control>svg{color:var(--primary)}.query-control input{color:var(--text);background:transparent}.query-control input::placeholder,textarea::placeholder{color:var(--tertiary)}.query-control.has-error{border-color:var(--red)}.run-button,.blueprint-primary-button{color:#fff;border-radius:6px;background:var(--primary);box-shadow:0 4px 14px #7c8cff3d}.run-button:hover,.blueprint-primary-button:hover{background:#6979ed}.query-error,.chat-error{color:var(--red)}.media-header,.section-heading,.replay-toolbar,.replay-controls,.interval-analysis-heading,.compact-analysis-details summary{color:var(--text);border-color:var(--line-soft);background:var(--surface-2)}.media-header>span,.compact-heading span,.event-window-label span,.replay-status,.replay-time,.live-signal span,.compact-analysis-details summary small{color:var(--muted)}.event-window-button:hover{background:var(--surface-2)}.chart-canvas{fill:#10131a;stroke:var(--line)}.chart-grid{stroke:#252a37}.event-window{fill:var(--primary);opacity:.15}.coarse-window,.short-window{fill:var(--red);opacity:.23}.pedestrian-window{fill:var(--amber);opacity:.2}.time-pointer{stroke:#ffffffe0}.time-pointer-dot{fill:#ffffffe0}.chart-label{fill:var(--muted)}.final-label{fill:#9ca8ff}.coarse-label{fill:#ff909d}.pedestrian-label{fill:#f8d985}.window-key{color:var(--muted);border-color:var(--line-soft);background:var(--surface)}.window-key button{border-radius:6px}.window-key button:hover{border-color:#343a49;background:var(--surface-3)}.window-key button strong{color:var(--text)}.window-key button small{color:var(--muted)}.window-key-hint{color:var(--primary-hover)}.interval-analysis,.interval-analysis-row,.interval-analysis-row>div{border-color:var(--line-soft)}.interval-analysis-heading strong,.interval-name strong,.interval-measures strong{color:var(--text)}.interval-analysis-heading span,.interval-name small,.interval-measures span,.interval-conclusion span{color:var(--muted)}.interval-conclusion p{color:#ffffffb8}.interval-verdict.pass{color:var(--green);background:#4ed6a01a}.interval-verdict.fail{color:var(--red);background:#ff6b7a1a}.interval-verdict.review{color:var(--amber);background:#f6c85f1a}.replay-toolbar{border-color:var(--line-soft)}.replay-tabs{border-color:#343a49;border-radius:6px;background:#151923;overflow:hidden}.replay-tabs button{color:var(--muted);border-color:#343a49}.replay-tabs button:hover{color:var(--primary-hover);background:var(--surface-3)}.replay-tabs button[aria-selected=true]{color:#fff;background:var(--primary-soft);box-shadow:inset 0 -2px 0 var(--primary)}.replay-status svg{color:var(--green)}.replay-viewport,.canvas-replay,.spatial-replay-3d{background:#0b0d12}.video-layer-spatial{border-color:#343a49;border-radius:8px;box-shadow:var(--shadow-elevated);overflow:hidden}.spatial-video-header{color:var(--text);background:#252a37}.canvas-readout,.object-legend,.three-actions,.spatial-legend,.pointcloud-boundary{color:var(--muted);border-color:#343a49;border-radius:6px;background:#14171ff0;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.canvas-readout strong,.live-signal strong{color:var(--text)}.event-corridor-readout{color:var(--amber);border-left-color:var(--amber);border-radius:6px;background:#1e1c17f0}.event-corridor-readout span{color:#e7b855}.three-actions button{color:var(--muted);border-color:#343a49}.three-actions button:hover{color:var(--primary-hover);background:var(--surface-3)}.three-actions button.active{color:#fff;background:var(--primary)}.replay-message,.compact-analysis-details{color:var(--muted);border-color:var(--line-soft);background:var(--surface)}.replay-controls{border-color:var(--line-soft)}.replay-controls input[type=range]{height:18px;accent-color:var(--primary);background:transparent}.replay-controls input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:#343a49}.replay-controls input[type=range]::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:var(--primary);box-shadow:0 0 0 3px #7c8cff24;-webkit-appearance:none}.live-signal{border-color:var(--line)}.replay-analysis-stack.immersive-analysis{background:var(--bg)}.immersive-analysis .signal-timeline{border-color:#343a49;border-radius:8px;background:#14171ff7;box-shadow:var(--shadow-elevated)}.signal-timeline.timeline-fullscreen{background:var(--bg)!important}.timeline-fullscreen .section-heading,.timeline-fullscreen>svg,.timeline-fullscreen .window-key,.timeline-fullscreen .interval-analysis{background:var(--surface)}.drawer-layer{background:#000000b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.side-drawer{color:var(--text);border-color:var(--line);background:#171a23;box-shadow:var(--shadow-elevated)}.drawer-header,.window-process-summary,.process-section-title,.window-process-steps>li,.window-process-boundary{border-color:var(--line)}.window-process-summary,.window-process-steps>li{background:var(--surface)}.window-process-body,.process-section-title{background:#10131a}.window-process-summary>p,.process-section-title span,.window-stage-card span,.window-stage-card small,.process-rule>span,.process-evidence-list p,.process-sources>span,.process-source-chip span{color:var(--muted)}.window-stage-card{color:var(--text);border-radius:6px;background:var(--surface-2)}.window-stage-card:hover,.window-stage-card.selected{border-color:var(--primary);background:var(--surface-3)}.window-stage-card strong,.process-section-title strong,.process-step-heading>strong,.process-result strong,.process-source-chip strong{color:var(--text)}.process-step-index{color:var(--primary-hover);border-color:#53609c;background:var(--primary-soft)}.process-step-index span{background:var(--primary)}.process-truth.observed{color:var(--green);background:#4ed6a01f}.process-truth.computed{color:var(--primary-hover);background:var(--primary-soft)}.process-truth.pending_integration{color:var(--amber);background:#f6c85f1f}.process-rule>p,.process-raw-rule code{color:#ffffffbd;border-color:var(--primary);background:var(--surface-3)}.process-raw-rule summary{color:var(--primary-hover)}.process-source-chip{border-color:var(--line);background:var(--surface-2)}.window-process-boundary{color:var(--amber);background:#f6c85f17}.window-process-boundary p{color:#e4bd64}.blueprint-workspace,.blueprint-header h1,.blueprint-empty-state h2{color:var(--text)}.blueprint-header p,.blueprint-empty-state p{color:var(--muted)}.blueprint-live-status{color:var(--amber);border-left-color:var(--amber);background:#f6c85f1a}.blueprint-live-status.confirmed{color:var(--green);border-left-color:var(--green);background:#4ed6a01a}.blueprint-live-status.analyzing{color:var(--primary-hover);border-left-color:var(--primary);background:var(--primary-soft)}.blueprint-live-status strong{color:var(--text)}.blueprint-live-status small{color:var(--muted)}.agent-chat{border-color:var(--line);background:#10131a}.agent-chat>header,.chat-composer{border-color:var(--line);background:var(--surface-2)}.agent-chat>header>svg,.analysis-process-header>div>svg,.analysis-live-output>header>svg,.subsection-title>div>svg,.trial-report-header>div>svg{color:var(--primary-hover)}.agent-chat>header strong,.chat-message strong,.analysis-process-header strong,.analysis-live-output>header strong,.subsection-title strong,.trial-report-header strong{color:var(--text)}.agent-chat>header small,.analysis-process-header small,.analysis-live-output>header small,.subsection-title small,.trial-report-header small{color:var(--muted)}.new-conversation-button,.trial-modal-close,.blueprint-secondary-button{color:var(--text);border-color:#343a49;border-radius:6px;background:var(--surface-2)}.new-conversation-button:hover,.trial-modal-close:hover,.blueprint-secondary-button:hover{color:var(--primary-hover);border-color:var(--primary);background:#222735}.chat-avatar{color:var(--primary-hover);border-color:#53609c;background:var(--surface-2)}.user-message .chat-avatar{color:#fff;border-color:var(--primary);background:var(--primary)}.chat-message>div{color:var(--text);border-color:var(--line);border-radius:8px;background:var(--surface-2)}.user-message>div{border-color:#7c8cff66;background:var(--primary-soft)}.analysis-message>div{border-left-color:var(--primary)}.trial-message>div{border-left-color:var(--green);background:#4ed6a014}.chat-message p{color:#ffffffb8}.chat-case-card{border-color:#343a49}.chat-case-card>span,.chat-case-card>svg{color:var(--primary-hover)}.chat-case-card>small{color:var(--muted)}.chat-case-card>code{color:var(--tertiary)}.case-link-input-hint{color:var(--primary-hover)}.case-link-input-hint strong{color:var(--text)}.case-link-input-hint small{color:var(--muted)}.chat-composer textarea{color:var(--text);border-color:#343a49;border-radius:6px;background:#151923}.chat-composer textarea:hover{border-color:#6676e8}.chat-composer textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px #7c8cff29}.chat-dirty{color:var(--amber)}.detected-case{border-left-color:var(--green);border-radius:6px;background:#4ed6a014}.detected-case.pending{border-left-color:var(--amber);background:#f6c85f14}.detected-case>span{color:var(--green)}.detected-case.pending>span{color:var(--amber)}.detected-case small{color:var(--muted)}.blueprint-authoring,.agent-analysis-process,.analysis-live-output{background:var(--surface)}.blueprint-empty-state>span,.analysis-live-mark,.analysis-index{color:var(--primary-hover);border-radius:6px;background:var(--primary-soft)}.analysis-process-header,.analysis-live-output>header,.analysis-live-output>footer,.blueprint-artifact-header,.blueprint-outline,.subsection-title,.analysis-ledger,.rule-collection,.query-flow-section,.analysis-grid,.analysis-grid article,.rule-list,.blueprint-rule,.rule-identity,.rule-condition{border-color:var(--line-soft)}.analysis-process-header,.blueprint-artifact-header,.analysis-live-output>footer{background:var(--surface-2)}.subsection-title{background:var(--surface-2)}.analysis-process-header code{color:var(--primary-hover);background:var(--primary-soft)}.blueprint-artifact-icon{color:var(--primary-hover);border-color:#53609c;border-radius:7px;background:var(--primary-soft)}.blueprint-artifact-identity small{color:var(--primary-hover)}.blueprint-artifact-identity strong{color:var(--text)}.blueprint-artifact-identity p{color:var(--muted)}.blueprint-artifact-meta{border-color:var(--line);border-radius:6px;background:#10131a;overflow:hidden}.blueprint-artifact-meta>span{border-color:var(--line)}.blueprint-artifact-meta strong{color:var(--text)}.blueprint-artifact-meta small{color:var(--muted)}.blueprint-canvas,.blueprint-graph,.blueprint-graph>header,.blueprint-graph>footer,.blueprint-content-pane,.blueprint-content-toolbar,.blueprint-node-content,.vehicle-state-contract,.vehicle-state-contract>span,.vehicle-state-contract>p{border-color:var(--line)}.blueprint-graph{background:#10131a}.blueprint-graph>header,.blueprint-content-toolbar{background:#1a1e28f5}.blueprint-graph>header>span>svg,.blueprint-content-toolbar>svg{color:var(--primary-hover)}.blueprint-graph>header strong,.blueprint-content-toolbar strong{color:var(--text)}.blueprint-graph>header small,.blueprint-content-toolbar small{color:var(--muted)}.blueprint-graph>header>b,.blueprint-content-toolbar>b{color:var(--primary-hover)}.blueprint-graph li:not(:last-child):after{background:#343a49}.blueprint-graph li.complete:not(:last-child):after{background:#416d5a}.blueprint-graph button{color:var(--muted);border-color:#343a49;background:var(--surface)}.blueprint-graph button:hover,.blueprint-graph li.active button{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 0 0 1px #7c8cff1f}.blueprint-node-dot{color:var(--primary-hover);border-color:#53609c;background:var(--surface-2)}.blueprint-graph li.complete .blueprint-node-dot{color:#071a12;border-color:var(--green);background:var(--green)}.blueprint-graph li.active .blueprint-node-dot{color:#fff;border-color:var(--primary);background:var(--primary)}.blueprint-node-copy>small{color:var(--tertiary)}.blueprint-node-copy>strong{color:var(--text)}.blueprint-node-copy>p{color:var(--muted)}.blueprint-graph button>code{color:var(--primary-hover);background:var(--primary-soft)}.blueprint-graph>footer{color:var(--amber);background:#f6c85f14}.blueprint-content-pane{background:var(--surface)}.blueprint-node-content.active{border-left-color:var(--primary)}.blueprint-node-content.active>.subsection-title{background:#7c8cff12}.blueprint-analysis-pane>header>code{color:var(--primary-hover);background:var(--primary-soft)}.blueprint-outline{background:#10131a}.blueprint-outline button{color:var(--muted);border-color:var(--line)}.blueprint-outline button:hover{background:#171b25}.blueprint-outline button.active{color:var(--primary-hover);background:var(--surface-2)}.blueprint-outline button.active:before{background:var(--primary)}.blueprint-outline button>span{color:var(--tertiary);border-color:#485066;background:var(--surface)}.blueprint-outline button.active>span{color:#fff;border-color:var(--primary);background:var(--primary)}.blueprint-outline button>strong{color:var(--text)}.blueprint-outline button>small{color:var(--muted)}.blueprint-outline button>b{color:var(--tertiary)}.blueprint-outline button.active>strong,.blueprint-outline button.active>b{color:var(--primary-hover)}.blueprint-module.active{border-left-color:var(--primary)}.blueprint-module.active>.subsection-title{background:#7c8cff12}.analysis-phase-list{border-color:var(--line);background:#10131a}.analysis-phase-list li{color:var(--tertiary)}.analysis-phase-list li>span{border-color:#343a49;background:var(--surface-2)}.analysis-phase-list small{color:var(--muted)}.analysis-phase-list li.active{color:var(--primary-hover);border-left-color:var(--primary);background:var(--primary-soft)}.analysis-phase-list li.active>span{color:#fff;border-color:var(--primary);background:var(--primary)}.analysis-phase-list li.done{color:var(--green)}.analysis-phase-list li.done>span{color:#071a12;border-color:var(--green);background:var(--green)}.analysis-output-stream article{border-color:var(--line)}.analysis-output-stream article>span{color:var(--primary-hover);border-color:#53609c}.analysis-output-stream strong,.analysis-grid strong{color:var(--text)}.analysis-output-stream p,.analysis-grid p{color:#ffffffb8}.analysis-output-stream article.typing p:after,.analysis-live-output>footer i{background:var(--primary)}.analysis-live-output>footer{color:var(--primary-hover)}.mapped-badge,.trial-success{color:var(--green);background:#4ed6a01f}.draft-badge{color:var(--amber);background:#f6c85f1f}.flow-signature,.origin-badge{color:var(--muted);background:var(--surface-3)}.analysis-grid small,.rule-identity small,.rule-condition p,.rule-evidence p{color:var(--muted)}.rule-identity{background:#10131a}.rule-identity>span{color:var(--primary-hover)}.rule-condition strong{color:var(--text)}.rule-condition code{color:#ffffffc7;border-left-color:var(--primary);background:var(--surface-3)}.rule-expression-label{color:var(--primary-hover)}.rule-field-list>span{color:#ffffffa8;border-color:#343a49;background:var(--surface-3)}.rule-evidence{background:var(--surface-2)}.rule-evidence small{color:var(--amber)}.rule-sample-evidence{border-left-color:var(--green);background:#4ed6a014}.rule-sample-evidence strong{color:var(--green)}.rule-sample-evidence p{color:#ffffffb8}.vehicle-state-contract{background:#10131a}.vehicle-state-contract>span{color:var(--primary-hover)}.vehicle-state-contract>span,.vehicle-state-contract>p{color:var(--muted)}.vehicle-state-contract strong,.vehicle-state-contract b{color:var(--text)}.node-not-triggered{color:var(--amber);background:#f6c85f14}.query-whiteboard{border-color:#343a49;border-radius:8px;background:#10131a;box-shadow:inset 0 0 24px #00000047;overflow:hidden}.whiteboard-toolbar{color:var(--muted);border-color:var(--line);background:var(--surface-2)}.whiteboard-toolbar small{color:var(--primary-hover)}.query-flow{background-color:#10131a;background-image:radial-gradient(circle,#343a49 .8px,transparent .9px)}.query-flow-fragment>svg{color:#69718a;filter:none}.query-node{color:var(--text);border-color:#59637f;border-top-color:#7c8cff;border-radius:6px;background:#1a1e28f7;box-shadow:0 6px 16px #00000047}.query-node.node-window{border-color:#8b7540;border-top-color:var(--amber)}.query-node.node-semantic{border-color:#59639e;border-top-color:var(--primary)}.query-node.node-validate{border-color:#806e47;border-top-color:#dcb65e}.query-node.node-output{border-color:#427a64;border-top-color:var(--green);background:#162a23f5}.query-node>span{color:var(--tertiary)}.query-node strong{color:var(--text)}.query-node small{color:var(--muted)}.whiteboard-note{color:var(--muted);border-color:#343a49;background:var(--surface)}.flow-failure-path{color:var(--amber);border-radius:6px;background:#f6c85f17}.draft-actions{background:var(--surface-2)}.draft-actions>div:first-child>svg{color:var(--amber)}.draft-actions strong{color:var(--text)}.draft-actions small{color:var(--muted)}.blueprint-primary-button:disabled{color:#ffffff7a;background:#4e598f}.blueprint-confirm-button{color:#071a12;border-radius:6px;background:var(--green)}.blueprint-confirm-button:hover{background:#3fc38d}.trial-modal-backdrop{background:#000000b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.trial-report-modal{color:var(--text);border-color:#343a49;border-radius:12px;background:#171a23;box-shadow:var(--shadow-elevated)}.trial-report-header{border-color:var(--line);background:#171a23}.trial-running{color:var(--primary-hover);background:var(--primary-soft)}.trial-recalculate-button{color:var(--text);border-color:#343a49;border-radius:6px;background:var(--surface-2)}.trial-recalculate-button:hover{color:var(--primary-hover);border-color:var(--primary);background:#222735}.trial-compute-steps li{color:var(--tertiary);border-color:var(--line);background:#10131a}.trial-compute-steps li:last-child{border-color:var(--line)}.trial-compute-steps li.current{color:var(--primary-hover);border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}.trial-compute-steps li.done{color:var(--green);background:#4ed6a012}.trial-compute-index{color:var(--muted);border-color:#485066;background:var(--surface-2)}.trial-compute-steps li.current .trial-compute-index{color:#fff;border-color:var(--primary);background:var(--primary)}.trial-compute-steps li.done .trial-compute-index{color:#071a12;border-color:var(--green);background:var(--green)}.trial-compute-steps li>div>strong{color:var(--text)}.trial-compute-steps li>div>p{color:var(--muted)}.trial-compute-steps li>code{color:currentColor;background:var(--surface-2)}.trial-live-calculation{border-color:var(--line);background:var(--surface-2)}.trial-calculation-status{color:var(--primary-hover)}.trial-calculation-status small,.trial-calculation-status p{color:var(--muted)}.trial-calculation-status strong{color:var(--text)}.trial-progress-track{background:#343a49}.trial-progress-track>i{background:var(--primary)}.trial-live-calculation dl{border-color:var(--line);background:#10131a}.trial-live-calculation dl>div{border-color:var(--line-soft)}.trial-live-calculation dt{color:var(--muted)}.trial-live-calculation dd{color:var(--text)}.trial-reduction-formula{border-left-color:#485066;background:var(--surface-3)}.trial-reduction-formula.ready{border-left-color:var(--green);background:#4ed6a017}.trial-reduction-formula span,.trial-reduction-formula small,.trial-calculation-note{color:var(--muted)}.trial-reduction-formula strong{color:var(--text)}.trial-reduction-formula.ready strong{color:var(--green)}.trial-metrics,.trial-metrics>div,.trial-preview,.trial-rule-table,.trial-rule-table>div,.blueprint-confirmation{border-color:var(--line)}.trial-metrics strong,.trial-rule-table code{color:var(--primary-hover)}.trial-metrics span,.trial-rule-table p{color:var(--muted)}.trial-rule-report{background:#171a23}.trial-verdict{color:var(--amber);border-radius:6px;background:#f6c85f1a}.trial-verdict small{color:#d5ae58}.trial-rule-table{border-radius:6px;overflow:hidden}.trial-row-status.pass{color:var(--green);background:#4ed6a01f}.trial-row-status.review{color:var(--amber);background:#f6c85f1f}.efficiency-forecast{border-color:var(--line);background:#10131a}.efficiency-forecast>header{border-color:var(--line);background:var(--surface-2)}.efficiency-forecast>header>div{color:var(--primary-hover)}.efficiency-forecast>header strong{color:var(--text)}.efficiency-forecast>header small{color:var(--muted)}.forecast-basis{color:var(--amber);background:#f6c85f1f}.forecast-controls{border-color:var(--line);background:#10131a}.forecast-control{border-color:var(--line)}.forecast-control>span{color:var(--muted)}.forecast-segments{border-color:#343a49;border-radius:6px;overflow:hidden}.forecast-segments button{color:var(--muted);border-color:#343a49;background:var(--surface-2)}.forecast-segments button:hover{color:var(--primary-hover);background:#222735}.forecast-segments button[aria-pressed=true]{color:#fff;background:var(--primary)}.forecast-results{border-color:var(--line)}.forecast-primary-result{color:var(--primary-hover);border-color:var(--line);background:var(--primary-soft)}.forecast-primary-result small,.forecast-primary-result p{color:var(--muted)}.forecast-primary-result strong{color:var(--primary-hover)}.forecast-metrics>div{border-color:var(--line)}.forecast-metrics span,.forecast-metrics small{color:var(--muted)}.forecast-metrics strong{color:var(--text)}.forecast-metrics .forecast-reduction strong{color:var(--green)}.forecast-assumptions{background:var(--surface)}.forecast-assumptions>div{color:var(--primary-hover);border-color:var(--line)}.forecast-assumptions strong{color:var(--text)}.forecast-assumptions small{color:var(--muted)}.forecast-assumptions>p{color:var(--amber);border-color:#5a4a2c;background:#f6c85f14}.blueprint-confirmation{background:#f6c85f14}.blueprint-confirmation.confirmed{background:#4ed6a014}.blueprint-confirmation>div:first-child{color:var(--amber)}.blueprint-confirmation.confirmed>div:first-child{color:var(--green)}.blueprint-confirmation strong,.batch-ready-section strong{color:var(--text)}.blueprint-confirmation small,.batch-ready-section small{color:var(--muted)}.batch-ready-section>div>svg{color:var(--primary-hover)}.batch-plan-ready{color:var(--green);border-radius:6px;background:#4ed6a01f}@media (max-width: 980px){.agent-chat,.analysis-phase-list,.rule-evidence,.trial-preview,.blueprint-outline button:nth-child(-n+2){border-color:var(--line)}}@media (max-width: 760px){.main-workspace{background:var(--bg)}.live-signal,.interval-analysis-row>div{border-color:var(--line-soft)}.immersive-analysis .signal-timeline{background:#14171ffa}}
