:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#eee;background:#0f1115;font-family:system-ui,-apple-system,sans-serif}.app{flex-direction:column;gap:8px;height:100%;padding:12px;display:flex}.app>header{flex-shrink:0;align-items:center;gap:12px;display:flex}.app>header h1{margin:0;font-size:18px;font-weight:600}.grow{flex:1}textarea{color:#eee;resize:vertical;background:#1a1d24;border:1px solid #333;width:100%;height:200px;padding:8px;font-family:inherit;font-size:13px}button{color:#fff;cursor:pointer;background:#4f8cff;border:0;border-radius:4px;padding:6px 8px;font-size:13px}button:disabled{opacity:.6;cursor:not-allowed}button.secondary{color:#ddd;background:0 0;border:1px solid #444}button.secondary.small{padding:3px 8px;font-size:11px}button.back{color:#aaa;background:0 0;border:0;margin-bottom:4px;padding:4px 0;font-size:13px}.title-with-info{align-items:center;gap:6px;display:inline-flex}.info-btn{color:#888;cursor:pointer;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;padding:2px;line-height:0;display:inline-flex}.info-btn:hover,.info-btn:focus-visible{color:#eee;background:#ffffff0f;outline:none}.help-popover{color:#eee;width:min(360px,100vw - 24px);max-height:min(70vh,480px);inset:unset;position-fallback:none;background:#14171d;border:1px solid #2a2f3a;border-radius:6px;margin:0;padding:14px 16px;font-size:13px;line-height:1.5;overflow-y:auto}.help-popover[popover]{margin:0}.help-popover h2{color:#fff;margin:0 0 8px;font-size:14px;font-weight:600}.help-popover p{margin:0 0 10px}.help-popover ul{margin:0 0 10px;padding-left:18px}.help-popover li{margin-bottom:4px}.help-popover .dim{margin-bottom:0;font-size:12px}@media (width<=720px){.help-popover{width:min(320px,100vw - 24px);font-size:12px}}.meta{color:#aaa;margin-left:12px;font-size:12px}.dim{color:#888}.row{flex:1;gap:12px;min-height:0;display:flex}.left{background:#0f1115;border:1px solid #222;border-radius:4px;flex:2;min-width:0}.right{flex-direction:column;flex:1;min-width:400px;max-width:500px;display:flex}.sidebar-dialog{color:#eee;background:#0f1115;border:none;border-radius:4px 0 0 4px;width:min(500px,100vw);height:100vh;max-height:100vh;margin:0 0 0 auto;padding:0;overflow-y:auto}.sidebar-dialog::backdrop{background:#0006}.sidebar-dialog[open]{animation:.18s ease-out sidebar-slide-in}@keyframes sidebar-slide-in{0%{transform:translate(100%)}to{transform:translate(0)}}.sidebar-dialog>.sidebar{border:0;border-radius:4px 0 0 4px;height:100%}.sidebar{background:#14171d;border:1px solid #222;border-radius:4px;flex-direction:column;flex:1;gap:8px;padding:12px;display:flex;overflow-y:auto}.sidebar h3{margin:8px 0 4px;font-size:14px;font-weight:600}.search{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.search input{color:#eee;background:#1a1d24;border:1px solid #333;border-radius:4px;flex:1;min-width:0;padding:6px 8px;font-family:inherit;font-size:13px}.search select.search-mode{color:#eee;cursor:pointer;background:#1a1d24;border:1px solid #333;border-radius:4px;padding:5px 6px;font-family:inherit;font-size:12px}.search select.search-mode:focus{outline-offset:-1px;outline:1px solid #4f8cff}.search-results{flex-direction:column;gap:4px;display:flex}.status-row{border-bottom:1px solid #2a2f3a;align-items:center;gap:8px;min-height:28px;padding:4px 0;display:flex}.status-row .meta{flex:1}.cluster-list,.chunk-list,.cluster-group{flex-direction:column;gap:4px;display:flex}.cluster-group>.chunk-list{margin-bottom:4px;margin-left:16px}.cluster-item{cursor:pointer;border-radius:4px;align-items:baseline;gap:4px;padding:5px 8px;font-size:13px;display:flex}.cluster-item:hover,.cluster-item.selected{background:#2a2f3a}.cluster-item .label{flex:1}blockquote{cursor:pointer;background:#1a1d24;border-left:3px solid #4f8cff;border-radius:0 4px 4px 0;margin:0;padding:6px 10px;font-size:12px}blockquote:hover{background:#232830}blockquote.hit{border-left-color:#6dd47e;position:relative}blockquote.selected{background:#2a2f3a}.hit-score{float:right;color:#888;margin-left:6px;margin-block-start:3px;font-family:monospace;font-size:10px;line-height:1}.empty{color:#555;justify-content:center;align-items:center;height:100%;font-size:14px;display:flex}.confirm-dialog{color:#eee;background:#1a1d24;border:1px solid #333;border-radius:6px;min-width:340px;padding:20px}.confirm-dialog::backdrop{background:#0009}.confirm-dialog p{margin:0 0 16px;font-size:14px}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.upload-dialog .dialog-actions{justify-content:flex-start}.upload-dialog{box-sizing:border-box;color:#eee;background:#0f1115;border:none;width:100vw;max-width:100vw;height:100svh;max-height:100svh;margin:0;padding:12px}.upload-dialog[open]{flex-direction:column;gap:12px;display:flex}.upload-dialog::backdrop{background:#000000b3}.upload-textarea{color:#eee;resize:none;background:#1a1d24;border:1px solid #333;flex:1;width:100%;height:auto;padding:12px;font-family:inherit;font-size:13px}.form-error{color:#f01}.menu-btn{display:none}@media (width<=720px){.app{gap:6px;padding:8px}.app>header{flex-direction:column;align-items:stretch;gap:6px}.header-row{align-items:center;gap:8px;display:flex}.header-row-title h1{margin:0;font-size:16px}.header-row-title .status{text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:11px;overflow:hidden}.header-row-actions .menu-btn{flex:none;display:inline}.header-row-actions button:not(.menu-btn){flex:none}.row{flex-direction:column}.left{flex:1;min-height:60vh}.right{display:none}}@media (width<=420px){.app{padding:6px}.app>header h1{font-size:15px}button{padding:6px 10px;font-size:12px}}
