@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap";:root{color-scheme:dark;--bg:#151816;--surface:#1d211e;--raised:#252a26;--line:#3b423d;--text:#f0f4f1;--muted:#9da7a0;--green:#63d58d;--blue:#69b8ff;--yellow:#f6be56;--red:#df777e;font:14px/1.45 Inter,system-ui,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text)}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;border-bottom:1px solid var(--line);background:#171a18}.brand,.top-actions,.layers,.legend,.video-nav,.section-title,.approach-tabs,.view-tabs{display:flex;align-items:center}.brand{gap:11px;min-width:0}.brand-mark{width:34px;height:34px;display:grid;place-items:center;color:#111713;background:var(--green);font-weight:800;font-size:19px}.brand p,.section-title p{margin:0;color:var(--muted);font:600 10px IBM Plex Mono,monospace;text-transform:uppercase}.brand h1{margin:1px 0 0;font-size:18px;letter-spacing:0;white-space:nowrap}.view-tabs{height:38px;padding:3px;border:1px solid var(--line);background:#111411}.view-tab{min-width:100px;height:30px;border:0;color:var(--muted);background:transparent;cursor:pointer}.view-tab.active{color:#111713;background:var(--green);font-weight:700}.approach-tabs{align-self:stretch}.approach-tab{position:relative;min-width:134px;height:100%;padding:0 14px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);color:var(--muted);background:transparent;cursor:pointer}.approach-tab+.approach-tab{border-left:0}.approach-tab.active{color:var(--text);background:#1d211e}.approach-tab.active:after{position:absolute;right:0;bottom:0;left:0;height:3px;content:"";background:var(--green)}.approach-tab b{margin-left:5px;color:var(--green);font:700 9px IBM Plex Mono,monospace}.approach-tab[data-approach=yolo] b{color:var(--yellow)}.approach-tab[data-approach=yolo].active:after{background:var(--yellow)}.tab-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--green)}.top-actions{gap:9px}.top-actions select{width:230px;height:38px;padding:0 10px;border:1px solid var(--line);color:var(--text);background:var(--surface)}.app-shell{height:calc(100vh - 72px);display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:14px;padding:14px;overflow:hidden}.viewer-column,.inspector{min-width:0;min-height:0}.viewer-column{display:flex;flex-direction:column;gap:10px}.stage{min-height:0;flex:1;display:flex;flex-direction:column;border:1px solid var(--line);background:var(--surface)}.stage-toolbar{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 9px;border-bottom:1px solid var(--line)}.layers{gap:1px}.layer{height:32px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--line);color:var(--muted);background:#181b19;cursor:pointer}.layer.active{color:var(--text);background:#303630;border-color:#59625b}.swatch{width:12px;height:3px}.swatch.track{background:#fff}.swatch.boundary{background:linear-gradient(90deg,var(--blue) 0 45%,transparent 45% 55%,var(--green) 55%)}.swatch.zone,.swatch.yolo{background:var(--yellow)}.swatch.truth{border-top:2px dashed var(--red)}.legend{gap:12px;color:var(--muted);font:11px IBM Plex Mono,monospace}.yolo-tools{display:flex;align-items:center;gap:8px;color:#d5bd86;font:11px IBM Plex Mono,monospace}.dot{width:7px;height:7px;display:inline-block;margin-right:5px;border-radius:50%}.dot.blue{background:var(--blue)}.dot.green{background:var(--green)}.video-wrap{position:relative;flex:1;min-height:260px;overflow:hidden;background:#050706}.video-wrap video,.video-wrap canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.video-wrap video{object-fit:contain}.video-wrap canvas{pointer-events:none}.empty-state{position:absolute;top:16px;left:16px;max-width:310px;display:grid;grid-template-columns:24px 1fr;gap:2px 9px;padding:11px;border:1px solid #70484b;background:#251517e6}.empty-state svg{grid-row:1/3;width:21px;color:var(--red)}.empty-state span{color:#d4b0b3;font-size:11px}.video-nav{min-height:48px;justify-content:center;gap:12px;padding:7px 12px;border-top:1px solid var(--line)}.video-nav>div{width:min(420px,60%);text-align:center}.video-nav strong,.video-nav span{display:block}.video-nav strong{font:600 11px IBM Plex Mono,monospace;color:var(--green)}.video-nav span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px}.icon-btn{width:38px;height:34px;display:grid;place-items:center;padding:0;border:1px solid var(--line);color:var(--text);background:#171a18;cursor:pointer}.icon-btn:hover:not(:disabled){color:var(--green);border-color:var(--green)}.icon-btn:disabled{opacity:.32;cursor:default}.icon-btn svg{width:17px}.timeline{position:relative;flex:0 0 62px;display:grid;gap:5px;padding:8px 12px;border-top:1px solid var(--line)}.timeline-row{display:grid;grid-template-columns:82px minmax(0,1fr);gap:8px;align-items:center}.timeline-row>span{text-align:right;color:var(--muted);font:10px IBM Plex Mono,monospace}.timeline-track{position:relative;height:17px;overflow:hidden;border:1px solid #333a35;background:#111411}.timeline-event{position:absolute;top:0;height:100%;padding:0;border:0;cursor:pointer}.timeline-event.prediction.in{background:#63d58d8f}.timeline-event.prediction.out{background:#69b8ff9e}.timeline-event.yolo-track{top:2px;height:calc(100% - 4px);border:1px solid var(--yellow);background:#f6be5645}.timeline-event.truth{top:2px;height:calc(100% - 4px);border:1px dashed rgba(223,119,126,.9);background:#df777e38}.timeline-event.truth.fail{background:#df777e6b}.playhead{position:absolute;top:6px;bottom:6px;width:2px;background:#fff;pointer-events:none;transform:translate(-1px)}.metric-strip{flex:0 0 66px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);background:var(--surface)}.metric-strip>div{min-width:0;padding:10px 12px;border-right:1px solid var(--line)}.metric-strip>div:last-child{border:0}.metric-strip span,.score-grid span{display:block;color:var(--muted);font-size:10px}.metric-strip strong{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;font:600 18px IBM Plex Mono,monospace}.inspector{display:flex;flex-direction:column;gap:10px;overflow:hidden}.clip-summary,.event-browser,.selection{border:1px solid var(--line);background:var(--surface);padding:12px}.section-title{justify-content:space-between;gap:10px}.section-title h2{margin:2px 0 0;font-size:15px;letter-spacing:0}.section-title>span,.quality{color:var(--muted);font:600 10px IBM Plex Mono,monospace}.quality{padding:4px 6px;border:1px solid var(--line)}.quality.pass{color:var(--green);border-color:#3f7451}.quality.partial{color:var(--yellow);border-color:#776035}.quality.fail{color:var(--red);border-color:#75474a}.score-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:12px 0;border:1px solid var(--line)}.score-grid div{padding:8px;border-right:1px solid var(--line)}.score-grid div:last-child{border:0}.score-grid strong{display:block;font:700 17px IBM Plex Mono,monospace}.summary-note{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.event-browser{min-height:0;flex:1;display:flex;flex-direction:column}.event-list{margin:10px -4px -4px;overflow:auto}.event-row{width:100%;display:grid;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 7px;border:0;border-top:1px solid #313732;color:var(--text);text-align:left;background:transparent}button.event-row{cursor:pointer}.event-row.active{background:#2a312b;box-shadow:inset 3px 0 var(--green)}.event-row.missed{background:#57272b2e}.event-index{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--line);color:var(--muted);font:600 10px IBM Plex Mono,monospace}.event-copy{min-width:0}.event-copy strong,.event-copy small{display:block}.event-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.event-copy small{margin-top:2px;overflow:hidden;color:var(--muted);font-size:10px;white-space:nowrap;text-overflow:ellipsis}.direction{padding:4px 6px;font:700 10px IBM Plex Mono,monospace}.direction.in{color:var(--green);background:#63d58d1f}.direction.out{color:var(--blue);background:#69b8ff1f}.direction.missed{color:var(--red);background:#df777e1f}.no-events{padding:24px 10px;color:var(--muted);text-align:center}.selection{flex:0 0 auto}.selection-facts{display:flex;gap:13px;margin:10px 0;color:var(--muted);font-size:10px}.selection-facts b{color:var(--text)}.crop-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.crop-grid figure{margin:0;min-width:0;border:1px solid var(--line);background:#080a08}.crop-grid img{width:100%;height:105px;display:block;object-fit:contain}.crop-grid figcaption{padding:4px 6px;color:var(--muted);font:9px IBM Plex Mono,monospace}.track-diagnosis{grid-column:1/-1;margin:0;padding:10px;border-left:3px solid var(--yellow);color:#d5bd86;background:#272317;font-size:11px}.report-panel{height:calc(100vh - 72px);background:#eef1ef}.report-panel iframe{width:100%;height:100%;display:block;border:0;background:#fff}.fatal{margin:20px;color:var(--red);white-space:pre-wrap}@media(max-width:1100px){.approach-tab{min-width:110px;padding:0 8px;font-size:12px}.view-tab{min-width:82px}.topbar{gap:10px}.top-actions select{width:190px}}@media(max-width:900px){html,body{height:auto;overflow:auto}.topbar{height:auto;min-height:72px;align-items:center;flex-wrap:wrap;padding:13px}.view-tabs{order:3;width:calc(50% - 5px)}.approach-tabs{order:4;width:calc(50% - 5px);height:38px}.view-tab,.approach-tab{flex:1}.top-actions{margin-left:auto}.top-actions select{width:180px}.app-shell{height:auto;min-height:calc(100vh - 72px);grid-template-columns:1fr;overflow:visible;padding:8px}.stage{height:70vh;min-height:520px}.stage-toolbar{align-items:flex-start}.layers{flex-wrap:wrap}.legend{display:none}.metric-strip{flex-basis:auto}.inspector{overflow:visible}.event-browser{max-height:420px}.selection{margin-bottom:14px}.report-panel{height:calc(100vh - 128px)}}@media(max-width:560px){.brand-mark{display:none}.brand h1{font-size:15px}.brand p{font-size:9px}.top-actions select{width:130px}.view-tabs,.approach-tabs{width:100%}.view-tabs{order:3}.approach-tabs{order:4}.approach-tab{min-width:0;font-size:11px}.layer{font-size:10px;padding:0 6px}.stage{height:67vh;min-height:480px}.metric-strip{grid-template-columns:1fr 1fr}.metric-strip>div:nth-child(2){border-right:0}.metric-strip>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.metric-strip strong{font-size:15px}.timeline-row{grid-template-columns:62px minmax(0,1fr)}.selection-facts{flex-wrap:wrap}.report-panel{height:calc(100vh - 176px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
