@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap";:root{color-scheme:dark;font-family:Manrope,sans-serif;line-height:1.5;font-weight:500;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--bg: #121212;--bg-dark: #000000;--surface: #181818;--surface-muted: #242424;--surface-soft: #282828;--text: #FFFFFF;--text-soft: #B3B3B3;--text-muted: #A7A7A7;--line: #2A2A2A;--line-strong: #333333;--accent: #1DB954;--accent-hover: #1ED760;--accent-soft: rgba(29, 185, 84, .15);--success: #1DB954;--success-soft: rgba(29, 185, 84, .15);--warning: #FFA42B;--warning-soft: rgba(255, 164, 43, .15);--danger: #E22134;--danger-soft: rgba(226, 33, 52, .15);--shadow-lg: 0 16px 24px rgba(0, 0, 0, .5), 0 6px 8px rgba(0, 0, 0, .3);--shadow-md: 0 8px 16px rgba(0, 0, 0, .4);--radius-xl: 16px;--radius-lg: 12px;--radius-md: 8px;--radius-sm: 4px}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);color:var(--text);overflow-x:hidden}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;min-height:100vh;flex-direction:column;gap:1.5rem;background:var(--bg-dark);padding:1.5rem}.sidebar-header,.sidebar-title,.profile-pill,.result-header,.settings-meta,.composer-meta,.placeholder-header,.assistant-card-header,.assistant-heading,.topbar,.topbar-left,.topbar-right,.workspace-card,.field-group,.stack-sm,.stack-md,.message-list,.chat-shell,.chat-empty-state,.sidebar-nav,.auth-card,.auth-actions,.auth-footnotes,.surface-block,.page,.split-layout,.settings-grid{display:flex}.sidebar-header,.profile-pill,.topbar-left,.topbar-right,.result-header,.settings-meta,.composer-meta,.placeholder-header,.assistant-card-header,.assistant-heading,.auth-actions,.auth-footnotes{align-items:center}.sidebar-title{flex-direction:column;font-size:1.1rem;font-weight:800;color:var(--text)}.sidebar-subtitle,.workspace-title,.meta-label,.surface-label,.example-label,.assistant-time,.field-label,.eyebrow,.header-meta,.muted{color:var(--text-soft)}.sidebar-subtitle,.workspace-title,.meta-label,.surface-label,.assistant-time,.field-label,.example-label{font-size:.8rem}.logo-mark,.nav-icon,.avatar-fallback{display:grid;place-items:center;border-radius:50%}.logo-mark{height:2.75rem;width:2.75rem;background:var(--accent);color:#000;font-weight:800}.sidebar-nav,.stack-sm,.stack-md,.field-group,.surface-block,.chat-shell,.chat-empty-state,.message-list,.page,.auth-card{flex-direction:column}.sidebar-nav{gap:.5rem}.nav-item{display:flex;align-items:center;gap:.9rem;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--text-soft);cursor:pointer;padding:.75rem 1rem;text-align:left;transition:color .2s ease,background-color .2s ease}.nav-item:hover,.nav-item:focus-visible{color:var(--text);background:var(--surface-soft)}.nav-item-active{background:var(--surface-muted);color:var(--text)}.nav-item strong,.profile-meta strong,.placeholder-header strong{display:block;font-size:.95rem;font-weight:700}.nav-item small,.profile-meta small{display:block;margin-top:.15rem;color:inherit;opacity:.7}.nav-icon{height:2rem;width:2rem;background:transparent;color:inherit;font-size:1.1rem;font-weight:800}.sidebar-footer{margin-top:auto}.workspace-card,.meta-chip{justify-content:space-between;gap:.75rem;border:none;border-radius:var(--radius-md);background:var(--surface-muted);padding:.9rem 1rem}.workspace-card{align-items:flex-start;flex-direction:column}.workspace-value{font-size:.95rem;font-weight:700;overflow-wrap:anywhere}.main-shell{display:flex;min-width:0;flex-direction:column;background:linear-gradient(180deg,#1f1f1f 0%,var(--bg) 100%)}.topbar{justify-content:space-between;gap:1rem;background:transparent;padding:1.1rem 1.5rem}.topbar-left,.topbar-right{gap:1rem;min-width:0}.content-shell{min-width:0;padding:1.5rem}.page{gap:1.25rem}.page-header{display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr) auto;align-items:end;min-width:0;margin-bottom:1rem}.page-header h2,.chat-empty-state h3,.empty-panel h3,.auth-title{margin:0;font-size:clamp(1.8rem,2vw,2.45rem);line-height:1.1;font-weight:800;letter-spacing:-.02em}.auth-title span{color:var(--accent)}.eyebrow{margin:0 0 .45rem;font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.header-meta{max-width:24rem;justify-self:end;font-size:.95rem;text-align:right;overflow-wrap:anywhere}.panel,.assistant-card,.composer,.example-card,.auth-card,.empty-panel{border:none;background:var(--surface);box-shadow:var(--shadow-md);border-radius:var(--radius-lg)}.panel,.composer,.auth-card,.empty-panel{padding:1.5rem}.split-layout{gap:1.25rem;align-items:flex-start}.split-layout>*{flex:1;min-width:0}.form-panel,.result-panel,.settings-grid{gap:1.5rem}.field-group{gap:.5rem}.input,.textarea,.composer-input,.search-shell input{width:100%;border:1px solid transparent;border-radius:var(--radius-md);background:var(--surface-muted);color:var(--text);outline:none;transition:border-color .2s ease,background-color .2s ease}.input,.textarea,.search-shell input{padding:.9rem 1rem}.textarea{min-height:9rem;resize:vertical}.textarea-large{min-height:18rem}.input:hover,.textarea:hover,.composer-input:hover{background:var(--surface-soft)}.input:focus,.textarea:focus,.composer-input:focus,.search-shell input:focus{border-color:var(--text-soft);background:var(--surface-soft)}.button{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;border:1px solid transparent;border-radius:999px;cursor:pointer;font-weight:700;font-size:1rem;padding:.82rem 1.8rem;transition:transform 33ms cubic-bezier(.3,0,0,1),background-color .2s ease,border-color .2s ease;letter-spacing:.02em}.button:hover,.example-card:hover,.status-pill:hover{transform:scale(1.04)}.button:active{transform:scale(.98);opacity:.8}.button:disabled{cursor:not-allowed;opacity:.4;transform:none}.button-primary{background:var(--accent);color:#000}.button-primary:hover{background:var(--accent-hover)}.button-secondary,.button-ghost{border-color:#878787;background:transparent;color:var(--text)}.button-secondary:hover,.button-ghost:hover{border-color:var(--text)}.button-wide{width:100%}.badge,.status-pill,.metric-chip,.confidence-badge,.source-chip,.chip-link{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;font-size:.82rem;font-weight:700;border:none}.badge,.metric-chip,.source-chip,.chip-link,.confidence-badge{padding:.45rem .85rem}.badge-primary{background:var(--accent-soft);color:var(--accent)}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--warning-soft);color:var(--warning)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.badge-muted{background:var(--surface-muted);color:var(--text-soft)}.metric-chip,.source-chip,.chip-link{background:var(--surface-muted);color:var(--text)}.source-chip:hover,.chip-link:hover{background:var(--surface-soft)}.status-pill{background:#000;cursor:pointer;padding:.65rem 1rem}.status-dot{height:.5rem;width:.5rem;border-radius:50%;background:currentColor}.status-healthy{color:var(--success)}.status-degraded{color:var(--warning)}.status-checking,.status-version{color:var(--text-soft)}.profile-pill{gap:.9rem;border:none;border-radius:999px;background:#000;padding:.45rem .55rem .45rem .45rem;min-width:0;transition:background-color .2s ease}.profile-pill:hover{background:var(--surface-soft)}.avatar-fallback,.avatar-image{height:2.35rem;width:2.35rem}.avatar-fallback{background:var(--surface-muted);color:var(--text);font-weight:800}.avatar-image{border-radius:50%;object-fit:cover}.profile-meta{min-width:0}.profile-meta strong,.profile-meta small{overflow-wrap:anywhere}.search-shell{display:flex;min-width:min(100%,28rem);align-items:center;gap:.75rem;border-radius:999px;background:var(--surface-muted);transition:background-color .2s ease}.search-shell:hover{background:var(--surface-soft)}.search-shell input{background:transparent;border:none;padding-left:0}.search-shell input:focus{box-shadow:none;background:transparent}.search-icon{position:relative;left:2.75rem;height:1.2rem;width:1.2rem;color:var(--text-soft);flex-shrink:0;pointer-events:none}.search-shell input{padding-left:2.4rem}.menu-button,.sidebar-backdrop{display:none}.chat-page,.chat-shell{gap:1rem}.chat-thread{min-height:58vh;max-height:calc(100vh - 16rem);border:none;border-radius:var(--radius-lg);background:var(--bg);box-shadow:inset 0 4px 20px #0003;overflow:auto;padding:1.5rem}.chat-empty-state{align-items:flex-start;gap:1rem;max-width:52rem}.chat-empty-state p,.empty-panel p,.assistant-copy,.surface-block p,.auth-copy{margin:0;color:var(--text-soft);max-width:60ch;overflow-wrap:anywhere}.example-grid{display:grid;gap:.9rem;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.example-card{display:flex;flex-direction:column;gap:.5rem;cursor:pointer;padding:1.2rem;text-align:left;background:var(--surface-muted);border:none;border-radius:var(--radius-md);transition:background-color .2s ease,transform .1s ease}.example-card:hover{background:var(--surface-soft)}.example-card:disabled{cursor:not-allowed;opacity:.5;transform:none}.message-list{gap:1.5rem}.chat-row{display:flex}.chat-row-user{justify-content:flex-end}.chat-row-assistant{justify-content:flex-start}.chat-bubble{max-width:min(42rem,78%);border-radius:1.4rem;padding:.95rem 1.2rem;white-space:pre-wrap;overflow-wrap:anywhere}.chat-bubble-user{background:var(--accent);color:#000;font-weight:600}.assistant-card{max-width:min(46rem,92%);padding:1.2rem;background:var(--surface);min-width:0}.assistant-card-error{border:1px solid var(--danger)}.assistant-card-header{justify-content:space-between;gap:1rem;margin-bottom:1rem}.assistant-heading{gap:.65rem}.assistant-badge{border-radius:999px;background:var(--surface-muted);color:var(--text);font-size:.78rem;font-weight:800;padding:.38rem .7rem}.assistant-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text)}.source-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.confidence-badge{background:var(--surface-muted);color:var(--text-soft)}.typing-dots{display:inline-flex;gap:.45rem}.typing-dots span{height:.55rem;width:.55rem;border-radius:50%;background:var(--text-muted);animation:pulse 1s infinite ease-in-out}.typing-dots span:nth-child(2){animation-delay:.1s}.typing-dots span:nth-child(3){animation-delay:.2s}.composer{gap:1rem}.composer-box{display:grid;gap:.9rem;grid-template-columns:minmax(0,1fr) auto;align-items:end}.composer-input{min-height:3.3rem;max-height:11.25rem;resize:none;padding:.95rem 1.2rem;background:var(--surface-muted)}.composer-button{min-height:3.3rem;min-width:7rem}.inline-message{border:none;border-radius:var(--radius-md);padding:.9rem 1rem}.inline-message strong,.inline-message p{margin:0}.inline-message p{margin-top:.35rem;color:inherit;opacity:.8;overflow-wrap:anywhere}.inline-message-error{background:var(--danger-soft);color:var(--danger)}.inline-message-warning{background:var(--warning-soft);color:var(--warning)}.surface-block{gap:.55rem;border-radius:var(--radius-md);background:var(--surface-muted);padding:1.2rem}.ordered-list,.bullet-list{margin:0;padding-left:1.2rem;color:var(--text-soft)}.ordered-list li,.bullet-list li{margin-bottom:.45rem}.comment-preview{overflow:auto;margin:0;white-space:pre-wrap;word-break:break-word;color:var(--text)}.list-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border:none;border-radius:var(--radius-sm);background:var(--surface);padding:1rem}.list-row p{margin:.35rem 0 0}.empty-panel{align-items:flex-start;gap:.65rem;min-height:18rem;justify-content:center}.empty-panel-error{background:var(--surface-muted)}.placeholder-panel,.settings-grid{display:grid}.settings-grid{gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid>:first-child{grid-column:1 / -1}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:1.5rem;background:linear-gradient(180deg,#181818,#000)}.auth-card{gap:1.5rem;max-width:46rem;background:var(--surface);padding:3rem 2.5rem;border-radius:12px;text-align:center;align-items:center}.auth-card .eyebrow{display:none}.auth-card .badge-primary{background:transparent;font-size:1.5rem;color:var(--text);border:none;margin-bottom:-1rem}.auth-title{font-weight:800}.auth-copy{font-size:1.05rem;text-align:center;margin:0 auto}.auth-actions{gap:1rem;flex-direction:column;width:100%;max-width:20rem;margin-top:1rem}.auth-actions .button{width:100%;padding:1rem;font-size:1.1rem}.auth-footnotes{flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:2rem}.auth-loading-card{min-width:min(100%,34rem);background:transparent;box-shadow:none}.toast-stack{position:fixed;right:1.5rem;bottom:1.5rem;display:grid;gap:.75rem;width:min(24rem,calc(100vw - 3rem));z-index:50}.toast{border:none;border-radius:var(--radius-md);background:var(--surface-soft);color:var(--text);box-shadow:var(--shadow-lg);padding:1rem 1.25rem}.toast strong,.toast p{margin:0}.toast p{margin-top:.25rem;color:var(--text-soft)}.toast-success{border-left:4px solid var(--success)}.toast-error{border-left:4px solid var(--danger)}.toast-warning{border-left:4px solid var(--warning)}.toast-info{border-left:4px solid var(--accent)}.skeleton{position:relative;overflow:hidden;border-radius:var(--radius-sm);background:var(--surface-muted)}.skeleton:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);content:"";transform:translate(-100%);animation:shimmer 1.5s infinite}.skeleton-pill{height:1.85rem;width:8rem;border-radius:999px}.skeleton-title{height:1.4rem;width:60%}.skeleton-line{height:.95rem;width:100%}.skeleton-line.short{width:72%}.skeleton-card{height:8rem;border-radius:var(--radius-md)}.skeleton-card.tall{height:14rem}@keyframes shimmer{to{transform:translate(100%)}}@keyframes pulse{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@media (max-width: 1080px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;z-index:30;width:min(88vw,320px);transform:translate(-100%);transition:transform .22s ease}.sidebar-open{transform:translate(0)}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:block;border:0;background:#000000b3}.menu-button{display:inline-flex;flex-direction:column;justify-content:center;gap:.25rem;height:2.5rem;width:2.5rem;border:none;border-radius:50%;background:var(--surface-muted);padding:0}.menu-button span{display:block;height:2px;width:18px;margin:0 auto;background:var(--text)}.topbar,.topbar-left,.topbar-right,.profile-pill{flex-wrap:wrap}.profile-pill{justify-content:space-between;width:100%;border-radius:var(--radius-lg)}.page-header{grid-template-columns:1fr}.header-meta{justify-self:start;text-align:left}.split-layout,.settings-grid,.example-grid{grid-template-columns:1fr;flex-direction:column}.composer-box{grid-template-columns:1fr}}@media (max-width: 720px){.content-shell,.topbar,.sidebar,.auth-shell{padding:1rem}.panel,.assistant-card,.composer,.auth-card,.empty-panel,.chat-thread{padding:1.25rem}.chat-bubble,.assistant-card{max-width:100%}.search-shell{min-width:0;width:100%}.status-pill{width:100%;justify-content:center}.list-row{flex-direction:column;align-items:stretch}.meta-chip,.workspace-card{width:100%}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
