:root{color:#1f2933;background:#f6f7f9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html,body,#root{height:100%}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow:hidden}button,input,select{font:inherit}.shell{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);height:100dvh;min-height:0;overflow:hidden}.sidebar{display:flex;flex-direction:column;gap:16px;border-right:1px solid #d9dee6;background:#fff;padding:18px;height:100dvh;min-height:0;overflow:hidden}.brand{display:flex;align-items:center;gap:12px}.brand svg{color:#b42318}h1,h2,h3,p{margin:0}h1{font-size:18px;line-height:1.2}.brand p,.toolbar p{color:#687385;font-size:13px;line-height:1.4}.toolbar .autoLatentDescription{max-width:880px;color:#3f4a58}.toolbar .latentNameSummary{display:flex;flex-wrap:wrap;gap:6px;max-width:880px;color:#4b5869}.nameSeparator{color:#9aa8ba}.search,.sourceSelect,.runSelect{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid #cfd6df;border-radius:8px;background:#fff;padding:0 10px}.search input,.sourceSelect select,.runSelect select{width:100%;border:0;outline:0;background:transparent;color:#1f2933}.search input:disabled,.sourceSelect select:disabled,.runSelect select:disabled{color:#8a95a6;cursor:wait}.runSelect{min-height:40px}.runSelect span{color:#66758a;font-size:12px;font-weight:650}.latentList,.exampleList{display:flex;flex-direction:column;gap:8px;min-height:0;overflow:auto}.exampleList{flex:1 1 auto}.latent{display:grid;grid-template-columns:42px minmax(0,1fr) 54px;align-items:center;gap:6px;border:1px solid #d9dee6;border-radius:8px;background:#fff;color:#24313f;padding:9px 10px;cursor:pointer;text-align:left}.latent:hover,.example:hover{border-color:#9aa8ba}.latent.active,.example.active{border-color:#b42318;background:#fff6f3}.example.promptActive{border-color:#e7a68a;background:#fffaf7}.rank,.score,.exampleMeta,.passageMeta{color:#66758a;font-size:12px}.latentTitle{display:flex;flex-direction:column;gap:2px;min-width:0}.latentId{font-weight:650}.latentLabel{overflow:hidden;color:#4b5869;font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.latentLabel.generated{color:#66758a;font-style:italic}.score{text-align:right;font-variant-numeric:tabular-nums}.latentSkeleton{display:grid;grid-template-columns:42px minmax(0,1fr) 54px;align-items:center;gap:6px;min-height:58px;border:1px solid #e2e7ee;border-radius:8px;background:#fff;padding:9px 10px}.latentSkeleton span{height:12px;border-radius:999px;background:linear-gradient(90deg,#eef2f6,#f7f9fb,#eef2f6);background-size:220% 100%;animation:shimmer 1.3s ease-in-out infinite}.workspace{display:flex;flex-direction:column;min-width:0;height:100dvh;min-height:0;overflow:hidden}.rootState{display:grid;flex:1;min-height:0;place-items:center;padding:24px}.rootStatePanel{display:flex;align-items:center;gap:14px;width:min(460px,100%);border:1px solid #d9dee6;border-radius:8px;background:#fff;padding:18px;color:#334155;box-shadow:0 12px 28px #1f293314}.rootStatePanel svg{flex:0 0 auto;color:#b42318}.rootStatePanel h3{margin-bottom:4px}.rootStatePanel p{color:#66758a;font-size:13px;line-height:1.4}.rootStatePanel.error{border-color:#f1b7ad;background:#fff8f6}.spin{animation:spin .9s linear infinite}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d9dee6;background:#fbfcfd;padding:18px 22px}.toolbarControls{display:flex;align-items:center;gap:10px;min-width:0}.latentLookup{position:relative;display:flex;align-items:center;min-height:38px;border:1px solid #cfd6df;border-radius:8px;background:#fff;overflow:visible}.latentLookup input{width:92px;border:0;outline:0;background:transparent;color:#1f2933;padding:0 9px}.latentLookup button{align-self:stretch;border:0;border-left:1px solid #d9dee6;background:#f6f7f9;color:#24313f;padding:0 10px;cursor:pointer;font-weight:650}.latentLookup button:hover{background:#eef2f6}.latentLookup input:disabled,.latentLookup button:disabled{color:#8a95a6;cursor:wait}.latentLookup:focus-within{border-color:#9aa8ba;box-shadow:0 0 0 3px #9aa8ba2e}.latentLookup.error{border-color:#d92d20}.latentLookup span{position:absolute;top:calc(100% + 5px);right:0;z-index:2;max-width:220px;border:1px solid #f1b7ad;border-radius:8px;background:#fff8f6;color:#9f1f16;padding:6px 8px;font-size:12px;line-height:1.25;white-space:nowrap;box-shadow:0 8px 18px #1f29331f}h2{font-size:22px;line-height:1.2}.latentHeading{display:flex;align-items:center;gap:10px;min-width:0}.latentLabelInput{width:min(360px,34vw);min-height:32px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#1f2933;padding:0 10px;outline:0}.latentLabelInput:focus{border-color:#9aa8ba;box-shadow:0 0 0 3px #9aa8ba2e}.tokenModeSlider{display:flex;align-items:center;gap:7px;min-height:32px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#66758a;padding:0 9px;font-size:12px;font-weight:650;white-space:nowrap}.tokenModeSlider input{width:44px;accent-color:#b42318;cursor:pointer}.viewSwitch{display:flex;overflow:hidden;min-height:32px;border:1px solid #cfd6df;border-radius:8px;background:#fff}.viewSwitchButton{border:0;border-right:1px solid #d9dee6;background:transparent;color:#66758a;padding:0 10px;cursor:pointer;font-size:12px;font-weight:650}.viewSwitchButton:last-child{border-right:0}.viewSwitchButton:hover:not(:disabled){background:#f6f7f9;color:#334155}.viewSwitchButton.active{background:#fff6f3;color:#8f1d14}.viewSwitchButton:disabled{color:#a3adba;cursor:wait}.sourceSelect{width:min(260px,40vw)}.featureCard{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(260px,1.2fr);gap:12px;overflow:hidden;border-bottom:1px solid #d9dee6;background:#fff;padding:10px 18px}.featureIntro,.featurePanel{min-width:0;border:1px solid #d9dee6;border-radius:8px;background:#fbfcfd;padding:9px 11px}.featureIntro{display:flex;flex-direction:column;justify-content:center;gap:6px}.featureNumber{display:flex;flex-direction:column;gap:3px;min-width:0}.featureNumber span{color:#5d697a;font-size:12px;font-weight:700}.featureNumber strong{overflow:hidden;color:#17212f;font-size:15px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.featureNumber small{overflow:hidden;color:#66758a;font-size:12px;font-style:italic;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.featureStats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.featureStat{display:flex;justify-content:space-between;gap:8px;min-width:0;color:#66758a;font-size:12px}.featureStat strong{color:#253140;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-weight:650;font-variant-numeric:tabular-nums}.featurePanel{display:flex;flex-direction:column;gap:7px}.featurePanelTitle{display:flex;align-items:center;gap:7px;color:#334155}.featurePanelTitle h3{font-size:13px}.featurePanelTitle svg{color:#b42318}.miniHistogram{display:flex;align-items:end;gap:3px;height:38px;border-bottom:1px solid #d9dee6;padding:2px 0 0}.miniHistogram span{width:100%;min-width:5px;border-radius:3px 3px 0 0;background:#f4b183}.miniHistogram.loading span{background:linear-gradient(90deg,#e9eef5,#f7f9fb,#e9eef5);background-size:220% 100%;animation:shimmer 1.1s ease-in-out infinite}.featurePanelMeta{color:#66758a;font-size:12px}.effectGrid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:center;color:#66758a;font-size:12px}.effectGrid strong{color:#253140;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-weight:650;font-variant-numeric:tabular-nums}.compactRows,.intervalRows{display:flex;flex-direction:column;gap:5px;min-height:0;overflow:auto}.compactRow,.intervalRow{display:grid;align-items:center;gap:8px;min-height:28px;border:1px solid transparent;border-radius:6px;background:transparent;color:#334155;padding:4px 6px;cursor:pointer;text-align:left}.compactRow{grid-template-columns:minmax(0,1fr) auto}.intervalRow{grid-template-columns:54px 78px minmax(0,1fr)}.compactRow:hover,.intervalRow:hover,.compactRow.active,.intervalRow.active{border-color:#f1b7ad;background:#fff6f3}.compactRow span,.intervalRow strong,.intervalRow em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compactRow strong,.intervalRow span{color:#253140;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;font-weight:650;font-style:normal;font-variant-numeric:tabular-nums}.intervalRow strong{color:#334155;font-size:12px}.intervalRow em{color:#66758a;font-size:12px;font-style:normal}.grid{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px;min-height:0;overflow:hidden;padding:18px;flex:1}.examples,.passage,.documentPane{display:flex;flex-direction:column;gap:12px;min-height:0}.examples,.passage{overflow:hidden}.documentPane{overflow:auto}.documentBlock{display:flex;flex-direction:column;flex:0 0 auto;gap:10px;min-height:0}.sectionTitle{display:flex;align-items:center;gap:8px;color:#334155}h3{font-size:15px}.example{display:flex;flex-direction:column;gap:6px;border:1px solid #d9dee6;border-radius:8px;background:#fff;padding:10px;text-align:left;cursor:pointer}.virtualExampleList{position:relative;gap:0;flex:1 1 auto;overflow:auto;contain:layout paint}.virtualExampleSpacer{position:relative;flex:0 0 auto;width:100%;min-height:100%}.virtualExample{position:absolute;top:0;left:0;right:0;height:84px;margin-bottom:8px;overflow:hidden;will-change:transform}.exampleText{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:#253140;font-size:13px;line-height:1.45}.documentLatentSummary{display:flex;flex-wrap:wrap;gap:8px 14px;color:#66758a;font-size:12px}.documentLatent{gap:5px}.documentLatentTitle{overflow:hidden;color:#24313f;font-size:13px;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.documentLatentStats{overflow:hidden;color:#66758a;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.emptyState{border:1px solid #d9dee6;border-radius:8px;background:#fff;color:#66758a;padding:14px;font-size:13px;line-height:1.4}.passageMeta{display:flex;flex-wrap:wrap;gap:8px 14px}.hoverReadout{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-height:38px;border:1px solid #d9dee6;border-radius:8px;background:#fbfcfd;padding:8px 10px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;font-variant-numeric:tabular-nums}.readoutLabel{border-radius:999px;background:#eef2f6;color:#4a5567;padding:2px 7px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:650}.tokenView{min-height:360px;overflow:auto;border:1px solid #d9dee6;border-radius:8px;background:#fff;padding:18px;color:#17212f;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:15px;line-height:1.9}.documentStats{display:flex;flex-wrap:wrap;gap:8px 14px;color:#66758a;font-size:12px}.modelTabs{display:flex;flex-wrap:wrap;gap:8px}.modelTab{display:flex;align-items:center;gap:8px;min-height:32px;border:1px solid #cfd6df;border-radius:8px;background:#fff;color:#334155;padding:5px 9px;cursor:pointer;font-size:12px;font-weight:650}.tabScore{border-radius:999px;background:#eef2f6;color:#4a5567;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-weight:500;font-variant-numeric:tabular-nums}.modelTab:hover{border-color:#9aa8ba}.modelTab.active{border-color:#b42318;background:#fff6f3;color:#8f1d14}.modelTab.active .tabScore{background:#ffe0d8;color:#8f1d14}.documentText{overflow:auto;border:1px solid #d9dee6;border-radius:8px;background:#fff;padding:14px;color:#253140;font-size:13px;line-height:1.55;white-space:pre-wrap}.passageHighlight{border-radius:4px;background:#f6be0052;color:inherit;padding:1px 0}.documentBlock:last-child .tokenView{flex:0 0 auto;min-height:360px}.fullDocTokenView{white-space:pre-wrap}.errorText{color:#b42318}.token{border-radius:4px;padding:2px 1px;white-space:pre-wrap;outline:1px solid transparent;outline-offset:1px}.token.space{padding:0}.token:hover,.token:focus-visible{outline-color:#17212f}.token.peak{box-shadow:inset 0 -2px #b42318;font-weight:700}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1280px){.featureCard{grid-template-columns:repeat(2,minmax(0,1fr))}.intervalPanel{grid-column:1 / -1}.grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr)}}@media(max-width:900px){.shell{grid-template-columns:1fr;grid-template-rows:minmax(0,44dvh) minmax(0,1fr)}.grid,.documentPane{grid-template-columns:1fr;grid-column:auto}.sidebar{height:auto;max-height:none;border-right:0;border-bottom:1px solid #d9dee6}.workspace{height:auto}.toolbar{align-items:flex-start;flex-direction:column}.toolbarControls{width:100%}.featureCard{grid-template-columns:1fr;overflow:auto;max-height:42dvh}.sourceSelect{width:100%}.latentLookup{flex:0 0 auto}}
