:root{--bg:#151515;--surface:#242424;--user:#f4f4f5;--user-text:#111;--border:#ffffff1f;--text:#f4f4f5;--muted:#9b9b9b;--accent:#f59f56;--section-bg:#1c1c1c;--error:#fef2f2;--error-border:#ef4444;--bg-gradient:#151515;--composer:#2d2d2d;--composer-border:#ffffff14;--menu:#2d2d2df5;--menu-selected:#ffffff1f;--sidebar-bg:#050505;--sidebar-border:#ffffff14;--sidebar-text:#f5f5f5;--sidebar-brand:#f7f7f7;--sidebar-icon:#cfcfcf;--sidebar-muted:#a0a0a0;--sidebar-row-text:#f4f4f4;--sidebar-chat-text:#d6d6d6;--sidebar-hover:#ffffff1a;--sidebar-active:#ffffff1f;--sidebar-input-bg:#ffffff17;--sidebar-input-border:#ffffff1f;--sidebar-scrollbar-thumb:#ffffff2e;--shadow:0 24px 80px #0000006b;--variant-pill-bg:#eef1f4;--variant-pill-border:#ffffffe0;--variant-pill-glow:#ebf1f738;--variant-text:#1e4f86;--variant-position:#255f99;--variant-reference:#176074;--variant-alternate:#334f94;--variant-separator:#6b7785;--scrollbar-thumb:#f4f4f5ad;--scrollbar-thumb-hover:#f4f4f5d1;--debug-stage-success-text:#bbf7d0;--debug-stage-success-bg:#22c55e29;--debug-stage-skipped-text:#cbd5e1;--debug-stage-skipped-bg:#94a3b824;--debug-stage-warning-text:#fde68a;--debug-stage-warning-bg:#f59e0b29;--debug-stage-error-text:#fecaca;--debug-stage-error-bg:#ef444429}:root[data-theme=dark]{--bg:#151515;--surface:#242424;--user:#f4f4f5;--user-text:#111;--border:#ffffff1f;--text:#f4f4f5;--muted:#9b9b9b;--accent:#f59f56;--section-bg:#1c1c1c;--error:#2a1414;--error-border:#f87171;--bg-gradient:#151515;--composer:#2d2d2d;--composer-border:#ffffff14;--menu:#2d2d2df5;--menu-selected:#ffffff1f;--menu-text:#e0e0e0;--menu-title:#8f8f8f;--sidebar-bg:#050505;--sidebar-border:#ffffff14;--sidebar-text:#f5f5f5;--sidebar-brand:#f7f7f7;--sidebar-icon:#cfcfcf;--sidebar-muted:#a0a0a0;--sidebar-row-text:#f4f4f4;--sidebar-chat-text:#d6d6d6;--sidebar-hover:#ffffff1a;--sidebar-active:#ffffff1f;--sidebar-input-bg:#ffffff17;--sidebar-input-border:#ffffff1f;--sidebar-scrollbar-thumb:#ffffff2e;--shadow:0 24px 80px #0000006b;--variant-pill-bg:#38bdf824;--variant-pill-border:#7dd3fc57;--variant-pill-glow:#38bdf829;--variant-text:#bae6fd;--variant-position:#93c5fd;--variant-reference:#5eead4;--variant-alternate:#c4b5fd;--variant-separator:#7dd3fc;--scrollbar-thumb:#f4f4f5ad;--scrollbar-thumb-hover:#f4f4f5d1;--debug-stage-success-text:#bbf7d0;--debug-stage-success-bg:#22c55e29;--debug-stage-skipped-text:#cbd5e1;--debug-stage-skipped-bg:#94a3b824;--debug-stage-warning-text:#fde68a;--debug-stage-warning-bg:#f59e0b29;--debug-stage-error-text:#fecaca;--debug-stage-error-bg:#ef444429}:root[data-theme=light]{--bg:#f3f4f6;--surface:#fff;--user:#2563eb;--user-text:#fff;--border:#e2e8f0;--text:#1e293b;--muted:#64748b;--accent:#2563eb;--section-bg:#f8fafc;--error:#fef2f2;--error-border:#ef4444;--bg-gradient:#f3f4f6;--composer:#fff;--composer-border:#0f172a1a;--menu:#fffffffa;--menu-selected:#2563eb1a;--menu-text:#334155;--menu-title:#64748b;--sidebar-bg:#fff;--sidebar-border:#e2e8f0;--sidebar-text:#1e293b;--sidebar-brand:#0f172a;--sidebar-icon:#475569;--sidebar-muted:#64748b;--sidebar-row-text:#334155;--sidebar-chat-text:#475569;--sidebar-hover:#0f172a12;--sidebar-active:#2563eb1a;--sidebar-input-bg:#0f172a0a;--sidebar-input-border:#0f172a1f;--sidebar-scrollbar-thumb:#64748b52;--shadow:0 22px 60px #0f172a29;--variant-pill-bg:#0e74901a;--variant-pill-border:#0e74903d;--variant-pill-glow:#0e74901a;--variant-text:#075985;--variant-position:#1d4ed8;--variant-reference:#0f766e;--variant-alternate:#6d28d9;--variant-separator:#64748b;--scrollbar-thumb:#64748b94;--scrollbar-thumb-hover:#475569b8;--debug-stage-success-text:#166534;--debug-stage-success-bg:#dcfce7;--debug-stage-skipped-text:#475569;--debug-stage-skipped-bg:#e2e8f0;--debug-stage-warning-text:#92400e;--debug-stage-warning-bg:#fef3c7;--debug-stage-error-text:#991b1b;--debug-stage-error-bg:#fee2e2}*{box-sizing:border-box}body{background:var(--bg-gradient);color:var(--text);min-height:100vh;margin:0;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;transition:background .2s,color .2s}.app{--app-pad-x:1.5rem;width:100%;height:100vh;padding:1.15rem var(--app-pad-x) 1.5rem;flex-direction:column;display:flex}header{flex:none;justify-content:space-between;align-items:center;gap:1rem;width:100%;min-height:40px;display:flex}header h1{color:var(--text);letter-spacing:0;align-items:center;gap:.34rem;margin:0;font-size:1.18rem;font-weight:600;line-height:1;display:inline-flex}.brand-release{color:#a9a9a9;font-weight:500}.brand-gpt{background:linear-gradient(90deg, var(--variant-position), var(--variant-reference), var(--variant-alternate));-webkit-text-fill-color:transparent;-webkit-background-clip:text}header h1 svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;color:var(--muted)}.theme-toggle{background:var(--section-bg);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;padding:0;transition:background .15s,border-color .15s;display:flex}.theme-toggle:hover{background:#ffffff1f;border-color:#ffffff2e}.theme-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.theme-toggle:focus-visible,.link-button:focus-visible,.command-item:focus-visible,.mode-button:focus-visible,.mode-item:focus-visible,.mode-picker-item:focus-visible,.mode-search:focus-visible,.sidebar-action-row:focus-visible,.sidebar-icon-button:focus-visible,.sidebar-search-input:focus-visible,.variant-search input:focus-visible,.selectable-table-cell:focus-visible,.sortable-header:focus-visible,.table-action-button:focus-visible,.selected-cell-clear:focus-visible,.send-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.user-pill{background:var(--surface);border:1px solid var(--border);color:var(--text);border-radius:999px;align-items:center;gap:10px;padding:4px 10px 4px 4px;font-size:.9rem;display:flex}.user-pill img{object-fit:cover;border-radius:50%;width:28px;height:28px;display:block}.user-name{white-space:nowrap;text-overflow:ellipsis;max-width:160px;font-weight:500;overflow:hidden}.link-button{background:var(--text);border:1px solid var(--text);height:40px;color:var(--bg);cursor:pointer;border-radius:999px;padding:0 1rem;font-size:.88rem;font-weight:500;line-height:1;transition:background .15s,border-color .15s,color .15s}.link-button:hover{background:#e7e7e7;border-color:#e7e7e7}.messages{width:calc(100% + (2 * var(--app-pad-x)));margin:0 calc(-1 * var(--app-pad-x));padding:1.25rem max(var(--app-pad-x), calc((100vw - 884px) / 2 + .25rem)) 1.5rem;box-shadow:none;color:var(--text);scrollbar-color:var(--scrollbar-thumb) transparent;scrollbar-width:thin;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;gap:1rem;display:flex;overflow-y:auto}.messages::-webkit-scrollbar{width:12px}.messages::-webkit-scrollbar-track{background:0 0}.messages::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);background-clip:content-box;border:4px solid #0000;border-radius:999px;min-height:56px}.messages::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover)}.empty-chat .messages{display:none}.empty-chat .composer{margin:auto;transform:translateY(-4vh)}.empty-chat-title{color:var(--text);text-align:center;margin:0 0 1.55rem;font-size:clamp(1.7rem,3.1vw,1.35rem);font-weight:300;line-height:1.15}.bubble{word-wrap:break-word;max-width:92%;color:var(--text);border-radius:14px;padding:.85rem 1.1rem;line-height:1.5}.bubble.user{background:var(--user);color:var(--user-text);white-space:pre-wrap;border-bottom-right-radius:4px;align-self:flex-end}.bubble.assistant{align-self:flex-start;width:92%}.bubble.assistant.debug-response,.bubble.assistant.typing{background:var(--surface);border:1px solid var(--border);border-bottom-left-radius:4px}.bubble.assistant .intro{white-space:pre-wrap;margin:0 0 .75rem}.sources-panel{border-top:1px solid var(--border--color);background:color-mix(in srgb, var(--section-bg) 84%, #496ed5);border:1px solid #6356f538;border-radius:10px;margin:0 0 .9rem;padding:.75rem}.sources-panel summary{cursor:pointer;font-weight:600}.sources-list{flex-direction:column;gap:.38rem;margin-top:10px;display:flex}.source-item{background:color-mix(in srgb, var(--section-bg) 75%, #506bd6);border-radius:8px;padding:10px}.source-item a{color:var(--text)}.source-citation{opacity:.7;margin-top:4px;font-size:.85rem}.citation{cursor:pointer;color:var(--accent-color);-webkit-user-select:none;user-select:none;margin-left:2px;font-size:.75em}.citation:hover{text-decoration:underline}.source-item.highlighted{background:rba(79, 140, 255, .12);border:2px solid #4f8cff;border-radius:8px;padding:8px;animation:2s source-highlight}@keyframes source-highlight{0%{transform:scale(1.02)}to{transform:scale(1)}}.markdown{color:var(--text);font-size:.96rem}.markdown h2,.markdown h3,.markdown h4{color:var(--text);margin:.9rem 0 .35rem;line-height:1.25}.markdown h2:first-child,.markdown h3:first-child,.markdown h4:first-child{margin-top:0}.markdown h2{font-size:1.12rem}.markdown h3{font-size:1rem}.markdown h4{color:var(--muted);font-size:.95rem}.markdown p{white-space:pre-wrap;margin:0 0 .75rem}.markdown ul{margin:.25rem 0 .8rem;padding-left:1.2rem}.markdown li{margin:.18rem 0}.markdown code{background:var(--section-bg);border:1px solid var(--border);color:var(--text);border-radius:4px;padding:.05rem .25rem;font-family:SF Mono,Menlo,monospace;font-size:.9em}.markdown a{color:var(--accent);border-bottom:1px dotted var(--accent);text-decoration:none}.markdown a:hover{background:#3b82f614}.markdown-inline-result{margin:.75rem 0 .9rem}.markdown-inline-result .variant-result{margin:0}.variant-result{border:1px solid var(--border);background:color-mix(in srgb, var(--section-bg) 92%, var(--surface));border-radius:8px;margin:.85rem 0 .9rem;overflow:hidden}.variant-result-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:.8rem;padding:.7rem .75rem;display:flex}.variant-result-header h3{margin:0;font-size:.95rem;font-weight:600;line-height:1.2}.variant-result-header p{color:var(--muted);margin:.16rem 0 0;font-size:.78rem;line-height:1.25}.variant-result-search-row{align-items:center;gap:.5rem;padding:.6rem .75rem;display:flex}.variant-search{flex:0 240px;align-items:center;min-width:180px;display:flex;position:relative}.variant-search-wide{flex:auto;min-width:0}.table-action-button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.table-action-button:hover{color:var(--text);background:var(--menu-selected)}.table-action-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.variant-search-icon{width:16px;height:16px;color:var(--muted);pointer-events:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;left:.58rem}.variant-search-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.variant-search input{width:100%;height:34px;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:7px;padding:0 .65rem 0 1.95rem;font-size:.82rem}.variant-search input::placeholder{color:var(--muted)}.variant-result-meta{color:var(--muted);border-bottom:1px solid var(--border);gap:.55rem;padding:.5rem .75rem;font-family:SF Mono,Menlo,monospace;font-size:.78rem;display:flex}.variant-table-scroll{scrollbar-color:var(--scrollbar-thumb) transparent;scrollbar-width:thin;max-height:320px;overflow:auto}.variant-table{border-collapse:separate;border-spacing:0;width:100%;min-width:720px;font-size:.82rem}.trait-variant-table{min-width:620px}.variant-table th,.variant-table td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;white-space:nowrap;padding:.52rem .62rem}.variant-table th{z-index:1;color:var(--muted);background:var(--section-bg);text-transform:uppercase;font-size:.72rem;font-weight:600;position:sticky;top:0}.sortable-header{width:100%;color:inherit;font:inherit;text-align:left;text-transform:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:.32rem;padding:0;display:inline-flex}.sortable-header:hover,.sortable-header.active{color:var(--text)}.sort-indicator{color:var(--muted);font-size:.72rem;line-height:1}.sortable-header.active .sort-indicator{color:var(--accent)}.variant-table td{color:var(--text);font-family:SF Mono,Menlo,monospace}.selectable-table-cell{cursor:cell;transition:background .12s,box-shadow .12s}.selectable-table-cell:hover{background:color-mix(in srgb, var(--variant-pill-bg) 35%, transparent)}.selectable-table-cell.selected{color:var(--variant-text);background:color-mix(in srgb, var(--variant-pill-bg) 58%, transparent);box-shadow:inset 0 0 0 2px var(--variant-position)}.variant-empty{color:var(--muted);padding:.9rem .75rem;font-size:.84rem}.variant-table-footer{color:var(--muted);justify-content:flex-start;align-items:center;gap:.7rem;padding:.56rem .12rem 0;font-size:.78rem;display:flex}.variant-show-more{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.variant-show-more:hover{color:var(--text)}.bubble.error{background:var(--error);border:1px solid var(--error-border);width:92%;color:var(--text);align-self:flex-start}@media (width<=720px){.variant-result-header{flex-direction:column;align-items:stretch}.variant-search{flex-basis:auto;min-width:0}}@media (width<=900px){.table-fullscreen-pane{inset:0}.table-fullscreen-active .app{display:none}}.bubble.error p{margin:.4rem 0 0;font-family:SF Mono,Menlo,monospace;font-size:.85rem}.warnings{flex-wrap:wrap;gap:.4rem;margin-top:.75rem;display:flex}.chip{color:#78350f;background:#fef3c7;border:1px solid #f59e0b;border-radius:999px;padding:.15rem .6rem;font-size:.75rem}.typing{gap:4px;padding:1rem 1.25rem;display:inline-flex;width:auto!important}.typing span{background:var(--muted);border-radius:50%;width:8px;height:8px;animation:1.4s infinite both blink}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.2;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.composer{flex-direction:column;gap:.55rem;width:min(100%,640px);margin:.25rem auto 0;display:flex;position:relative}.selected-cell-context{min-height:44px;color:var(--variant-text);background:var(--composer);border:1px solid var(--composer-border);box-shadow:var(--shadow);border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.55rem;padding:0 .78rem;font-size:.92rem;display:grid}.selected-cell-arrow{color:var(--variant-position);font-size:1.2rem;line-height:1}.selected-cell-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.selected-cell-label strong{font-weight:650}.selected-cell-clear{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;padding:0;display:inline-flex}.selected-cell-clear:hover{color:var(--text);background:var(--menu-selected)}.selected-cell-clear svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.prompt-bar{--prompt-input-min-height:36px;grid-template-rows:minmax(var(--prompt-input-min-height), auto) auto;background:var(--composer);border:1px solid var(--composer-border);min-height:87px;box-shadow:var(--shadow);border-radius:16px;padding:.66rem .7rem .56rem;display:grid}.prompt-input-shell{min-width:0;min-height:var(--prompt-input-min-height);display:grid;position:relative;overflow:hidden}.prompt-highlight-layer{z-index:0;min-width:0;min-height:var(--prompt-input-min-height);color:var(--text);font:inherit;pointer-events:none;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;isolation:isolate;grid-area:1/1;font-size:.86rem;line-height:1.5;position:relative;overflow:hidden}.prompt-highlight-text{color:var(--text)}.prompt-highlight-token{color:var(--variant-text);background:var(--variant-pill-bg);box-shadow:inset 0 0 0 1px var(--variant-pill-border);-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:5px;display:inline}.prompt-highlight-token.coordinate,.prompt-highlight-token.gnomad{background:var(--variant-pill-bg)}.variant-part.chromosome,.variant-part.rsid{color:var(--variant-text)}.variant-part.position{color:var(--variant-position)}.variant-part.reference{color:var(--variant-reference)}.variant-part.alternate{color:var(--variant-alternate)}.variant-part.separator{color:var(--variant-separator);font-weight:inherit;text-shadow:none}.prompt-bar textarea{z-index:1;width:100%;min-height:var(--prompt-input-min-height);height:auto;font:inherit;resize:none;color:#0000;caret-color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;background:0 0;border:0;border-radius:0;grid-area:1/1;padding:0;font-size:.86rem;line-height:1.5;position:relative;overflow:hidden}.prompt-bar textarea::placeholder{color:var(--muted)}.prompt-bar textarea:focus{outline:none}.prompt-bar:focus-within{border-color:var(--composer-border);box-shadow:var(--shadow)}.prompt-toolbar{justify-content:flex-end;align-items:center;gap:.56rem;min-height:30px;display:flex}.debug-pill{color:#f6c178;white-space:nowrap;cursor:default;background:#f59f561f;border:1px solid #f59f563d;border-radius:999px;align-items:center;gap:.34rem;min-height:28px;padding:0 .58rem 0 .28rem;font-family:inherit;font-size:.74rem;line-height:1;transition:background .12s,border-color .12s,opacity .12s;display:inline-flex}.debug-pill:hover:not(:disabled),.debug-pill:focus-visible{background:#f59f562b;border-color:#f59f5652}.debug-pill:disabled{cursor:default;opacity:.55}.debug-pill-icon{width:20px;height:20px;color:inherit;background:#f59f5633;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:relative}.debug-pill-icon svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:opacity .12s;position:absolute}.debug-pill-icon svg+svg,.debug-pill:hover:not(:disabled) .debug-pill-icon svg:first-child,.debug-pill:focus-visible .debug-pill-icon svg:first-child{opacity:0}.debug-pill:hover:not(:disabled) .debug-pill-icon svg+svg,.debug-pill:focus-visible .debug-pill-icon svg+svg{opacity:1}.mode-control{align-items:center;font-family:BR Firma Medium,BR Firma,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;display:inline-flex;position:relative}.mode-button{color:#9a9a9a;cursor:default;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.24rem;height:30px;padding:0 .42rem;font-family:inherit;font-size:.74rem;font-weight:400;line-height:1;transition:color .15s,background .15s,opacity .15s;display:inline-flex}.mode-button:hover:not(:disabled){color:#c2c2c2;background:#ffffff1a}.mode-button strong{color:#a9a9a9;align-items:center;height:100%;font-weight:400;line-height:1;display:inline-flex}.mode-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:12px;height:12px}.send-button{width:30px;height:30px;color:var(--muted);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:background .15s,color .15s,opacity .15s;display:inline-flex}.send-button svg,.command-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.send-button{background:var(--text);color:var(--bg);cursor:pointer}.send-button:hover:not(:disabled){transform:translateY(-1px)}.send-button:disabled{opacity:.42;cursor:not-allowed}.mode-menu{z-index:10;background:var(--menu);border:1px solid var(--composer-border);width:min(210px,100vw - 2rem);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:12px;padding:.32rem;font-family:BR Firma Medium,BR Firma,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;position:absolute;bottom:calc(100% + 1px);left:0;overflow:hidden}.mode-menu-title{color:var(--menu-title);padding:.34rem .42rem .3rem;font-size:.72rem;font-weight:400;line-height:1.2}.mode-item{width:100%;min-height:28px;color:var(--text);cursor:default;font-family:inherit;font-size:inherit;text-align:left;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.3rem .42rem;font-weight:400;transition:background .12s,opacity .12s;display:flex}.mode-item:hover:not(:disabled),.mode-item.highlighted{background:var(--menu-selected)}.mode-item:disabled{opacity:.5;cursor:default}.mode-item-name{color:var(--menu-text);font-size:.78rem;font-weight:400;line-height:1.2}.mode-item-check{width:15px;height:15px;color:var(--menu-text);flex:none;justify-content:center;align-items:center;display:inline-flex}.mode-item-check svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.mode-picker-menu{background:var(--menu);border:1px solid var(--composer-border);width:100%;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px;padding:.25rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden}.mode-search{width:100%;height:30px;color:var(--text);background:0 0;border:0;border-radius:9px;padding:0 .46rem;font-family:inherit;font-size:.82rem;line-height:1.2}.mode-search::placeholder{color:var(--muted)}.mode-search:focus{outline:none}.mode-picker-options{flex-direction:column;display:flex}.mode-picker-item{width:100%;min-height:30px;color:var(--text);cursor:default;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:.5rem;padding:.33rem .46rem;font-family:inherit;transition:background .12s,opacity .12s;display:flex}.mode-picker-item.highlighted{background:var(--menu-selected)}.mode-picker-item:disabled{opacity:.5}.mode-picker-icon,.mode-picker-check{color:#d7d7d7;flex:none;justify-content:center;align-items:center;display:inline-flex}.mode-picker-icon{width:18px;height:18px}.mode-picker-check{width:16px;height:16px;margin-left:auto}.mode-picker-name{font-size:.82rem;font-weight:400;line-height:1.2}.mode-picker-name-match{color:#a9a9a9}.mode-picker-name-rest{color:var(--muted)}.mode-picker-item.highlighted .mode-picker-name-match,.mode-picker-item.highlighted .mode-picker-name-rest{color:var(--text)}.mode-picker-icon svg,.mode-picker-check svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.command-menu{z-index:12;background:var(--menu);border:1px solid var(--composer-border);width:100%;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px;padding:.25rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;position:absolute;bottom:calc(87px + .55rem);left:0;overflow:hidden}.command-item{text-align:left;width:100%;min-height:30px;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:.5rem;padding:.33rem .46rem;font-family:inherit;transition:background .12s,color .12s;display:flex}.command-item:hover,.command-item.selected{background:var(--menu-selected)}.command-icon{width:18px;height:18px;color:var(--muted);flex:none;justify-content:center;align-items:center;display:inline-flex}.command-item:hover .command-icon,.command-item.selected .command-icon{color:var(--text)}.command-copy{flex:auto;align-items:baseline;gap:.48rem;min-width:0;display:flex}.command-name{white-space:nowrap;flex:none;font-size:.82rem;font-weight:400;line-height:1.2}.command-name-match{color:var(--text)}.command-name-rest{color:var(--muted)}.command-meta{min-width:0;color:var(--muted);text-align:right;text-overflow:ellipsis;white-space:nowrap;flex:0 auto;margin-left:auto;font-size:.82rem;line-height:1.2;overflow:hidden}.command-meta.value{color:#a9a9a9;font-weight:400}.command-description{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;line-height:1.2;overflow:hidden}.debug-trace{background:color-mix(in srgb, var(--section-bg) 84%, #f59f56);border:1px solid #f59f5638;border-radius:10px;margin:0 0 .9rem;padding:.75rem}.debug-trace-header{align-items:center;gap:.6rem;margin-bottom:.62rem;display:flex}.debug-trace-icon{color:#f6c178;background:#f59f5621;border:1px solid #f59f5638;border-radius:8px;flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:inline-flex}.debug-trace-icon svg{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.debug-trace h3{color:var(--text);margin:0;font-size:.88rem;font-weight:600;line-height:1.2}.debug-trace p{color:var(--muted);margin:.12rem 0 0;font-size:.78rem;line-height:1.35}.debug-stages{flex-direction:column;gap:.38rem;display:flex}.debug-stage{border:1px solid var(--border);background:#ffffff09;border-radius:8px;overflow:hidden}.debug-stage[open]{background:#ffffff0e}.debug-stage summary{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;min-height:34px;padding:.38rem .5rem;list-style:none;display:grid}.debug-stage summary::-webkit-details-marker{display:none}.debug-stage-status{text-transform:uppercase;letter-spacing:0;border-radius:999px;padding:.16rem .38rem;font-size:.68rem;line-height:1}.debug-stage-success .debug-stage-status{color:var(--debug-stage-success-text);background:var(--debug-stage-success-bg)}.debug-stage-skipped .debug-stage-status{color:var(--debug-stage-skipped-text);background:var(--debug-stage-skipped-bg)}.debug-stage-warning .debug-stage-status{color:var(--debug-stage-warning-text);background:var(--debug-stage-warning-bg)}.debug-stage-error .debug-stage-status{color:var(--debug-stage-error-text);background:var(--debug-stage-error-bg)}.debug-stage-name{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.debug-stage-time{color:var(--muted);white-space:nowrap;font-size:.74rem}.debug-stage>p{color:var(--muted);margin:0;padding:0 .65rem .55rem;font-size:.8rem;line-height:1.42}.debug-stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;padding:0 .55rem .55rem;display:grid}.debug-json-block{min-width:0}.debug-json-block-header{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.24rem;display:flex}.debug-json-block-header>span:first-child{color:var(--muted);font-size:.72rem}.debug-json-code{position:relative}.debug-json-actions{z-index:2;align-items:center;gap:.38rem;display:inline-flex;position:absolute;top:.42rem;right:.42rem}.debug-truncation-icon{color:#f6c178;cursor:help;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.debug-truncation-icon svg{fill:#f59f562e;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.debug-truncation-tooltip{width:min(260px,72vw);color:var(--text);background:var(--menu);border:1px solid var(--composer-border);box-shadow:var(--shadow);opacity:0;pointer-events:none;border-radius:7px;padding:.42rem .55rem;font-size:.74rem;font-weight:400;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + .36rem);right:0;transform:translateY(-2px)}.debug-truncation-icon:hover .debug-truncation-tooltip,.debug-truncation-icon:focus-visible .debug-truncation-tooltip{opacity:1;transform:translateY(0)}.debug-truncation-icon:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}.debug-copy-button{color:#b8b8b8;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:inline-flex;position:relative}.debug-copy-button:hover{background:#ffffff1a}.debug-copy-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.debug-copy-button svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.debug-copy-button .copy-icon-mask{fill:#262626;stroke:#262626;stroke-width:2.2px}.debug-copy-tooltip{width:max-content;color:var(--text);box-shadow:var(--shadow);opacity:0;pointer-events:none;white-space:nowrap;background:#2e2e2e;border:1px solid #ffffff1f;border-radius:9px;padding:.42rem .62rem;font-size:.78rem;font-weight:400;line-height:1.2;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + .46rem);right:50%;transform:translate(50%)translateY(2px)}.debug-copy-button:hover .debug-copy-tooltip,.debug-copy-button:focus-visible .debug-copy-tooltip{opacity:1;transform:translate(50%)translateY(0)}.debug-json-block pre{max-height:220px;color:var(--text);white-space:pre-wrap;background:#262626;border:1px solid #ffffff0f;border-radius:10px;margin:0;padding:2rem 2.4rem .7rem .72rem;font-family:SF Mono,Menlo,monospace;font-size:.78rem;line-height:1.55;overflow:auto}.debug-json-code:before{content:"json";z-index:1;color:#b8b8b8;font-family:SF Mono,Menlo,monospace;font-size:.78rem;line-height:1;position:absolute;top:.5rem;left:.72rem}.json-key{color:#ff3f9b}.json-string{color:#f6c178}.json-number{color:#ff70b7}.json-boolean,.json-null{color:#8ab4ff}.json-punctuation,.json-plain{color:#f3f3f3}.header-controls{justify-content:flex-end;align-items:center;gap:.65rem;margin-left:auto;display:flex}@media (width<=720px){.app{--app-pad-x:1rem;padding:1rem var(--app-pad-x)}.header-controls{flex:none}.messages{padding-top:.75rem}.command-copy{flex-direction:column;align-items:flex-start;gap:.08rem}.command-description{white-space:normal}.prompt-bar{border-radius:16px;min-height:87px}.debug-stage-grid{grid-template-columns:1fr}.debug-stage summary{grid-template-columns:auto minmax(0,1fr)}.debug-stage-time{grid-column:2}}.layout{--table-chat-rail-width:clamp(380px, 30vw, 520px);height:100vh;display:flex}.table-fullscreen-pane{inset:0 var(--table-chat-rail-width) 0 0;z-index:60;min-width:0;color:var(--text);background:var(--bg);border-right:1px solid var(--border);flex-direction:column;display:flex;position:fixed}.table-fullscreen-titlebar{border-bottom:1px solid var(--border);background:var(--bg);flex:none;justify-content:space-between;align-items:center;gap:1rem;min-height:58px;padding:0 1.05rem;display:flex}.table-fullscreen-titlebar h2{margin:0;font-size:1rem;font-weight:650;line-height:1.2}.table-fullscreen-active .sidebar{display:none}.table-fullscreen-active .app{z-index:50;width:var(--table-chat-rail-width);background:var(--bg);border-left:1px solid var(--border);min-width:0;padding:.9rem .9rem 1rem;position:fixed;inset:0 0 0 auto}.table-fullscreen-active .app header{display:none}.table-fullscreen-active .messages{width:100%;margin:0;padding:.4rem 0 1rem}.table-fullscreen-active .bubble{max-width:100%}.table-fullscreen-active .bubble.assistant,.table-fullscreen-active .composer{width:100%}.table-fullscreen-pane .variant-result,.table-fullscreen-pane .fullscreen-table-result{background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;min-height:0;margin:0;display:flex}.table-fullscreen-pane .variant-result-search-row{flex:none;padding:.75rem 1rem}.table-fullscreen-pane .variant-table-scroll{flex:1;max-height:none}.table-fullscreen-pane .variant-table{min-width:100%}.sidebar{width:272px;color:var(--sidebar-text);background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);scrollbar-color:var(--sidebar-scrollbar-thumb) transparent;scrollbar-width:thin;flex-direction:column;flex:none;gap:.45rem;padding:1.45rem .95rem 1rem;transition:width .16s,padding .16s;display:flex;overflow:hidden auto}.sidebar.collapsed{align-items:center;width:56px;padding:1.55rem .45rem 1rem}.sidebar-header{justify-content:space-between;align-items:center;gap:.65rem;width:100%;min-height:36px;margin-bottom:1.18rem;display:flex}.sidebar-brand{min-width:0;color:var(--sidebar-brand);white-space:nowrap;font-size:1.72rem;font-weight:650;line-height:1}.sidebar.collapsed .sidebar-brand{display:none}.sidebar.collapsed .sidebar-header{justify-content:center;width:40px;margin-bottom:1.55rem}.sidebar-icon-button,.sidebar-action-row{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0}.sidebar-icon-button{width:34px;height:34px;color:var(--sidebar-icon);border-radius:9px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.sidebar-icon-button:hover{color:var(--sidebar-brand);background:var(--sidebar-hover)}.sidebar-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.sidebar-actions{flex-direction:column;gap:.18rem;width:100%;display:flex}.sidebar.collapsed .sidebar-actions{align-items:center;gap:.55rem}.sidebar-action-row{width:100%;min-height:40px;color:var(--sidebar-row-text);text-align:left;border-radius:8px;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:.62rem;padding:0 .2rem;transition:background .12s,color .12s;display:grid}.sidebar-action-row:hover,.sidebar-action-row.active{background:var(--sidebar-hover)}.sidebar-action-row svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.sidebar-action-row span{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:.92rem;line-height:1.2;overflow:hidden}.sidebar.collapsed .sidebar-action-row{justify-content:center;width:40px;min-height:40px;padding:0;display:inline-flex}.sidebar.collapsed .sidebar-icon-button{width:40px;height:40px}.sidebar.collapsed .sidebar-action-row span{display:none}.sidebar-search-input{width:100%;height:38px;color:var(--sidebar-row-text);background:var(--sidebar-input-bg);border:1px solid var(--sidebar-input-border);cursor:pointer;font:inherit;border-radius:9px;outline:none;padding:0 .72rem;font-size:.88rem}.sidebar-search-input::placeholder{color:var(--sidebar-muted)}.sidebar-hint{color:var(--sidebar-muted);margin:0 0 .5rem;padding:0 .25rem;font-size:.8rem;line-height:1.4}.chat-list{flex-direction:column;gap:2px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.chat-row{cursor:pointer;min-height:34px;color:var(--sidebar-chat-text);border-radius:8px;justify-content:space-between;align-items:center;gap:6px;padding:.48rem .55rem;font-size:.86rem;display:flex}.chat-row:hover{background:var(--sidebar-hover)}.chat-row.active{background:var(--sidebar-active);color:var(--sidebar-brand);font-weight:500}.sidebar.collapsed .chat-list{display:none}.chat-title{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.chat-empty{color:var(--sidebar-muted);padding:.5rem .55rem;font-size:.84rem}.app{flex:1;min-width:0}.chat-action{visibility:hidden;width:26px;height:26px;color:var(--sidebar-muted);cursor:pointer;background:0 0;border:none;border-radius:7px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.chat-row:hover .chat-action{visibility:visible}.chat-action:hover{color:var(--sidebar-brand);background:var(--sidebar-hover)}.chat-action.chat-delete:hover{color:var(--error-border)}.chat-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.chat-rename-input{background:var(--sidebar-input-bg);min-width:0;color:var(--sidebar-row-text);border:1px solid var(--accent);font:inherit;border-radius:7px;outline:none;flex:1;padding:.24rem .42rem;font-size:.86rem}
.follow-up-prompts{flex-wrap:wrap;gap:.5rem;margin:.85rem 0 .2rem;display:flex}.follow-up-chip{color:var(--text);background:var(--section-bg);border:1px solid var(--border);cursor:pointer;border-radius:999px;padding:.42rem .78rem;font:inherit;font-size:.78rem;line-height:1.25;transition:background .15s,border-color .15s,color .15s}.follow-up-chip:hover{background:var(--menu-selected);border-color:var(--accent)}.follow-up-chip:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
