:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{color:#1a1a1a;background:#f5f5f7;justify-content:center;min-height:100vh;margin:0;display:flex}@media (prefers-color-scheme:dark){body{color:#e6e6e6;background:#14161a}}.app{text-align:center;width:100%;max-width:640px;padding:3rem 1.5rem}.app-header h1{margin:0 0 .5rem;font-size:2rem}.subtitle{opacity:.7;margin:0 0 2rem}.health{background:#0000000d;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.95rem;display:inline-flex}@media (prefers-color-scheme:dark){.health{background:#ffffff14}}.health-dot{background:#999;border-radius:50%;width:.6rem;height:.6rem}.health-online .health-dot{background:#2ecc71}.health-offline .health-dot{background:#e74c3c}.health-checking .health-dot{background:#f1c40f}.projects-panel{text-align:left;margin-top:2rem}.projects-panel h2{margin:0 0 1rem;font-size:1.1rem}.projects-form{gap:.5rem;margin-bottom:.75rem;display:flex}.projects-form input{color:inherit;background:#fff;border:1px solid #00000026;border-radius:.5rem;flex:1;padding:.5rem .75rem;font-size:.95rem}.projects-form button{color:#fff;cursor:pointer;background:#2f6fed;border:none;border-radius:.5rem;padding:.5rem 1rem;font-size:.95rem}.projects-form button:disabled{opacity:.6;cursor:default}@media (prefers-color-scheme:dark){.projects-form input{background:#ffffff0f;border-color:#ffffff26}}.projects-error{color:#e74c3c;margin:0 0 .75rem;font-size:.9rem}.projects-empty{opacity:.7;font-size:.9rem}.projects-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.project-item{background:#0000000a;border:1px solid #0000;border-radius:.6rem;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.6rem .85rem;display:flex}@media (prefers-color-scheme:dark){.project-item{background:#ffffff0f}}.project-item-active{border-color:#2f6fed}.project-select{cursor:pointer;min-width:0;color:inherit;text-align:left;background:0 0;border:none;flex-direction:column;flex:1;align-items:flex-start;gap:.1rem;padding:0;display:flex}.project-name{font-size:.95rem;font-weight:600}.project-url{opacity:.65;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.8rem;overflow:hidden}.badge{background:#00000014;border-radius:999px;flex-shrink:0;padding:.2rem .6rem;font-size:.78rem}@media (prefers-color-scheme:dark){.badge{background:#ffffff1a}}.badge-ready{color:#1f9d54;background:#2ecc7133}.badge-error{color:#e74c3c;background:#e74c3c2e}.badge-cloning,.badge-scanning,.badge-indexing{color:#b8860b;background:#f1c40f33}.project-error-text{color:#e74c3c;flex-basis:100%;font-size:.8rem}.project-reindex{color:#e74c3c;cursor:pointer;background:0 0;border:1px solid #e74c3c;border-radius:.5rem;flex-shrink:0;padding:.3rem .7rem;font-size:.8rem}.chat-panel{text-align:left;margin-top:2.5rem}.chat-panel h2{margin:0 0 1rem;font-size:1.1rem}.chat-hint{opacity:.7;font-size:.9rem}.chat-messages{flex-direction:column;gap:.6rem;margin:0 0 .75rem;padding:0;list-style:none;display:flex}.chat-bubble{border-radius:.7rem;max-width:88%;padding:.6rem .85rem;font-size:.92rem}.chat-bubble p{white-space:pre-wrap;overflow-wrap:break-word;margin:0}.chat-bubble-user{color:#fff;background:#2f6fed;align-self:flex-end}.chat-bubble-assistant{background:#0000000d;align-self:flex-start}@media (prefers-color-scheme:dark){.chat-bubble-assistant{background:#ffffff14}}.chat-abstain{background:#f1c40f24}.chat-typing{opacity:.6;margin:0 0 .5rem;font-size:.85rem}.chat-sources{border-top:1px solid #0000001a;flex-direction:column;gap:.5rem;margin:.6rem 0 0;padding:.5rem 0 0;list-style:none;display:flex}@media (prefers-color-scheme:dark){.chat-sources{border-top-color:#ffffff1f}}.chat-source-citation{word-break:break-all;opacity:.85;font-family:ui-monospace,SF Mono,Cascadia Code,monospace;font-size:.78rem;font-weight:600}.chat-source-quote{background:#0000000f;border-radius:.4rem;margin:.25rem 0 0;padding:.6rem;font-family:ui-monospace,SF Mono,Cascadia Code,monospace;font-size:.8rem;line-height:1.4;overflow-x:auto}@media (prefers-color-scheme:dark){.chat-source-quote{background:#00000040}}.chat-error{color:#e74c3c;margin:0 0 .75rem;font-size:.9rem}.chat-form{gap:.5rem;display:flex}.chat-form input{min-width:0;color:inherit;background:#fff;border:1px solid #00000026;border-radius:.5rem;flex:1;padding:.5rem .75rem;font-size:.95rem}.chat-form button{color:#fff;cursor:pointer;background:#2f6fed;border:none;border-radius:.5rem;padding:.5rem 1rem;font-size:.95rem}.chat-form button:disabled{opacity:.6;cursor:default}@media (prefers-color-scheme:dark){.chat-form input{background:#ffffff0f;border-color:#ffffff26}}.search-panel{text-align:left;margin-top:2.5rem}.search-panel h2{margin:0 0 1rem;font-size:1.1rem}.search-hint{opacity:.7;font-size:.9rem}.search-form{gap:.5rem;margin-bottom:.75rem;display:flex}.search-form input{min-width:0;color:inherit;background:#fff;border:1px solid #00000026;border-radius:.5rem;flex:1;padding:.5rem .75rem;font-size:.95rem}.search-form button{color:#fff;cursor:pointer;background:#2f6fed;border:none;border-radius:.5rem;padding:.5rem 1rem;font-size:.95rem}.search-form button:disabled{opacity:.6;cursor:default}@media (prefers-color-scheme:dark){.search-form input{background:#ffffff0f;border-color:#ffffff26}}.search-error{color:#e74c3c;margin:0 0 .75rem;font-size:.9rem}.search-abstain{background:#f1c40f24;border-radius:.6rem;padding:.75rem .9rem;font-size:.9rem}.search-results{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.result-card{background:#0000000a;border:1px solid #00000014;border-radius:.6rem;overflow:hidden}@media (prefers-color-scheme:dark){.result-card{background:#ffffff0d;border-color:#ffffff1a}}.result-header{flex-wrap:wrap;justify-content:space-between;gap:.4rem;padding:.5rem .75rem;font-size:.8rem;display:flex}.result-citation{word-break:break-all;font-family:ui-monospace,SF Mono,Cascadia Code,monospace;font-weight:600}.result-scores{opacity:.6;white-space:nowrap}.result-snippet{background:#0000000f;margin:0;padding:.75rem;font-family:ui-monospace,SF Mono,Cascadia Code,monospace;font-size:.82rem;line-height:1.45;overflow-x:auto}@media (prefers-color-scheme:dark){.result-snippet{background:#00000040}}
